cpphash.h (struct cpp_buffer): Remove saved_line_base.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Fri, 14 Jun 2002 05:43:13 +0000 (05:43 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 14 Jun 2002 05:43:13 +0000 (05:43 +0000)
commitbf9d5852a03e2386f84edf6c7396288f2c04305c
tree04cbdfa09f14486aae7d7a354d10fe7ccbe07768
parent57292ec30e534d43e7030eea5c774a75d4e63a48
cpphash.h (struct cpp_buffer): Remove saved_line_base.

* cpphash.h (struct cpp_buffer): Remove saved_line_base.
* cpptrad.c: Update comments.
(skip_whitespace, copy_comment): Take a new parameter.
(skip_escaped_newlines): Don't duplicate escaped newline test.
(copy_comment): Different location for CUR, decide here how
to copy / replace the comment.
(skip_whitespace): Copy whitespace.
(_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
(scan_out_logical_line): Let copy comment handle keeping or
replacing comments.
(scan_parameters, _cpp_create_trad_definition): Update.

From-SVN: r54605
gcc/ChangeLog
gcc/cpphash.h
gcc/cpptrad.c