glsl: Fix lexer rule for ^=

The caret is a special character, and needs to be quoted or escaped.
This commit is contained in:
Chad Versace 2010-10-15 14:44:28 -07:00 committed by Ian Romanick
parent d03ac0f8d8
commit cba9062d58

View file

@ -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;