cpplib.c (skip_if_group): Split out the logic that handles directive recognition...
authorZack Weinberg <zack@rabi.phys.columbia.edu>
Mon, 4 Jan 1999 12:38:22 +0000 (12:38 +0000)
committerDave Brolley <brolley@gcc.gnu.org>
Mon, 4 Jan 1999 12:38:22 +0000 (07:38 -0500)
commited705a823253a1cc29f17a0c92227018bccb743d
tree0a1bc5987f74612eb68088d8ed1418adfe74ce1c
parent16deb3fb8f0ab29d3a16fd73e5a005e5805f3308
cpplib.c (skip_if_group): Split out the logic that handles directive recognition to its own function.

1998-12-21 18:03 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (skip_if_group): Split out the logic that handles
directive recognition to its own function.  Don't use
parse markers; use a bare pointer into the buffer.  Use
copy/skip_rest_of_line instead of doing it by hand.  Remove
`return on any directive' mode which was never used, and take
only one argument.
(consider_directive_while_skipping): New function, subroutine
of skip_if_group.  Logic streamlined a bit.
(conditional_skip, do_elif, do_else): Call skip_if_group with
only one argument.

From-SVN: r24485
gcc/ChangeLog
gcc/cpplib.c