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

indentation #22

Open
cooljeanius opened this issue Sep 25, 2024 · 0 comments
Open

indentation #22

cooljeanius opened this issue Sep 25, 2024 · 0 comments

Comments

@cooljeanius
Copy link
Owner

cooljeanius commented Sep 25, 2024

I disagree with the standard GNU indentation style. In my fork of gdb, I use the following args to indent in an indentation script:

additional_args="-as -cdw -ss -npcs -ncs -nbc -sar -nut -sob -gts -lps -i2 \
-di1 -l79 -bad -bap -nbbb -bls -blf -ppi1 -dj -cd0 -c1 -cp1 -ntac"

In this repo, they can be put in a Makefile variable named indent_args to override the setting in maint.mk (which is vendored in from gnulib). I need to find the proper place to do this, and handle fallout from places where reindenting with these args screws things up...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant