Skip to content
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

[bugfix/replace-preprend-with-prepend-in-astyle-wrapper] Fix what might be bugs in the spelling & positions of astyle wrapper script arguments #420

Conversation

goxberry
Copy link
Member

@goxberry goxberry commented Nov 3, 2020

This pull request makes two changes to fix what look like possible bugs in the astyle wrapper script:

  • the substitution macro @arg_PREPREND_FLAGS@ seems like it should be @arg_PREPEND_FLAGS@

  • the line set(ASTYLE_APPEND_FLAGS @arg_PREPREND_FLAGS@) seems like it should read set(ASTYLE_APPEND_FLAGS @arg_APPEND_FLAGS@)

This commit replaces all instances of "preprend" with "prepend" in the
astyle wrapper script. Without this change, ASTYLE_PREPEND_FLAGS will
always be unset.
This commit changes the 2nd instance of @arg_PREPEND_FLAGS@ to
@arg_APPEND_FLAGS@ so that append flags are properly set in the astyle
wrapper script.
Copy link
Member

@white238 white238 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I'm pretty sure we don't have any customers that use the specific flags part of this macro. Only one I know of uses uncrustify.

@white238 white238 merged commit 372e43b into LLNL:develop Nov 11, 2020
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.

None yet

2 participants