We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parser rules that label a simple ., e.g., myLabel=. cause compile error in generated code since terminal symbol is not recognized properly.
.
myLabel=.
Example:
textToExpand: (definitions+=MACRO_DEFS | calls+=MACRO_CALL | ignored+='\\##(call)>' | ignored+='\\<##(call)' | ignored+=.)* EOF ;
For a label called myLabel the generated code contains the following hint:
myLabel
/*FIXME: TYPE IS UNDEFINED! ruleText='myLabel+=.' */
The text was updated successfully, but these errors were encountered:
Since ANTLR4 generates broken code for such a grammar, we will forbid labeling . for now. This needs further investigation.
Sorry, something went wrong.
attempt to address issue #8 (WIP)
91d35f8
ANTLR code generation seems only broken for 'myLabel+=' but not 'myLa…
8bbbe11
…bel='. We changed the exception to reflect that. We allow simple assignment, but not list assignment. see issue #8
DOT ('.') is treated terminal issue #8
432ca9e
miho
No branches or pull requests
parser rules that label a simple
.
, e.g.,myLabel=.
cause compile error in generated code since terminal symbol is not recognized properly.Example:
For a label called
myLabel
the generated code contains the following hint:/*FIXME: TYPE IS UNDEFINED! ruleText='myLabel+=.' */
The text was updated successfully, but these errors were encountered: