]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
for compile-time constants << and >> are now available
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
index 5d7b7f611bd0ef8166ed8e70ad432c7173ea6e3b..71ff198eed024b66c1932830d26148cd45e0d514 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -250,6 +250,9 @@ static const oper_info fte_operators[] = {
     { "+",   2, opid1('+'),         ASSOC_LEFT,  12, 0 },
     { "-",   2, opid1('-'),         ASSOC_LEFT,  12, 0 },
 
+    { "<<",  2, opid2('<','<'),     ASSOC_LEFT,  11, 0 },
+    { ">>",  2, opid2('>','>'),     ASSOC_LEFT,  11, 0 },
+
     { "<",   2, opid1('<'),         ASSOC_LEFT,  10, 0 },
     { ">",   2, opid1('>'),         ASSOC_LEFT,  10, 0 },
     { "<=",  2, opid2('<','='),     ASSOC_LEFT,  10, 0 },