glsl/glcpp: Add a -d/--debug option to the standalone glcpp program
authorCarl Worth <cworth@cworth.org>
Wed, 25 Jun 2014 18:46:49 +0000 (11:46 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 29 Jul 2014 22:11:49 +0000 (15:11 -0700)
commit2fdc1f50c46b7f0a6abd8b2ef4739ac96958cb0a
tree390df03c14f647056df3efe0ebf3c3a97aee5930
parent8e8f8ff1b25a4cfd332d9e7c86d3d56cdff98d6a
glsl/glcpp: Add a -d/--debug option to the standalone glcpp program

The verbose debug output from the parser is quite useful when debugging, and
having this available as a command-line option is much more convenient than
manually forcing this into the code when needed, (which is what I had been
doing for too long previously).

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/glcpp/glcpp-parse.y
src/glsl/glcpp/glcpp.c