Commit d52a8965 by Michael Meissner

Always put 1 space after the macro expansion in ANSI mode.

From-SVN: r7600
parent 094030c9
...@@ -5821,6 +5821,14 @@ collect_expansion (buf, end, nargs, arglist) ...@@ -5821,6 +5821,14 @@ collect_expansion (buf, end, nargs, arglist)
} }
} }
if (!traditional && expected_delimiter == 0) {
/* There is no trailing whitespace, so invent some in ANSI mode.
But not if "inside a string" (which in ANSI mode
happens only for -D option). */
*exp_p++ = '\n';
*exp_p++ = ' ';
}
*exp_p = '\0'; *exp_p = '\0';
defn->length = exp_p - defn->expansion; defn->length = exp_p - defn->expansion;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment