glsl: Simplify interface qualifier parsing.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Jun 2016 01:40:21 +0000 (18:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Aug 2016 06:48:48 +0000 (23:48 -0700)
commit86915b495b2fefa671750b24eda0225000ccbb9e
treee7edb5506a06fe707986a326b928e1044bce5b15
parentd0642c52fce91936443ea64ebbc2719813b95aae
glsl: Simplify interface qualifier parsing.

This better matches the grammar in section 4.3.9 of the GLSL 4.5 spec,
and also removes some redundant code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/glsl_parser.yy