Skip to content

Accept escaped quotes in token aliases - #815

Open
ydah wants to merge 1 commit into
masterfrom
fix/escaped-token-aliases
Open

ydah wants to merge 1 commit into
masterfrom
fix/escaped-token-aliases

Conversation

@ydah

@ydah ydah commented Oct 21, 2026

Copy link
Copy Markdown
Member

Declarations such as %token QUOTE "\"" failed with Unexpected token because the string-token pattern stopped at the escaped quote. Bison 2.3 and 3.8.2 accept this declaration.

Recognize escaped characters while preserving the original spelling for alias lookup and diagnostics. Continue rejecting physical newlines and backslash-newline sequences.

This branch has not been deployed

No deployments
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.

1 participant