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:
dolby-oss 2012-01-31 12:37:17 +00:00
parent cf44d3999e
commit f5fc9a3c56
1 changed files with 1 additions and 1 deletions

View File

@ -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();