summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2010-10-15 14:44:28 -0700
committerIan Romanick <[email protected]>2010-10-19 13:17:33 -0700
commitcba9062d584c2359ce3cd5e0e9c57e5d6b67509e (patch)
tree7659e4a67ee0028ad3d1e6da80f2f95fb27f6892 /src/glsl
parentd03ac0f8d81fd3032d271586d936f14b7d9201d5 (diff)
glsl: Fix lexer rule for ^=
The caret is a special character, and needs to be quoted or escaped.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/glsl_lexer.lpp2
1 files changed, 1 insertions, 1 deletions
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;