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:
parent
1aae9cdcf2
commit
6661a85ff7
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user