catb0t / tart

Automatically exported from code.google.com/p/tart
0 stars 0 forks source link

Lexer typos error #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hello, "while" should be "where" ? 

diff -r 4791c0716682 trunk/compiler/lib/Lex/Lexer.cpp
--- a/trunk/compiler/lib/Lex/Lexer.cpp  Mon Oct 24 19:42:53 2011 -0700
+++ b/trunk/compiler/lib/Lex/Lexer.cpp  Fri Dec 02 22:57:42 2011 +0100
@@ -170,7 +170,7 @@

         case 'w':
           if (strcmp(kw, "while") == 0) return Token_While;
-          if (strcmp(kw, "while") == 0) return Token_Where;
+          if (strcmp(kw, "where") == 0) return Token_Where;
           break;

         case 'y':

Original issue reported on code.google.com by fduhem@gmail.com on 2 Dec 2011 at 9:59