projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094030c
)
Always put 1 space after the macro expansion in ANSI mode.
author
Michael Meissner
<meissner@gcc.gnu.org>
Wed, 29 Jun 1994 19:25:41 +0000
(19:25 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Wed, 29 Jun 1994 19:25:41 +0000
(19:25 +0000)
From-SVN: r7600
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index
beabe38
..
907bb91
100644
(file)
--- a/
gcc/cccp.c
+++ b/
gcc/cccp.c
@@
-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;