glcpp: fix abuse of yylex
authorDave Airlie <airlied@gmail.com>
Fri, 14 Sep 2012 09:59:54 +0000 (19:59 +1000)
committerDave Airlie <airlied@gmail.com>
Fri, 14 Sep 2012 22:20:56 +0000 (08:20 +1000)
commit53d46bc787318ccf9911fdd1d5fe99ee4db7f41a
tree22965e44894214b283d7824d635094aa4f3da421
parentcc943c8470b38a1f13d2493f293a153f75754caa
glcpp: fix abuse of yylex

So glcpp tried to workaround yylex its own way, but failed,
do it properly.

This fixes another crash found after fixing the first crash.

this is a candidate for 9.0 and stable branches

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/glcpp/Makefile.am
src/glsl/glcpp/glcpp-parse.y