This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Giovanni Bajo wrote:
! /* Speed up common initializers (simply a literal). */ ! cp_token* token = cp_lexer_peek_token (parser->lexer); ! cp_token* token2 = cp_lexer_peek_nth_token (parser->lexer, 2); ! ! if (token2->type == CPP_COMMA)
eww! This really shows that the expression parser should be sped up
(presumably by removing the recursion and manually tracking the precidence
level). I'm not approving this one (but I won't veto someone else
doing so). However, if it does go in, how about
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |