Skip to content

Accept %param declarations for both lexer and parser - #818

Open
ydah wants to merge 1 commit into
masterfrom
fix/param-directive
Open

ydah wants to merge 1 commit into
masterfrom
fix/param-directive

Conversation

@ydah

@ydah ydah commented Oct 21, 2026

Copy link
Copy Markdown
Member

%param {int value} failed with Unexpected token because %param was missing from the lexer. Its grammar production also had no action.

Recognize %param, build a ParamDecl, and apply its declaration to both lexer and parser parameters. Add parser coverage and exercise %param in the compiled integration fixture.

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