glsl: Change grammar rules for selection statements to match the spec.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Sep 2010 19:56:18 +0000 (12:56 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Sep 2010 20:17:05 +0000 (13:17 -0700)
commit0427228bbc241d0b76df853812d023273b496637
tree0dd7e979d74d0e6c6c178f8780e1da92dd14c1f6
parent24c12e6c7f8aa8c2f4c163d23d740b070bfabfc3
glsl: Change grammar rules for selection statements to match the spec.

Fixes piglit test case loop-06.vert.

Unfortunately, causes 1 shift/reduce conflict.
src/glsl/glsl_parser.cpp
src/glsl/glsl_parser.h
src/glsl/glsl_parser.ypp