Commit 5ff5e6c8 by Richard Guenther Committed by Richard Biener

parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near power-of-two token vector size.

2006-06-19  Richard Guenther  <rguenther@suse.de>

        * parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near
        power-of-two token vector size.

From-SVN: r114785
parent 81126126
2006-06-19 Richard Guenther <rguenther@suse.de>
* parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near
power-of-two token vector size.
2006-06-16 Mark Mitchell <mark@codesourcery.com> 2006-06-16 Mark Mitchell <mark@codesourcery.com>
PR c++/28016 PR c++/28016
......
...@@ -205,7 +205,7 @@ static void cp_parser_initial_pragma ...@@ -205,7 +205,7 @@ static void cp_parser_initial_pragma
(cp_token *); (cp_token *);
/* Manifest constants. */ /* Manifest constants. */
#define CP_LEXER_BUFFER_SIZE 10000 #define CP_LEXER_BUFFER_SIZE ((256 * 1024) / sizeof (cp_token))
#define CP_SAVED_TOKEN_STACK 5 #define CP_SAVED_TOKEN_STACK 5
/* A token type for keywords, as opposed to ordinary identifiers. */ /* A token type for keywords, as opposed to ordinary identifiers. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment