Set the token stream on the tree stream object, so we can use the getSourceName() method to get the current source file

git-svn-id: https://smali.googlecode.com/svn/trunk@101 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-06-06 19:22:39 +00:00
parent e186646752
commit c52343de98

View File

@ -179,6 +179,7 @@ public class smali
CommonTree t = (CommonTree) result.getTree();
CommonTreeNodeStream treeStream = new CommonTreeNodeStream(t);
treeStream.setTokenStream(tokens);
smaliTreeWalker dexGen = new smaliTreeWalker(treeStream);