Community
Participate
Working Groups
Hi! The statement for(int i=1;((i<10)&&(i<10));i++){ is formated to: for (int i = 1;((i < 10) && (i < 10)); i++) { ^^ but the correct way is: for (int i = 1; ((i < 10) && (i < 10)); i++) { I try a fix and in 'case: TokenNameLPAREN'; I comment out '&& previousToken != TokenNameSEMICOLON'. This works for the for-statement, but I don't know how it works in other situation. Christian
This is addressed in the new formatter. Fixed and released in HEAD. Regression test added.
Verified.