Skip to content

Accept multiple --define flags - #810

Merged
yui-knk merged 1 commit into
ruby:masterfrom
makenowjust:multiple-d-flag
Oct 17, 2026
Merged

yui-knk merged 1 commit into
ruby:masterfrom
makenowjust:multiple-d-flag

Conversation

@makenowjust

Copy link
Copy Markdown
Contributor

On master, when multiple --define flags are passed, the last one is accepted and the others are discarded (e.g., --define=foo --define=bar is the same as --define=bar), and we need to use --define=foo,bar to pass multiple flags correctly.
This behavior is different from bison, so this PR fixes it. Now, --define=foo --define=bar is correctly processed.

@yui-knk
yui-knk merged commit b42cda8 into ruby:master Oct 17, 2026
23 checks passed
@yui-knk

yui-knk commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

@makenowjust
makenowjust deleted the multiple-d-flag branch October 17, 2026 04:30
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