summaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-25 11:57:57 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-25 11:57:57 +0000
commitb813de01df5ae32bc6d8f99810842be4755f0f46 (patch)
treef6054d71feac30674ea9d0da03b21c1292f844cb /gcc/cpphash.c
parent1e50e9c3c22d6300114ffea31a9a76a3954e4efd (diff)
downloadgcc-b813de01df5ae32bc6d8f99810842be4755f0f46.tar.gz
* Revert previous patch until build failure cause determined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33411 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index ac8294d9690..5817e964426 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -459,8 +459,7 @@ collect_objlike_expansion (pfile, list)
default:;
}
- if (i > 1 && !last_was_paste
- && (list->tokens[i].flags & PREV_WHITESPACE))
+ if (i > 1 && !last_was_paste && (list->tokens[i].flags & HSPACE_BEFORE))
CPP_PUTC (pfile, ' ');
CPP_PUTS (pfile,
@@ -572,10 +571,10 @@ collect_funlike_expansion (pfile, list, arglist, replacement)
}
if (last_token != PASTE && last_token != START
- && (list->tokens[i].flags & PREV_WHITESPACE))
+ && (list->tokens[i].flags & HSPACE_BEFORE))
CPP_PUTC (pfile, ' ');
if (last_token == ARG && CPP_TRADITIONAL (pfile)
- && !(list->tokens[i].flags & PREV_WHITESPACE))
+ && !(list->tokens[i].flags & HSPACE_BEFORE))
endpat->raw_after = 1;
switch (token)
@@ -617,7 +616,7 @@ collect_funlike_expansion (pfile, list, arglist, replacement)
{
int raw_before = (last_token == PASTE
|| (CPP_TRADITIONAL (pfile)
- && !(list->tokens[i].flags & PREV_WHITESPACE)));
+ && !(list->tokens[i].flags & HSPACE_BEFORE)));
add_pat (&pat, &endpat,
CPP_WRITTEN (pfile) - last /* nchars */, j /* argno */,
@@ -866,7 +865,7 @@ _cpp_create_definition (pfile, list, hp)
/* The macro is function-like only if the next character,
with no intervening whitespace, is '('. */
else if (list->tokens[1].type == CPP_OPEN_PAREN
- && ! (list->tokens[1].flags & PREV_WHITESPACE))
+ && ! (list->tokens[1].flags & HSPACE_BEFORE))
{
struct arglist args;
int replacement;