aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-04-30 01:34:00 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-04-30 01:34:00 +0000
commitd2158690aee47faf2cbe7199305abd626c4df488 (patch)
tree9695b447d0767996981375b00e5448cb208e44e6 /gcc/cpplib.c
parent10d1117cbc74ea64d22bbe75fb5f305a5d8948c1 (diff)
downloadgcc-d2158690aee47faf2cbe7199305abd626c4df488.zip
gcc-d2158690aee47faf2cbe7199305abd626c4df488.tar.gz
gcc-d2158690aee47faf2cbe7199305abd626c4df488.tar.bz2
cpphash.h (enum node_type): Take out T_MCONST.
* cpphash.h (enum node_type: Take out T_MCONST. (union hashval): Move into struct hashnode. (struct hashnode): Pack tighter. Remove file, line, col members. * cpphash.c: Constify most of the macro-definition structures. (struct definition): Replace by struct object_defn and struct funct_defn. Put file, line, column information here. All users updated to match. (_cpp_create_definition, _cpp_macroexpand): Remove special case for #define WORD OTHERWORD. * cpplib.c (do_undef): Remove T_MCONST case. From-SVN: r33538
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 384f5fb..06e8286 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -727,7 +727,6 @@ do_undef (pfile)
pass_thru_directive (hp->name, len, pfile, T_UNDEF);
if (hp->type != T_MACRO && hp->type != T_FMACRO
- && hp->type != T_MCONST
&& hp->type != T_EMPTY && hp->type != T_IDENTITY)
cpp_warning (pfile, "undefining `%s'", hp->name);