aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2000-05-30 02:40:48 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-30 02:40:48 +0000
commit37dbf7aa9c7ecd0d04c5caf229023d9e4d911129 (patch)
treed00c4ee461538b9857b27d0d4789a07da42adf5e /gcc/cpplib.c
parent6a3dbe6543fe3d23a1936c3867e9980eec075c15 (diff)
downloadgcc-37dbf7aa9c7ecd0d04c5caf229023d9e4d911129.zip
gcc-37dbf7aa9c7ecd0d04c5caf229023d9e4d911129.tar.gz
gcc-37dbf7aa9c7ecd0d04c5caf229023d9e4d911129.tar.bz2
cpplib.c (do_if): Don't save and restore only_seen_white here.
* cpplib.c (do_if): Don't save and restore only_seen_white here. * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white and skipping here. From-SVN: r34260
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 3bc8825..e339c1e 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -1186,15 +1186,11 @@ do_if (pfile)
{
const cpp_hashnode *cmacro = 0;
int value = 0;
- int save_only_seen_white = pfile->only_seen_white;
if (! pfile->skipping)
{
cmacro = detect_if_not_defined (pfile);
-
- pfile->only_seen_white = 0;
value = _cpp_parse_expr (pfile);
- pfile->only_seen_white = save_only_seen_white;
}
push_conditional (pfile, value == 0, T_IF, cmacro);
return 0;