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:
sharwell 2011-11-10 07:53:22 -08:00
parent f9c364db1f
commit 3a8ab7f859
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}