'\\n'; or more backslash match to ExpressionStatement(CharacterLiteral) #7

Closed
opened 2023-03-20 03:26:50 +01:00 by NewOag · 2 comments
NewOag commented 2023-03-20 03:26:50 +01:00 (Migrated from github.com)

JDK compile failed because of too many characters in character literal

**JDK compile failed because of too many characters in character literal**
marijnh commented 2023-03-20 08:01:16 +01:00 (Migrated from github.com)

Note that rejecting every invalid program is not a goal of this grammar. Still, the logic in there was a bit weird (probably inspired by a bogus test case inherited from tree-sitter). Attached patch removes the test and tightens it up a bit.

Note that rejecting every invalid program is not a goal of this grammar. Still, the logic in there was a bit weird (probably inspired by a bogus test case inherited from tree-sitter). Attached patch removes the test and tightens it up a bit.
NewOag commented 2023-03-20 08:12:08 +01:00 (Migrated from github.com)

Thank you very much for your patch o.0

Thank you very much for your patch o.0
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lezer/java#7
No description provided.