Skip to content

Preserve all lexer and parser parameters - #819

Merged
ydah merged 1 commit into
fix/param-directivefrom
fix/multiple-params
Oct 27, 2026
Merged

ydah merged 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
@ydah
ydah merged commit 49e2c0f into fix/param-directive Oct 27, 2026
45 checks passed
@ydah
ydah deleted the fix/multiple-params branch October 27, 2026 00:36
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.

2 participants