diff parser/Parser.d @ 123:6a5f745d351c

Parsing <<, >> and >>>.
author Anders Johnsen <skabet@gmail.com>
date Sun, 25 May 2008 21:07:48 +0200
parents 0cd8d6ab3f89
children c3b24e7e8cf8
line wrap: on
line diff
--- a/parser/Parser.d	Sun May 25 20:30:09 2008 +0200
+++ b/parser/Parser.d	Sun May 25 21:07:48 2008 +0200
@@ -706,7 +706,11 @@
 
         {Tok.Star,      5, true, Operator.Mul},
         {Tok.Slash,     5, true, Operator.Div},
-        {Tok.Percent,   5, true, Operator.Mod}
+        {Tok.Percent,   5, true, Operator.Mod},
+
+        {Tok.LeftShift,             8, true, Operator.LeftShift},
+        {Tok.RightShift,            8, true, Operator.RightShift},
+        {Tok.UnsignedRightShift,    8, true, Operator.UnsignedRightShift}
     ];
     BinOp* binary(Tok t)
     {