]> source.dussan.org Git - aspectj.git/commitdiff
comment re: using shadow file rather than enclosing node.
authorwisberg <wisberg>
Mon, 5 May 2003 14:54:34 +0000 (14:54 +0000)
committerwisberg <wisberg>
Mon, 5 May 2003 14:54:34 +0000 (14:54 +0000)
weaver/src/org/aspectj/weaver/AsmAdaptor.java

index dc7a9469582391a21c04dc316bfc2ad13186aee9..ba84390f978e77e3e03173f1c806ada91bdcd116 100644 (file)
@@ -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,
                        "",