-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Official Demo Parse Question: WebIDL parse, type of all tokens is null #75
Comments
Add: |
Sorry, I can't reproduce the issue for Cpp. Works fine for me.
And, over in lab.antlr.org, it also works fine. Same thing for the interpreted engine antlr-parse, which is what lab.antlr.org uses:
(Note, for grammars that have "actions", the interpreted Antlr engine won't work because the action is code in the target, like Java. A parser has to be generated and compiled, not interpreted. But, I recently updated the grammar file that lab.antlr.org uses, so all grammars with actions are now no longer even offered in the lab.antlr.org grammar drop-down menu.) |
When try official demo at http://lab.antlr.org/ , select WebIDL, click run, then i can see that any WebIDL was parsed into
enumValueListComma.
And the type of each identifiers is null or IDENTIFIER_WEBIDL.
See as:
Then i build a local cpp-language demo:
4.output : "line 1:0 no viable alternative at input 'interface'" or other error
The text was updated successfully, but these errors were encountered: