I found a new case for the issue that was fixed in http://sourceforge.net/p/uncrustify/bugs/599/:
public class C { public void F() { var x = @" "; } }
Running uncrustify on this with the default config yields:
public class C { public void F() { var x = @" " ; } }
Semicolon is getting spaced way out, but should stick to the closing quote.
Another variation that involves string concatenation also causes the ; padding problem:
this results in:
Note that, for this case, if the '+' character is moved to the same line as the @", the problem does not reproduce.
Last edit: Scott Bilas 2014-09-12
Should be fixed. There may be other instances - anywhere space_col_align() is called has a potential issue.
Thanks for the fix, looks good on my end.