glsl: Add lexer rules for << and >> in GLSL 1.30
authorChad Versace <chad@chad-versace.us>
Fri, 8 Oct 2010 23:12:24 +0000 (16:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Oct 2010 07:20:18 +0000 (00:20 -0700)
Commit for generated file glsl_lexer.cpp follows this commit.

src/glsl/glsl_lexer.lpp

index 9672342..c0778a6 100644 (file)
@@ -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;