forked from jasder/antlr
v4: check for labels that alias a token name
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9346]
This commit is contained in:
parent
f356cd42d1
commit
062210b54a
|
@ -57,6 +57,10 @@ public class SymbolChecks {
|
|||
this.g = g;
|
||||
this.collector = collector;
|
||||
this.errMgr = g.tool.errMgr;
|
||||
|
||||
for (GrammarAST tokenId : collector.tokenIDRefs) {
|
||||
tokenIDs.add(tokenId.getText());
|
||||
}
|
||||
/*
|
||||
System.out.println("rules="+collector.rules);
|
||||
System.out.println("rulerefs="+collector.rulerefs);
|
||||
|
|
Loading…
Reference in New Issue