* cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.

From-SVN: r37141
This commit is contained in:
Mark Mitchell 2000-10-30 08:41:23 +00:00 committed by Mark Mitchell
parent 90a0e73fee
commit 8a47978dd0
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);