-
Notifications
You must be signed in to change notification settings - Fork 3k
Ensure macros and parameters with the same name are not repeated. #8982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Comments added! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@bridadan Is there a way we could test for this? that way we can prevent regressions. |
This covers the case when a macro is set with the same name as a parameter. Previously, the macro would be repeated on the command line, which causes certain toolchains to break (ex. IAR assembler). Now the config system will override the parameter's value with the macro's value.
0c904f4
to
990ce38
Compare
990ce38
to
b8cdfc5
Compare
Added a unit test. Also, turns out the |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Should fix #8931.
This covers the case when a macro is set with the same name as a
parameter. Previously, the macro would be repeated on the command line,
which causes certain toolchains to break (ex. IAR assembler). Now the
config system will override the parameter's value with the macro's
value.
Pull request type