From ffd25af1829c1cab56f2e83d4c6d89a68bfced1e Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Thu, 8 Feb 2024 14:48:43 +0900 Subject: [PATCH] astyle: replace depreacted astyle options with compatible ones with astyle 3.4. Now configuration is compatible both astyle 3.1 and 3.4. --- astyle_config.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/astyle_config.as b/astyle_config.as index 176a8f68..2425fc2e 100644 --- a/astyle_config.as +++ b/astyle_config.as @@ -19,13 +19,13 @@ --convert-tabs # requires --convert-tabs to work properly ---indent-preprocessor +--indent-preproc-define --indent-col1-comments --min-conditional-indent=2 ---max-instatement-indent=40 +--max-continuation-indent=40 # Insert space padding around operators. --pad-oper @@ -35,7 +35,7 @@ # Add brackets to unbracketed one line conditional statements (e.g. 'if', 'for', 'while'...). ---add-brackets +--add-braces --align-pointer=name