| Previous | 199869 Revisions | Next |
| r31394 Wednesday 23rd July, 2014 at 04:45:46 UTC by smf |
|---|
| Don't convert spaces to tabs if they are in a string literal that is split over multiple lines using line continuation (nw) |
| [src/tools] | srcclean.c |
| r31393 | r31394 | |
|---|---|---|
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /* convert spaces to tabs, if used for indenting */ |
| 314 | while (spaces > 0 && (!in_multiline_comment || col < indent_multiline_comment) && (col == 0 || modified[dst-1] == 0x09)) | |
| 314 | while (spaces > 0 && (!in_multiline_comment || col < indent_multiline_comment) && (col == 0 || modified[dst-1] == 0x09) && !in_c_string) | |
| 315 | 315 | { |
| 316 | 316 | modified[dst++] = 0x09; |
| 317 | 317 | spaces -= tab_size; |
| Previous | 199869 Revisions | Next |