forked from jasder/antlr
v4 tool: Fix compile error (Ter's using a custom build of v3... this works with both) :)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9271]
This commit is contained in:
parent
f9c364db1f
commit
3a8ab7f859
|
@ -95,7 +95,7 @@ public class GrammarAST extends CommonTree {
|
|||
while ( work.size()>0 ) {
|
||||
t = work.remove(0);
|
||||
if ( types.contains(t.getType()) ) nodes.add(t);
|
||||
if ( t.children!=null ) work.addAll(t.children);
|
||||
if ( t.children!=null ) work.addAll((Collection)t.children);
|
||||
}
|
||||
return nodes;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue