cpplex.c (handle_newline, [...]): Update to do more stepping back.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sat, 20 Oct 2001 09:00:53 +0000 (09:00 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 20 Oct 2001 09:00:53 +0000 (09:00 +0000)
commit870628131ce6ff529817509e256c7ee035d37bfd
treef6d06251cda814a30b50a23cf4acd25227570f5e
parent3c1ef3c102885904709f853f9bef00fee86699e5
cpplex.c (handle_newline, [...]): Update to do more stepping back.

* cpplex.c (handle_newline, skip_escaped_newlines,
get_effective_char, skip_block_comment, skip_line_comment,
parse_identifier_slow, parse_number, parse_string,
_cpp_lex_direct): Update to do more stepping back.
(trigraph_ok): Similarly.  Rename trigraph_p.
(SAVE_STATE, RESTORE_STATE): Remove.
(BUFF_SIZE_UPPER_BOUND): Tweak.  Add sanity check.

* cpplib.c (destringize): Rename destringize_and_run, and
call run_directive directly.
(_cpp_do__Pragma): Simplify.

From-SVN: r46373
gcc/ChangeLog
gcc/cpplex.c
gcc/cpplib.c