This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ parser: Should we get rid of cp_parser_declarator_id?
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 07 Dec 2005 06:36:30 -0800
- Subject: Re: C++ parser: Should we get rid of cp_parser_declarator_id?
- References: <tkrat.ff5bf3e0cb4d8481@igpm.rwth-aachen.de>
Volker Reichelt wrote:
> Shouldn't we fold cp_parser_declarator_id into the caller and call
> cp_parser_id_expression directly?
Originally, I was trying to have a function for each non-terminal. I'm
not going to be dogmatic about that, but is there a good reason to
remove the function? As Gaby says, perhaps we could mark the function
inline, if you're worried about performance?
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304