changeset 693:56100b270897

Renamed a constant in class Interpreter.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Tue, 22 Jan 2008 19:34:58 +0100
parents d33895f679eb
children 19a34b69cc7d
files trunk/src/dil/semantic/Interpreter.d
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/trunk/src/dil/semantic/Interpreter.d	Tue Jan 22 18:32:39 2008 +0100
+++ b/trunk/src/dil/semantic/Interpreter.d	Tue Jan 22 19:34:58 2008 +0100
@@ -27,12 +27,12 @@
   {
   }
 
-  static const Result CantInterpret;
+  static const Result NAR; /// Not a Result. Similar to NAN in floating point arithmetics.
 
   static this()
   {
-    CantInterpret = new Result;
-    CantInterpret.type = Types.Error;
+    NAR = new Result;
+    NAR.type = Types.Error;
   }
 
   static Expression interpret(Expression e, InfoManager infoMan, Scope scop)