diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-04-10 03:27:21 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-04-10 03:27:21 +0000 |
commit | 8c389f849ab65cfb5bc82fb2a3c4d815e193ecfd (patch) | |
tree | e001640b191e5f97c968fedc53d3750c074b5126 /gcc/cpphash.h | |
parent | 3a3677ff46c5e086f59fdf7dc64e5eb09354bf25 (diff) | |
download | gcc-8c389f849ab65cfb5bc82fb2a3c4d815e193ecfd.zip gcc-8c389f849ab65cfb5bc82fb2a3c4d815e193ecfd.tar.gz gcc-8c389f849ab65cfb5bc82fb2a3c4d815e193ecfd.tar.bz2 |
cpphash.c (timestamp): Delete.
* cpphash.c (timestamp): Delete.
(del_HASHNODE): If type is T_MCONST, free value.cpval.
(special_symbol): Remove unnecessary braces. Remove
T_VERSION. Treat T_STDC like T_CONST unless
STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
when one is encountered, then convert them into T_MCONST
nodes.
* cppinit.c (builtin_array): version_string is T_MCONST.
__STDC__ has a "1" in its cpval. Don't have a terminator
entry. Clean up which entries are dumped.
(initialize_builtins): Only __STDC__ gets the special
-traditional treatment. Count the length of builtin_array.
Render version_string here.
* cpphash.h: Remove T_VERSION. Add T_MCONST.
* cpplib.h (struct cpp_reader): Remove timebuf.
From-SVN: r33047
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r-- | gcc/cpphash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h index abf0d2b..35d48e8 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -91,10 +91,10 @@ enum node_type T_FILE, /* `__FILE__' */ T_BASE_FILE, /* `__BASE_FILE__' */ T_INCLUDE_LEVEL, /* `__INCLUDE_LEVEL__' */ - T_VERSION, /* `__VERSION__' */ T_TIME, /* `__TIME__' */ T_STDC, /* `__STDC__' */ T_CONST, /* Constant string, used by `__SIZE_TYPE__' etc */ + T_MCONST, /* Ditto, but the string is malloced memory */ T_MACRO, /* macro defined by `#define' */ T_DISABLED, /* macro temporarily turned off for rescan */ T_POISON, /* macro defined with `#pragma poison' */ |