BUG: --pad-oper breaks 2-symbol operators
AStyle's option --pad-oper breaks operator *= (maybe some other as well) with a space. Test program test.c:
if (d<=.7)
d*=1.7;
Execute:
astyle -p test.c
Result:
if (d <= .7)
d * = 1.7;
Notice that *= operator has been split into * and =, making code invalid. However, if I remove the line with the condition (if (d <= .7)
), everything works fine. Thanks!