Open peterremote1980 opened 5 years ago
i print out all tokens one by one, it is correct. But in listener, i just get a fake token, why?
for (Token t : tokenStream.getTokens()) {
System.out.println("token=" + t.getText());
}
Hi My Netbeans antlr plugin has trouble. my antlr plugin try to parse a false-file. The input string is:
In the listener, it print out:
As you can see, there is a fake "cx", in front of "cxadcax,cx". Same code running outside the netbeans, it works. But if the antlr code is running as a netbeans module, it become fake. Any hints?
I am using Netbeans 8.2 and it embedded antlr 4.5.3
thanks From Peter