Fix: the option "--break-blocks=all" doesn't work, too.
option "--break-blocks" doesn't work for classes and functions
astyle 3.4 has a new option "--indent-lambda". Have you tried it?
Thank you for the clarification. I tried to format the following code with astyle 3.4.14: int main() { int a0e=10+30; float x=a0e-30; } via command astyle --style=java --indent=tab=4 --indent-switches --indent-namespaces --indent-preproc-block --min-conditional-indent=1 --pad-oper --pad-comma --pad-header < test.cpp > output.cpp. The result is: int main() { int a0e = 10 + 30; float x = a0e-30; } The operator '-' in "a0e-30" should be padded with spaces, but it's not.
Astyle doesn't recognize C++ 17 hexdecimal floating-point literal
Expression "a0e-30" is wrongly treated as a floating-point literal.
I've tried the newest windows installer ( "sdcc-20230923-14356-x64-setup.exe" ). cc1 is still installed to sdcc/bin, not sdcc/libexec/sdcc .
I've tried the newest windows installer ( "sdcc-20230923-14356-x64-setup.exe" ). cc11 is still installed to sdcc/bin, not sdcc/libexec/sdcc .