[svn] r6663: nemerle/trunk/ncc/parsing/PreParser.n

IT svnadmin at nemerle.org
Mon Sep 18 03:12:26 CEST 2006


Log:
Fixed start location of the PreParse method.

Author: IT
Date: Mon Sep 18 03:12:24 2006
New Revision: 6663

Modified:
   nemerle/trunk/ncc/parsing/PreParser.n

Modified: nemerle/trunk/ncc/parsing/PreParser.n
==============================================================================
--- nemerle/trunk/ncc/parsing/PreParser.n	(original)
+++ nemerle/trunk/ncc/parsing/PreParser.n	Mon Sep 18 03:12:24 2006
@@ -538,7 +538,8 @@
     [Nemerle.Assertions.Ensures (value != null)]
     public PreParse () : Token.BracesGroup {
       try {
-        def top = parse_brace_group (Location.Default);
+        //def top = parse_brace_group (Location.Default);
+        def top = parse_brace_group (lexer.Location);
         unless (finished)
           Message.Error (lexer.Location, "expected end of file, encountered closing brace");
         top



More information about the svn mailing list