diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1994-06-29 19:25:41 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1994-06-29 19:25:41 +0000 |
commit | d52a8965947c9bdc29a607f14561b7e8513b7af1 (patch) | |
tree | 3d6b883aad44df72a0e8b05528d85421bb007a8d /gcc | |
parent | 094030c93f19e1da77ab7a8d02d83603815d0d59 (diff) | |
download | gcc-d52a8965947c9bdc29a607f14561b7e8513b7af1.zip gcc-d52a8965947c9bdc29a607f14561b7e8513b7af1.tar.gz gcc-d52a8965947c9bdc29a607f14561b7e8513b7af1.tar.bz2 |
Always put 1 space after the macro expansion in ANSI mode.
From-SVN: r7600
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cccp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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'; defn->length = exp_p - defn->expansion; |