cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
authorNeil Booth <neilb@earthling.net>
Mon, 24 Apr 2000 22:07:36 +0000 (22:07 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 24 Apr 2000 22:07:36 +0000 (22:07 +0000)
commit9c603af2ac5c36e9fe18453b096492b95ceeec24
tree78d00b64242d62d8f1d39589de74e11555f571d6
parent91029a29533bcffecafb8991eb0d033403cce3d8
cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.

* cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
* cpphash.h (_cpp_check_directive): new.
* cpplex.c (handle_newline, cpp_free_token_list,
init_trigraph_map, trigraph_ok, trigraph_replace,
backslash_start, skip_block_comment, skip_line_comment,
skip_whitespace, parse_name, parse_number, parse_string,
copy_comment, _cpp_lex_line, spell_char, spell_string,
spell_comment, spell_name, spell_other, _cpp_lex_file,
_cpp_output_list): new.
(expand_name_space): take length argument.
(init_token_list): add comment list initialisation.
(cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
instead of HSPACE_BEFORE.

* cpplib.c (_cpp_check_directive): new
* cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
(HSPACE_BEFORE): delete.
(TTYPE_TABLE): rearrange.
(struct cpp_toklist): update.

From-SVN: r33390
gcc/ChangeLog
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplex.c
gcc/cpplib.c
gcc/cpplib.h