1 |
|
2003-02-06 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
* configure.ac (GXX): Rename as... |
4 |
|
(CXX): this, to keep the original Autoconf semantics. |
5 |
|
Require 2.57. |
6 |
|
* data/lalr1.cc: Fix b4_copyright invocations. |
7 |
|
If YYDEBUG is not defined, don't depend upon name_ being defined. |
8 |
|
(location.hh): Include string and iostream. |
9 |
|
(Position::filename): New member. |
10 |
|
(Position::Position ()): New. |
11 |
|
(operator<< (Position)): New. |
12 |
|
(operator- (Position, int)): New. |
13 |
|
(Location::first, Location::last): Rename as... |
14 |
|
(Location::begin, Location::end): these, to mock the conventional |
15 |
|
iterator names. |
16 |
|
(operator<< (Location)): New. |
17 |
|
* tests/atlocal.in (CXX): New. |
18 |
|
* tests/testsuite.at (AT_COMPILE_CXX): New. |
19 |
|
* tests/calc.at (_AT_DATA_CALC_Y): Adjust yyerror to report the |
20 |
|
locations in a more synthetic way. |
21 |
|
(AT_CHECK_PUSHDEFS): AT_YYERROR_SEES_LOC_IF is positive if |
22 |
|
lalr1.cc is used. |
23 |
|
Adjust the C locations to match those from Emacs: first column is |
24 |
|
column 0. |
25 |
|
Change all the expected results. |
26 |
|
Conform to the GCS: simplify the locations when applicable. |
27 |
|
(LOC, VAL, YYLLOC_FORMAL, YYLLOC_ARG, USE_YYLLOC, LEX_FORMALS) |
28 |
|
(LEX_ARGS, USE_LEX_ARGS, LEX_PRE_FORMALS, LEX_PRE_ARGS): Replace |
29 |
|
these CPP macros with the m4 macros new defined by... |
30 |
|
(AT_CHECK_PUSHDEFS): this, i.e.: |
31 |
|
(AT_LALR1_CC_IF, AT_PURE_LEX_IF, AT_LOC, AT_VAL, AT_LEX_FORMALS) |
32 |
|
(AT_LEX_ARGS, AT_USE_LEX_ARGS, AT_LEX_PRE_FORMALSm AT_LEX_PRE_ARGS) |
33 |
|
New macros. |
34 |
|
(AT_CHECK_POPDEFS): Undefine them. |
35 |
|
(AT_CHECK_CALC_LALR1_CC): New. |
36 |
|
Use it for the first lalr1.cc test. |
37 |
|
|
38 |
2003-02-04 Akim Demaille <akim@epita.fr> |
2003-02-04 Akim Demaille <akim@epita.fr> |
39 |
|
|
40 |
* data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on |
* data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on |