aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppalloc.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@midnite.ec.rhno.columbia.edu>1999-02-08 20:27:27 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-02-08 20:27:27 +0000
commit5dfa4da1309462fbefced93c213c28a5417eabdb (patch)
treec079b4e9cc9eae1f223a405bc08b6a1cd358fb74 /gcc/cppalloc.c
parent1c6c21c8a84cd07a513ebbf13e18325ea1bb1f18 (diff)
downloadgcc-5dfa4da1309462fbefced93c213c28a5417eabdb.zip
gcc-5dfa4da1309462fbefced93c213c28a5417eabdb.tar.gz
gcc-5dfa4da1309462fbefced93c213c28a5417eabdb.tar.bz2
cpplib.c (special_symbol): Rewrite.
1999-02-08 23:25 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu> * cpplib.c (special_symbol): Rewrite. Don't copy things multiple times. Handle __STDC__ specially. T_CONST indicates a constant /string/. Don't handle T_*_TYPE and T_SPEC_DEFINED. Use cpp_buf_line_and_col instead of adjust_position. Determine the file buffer only if needed. (initialize_builtins): Handle __SIZE_TYPE__, __PTRDIFF_TYPE__, __WCHAR_TYPE__, __USER_LABEL_PREFIX__, and __REGISTER_PREFIX__ with T_CONST special hashtab entries. Don't provide __OBJC__; the driver does that. Provide __STDC_VERSION__, using T_CONST. Use T_STDC for __STDC__. Give install the length of all symbols defined. (eval_if_expression): Drop code to insert and remove the "defined" special symbol. * cpplib.h: Remove SELF_DIR_DUMMY (no longer used). Remove T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC. * cpphash.c (install): Drop the `ivalue' parameter. Constify the `value' parameter. All callers changed. * cpphash.h (install): Change prototype to match. (union hashval): Remove `ival' member. * cppexp.c (cpp_lex): Handle `defined' here. From-SVN: r25097
Diffstat (limited to 'gcc/cppalloc.c')
0 files changed, 0 insertions, 0 deletions