* cpplib.c (do_elif): Skip the rest of the line if we're
commit61f48e09cb9e2b15eabe858b34ae6b53b9a5409b
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Apr 2000 21:09:51 +0000 (7 21:09 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Apr 2000 21:09:51 +0000 (7 21:09 +0000)
tree1cdc2119b4eff8f84b844f88f3a85efa4575cb1e
parent5b57fe03b23d32e841dc81b879adc1bba0b83c37
* cpplib.c (do_elif): Skip the rest of the line if we're
not going to bother evaluating it.
(skip_if_group): Clear pfile->only_seen_white.  Reorder loop
to avoid pointless calls to the lexer.

* gcc.dg/cpp-mi2.c: New test.
* gcc.dg/cpp-mi2[abc].h: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33008 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpplib.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp-mi2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp-mi2a.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp-mi2b.h [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp-mi2c.h [new file with mode: 0644]