This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cp_parser_parameter_declaration_clause
- From: Sohail Somani <sohail at taggedtype dot net>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Thu, 09 Nov 2006 22:25:44 -0800
- Subject: cp_parser_parameter_declaration_clause
The function cp_parser_parameter_declaration_clause says that it returns
NULL if the parameters are (...). However, there is a line of code that
is:
/* Parse the parameter-declaration-list. */
parameters = cp_parser_parameter_declaration_list (parser, &is_error);
/* If a parse error occurred while parsing the
parameter-declaration-list, then the entire
parameter-declaration-clause is erroneous. */
if (is_error)
return NULL;
So how does one tell if this function has returned an error?
Thanks,
Sohail