diff trunk/src/dil/LexerFuncs.d @ 494:9a7ca8c56e59

Refactored a few things in the Parser. Removed unnecessary 'bool hasBody' parameter from some declarations. Added shebang to list of tokens in Lexer unittest. Added some semantic methods.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 07 Dec 2007 18:22:35 +0100
parents 47be6bfe39cd
children 5a607597dc22
line wrap: on
line diff
--- a/trunk/src/dil/LexerFuncs.d	Thu Dec 06 22:59:38 2007 +0100
+++ b/trunk/src/dil/LexerFuncs.d	Fri Dec 07 18:22:35 2007 +0100
@@ -59,7 +59,7 @@
   default:
     if (isUnicodeNewline(p))
     {
-      ++p; ++p; ++p;
+      p += 3;
       return '\n';
     }
   }