]> source.dussan.org Git - aspectj.git/commitdiff
Improved formatting of toString for SourceLocation to show
authoracolyer <acolyer>
Wed, 26 Feb 2003 16:19:55 +0000 (16:19 +0000)
committeracolyer <acolyer>
Wed, 26 Feb 2003 16:19:55 +0000 (16:19 +0000)
end line.

bridge/src/org/aspectj/bridge/SourceLocation.java

index 0c28d20d28f685edb3b3fd8e1e25ae72fdac96df..d388aba36c6007fe631baacff76b632b32af6699 100644 (file)
@@ -121,7 +121,7 @@ public class SourceLocation implements ISourceLocation, java.io.Serializable {
             sb.append(sourceFile.getPath());
             sb.append(":");
         }
-        sb.append("" + startLine);
+        sb.append("" + startLine + "-" + endLine);
         if (!noColumn) {
             sb.append(":" + column);
         }