diff parser/Parser.d @ 116:0cd8d6ab3f89

Add in the types for float and co.
author Anders Halager <halager@gmail.com>
date Sun, 25 May 2008 18:19:09 +0200
parents 7ff4bc2accf2
children 6a5f745d351c
line wrap: on
line diff
--- a/parser/Parser.d	Sun May 25 15:49:25 2008 +0200
+++ b/parser/Parser.d	Sun May 25 18:19:09 2008 +0200
@@ -678,6 +678,21 @@
     [
         {Tok.Assign,    1, false, Operator.Assign},
 
+        // =, += etc. 1
+        // (need special-case for the ternary operator at this level)
+        // ||, 2
+        // &&, 3
+        // |, 4
+        // &, 5
+        // ^, 6
+        // ==, !=, is, !is, 7
+        // <, <= etc, 7
+        // in, 7
+        // <<, >>, >>>, 8
+        // +, -, ~, 9
+        // *, /, %, 10
+        // unary operators here
+
         {Tok.Eq,        2, true, Operator.Eq},
         {Tok.Ne,        2, true, Operator.Ne},