diff sema/LiteralInterpreter.d @ 119:c0b531362ca6

Non compileing commit. Work on floating points and casts
author Anders Johnsen <skabet@gmail.com>
date Sun, 25 May 2008 19:13:07 +0200
parents c658172ca8a0
children 6cb2f4201e2a
line wrap: on
line diff
--- a/sema/LiteralInterpreter.d	Sun May 25 18:24:16 2008 +0200
+++ b/sema/LiteralInterpreter.d	Sun May 25 19:13:07 2008 +0200
@@ -25,7 +25,7 @@
 
     void visitIntegerLit(IntegerLit exp)
     {
-        auto type = parseNumber(exp.name, exp.loc, messages);
+        exp.number = parseNumber(exp.name, exp.loc, messages);
     }
 
     MessageHandler messages;