aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cppmacro.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b938b91..c631e6d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-30 Mark Mitchell <mark@codesourcery.com>
+
+ * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
+
2000-10-29 Neil Booth <neilb@earthling.net>
* cpplib.c (skip_rest_of_line): Use _cpp_get_token.
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 35e66f4..9bd8884 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -191,7 +191,7 @@ builtin_macro (pfile, token)
#ifdef STDC_0_IN_SYSTEM_HEADERS
if (CPP_IN_SYSTEM_HEADER (pfile)
- && pfile->spec_nodes.n__STRICT_ANSI__->type == T_VOID)
+ && pfile->spec_nodes.n__STRICT_ANSI__->type == NT_VOID)
stdc = 0;
#endif
make_number_token (pfile, token, stdc);