You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
boolean record = true; causes a syntax error even thought it is valid Java #1241
Activity
Stefterv commentedon Sep 12, 2025
processing4/java/preprocessor/src/main/antlr/JavaLexer.g4
Lines 109 to 110 in 275d789
Here it is defined in the Lexer
and here most of it in the Parser
processing4/java/preprocessor/src/main/antlr/JavaParser.g4
Lines 443 to 463 in 275d789
Changing the string in the top does make the error go away but that of course moves it to a separate keyword
catilac commentedon Sep 12, 2025
@Stefterv Oh I will explore this! 🤓
Stefterv commentedon Sep 12, 2025
Cool, the antlr stuff has been an antler (pun intended) in my side for a while so it'd be nice to share this :)