Skip to content

Preserve all lexer and parser parameters - #819

Open
ydah wants to merge 1 commit into
fix/param-directivefrom
fix/multiple-params
Open

ydah wants to merge 1 commit into
fix/param-directivefrom
fix/multiple-params

Conversation

@ydah

@ydah ydah commented Oct 21, 2026

Copy link
Copy Markdown
Member

Multiple declarations in %param, %lex-param, or %parse-param overwrote earlier parameters, leaving only the last one in generated signatures and calls.

Keep declarations in ordered arrays and emit every declaration and argument name, including separate YY_USE statements. Cover mixed and repeated directives and verify argument values in successful parses and yyerror calls.

@ydah
ydah changed the base branch from master to fix/param-directive October 21, 2026 11:13
@ydah ydah changed the title Fix/multiple params Preserve all lexer and parser parameters Oct 21, 2026

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