projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a78e7bc
)
(handle_directive): Don't treat newline as white space when coalescing
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 26 Oct 1995 22:08:01 +0000
(18:08 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 26 Oct 1995 22:08:01 +0000
(18:08 -0400)
white space around a backslash-newline.
From-SVN: r10519
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index 64f5f757b40b0660174cb789eb1be1f62b99706d..39f1a5ae7c894eda2f730c93c3da46c04e4a4947 100644
(file)
--- a/
gcc/cccp.c
+++ b/
gcc/cccp.c
@@
-3938,11
+3938,11
@@
handle_directive (ip, op)
if (*xp == '\n') {
xp++;
cp--;
- if (cp != buf && is_space[cp[-1]]) {
- while (cp
!= buf && is_space[cp[-1]]) cp--;
-
cp++
;
+ if (cp != buf && is_
hor_
space[cp[-1]]) {
+ while (cp
- 1 != buf && is_hor_space[cp[-2]])
+
cp--
;
SKIP_WHITE_SPACE (xp);
- } else if (is_space[*xp]) {
+ } else if (is_
hor_
space[*xp]) {
*cp++ = *xp++;
SKIP_WHITE_SPACE (xp);
}