diff options
author | 2014-07-23 04:45:46 +0000 | |
---|---|---|
committer | 2014-07-23 04:45:46 +0000 | |
commit | 07e240eb3cf0548db92cea4f9e32d34c81e53334 (patch) | |
tree | 03b53e5f289c5efbe8ccbc5596d53244077c2c77 | |
parent | 0616401e7af420f9d3a0b863d55cfca8e6372761 (diff) |
Don't convert spaces to tabs if they are in a string literal that is split over multiple lines using line continuation (nw)
-rw-r--r-- | src/tools/srcclean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/srcclean.c b/src/tools/srcclean.c index 3fa839593d9..24db9bca880 100644 --- a/src/tools/srcclean.c +++ b/src/tools/srcclean.c @@ -311,7 +311,7 @@ int main(int argc, char *argv[]) } /* convert spaces to tabs, if used for indenting */ - while (spaces > 0 && (!in_multiline_comment || col < indent_multiline_comment) && (col == 0 || modified[dst-1] == 0x09)) + while (spaces > 0 && (!in_multiline_comment || col < indent_multiline_comment) && (col == 0 || modified[dst-1] == 0x09) && !in_c_string) { modified[dst++] = 0x09; spaces -= tab_size; |