diff ast/Exp.d @ 48:b6c1dc30ca4b new_gen

Only tests that dont pass now are structs and switches As far as the parser is concerned assignments are binary expressions Fixed a bug in codegen of if's - it is important to remember that the builder might be positioned at a new block after generating sub-statements
author Anders Halager <halager@gmail.com>
date Thu, 24 Apr 2008 19:42:53 +0200
parents 495188f9078e
children 79cb0afafabe
line wrap: on
line diff
--- a/ast/Exp.d	Wed Apr 23 17:09:44 2008 +0200
+++ b/ast/Exp.d	Thu Apr 24 19:42:53 2008 +0200
@@ -59,6 +59,8 @@
 {
     public enum Operator
     {
+        Assign,
+
         Eq, Ne,
 
         Lt, Le,