Skip to content

Some tokens used as variable names incorrectly reported as errors#1543

Open
tychedelia wants to merge 1 commit into
processing:mainfrom
tychedelia:bugfix/1501-java-module-parse
Open

Some tokens used as variable names incorrectly reported as errors#1543
tychedelia wants to merge 1 commit into
processing:mainfrom
tychedelia:bugfix/1501-java-module-parse

Conversation

@tychedelia

Copy link
Copy Markdown
Member

Fixes #1501.

We need to swap from the lexer to the identifier parser rule, which correctly only excludes actual reserved keywords. The upstream grammar started tokenizing all the contextual java module stuff, which broke people using to, module, etc. Broken since 00e4243 afaict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using "module" as a variable name gives "Syntax Error - Missing name or type"

1 participant