From cba9062d584c2359ce3cd5e0e9c57e5d6b67509e Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 15 Oct 2010 14:44:28 -0700 Subject: [PATCH] glsl: Fix lexer rule for ^= The caret is a special character, and needs to be quoted or escaped. --- src/glsl/glsl_lexer.lpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2