caller's length guess.
(gather_arguments): Use a larger initial size, now that the vector
growth code has been exercised.
+2007-08-05 Jim Blandy <jimb@codesourcery.com>
+
+ * macroexp.c (init_buffer): Remove testing code that overrides the
+ caller's length guess.
+ (gather_arguments): Use a larger initial size, now that the vector
+ growth code has been exercised.
+
2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
* solib-target.c (solib_target_relocate_section_addresses): Add
static void
init_buffer (struct macro_buffer *b, int n)
{
- /* Small value for initial testing. */
- n = 1;
-
b->size = n;
if (n > 0)
b->text = (char *) xmalloc (n);
get_token (&tok, src);
args_len = 0;
- args_size = 1; /* small for initial testing */
+ args_size = 6;
args = (struct macro_buffer *) xmalloc (sizeof (*args) * args_size);
for (;;)