set source position for whole function
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4430 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
cf44d3999e
commit
f5fc9a3c56
|
@ -471,7 +471,7 @@ public class RhinoToAstTranslator {
|
|||
stmts = newStmts;
|
||||
}
|
||||
|
||||
final CAstNode ast = Ast.makeNode(CAstNode.BLOCK_STMT, stmts);
|
||||
final CAstNode ast = noteSourcePosition(child, Ast.makeNode(CAstNode.BLOCK_STMT, stmts), n);
|
||||
final CAstControlFlowMap map = child.cfg();
|
||||
final CAstSourcePositionMap pos = child.pos();
|
||||
|
||||
|
|
Loading…
Reference in New Issue