diff parser/Parser.d @ 100:5f258eaf9517 new_gen

Loading modules in. Just need to add them to the scope of the "main" Module now.
author Anders Johnsen <skabet@gmail.com>
date Tue, 06 May 2008 22:49:43 +0200
parents 857f0d530789
children cd066f3b539a
line wrap: on
line diff
--- a/parser/Parser.d	Tue May 06 21:59:22 2008 +0200
+++ b/parser/Parser.d	Tue May 06 22:49:43 2008 +0200
@@ -182,6 +182,9 @@
                     require(Tok.Seperator);
                     res ~= d;
                     return res.safe();
+                case Tok.Seperator:
+                    done = true;
+                    break;
                 default:
                     goto Lerror;
             }