mirror of
https://github.com/revanced/smali.git
synced 2025-05-11 20:04:28 +02:00
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:
parent
e186646752
commit
c52343de98
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user