glsl/apps: Print out the number of tokens eaten in version test.
authorMichal Krol <michal@vmware.com>
Sat, 13 Jun 2009 17:42:11 +0000 (19:42 +0200)
committerMichal Krol <michal@vmware.com>
Mon, 7 Sep 2009 08:11:38 +0000 (10:11 +0200)
src/glsl/apps/version.c

index e774c4a8f163743b4327be64d10a7dd087b5af57..b49395ba97fa64ff15c74a5d498890e157c2ab4b 100644 (file)
@@ -102,7 +102,10 @@ main(int argc,
       return 1;
    }
 
-   fprintf(out, "%u\n", version);
+   fprintf(out,
+           "%u\n%u\n",
+           version,
+           tokens_eaten);
 
    fclose(out);