astyle: replace depreacted astyle options

with compatible ones with astyle 3.4. Now configuration is compatible
both astyle 3.1 and 3.4.
This commit is contained in:
Koichiro Iwao 2024-02-08 14:48:43 +09:00
parent b39c12f351
commit ffd25af182
1 changed files with 3 additions and 3 deletions

View File

@ -19,13 +19,13 @@
--convert-tabs --convert-tabs
# requires --convert-tabs to work properly # requires --convert-tabs to work properly
--indent-preprocessor --indent-preproc-define
--indent-col1-comments --indent-col1-comments
--min-conditional-indent=2 --min-conditional-indent=2
--max-instatement-indent=40 --max-continuation-indent=40
# Insert space padding around operators. # Insert space padding around operators.
--pad-oper --pad-oper
@ -35,7 +35,7 @@
# Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...). # Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...).
--add-brackets --add-braces
--align-pointer=name --align-pointer=name