summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
authorChad Versace <chad@chad-versace.us>2010-10-08 16:12:24 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-10-15 00:20:18 -0700
commit7abdc71afa7e9425badb2d07453c59fa3c20f5f1 (patch)
tree9b827f27a5d6698f1b60d1fa4786a69b4bc9e031 /src/glsl
parentfc6caef4cb67fb13642c5ebccee53019d1764df6 (diff)
glsl: Add lexer rules for << and >> in GLSL 1.30
Commit for generated file glsl_lexer.cpp follows this commit.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/glsl_lexer.lpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glsl_lexer.lpp b/src/glsl/glsl_lexer.lpp
index 9672342e8e..c0778a656a 100644
--- a/src/glsl/glsl_lexer.lpp
+++ b/src/glsl/glsl_lexer.lpp
@@ -240,6 +240,8 @@ layout {
&& return AND_OP;
\|\| return OR_OP;
"^^" return XOR_OP;
+"<<" return LEFT_OP;
+">>" return RIGHT_OP;
\*= return MUL_ASSIGN;
\/= return DIV_ASSIGN;