diff trunk/src/Parser.d @ 297:b16dda92c3dd

- Fix in peekNext(): wrong comparison operator.
author aziz
date Thu, 09 Aug 2007 16:41:00 +0000
parents 3a2afc425ceb
children dc8bed242db5
line wrap: on
line diff
--- a/trunk/src/Parser.d	Thu Aug 09 16:37:02 2007 +0000
+++ b/trunk/src/Parser.d	Thu Aug 09 16:41:00 2007 +0000
@@ -98,7 +98,7 @@
     Token* next = token;
     do
       lx.peek(next);
-    while (next.type != T.Comment)
+    while (next.type == T.Comment)
     return next.type;
   }