14 |
when there are no actions. This can significantly speed up some |
when there are no actions. This can significantly speed up some |
15 |
grammars. |
grammars. |
16 |
|
|
17 |
* Huge Grammars |
* Stupid error messages |
18 |
Currently, not only is Bison unable to handle huge grammars because of |
An example shows it easily: |
19 |
internal limitations (see test `big triangle'). Push the limit beyond |
|
20 |
253. Be my guest: fix this! |
src/bison/tests % ./testsuite -k calc,location,error-verbose -l |
21 |
|
GNU Bison 1.49a test suite test groups: |
22 |
|
|
23 |
|
NUM: FILENAME:LINE TEST-GROUP-NAME |
24 |
|
KEYWORDS |
25 |
|
|
26 |
|
51: calc.at:440 Calculator --locations --yyerror-verbose |
27 |
|
52: calc.at:442 Calculator --defines --locations --name-prefix=calc --verbose --yacc --yyerror-verbose |
28 |
|
54: calc.at:445 Calculator --debug --defines --locations --name-prefix=calc --verbose --yacc --yyerror-verbose |
29 |
|
src/bison/tests % ./testsuite 51 -d |
30 |
|
## --------------------------- ## |
31 |
|
## GNU Bison 1.49a test suite. ## |
32 |
|
## --------------------------- ## |
33 |
|
51: calc.at:440 ok |
34 |
|
## ---------------------------- ## |
35 |
|
## All 1 tests were successful. ## |
36 |
|
## ---------------------------- ## |
37 |
|
src/bison/tests % cd ./testsuite.dir/51 |
38 |
|
tests/testsuite.dir/51 % echo "()" | ./calc |
39 |
|
1.2-1.3: parse error, unexpected ')', expecting error or "number" or '-' or '(' |
40 |
|
|
41 |
* read_pipe.c |
* read_pipe.c |
42 |
This is not portable to DOS for instance. Implement a more portable |
This is not portable to DOS for instance. Implement a more portable |