1 2002-02-28 Akim Demaille <akim@epita.fr>
5 2002-02-25 Akim Demaille <akim@epita.fr>
7 * src/bison.simple (yydebug): Fix the comment.
10 2002-02-21 Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
12 * src/getargs.c [AS_FILE_NAME] [__DJGPP__]: New macro STRLWR.
13 Check that no NULL pointer is passed to strlwr.
15 2002-02-14 Paul Eggert <eggert@twinsun.com>
17 Remove the support for C++ namespace cleanliness; it was
18 causing more problems than it was curing, since it didn't work
19 properly on some nonstandard C++ compilers. This can wait
20 for a proper C++ parser.
22 * NEWS: Document this.
23 * doc/bison.texinfo (Bison Parser, Debugging): Remove special mention
24 of C++, as it's treated like C now.
25 * src/bison.simple (YYSTD): Remove.
26 (YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL):
27 Treat C++ just like Standard C instead of trying to support
28 namespace cleanliness.
30 2002-02-14 Akim Demaille <akim@epita.fr>
32 * tests/regression.at (else): Adjust to Andreas' change.
34 2002-02-13 Andreas Schwab <schwab@suse.de>
36 * src/output.c (output_rule_data): Don't output NULL, it might
39 2002-02-13 Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
41 * doc/bison.texinfo: Add DJGPP specific information about
42 file name extensions used on different file systems.
44 * src/files.c (output_files): MSDOS conditional removed.
45 New macro EXT_TYPE will provide at runtime the appropiate
46 output file extension.
47 (skeleton_find) [MSDOS]: __DJGPP__ conditional added to
48 inhibit the use of DOSish code. POSIX like behaviour.
50 * src/getargs.c [AS_FILE_NAME]: __DJGPP__ conditional added.
51 Check at runtime if LFN-API (case preserving) is available or not.
52 Do not unconditionly convert upper case strings in lower case strings.
54 * src/system.h [MSDOS] [__GO32__]: __DJGPP__ conditional added.
55 __GO32__ is obsolete and its use is deprecated.
56 [MSDOS]: __DJGPP__ conditional added. Use pathconf
57 to choose POSIX or DOS file extensions at run time.
58 [MSDOS] [__DJGPP__]: New macro EXT_TYPE. If LFN-API is
59 available, the src or header file extension (.c or .h) will be
60 added to the output file name. If no LFN-API is available no src
61 or header file extension will be added to the output file name.
62 [MSDOS] [!__DJGPP__]: New macro EXT_TYPE. Src file and header
63 file extension will never be added to the output file name.
64 [!MSDOS]: New macro EXT_TYPE. Src file and header file
65 extensions will always be added to the output file name.
67 2002-02-11 Akim Demaille <akim@epita.fr>
69 * tests/regression.at (%nonassoc and eof): Don't include non
72 2002-02-07 Akim Demaille <akim@epita.fr>
76 2002-02-07 Akim Demaille <akim@epita.fr>
78 * tests/regression.at, tests/torture.at, tests/calc.at: Adjust to
79 newest Autotest, where `.' is not in the PATH.
81 2002-02-07 Florian Krohm <florian@edamail.fishkill.ibm.com>
83 * src/reader.c (copy_at): Detect invalid @N values.
85 2002-02-07 Akim Demaille <akim@epita.fr>
87 * tests/input.at: New.
89 2002-01-29 Paul Eggert <eggert@twinsun.com>
91 * src/bison.simple (YYSIZE_T): Do not define merely because
92 YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined.
93 On some platforms, <alloca.h> does not declare YYSTD (size_t).
95 2002-01-25 Akim Demaille <akim@epita.fr>
97 * tests/regression.at (%nonassoc and eof): New.
98 Suggested by Robert Anisko.
100 2002-01-23 Akim Demaille <akim@epita.fr>
104 2002-01-23 Akim Demaille <akim@epita.fr>
106 * src/getargs.c (version): Bump to 2002.
107 Patch the PO files to help translators.
109 2002-01-22 Akim Demaille <akim@epita.fr>
111 Bison dumps core when trying to complain about broken input files.
112 Reported by Cris van Pelt.
114 * src/lex.c (parse_percent_token): Be sure to set token_buffer.
115 * tests/regression.at (Invalid input: 1, Invalid input: 2): Merge
117 (Invalid inputs): Strengthen: exercise parse_percent_token.
119 2002-01-21 Paolo Bonzini <bonzini@gnu.org>
123 2002-01-21 Kees Zeelenberg <kzlg@users.sourceforge.net>
125 * src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
127 2002-01-20 Marc Autret <marc@gnu.org>
129 * src/system.h: Need to define __attribute__ away for non-GCC
130 compilers as well (i.e. the vendor C compiler).
131 Suggested by Albert Chin-A-Young.
133 2002-01-19 Marc Autret <marc@gnu.org>
135 * tests/output.at: New test.
136 * src/files.c (compute_base_names): Don't map extensions when
137 the YACC flag is set, use defaults.
138 Reported by Evgeny Stambulchik.
140 2002-01-19 Marc Autret <marc@gnu.org>
142 * configure.in, doc/version.texi: Bump to 1.31a.
144 2002-01-14 Akim Demaille <akim@epita.fr>
148 2002-01-14 Akim Demaille <akim@epita.fr>
150 * tests/regression.at (Invalid CPP headers): Remove.
152 2002-01-12 Akim Demaille <akim@epita.fr>
156 2002-01-12 Akim Demaille <akim@epita.fr>
158 * lib/Makefile.am (EXTRA_DIST): Add strnlen.c: Automake is still
159 not using Autoconf traces and does not see Autoconf's AC_LIBOBJ.
161 2002-01-11 Akim Demaille <akim@epita.fr>
165 2002-01-11 Akim Demaille <akim@epita.fr>
167 * configure.in: Use AC_FUNC_STRNLEN.
168 Fixes the failures observed on AIX 4.3 by H.Merijn Brand.
170 2002-01-09 Akim Demaille <akim@epita.fr>
174 2002-01-09 Akim Demaille <akim@epita.fr>
176 * configure.in (WERROR_CFLAGS): Compute it.
177 * src/Makefile.am (CFLAGS): Pass it.
178 * tests/atlocal.in (CFLAGS): Idem.
180 2002-01-08 Akim Demaille <akim@epita.fr>
182 * lib/Makefile.am (libbison_a_SOURCES): Add xstrndup.c.
183 * src/getargs.c (AS_FILE_NAME): New.
184 (getargs): Use it to convert DOSish file names.
185 * src/files.c (base_name): Rename as full_base_name to avoid
186 clashes with `base_name ()'.
187 (get_extension_index): Remove.
188 (filename_split): New.
189 (compute_base_names): N-th rewrite, using filename_split.
191 2002-01-08 Akim Demaille <akim@epita.fr>
193 * lib/basename.c, lib/dirname.h, lib/dirname.c, lib/memrchr.c,
194 * lib/xstrndup.c, lib/strchr.c:
195 New, stolen from the Fileutils 4.1.
196 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
197 * configure.in: Check for the presence of memrchr, strchr,
198 strnlen, and of their prototypes.
199 Don't check for strndup: we no longer use it.
200 * src/system.h: Adjust the prototypes.
202 2002-01-07 Akim Demaille <akim@epita.fr>
204 * src/conflicts.c (count_rr_conflicts): The previous RR conflicts
205 patch was improperly applied: fix it.
207 2002-01-07 Akim Demaille <akim@epita.fr>
209 * tests/torture.at (GNU Cim Grammar): Reintroduce their weird
210 'switch' without a following semicolon.
211 * tests/regression.at (braces parsing): New.
213 2002-01-06 Akim Demaille <akim@epita.fr>
215 Bison is dead wrong in its RR conflict reports.
217 * tests/torture.at (GNU Cim Grammar): New.
218 * src/conflicts.c (count_rr_conflicts): Fix.
220 2002-01-06 Akim Demaille <akim@epita.fr>
222 Creating package.m4 from configure.ac causes too many problems.
224 * tests/Makefile.am (package.m4): Create it by hand,
225 AC_CONFIG_TESTDIR no longer does in the most recent CVS Autoconf.
227 2002-01-04 Paul Eggert <eggert@twinsun.com>
229 * doc/bison.texinfo (Debugging):
230 Remove YYSTDERR; it's no longer defined or used.
231 Also, s/cstdio.h/cstdio/.
233 2002-01-03 Akim Demaille <akim@epita.fr>
235 * src/files.h: Add it prototype.
237 2002-01-03 Akim Demaille <akim@epita.fr>
239 * src/files.c, src/files.h (strsuffix): Not static.
240 * src/conflicts.c (conflicts_print): Don't consider it is an error
241 to have a %expectation violation on a file ending by `plural.y'.
244 2002-01-03 Akim Demaille <akim@epita.fr>
246 * tests/bison.in: Adjust to CVS Autoconf.
247 * tests/calc.at (exp): We no longer need to special case GCC as
248 the warning flags are passed by configure.
249 * tests/atlocal.in: Adjust.
250 * configure.in: Bump to 1.30j.
252 2002-01-03 Akim Demaille <akim@epita.fr>
256 2002-01-03 Akim Demaille <akim@epita.fr>
258 * src/bison.simple (YYSTDERR): Remove, replace `stderr'.
259 The ISO C++ standard is extremely clear about it: stderr is
260 considered a macro, not a regular symbol (see table 94 `Header
261 <cstdio> synopsis', [lib.c.files] 27.8.2 C Library files).
262 Therefore std:: does not apply to it. It still does with fprintf.
263 Also, s/cstdio.h/cstdio/.
265 2002-01-03 Akim Demaille <akim@epita.fr>
267 * lib/quotearg.c: Use `#include "..."' instead of `#include <...>'
268 for non system headers.
270 2001-12-27 Paul Eggert <eggert@twinsun.com>
272 * src/bison.simple (YYSTACK_ALLOC, YYSIZE_T): Remove special
273 cases for non-GNU systems like AIX, HP-UX, SGI, Sun, and
274 Sparc, as they were causing more porting problems than the
275 (minor) performance improvement was worth.
277 2001-12-22 Akim Demaille <akim@epita.fr>
279 * src/output.c (output_short_table, output_short_or_char_table):
280 Change the prototype to use `int' for array ranges: some
281 invocations do pass an int, not a short.
282 Reported by Wayne Green.
284 2001-12-22 Akim Demaille <akim@epita.fr>
286 Some actions of web2c.y are improperly triggered.
287 Reported by Mike Castle.
289 * src/lalr.c (traverse): s/F (i)[k] = F (j)[k]/F (j)[k] = F (i)[k]/.
290 * tests/regression.at (Web2c): Rename as...
291 (Web2c Report): this.
292 (Web2c Actions): New.
294 2001-12-22 Akim Demaille <akim@epita.fr>
296 Reductions in web2c.y are improperly reported.
297 Reported by Mike Castle.
299 * src/conflicts.c (print_reductions): Fix.
300 * tests/regression.at (Web2c): New.
302 2001-12-18 Akim Demaille <akim@epita.fr>
306 2001-12-18 Akim Demaille <akim@epita.fr>
308 Some host fail on `assert (!"foo")', which expands to
309 ((!"foo") ? (void)0 : __assert("!"foo."", __FILE__, __LINE__))
310 Reported by Nelson Beebee.
312 * src/output.c, src/vcg.c: Replace `assert (!"it succeeded")' with
313 `#define it_succeeded 0' and `assert (it_succeeded)'.
315 2001-12-17 Paul Eggert <eggert@twinsun.com>
317 * src/bison.simple (YYSTD): New macro.
318 (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE, YYFPRINTF, YYSTDERR): Use
319 it to simplify macros, and fix some C++ porting problems reported
322 * src/output.c (output): Define YYDEBUG to 0 if it is not defined
323 and if we are not debugging. POSIX requires this.
324 * NEWS, doc/bison.texinfo, doc/bison.1, doc/bison.rnh: Document this.
326 * src/output.c (output_gram, output_rule_data): Do not assume that
327 the user defines YYDEBUG to a properly parenthesized expression.
329 2001-12-15 Akim Demaille <akim@epita.fr>
331 * src/nullable.c (set_nullable): Useless rules must be skipped,
332 otherwise, since we range over their symbols, we might look at a
333 nonterminal which no longer ``exists'', i.e., it is not counted in
334 `nvars', hence we overflow our arrays.
336 2001-12-15 Akim Demaille <akim@epita.fr>
338 * src/reader.c (copy_action): When --yacc, don't append a `;'
339 to the user action: let it fail if lacking.
340 Suggested by Arnold Robbins and Tom Tromey.
342 2001-12-13 Akim Demaille <akim@epita.fr>
346 2001-12-13 Akim Demaille <akim@epita.fr>
348 The computation of nullable is broken: it doesn't handle empty
351 * tests/torture.at (GNU AWK Grammar): New.
352 * tests/sets.at (Nullable): New.
353 * src/nullable.c (set_nullable): Instead of blindly looping over
354 `ritems', loop over the rules, and then over their rhs's.
356 Work around Autotest bugs.
358 * src/warshall.c (bitmatrix_print): Don't use `+--+' as table
359 frame, because Autotest understand lines starting with a `+' as
360 traces from the shell. Then, they are not processed properly.
361 Admittedly an Autotest bug, but we don't have time to wait for
362 Autotest to catch up.
363 * tests/regression.at (Broken Closure): Adjust to the new table
366 * tests/sets.at: here.
368 2001-12-12 Paul Eggert <eggert@twinsun.com>
370 * src/bison.simple (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE):
371 Do not infringe on the global user namespace when using C++.
372 (YYFPRINTF, YYSTDERR): New macros, needed for the above.
373 All uses of `fprintf' and `stderr' changed.
375 * src/output.c (output): Do not output "#include <stdio.h>"; that
376 is bison.simple's job. stdio.h should be included only if
377 necessary, to avoid infringing on the user name space when
380 2001-12-12 Akim Demaille <akim@epita.fr>
382 * src/complain.h, src/complain.c: Remove error_one_per_line, rely
383 on that of lib/error.c.
385 2001-12-12 Akim Demaille <akim@epita.fr>
387 Some hosts don't like `/' in includes.
389 * src/system.h: Include libgettext.h without qualifying the path.
390 * src/Makefile.am (INCLUDES): Add $(top_srcdir)/intl, remove
393 2001-12-10 Akim Demaille <akim@epita.fr>
395 Bison dumps core on bash.y.
396 Reported by Pascal Bart.
398 * src/warshall.c (bitmatrix_print): New.
400 When performing a transitive closure R(i, j) && R(j, k) => R(i, k),
401 j must be the outer loop.
402 * tests/regression.at (Broken Closure): New.
404 2001-12-05 Akim Demaille <akim@epita.fr>
408 2001-12-05 Akim Demaille <akim@epita.fr>
410 * tests/atlocal.in (CPPFLAGS): Do not leave a space between -I and
412 Reported by Peter Hámorský.
414 2001-12-05 Akim Demaille <akim@epita.fr>
416 * src/conflicts.c (err_table): Remove.
417 (resolve_sr_conflict): Adjust.
418 * src/lalr.h (state_t.reduction_table, state_t.shift_table):
420 (state_t.reductions, state_t.shifts): this.
422 2001-12-05 Akim Demaille <akim@epita.fr>
424 * src/reduce.c (reduce_grammar_tables): No longer disable the
425 removal of useless rules via CPP but via `if (0)', so that the
426 compiler still check the code is valid.
427 For instance, it should have noticed `rline' no longer exists: use
428 the `line' member of rule_t.
429 * src/gram.c (dummy, rline): Remove, unused.
431 2001-12-05 Akim Demaille <akim@epita.fr>
433 * src/output.c (pack_vector): Use assert, not berror.
434 * src/main.c (berror): Remove, unused.
436 2001-12-05 Akim Demaille <akim@epita.fr>
438 New experimental feature: if --verbose --trace output all the
439 items of a state, not only its kernel.
441 * src/print.c (print_core): If `trace_flag', then invoke closure
442 before outputting the items of the state (print_core is no longer
443 a correct name them).
444 (print_results): Invoke new_closure/free_closure if needed.
446 2001-12-05 Akim Demaille <akim@epita.fr>
448 * src/LR0.c (new_itemsets): Use nshifts only, not shiftcount.
449 * src/closure.c, src/closure.h (itemsetsize): Rename as...
450 (nitemset): for consistency with the rest of the project.
452 2001-12-05 Akim Demaille <akim@epita.fr>
454 * src/closure.c (print_closure): Improve.
455 (closure): Use it for printing input and output.
457 2001-12-05 Akim Demaille <akim@epita.fr>
459 * src/closure.c (FIRSTS, FDERIVES): Adjust to reality: they are
460 indexed by nonterminals.
462 2001-12-05 Akim Demaille <akim@epita.fr>
464 * src/warshall.c (TC, RTC): De-obsfucate (source reduced to 22% of
466 * src/warshall.h: Remove accidental duplication of the content.
468 2001-12-05 Akim Demaille <akim@epita.fr>
470 * src/closure.c (set_fderives): De-obfuscate.
472 2001-12-05 Akim Demaille <akim@epita.fr>
474 * src/closure.c (print_firsts, print_fderives): De-obfuscate.
476 2001-12-05 Akim Demaille <akim@epita.fr>
478 * src/closure.c (set_firsts): De-obfuscate.
480 2001-12-05 Akim Demaille <akim@epita.fr>
482 * src/output.c (action_row): De-obfuscate
483 using the good o' techniques: arrays not pointers, variable
484 locality, BITISSET, RESETBIT etc.
486 2001-12-05 Akim Demaille <akim@epita.fr>
488 Pessimize the code to simplify it: from now on, all the states
489 have a valid SHIFTS, which NSHIFTS is possibly 0.
491 * src/LR0.c (shifts_new): Be global and move to..
492 * src/state.c, src/state.h: here.
493 * src/conflicts, src/lalr.c, src/output.c, src/print.c,
494 * src/print_graph: Adjust.
496 2001-12-05 Akim Demaille <akim@epita.fr>
498 * src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New.
499 * src/conflicts.c: Use it.
500 Restore a few missing `if (!SHIFT_IS_DISABLED)' which were
501 incorrectly ``simplified''.
503 2001-12-05 Akim Demaille <akim@epita.fr>
505 * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate
506 using the good o' techniques: arrays not pointers, variable
507 locality, BITISSET, RESETBIT etc.
509 2001-12-05 Akim Demaille <akim@epita.fr>
511 * src/state.h (SHIFT_SYMBOL): New.
512 * src/conflicts.c: Use it to deobfuscate.
514 2001-12-05 Akim Demaille <akim@epita.fr>
516 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts)
517 (print_reductions): De-obfuscate using the good o' techniques:
518 arrays not pointers, variable locality, BITISSET.
520 2001-12-05 Akim Demaille <akim@epita.fr>
522 * src/conflicts.c (print_reductions): Arrays, not pointers.
525 2001-12-05 Akim Demaille <akim@epita.fr>
527 * src/conflicts.c (print_reductions): Pessimize, but clarify.
529 2001-12-05 Akim Demaille <akim@epita.fr>
531 * src/conflicts.c (print_reductions): Improve variable locality.
533 2001-12-05 Akim Demaille <akim@epita.fr>
535 * src/conflicts.c (print_reductions): Pessimize, but clarify.
537 2001-12-05 Akim Demaille <akim@epita.fr>
539 * src/conflicts.c (print_reductions): Improve variable locality.
541 2001-12-05 Akim Demaille <akim@epita.fr>
543 * src/state.h (SHIFT_IS_ERROR, SHIFT_IS_GOTO, SHIFT_IS_SHIFT): New.
544 * src/lalr.c: Use them.
546 2001-12-05 Akim Demaille <akim@epita.fr>
548 * src/LR0.c (augment_automaton): Formatting changes.
549 Better variable locality.
551 2001-12-05 Akim Demaille <akim@epita.fr>
553 * src/lalr.c (matrix_print): New.
555 Use arrays instead of pointers.
557 2001-12-05 Akim Demaille <akim@epita.fr>
559 * src/lalr.c (maxrhs): Move to...
560 * src/gram.c, src/gram.h (ritem_longest_rhs): here.
561 * src/lalr.c (build_relations): Adjust.
563 2001-12-05 Akim Demaille <akim@epita.fr>
565 * src/lalr.c (transpose): Free the memory allocated to the
566 argument, as it is replaced by the results by the unique caller.
567 (build_relations): Merely invoke transpose: it handles the memory
569 Improve variable locality.
570 Avoid variables used as mere abbreviations.
571 (compute_lookaheads): Use arrays instead of pointers.
573 2001-12-05 Akim Demaille <akim@epita.fr>
575 * src/lalr.c (initialize_F): Improve variable locality.
576 Avoid variables used as mere abbreviations.
578 2001-12-05 Akim Demaille <akim@epita.fr>
580 * src/derives.c (print_derives): Display the ruleno.
581 * src/lalr.c (initialize_F, transpose): Better variable locality
582 to improve readability.
583 Avoid variables used as mere abbreviations.
585 2001-12-05 Akim Demaille <akim@epita.fr>
587 * src/lalr.c (traverse): Use arrays instead of pointers.
589 2001-12-05 Akim Demaille <akim@epita.fr>
591 * src/nullable.c (set_nullable): Use a for loop to de-obfuscate
592 the handling of squeue.
593 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
595 2001-12-05 Akim Demaille <akim@epita.fr>
597 Because useless nonterminals are now kept alive (instead of being
598 `destroyed'), we now sometimes examine them, and store information
599 related to them. Hence we need to know their number, and adjust
602 * src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
604 * src/LR0.c (allocate_itemsets): The memory allocated to
605 `symbol_count' was used for two different purpose: once to count
606 the number of occurrences of each symbol, and later reassigned to
607 `shift_symbol', containing the symbol that can be shifted from a
609 Deobfuscate, i.e., allocate, use and free `symbol_count' here
611 (new_itemsets): Allocate `shift_symbol' here.
612 (allocate_itemsets): symbol_count includes useless nonterminals.
614 (free_storage): Use `free', not `XFREE', for pointers that cannot
617 2001-12-05 Akim Demaille <akim@epita.fr>
619 * src/nullable.c (set_nullable): Deobfuscate the handling of
621 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
623 2001-12-05 Akim Demaille <akim@epita.fr>
625 * src/gram.c, src/gram.h (ritem_print): New.
626 * src/gram.c (dummy): Remove, now there is actual code in gram.c.
627 (This useless function was defined only to work around VMS linkers
628 that can't handle compilation units with variables only).
629 * src/reduce.c (dump_grammar): Use it to trace the construction of
632 2001-12-04 Paul Eggert <eggert@twinsun.com>
634 * src/bison.simple (union yyalloc): Change member names
635 to be the same as the stack names.
636 (yyparse): yyptr is now union yyalloc *, not char *.
637 (YYSTACK_RELOCATE): Likewise. This avoids a GCC warning,
638 and may generate better code on some machines.
639 (yystpcpy): Use prototype if __STDC__ is defined, not just
640 if __cplusplus is defined.
642 2001-11-30 Akim Demaille <akim@epita.fr>
644 * configure.in (WARNING_CFLAGS): Add -Werror when possible.
645 (CFLAGS): Do not include the WARNING_CFLAGS here, since GNU
646 Gettext doesn't compile cleanly, and dies with -Werror.
647 * src/Makefile.am, lib/Makefile.am, tests/atlocal.in (CFLAGS):
648 Include WARNING_CFLAGS here.
649 * lib/xstrdup.c: Include xalloc.h, so that xstrdup be declared
650 before being defined.
652 2001-11-30 Paul Eggert <eggert@twinsun.com>
654 * lib/quotearg.h (quotearg_n, quotearg_n_style):
655 First arg is int, not unsigned.
656 * lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise.
657 (SIZE_MAX, UINT_MAX): New macros.
658 (quotearg_n_options): Abort if N is negative.
659 Avoid overflow check on hosts where size_t is 64 bits and int
660 is 32 bits, as overflow is impossible there.
661 Fix off-by-one typo that caused unnecessary reallocation.
663 2001-11-30 Paul Eggert <eggert@twinsun.com>
665 Name space cleanup in generated parser.
667 * doc/bison.texinfo (Bison Parser): Discuss system headers
668 and their effect on the user name space.
671 (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX,
672 YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define unless necessary,
673 i.e. unless ! defined (yyoverflow) || defined (YYERROR_VERBOSE).
675 (YYSIZE_T): New macro. Use it instead of size_t, to avoid infringing
676 on user names when possible.
678 (YYSTACK_USE_ALLOCA): Do not define; just use any existing defn.
679 Simplify test for whather <alloca.h> exists.
681 (<stdlib.h>): Include if we will use malloc, and if standard C or C++.
683 (<stdio.h>): Include if YYDEBUG.
685 (yymemcpy): Renamed from __yy_memcpy. Do not define unless
686 ! defined (yyoverflow) && ! defined (yymemcpy).
688 (yymemcpy, yyparse): Rename local variables as needed so that
689 they all begin with 'yy'.
691 (yystrlen, yystpcpy): New functions.
693 (YY_DECL_NON_LSP_VARIABLES): Renamed from _YY_DECL_VARIABLES.
696 (yyparse): size_t -> YYSIZE_T. Use yystrlen and yystpcpy
697 instead of relying on string.h functions. Use YYSTACK_ALLOC
698 and YYSTACK_FREE instead of malloc and free.
700 2001-11-30 Akim Demaille <akim@epita.fr>
702 * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty
703 if body instead of `;' to pacify GCC's warnings.
705 2001-11-30 Akim Demaille <akim@epita.fr>
707 Instead of mapping the LHS of unused rules to -1, keep the LHS
708 valid, but flag the rules as invalid.
710 * src/gram.h (rule_t): `useful' is a new member.
711 * src/print.c (print_grammar): Adjust.
712 * src/derives.c (set_derives): Likewise.
713 * src/reader.c (packgram, reduce_output): Likewise.
714 * src/reduce.c (reduce_grammar_tables): Likewise.
715 * tests/reduce.at (Underivable Rules, Useless Rules): New.
717 2001-11-30 Akim Demaille <akim@epita.fr>
719 * src/reduce.c (reduce_output): Formatting changes.
720 * src/print.c (print_results, print_grammar): Likewise.
721 * tests/regression.at (Rule Line Numbers)
722 (Solved SR Conflicts, Unresolved SR Conflicts): Adjust.
724 2001-11-30 Akim Demaille <akim@epita.fr>
726 * src/reduce.c (nonterminals_reduce): Instead of throwing away
727 useless nonterminals, move them at the end of the symbol arrays.
728 (reduce_output): Adjust.
729 * tests/reduce.at (Useless Nonterminals): Adjust.
731 2001-11-30 Akim Demaille <akim@epita.fr>
733 * src/reduce.c: Various comment/formatting changes.
734 (nonterminals_reduce): New, extracted from...
735 (reduce_grammar_tables): here.
736 (reduce_grammar): Call nonterminals_reduce.
738 2001-11-29 Paul Eggert <eggert@twinsun.com>
740 * src/bison.simple (YYSTACK_REALLOC): Remove.
741 (YYSTACK_ALLOC): Resurrect this macro, with its old meaning.
742 (YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE):
744 (union yyalloc): New type.
745 (__yy_memcpy): Last arg is size_t, not unsigned int, to remove
746 an arbitrary restriction on hosts where size_t is wider than int.
748 (yyparse): Don't dump core if alloca or malloc fails; instead, report
749 a parser stack overflow. Allocate just one block of memory for all
750 three stacks, instead of allocating three blocks; this typically is
751 faster and reduces fragmentation.
753 Do not limit the number of items in the stack to a value that fits
754 in 'int', as this is an arbitrary limit on hosts with 64-bit
755 size_t and 32-bit int.
757 2001-11-28 Akim Demaille <akim@epita.fr>
759 * src/LR0.c (shifts_new): New.
760 (save_shifts, insert_start_shift, augment_automaton): Use it.
762 2001-11-28 Akim Demaille <akim@epita.fr>
764 * src/closure.c (closure): `b' and `ruleno' denote the same value:
767 2001-11-28 Akim Demaille <akim@epita.fr>
769 * src/closure.c (closure): Instead of looping over word in array
770 then bits in words, loop over bits in array.
772 2001-11-28 Akim Demaille <akim@epita.fr>
774 * src/closure.c (closure): No longer optimize the special case
775 where all the bits of `ruleset[r]' are set to 0, to make the code
778 2001-11-28 Akim Demaille <akim@epita.fr>
780 * src/closure.c (closure): `r' and `c' are new variables, used to
781 de-obfuscate accesses to RULESET and CORE.
783 2001-11-28 Akim Demaille <akim@epita.fr>
785 * src/reduce.c (reduce_print): Use ngettext.
786 (dump_grammar): Improve the trace accuracy.
788 2001-11-28 Akim Demaille <akim@epita.fr>
790 * src/reduce.c (dump_grammar): Don't translate trace messages.
792 2001-11-28 Akim Demaille <akim@epita.fr>
794 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
795 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
796 as all tags are free'ed afterwards.
799 2001-11-27 Akim Demaille <akim@epita.fr>
801 * src/system.h: Use intl/libgettext.h.
802 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
804 2001-11-27 Paul Eggert <eggert@twinsun.com>
806 * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to
807 use alloca when we didn't want to, and vice versa.
809 2001-11-27 Akim Demaille <akim@epita.fr>
811 * tests/torture.at (Exploding the Stack Size with Malloc):
812 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
814 2001-11-27 Akim Demaille <akim@epita.fr>
816 * src/files.c: Include error.h.
819 2001-11-26 Akim Demaille <akim@epita.fr>
823 2001-11-26 Akim Demaille <akim@epita.fr>
825 * src/reader.c (readgram): Make sure rules for mid-rule actions
826 have a lineno equal to that of their host rule.
827 Reported by Hans Aberg.
828 * tests/regression.at (Rule Line Numbers): New.
830 2001-11-26 Akim Demaille <akim@epita.fr>
832 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
834 Reported by Hans Aberg.
836 2001-11-26 Akim Demaille <akim@epita.fr>
838 * src/complain.c, src/complain.h (error): Remove, provided by
841 2001-11-26 Akim Demaille <akim@epita.fr>
843 * src/reader.c (read_declarations): Don't abort on tok_illegal,
844 issue an error message.
845 * tests/regression.at (Invalid %directive): New.
846 Reported by Hans Aberg.
848 2001-11-26 Akim Demaille <akim@epita.fr>
850 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
851 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
853 2001-11-26 Akim Demaille <akim@epita.fr>
855 * src/conflicts.c (conflicts_print): Don't complain at all when
856 there are no reduce/reduce conflicts, and as many shift/reduce
857 conflicts as expected.
858 * tests/regression.at (%expect right): Adjust.
860 2001-11-23 Akim Demaille <akim@epita.fr>
862 * lib/alloca.c: Update, from fileutils.
864 2001-11-23 Akim Demaille <akim@epita.fr>
866 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
868 2001-11-23 Akim Demaille <akim@epita.fr>
870 * src/system.h: Include alloca.h.
871 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
873 2001-11-23 Akim Demaille <akim@epita.fr>
875 * src/print_graph.c (print_actions): Remove `rule', unused.
876 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
877 pacify GCC's signed < unsigned warnings.
878 * src/closure.c (itemsetsize): Likewise.
879 * src/reader.c (symbol_list_new): Static.
881 2001-11-23 Akim Demaille <akim@epita.fr>
883 Attaching lineno to buckets is stupid, since only one copy of each
884 symbol is kept, only the line of the first occurrence is kept too.
886 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
887 * src/reader.c (rline_allocated): Remove, unused.
888 (symbol_list): Have a `line' member.
889 (symbol_list_new): New.
891 * src/print.c (print_grammar): Output the rule line numbers.
892 * tests/regression.at (Solved SR Conflicts)
893 (Unresolved SR Conflicts): Adjust.
894 Reported by Hans Aberg.
896 2001-11-20 Akim Demaille <akim@epita.fr>
900 2001-11-20 Akim Demaille <akim@epita.fr>
903 * configure.in (ALL_LINGUAS): Adjust.
904 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
905 longer contains strings to translate.
907 2001-11-19 Akim Demaille <akim@epita.fr>
909 * src/conflicts.c (conflicts_print): Add a missing \n.
911 2001-11-19 Akim Demaille <akim@epita.fr>
913 * src/nullable.c (nullable_print): New.
914 (set_nullable): Call it when tracing.
915 Better locality of variables.
917 2001-11-19 Akim Demaille <akim@epita.fr>
919 * src/print.c (print_actions): Better locality of variables.
921 2001-11-19 Akim Demaille <akim@epita.fr>
923 * src/derives.c (print_derives): Fix and enrich.
924 * src/closure.c (print_fderives): Likewise.
926 2001-11-19 Akim Demaille <akim@epita.fr>
928 * src/closure.c (itemsetend): Remove, replaced with...
931 2001-11-19 Akim Demaille <akim@epita.fr>
933 * src/LR0.c (kernel_end): Remove, replaced with...
936 2001-11-19 Akim Demaille <akim@epita.fr>
938 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
941 2001-11-19 Akim Demaille <akim@epita.fr>
943 * src/closure.c (closure): Use arrays instead of pointers to clarify.
945 2001-11-19 Akim Demaille <akim@epita.fr>
947 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
949 * src/LR0.c: Likewise.
950 (allocate_itemsets): Use arrays instead of pointers to clarify.
952 2001-11-19 Akim Demaille <akim@epita.fr>
954 * src/getargs.c (statistics_flag): Replace with...
956 (longopts): Accept --trace instead of --statistics.
957 * src/getargs.h: Adjust.
958 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
959 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
961 2001-11-19 Akim Demaille <akim@epita.fr>
963 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
964 pointers to clarify the code.
965 (save_reductions, save_shifts): Factor common parts of alternatives.
967 2001-11-19 Akim Demaille <akim@epita.fr>
969 * src/LR0.c (new_state, get_state): Complete TRACE code.
970 * src/closure.c: Include `reader.h' to get `tags', needed by the
972 Rename the conditional DEBUG as TRACE.
973 Output consistently TRACEs to stderr, not stdout.
974 * src/derives.c: Likewise.
975 * src/reduce.c: (inaccessable_symbols): Using if is better style
977 Use `#if TRACE' instead of `#if 0' for tracing code.
979 2001-11-19 Akim Demaille <akim@epita.fr>
981 * src/system.h (LIST_FREE, shortcpy): New.
982 * src/LR0.c: Use them.
983 * src/output.c (free_itemsets, free_reductions, free_shifts):
984 Remove, replaced by LIST_FREE.
986 2001-11-19 Akim Demaille <akim@epita.fr>
988 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
989 (REDUCTIONS_ALLOC): New.
990 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
993 2001-11-19 Akim Demaille <akim@epita.fr>
995 * src/LR0.c (new_state): Complete trace code.
996 * src/nullable.c (set_nullable): Don't translate traces.
998 2001-11-19 Akim Demaille <akim@epita.fr>
1000 * src/print_graph.c (print_core): Better locality of variables.
1001 * src/print.c (print_core): Likewise.
1003 2001-11-19 Akim Demaille <akim@epita.fr>
1005 * src/vcg.c: You do the output, so you are responsible of the
1006 handling of VCG syntax, in particular: use quotearg.
1007 * src/print_graph.c: Don't.
1008 (print_actions): Don't output the actions as part of the nodes,
1009 since that's the job of the edges.
1010 (print_state): Don't output by hand: fill the node description,
1011 and ask for its output.
1013 2001-11-19 Akim Demaille <akim@epita.fr>
1015 * src/bison.simple (yyparse): When verbosely reporting an error,
1016 no longer put additional quotes around token names.
1017 * tests/calc.at: Adjust.
1019 2001-11-19 Akim Demaille <akim@epita.fr>
1021 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
1022 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
1023 * src/output.c: Adjust.
1025 2001-11-19 Akim Demaille <akim@epita.fr>
1027 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
1029 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
1031 2001-11-19 Akim Demaille <akim@epita.fr>
1033 * src/gram.h (rule_t): New.
1035 (rrhs, rlhs): Remove, part of state_t.
1036 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
1037 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
1038 * src/reader.c, src/reduce.c: Adjust.
1040 2001-11-19 Akim Demaille <akim@epita.fr>
1042 * src/reader.c (symbols_output): New, extracted from...
1043 (packsymbols): Here.
1046 2001-11-19 Akim Demaille <akim@epita.fr>
1048 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
1049 (maxrhs): this new function.
1051 2001-11-19 Akim Demaille <akim@epita.fr>
1053 * src/lalr.c (F): New macro to access the variable F.
1056 2001-11-19 Akim Demaille <akim@epita.fr>
1058 * src/lalr.h (LA): New macro to access the variable LA.
1059 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1060 * src/lalr.c: Adjust.
1062 2001-11-19 Akim Demaille <akim@epita.fr>
1064 * src/lalr.c (initialize_LA): Only initialize LA. Let...
1065 (set_state_table): handle the `lookaheads' members.
1067 2001-11-19 Akim Demaille <akim@epita.fr>
1069 * src/lalr.h (lookaheads): Removed array, whose contents is now
1071 (state_t): this structure.
1072 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1075 2001-11-19 Akim Demaille <akim@epita.fr>
1077 * src/lalr.h (consistent): Removed array, whose contents is now
1079 (state_t): this structure.
1080 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1083 2001-11-19 Akim Demaille <akim@epita.fr>
1085 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
1086 contents are now members of...
1087 (state_t): this structure.
1088 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1091 2001-11-19 Akim Demaille <akim@epita.fr>
1093 * src/lalr.h (state_t): New.
1094 (state_table): Be a state_t * instead of a core **.
1095 (accessing_symbol): Remove, part of state_t.
1096 * src/lalr.c: Adjust.
1097 (set_accessing_symbol): Merge into...
1098 (set_state_table): this.
1099 * src/print_graph.c, src/conflicts.c: Adjust.
1101 2001-11-14 Akim Demaille <akim@epita.fr>
1105 2001-11-14 Akim Demaille <akim@epita.fr>
1107 * tests/calc.at, tests/output.at, tests/regression.at,
1108 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
1109 now the tests are run in private dirs, therefore AC_CLEANUP and
1110 family can be simplified to 0-ary.
1111 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
1112 use abs. path to find config.h.
1114 2001-11-14 Akim Demaille <akim@epita.fr>
1116 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
1117 stderr, there can be way too much random noise.
1118 Instead pass -Werror to GCC and rely on the exit status.
1119 Reported by Wolfram Wagner.
1121 2001-11-14 Akim Demaille <akim@epita.fr>
1123 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
1124 defined only if yyoverflow is defined, to avoid `warning: unused
1126 Reported by The Test Suite.
1128 2001-11-14 Akim Demaille <akim@epita.fr>
1130 * src/print.c: Include reduce.h.
1131 Reported by Hans Aberg.
1133 2001-11-14 Akim Demaille <akim@epita.fr>
1135 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
1136 Revert a previous patch: these are really const.
1137 * src/conflicts.c (conflict_report): Additional useless pair of
1138 braces to pacify GCC's warnings for `if () if () {} else {}'.
1139 * src/lex.c (parse_percent_token): Replace equal_offset with
1142 Be sure to strdup `arg' when used, since there is no reason for
1143 token_buffer not to change.
1145 2001-11-14 Akim Demaille <akim@epita.fr>
1147 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
1149 * src/main.c (main): Use them.
1150 Suggested by Hans Aberg.
1152 2001-11-12 Akim Demaille <akim@epita.fr>
1156 * src/system.h (ngettext): Now that we use ngettext, be sure to
1157 provide a default definition when NLS are not used that takes care
1160 2001-11-12 Akim Demaille <akim@epita.fr>
1162 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
1163 Use @kbd to denote user input.
1164 (Language and Grammar): ANSIfy the example.
1165 Adjust its layout for info/notinfo.
1166 (Location Tracking Calc): Output error messages to stderr.
1167 Output locations in a more GNUtically correct way.
1168 Fix a couple of Englishos.
1169 Adjust @group/@end group pairs.
1171 2001-11-12 Akim Demaille <akim@epita.fr>
1173 %expext was not functioning at all.
1175 * src/conflicts.c (expected_conflicts): Set to -1.
1176 (conflict_report): Use ngettext.
1177 (conflicts_print): Check %expect and make its violation an error.
1178 * doc/bison.texinfo (Expect Decl): Adjust.
1179 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
1180 * tests/regression.at (%expect not enough, %expect right)
1181 (%expect too much): New.
1183 2001-11-12 Akim Demaille <akim@epita.fr>
1185 * tests/regression.at (Conflicts): Rename as...
1186 (Unresolved SR Conflicts): this.
1187 (Solved SR Conflicts): New.
1189 2001-11-12 Akim Demaille <akim@epita.fr>
1191 * src/reduce.c (print_results): Rename as...
1192 (reduce_output): This.
1193 Output to OUT, passed as argument, instead of output_obstack.
1194 (dump_grammar): Likewise.
1197 (reduce_grammar): No longer call reduce_output, since...
1198 * src/print.c (print_results): do it.
1199 * src/main.c (main): Call reduce_free;
1201 2001-11-12 Akim Demaille <akim@epita.fr>
1203 * src/conflicts.c (print_reductions): Accept OUT as argument.
1204 Output to it, not to output_obstack.
1205 * src/print.c (print_actions): Adjust.
1207 2001-11-12 Akim Demaille <akim@epita.fr>
1209 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
1210 the result instead of using...
1211 (src_total, rrc_total, src_count, rrc_count): Remove.
1212 (any_conflicts): Remove.
1213 (print_conflicts): Split into...
1214 (conflicts_print, conflicts_output): New.
1215 * src/conflicts.h: Adjust.
1216 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
1217 * src/print.c (print_grammar): Issue `\n' between to rule outputs.
1218 * tests/regression.at (Conflicts): New.
1219 Reported by Tom Lane.
1221 2001-11-12 Akim Demaille <akim@epita.fr>
1223 * tests/regression.at (Invalid input): Remove, duplicate with
1224 ``Invalid input: 1''.
1226 2001-11-12 Akim Demaille <akim@epita.fr>
1228 * tests/torture.at (AT_DATA_STACK_TORTURE)
1229 (Exploding the Stack Size with Alloca)
1230 (Exploding the Stack Size with Malloc): New.
1232 2001-11-12 Akim Demaille <akim@epita.fr>
1234 * src/bison.simple (YYSTACK_REALLOC): New.
1235 (yyparse) [!yyoverflow]: Use it and free the old stack.
1236 Reported by Per Allansson.
1238 2001-11-05 Akim Demaille <akim@epita.fr>
1241 * src/lex.c (parse_percent_token): s/quotearg/quote/.
1243 2001-11-05 Akim Demaille <akim@epita.fr>
1245 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
1248 2001-11-05 Akim Demaille <akim@epita.fr>
1250 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
1251 with yyltype/YYLTYPE. This allows inclusion of the generated
1252 header within the parser if the compiler, such as GGC, accepts
1253 multiple equivalent #defines.
1255 2001-11-04 Akim Demaille <akim@epita.fr>
1257 * src/getargs.c (longopts): Support `--output'. getopt is now
1258 able to understand that `--out' is OK: the two racing long options
1261 * src/lex.h (tok_setopt): Remove, replaced with...
1262 (tok_intopt, tok_stropt): these new guys.
1263 * src/lex.c (getopt.h): Not needed.
1264 (token_buffer, unlexed_token_buffer): Not const.
1265 (percent_table): Promote `-' over `_' in directive names.
1266 Active `%name-prefix', `file-prefix', and `output'.
1267 (parse_percent_token): Accept possible arguments to directives.
1268 Promote `-' over `_' in directive names.
1269 * doc/bison.texinfo (Decl Summary): Split the list into
1270 `directives for grammars' and `directives for bison'.
1272 Add description of `%name-prefix', `file-prefix', and `output'.
1273 Promote `-' over `_' in directive names.
1274 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
1275 Simplify the description of `--name-prefix'.
1276 Promote `-' over `_' in directive names.
1277 Promote `--output' over `--output-file'.
1278 Fix the description of `--defines'.
1279 * tests/output.at: Exercise %file-prefix and %output.
1281 2001-11-02 Akim Demaille <akim@epita.fr>
1283 * doc/refcard.tex: Update.
1285 2001-11-02 Akim Demaille <akim@epita.fr>
1287 * src/symtab.h (SUNDEF): New.
1288 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
1289 stand for `uninitialized', instead of 0.
1290 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
1291 * src/lex.c (lex): Adjust.
1293 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
1295 Let yylex return it instead of a plain 0.
1296 Reported by Dick Streefland.
1298 2001-11-02 Akim Demaille <akim@epita.fr>
1300 * tests/regression.at (Mixing %token styles): New test.
1302 2001-11-02 Akim Demaille <akim@epita.fr>
1304 * src/reader.c (parse_thong_decl): Formatting changes.
1305 (token_translations_init): New, extracted from...
1306 (packsymbols): Here.
1309 2001-11-01 Akim Demaille <akim@epita.fr>
1311 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
1312 Check that `9foo.y' produces correct cpp guards.
1313 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
1317 2001-11-01 Akim Demaille <akim@epita.fr>
1319 * tests/regression.at (Invalid input: 2): New.
1320 * src/lex.c (unlexed_token_buffer): New.
1321 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
1325 2001-11-01 Akim Demaille <akim@epita.fr>
1327 * configure.in: Bump to 1.30a.
1328 Adjust to newer Autotest.
1330 2001-10-26 Akim Demaille <akim@epita.fr>
1334 2001-10-26 Paul Eggert <eggert@twinsun.com>
1336 * lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
1337 lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
1338 lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
1339 m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
1340 m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
1341 Sync with fileutils 4.1.1.
1343 2001-10-18 Akim Demaille <akim@epita.fr>
1346 * tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
1347 avoid spurious failures.
1349 2001-10-18 Akim Demaille <akim@epita.fr>
1353 2001-10-18 Akim Demaille <akim@epita.fr>
1355 * tests/atlocal.in (GCC): Add.
1356 * tests/calc.at: s/m4_match/m4_bmatch/.
1357 s/m4_patsubst/m4_bpatsubst/.
1358 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
1359 * configure.in: AC_SUBST(GCC).
1361 2001-10-10 Akim Demaille <akim@epita.fr>
1364 * configure.in: M4 is no longer needed, but autom4te is.
1365 * tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
1368 2001-10-10 Akim Demaille <akim@epita.fr>
1372 2001-10-10 Akim Demaille <akim@epita.fr>
1375 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
1376 Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
1377 Reported by Airy Andre.
1379 2001-10-10 Akim Demaille <akim@epita.fr>
1381 * INSTALL, config/config.guess, config/config.sub, config/mdate-sh
1382 * config/mkinstalldirs, lib/ansi2knr.c: Update.
1384 2001-10-02 Akim Demaille <akim@epita.fr>
1388 2001-10-02 Akim Demaille <akim@epita.fr>
1392 2001-10-02 Akim Demaille <akim@epita.fr>
1394 * tests/regression.at (Invalid CPP headers): New.
1395 From Alexander Belopolsky.
1396 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
1398 2001-10-02 Akim Demaille <akim@epita.fr>
1400 * tests/regression.at (Invalid input): New.
1401 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
1404 2001-10-02 Akim Demaille <akim@epita.fr>
1406 * tests/calc.at: Now that --debug works, the tests must be adjusted.
1408 2001-10-02 Akim Demaille <akim@epita.fr>
1410 * src/output.c (output_parser): Assert `skeleton'.
1411 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
1415 2001-10-01 Marc Autret <autret_m@epita.fr>
1417 * src/lex.h: Echo modifications.
1418 * src/lex.c (unlex): Parameter is now token_t.
1421 2001-10-01 Marc Autret <autret_m@epita.fr>
1423 * src/main.c: Include lex.h.
1426 2001-09-29 Akim Demaille <akim@epita.fr>
1428 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
1430 2001-09-28 Akim Demaille <akim@epita.fr>
1432 * tests/testsuite.at: Update to newer Autotest.
1433 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
1435 2001-09-27 Akim Demaille <akim@epita.fr>
1437 Position independent wrapper.
1439 * tests/bison: Remove.
1440 * tests/bison.in: New.
1441 * configure.in: Adjust.
1443 2001-09-27 Paul Eggert <eggert@twinsun.com>
1445 Port quotearg fixes from tar 1.13.24.
1447 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
1449 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
1450 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
1452 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
1453 * m4/mbrtowc.m4: New file.
1454 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
1455 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
1457 2001-09-27 Akim Demaille <akim@epita.fr>
1461 2001-09-27 Akim Demaille <akim@epita.fr>
1465 2001-09-25 Akim Demaille <akim@epita.fr>
1467 * src/system.h: Include `xalloc.h'.
1468 Remove it from the C files.
1469 * src/files.c (output_files): Free the obstacks.
1470 * src/lex.c (init_lex): Rename as...
1473 * src/main.c (main): Use it.
1475 2001-09-24 Marc Autret <autret_m@epita.fr>
1477 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
1478 to output informations in fout (FILE*).
1479 (open_graph, close_graph): Likewise.
1480 (output_graph, output_edge, output_node): Likewise.
1481 * src/vcg.h: Update function prototypes.
1482 * src/print_graph.c (print_graph): Open output graph file.
1483 (print_actions): Adjust.
1484 * src/files.h: Remove extern declaration.
1485 * src/files.c: Remove graph_obstack declaration.
1486 (open_files): Remove graph_obstack initialization.
1487 (output_files): Remove graph_obstack saving.
1489 2001-09-24 Marc Autret <autret_m@epita.fr>
1491 * src/files.c (compute_output_file_names): Fix.
1493 2001-09-24 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
1495 * src/reader.c (reader): Remove call to free_symtab ().
1496 * src/main.c (main): Call it here.
1498 * src/conflicts.c (initialize_conflicts): Rename as...
1499 (solve_conflicts): this.
1500 * src/print.c (print_core, print_actions, print_state)
1501 (print_grammar): Dump to a file instead a `output_obstack'.
1502 (print_results): Dump `output_obstack', and then proceed with the
1504 * src/files.c (compute_output_file_names, close_files): New.
1505 (output_files): Adjust.
1506 * src/main.c (main): Adjust.
1508 2001-09-23 Marc Autret <autret_m@epita.fr>
1510 * src/files.c (compute_header_macro): Computes header macro name
1511 from spec_defines_file when given.
1513 2001-09-23 Marc Autret <autret_m@epita.fr>
1515 * src/files.c (output_files): Add default extensions.
1517 2001-09-22 Akim Demaille <akim@epita.fr>
1519 * src/conflicts.c (finalize_conflicts): Rename as...
1520 (free_conflicts): this.
1522 2001-09-22 Akim Demaille <akim@epita.fr>
1524 * src/gram.c (gram_free): Rename back as...
1526 (output_token_translations): Free `token_translations'.
1527 * src/symtab.c (free_symtab): Free the tag field.
1529 2001-09-22 Akim Demaille <akim@epita.fr>
1531 Remove `translations' as it is always set to true.
1533 * src/gram.h: Adjust.
1534 * src/reader.c (packsymbols, parse_token_decl): Adjust
1535 * src/print.c (print_grammar): Adjust.
1536 * src/output.c (output_token_translations): Adjust.
1537 * src/lex.c (lex): Adjust.
1538 * src/gram.c: Be sure the set pointers to NULL.
1539 (dummy): Rename as...
1542 2001-09-22 Akim Demaille <akim@epita.fr>
1544 * configure.in: Invoke AM_LIB_DMALLOC.
1545 * src/system.h: Use dmalloc.
1546 * src/LR0.c: Be sure to have pointers initialized to NULL.
1547 (allocate_itemsets): Allocate kernel_items only if needed.
1549 2001-09-22 Akim Demaille <akim@epita.fr>
1551 * configure.in: Bump to 1.29b.
1552 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
1553 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
1554 need xmalloc.c in calc.y.
1557 2001-09-21 Akim Demaille <akim@epita.fr>
1560 * Makefile.maint, config/config.guess, config/config.sub,
1561 * config/missing: Update from masters.
1562 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
1564 * configure.in (ALL_LINGUAS): Add `tr'.
1566 2001-09-21 Akim Demaille <akim@epita.fr>
1568 * tests/Makefile.am (package.m4): Move to...
1569 ($(srcdir)/$(TESTSUITE)): here.
1571 2001-09-20 Akim Demaille <akim@epita.fr>
1573 * src/complain.c: No longer try to be standalone: use system.h.
1574 Don't assume __STDC__ is defined to 1. Just test if it is defined.
1575 * src/complain.h: Likewise.
1576 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
1577 Remove the unused variable `n'.
1578 From Albert Chin-A-Young.
1580 2001-09-18 Marc Autret <autret_m@epita.fr>
1582 * doc/bison.1: Update.
1583 * doc/bison.texinfo (Bison Options): Update --defines and --graph
1585 (Option Cross Key): Update.
1588 2001-09-18 Marc Autret <autret_m@epita.fr>
1590 * tests/regression.at: New test (comment in %union).
1592 2001-09-18 Marc Autret <autret_m@epita.fr>
1594 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
1596 Reported by Keith Browne.
1598 2001-09-18 Marc Autret <autret_m@epita.fr>
1600 * tests/output.at: Add tests for --defines and --graph.
1602 2001-09-18 Marc Autret <autret_m@epita.fr>
1604 * tests/output.at: Removes tests of %{header,src}_extension features.
1606 2001-09-18 Akim Demaille <akim@epita.fr>
1608 * tests/Makefile.am (package.m4): New.
1609 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
1610 (_AT_CHECK_CALC_ERROR): Likewise.
1611 Factor the `, ' part of verbose error messages.
1613 2001-09-18 Marc Autret <autret_m@epita.fr>
1615 * src/getargs.c (longopts): Declare --defines and --graph as options
1616 with optional arguments.
1617 * src/files.h: Add extern declarations.
1618 * src/files.c (spec_graph_file, spec_defines_file): New.
1619 (output_files): Update.
1620 Remove CPP-outed code.
1622 2001-09-18 Marc Autret <autret_m@epita.fr>
1624 Turn off %{source,header}_extension feature.
1626 * src/files.c (compute_exts_from_gf): Update.
1627 (compute_exts_from_src): Update.
1628 (output_files): CPP-out useless code.
1629 * src/files.h: Remove {header,source}_extension extern declarations.
1630 * src/reader.c (parse_dquoted_param): CPP-out.
1631 (parse_header_extension_decl): Remove.
1632 (parse_source_extension_decl): Remove.
1633 (read_declarations): Remove cases tok_{hdrext,srcext}.
1634 * src/lex.c (percent_table): Remove {header,source}_extension entries.
1635 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
1637 2001-09-10 Akim Demaille <akim@epita.fr>
1639 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
1640 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
1641 (AT_CHECK_OUTPUT): this.
1642 Merely check ls' exit status, its output is useless.
1644 2001-09-10 Akim Demaille <akim@epita.fr>
1646 * tests/calc.at: Use m4_match.
1647 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
1649 2001-09-10 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
1651 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
1653 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
1655 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
1656 * src/lex.h: Adjust prototype.
1657 (token_t): Add `tok_undef'.
1658 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
1659 (parse_percent_token): Now returns token_t.
1660 Add default statement in switch.
1661 (lex): Separate `c' as an input variable, from the token_t result
1663 (unlexed): Is a token_t.
1665 2001-09-10 Akim Demaille <akim@epita.fr>
1667 * configure.in: Bump to 1.29a.
1669 2001-09-07 Akim Demaille <akim@epita.fr>
1673 2001-08-30 Akim Demaille <akim@epita.fr>
1675 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
1676 * m4/atconfig.m4: Remove.
1677 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
1679 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
1680 m4_if, m4_patsubst, and m4_regexp.
1681 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
1682 `input' file instead of echo.
1684 2001-08-29 Akim Demaille <akim@epita.fr>
1688 2001-08-29 Akim Demaille <akim@epita.fr>
1692 2001-08-29 Paul Eggert <eggert@twinsun.com>
1694 * src/bison.simple (yyparse): Don't take the address of an
1695 item before the start of an array, as that doesn't conform to
1698 2001-08-29 Robert Anisko <anisko_r@epita.fr>
1700 * doc/bison.texinfo (Location Tracking Calc): New node.
1702 2001-08-29 Paul Eggert <eggert@twinsun.com>
1704 * src/output.c (output): Do not define const, as this now
1705 causes more problems than it cures.
1707 2001-08-29 Akim Demaille <akim@epita.fr>
1709 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
1711 Be sure to tag the `detailmenu'.
1713 2001-08-29 Akim Demaille <akim@epita.fr>
1715 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
1716 download in a tmp dir.
1718 2001-08-28 Marc Autret <autret_m@epita.fr>
1720 * config/depcomp: New file.
1722 2001-08-28 Marc Autret <autret_m@epita.fr>
1724 * doc/bison.1 (mandoc): Adjust.
1725 From Juan Manuel Guerrero.
1727 2001-08-28 Marc Autret <autret_m@epita.fr>
1729 * src/print_graph.c (print_state): Fix.
1731 2001-08-27 Marc Autret <autret_m@epita.fr>
1733 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
1735 Echo modifications to the functions prototypes.
1736 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
1738 2001-08-27 Marc Autret <autret_m@epita.fr>
1740 * src/vcg.c: Include `xalloc.h'.
1741 (add_colorentry): New.
1742 (add_classname): New.
1743 (add_infoname): New.
1744 * src/vcg.h: Add new prototypes.
1746 2001-08-27 Akim Demaille <akim@epita.fr>
1748 * Makefile.maint: Sync. again with CVS Autoconf.
1750 2001-08-27 Akim Demaille <akim@epita.fr>
1752 * Makefile.maint: Formatting changes.
1753 (po-update, cvs-update, update): New targets.
1756 2001-08-27 Akim Demaille <akim@epita.fr>
1758 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1759 * Makefile.maint: Sync. with CVS Autoconf.
1761 2001-08-27 Marc Autret <autret_m@epita.fr>
1763 * src/vcg.h (struct infoname_s): New.
1764 (struct colorentry_s): New.
1765 (graph_s): New fields {vertical,horizontal}_order in structure.
1766 Add `infoname' field.
1767 Add `colorentry' field;
1768 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
1769 (G_HORIZONTAL_ORDER): New.
1771 (G_COLORENTRY): New.
1772 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
1773 Add output of `infoname'.
1774 Add output of `colorentry'.
1776 2001-08-27 Marc Autret <autret_m@epita.fr>
1778 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
1779 This one shadowed a global parameter.
1781 2001-08-24 Marc Autret <autret_m@epita.fr>
1783 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
1784 instead of `unsigned'.
1785 (print_state): Do not call obstack_object_size () in obstack_grow ()
1786 to avoid macro variables shadowing.
1788 2001-08-23 Marc Autret <autret_m@epita.fr>
1790 * src/lex.c (percent_table): Typo: s/naem/name/.
1792 Normalize new options declarations.
1794 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1796 * tests/suite.at: Exercise %header_extension and %source_extension.
1798 2001-08-16 Marc Autret <autret_m@epita.fr>
1800 * src/reader.c (parse_dquoted_param): New.
1801 (parse_header_extension_decl): Use it.
1802 (parse_source_extension_decl): Likewise.
1804 2001-08-16 Marc Autret <autret_m@epita.fr>
1806 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1807 (get_xxxx_str): Use assert () instead of complain ().
1808 Remove return invokations in default cases.
1809 (get_decision_str): Modify default behaviour. Remove second argument.
1810 Echo modifications on calls.
1811 (output_graph): Fix.
1813 2001-08-16 Marc Autret <autret_m@epita.fr>
1815 * src/getargs.c (usage): Update with ``-g, --graph''.
1817 2001-08-16 Marc Autret <autret_m@epita.fr>
1819 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1820 (Option Cross Key): Likewise.
1821 * doc/bison.1: Update.
1823 2001-08-15 Akim Demaille <akim@epita.fr>
1827 2001-08-15 Marc Autret <autret_m@epita.fr>
1829 * src/reader.c (readgram): Indent output macro YYSTYPE.
1830 (packsymbols): Likewise.
1831 (output_token_defines): Likewise.
1832 * src/files.c: Standardize.
1833 (compute_header_macro): New.
1834 (defines_obstack_save): New. Use compute_header_macro.
1835 (output_files): Update. Use defines_obstack_save.
1837 2001-08-15 Akim Demaille <akim@epita.fr>
1839 * doc/bison.texinfo (Table of Symbols): Document
1842 2001-08-15 Akim Demaille <akim@epita.fr>
1844 * missing: Update from CVS Automake.
1845 * config/config.guess, config/config.sub, config/texinfo.tex:
1846 Update from gnu.org.
1848 2001-08-15 Akim Demaille <akim@epita.fr>
1850 * Makefile.maint: Sync with CVS Autoconf.
1852 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1854 * doc/bison.texinfo: Include GNU Free Documentation License from
1856 * doc/fdl.texi: Add to package.
1858 2001-08-14 Marc Autret <autret_m@epita.fr>
1860 Turn on %{source,header}_extension features.
1862 * src/lex.c (percent_table): Un-CPP out header_extension and
1864 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1865 (compute_exts_from_src): Remove conditions. It restores priorities
1868 2001-08-14 Marc Autret <autret_m@epita.fr>
1870 * src/files.c (compute_base_names): Add extensions computing when
1871 `--file-prefix' used.
1872 Standardize function calls.
1874 2001-08-13 Marc Autret <autret_m@epita.fr>
1876 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1877 defining it (defined but null disables alloca).
1879 2001-08-13 Marc Autret <autret_m@epita.fr>
1881 * src/bison.simple (_yy_memcpy): CPP reformat.
1883 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1885 * tests/atconfig.in (CPPFLAGS): Fix.
1887 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1889 * doc/bison.texinfo: Include GNU General Public License from
1891 * doc/gpl.texi: Add to package.
1893 2001-08-10 Marc Autret <autret_m@epita.fr>
1895 * src/print_graph.h: Fix.
1896 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1898 2001-08-10 Akim Demaille <akim@epita.fr>
1900 * src/system.h: Provide default declarations for stpcpy, strndup,
1903 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1905 * doc/bison.texinfo (Locations): Update @$ stuff.
1907 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1909 * src/bison.simple (YYLLOC_DEFAULT): Update.
1912 2001-08-08 Marc Autret <autret_m@epita.fr>
1914 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1915 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1916 Reported by Fabrice Bauzac.
1918 2001-08-08 Marc Autret <autret_m@epita.fr>
1920 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1921 * src/vcg.c (output_node): Fix.
1922 * src/vcg.h: Cleanup.
1923 * src/print_graph.c: Add comments.
1924 (node_output_size): New global variable. Simplify the formatting of
1925 the VCG graph output.
1926 (print_actions): Unused code is now used. It notifies the final state
1927 and no action states in the VCG graph. It also give the reduce actions.
1928 The `shift and goto' edges are red and the `go to state' edges are
1930 Get the current node name and node_obstack by argument.
1931 (node_obstack): New variable.
1932 (print_state): Manage node_obstack.
1933 (print_core): Use node_obstack given by argument.
1934 A node is not only computed here but in print_actions also.
1935 (print_graph): CPP out useless code instead of commenting it.
1937 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1939 * tests/atconfig.in (CPPFLAGS): Fix.
1941 2001-08-07 Akim Demaille <akim@epita.fr>
1943 * src/print_graph.c (quote): New.
1944 (print_core): Use it.
1946 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1948 * src/vcg.c (complain.h): Include it.
1949 Unepitaize `return' invocations.
1950 [NDEBUG] (main): Remove.
1951 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1952 * src/files.c (open_files): Initialize graph_obstack.
1953 * src/print_graph.c (print_actions): CPP out useless code.
1954 (print_core): Don't output the last `\n' in labels.
1956 * src/files.c (output_files): Output the VCG file.
1957 * src/main.c (main): Invoke print_graph ();
1959 2001-08-06 Marc Autret <autret_m@epita.fr>
1961 Automaton VCG graph output.
1962 Using option ``-g'' or long option ``--graph'', you can generate
1963 a gram_filename.vcg file containing a VCG description of the LALR (1)
1964 automaton of your grammar.
1966 * src/main.c: Call to print_graph() function.
1967 * src/getargs.h: Update.
1968 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1969 (graph_flag): New flag.
1971 (getargs): Add case `g'.
1972 * src/files.c (graph_obstack): New obstack struct.
1973 (open_files): Initialize new obstack.
1974 (output_files): Saves graph_obstack if required.
1975 * src/files.h (graph_obstack): New extern declaration.
1976 * src/Makefile.am: Add new source files.
1978 2001-08-06 Marc Autret <autret_m@epita.fr>
1980 * src/print_graph.c, src/print_graph.h (graph): New.
1981 * src/vcg.h: New file.
1982 * src/vcg.c: New file, VCG graph handling.
1984 2001-08-06 Marc Autret <autret_m@epita.fr>
1986 Add of %source_extension and %header_extension which specify
1987 the source or/and the header output file extension.
1989 * src/files.c (compute_base_names): Remove initialisation of
1990 src_extension and header_extension.
1991 (compute_exts_from_gf): Update.
1992 (compute_exts_from_src): Update.
1993 (output_files): Update.
1994 * src/reader.c (parse_header_extension_decl): New.
1995 (parse_source_extension_decl): New.
1996 (read_declarations): New case statements for the new tokens.
1997 * src/lex.c (percent_table): Add entries for %source_extension
1998 and %header_extension.
1999 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
2001 2001-08-06 Marc Autret <autret_m@epita.fr>
2003 * configure.in: Bump to 1.28c.
2004 * doc/bison.texinfo: Texinfo thingies.
2006 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
2008 * tests/atconfig.in (CPPFLAGS): Add.
2009 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
2011 2001-08-03 Akim Demaille <akim@epita.fr>
2015 2001-08-03 Akim Demaille <akim@epita.fr>
2017 * tests/Makefile.am (check-local): Ship testsuite.
2018 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
2021 2001-08-03 Akim Demaille <akim@epita.fr>
2023 * configure.in: Try using -Wformat when compiling.
2025 2001-08-03 Akim Demaille <akim@epita.fr>
2027 * configure.in: Bump to 1.28b.
2029 2001-08-03 Akim Demaille <akim@epita.fr>
2031 * src/complain.c: Adjust strerror_r portability issues.
2033 2001-08-03 Akim Demaille <akim@epita.fr>
2037 2001-08-03 Akim Demaille <akim@epita.fr>
2039 * src/getargs.c, src/getarg.h (skeleton)): Constify.
2040 * src/lex.c (literalchar): Avoid name clashes on `buf'.
2041 * src/getargs.c: Include complain.h.
2042 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
2043 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
2045 2001-08-03 Akim Demaille <akim@epita.fr>
2047 * src/reader.c (readgram): Display hidden chars in error messages.
2049 2001-08-03 Akim Demaille <akim@epita.fr>
2051 Update to gettext 0.10.39.
2053 2001-08-03 Akim Demaille <akim@epita.fr>
2055 * lib/strspn.c: New.
2057 2001-08-01 Marc Autret <autret_m@epita.fr>
2059 * doc/bison.texinfo: Update.
2060 * doc/bison.1 (mandoc): Update.
2061 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
2062 * src/files.c: Support output files extensions computing.
2063 (src_extension): New static variable.
2064 (header_extension): New static variable.
2066 (get_extension_index): New function, gets the index of an extension
2067 filename in a string.
2068 (compute_exts_from_gf): New function, computes extensions from the
2069 grammar file extension.
2070 (compute_exts_from_src): New functions, computes extensions from the
2071 C source file extension, file given by ``-o'' option.
2072 (compute_base_names): Update.
2073 (output_files): Update.
2075 2001-08-01 Robert Anisko <anisko_r@epita.fr>
2077 * doc/bison.texi: Document @$.
2078 (Locations): New section.
2080 2001-07-18 Akim Demaille <akim@epita.fr>
2082 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
2083 * config/prev-version.txt, config/move-if-change: New.
2084 * Makefile.am: Adjust.
2086 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
2088 * src/bison.simple (yyparse): Suppress warning `comparaison
2089 between signed and unsigned'.
2091 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
2093 * src/getargs.h (raw_flag): Remove.
2094 * src/getargs.c: Die on `-r'/`--raw'.
2095 * src/lex.c (parse_percent_token): Die on `%raw'.
2096 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
2097 * tests/calc.at: Suppress test with option `--raw'.
2099 2001-07-14 Akim Demaille <akim@epita.fr>
2102 * configure.in: Require Autoconf 2.50.
2103 Update to gettext 0.10.38.
2105 2001-03-16 Akim Demaille <akim@epita.fr>
2107 * doc/bison.texinfo: ANSIfy the examples.
2109 2001-03-16 Akim Demaille <akim@epita.fr>
2111 * getargs.c (skeleton): New variable.
2112 (longopts): --skeleton is a new option.
2113 (shortopts, getargs): -S is a new option.
2114 * getargs.h: Declare skeleton.
2115 * output.c (output_parser): Use it.
2117 2001-03-16 Akim Demaille <akim@epita.fr>
2119 * m4/strerror_r.m4: New.
2120 * m4/error.m4: Run AC_FUNC_STRERROR_R.
2121 * lib/error.h, lib/error.c: Update.
2123 2001-03-16 Akim Demaille <akim@epita.fr>
2125 * src/getargs.c (longopts): Clean up.
2127 2001-02-21 Akim Demaille <akim@epita.fr>
2129 * src/reader.c (gensym): `gensym_count' is your own.
2130 Use a static buf to create the symbol name, as token_buffer is no
2133 2001-02-08 Akim Demaille <akim@epita.fr>
2135 * src/conflicts.c (conflict_report): Be sure not to append to res
2136 between two calls, which could happen if both first sprintf were
2137 skipped, but not the first cp += strlen.
2139 2001-02-08 Akim Demaille <akim@epita.fr>
2141 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
2142 New, from fileutils 4.0.37.
2143 * configure.in: Require Autoconf 2.49c. I took some time before
2144 making this decision. This is the only way out for portability
2145 issues in Bison, it would mean way too much duplicate effort to
2146 import in Bison features implemented in 2.49c since 2.13.
2147 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
2149 2001-02-02 Akim Demaille <akim@epita.fr>
2151 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
2152 * lib/xalloc.h, lib/xmalloc.c: Update.
2154 2001-01-19 Akim Demaille <akim@epita.fr>
2156 Get rid of the ad hoc handling of token_buffer in the scanner: use
2159 * src/lex.c (token_obstack): New.
2160 (init_lex): Initialize it. No longer call...
2161 (grow_token_buffer): this. Remove it.
2162 Adjust all the places which used it to use the obstack.
2164 2001-01-19 Akim Demaille <akim@epita.fr>
2166 * src/lex.h: Rename all the tokens:
2167 s/\bENDFILE\b/tok_eof/g;
2168 s/\bIDENTIFIER\b/tok_identifier/g;
2170 Let them be enums, not #define, to ease debugging.
2171 Adjust all the code.
2173 2001-01-18 Akim Demaille <akim@epita.fr>
2175 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
2176 * src/lex.c (maxtoken, grow_token_buffer): Static.
2178 2001-01-18 Akim Demaille <akim@epita.fr>
2180 Since we now use obstacks, more % directives can be enabled.
2182 * src/lex.c (percent_table): Also accept `%yacc',
2183 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
2185 Handle the actions for `%semantic_parser' and `%pure_parser' here,
2186 instead of returning a token.
2187 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
2188 * src/reader.c (read_declarations): Adjust.
2189 * src/files.c (open_files): Don't call `compute_base_names', don't
2190 compute `attrsfile' since they depend upon data which might be
2191 *in* the input file now.
2192 (output_files): Do it here.
2193 * src/output.c (output_headers): Document the fact that this patch
2194 introduces a guaranteed SEGV for semantic parsers.
2195 * doc/bison.texinfo: Document them.
2196 * tests/suite.at: Exercise these %options.
2198 2000-12-20 Akim Demaille <akim@epita.fr>
2200 Also handle the output file (--verbose) with obstacks.
2202 * files.c (foutput): Remove.
2203 (output_obstack): New.
2204 Adjust all dependencies.
2205 * src/conflicts.c: Return a string.
2206 * src/system.h (obstack_grow_string): Rename as...
2207 (obstack_sgrow): this. Be ready to work with non literals.
2208 (obstack_fgrow4): New.
2210 2000-12-20 Akim Demaille <akim@epita.fr>
2212 * src/files.c (open_files): Fix the computation of short_base_name
2213 in the case of `-o foo.tab.c'.
2215 2000-12-20 Akim Demaille <akim@epita.fr>
2217 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
2218 (copy_dollar): Now that everything uses obstacks, get rid of the
2221 2000-12-20 Akim Demaille <akim@epita.fr>
2223 * src/files.c (open_files): Actually the `.output' file is based
2224 on the short_base_name, not base_name.
2225 * tests/suite.at (Checking output file names): Adjust.
2227 2000-12-20 Akim Demaille <akim@epita.fr>
2229 * src/bison.s1: Remove, we now use directly...
2230 * src/bison.simple: this.
2231 * src/Makefile.am: Use pkgdata instead of data.
2233 2000-12-20 Akim Demaille <akim@epita.fr>
2235 * src/files.c (guard_obstack): New.
2236 (open_files): Initialize it.
2237 (output_files): Dump it...
2238 * src/files.h: Export it.
2239 * src/reader.c (copy_guard): Use it.
2241 2000-12-19 Akim Demaille <akim@epita.fr>
2243 * src/files.c (outfile, defsfile, actfile): Removed as global
2245 (open_files): Don't compute them.
2246 (output_files): Adjust.
2247 (base_name, short_base_name): Be global.
2248 Adjust dependencies.
2250 2000-12-19 Akim Demaille <akim@epita.fr>
2252 * src/files.c (strsuffix): New.
2253 (stringappend): Be just like strcat but allocate.
2254 (base_names): Eve out from open_files.
2255 Try to simplify the rather hairy computation of base_name and
2257 (open_files): Use it.
2258 * tests/suite.at (Checking output file names): New test.
2260 2000-12-19 Akim Demaille <akim@epita.fr>
2262 * src/system.h (obstack_grow_literal_string): Rename as...
2263 (obstack_grow_string): this.
2264 * src/output.c (output_parser): Recognize `%% actions' instead of
2266 * src/bison.s1: s/$/%% actions/.
2267 * src/bison.hairy: Likewise.
2269 2000-12-19 Akim Demaille <akim@epita.fr>
2271 * src/output.c (output_parser): Compute the `#line' lines when
2273 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
2274 Suggested by Hans Aberg.
2276 2000-12-19 Akim Demaille <akim@epita.fr>
2278 Let the handling of the skeleton files be local to the procedures
2281 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
2283 (fparser, open_extra_files): Remove.
2284 (open_files, output_files): Don't take care of fparser.
2285 * src/files.h: Adjust.
2286 * src/output.c (output_parser): Open and close the file to the
2288 * src/reader.c (read_declarations): When %semantic_parser, open
2291 2000-12-19 Akim Demaille <akim@epita.fr>
2293 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
2294 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
2296 2000-12-19 Akim Demaille <akim@epita.fr>
2298 * src/files.c (open_files): Yipee! We no longer need all the code
2299 looking for `/tmp' since we have no tmp file.
2301 2000-12-19 Akim Demaille <akim@epita.fr>
2303 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
2305 * src/files.c (open_files): Less dependency on MSDOS etc.
2307 2000-12-14 Akim Demaille <akim@epita.fr>
2309 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
2310 Provide a default definition.
2311 Use it when executing the default @ action.
2312 * src/reader.c (reader_output_yylsp): No longer include
2313 `timestamp' and `text' in the default YYLTYPE.
2315 2000-12-12 Akim Demaille <akim@epita.fr>
2317 * src/reader.c (copy_definition, parse_union_decl, copy_action)
2318 (copy_guard): Quote the file names.
2319 Reported by Laurent Mascherpa.
2321 2000-12-12 Akim Demaille <akim@epita.fr>
2323 * src/output.c (output_headers, output_program, output): Be sure
2324 to escape special characters when outputting filenames.
2325 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
2326 (output_headers): Don't depend on them, Use ACTSTR.
2328 2000-11-17 Akim Demaille <akim@epita.fr>
2330 * lib/obstack.h: Formatting changes.
2331 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2332 prevents type checking.
2333 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2334 cast the value to (void *): assigning a `foo *' to a `void *'
2336 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2337 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
2340 2000-11-17 Akim Demaille <akim@epita.fr>
2342 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
2344 (suite.m4, regression.m4, calc.m4): these.
2345 * tests/atgeneral.m4: Update from CVS Autoconf.
2347 2000-11-17 Akim Demaille <akim@epita.fr>
2349 * tests/regression.m4 (%union and --defines): New test,
2350 demonstrating a current bug in the obstack implementation.
2352 2000-11-17 Akim Demaille <akim@epita.fr>
2354 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
2356 Use them to declare the variables which are global or local to
2359 2000-11-17 Akim Demaille <akim@epita.fr>
2361 * acconfig.h: Remove, no longer used.
2363 2000-11-07 Akim Demaille <akim@epita.fr>
2365 * src: s/Copyright (C)/Copyright/g.
2367 2000-11-07 Akim Demaille <akim@epita.fr>
2369 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
2371 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
2373 2000-11-07 Akim Demaille <akim@epita.fr>
2375 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
2376 Merge in a single CPP if/else.
2378 2000-11-07 Akim Demaille <akim@epita.fr>
2380 * src/output.c (output): Remove useless variables.
2381 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
2382 argument `data' for consistency with the prototypes.
2384 (obstack_copy, obstack_copy0): Rename the second argument as
2385 `address' for consistency. Qualify it `const'.
2386 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2387 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2388 `const' their input argument (`data' or `address').
2389 Adjust the corresponding macros to include `const' in casts.
2391 2000-11-03 Akim Demaille <akim@epita.fr>
2393 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
2394 s/PFILE1/BISON_HAIRY/.
2395 Adjust dependencies.
2397 2000-11-03 Akim Demaille <akim@epita.fr>
2399 For some reason, this was not applied.
2401 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2402 `unlink': it's no longer used.
2404 2000-11-03 Akim Demaille <akim@epita.fr>
2406 * src/files.c (skeleton_find): New function, eved out of...
2407 (open_files, open_extra_files): here.
2409 2000-11-03 Akim Demaille <akim@epita.fr>
2413 * src/files.c (obstack_save): New function.
2414 (done): Rename as...
2415 (output_files): this.
2417 * src/main.c (main): Don't use `atexit' to register `done', since
2418 it no longer has to remove tmp files, just call `output_files'
2419 when there are no errors.
2421 2000-11-02 Akim Demaille <akim@epita.fr>
2423 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2424 `unlink': it's no longer used.
2425 * src/files.h: Formatting changes.
2427 2000-11-02 Akim Demaille <akim@epita.fr>
2429 Remove the last uses of mktemp and unlink/delete.
2431 * src/files.c (fdefines, ftable): Removed.
2432 (defines_ostack, table_obstack): New.
2433 Adjust dependencies of the former into uses of the latter.
2434 * src/output.c (output_short_or_char_table, output_short_table):
2435 Convert to using obstacks.
2436 * src/reader.c (copy_comment2): Accept one FILE * and two
2438 (output_token_defines, reader_output_yylsp): Use obstacks.
2439 * src/system.h (obstack_fgrow3): New.
2441 2000-11-01 Akim Demaille <akim@epita.fr>
2443 Change each use of `fattrs' into a use of `attrs_obstack'.
2445 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2446 * src/files.c (fattrs): Remove.
2447 (attrs_obstack): New.
2448 Adjust all dependencies.
2449 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2451 2000-11-01 Akim Demaille <akim@epita.fr>
2454 Change each use of `faction' into a use of `action_obstack'.
2456 * lib/obstack.h, lib/obstack.c: New files.
2457 * src/files.c (faction): Remove.
2458 (action_obstack): New.
2459 Adjust all dependencies.
2461 2000-10-20 Akim Demaille <akim@epita.fr>
2463 * lib/quote.h (PARAMS): New macro. Use it.
2465 2000-10-16 Akim Demaille <akim@epita.fr>
2467 * src/output.c (output_short_or_char_table): New function.
2468 (output_short_table, output_token_translations): Use it.
2469 (goto_actions): Use output_short_table.
2471 2000-10-16 Akim Demaille <akim@epita.fr>
2473 * src/symtab.c (bucket_new): New function.
2476 * src/output.c (output_short_table): New argument to display the
2477 comment associated with the table.
2478 Adjust dependencies.
2479 (output_gram): Use it.
2480 (output_rule_data): Nicer output layout for YYTNAME.
2482 2000-10-16 Akim Demaille <akim@epita.fr>
2484 * src/lex.c (read_typename): New function.
2486 * src/reader.c (copy_dollar): Likewise.
2488 2000-10-16 Akim Demaille <akim@epita.fr>
2490 * src/reader.c (copy_comment2): Expect the input stream to be on
2491 the `/' which is suspected to open a comment, instead of being
2492 called after `//' or `/*' was read.
2493 (copy_comment, copy_definition, parse_union_decl, copy_action)
2494 (copy_guard): Adjust.
2496 2000-10-16 Akim Demaille <akim@epita.fr>
2498 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2499 `read_signed_integer'.
2501 2000-10-16 Akim Demaille <akim@epita.fr>
2503 * src/reader.c (copy_dollar): New function.
2504 (copy_guard, copy_action): Use it.
2506 2000-10-16 Akim Demaille <akim@epita.fr>
2508 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2509 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2510 New files, from Fileutils 4.0.27.
2511 * src/main.c (printable_version): Remove.
2512 * src/lex.c, src/reader.c: Use `quote'.
2514 2000-10-04 Akim Demaille <akim@epita.fr>
2516 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2518 2000-10-04 Akim Demaille <akim@epita.fr>
2520 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2522 2000-10-04 Akim Demaille <akim@epita.fr>
2524 When a literal string is used to define two different tokens,
2525 `bison -v' segfaults.
2526 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2528 * tests/regression.m4: New file.
2529 Include the core of the sample provided by Piotr Gackiewicz.
2530 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2533 2000-10-04 Akim Demaille <akim@epita.fr>
2535 * src/reader.c (parse_expect_decl): Keep `count' within the size
2539 2000-10-02 Paul Eggert <eggert@twinsun.com>
2541 * bison.s1 (yyparse): Assign the default value
2542 unconditionally, to avoid a GCC warning and make the parser a
2545 2000-10-02 Akim Demaille <akim@epita.fr>
2547 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2550 2000-10-02 Akim Demaille <akim@epita.fr>
2552 * src/derives.c, src/print.c, src/reduce.c: To ease the
2553 translation, move some `\n' out of the translated strings.
2555 2000-10-02 Akim Demaille <akim@epita.fr>
2557 The location tracking mechanism is precious for parse error
2558 messages. Nevertheless, it is enabled only when `@n' is used in
2559 the grammar, which is a different issue (you can use it in error
2560 message, but not in the grammar per se). Therefore, there should
2561 be another means to enable it.
2563 * src/getargs.c (getargs): Support `--locations'.
2565 * src/getargs.h (locationsflag): Export it.
2566 * src/lex.c (percent_table): Support `%locations'.
2567 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2568 with `locationsflag'.
2569 * doc/bison.texinfo: Document `--locations' and `%locations'.
2571 * tests/calc.m4: Test it.
2573 For regularity of the names, replace each
2574 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2575 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2576 In addition replace each `flag' with `_flag'.
2578 2000-10-02 Akim Demaille <akim@epita.fr>
2580 Also test parse error messages, including with YYERROR_VERBOSE.
2582 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2584 Use it to check the computations.
2585 Use it to check `nonassoc' is honored.
2586 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2587 `--yyerror-verbose'.
2588 (_AT_CHECK_CALC): Adjust to this option.
2589 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2591 2000-10-02 Akim Demaille <akim@epita.fr>
2593 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2594 the latter demonstrates a flaw in the handling of non debugging
2595 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2596 was used in order to simplify:
2612 unfortunately this leads to a CPP conflict when
2613 `--name-prefix=foo' is used since it produces `#define yydebug
2616 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2617 (YYDPRINTF): New macro.
2619 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2621 Also test `--verbose', `--defines' and `--name-prefix'.
2623 2000-10-02 Akim Demaille <akim@epita.fr>
2625 Improve the readability of the produced parsers.
2627 * src/bison.s1: Formatting changes.
2628 Improve the comment related to the `$' mark.
2629 (yydefault): Don't fall through to `yyresume': `goto' there.
2630 * src/output.c (output_parser): When the `$' is met, skip the end
2632 New variable, `number_of_dollar_signs', to check there's exactly
2633 one `$' in the parser skeleton.
2635 2000-10-02 Akim Demaille <akim@epita.fr>
2637 * lib/xstrdup.c: New file, from the fileutils.
2638 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2639 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2640 instead of strlen + xmalloc + strcpy.
2641 * src/symtab.c (copys): Remove, use xstrdup instead.
2643 2000-10-02 Akim Demaille <akim@epita.fr>
2645 * src/gram.h (associativity): New enum type which replaces the
2646 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2647 `right_assoc', `left_assoc' and `non_assoc'.
2648 Adjust all dependencies.
2649 * src/reader.c: Formatting changes.
2650 (LTYPESTR): Don't define it, use it as a literal in
2651 `reader_output_yylsp'.
2652 * src/symtab.h (symbol_class): New enum type which replaces the
2653 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2654 `sunknown', `stoken and `snterm'.
2656 2000-10-02 Akim Demaille <akim@epita.fr>
2658 * src/getargs.c (fixed_outfiles): Rename as...
2659 (yaccflag): for consistency and accuracy.
2660 Adjust dependencies.
2662 2000-10-02 Akim Demaille <akim@epita.fr>
2664 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2665 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2666 difficult and introduced a lot of core dump. It turns out that
2667 Bison used an implementation of `xmalloc' based on `calloc', and
2668 at various places it does depend upon the initialization to 0. I
2669 have not tried to isolate the pertinent places, and all the former
2670 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2671 someone should address this issue.
2673 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2674 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2676 Adjust dependencies.
2677 * src/warshall.h: New file.
2680 2000-10-02 Akim Demaille <akim@epita.fr>
2682 Various anti-`extern in *.c' changes.
2684 * src/system.h: Include `assert.h'.
2686 2000-10-02 Akim Demaille <akim@epita.fr>
2688 * src/state.h (nstates, final_state, first_state, first_shift)
2689 (first_reduction): Move their exportation from here...
2690 * src/LR0.h: to here.
2691 Adjust dependencies.
2692 * src/getargs.c (statisticsflag): New variable.
2693 Add support for `--statistics'.
2694 Adjust dependencies.
2696 Remove a lot of now useless `extern' statements in most files.
2698 2000-10-02 Akim Demaille <akim@epita.fr>
2700 * src/LR0.h: New file.
2703 2000-10-02 Akim Demaille <akim@epita.fr>
2705 * src/print.h: New file.
2707 * src/print.c: Formatting and ordering changes.
2708 (verbose, terse): Replace with...
2709 (print_results): this new function.
2710 Adjust dependencies.
2712 2000-10-02 Akim Demaille <akim@epita.fr>
2714 * src/conflicts.c (conflict_report): New function.
2715 (conflict_log, verbose_conflict_log): Replace with...
2716 (print_conflicts): this function.
2717 Adjust dependencies.
2718 * src/conflicts.h: New file.
2719 Propagate its inclusion.
2721 2000-10-02 Akim Demaille <akim@epita.fr>
2723 * src/nullable.h: New file.
2724 Propagate its inclusion.
2725 * src/nullable.c: Formatting changes.
2727 2000-10-02 Akim Demaille <akim@epita.fr>
2729 * src/reduce.h: New file.
2730 Propagate its inclusion.
2731 * src/reduce.c: Topological sort and other formatting changes.
2732 (bool, TRUE, FALSE): Move their definition to...
2733 * src/system.h: here.
2735 2000-10-02 Akim Demaille <akim@epita.fr>
2737 * src/files.c: Formatting changes.
2738 (tryopen, tryclose, openfiles): Rename as...
2739 (xfopen, xfclose, open_files): this.
2740 (stringappend): static.
2741 * src/files.h: Complete the list of exported symbols.
2744 2000-10-02 Akim Demaille <akim@epita.fr>
2746 * src/reader.h: New file.
2747 Propagate its use instead of tedious list of `extern' and
2749 * src/reader.c: Formatting changes, topological sort,
2752 2000-10-02 Akim Demaille <akim@epita.fr>
2754 * src/lex.h: Prototype `lex.c' exported functions.
2755 * src/reader.c: Adjust.
2756 * src/lex.c: Formatting changes.
2757 (safegetc): Rename as...
2760 2000-10-02 Akim Demaille <akim@epita.fr>
2762 * src/lalr.h: New file.
2763 Propagate its inclusion instead of prototypes and `extern'.
2764 * src/lalr.c: Formatting changes, topological sorting etc.
2766 2000-10-02 Akim Demaille <akim@epita.fr>
2768 * src/output.c (token_actions): Introduce a temporary array,
2769 YYDEFACT, that makes it possible for this function to use
2772 2000-10-02 Akim Demaille <akim@epita.fr>
2774 `user_toknums' is output as a `short[]' in `output.c', while it is
2775 defined as a `int[]' in `reader.c'. For consistency with the
2776 other output tables, `user_toknums' is now defined as a table of
2779 * src/reader.c (user_toknums): Be a short table instead of an int
2781 Adjust dependencies.
2783 Factor the short table outputs.
2785 * src/output.c (output_short_table): New function.
2786 * src/output.c (output_gram, output_stos, output_rule_data)
2787 (output_base, output_table, output_check): Use it.
2789 2000-10-02 Akim Demaille <akim@epita.fr>
2791 * src/output.c (output): Topological sort of the functions, in
2792 order to get rid of the `static' prototypes.
2793 No longer use `register'.
2794 * src/output.h: New file.
2795 Propagate its inclusion in files explicitly prototyping functions
2798 2000-09-21 Akim Demaille <akim@epita.fr>
2800 * src/atgeneral.m4: Update from Autoconf.
2802 2000-09-21 Akim Demaille <akim@epita.fr>
2804 * src/closure.h: New file.
2805 * src/closure.c: Formatting changes, topological sort over the
2806 functions, use of closure.h.
2807 (initialize_closure, finalize_closure): Rename as...
2808 (new_closure, free_closure): these. Adjust dependencies.
2809 * src/LR0.c: Formatting changes, topological sort, use of
2811 (initialize_states): Rename as...
2813 * src/Makefile.am (noinst_HEADERS): Adjust.
2815 2000-09-20 Akim Demaille <akim@epita.fr>
2817 * src/acconfig.h: Don't protect config.h against multiple
2819 Don't define PARAMS.
2820 * src/system.h: Define PARAMS.
2821 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2822 purpose of config.h. system.h must not try to fix wrong
2823 definitions in config.h.
2825 2000-09-20 Akim Demaille <akim@epita.fr>
2827 * src/derives.h: New file.
2828 * src/main.c, src/derives.h: Use it.
2830 * src/Makefile.am (noinst_HEADERS): Adjust.
2832 2000-09-20 Akim Demaille <akim@epita.fr>
2834 * tests/atgeneral.m4: Update from Autoconf.
2835 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2836 (AT_CHECK_CALC): New macros.
2837 Use these macros to test bison with options `', `--raw',
2838 `--debug', `--yacc', `--yacc --debug'.
2840 2000-09-19 Akim Demaille <akim@epita.fr>
2842 * src/output.c: Formatting changes.
2843 * src/machine.h: Remove, leaving its contents in...
2844 * src/system.h: here.
2846 Adjust all dependencies on stdio.h and machine.h.
2847 * src/getargs.h: New file.
2848 Let all `extern' declarations about getargs.c be replaced with
2849 inclusion of `getargs.h'.
2850 * src/Makefile.am (noinst_HEADERS): Adjust.
2852 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2854 (yyerror): Returns void, not int.
2855 * doc/bison.texinfo: Formatting changes.
2857 2000-09-19 Akim Demaille <akim@epita.fr>
2859 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2862 2000-09-18 Akim Demaille <akim@epita.fr>
2864 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2865 * src/Makefile.am (INCLUDES): Don't.
2866 Be ready to fetch headers in lib/.
2868 2000-09-18 Akim Demaille <akim@epita.fr>
2870 * doc/bison.texinfo: Update the copyright.
2871 ANSIfy and GNUify the examples.
2872 Remove the old menu.
2874 2000-09-18 Akim Demaille <akim@epita.fr>
2876 First set of tests: use the `calc' example from the documentation.
2878 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2879 is defined only when YYDEBUG is.
2880 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2881 * src/files.c (tryopen, tryclose): Formatting changes.
2882 Move to the top and be static.
2883 * src/reader.c (read_signed_integer): Likewise.
2884 * tests/calc.m4: New file.
2885 * Makefile.am, suite.m4: Adjust.
2886 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2888 2000-09-18 Akim Demaille <akim@epita.fr>
2890 Add support for an Autotest test suite for Bison.
2892 * m4/m4.m4, m4/atconfig.m4: New files.
2893 * m4/Makefile.am (EXTRA_DIST): Adjust.
2894 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2896 * src/getargs.c: Display a more standard --version message.
2897 * src/reader.c (reader): Formatting changes.
2898 No longer depend upon VERSION_STRING.
2899 * configure.in: No longer use `dnl'.
2900 Set up the test suite and the new directory `tests/.
2901 (VERSION_STRING): Remove.
2903 2000-04-14 Akim Demaille <akim@epita.fr>
2905 * src/reader.c (copy_comment2): New function, same as former
2906 `copy_comment', but outputs into two FILE *.
2907 (copy_comment): Use it.
2908 (parse_union_decl): Use it.
2909 (get_type, parse_start_decl): Use the same `invalid' message.
2910 (parse_start_decl, parse_union_decl): Use the same `multiple'
2912 (parse_union_decl, copy_guard, copy_action): Use the same
2913 `unmatched' message.
2914 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2916 2000-03-31 Akim Demaille <akim@epita.fr>
2918 * src/files.c (tryopen, tryclose): Move to the top.
2921 2000-03-31 Akim Demaille <akim@epita.fr>
2923 * src/main.c (main): Don't call `done', exit does it.
2925 2000-03-31 Akim Demaille <akim@epita.fr>
2927 * allocate.c: s/return (foo)/return foo/.
2930 * output.c: Likewise.
2931 * reader.c: Likewise.
2932 * symtab.c: Likewise.
2933 * vmsgetargs.c: Likewise.
2935 2000-03-31 Akim Demaille <akim@epita.fr>
2937 Clean up the error reporting functions.
2939 * src/report.c: New file.
2940 * src/report.h: Likewise.
2941 * src/Makefile.am: Adjust.
2942 * m4/error.m4: New file.
2943 * m4/Makefile.am: Adjust.
2944 * configure.in (jm_PREREQ_ERROR): Call it.
2945 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2947 (fatal, fatals): Remove. All callers use complain.c::fatal.
2948 (warn, warni, warns, warnss, warnss): Remove. All callers use
2949 complain.c::complain.
2950 (toomany): Remove, use fatal instead.
2951 * src/files.c (done): No argument, use complain_message_count.
2952 * src/main.c (main): Register `done' to `atexit'.
2954 * src/getargs.c (usage): More `fputs', less `fprintf'.
2956 2000-03-28 Akim Demaille <akim@epita.fr>
2958 * lib/: New directory.
2959 * Makefile.am (SUBDIRS): Adjust.
2960 * configure.in: Adjust.
2961 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2963 * src/alloca.c: Moved to lib/.
2964 * src/getopt.c: Likewise.
2965 * src/getopt1.c: Likewise.
2966 * src/getopt.h: Likewise.
2967 * src/ansi2knr.c: Likewise.
2968 * src/ansi2knr.1: Likewise.
2969 * src/Makefile.am: Adjust.
2970 * lib/Makefile.am: New file.
2972 2000-03-28 Akim Demaille <akim@epita.fr>
2974 * src/getargs.c (usage): Refresh the help message.
2976 2000-03-17 Akim Demaille <akim@epita.fr>
2978 * src/getopt1.c: Updated from textutils 2.0e
2979 * src/getopt.c: Likewise.
2980 * src/getopt.h: Likewise.
2982 2000-03-17 Akim Demaille <akim@epita.fr>
2984 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2985 the file name, not the whole `#line LINE FILE'.
2987 2000-03-17 Akim Demaille <akim@epita.fr>
2989 On syntax errors, report the token on which we choked.
2991 * src/bison.s1 (yyparse): In the label yyerrlab, when
2992 YYERROR_VERBOSE, add yychar in msg.
2994 2000-03-17 Akim Demaille <akim@epita.fr>
2996 * src/reader.c (copy_at): New function.
2997 (copy_guard): Use it.
2998 (copy_action): Use it.
3000 2000-03-17 Akim Demaille <akim@epita.fr>
3002 Be kind to translators, save some useless translations.
3004 * src/main.c (banner): New function.
3005 (fatal_banner): Use it.
3006 (warn_banner): Use it.
3008 2000-03-17 Akim Demaille <akim@epita.fr>
3010 * src/reader.c (copy_definition): Use copy_string and
3011 copy_comment. Removed now unused `match', `ended',
3013 (copy_comment, copy_string): Moved, to be visible from
3016 2000-03-17 Akim Demaille <akim@epita.fr>
3018 * src/reader.c (copy_string): Declare `static inline'. No
3019 problems with inline, since it is checked by configure.
3020 (copy_comment): Likewise.
3022 2000-03-17 Akim Demaille <akim@epita.fr>
3024 * src/reader.c (packsymbols): Formatting changes.
3026 2000-03-17 Akim Demaille <akim@epita.fr>
3028 * src/reader.c (copy_comment): New function, factored out from:
3029 (copy_action): Use it. Removed now unused `match', `ended',
3031 (copy_guard): Likewise.
3033 2000-03-17 Akim Demaille <akim@epita.fr>
3035 * src/reader.c (copy_string): New function, factored out from:
3036 (copy_action): Use it.
3037 (copy_guard): Likewise.
3039 2000-03-17 Akim Demaille <akim@epita.fr>
3041 Change the handling of @s so that they behave exactly like $s.
3042 There is now a pseudo variable @$ (readble and writable), location
3043 of the lhs of the rule (by default ranging from the location of
3044 the first symbol of the rhs, to the location of the last symbol,
3045 or, if the rhs is empty, YYLLOC).
3047 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
3049 (yyparse): When providing a default semantic action, provide a
3050 default location action.
3051 (after the $): No longer change `*YYLSP', just stack YYLOC the
3052 same way you stack YYVAL.
3053 * src/reader.c (read_declarations): Use warns.
3054 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
3055 (copy_action, case '@'): Likewise.
3056 Use a standard error message, to save useless work from
3059 2000-03-17 Akim Demaille <akim@epita.fr>
3061 * src/bison.s1: Formatting and cosmetics changes.
3062 * src/reader.c: Likewise.
3063 Update the Copyright notice.
3065 2000-03-17 Akim Demaille <akim@epita.fr>
3067 * src/bison.s1 (#line): All set to `#line' only, since the
3068 Makefile now handles them.
3070 2000-03-16 Akim Demaille <akim@epita.fr>
3072 * src/output.c (output_rule_data): Output the documentation of
3074 (Copyright notice): Update.
3077 2000-03-16 Akim Demaille <akim@epita.fr>
3079 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
3080 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
3081 One `#if YYDEBUG' remains, since it uses variables which are
3082 defined only if `YYDEBUG != 0'.
3084 2000-03-16 Akim Demaille <akim@epita.fr>
3086 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
3087 and related variables so that the similarities are highlighted.
3089 2000-03-16 Akim Demaille <akim@epita.fr>
3091 * src/bison.s1: Properly indent CPP directives.
3093 2000-03-16 Akim Demaille <akim@epita.fr>
3095 * src/bison.s1: Properly indent the `alloca' CPP section.
3097 2000-03-16 Akim Demaille <akim@epita.fr>
3099 Do not hard code values of directories in `configure.in'.
3100 Update the `configure' tool chain.
3102 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
3104 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
3105 (AC_OUTPUT): Add m4/Makefile.
3106 Bump to bison 1.28a, 1.29 has never been released.
3107 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
3108 handled via src/Makefile.am.
3109 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
3110 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
3112 * Makefile.am (SUBDIRS): Add m4.
3113 (ACLOCAL_AM_FLAGS): New variable.
3114 (AUTOMAKE_OPTIONS): Add check-news.
3115 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
3116 the proper line number and file name.
3117 (DEFS): Propagate the location of bison library files and of the
3119 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
3121 * acinclude.m4: Remove, replaced by the directory m4.
3122 * m4/Makefile.am (EXTRA_DIST): New variable.
3123 * m4/gettext.m4: New file, from the fileutils.
3124 * m4/lcmessage.m4: Likewise
3125 * m4/progtest.m4: Likewise.
3126 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
3128 2000-03-10 Akim Demaille <akim@epita.fr>
3131 Formatting changes of various comments.
3132 Respect the GNU coding standards at various places.
3133 Don't use `_()' when no translation is needed.
3135 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3138 OS/2 honors TMPDIR environment variable.
3140 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3142 * doc/bison.texinfo: Tweaked spelling and grammar.
3144 Removed reference to price of printed copy.
3145 Mention BISON_SIMPLE and BISON_HAIRY.
3147 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3149 * configure.in, NEWS:
3150 Bison 1.29 released.
3152 1999-10-27 Jesse Thilo <jthilo@gnu.org>
3154 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
3155 Added reference card.
3157 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3159 * po/ru.po: Added Russian translation.
3161 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3163 * configure.in: Added Russian translation.
3165 1999-07-06 Jesse Thilo <jthilo@gnu.org>
3167 * configure.in, NEWS, README:
3168 Released version 1.28.
3170 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3173 Squashed redefinition warning on some systems.
3175 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
3176 Have configure build version string instead of relying on ANSI string
3179 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3181 * po/POTFILES.in: Got rid of version.c.
3183 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3185 * acconfig.h, configure.in:
3186 Have configure build version string instead of relying on ANSI string
3189 1999-06-08 Jesse Thilo <jthilo@gnu.org>
3192 Dropped mention of `+' for long-named options.
3194 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3196 * src/files.c: Added <unistd.h> for unlink().
3198 * src/Makefile.am, src/system.h:
3201 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3203 * README: Added a FAQ list.
3205 * configure.in, acconfig.h:
3208 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3210 * doc/FAQ, doc/Makefile.am:
3213 1999-05-19 Jesse Thilo <jthilo@gnu.org>
3215 * src/alloc.h, src/symtab.h, src/version.c:
3216 Protected inclusion of "config.h" with HAVE_CONFIG_H.
3218 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3220 * src/.cvsignore, src/Makefile.am:
3221 Reorganized: sources in `src', documentation in `doc'.
3223 * src/lex.c (literalchar):
3224 fixed the code for escaping double quotes (thanks
3227 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3229 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
3230 Adjusted paths to reflect directory reorganization.
3232 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3234 * doc/.cvsignore, doc/Makefile.am:
3235 Reorganized: sources in `src', documentation in `doc'.
3237 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3240 Updated AC_INIT file to reflect directory reorganization.
3242 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
3243 Reorganized: sources in `src', documentation in `doc'.
3245 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3248 Don't declare calloc() and realloc() if not necessary.
3250 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3252 * configure.in, acconfig.h, acinclude.m4:
3253 Don't declare calloc() and realloc() if not necessary.
3255 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3257 * po/.cvsignore: Added i18n support.
3259 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3261 * acconfig.h, configure.in, Makefile.am:
3264 1999-03-22 Jesse Thilo <jthilo@gnu.org>
3266 * src/bison.s1: Fixed #line numbers.
3268 1999-03-15 Jesse Thilo <jthilo@gnu.org>
3270 * po/es.po, po/fr.po, po/nl.po, po/de.po:
3271 Added PO files from Translation Project.
3273 1999-03-03 Jesse Thilo <jthilo@gnu.org>
3276 Added support for non-ANSI compilers (ansi2knr).
3278 1999-02-16 Jesse Thilo <jthilo@gnu.org>
3280 * configure.in: Bumped version number to 1.27.
3283 Added `bison.simple' to list of files removed by `make distclean'.
3285 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3287 * src/files.c, src/files.h:
3288 Defined locations of parser files in config.h instead of Makefile.
3290 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3292 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
3293 Defined locations of parser files in config.h instead of Makefile.
3295 1999-02-09 Jesse Thilo <jthilo@gnu.org>
3298 Removed inappropriate use of $< macro.
3300 1999-02-05 Jesse Thilo <jthilo@gnu.org>
3302 * po/Makefile.in.in, po/POTFILES.in:
3303 Add `po' directory skeleton.
3305 1999-01-27 Jesse Thilo <jthilo@gnu.org>
3307 * README: Document help-bison list.
3309 * configure.in: Add check for mkstemp().
3311 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3313 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
3314 Hush a few compiler warnings.
3317 Add tryclose(), which verifies that fclose was successful.
3318 Hush a couple of compiler warnings.
3320 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3322 * Makefile.am, OChangeLog:
3323 ChangeLog is now automatically generated. Include the old version as
3326 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3328 * src/gram.h, src/lalr.c, src/lex.c, src/lex.h, src/machine.h, src/main.c, src/nullable.c, src/output.c, src/print.c, src/reader.c, src/reduce.c, src/state.h, src/symtab.c, src/symtab.h, src/types.h, src/vmsgetargs.c, src/warshall.c, src/allocate.c, src/alloc.h, src/bison.s1, src/closure.c, src/conflicts.c, src/derives.c, src/files.c, src/files.h, src/getargs.c, src/gram.c, src/LR0.c:
3331 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3333 * doc/bison.texinfo: Fix formatting glitch.
3335 * doc/bison.texinfo: Update FSF address.
3337 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3339 * acconfig.h: Update FSF address.
3341 1999-01-08 Jesse Thilo <jthilo@gnu.org>
3344 Don't define PACKAGE here, since config.h defines it.
3346 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3348 * src/reader.c: Update copyright date.
3351 Ditch sprintf to statically-sized buffers in fatal/warn functions in
3352 favor of output directly to stderr (avoids buffer overruns).
3354 * src/reader.c: Some checks for premature EOF.
3356 * src/allocate.c, src/alloc.h, src/closure.c, src/conflicts.c, src/derives.c, src/getargs.c, src/gram.c, src/lalr.c, src/lex.c, src/LR0.c, src/main.c, src/nullable.c, src/output.c, src/print.c, src/reduce.c, src/symtab.c, src/symtab.h, src/warshall.c:
3357 Use prototypes if the compiler understands them.
3359 * src/files.c: Honor TMPDIR on Unix hosts.
3360 Use prototypes if the compiler understands them.
3363 Fix a couple of buffer overrun bugs.
3364 Use prototypes if the compiler understands them.
3366 * src/system.h: Include unistd.h and ctype.h.
3367 Use #ifdef instead of #if for NLS symbols.
3369 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3371 * doc/bison.texinfo:
3372 Delete comment "consider using @set for edition number, etc..." since
3373 we now are doing so.
3375 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3378 Use prototypes if the compiler understands them.
3380 * NEWS: Document 1.26 highlights.
3382 * Makefile.am: Require Automake 1.3 or later.
3385 Use prototypes if the compiler understands them.
3387 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3390 Use VERSION symbol from automake for version number.
3392 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3394 * acconfig.h, configure.in, version.cin:
3395 Use VERSION symbol from automake for version number.
3397 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3400 Distribute original version of simple parser (bison.s1), not built
3401 version (bison.simple).
3403 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3405 * doc/bison.texinfo: Add info dir entry.
3407 * doc/bison.texinfo:
3408 Let automake put version number into documentation.
3410 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3412 * src/bison.cld, src/build.com, src/vmshlp.mar:
3413 Add non-RCS files from /gd/gnu/bison.
3415 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3418 Document the BISON_HAIRY and BISON_SIMPLE variables.
3420 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3422 * src/version.c: Build version.c automatically.
3425 Fix token numbering (used to start at 258, not 257).
3427 * src/system.h: Include config.h.
3429 * src/getargs.c: Update bug report address.
3431 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3432 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3434 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3437 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3439 * configure.in, version.cin:
3440 Build version.c automatically.
3442 * AUTHORS: Add AUTHORS file.
3444 * README: Update bug report address.
3447 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3449 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3452 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3454 * doc/bison.texinfo: Clean up some formatting.
3456 1998-05-05 Richard Stallman <rms@gnu.org>
3458 * doc/bison.texinfo:
3459 Explain better why to make a pure parser.
3461 1998-01-05 Richard Stallman <rms@gnu.org>
3463 * src/files.c (openfiles):
3464 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3465 find a temporary directory, if possible. Do not unlink files while
3468 1997-08-25 Richard Stallman <rms@gnu.org>
3470 * src/reader.c (stack_offset;):
3471 Change some warni to warns.
3473 * src/lex.c (literalchar): Use warns, not warni.
3475 1997-06-28 Richard Stallman <rms@gnu.org>
3477 * src/bison.s1: Add a Bison version comment.
3479 * src/main.c (fatal, warn, berror):
3482 1997-06-28 Richard Stallman <rms@gnu.org>
3484 * Makefile.in (bison_version): New variable.
3485 (dist): Use that variable.
3486 (bison.s1): Substitute the Bison version into bison.simple.
3488 * bison.simple: Add a Bison version comment.
3490 1997-06-18 Richard Stallman <rms@gnu.org>
3492 * src/main.c (fatal, warn, berror):
3493 Make error messages standard.
3494 (toomany): Improve error message text.
3496 * src/LR0.c, src/closure.c, src/conflicts.c, src/derives.c, src/files.c, src/lalr.c, src/lex.c, src/nullable.c, src/output.c, src/print.c, src/reader.c, src/reduce.c, src/symtab.c:
3497 new.h renamed to alloc.h.
3499 1997-06-18 Richard Stallman <rms@gnu.org>
3501 * Makefile.in: new.h renamed to alloc.h.
3503 1997-05-24 Richard Stallman <rms@gnu.org>
3505 * src/lex.c (literalchar):
3506 Fix the code for escaping \, " and '.
3508 (lex): Avoid trouble when there are many chars
3509 to discard in a char literal with just several chars in it.
3511 1997-05-17 Richard Stallman <rms@gnu.org>
3514 Use malloc, if using alloca is troublesome.
3515 (YYSTACK_USE_ALLOCA): New flag macro.
3516 Define it for some systems and compilers.
3517 (YYSTACK_ALLOC): New macro.
3518 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3519 If it was malloc'd, free it.
3521 1997-05-17 Richard Stallman <rms@gnu.org>
3524 Use malloc, if using alloca is troublesome.
3525 (YYSTACK_USE_ALLOCA): New flag macro.
3526 Define it for some systems and compilers.
3527 (YYSTACK_ALLOC): New macro.
3528 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3529 If it was malloc'd, free it.
3531 1997-04-23 Richard Stallman <rms@gnu.org>
3534 (alloca) [__hpux]: Always define as __builtin_alloca.
3536 1997-04-23 Richard Stallman <rms@gnu.org>
3539 (alloca) [__hpux]: Always define as __builtin_alloca.
3541 1997-04-22 Richard Stallman <rms@gnu.org>
3544 [__hpux]: Include alloca.h (right for HPUX 10)
3545 instead of declaring alloca (right for HPUX 9).
3547 * src/bison.s1 (__yy_memcpy):
3548 Declare arg `count' as unsigned int.
3549 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3551 1997-04-22 Richard Stallman <rms@gnu.org>
3554 [__hpux]: Include alloca.h (right for HPUX 10)
3555 instead of declaring alloca (right for HPUX 9).
3557 * bison.simple (__yy_memcpy):
3558 Declare arg `count' as unsigned int.
3559 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3561 1997-01-03 Richard Stallman <rms@gnu.org>
3563 * src/allocate.c: [__STDC__ or _MSC_VER]:
3564 Declare calloc and realloc to return void *.
3566 1997-01-02 Richard Stallman <rms@gnu.org>
3569 [_MSC_VER]: Include stdlib.h and process.h.
3570 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3572 * src/main.c (main): Return FAILURE as a value.
3573 (printable_version): Declare arg as int, not char.
3575 1997-01-02 Richard Stallman <rms@gnu.org>
3577 * Makefile.in (dist):
3578 Explicitly check for symlinks, and copy them.
3580 1996-12-19 Richard Stallman <rms@gnu.org>
3583 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3585 1996-12-18 Paul Eggert <eggert@gnu.org>
3587 * src/bison.s1 (yyparse):
3588 If __GNUC__ and YYPARSE_PARAM are both defined,
3589 declare yyparse to have a void * argument.
3591 1996-12-18 Paul Eggert <eggert@gnu.org>
3593 * bison.simple (yyparse):
3594 If __GNUC__ and YYPARSE_PARAM are both defined,
3595 declare yyparse to have a void * argument.
3597 1996-12-17 Richard Stallman <rms@gnu.org>
3599 * src/reduce.c (nbits): Add some casts.
3601 1996-08-12 Richard Stallman <rms@gnu.org>
3603 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3605 1996-08-12 Richard Stallman <rms@gnu.org>
3607 * bison.simple: Test _MSDOS as well as _MSDOS_.
3609 1996-07-31 Richard Stallman <rms@gnu.org>
3612 [__sun && __i386]: Include alloca.h.
3614 1996-07-31 Richard Stallman <rms@gnu.org>
3617 [__sun && __i386]: Include alloca.h.
3619 1996-07-30 Richard Stallman <rms@gnu.org>
3621 * src/bison.s1: Comment change.
3623 * src/bison.s1: Test _MSDOS_, not MSDOS.
3625 1996-07-30 Richard Stallman <rms@gnu.org>
3627 * bison.simple: Comment change.
3629 * bison.simple: Test _MSDOS_, not MSDOS.
3631 1996-06-01 Richard Stallman <rms@gnu.org>
3633 * src/reduce.c, src/reader.c, src/print.c, src/output.c, src/nullable.c, src/lex.c, src/lalr.c, src/getargs.c, src/derives.c, src/conflicts.c, src/closure.c, src/allocate.c:
3634 Insert `_' macro around many string constants.
3637 Insert `_' macro around many string constants.
3639 (main): Call setlocale, bindtextdomain and textdomain.
3641 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3642 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3643 [ENABLE_NLS]: Include libintl.h.
3644 [ENABLE_NLS] (gettext): Define.
3645 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3646 (N_, PACKAGE, LOCALEDIR): New macros.
3648 1996-06-01 Richard Stallman <rms@gnu.org>
3650 * POTFILES.in: New file.
3652 * Makefile.in (allocate.o):
3653 Define target explicitly.
3655 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3656 (LDFLAGS): Set to @LDFLAGS@.
3657 (configure): Run autoconf only if preceding `cd' succeeds.
3658 (bison.s1): Redirect output to temporary file then move the
3659 temporary to the target, rather than redirecting directly to bison.s1.
3660 (clean): Remove config.status and config.log.
3661 (distclean): Don't remove config.status here.
3663 1996-05-12 Richard Stallman <rms@gnu.org>
3666 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3668 1996-05-12 Richard Stallman <rms@gnu.org>
3671 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3673 1996-05-11 Richard Stallman <rms@gnu.org>
3675 * src/bison.s1 (__yy_memcpy):
3676 Really reorder the args, as was supposedly done on Feb 14 1995.
3677 (yyparse): Calls changed accordingly.
3679 1996-05-11 Richard Stallman <rms@gnu.org>
3681 * Makefile.in (dist): Don't use $(srcdir).
3683 * bison.simple (__yy_memcpy):
3684 Really reorder the args, as was supposedly done on Feb 14 1995.
3685 (yyparse): Calls changed accordingly.
3687 1996-01-27 Richard Stallman <rms@gnu.org>
3689 * src/output.c (output_rule_data):
3690 Test YYERROR_VERBOSE in the conditional
3691 around the definition of ttyname.
3693 1995-12-29 Richard Stallman <rms@gnu.org>
3696 Fix line numbers in #line commands.
3698 1995-12-29 Richard Stallman <rms@gnu.org>
3701 Fix line numbers in #line commands.
3703 1995-12-27 Richard Stallman <rms@gnu.org>
3705 * src/bison.s1 (YYPARSE_PARAM_DECL):
3706 In C++, make it always null.
3707 (YYPARSE_PARAM_ARG): New macro.
3708 (yyparse): Use YYPARSE_PARAM_ARG.
3710 1995-12-27 Richard Stallman <rms@gnu.org>
3712 * bison.simple (YYPARSE_PARAM_DECL):
3713 In C++, make it always null.
3714 (YYPARSE_PARAM_ARG): New macro.
3715 (yyparse): Use YYPARSE_PARAM_ARG.
3717 1995-11-29 Richard Stallman <rms@gnu.org>
3719 * doc/bison.texinfo:
3720 Describe literal string tokens, %raw, %no_lines, %token_table.
3722 1995-11-29 Daniel Hagerty <hag@gnu.org>
3724 * doc/bison.texinfo: Fixed update date
3726 1995-10-16 Richard Stallman <rms@gnu.org>
3728 * src/version.c: Version 1.25.
3730 1995-10-16 Richard Stallman <rms@gnu.org>
3732 * NEWS: *** empty log message ***
3734 1995-10-16 Richard Stallman <rms@gnu.org>
3736 * doc/bison.1, doc/bison.rnh:
3739 1995-10-15 Richard Stallman <rms@gnu.org>
3741 * src/vmsgetargs.c, src/getargs.c:
3742 Added -n, -k, and -raw switches.
3743 (noparserflag, toknumflag, rawtoknumflag): New variables.
3745 * src/symtab.h (SALIAS):
3746 New #define for adding aliases to %token.
3747 (struct bucket): Added `alias' field.
3749 * src/reduce.c (reduce_grammar):
3750 Revise error message.
3751 (print_notices): Remove final `.' from error message.
3753 * src/reader.c (reader_output_yylsp):
3755 (readgram): Use `#if 0' around code that accepted %command
3756 inside grammar rules: The documentation doesn't allow it,
3757 and it will fail since the %command processors scan for the next %.
3758 (parse_token_decl): Extended the %token
3759 declaration to allow a multi-character symbol as an alias.
3760 (parse_thong_decl): New function.
3761 (read_declarations): Added %thong declarations.
3762 (read_declarations): Handle NOOP to deal with allowing
3763 % declarations as another means to specify the flags.
3764 (readgram): Allow %prec prior to semantics embedded in a rule.
3765 (skip_to_char, read_declarations, copy_definition)
3766 (parse_token_decl, parse_start_decl, parse_type_decl)
3767 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3768 (get_type_name, copy_guard, copy_action, readgram)
3769 (get_type, packsymbols): Revised most error messages.
3770 Changed `fatal' to `warnxxx' to avoid aborting for error.
3771 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3772 (read_declarations): Improve the error message for
3773 an invalid character. Do not abort.
3774 (read_declarations, copy_guard, copy_action): Use
3775 printable_version to avoid unprintable characters in printed output.
3776 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3777 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3778 Allow the type of a non-terminal can be given
3779 more than once, as long as all specifications give the same type.
3782 (output_headers, output_trailers, output, output_gram)
3783 (output_rule_data): Implement noparserflag variable.
3784 Implement toknumflag variable.
3785 (output): Call reader_output_yylsp to output LTYPESTR.
3787 * src/main.c (main):
3788 If reader sees an error, don't process the grammar.
3789 (fatals): Updated to not use VARARGS1.
3790 (printable_version, int_to_string, warn, warni, warns, warnss)
3791 (warnsss): New error reporting functions. Avoid abort for error.
3794 Added THONG and NOOP for alias processing.
3795 Added SETOPT for the new code that allows setting options with %flags.
3798 Include getopt.h. Add some extern decls.
3799 (safegetc): New function to deal with EOF gracefully.
3800 (literalchar); new function to deal with reading \ escapes.
3801 (lex): Use literalchar.
3802 (lex): Implemented "..." tokens.
3803 (literalchar, lex, parse_percent_token): Made tokenbuffer
3804 always contain the token. This includes growing the token
3805 buffer while reading an integer.
3806 (parse_percent_token): Replaced if-else statement with percent_table.
3807 (parse_percent_token): Added % declarations as another
3808 way to specify the flags -n, -l, and -r. Also added hooks for
3809 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3810 major changes to files.c.
3811 (lex) Retain in the incoming stream a character following
3813 (skip_white_space, lex): Revised most error messages
3814 and changed fatal to warn to avoid aborting.
3815 (percent_table): Added %thong declarations.
3817 * src/gram.h: Comment changes.
3819 * src/files.c (openfiles, open_extra_files, done):
3821 and actfile file. Handle noparserflag. Both for -n switch.
3823 * src/conflicts.c (resolve_sr_conflict):
3824 Remove use of alloca.
3826 1995-06-01 Jim Meyering <meyering@gnu.org>
3828 * doc/bison.texinfo: *** empty log message ***
3830 1995-05-06 Richard Stallman <rms@gnu.org>
3832 * src/bison.s1: Comment change.
3834 1995-05-06 Richard Stallman <rms@gnu.org>
3836 * bison.simple: Comment change.
3838 1995-05-03 Richard Stallman <rms@gnu.org>
3840 * src/version.c: Version now 1.24.
3842 * src/bison.s1: Change distribution terms.
3844 * src/version.c: Version now 1.23.
3846 1995-05-03 Richard Stallman <rms@gnu.org>
3848 * doc/bison.texinfo:
3849 Rewrite "Conditions for Using Bison".
3850 Update version to 1.24.
3852 1995-05-03 Richard Stallman <rms@gnu.org>
3854 * bison.simple: Change distribution terms.
3856 1995-02-23 Richard Stallman <rms@gnu.org>
3858 * src/files.c: Test __VMS_POSIX as well as VMS.
3860 1995-02-14 Jim Meyering <meyering@gnu.org>
3862 * src/bison.s1 (__yy_memcpy):
3863 Renamed from __yy_bcopy to avoid
3864 confusion. Reverse FROM and TO arguments to be consistent with
3867 1995-02-14 Jim Meyering <meyering@gnu.org>
3869 * bison.simple (__yy_memcpy):
3870 Renamed from __yy_bcopy to avoid
3871 confusion. Reverse FROM and TO arguments to be consistent with
3874 1994-11-10 David J. MacKenzie <djm@gnu.org>
3880 * Makefile.in (DISTFILES): Include NEWS.
3882 * Makefile.in (DISTFILES):
3883 Include install-sh, not install.sh.
3885 * configure.in: Update to Autoconf v2 macro names.
3887 1994-10-05 David J. MacKenzie <djm@gnu.org>
3889 * Makefile.in: fix typo
3891 * Makefile.in (prefix, exec_prefix):
3892 Let configure set them.
3894 1994-09-28 David J. MacKenzie <djm@gnu.org>
3896 * Makefile.in: Set datadir to $(prefix)/share.
3898 1994-09-15 Richard Stallman <rms@gnu.org>
3901 Update copyright notice and GPL version.
3903 1994-09-15 Richard Stallman <rms@gnu.org>
3906 Update copyright notice and GPL version.
3908 1994-07-12 Richard Stallman <rms@gnu.org>
3910 * src/reduce.c, src/reader.c:
3913 1994-05-05 David J. MacKenzie <djm@gnu.org>
3915 * Makefile.in: entered into RCS
3917 1994-03-26 Richard Stallman <rms@gnu.org>
3919 * src/bison.s1: entered into RCS
3921 1994-03-26 Richard Stallman <rms@gnu.org>
3923 * bison.simple: entered into RCS
3925 1994-03-25 Richard Stallman <rms@gnu.org>
3927 * src/main.c: entered into RCS
3929 1994-03-24 Richard Stallman <rms@gnu.org>
3931 * src/conflicts.c: entered into RCS
3933 1994-01-02 Richard Stallman <rms@gnu.org>
3935 * Makefile.in: *** empty log message ***
3937 1993-11-21 Richard Stallman <rms@gnu.org>
3939 * src/bison.s1: *** empty log message ***
3941 1993-11-21 Richard Stallman <rms@gnu.org>
3943 * doc/bison.texinfo: entered into RCS
3945 * doc/bison.texinfo: *** empty log message ***
3947 1993-11-21 Richard Stallman <rms@gnu.org>
3949 * bison.simple: *** empty log message ***
3951 1993-10-25 David J. MacKenzie <djm@gnu.org>
3953 * doc/bison.texinfo: *** empty log message ***
3955 1993-10-19 Richard Stallman <rms@gnu.org>
3957 * src/bison.s1: *** empty log message ***
3959 1993-10-19 Richard Stallman <rms@gnu.org>
3961 * bison.simple: *** empty log message ***
3963 1993-10-14 Richard Stallman <rms@gnu.org>
3965 * src/bison.s1: *** empty log message ***
3967 1993-10-14 Richard Stallman <rms@gnu.org>
3969 * bison.simple: *** empty log message ***
3971 1993-09-14 David J. MacKenzie <djm@gnu.org>
3973 * doc/bison.texinfo: *** empty log message ***
3975 1993-09-13 Noah Friedman <friedman@gnu.org>
3977 * Makefile.in: *** empty log message ***
3979 1993-09-10 Richard Stallman <rms@gnu.org>
3981 * src/conflicts.c: *** empty log message ***
3983 * src/system.h: entered into RCS
3985 1993-09-10 Richard Stallman <rms@gnu.org>
3987 * doc/bison.1: entered into RCS
3989 1993-09-06 Noah Friedman <friedman@gnu.org>
3991 * src/version.c: entered into RCS
3993 1993-09-06 Noah Friedman <friedman@gnu.org>
3995 * Makefile.in: *** empty log message ***
3997 1993-07-30 David J. MacKenzie <djm@gnu.org>
3999 * Makefile.in: *** empty log message ***
4001 1993-07-24 Richard Stallman <rms@gnu.org>
4003 * src/bison.s1: *** empty log message ***
4005 1993-07-24 Richard Stallman <rms@gnu.org>
4007 * bison.simple: *** empty log message ***
4009 1993-07-08 David J. MacKenzie <djm@gnu.org>
4011 * Makefile.in: *** empty log message ***
4013 1993-07-04 Richard Stallman <rms@gnu.org>
4015 * src/bison.s1: *** empty log message ***
4017 1993-07-04 Richard Stallman <rms@gnu.org>
4019 * bison.simple: *** empty log message ***
4021 1993-06-26 David J. MacKenzie <djm@gnu.org>
4023 * src/getargs.c: entered into RCS
4025 1993-06-26 David J. MacKenzie <djm@gnu.org>
4027 * doc/bison.texinfo: *** empty log message ***
4029 * doc/bison.1: New file.
4031 1993-06-25 Richard Stallman <rms@gnu.org>
4033 * src/getargs.c: New file.
4035 1993-06-16 Richard Stallman <rms@gnu.org>
4037 * src/bison.s1: *** empty log message ***
4039 1993-06-16 Richard Stallman <rms@gnu.org>
4041 * bison.simple: *** empty log message ***
4043 1993-06-03 Richard Stallman <rms@gnu.org>
4045 * src/bison.s1: New file.
4047 1993-06-03 Richard Stallman <rms@gnu.org>
4049 * doc/bison.texinfo: *** empty log message ***
4051 1993-06-03 Richard Stallman <rms@gnu.org>
4053 * bison.simple: New file.
4055 1993-05-19 Richard Stallman <rms@gnu.org>
4057 * doc/bison.texinfo: New file.
4059 1993-05-07 Noah Friedman <friedman@gnu.org>
4061 * Makefile.in: *** empty log message ***
4063 1993-04-28 Noah Friedman <friedman@gnu.org>
4065 * src/reader.c: *** empty log message ***
4067 1993-04-23 Noah Friedman <friedman@gnu.org>
4069 * src/alloc.h: entered into RCS
4071 1993-04-20 David J. MacKenzie <djm@gnu.org>
4073 * src/version.c: *** empty log message ***
4075 * src/files.c, src/allocate.c:
4078 * src/reader.c: *** empty log message ***
4080 * src/lex.c: entered into RCS
4082 * src/conflicts.c: New file.
4084 * src/symtab.c: entered into RCS
4086 * src/alloc.h: New file.
4088 * src/LR0.c: entered into RCS
4090 1993-04-18 Noah Friedman <friedman@gnu.org>
4092 * src/reader.c: New file.
4094 * src/version.c: *** empty log message ***
4096 1993-04-18 Noah Friedman <friedman@gnu.org>
4098 * Makefile.in: *** empty log message ***
4100 1993-04-17 Noah Friedman <friedman@gnu.org>
4102 * Makefile.in: *** empty log message ***
4104 1993-04-15 Richard Stallman <rms@gnu.org>
4106 * src/main.c, src/files.c:
4109 1993-04-15 Noah Friedman <friedman@gnu.org>
4111 * configure.in: entered into RCS
4113 * configure.in: *** empty log message ***
4115 * configure.in: New file.
4117 1993-04-14 Richard Stallman <rms@gnu.org>
4119 * Makefile.in: New file.
4121 1993-04-13 Richard Stallman <rms@gnu.org>
4123 * src/version.c: New file.
4125 1993-03-25 Richard Stallman <rms@gnu.org>
4127 * src/output.c: entered into RCS
4129 1992-09-25 Richard Stallman <rms@gnu.org>
4131 * configure.bat: entered into RCS
4133 1992-06-22 Richard Stallman <rms@gnu.org>
4135 * src/vmsgetargs.c: entered into RCS
4137 1992-06-22 Richard Stallman <rms@gnu.org>
4139 * doc/bison.rnh: entered into RCS
4141 1992-04-20 David J. MacKenzie <djm@gnu.org>
4143 * README: entered into RCS
4145 1992-01-22 Richard Stallman <rms@gnu.org>
4147 * src/machine.h: entered into RCS
4149 1991-12-21 Richard Stallman <rms@gnu.org>
4151 * src/lalr.c, src/closure.c:
4154 1991-12-20 Richard Stallman <rms@gnu.org>
4156 * src/state.h: entered into RCS
4158 1991-12-18 Richard Stallman <rms@gnu.org>
4160 * src/print.c, src/nullable.c, src/derives.c:
4163 1991-11-03 David J. MacKenzie <djm@gnu.org>
4165 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
4168 1988-09-09 Richard Stallman <rms@gnu.org>
4170 * src/bison.hairy: entered into RCS
4172 1987-12-16 Richard Stallman <rms@gnu.org>
4174 * REFERENCES: entered into RCS