From: Michal Krol Date: Sat, 13 Jun 2009 17:42:11 +0000 (+0200) Subject: glsl/apps: Print out the number of tokens eaten in version test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55f75c13f05ea6373b95f0777078fcdec226672a;p=mesa.git glsl/apps: Print out the number of tokens eaten in version test. --- diff --git a/src/glsl/apps/version.c b/src/glsl/apps/version.c index e774c4a8f16..b49395ba97f 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);