diff src/dil/semantic/Interpreter.d @ 835:451ede0105e0

Applied minor fixes and tidied some code up a bit.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Tue, 12 Aug 2008 02:59:11 +0200
parents 09a64d96967a
children
line wrap: on
line diff
--- a/src/dil/semantic/Interpreter.d	Mon Aug 11 19:14:28 2008 +0200
+++ b/src/dil/semantic/Interpreter.d	Tue Aug 12 02:59:11 2008 +0200
@@ -43,7 +43,7 @@
   {
     return (new Interpreter(/+scop,+/ infoMan)).eval(e);
   }
-  
+
   /// Executes the function at compile-time with the given arguments.
   /// Returns: NAR or a value.
   static Expression interpret(FunctionDeclaration fd, Expression[] args, InfoManager infoMan/+, Scope scop+/)
@@ -63,7 +63,7 @@
   {
     return e;
   }
-  
+
   /// Start evaluation of a function.
   Expression eval(FunctionDeclaration fd, Expression[] args)
   {
@@ -85,7 +85,7 @@
     assert(false);
     return NAR;
   }
-  
+
   alias Expression E;
 
 override
@@ -260,7 +260,7 @@
     switch(e.kind)
     {
     alias NodeKind NK;
-    
+
     case NK.IntExpression:
       auto num = (cast(IntExpression)e).number;
       return num ? value == true : value == false;