From: wisberg Date: Mon, 5 May 2003 14:54:34 +0000 (+0000) Subject: comment re: using shadow file rather than enclosing node. X-Git-Tag: V1_1_0_RC2~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26de53341d46ed210b50e7837d4c10d0f83ebc54;p=aspectj.git comment re: using shadow file rather than enclosing node. --- 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, "",