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 |
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 |
|
|
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); |