[svn] r6593: nemerle/trunk/ncc/parsing/MainParser.n
IT
svnadmin at nemerle.org
Tue Aug 29 04:16:43 CEST 2006
Log:
Fixed location for PExpr.DefMutable when mutable is not initialized.
Author: IT
Date: Tue Aug 29 04:16:38 2006
New Revision: 6593
Modified:
nemerle/trunk/ncc/parsing/MainParser.n
Modified: nemerle/trunk/ncc/parsing/MainParser.n
==============================================================================
--- nemerle/trunk/ncc/parsing/MainParser.n (original)
+++ nemerle/trunk/ncc/parsing/MainParser.n Tue Aug 29 04:16:38 2006
@@ -1926,7 +1926,7 @@
loop ();
match ((ids, vals)) {
- | ([id], [val]) => PExpr.DefMutable (if (val != null) loc + val.loc else loc, id, val)
+ | ([id], [val]) => PExpr.DefMutable (if (val != null) loc + val.loc else loc + id.Location, id, val)
| _ => PExpr.DefMutable (loc, PExpr.Tuple (loc, ids.Reverse ()),
PExpr.Tuple (loc, vals.Reverse ()))
}
More information about the svn
mailing list