summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-21 16:33:56 +0000
committeraclement <aclement>2005-11-21 16:33:56 +0000
commit9ed75a10abaca8a6c8569ead1b74eaaadc980b07 (patch)
tree27f281b892b5cb06e54525f29bc1f9fea4960a3f /org.aspectj.ajdt.core
parentd58439272e0c8bd5d818c80161df9d0ba520e5b9 (diff)
downloadaspectj-9ed75a10abaca8a6c8569ead1b74eaaadc980b07.tar.gz
aspectj-9ed75a10abaca8a6c8569ead1b74eaaadc980b07.zip
test and fix for 115607 (declare @type): patch from helen.
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
index 6b395c6e0..2a4329fe5 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
@@ -88,6 +88,8 @@ public class EclipseSourceLocation implements ISourceLocation {
} else {
column = 0;
}
+ } else if (0 < lineNumber && lineNumber == result.lineSeparatorPositions.length) {
+ column = 0;
}
}
return column;