diff options
author | aclement <aclement> | 2008-08-13 21:26:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-13 21:26:44 +0000 |
commit | 17cd055166650c806b961b081e47eb26ce0401ed (patch) | |
tree | 6896c26350166aaca36a02bca175697c4f607c24 | |
parent | 3e731a1db8d54f109c9782ffd31d86cd5f7aae9f (diff) | |
download | aspectj-17cd055166650c806b961b081e47eb26ce0401ed.tar.gz aspectj-17cd055166650c806b961b081e47eb26ce0401ed.zip |
243224: dont lose context
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/NotPointcut.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/NotPointcut.java b/weaver/src/org/aspectj/weaver/patterns/NotPointcut.java index 297522b12..4a131c9a8 100644 --- a/weaver/src/org/aspectj/weaver/patterns/NotPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/NotPointcut.java @@ -32,6 +32,7 @@ public class NotPointcut extends Pointcut { super(); this.body = negated; this.pointcutKind = NOT; + setLocation(negated.getSourceContext(), negated.getStart(),negated.getEnd()); // should that be at least start-1? } public NotPointcut(Pointcut pointcut, int startPos) { |