cpplib.c (end_directive): Handle line skipping.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 13 Jun 2002 06:25:28 +0000 (06:25 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 13 Jun 2002 06:25:28 +0000 (06:25 +0000)
commit974c43f1e345d10b7dc1c202dbe62caf88b25255
tree3e71956fa3f7d26102a5ef76e903e7afc02c749c
parente4dadd2ad0d2008b1838083846157ca527ec8170
cpplib.c (end_directive): Handle line skipping.

* cpplib.c (end_directive): Handle line skipping.  Only remove
the rest of the line if the directive was valid.
* cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
expanding a traditional macro.
* cpptrad.c (recursive_macro): New.
(read_logical_line_trad): Handle skipping.
(scan_out_logical_line): Continue after a successful directive.
Don't expand macros whilst skipping, or if recursing.
(_cpp_create_trad_definition): scan_out_logical_line now sets
the output current position.

From-SVN: r54573
gcc/ChangeLog
gcc/cpplib.c
gcc/cppmacro.c
gcc/cpptrad.c