/[bison]/bison/src/output.c
ViewVC logotype

Diff of /bison/src/output.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.191 by akim, Tue Jul 30 11:06:50 2002 UTC revision 1.192 by akim, Wed Jul 31 19:49:52 2002 UTC
# Line 183  static unsigned int *conflict_list = NUL Line 183  static unsigned int *conflict_list = NUL
183  static int conflict_list_cnt;  static int conflict_list_cnt;
184  static int conflict_list_free;  static int conflict_list_free;
185    
186  /* TABLE_SIZE is the allocated size of both TABLE and CHECK.  /* TABLE_SIZE is the allocated size of both TABLE and CHECK.  We start
187     We start with the original hard-coded value: SHRT_MAX     with more or less the original hard-coded value (which was
188     (yes, not USHRT_MAX). */     SHRT_MAX).  */
189  static size_t table_size = SHRT_MAX;  static size_t table_size = 32768;
190  static base_t *table = NULL;  static base_t *table = NULL;
191  static base_t *check = NULL;  static base_t *check = NULL;
192  /* The value used in TABLE to denote explicit parse errors  /* The value used in TABLE to denote explicit parse errors
# Line 216  table_grow (size_t desired) Line 216  table_grow (size_t desired)
216    while (table_size <= desired)    while (table_size <= desired)
217      table_size *= 2;      table_size *= 2;
218    
219    if (trace_flag)    if (trace_flag & trace_resource)
220      fprintf (stderr, "growing table and check from: %d to %d\n",      fprintf (stderr, "growing table and check from: %d to %d\n",
221               old_size, table_size);               old_size, table_size);
222    
# Line 1381  output_skeleton (void) Line 1381  output_skeleton (void)
1381    m4_invoke (tempfile);    m4_invoke (tempfile);
1382    
1383    /* If `debugging', keep this file alive. */    /* If `debugging', keep this file alive. */
1384    if (!trace_flag)    if (!(trace_flag & trace_tools))
1385      unlink (tempfile);      unlink (tempfile);
1386    
1387    free (tempfile);    free (tempfile);

Legend:
Removed from v.1.191  
changed lines
  Added in v.1.192

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26