[svn] r6633: nemerle/trunk/ncc/parsing/AST.n

IT svnadmin at nemerle.org
Sat Sep 9 18:29:13 CEST 2006


Log:
Fixed relocation bug.

Author: IT
Date: Sat Sep  9 18:29:11 2006
New Revision: 6633

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

Modified: nemerle/trunk/ncc/parsing/AST.n
==============================================================================
--- nemerle/trunk/ncc/parsing/AST.n	(original)
+++ nemerle/trunk/ncc/parsing/AST.n	Sat Sep  9 18:29:11 2006
@@ -266,7 +266,7 @@
       {
         def res = relMap.BinarySearch (elem => elem.Line - line);
         
-        if (res >= 0)
+        if (res > 0)
           col + relMap[res - 1].ColumnOffset;
         else
           col;



More information about the svn mailing list