OSDN Git Service

* cpplib.h (enum cpp_ttype): Add token types for all
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Apr 2000 19:33:11 +0000 (19:33 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Apr 2000 19:33:11 +0000 (19:33 +0000)
commit50fd6b48dca019bdefd2ec1f4caa93b42ce02574
treeb131b13cc8013ec316c7583f27a31866d32d9a99
parent093c0196840c23ac9627794ab75e0618cc05a7c6
* cpplib.h (enum cpp_ttype): Add token types for all
punctuators.  Distinguish pp-numbers from valid C numbers.
Give some tokens better names.  Initialize from macro.
(struct cpp_name, cpp_token, cpp_toklist): New data
structures.
Update prototypes.
* cpplex.c (bump_column, expand_name_space,
expand_token_space, init_token_list, cpp_output_list,
_cpp_scan_line):  New functions.
(output_line_command): Add third argument, new line number.
* cpphash.h: Update prototypes.
* cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
token names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33289 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cppexp.c
gcc/cpphash.c
gcc/cpphash.h
gcc/cpplex.c
gcc/cpplib.c
gcc/cpplib.h
gcc/scan-decls.c