summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-06-13 19:42:11 +0200
committerMichal Krol <michal@vmware.com>2009-09-07 10:11:38 +0200
commit55f75c13f05ea6373b95f0777078fcdec226672a (patch)
tree4916f9c069c590896ccaa9e12a4e150bceb5ec16 /src
parent474f754282c06014fa0f687c08f4e97323166f83 (diff)
glsl/apps: Print out the number of tokens eaten in version test.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/apps/version.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glsl/apps/version.c b/src/glsl/apps/version.c
index e774c4a8f1..b49395ba97 100644
--- a/src/glsl/apps/version.c
+++ b/src/glsl/apps/version.c
@@ -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);