parser.c (cp_parser_simple_type_specifier): Explicitly test against NULL_TREE.

* parser.c (cp_parser_simple_type_specifier): Explicitly test
	against NULL_TREE.

From-SVN: r82486
This commit is contained in:
Eric Botcazou 2004-05-31 16:59:00 +02:00 committed by Eric Botcazou
parent 1aae9cdcf2
commit 6661a85ff7
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
* parser.c (cp_parser_simple_type_specifier): Explicitly test
against NULL_TREE.
2004-05-31 Kazu Hirata <kazu@cs.umass.edu>
* call.c, class.c, cp-tree.def, decl2.c, name-lookup.c, pt.c,

View File

@ -8960,7 +8960,8 @@ cp_parser_simple_type_specifier (cp_parser* parser, cp_parser_flags flags,
/*typename_keyword_p=*/false,
/*check_dependency_p=*/true,
/*type_p=*/false,
/*is_declaration=*/false));
/*is_declaration=*/false)
!= NULL_TREE);
/* If we have seen a nested-name-specifier, and the next token
is `template', then we are using the template-id production. */
if (parser->scope