summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-05 14:54:34 +0000
committerwisberg <wisberg>2003-05-05 14:54:34 +0000
commit26de53341d46ed210b50e7837d4c10d0f83ebc54 (patch)
tree0ea898ab9e8fe66441365db755f2d4377f76fd52
parentcb022298aad081d5f87604d374042dc13d671189 (diff)
downloadaspectj-26de53341d46ed210b50e7837d4c10d0f83ebc54.tar.gz
aspectj-26de53341d46ed210b50e7837d4c10d0f83ebc54.zip
comment re: using shadow file rather than enclosing node.
-rw-r--r--weaver/src/org/aspectj/weaver/AsmAdaptor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/AsmAdaptor.java b/weaver/src/org/aspectj/weaver/AsmAdaptor.java
index dc7a94695..ba84390f9 100644
--- a/weaver/src/org/aspectj/weaver/AsmAdaptor.java
+++ b/weaver/src/org/aspectj/weaver/AsmAdaptor.java
@@ -150,7 +150,8 @@ public class AsmAdaptor {
ProgramElementNode peNode = new ProgramElementNode(
shadow.toString(),
ProgramElementNode.Kind.CODE,
- new SourceLocation(enclosingNode.getSourceLocation().getSourceFile(), sl.getLine()),
+//XXX why not use shadow file? new SourceLocation(sl.getSourceFile(), sl.getLine()),
+ new SourceLocation(enclosingNode.getSourceLocation().getSourceFile(), sl.getLine()),
// enclosingNode.getSourceLocation(),
0,
"",