From 741d3d8a00d90fb5659dec2767d7eb8bd235fdbb Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 14 Sep 1995 17:41:30 -0400 Subject: [PATCH] (do_cleaning): Don't blank out backslash-escaped newlines in double quoted strings. From-SVN: r10355 --- gcc/protoize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/protoize.c b/gcc/protoize.c index df8ec65b143..b577b2ab428 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -3970,7 +3970,9 @@ do_cleaning (new_clean_text_base, new_clean_text_limit) if (++scan_p >= new_clean_text_limit) abort (); } - *scan_p++ = ' '; + if (!isspace (*scan_p)) + *scan_p = ' '; + scan_p++; break; case '\\': /* Handle line continuations. */