From: Chad Versace Date: Fri, 15 Oct 2010 21:44:28 +0000 (-0700) Subject: glsl: Fix lexer rule for ^= X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cba9062d584c2359ce3cd5e0e9c57e5d6b67509e;p=mesa.git glsl: Fix lexer rule for ^= The caret is a special character, and needs to be quoted or escaped. --- diff --git a/src/glsl/glsl_lexer.lpp b/src/glsl/glsl_lexer.lpp index c0778a656a3..f690c4728b5 100644 --- a/src/glsl/glsl_lexer.lpp +++ b/src/glsl/glsl_lexer.lpp @@ -250,7 +250,7 @@ layout { \<\<= return LEFT_ASSIGN; >>= return RIGHT_ASSIGN; &= return AND_ASSIGN; -^= return XOR_ASSIGN; +"^=" return XOR_ASSIGN; \|= return OR_ASSIGN; -= return SUB_ASSIGN;