changeset 110:2deb4c1f0d93

Make it compile
author Anders Halager <halager@gmail.com>
date Sun, 25 May 2008 14:56:05 +0200
parents d1f68bfb58ae
children c658172ca8a0
files ast/Exp.d
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ast/Exp.d	Sun May 25 14:46:01 2008 +0200
+++ b/ast/Exp.d	Sun May 25 14:56:05 2008 +0200
@@ -37,7 +37,7 @@
     }
 
     /// Get the type of the expression
-    DType type();
+    abstract DType type();
 
     /// Indicates which type the expression is - to avoid a lot of casts
     ExpType expType;
@@ -443,6 +443,8 @@
         this.str = str;
     }
 
+    override DType type() { return null; }
+
     char[] str;
 }