Skip to content

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

Merged
catilac merged 1 commit into
processing:mainfrom
tychedelia:bugfix/1501-java-module-parse
Jul 13, 2026
Merged

Some tokens used as variable names incorrectly reported as errors#1543
catilac merged 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.

@catilac catilac self-requested a review July 13, 2026 13:03
@catilac catilac merged commit 83408c6 into processing:main Jul 13, 2026
6 checks passed
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"

2 participants