I get :
Error', 0, "Unexpected ')' for 'ANGLE_OPEN', which was on line 49")
Error', 0, "Unexpected '>' for 'PAREN_OPEN', which was on line 50")
Error', 0, "Unexpected '>' for 'PAREN_OPEN', which was on line 60")
for lines:
#define CONSTRAIN(amt, low, high) ((amt)<\
(low)?(low):((amt)>\
(high) ...
version
uncrustify 0.63.0-g44ce0f1
Did you want:
It works pretty fine for me.
Sorry the root cause was this:
char test[] = {
FR2TMR(30000u), FR2TMR(33000u), FR2TMR(36000u), FR2TMR(38000u), FR2TMR(38700u), FR2TMR(70000u), FR2TMR(56000u)};
Still crashes on it, weird thing if I remove the 0-s it passes.
The actual git version works pretty fine.
https://github.com/uncrustify/uncrustify
Please test it!
Thanks! I will wait for the next binary release.
This issue should be closed either with
fixedor withworks-for-meWe have migrated the bug to:
https://github.com/uncrustify/uncrustify/issues/686