1 |
|
2003-02-01 Paul Eggert <eggert@twinsun.com> |
2 |
|
|
3 |
|
Version 1.875a. |
4 |
|
|
5 |
|
2003-01-30 Akim Demaille <akim@epita.fr> |
6 |
|
|
7 |
|
* doc/Makefile.am (CLEANFILES): Add bison.fns for distcheck. |
8 |
|
|
9 |
|
2003-01-29 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU> |
10 |
|
|
11 |
|
* tests/cxx-type.at: Correct apparent typo in Bison input: $$ instead |
12 |
|
of $1. |
13 |
|
|
14 |
|
Changes in response to error report by S. Eken: GLR mode does not |
15 |
|
handle negative $ indices or $ indices in embedded rules correctly. |
16 |
|
See <http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00076.html>. |
17 |
|
|
18 |
|
* data/glr.c (b4_rhs_value): Change to use YYFILL macro. |
19 |
|
(b4_rhs_location): Ditto. |
20 |
|
(yyfill): New function to copy from stack tree into array |
21 |
|
incrementally. |
22 |
|
(yyuserAction): Modify to allow incremental move of semantic values |
23 |
|
to rhs array when in GLR mode. |
24 |
|
Define YYFILL to use in user-defined actions to fill semantic array |
25 |
|
as needed. |
26 |
|
Remove dummy use of yystack, as there is now a guaranteed use. |
27 |
|
(yydoAction): Modify to allow incremental move of semantic values |
28 |
|
to rhs array when in GLR mode. |
29 |
|
(yyresolveAction): Ditto. |
30 |
|
(yyglrShiftDefer): Update comment. |
31 |
|
(yyresolveStates): Use X == NULL for pointers, not !X. |
32 |
|
(yyglrReduce): Ditto. |
33 |
|
(yydoAction): Ditto |
34 |
|
|
35 |
|
* tests/glr-regr1.at: Rename to ... |
36 |
|
* tests/glr-regression.at: Add new regression test for the problems |
37 |
|
described above (adapted from S. Eken). |
38 |
|
Update copyright notice. |
39 |
|
* tests/testsuite.at: Rename glr-regr1.at to glr-regression.at. |
40 |
|
* tests/Makefile.am: Ditto. |
41 |
|
|
42 |
|
2003-01-28 Paul Eggert <eggert@twinsun.com> |
43 |
|
|
44 |
|
* data/lalr1.cc: Do not use @output_header_name@ unless |
45 |
|
b4_defines_flag is set. This fixes two bugs reported by |
46 |
|
Tim Van Holder in |
47 |
|
<http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00071.html> |
48 |
|
and <http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00073.html>. |
49 |
|
|
50 |
|
2003-01-21 Paul Eggert <eggert@twinsun.com> |
51 |
|
|
52 |
|
* data/yacc.c (YYERROR): Move code from yyerrlab1 to here, so that |
53 |
|
we don't need to worry about yyerrlab1 being reported as an |
54 |
|
"unused label" by non-GCC C compilers. The downside is that if |
55 |
|
locations are used then a couple of statements are duplicated each |
56 |
|
time YYERROR is invoked, but the upside is that the warnings |
57 |
|
should vanish. |
58 |
|
(yyerrlab1): Move code to YERROR. |
59 |
|
(yyerrlab2): Remove. Change uses back to yyerrlab1. |
60 |
|
This reverts some of the 2002-12-27 change. |
61 |
|
|
62 |
|
2003-01-17 Paul Eggert <eggert@twinsun.com> |
63 |
|
|
64 |
|
* src/output.c (symbol_printers_output): Fix typo that led |
65 |
|
to core dump. Problem reported by Antonio Rus in |
66 |
|
<http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00058.html>. |
67 |
|
|
68 |
|
2003-01-13 Akim Demaille <akim@epita.fr>, |
69 |
|
Quoc Peyrot <chojin@lrde.epita.fr>, |
70 |
|
Robert Anisko <anisko_r@lrde.epita.fr> |
71 |
|
|
72 |
|
* data/lalr1.cc (parse::yyerrlab1): When popping the stack, stop |
73 |
|
when the stacks contain one element, as the loop would otherwise |
74 |
|
free the last state, and then use the top state (the one we just |
75 |
|
popped). This means that the initial elements will not be freed |
76 |
|
explicitly, as is the case in yacc.c; it is not a problem, as |
77 |
|
these elements have fake values. |
78 |
|
|
79 |
|
2003-01-11 Paul Eggert <eggert@twinsun.com> |
80 |
|
|
81 |
|
* NEWS: %expect-violations are now just warnings, reverting |
82 |
|
to Bison 1.30 and 1.75 behavior. This fixes the GCC 3.2 |
83 |
|
bootstrapping problem reported by Matthias Klose; see |
84 |
|
<http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00053.html>. |
85 |
|
* src/conflicts.c (conflicts_print): Likewise. |
86 |
|
* tests/conflicts.at (%expect not enough, %expect too much, |
87 |
|
%expect with reduce conflicts): Likewise. |
88 |
|
* doc/bison.texinfo (Expect Decl): Document this. Also mention |
89 |
|
that the warning is enabled if the number of conflicts changes |
90 |
|
(not necessarily increases). |
91 |
|
|
92 |
|
* src/getargs.c (version): Update copyright year. |
93 |
|
|
94 |
|
2003-01-09 Akim Demaille <akim@epita.fr> |
95 |
|
|
96 |
|
* src/Makefile.am, lib/Makefile.am: Use $(VAR) instead of @VAR@. |
97 |
|
|
98 |
|
2003-01-08 Paul Eggert <eggert@twinsun.com> |
99 |
|
|
100 |
|
* Makefile.maint (WGETFLAGS): |
101 |
|
New macro, containing "-C off" to disable proxy caches. |
102 |
|
All uses of $(WGET) changed to $(WGET) $(WGETFLAGS). |
103 |
|
(rel-check): Use $(WGET) instead of wget. |
104 |
|
|
105 |
|
2003-01-06 Paul Eggert <eggert@twinsun.com> |
106 |
|
|
107 |
|
* doc/bison.texinfo (Generalized LR Parsing): Add a reference to |
108 |
|
the GLR paper of Scott, Johnstone and Hussain. |
109 |
|
|
110 |
|
2003-01-04 Paul Eggert <eggert@twinsun.com> |
111 |
|
|
112 |
|
* configure.ac (AC_ARG_ENABLE): Add --disable-yacc. |
113 |
|
(YACC_SCRIPT, YACC_LIBRARY): New vars to AC_SUBST. |
114 |
|
* lib/Makefile.am (lib_LIBRARIES): liby.a -> @YACC_LIBRARY@. |
115 |
|
(EXTRA_LIBRARIES): New var, for liby.a. |
116 |
|
* src/Makefile.am (bin_SCRIPTS): yacc -> @YACC_SCRIPT@. |
117 |
|
(EXTRA_SCRIPTS): New var, for yacc. |
118 |
|
|
119 |
|
* data/yacc.c (yyerrlab1): Omit attribute if __cplusplus is defined, |
120 |
|
since GNU C++ (as of 3.2.1) does not allow attributes on labels. |
121 |
|
Problem reported by Nelson H. F. Beebe. |
122 |
|
|
123 |
|
2003-01-03 Paul Eggert <eggert@twinsun.com> |
124 |
|
|
125 |
|
* lib/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to |
126 |
|
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5 |
127 |
|
when compiling Bison 1.875's `bitset bset = obstack_alloc |
128 |
|
(bobstack, bytes);'. Problem reported by Nelson H. F. Beebe. |
129 |
|
|
130 |
|
* src/scan-skel.l (QPUTS): Omit redundant `;' from macro definition. |
131 |
|
([^@\n]): Renamed from [^@\n]+ so that the token buffer does not |
132 |
|
grow to a huge size with typical invocation. |
133 |
|
|
134 |
|
* lib/hash.c (_Bool, bool, false, true, __bool_true_false_are_defined): |
135 |
|
Use the pattern recommended by Autoconf 2.57, except also protect |
136 |
|
against double-definition. |
137 |
|
* src/system.h: Likewise. |
138 |
|
Portability issues reported by Nelson H. F. Beebe. |
139 |
|
|
140 |
|
* data/glr.c (yybool): Renamed from bool, to avoid collisions in C. |
141 |
|
All uses changed. Provide a definition in both C and C++. |
142 |
|
(yytrue, yyfalse): Define even if defined (__cplusplus). |
143 |
|
|
144 |
|
* lib/bitset_stats.c (bitset_stats_list): Remove unused var. |
145 |
|
Reported by Nelson H. F. Beebe. |
146 |
|
|
147 |
|
* src/scan-skel.l ("@oline@"): Output lineno+1, not lineno. |
148 |
|
|
149 |
|
2003-01-02 Paul Eggert <eggert@twinsun.com> |
150 |
|
|
151 |
|
* data/yacc.c (yyerrlab1): Append `;' after attribute, to |
152 |
|
pacify the buggy "smart preprocessor" in MacOS 10.2.3. |
153 |
|
Bug reported by Nelson H. F. Beebe. |
154 |
|
|
155 |
2003-01-01 Paul Eggert <eggert@twinsun.com> |
2003-01-01 Paul Eggert <eggert@twinsun.com> |
156 |
|
|
157 |
* Version 1.875. |
* Version 1.875. |
176 |
* src/symtab.c (symbol_make_alias): Set type of SYMVAL to be |
* src/symtab.c (symbol_make_alias): Set type of SYMVAL to be |
177 |
that of SYM's type. This fixes Debian bug 168069, reported by |
that of SYM's type. This fixes Debian bug 168069, reported by |
178 |
Thomas Olsson. |
Thomas Olsson. |
179 |
|
|
180 |
2002-12-28 Paul Eggert <eggert@twinsun.com> |
2002-12-28 Paul Eggert <eggert@twinsun.com> |
181 |
|
|
182 |
Version 1.75f. |
Version 1.75f. |
209 |
|
|
210 |
Fix a bug where error locations were not being recorded correctly. |
Fix a bug where error locations were not being recorded correctly. |
211 |
This problem was originally reported by Paul Hilfinger in |
This problem was originally reported by Paul Hilfinger in |
212 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001901.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00086.html>. |
213 |
|
|
214 |
* data/yacc.c (yyparse): New local var yylerrsp, to record the |
* data/yacc.c (yyparse): New local var yylerrsp, to record the |
215 |
top of the location stack's error locations. |
top of the location stack's error locations. |
227 |
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): |
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): |
228 |
Error locations include the locations of all the tokens that were |
Error locations include the locations of all the tokens that were |
229 |
discarded, not just the last token. |
discarded, not just the last token. |
230 |
|
|
231 |
2002-12-26 Paul Eggert <eggert@twinsun.com> |
2002-12-26 Paul Eggert <eggert@twinsun.com> |
232 |
|
|
233 |
* src/files.c: Include quote.h. |
* src/files.c: Include quote.h. |
243 |
|
|
244 |
Don't use m4_include on relative file names, as it doesn't work as |
Don't use m4_include on relative file names, as it doesn't work as |
245 |
desired if there happens to be a file with that name under ".". |
desired if there happens to be a file with that name under ".". |
246 |
|
|
247 |
* m4sugar/version.m4: Remove; it was included but it wasn't used. |
* m4sugar/version.m4: Remove; it was included but it wasn't used. |
248 |
* data/Makefile.am (dist_m4sugar_DATA): Remove m4sugar/version.m4. |
* data/Makefile.am (dist_m4sugar_DATA): Remove m4sugar/version.m4. |
249 |
* data/m4sugar/m4sugar.m4: Don't include m4sugar/version.m4. |
* data/m4sugar/m4sugar.m4: Don't include m4sugar/version.m4. |
252 |
specifying a file to include; don't rely on include path, as |
specifying a file to include; don't rely on include path, as |
253 |
it's unreliable when the working file contains a file with |
it's unreliable when the working file contains a file with |
254 |
that name. |
that name. |
255 |
|
|
256 |
2002-12-25 Paul Eggert <eggert@twinsun.com> |
2002-12-25 Paul Eggert <eggert@twinsun.com> |
257 |
|
|
258 |
Remove obsolete references to bison.simple and bison.hairy. |
Remove obsolete references to bison.simple and bison.hairy. |
259 |
Problem mentioned by Aubin Mahe in |
Problem mentioned by Aubin Mahe in |
260 |
<http://mail.gnu.org/pipermail/help-bison/2002-December/001765.html>. |
<http://mail.gnu.org/archive/html/help-bison/2002-12/msg00010.html>. |
261 |
* data/glr.c: Comment fix. |
* data/glr.c: Comment fix. |
262 |
* doc/bison.1: Remove references. Also, mention "yacc". |
* doc/bison.1: Remove references. Also, mention "yacc". |
263 |
|
|
359 |
lookahead symbol, and which sets yychar in parser actions) and it |
lookahead symbol, and which sets yychar in parser actions) and it |
360 |
disagreed with the Bison documentation. Bug |
disagreed with the Bison documentation. Bug |
361 |
reported by Andrew Walrond. |
reported by Andrew Walrond. |
362 |
|
|
363 |
* data/yacc.c (YYTRANSLATE): Don't check for negative argument, |
* data/yacc.c (YYTRANSLATE): Don't check for negative argument, |
364 |
as the caller now does that. |
as the caller now does that. |
365 |
(yyclearin, YYBACKUP, yyparse): Use yychar, not yytoken. |
(yyclearin, YYBACKUP, yyparse): Use yychar, not yytoken. |
379 |
as an alias for bison y. |
as an alias for bison y. |
380 |
|
|
381 |
* po/LINGUAS: Add da. |
* po/LINGUAS: Add da. |
382 |
|
|
383 |
* src/getargs.c (__GNU_LIBRARY__) [lint]: Define to work around |
* src/getargs.c (__GNU_LIBRARY__) [lint]: Define to work around |
384 |
problem with latest <getopt.h>. |
problem with latest <getopt.h>. |
385 |
(HACK_FOR___GNU_LIBRARY___PROTOTYPE): New macro. |
(HACK_FOR___GNU_LIBRARY___PROTOTYPE): New macro. |
392 |
* config/install-sh: Sync with autotools. |
* config/install-sh: Sync with autotools. |
393 |
|
|
394 |
Fix a bad interaction with flex 2.5.23 reported by Bruce Lilly in |
Fix a bad interaction with flex 2.5.23 reported by Bruce Lilly in |
395 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001929.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00114.html>. |
396 |
* data/yacc.c (YYLTYPE, struct yyltype): Do not define unless |
* data/yacc.c (YYLTYPE, struct yyltype): Do not define unless |
397 |
locations are requested. |
locations are requested. |
398 |
(union yyalloc): Do not depend on YYLTYPE_IS_TRIVIAL unless |
(union yyalloc): Do not depend on YYLTYPE_IS_TRIVIAL unless |
673 |
sequences like "@" that are treated specially by src/scan-skel.l. |
sequences like "@" that are treated specially by src/scan-skel.l. |
674 |
Instead, just use the file's basename. This fixes the bug |
Instead, just use the file's basename. This fixes the bug |
675 |
reported by Martin Mokrejs in |
reported by Martin Mokrejs in |
676 |
<http://mail.gnu.org/pipermail/bug-bison/2002-December/001945.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-12/msg00007.html>. |
677 |
|
|
678 |
2002-12-06 Paul Eggert <eggert@twinsun.com> |
2002-12-06 Paul Eggert <eggert@twinsun.com> |
679 |
|
|
771 |
* configure.ac (AC_REPLACE_FUNCS): Add strtoul. |
* configure.ac (AC_REPLACE_FUNCS): Add strtoul. |
772 |
* lib/strtoul.c: New file, from gnulib. |
* lib/strtoul.c: New file, from gnulib. |
773 |
This fixes a porting bug reported by Peter Klein in |
This fixes a porting bug reported by Peter Klein in |
774 |
<http://mail.gnu.org/pipermail/bug-bison/2002-December/001944.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-12/msg00000.html>. |
775 |
|
|
776 |
2002-11-30 Paul Eggert <eggert@twinsun.com> |
2002-11-30 Paul Eggert <eggert@twinsun.com> |
777 |
|
|
823 |
|
|
824 |
* data/c.m4 (b4_yysymprint_generate): yyout -> yyoutput, |
* data/c.m4 (b4_yysymprint_generate): yyout -> yyoutput, |
825 |
to avoid collision with lex macro described by Bruce Lilly in |
to avoid collision with lex macro described by Bruce Lilly in |
826 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001929.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00114.html>. |
827 |
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise. |
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise. |
828 |
* doc/bison.texinfo (Prologue, Tracing): yyprint -> print_token_value. |
* doc/bison.texinfo (Prologue, Tracing): yyprint -> print_token_value. |
829 |
* src/parse-gram.y (print_token_value): Renamed from yyprint. |
* src/parse-gram.y (print_token_value): Renamed from yyprint. |
921 |
* data/glr.c (yygetLRActions): Replace `yyindex' with |
* data/glr.c (yygetLRActions): Replace `yyindex' with |
922 |
`yytable[yyindex]' to fix typo introduced in my 2002-11-09 patch. |
`yytable[yyindex]' to fix typo introduced in my 2002-11-09 patch. |
923 |
This fixes the regression with Sun ONE Studio 7 cc that I reported in |
This fixes the regression with Sun ONE Studio 7 cc that I reported in |
924 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001892.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00077.html>. |
925 |
|
|
926 |
2002-11-18 Akim Demaille <akim@epita.fr> |
2002-11-18 Akim Demaille <akim@epita.fr> |
927 |
|
|
1039 |
duplicating xfopen's body. |
duplicating xfopen's body. |
1040 |
|
|
1041 |
Fix bugs reported by Nelson H. F. Beebe in |
Fix bugs reported by Nelson H. F. Beebe in |
1042 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001893.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00078.html>. |
1043 |
|
|
1044 |
* tests/headers.at (AT_TEST_CPP_GUARD_H): Don't assume that |
* tests/headers.at (AT_TEST_CPP_GUARD_H): Don't assume that |
1045 |
"$CC -E foo.h" is allowed, as this doesn't work with the Portland |
"$CC -E foo.h" is allowed, as this doesn't work with the Portland |
1050 |
backslash-newline tests with "#if 0", to make it less likely that |
backslash-newline tests with "#if 0", to make it less likely that |
1051 |
we'll run into compiler bugs. Bring back solitary \ inside |
we'll run into compiler bugs. Bring back solitary \ inside |
1052 |
comment, but add a closing comment to work around HP C bug. Don't |
comment, but add a closing comment to work around HP C bug. Don't |
1053 |
test backslash-newline in C character constant. This should fix |
test backslash-newline in C character constant. |
|
the input.at bug reported by Nelson H. F. Beebe in |
|
|
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001893.html>. |
|
1054 |
|
|
1055 |
2002-11-14 Akim Demaille <akim@epita.fr> |
2002-11-14 Akim Demaille <akim@epita.fr> |
1056 |
|
|
1082 |
2002-11-13 Paul Eggert <eggert@twinsun.com> |
2002-11-13 Paul Eggert <eggert@twinsun.com> |
1083 |
|
|
1084 |
Fix some bugs reported by Albert Chin-A-Young in |
Fix some bugs reported by Albert Chin-A-Young in |
1085 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001881.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00066.html>. |
1086 |
|
|
1087 |
* tests/input.at (Torturing the Scanner): Don't invoke "cc a.c b.c |
* tests/input.at (Torturing the Scanner): Don't invoke "cc a.c b.c |
1088 |
-o c"; the HP C compiler chatters during compilation. |
-o c"; the HP C compiler chatters during compilation. |
1110 |
* data/glr.c (yydoAction): Return YYRESULTTAG, not int. |
* data/glr.c (yydoAction): Return YYRESULTTAG, not int. |
1111 |
(yyglrReduce): Return yyok, not 0. |
(yyglrReduce): Return yyok, not 0. |
1112 |
This should avoid the enumerated-type warnings reported |
This should avoid the enumerated-type warnings reported |
1113 |
by Nelson H.F. Beebe in |
by Nelson H. F. Beebe in |
1114 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001872.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00057.html>. |
1115 |
|
|
1116 |
* lib/bbitset.h (BITSET_INLINE): Remove. |
* lib/bbitset.h (BITSET_INLINE): Remove. |
1117 |
* lib/bitset.h [! BITSET_INLINE]: Remove. |
* lib/bitset.h [! BITSET_INLINE]: Remove. |
1120 |
|
|
1121 |
* data/glr.c (inline): Remove #define. It's the user's |
* data/glr.c (inline): Remove #define. It's the user's |
1122 |
responsibility to #define it away, just like 'const'. |
responsibility to #define it away, just like 'const'. |
1123 |
This fixes one of the bugs reported by Nelson H.F. Beebe in |
This fixes one of the bugs reported by Nelson H. F. Beebe in |
1124 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001873.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00058.html>. |
1125 |
|
|
1126 |
* Makefile.maint (po-check): Scan .l and .y files instead of the |
* Makefile.maint (po-check): Scan .l and .y files instead of the |
1127 |
.c and the .h files that they generate. This fixes the bug |
.c and the .h files that they generate. This fixes the bug |
1128 |
reported by Tim Van Holder in: |
reported by Tim Van Holder in: |
1129 |
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html> |
<http://mail.gnu.org/archive/html/bison-patches/2002-11/msg00062.html> |
1130 |
Look for N_ as well as for _. Try to avoid matching #define for |
Look for N_ as well as for _. Try to avoid matching #define for |
1131 |
N_ and _. |
N_ and _. |
1132 |
* po/POTFILES.in: Remove src/parse-gram.c, src/scan-gram.c, |
* po/POTFILES.in: Remove src/parse-gram.c, src/scan-gram.c, |
1287 |
Revamp to fix many (but not all) of the C- and M4-related quoting |
Revamp to fix many (but not all) of the C- and M4-related quoting |
1288 |
problems. Among other things, this fixes the Bison bug reported |
problems. Among other things, this fixes the Bison bug reported |
1289 |
by Jan Hubicka when processing the Bash grammar; see: |
by Jan Hubicka when processing the Bash grammar; see: |
1290 |
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001329.html> |
<http://mail.gnu.org/archive/html/bison-patches/2002-11/msg00039.html> |
1291 |
|
|
1292 |
Use new @ escapes consistently. Represent brackets with @{ and @} |
Use new @ escapes consistently. Represent brackets with @{ and @} |
1293 |
rather than @<:@ and @:>@, since this works a bit better with dumb |
rather than @<:@ and @:>@, since this works a bit better with dumb |
1355 |
2002-11-09 Paul Eggert <eggert@twinsun.com> |
2002-11-09 Paul Eggert <eggert@twinsun.com> |
1356 |
|
|
1357 |
Fix the test failure due to GCC warnings described in |
Fix the test failure due to GCC warnings described in |
1358 |
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001815.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-11/msg00000.html>. |
1359 |
* data/glr.c (yyis_pact_ninf, yyis_table_ninf): New macros, which |
* data/glr.c (yyis_pact_ninf, yyis_table_ninf): New macros, which |
1360 |
evaluate to 0 if it's impossible for NINF to be in the respective |
evaluate to 0 if it's impossible for NINF to be in the respective |
1361 |
table. |
table. |
1707 |
* data/glr.c (struct yyltype): Define members even when not |
* data/glr.c (struct yyltype): Define members even when not |
1708 |
doing locations. This is more consistent with yacc.c, and it |
doing locations. This is more consistent with yacc.c, and it |
1709 |
works around the following bug reports: |
works around the following bug reports: |
1710 |
http://mail.gnu.org/pipermail/bug-bison/2002-October/001764.html |
http://mail.gnu.org/archive/html/bug-bison/2002-10/msg00106.html |
1711 |
http://mail.gnu.org/pipermail/bug-bison/2002-October/001769.html |
http://mail.gnu.org/archive/html/bug-bison/2002-10/msg00111.html |
|
and I hope it also fixes this bug report: |
|
|
http://mail.gnu.org/pipermail/bug-bison/2002-October/001748.html |
|
1712 |
|
|
1713 |
* doc/bison.texinfo: Minor spelling and typographical fixes. Use |
* doc/bison.texinfo: Minor spelling and typographical fixes. Use |
1714 |
@acronym consistently. Standardize on "Yacc" instead of "YACC", |
@acronym consistently. Standardize on "Yacc" instead of "YACC", |
2140 |
2002-10-13 Paul Eggert <eggert@twinsun.com> |
2002-10-13 Paul Eggert <eggert@twinsun.com> |
2141 |
|
|
2142 |
Fix problem reported by Henrik Grubbstroem in |
Fix problem reported by Henrik Grubbstroem in |
2143 |
<http://mail.gnu.org/pipermail/bug-bison/2002-October/001670.html>: |
<http://mail.gnu.org/archive/html/bug-bison/2002-10/msg00098.html>: |
2144 |
"nonterm: { $$ = 123; } { $$ = $1; };" was wrongly rejected, |
"nonterm: { $$ = 123; } { $$ = $1; };" was wrongly rejected, |
2145 |
because the Bison parser reads the second action before reducing |
because the Bison parser reads the second action before reducing |
2146 |
the first one. |
the first one. |
2157 |
Include <sys/time.h> when checking for clock_t and struct tms. |
Include <sys/time.h> when checking for clock_t and struct tms. |
2158 |
Use same include order as source. |
Use same include order as source. |
2159 |
This is for the SunOS 4.1.4 porting bug reported by Peter Klein in |
This is for the SunOS 4.1.4 porting bug reported by Peter Klein in |
2160 |
<http://mail.gnu.org/pipermail/bug-bison/2002-October/001674.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-10/msg00016.html>. |
2161 |
|
|
2162 |
* lib/timevar.c: Update copyright date and clarify comments. |
* lib/timevar.c: Update copyright date and clarify comments. |
2163 |
(get_time) [IN_GCC]: Keep the GCC version for reference. |
(get_time) [IN_GCC]: Keep the GCC version for reference. |
2170 |
* src/reader.c (grammar_current_rule_check): |
* src/reader.c (grammar_current_rule_check): |
2171 |
Don't worry about the default action if $$ is untyped. |
Don't worry about the default action if $$ is untyped. |
2172 |
Prevents bogus warnings reported by Jim Gifford in |
Prevents bogus warnings reported by Jim Gifford in |
2173 |
<http://mail.gnu.org/pipermail/bug-bison/2002-October/001673.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-10/msg00015.html>. |
2174 |
|
|
2175 |
* data/c.m4 (b4_token_enum): Do not define YYTOKENTYPE. |
* data/c.m4 (b4_token_enum): Do not define YYTOKENTYPE. |
2176 |
* data/glr.c, data/lalr1.cc, data/yacc.c: |
* data/glr.c, data/lalr1.cc, data/yacc.c: |
2177 |
Output token definitions before the first part of user declarations. |
Output token definitions before the first part of user declarations. |
2178 |
Fixes compatibility problem reported by Jim Gifford for kbd in |
Fixes compatibility problem reported by Jim Gifford for kbd in |
2179 |
<http://mail.gnu.org/pipermail/bug-bison/2002-October/001672.html>. |
<http://mail.gnu.org/archive/html/bug-bison/2002-10/msg00014.html>. |
2180 |
|
|
2181 |
2002-10-11 Paul Eggert <eggert@twinsun.com> |
2002-10-11 Paul Eggert <eggert@twinsun.com> |
2182 |
|
|
2301 |
|
|
2302 |
* lib/bitset.h (bitset_reset): Do not assume that bitset_word is |
* lib/bitset.h (bitset_reset): Do not assume that bitset_word is |
2303 |
the same width as int. This reapplies a hunk of the 2002-08-12 patch |
the same width as int. This reapplies a hunk of the 2002-08-12 patch |
2304 |
<http://mail.gnu.org/pipermail/bison-patches/2002-August/001111.html>, |
<http://mail.gnu.org/archive/html/bison-patches/2002-08/msg00007.html>, |
2305 |
which was inadvertently undone by the 2002-09-30 patch. |
which was inadvertently undone by the 2002-09-30 patch. |
2306 |
* lib/lbitset.c (debug_lbitset): Do not assume that bitset_word is |
* lib/lbitset.c (debug_lbitset): Do not assume that bitset_word is |
2307 |
the same width as int. |
the same width as int. |
7403 |
|
|
7404 |
2001-11-12 Akim Demaille <akim@epita.fr> |
2001-11-12 Akim Demaille <akim@epita.fr> |
7405 |
|
|
7406 |
%expext was not functioning at all. |
%expect was not functioning at all. |
7407 |
|
|
7408 |
* src/conflicts.c (expected_conflicts): Set to -1. |
* src/conflicts.c (expected_conflicts): Set to -1. |
7409 |
(conflict_report): Use ngettext. |
(conflict_report): Use ngettext. |