1 |
2002-11-03 Akim Demaille <akim@epita.fr> |
2002-11-03 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
* data/c.m4 (b4_identification, b4_user_args, b4_parse_param): |
4 |
|
New. |
5 |
|
* data/yacc.m4 (b4_pure_args, b4_Pure_args): New. |
6 |
|
(b4_parse_param): Remove. |
7 |
|
Use b4_identification. |
8 |
|
Propagate b4_pure_args where needed to pass them to yyerror. |
9 |
|
* data/glr.m4 (b4_parse_param): Remove. |
10 |
|
(b4_user_formals, b4_pure_args, b4_pure_formals, b4_lpure_args) |
11 |
|
(b4_lpure_formals): New. |
12 |
|
Use b4_identification. |
13 |
|
(YY_USER_FORMALS, YY_USER_ARGS): Remove, replaced by |
14 |
|
b4_user_formals and b4_user_args. |
15 |
|
(yyexpandGLRStack, yyFail, yyaddDeferredAction, yyglrShiftDefer) |
16 |
|
(yyreportAmbiguity): When using a pure parser, also need |
17 |
|
the location, and the parse-params. |
18 |
|
Adjust callers. |
19 |
|
(yyuserAction, yyglrShift, yyreportParseError, yyrecoverParseError): |
20 |
|
When using a pure parser, also need the parse-params. |
21 |
|
Adjust callers. |
22 |
|
* tests/calc.at: Test pure (%pure-parser) and absolutely pure |
23 |
|
(%pure-parser + %parse-param) LALR and GLR parsers. |
24 |
|
(AT_CHECK_PUSHDEFS, AT_CHECK_POPDEFS): New, define AT_PARAM_IF, |
25 |
|
AT_LOCATION_IF, AT_PURE_IF, AT_GLR_IF, AAT_PURE_AND_LOC_IF, |
26 |
|
AT_GLR_OR_PARAM_IF, AT_YYERROR_ARG_LOC_IF, AT_YYERROR_SEES_LOC_IF. |
27 |
|
(_AT_DATA_CALC_Y): Equip for purity of yyerror. |
28 |
|
(_AT_CHECK_CALC_ERROR): Use AT_YYERROR_SEES_LOC_IF. |
29 |
|
* tests/cxx-type.at (_AT_TEST_GLR_CALC): Equip for yyerror purity. |
30 |
|
* doc/bison.texinfo: Untabify the whole file. |
31 |
|
(Parser Function): Document %parse-param, deprecate YYPARSE_PARAM. |
32 |
|
(Pure Calling): Document %lex-param, deprecate YYLEX_PARAM. |
33 |
|
(Error Reporting): Adjust to these new directives. |
34 |
|
Document %error-verbose, deprecate YYERROR_VERBOSE. |
35 |
|
|
36 |
|
2002-11-03 Akim Demaille <akim@epita.fr> |
37 |
|
|
38 |
* tests/calc.at: Change all the AT_CHECK_CALC_LALR and |
* tests/calc.at: Change all the AT_CHECK_CALC_LALR and |
39 |
AT_CHECK_CALC_GLR invocations to use % directives, instead of |
AT_CHECK_CALC_GLR invocations to use % directives, instead of |
40 |
command line options. |
command line options. |