Mesa (master): glsl: Add lexer rules for << and >> in GLSL 1.30
Kenneth Graunke
kwg at kemper.freedesktop.org
Fri Oct 15 07:20:50 UTC 2010
Module: Mesa
Branch: master
Commit: 7abdc71afa7e9425badb2d07453c59fa3c20f5f1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7abdc71afa7e9425badb2d07453c59fa3c20f5f1
Author: Chad Versace <chad at chad-versace.us>
Date: Fri Oct 8 16:12:24 2010 -0700
glsl: Add lexer rules for << and >> in GLSL 1.30
Commit for generated file glsl_lexer.cpp follows this commit.
---
src/glsl/glsl_lexer.lpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/glsl/glsl_lexer.lpp b/src/glsl/glsl_lexer.lpp
index 9672342..c0778a6 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;
More information about the mesa-commit
mailing list