1 |
|
2001-11-29 Paul Eggert <eggert@twinsun.com> |
2 |
|
|
3 |
|
* src/bison.simple (YYSTACK_REALLOC): Remove. |
4 |
|
(YYSTACK_ALLOC): Resurrect this macro, with its old meaning. |
5 |
|
(YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE): |
6 |
|
New macros. |
7 |
|
(union yyalloc): New type. |
8 |
|
(__yy_memcpy): Last arg is size_t, not unsigned int, to remove |
9 |
|
an arbitrary restriction on hosts where size_t is wider than int. |
10 |
|
|
11 |
|
(yyparse): Don't dump core if alloca or malloc fails; instead, report |
12 |
|
a parser stack overflow. Allocate just one block of memory for all |
13 |
|
three stacks, instead of allocating three blocks; this typically is |
14 |
|
faster and reduces fragmentation. |
15 |
|
|
16 |
|
Do not limit the number of items in the stack to a value that fits |
17 |
|
in 'int', as this is an arbitrary limit on hosts with 64-bit |
18 |
|
size_t and 32-bit int. |
19 |
|
|
20 |
2001-11-29 Marc Autret <autret_m@epita.fr> |
2001-11-29 Marc Autret <autret_m@epita.fr> |
21 |
|
|
22 |
* tests/calc.at [AT_DATA_CALC_Y]: Use %error-verbose instead |
* tests/calc.at [AT_DATA_CALC_Y]: Use %error-verbose instead |