glsl: Fail the build if the grammar contains shift/reduce errors.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 13 Jul 2013 06:18:44 +0000 (23:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 16 Jul 2013 18:31:58 +0000 (11:31 -0700)
commit4ab7fc9ec345eab7a019174d513a918626c61dcf
treed61916714a48ffc51f4ebf1edfb669d9655165ca
parent73620709c9dce79e58bd0d29be95c658ac95779b
glsl: Fail the build if the grammar contains shift/reduce errors.

When working on a parser, it's very easy to accidentally introduce
new shift/reduce conflicts.  Failing the build guarantees they'll
be noticed and fixed.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/glsl_parser.yy