diff options
author | Chad Versace <[email protected]> | 2010-10-15 14:44:28 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-10-19 13:17:33 -0700 |
commit | cba9062d584c2359ce3cd5e0e9c57e5d6b67509e (patch) | |
tree | 7659e4a67ee0028ad3d1e6da80f2f95fb27f6892 | |
parent | d03ac0f8d81fd3032d271586d936f14b7d9201d5 (diff) |
glsl: Fix lexer rule for ^=
The caret is a special character, and needs to be quoted or escaped.
-rw-r--r-- | src/glsl/glsl_lexer.lpp | 2 |
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; |