1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/print.h: New file.
5 * src/print.c: Formatting and ordering changes.
6 (verbose, terse): Replace with...
7 (print_results): this new function.
11 2000-10-02 Akim Demaille <akim@epita.fr>
13 * src/conflicts.c (conflict_report): New function.
14 (conflict_log, verbose_conflict_log): Replace with...
15 (print_conflicts): this function.
17 * src/conflicts.h: New file.
18 Propagate its inclusion.
21 2000-10-02 Akim Demaille <akim@epita.fr>
23 * src/nullable.h: New file.
24 Propagate its inclusion.
25 * src/nullable.c: Formatting changes.
28 2000-10-02 Akim Demaille <akim@epita.fr>
30 * src/reduce.h: New file.
31 Propagate its inclusion.
32 * src/reduce.c: Topological sort and other formatting changes.
33 (bool, TRUE, FALSE): Move their definition to...
37 2000-10-02 Akim Demaille <akim@epita.fr>
39 * src/files.c: Formatting changes.
40 (tryopen, tryclose, openfiles): Rename as...
41 (xfopen, xfclose, open_files): this.
42 (stringappend): static.
43 * src/files.h: Complete the list of exported symbols.
47 2000-10-02 Akim Demaille <akim@epita.fr>
49 * src/reader.h: New file.
50 Propagate its use instead of tedious list of `extern' and
52 * src/reader.c: Formatting changes, topological sort,
56 2000-10-02 Akim Demaille <akim@epita.fr>
58 * src/lex.h: Prototype `lex.c' exported functions.
59 * src/reader.c: Adjust.
60 * src/lex.c: Formatting changes.
61 (safegetc): Rename as...
65 2000-10-02 Akim Demaille <akim@epita.fr>
67 * src/lalr.h: New file.
68 Propagate its inclusion instead of prototypes and `extern'.
69 * src/lalr.c: Formatting changes, topological sorting etc.
72 2000-10-02 Akim Demaille <akim@epita.fr>
74 * src/output.c (token_actions): Introduce a temporary array,
75 YYDEFACT, that makes it possible for this function to use
79 2000-10-02 Akim Demaille <akim@epita.fr>
81 `user_toknums' is output as a `short[]' in `output.c', while it is
82 defined as a `int[]' in `reader.c'. For consistency with the
83 other output tables, `user_toknums' is now defined as a table of
86 * src/reader.c (user_toknums): Be a short table instead of an int
90 Factor the short table outputs.
92 * src/output.c (output_short_table): New function.
93 * src/output.c (output_gram, output_stos, output_rule_data)
94 (output_base, output_table, output_check): Use it.
96 2000-10-02 Akim Demaille <akim@epita.fr>
98 * src/output.c (output): Topological sort of the functions, in
99 order to get rid of the `static' prototypes.
100 No longer use `register'.
101 * src/output.h: New file.
102 Propagate its inclusion in files explicitly prototyping functions
105 2000-09-21 Akim Demaille <akim@epita.fr>
107 * src/atgeneral.m4: Update from Autoconf.
109 2000-09-21 Akim Demaille <akim@epita.fr>
111 * src/closure.h: New file.
112 * src/closure.c: Formatting changes, topological sort over the
113 functions, use of closure.h.
114 (initialize_closure, finalize_closure): Rename as...
115 (new_closure, free_closure): these. Adjust dependencies.
116 * src/LR0.c: Formatting changes, topological sort, use of
118 (initialize_states): Rename as...
120 * src/Makefile.am (noinst_HEADERS): Adjust.
122 2000-09-20 Akim Demaille <akim@epita.fr>
124 * src/acconfig.h: Don't protect config.h against multiple
127 * src/system.h: Define PARAMS.
128 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
129 purpose of config.h. system.h must not try to fix wrong
130 definitions in config.h.
132 2000-09-20 Akim Demaille <akim@epita.fr>
134 * src/derives.h: New file.
135 * src/main.c, src/derives.h: Use it.
137 * src/Makefile.am (noinst_HEADERS): Adjust.
139 2000-09-20 Akim Demaille <akim@epita.fr>
141 * tests/atgeneral.m4: Update from Autoconf.
142 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
143 (AT_CHECK_CALC): New macros.
144 Use these macros to test bison with options `', `--raw',
145 `--debug', `--yacc', `--yacc --debug'.
147 2000-09-19 Akim Demaille <akim@epita.fr>
149 * src/output.c: Formatting changes.
150 * src/machine.h: Remove, leaving its contents in...
151 * src/system.h: here.
153 Adjust all dependencies on stdio.h and machine.h.
154 * src/getargs.h: New file.
155 Let all `extern' declarations about getargs.c be replaced with
156 inclusion of `getargs.h'.
157 * src/Makefile.am (noinst_HEADERS): Adjust.
159 * tests/calc.m4 (yyin): Be initialized in main, not on the global
161 (yyerror): Returns void, not int.
162 * doc/bison.texinfo: Formatting changes.
164 2000-09-19 Akim Demaille <akim@epita.fr>
166 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
169 2000-09-18 Akim Demaille <akim@epita.fr>
171 * configure.in: Append WARNING_CFLAGS to CFLAGS.
172 * src/Makefile.am (INCLUDES): Don't.
173 Be ready to fetch headers in lib/.
175 2000-09-18 Akim Demaille <akim@epita.fr>
177 * doc/bison.texinfo: Update the copyright.
178 ANSIfy and GNUify the examples.
181 2000-09-18 Akim Demaille <akim@epita.fr>
183 First set of tests: use the `calc' example from the documentation.
185 * src/bison.s1 (yyparse): Condition the code using `yytname' which
186 is defined only when YYDEBUG is.
187 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
188 * src/files.c (tryopen, tryclose): Formatting changes.
189 Move to the top and be static.
190 * src/reader.c (read_signed_integer): Likewise.
191 * tests/calc.m4: New file.
192 * Makefile.am, suite.m4: Adjust.
193 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
195 2000-09-18 Akim Demaille <akim@epita.fr>
197 Add support for an Autotest test suite for Bison.
199 * m4/m4.m4, m4/atconfig.m4: New files.
200 * m4/Makefile.am (EXTRA_DIST): Adjust.
201 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
203 * src/getargs.c: Display a more standard --version message.
204 * src/reader.c (reader): Formatting changes.
205 No longer depend upon VERSION_STRING.
206 * configure.in: No longer use `dnl'.
207 Set up the test suite and the new directory `tests/.
208 (VERSION_STRING): Remove.
210 2000-04-14 Akim Demaille <akim@epita.fr>
212 * src/reader.c (copy_comment2): New function, same as former
213 `copy_comment', but outputs into two FILE *.
214 (copy_comment): Use it.
215 (parse_union_decl): Use it.
216 (get_type, parse_start_decl): Use the same `invalid' message.
217 (parse_start_decl, parse_union_decl): Use the same `multiple'
219 (parse_union_decl, copy_guard, copy_action): Use the same
221 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
223 2000-03-31 Akim Demaille <akim@epita.fr>
225 * src/files.c (tryopen, tryclose): Move to the top.
228 2000-03-31 Akim Demaille <akim@epita.fr>
230 * src/main.c (main): Don't call `done', exit does it.
232 2000-03-31 Akim Demaille <akim@epita.fr>
234 * allocate.c: s/return (foo)/return foo/.
237 * output.c: Likewise.
238 * reader.c: Likewise.
239 * symtab.c: Likewise.
240 * vmsgetargs.c: Likewise.
242 2000-03-31 Akim Demaille <akim@epita.fr>
244 Clean up the error reporting functions.
246 * src/report.c: New file.
247 * src/report.h: Likewise.
248 * src/Makefile.am: Adjust.
249 * m4/error.m4: New file.
250 * m4/Makefile.am: Adjust.
251 * configure.in (jm_PREREQ_ERROR): Call it.
252 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
254 (fatal, fatals): Remove. All callers use complain.c::fatal.
255 (warn, warni, warns, warnss, warnss): Remove. All callers use
256 complain.c::complain.
257 (toomany): Remove, use fatal instead.
258 * src/files.c (done): No argument, use complain_message_count.
259 * src/main.c (main): Register `done' to `atexit'.
261 * src/getargs.c (usage): More `fputs', less `fprintf'.
263 2000-03-28 Akim Demaille <akim@epita.fr>
265 * lib/: New directory.
266 * Makefile.am (SUBDIRS): Adjust.
267 * configure.in: Adjust.
268 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
270 * src/alloca.c: Moved to lib/.
271 * src/getopt.c: Likewise.
272 * src/getopt1.c: Likewise.
273 * src/getopt.h: Likewise.
274 * src/ansi2knr.c: Likewise.
275 * src/ansi2knr.1: Likewise.
276 * src/Makefile.am: Adjust.
277 * lib/Makefile.am: New file.
279 2000-03-28 Akim Demaille <akim@epita.fr>
281 * src/getargs.c (usage): Refresh the help message.
283 2000-03-17 Akim Demaille <akim@epita.fr>
285 * src/getopt1.c: Updated from textutils 2.0e
286 * src/getopt.c: Likewise.
287 * src/getopt.h: Likewise.
289 2000-03-17 Akim Demaille <akim@epita.fr>
291 * src/Makefile.am (bison.simple): Fix the awk program: quote only
292 the file name, not the whole `#line LINE FILE'.
294 2000-03-17 Akim Demaille <akim@epita.fr>
296 On syntax errors, report the token on which we choked.
298 * src/bison.s1 (yyparse): In the label yyerrlab, when
299 YYERROR_VERBOSE, add yychar in msg.
301 2000-03-17 Akim Demaille <akim@epita.fr>
303 * src/reader.c (copy_at): New function.
304 (copy_guard): Use it.
305 (copy_action): Use it.
307 2000-03-17 Akim Demaille <akim@epita.fr>
309 Be kind to translators, save some useless translations.
311 * src/main.c (banner): New function.
312 (fatal_banner): Use it.
313 (warn_banner): Use it.
315 2000-03-17 Akim Demaille <akim@epita.fr>
317 * src/reader.c (copy_definition): Use copy_string and
318 copy_comment. Removed now unused `match', `ended',
320 (copy_comment, copy_string): Moved, to be visible from
323 2000-03-17 Akim Demaille <akim@epita.fr>
325 * src/reader.c (copy_string): Declare `static inline'. No
326 problems with inline, since it is checked by configure.
327 (copy_comment): Likewise.
329 2000-03-17 Akim Demaille <akim@epita.fr>
331 * src/reader.c (packsymbols): Formatting changes.
333 2000-03-17 Akim Demaille <akim@epita.fr>
335 * src/reader.c (copy_comment): New function, factored out from:
336 (copy_action): Use it. Removed now unused `match', `ended',
338 (copy_guard): Likewise.
340 2000-03-17 Akim Demaille <akim@epita.fr>
342 * src/reader.c (copy_string): New function, factored out from:
343 (copy_action): Use it.
344 (copy_guard): Likewise.
346 2000-03-17 Akim Demaille <akim@epita.fr>
348 Change the handling of @s so that they behave exactly like $s.
349 There is now a pseudo variable @$ (readble and writable), location
350 of the lhs of the rule (by default ranging from the location of
351 the first symbol of the rhs, to the location of the last symbol,
352 or, if the rhs is empty, YYLLOC).
354 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
356 (yyparse): When providing a default semantic action, provide a
357 default location action.
358 (after the $): No longer change `*YYLSP', just stack YYLOC the
359 same way you stack YYVAL.
360 * src/reader.c (read_declarations): Use warns.
361 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
362 (copy_action, case '@'): Likewise.
363 Use a standard error message, to save useless work from
366 2000-03-17 Akim Demaille <akim@epita.fr>
368 * src/bison.s1: Formatting and cosmetics changes.
369 * src/reader.c: Likewise.
370 Update the Copyright notice.
372 2000-03-17 Akim Demaille <akim@epita.fr>
374 * src/bison.s1 (#line): All set to `#line' only, since the
375 Makefile now handles them.
377 2000-03-16 Akim Demaille <akim@epita.fr>
379 * src/output.c (output_rule_data): Output the documentation of
381 (Copyright notice): Update.
384 2000-03-16 Akim Demaille <akim@epita.fr>
386 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
387 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
388 One `#if YYDEBUG' remains, since it uses variables which are
389 defined only if `YYDEBUG != 0'.
391 2000-03-16 Akim Demaille <akim@epita.fr>
393 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
394 and related variables so that the similarities are highlighted.
396 2000-03-16 Akim Demaille <akim@epita.fr>
398 * src/bison.s1: Properly indent CPP directives.
400 2000-03-16 Akim Demaille <akim@epita.fr>
402 * src/bison.s1: Properly indent the `alloca' CPP section.
404 2000-03-16 Akim Demaille <akim@epita.fr>
406 Do not hard code values of directories in `configure.in'.
407 Update the `configure' tool chain.
409 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
411 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
412 (AC_OUTPUT): Add m4/Makefile.
413 Bump to bison 1.28a, 1.29 has never been released.
414 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
415 handled via src/Makefile.am.
416 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
417 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
419 * Makefile.am (SUBDIRS): Add m4.
420 (ACLOCAL_AM_FLAGS): New variable.
421 (AUTOMAKE_OPTIONS): Add check-news.
422 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
423 the proper line number and file name.
424 (DEFS): Propagate the location of bison library files and of the
426 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
428 * acinclude.m4: Remove, replaced by the directory m4.
429 * m4/Makefile.am (EXTRA_DIST): New variable.
430 * m4/gettext.m4: New file, from the fileutils.
431 * m4/lcmessage.m4: Likewise
432 * m4/progtest.m4: Likewise.
433 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
435 2000-03-10 Akim Demaille <akim@epita.fr>
438 Formatting changes of various comments.
439 Respect the GNU coding standards at various places.
440 Don't use `_()' when no translation is needed.
442 1999-12-13 Jesse Thilo <jthilo@gnu.org>
445 OS/2 honors TMPDIR environment variable.
447 1999-12-13 Jesse Thilo <jthilo@gnu.org>
449 * doc/bison.texinfo: Tweaked spelling and grammar.
451 Removed reference to price of printed copy.
452 Mention BISON_SIMPLE and BISON_HAIRY.
454 1999-12-13 Jesse Thilo <jthilo@gnu.org>
456 * configure.in, NEWS:
459 1999-10-27 Jesse Thilo <jthilo@gnu.org>
461 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
462 Added reference card.
464 1999-07-26 Jesse Thilo <jthilo@gnu.org>
466 * po/ru.po: Added Russian translation.
468 1999-07-26 Jesse Thilo <jthilo@gnu.org>
470 * configure.in: Added Russian translation.
472 1999-07-06 Jesse Thilo <jthilo@gnu.org>
474 * configure.in, NEWS, README:
475 Released version 1.28.
477 1999-06-14 Jesse Thilo <jthilo@gnu.org>
480 Squashed redefinition warning on some systems.
482 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
483 Have configure build version string instead of relying on ANSI string
486 1999-06-14 Jesse Thilo <jthilo@gnu.org>
488 * po/POTFILES.in: Got rid of version.c.
490 1999-06-14 Jesse Thilo <jthilo@gnu.org>
492 * acconfig.h, configure.in:
493 Have configure build version string instead of relying on ANSI string
496 1999-06-08 Jesse Thilo <jthilo@gnu.org>
499 Dropped mention of `+' for long-named options.
501 1999-05-30 Jesse Thilo <jthilo@gnu.org>
503 * src/files.c: Added <unistd.h> for unlink().
505 * src/Makefile.am, src/system.h:
508 1999-05-30 Jesse Thilo <jthilo@gnu.org>
510 * README: Added a FAQ list.
512 * configure.in, acconfig.h:
515 1999-05-30 Jesse Thilo <jthilo@gnu.org>
517 * doc/FAQ, doc/Makefile.am:
520 1999-05-19 Jesse Thilo <jthilo@gnu.org>
522 * src/alloc.h, src/symtab.h, src/version.c:
523 Protected inclusion of "config.h" with HAVE_CONFIG_H.
525 1999-04-18 Jesse Thilo <jthilo@gnu.org>
527 * src/.cvsignore, src/Makefile.am:
528 Reorganized: sources in `src', documentation in `doc'.
530 * src/lex.c (literalchar):
531 fixed the code for escaping double quotes (thanks
534 1999-04-18 Jesse Thilo <jthilo@gnu.org>
536 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
537 Adjusted paths to reflect directory reorganization.
539 1999-04-18 Jesse Thilo <jthilo@gnu.org>
541 * doc/.cvsignore, doc/Makefile.am:
542 Reorganized: sources in `src', documentation in `doc'.
544 1999-04-18 Jesse Thilo <jthilo@gnu.org>
547 Updated AC_INIT file to reflect directory reorganization.
549 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
550 Reorganized: sources in `src', documentation in `doc'.
552 1999-04-13 Jesse Thilo <jthilo@gnu.org>
555 Don't declare calloc() and realloc() if not necessary.
557 1999-04-13 Jesse Thilo <jthilo@gnu.org>
559 * configure.in, acconfig.h, acinclude.m4:
560 Don't declare calloc() and realloc() if not necessary.
562 1999-03-23 Jesse Thilo <jthilo@gnu.org>
564 * po/.cvsignore: Added i18n support.
566 1999-03-23 Jesse Thilo <jthilo@gnu.org>
568 * acconfig.h, configure.in, Makefile.am:
571 1999-03-22 Jesse Thilo <jthilo@gnu.org>
573 * src/bison.s1: Fixed #line numbers.
575 1999-03-15 Jesse Thilo <jthilo@gnu.org>
577 * po/es.po, po/fr.po, po/nl.po, po/de.po:
578 Added PO files from Translation Project.
580 1999-03-03 Jesse Thilo <jthilo@gnu.org>
583 Added support for non-ANSI compilers (ansi2knr).
585 1999-02-16 Jesse Thilo <jthilo@gnu.org>
587 * configure.in: Bumped version number to 1.27.
590 Added `bison.simple' to list of files removed by `make distclean'.
592 1999-02-12 Jesse Thilo <jthilo@gnu.org>
594 * src/files.c, src/files.h:
595 Defined locations of parser files in config.h instead of Makefile.
597 1999-02-12 Jesse Thilo <jthilo@gnu.org>
599 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
600 Defined locations of parser files in config.h instead of Makefile.
602 1999-02-09 Jesse Thilo <jthilo@gnu.org>
605 Removed inappropriate use of $< macro.
607 1999-02-05 Jesse Thilo <jthilo@gnu.org>
609 * po/Makefile.in.in, po/POTFILES.in:
610 Add `po' directory skeleton.
612 1999-01-27 Jesse Thilo <jthilo@gnu.org>
614 * README: Document help-bison list.
616 * configure.in: Add check for mkstemp().
618 1999-01-20 Jesse Thilo <jthilo@gnu.org>
620 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
621 Hush a few compiler warnings.
624 Add tryclose(), which verifies that fclose was successful.
625 Hush a couple of compiler warnings.
627 1999-01-20 Jesse Thilo <jthilo@gnu.org>
629 * Makefile.am, OChangeLog:
630 ChangeLog is now automatically generated. Include the old version as
633 1999-01-14 Jesse Thilo <jthilo@gnu.org>
635 * 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:
638 1999-01-14 Jesse Thilo <jthilo@gnu.org>
640 * doc/bison.texinfo: Fix formatting glitch.
642 * doc/bison.texinfo: Update FSF address.
644 1999-01-14 Jesse Thilo <jthilo@gnu.org>
646 * acconfig.h: Update FSF address.
648 1999-01-08 Jesse Thilo <jthilo@gnu.org>
651 Don't define PACKAGE here, since config.h defines it.
653 1998-12-30 Jesse Thilo <jthilo@gnu.org>
655 * src/reader.c: Update copyright date.
658 Ditch sprintf to statically-sized buffers in fatal/warn functions in
659 favor of output directly to stderr (avoids buffer overruns).
661 * src/reader.c: Some checks for premature EOF.
663 * 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:
664 Use prototypes if the compiler understands them.
666 * src/files.c: Honor TMPDIR on Unix hosts.
667 Use prototypes if the compiler understands them.
670 Fix a couple of buffer overrun bugs.
671 Use prototypes if the compiler understands them.
673 * src/system.h: Include unistd.h and ctype.h.
674 Use #ifdef instead of #if for NLS symbols.
676 1998-12-30 Jesse Thilo <jthilo@gnu.org>
679 Delete comment "consider using @set for edition number, etc..." since
682 1998-12-30 Jesse Thilo <jthilo@gnu.org>
685 Use prototypes if the compiler understands them.
687 * NEWS: Document 1.26 highlights.
689 * Makefile.am: Require Automake 1.3 or later.
692 Use prototypes if the compiler understands them.
694 1998-12-29 Jesse Thilo <jthilo@gnu.org>
697 Use VERSION symbol from automake for version number.
699 1998-12-29 Jesse Thilo <jthilo@gnu.org>
701 * acconfig.h, configure.in, version.cin:
702 Use VERSION symbol from automake for version number.
704 1998-11-28 Jesse Thilo <jthilo@gnu.org>
707 Distribute original version of simple parser (bison.s1), not built
708 version (bison.simple).
710 1998-11-28 Jesse Thilo <jthilo@gnu.org>
712 * doc/bison.texinfo: Add info dir entry.
715 Let automake put version number into documentation.
717 1998-11-26 Jesse Thilo <jthilo@gnu.org>
719 * src/bison.cld, src/build.com, src/vmshlp.mar:
720 Add non-RCS files from /gd/gnu/bison.
722 1998-11-26 Jesse Thilo <jthilo@gnu.org>
725 Document the BISON_HAIRY and BISON_SIMPLE variables.
727 1998-11-25 Jesse Thilo <jthilo@gnu.org>
729 * src/version.c: Build version.c automatically.
732 Fix token numbering (used to start at 258, not 257).
734 * src/system.h: Include config.h.
736 * src/getargs.c: Update bug report address.
738 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
739 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
741 1998-11-25 Jesse Thilo <jthilo@gnu.org>
744 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
746 * configure.in, version.cin:
747 Build version.c automatically.
749 * AUTHORS: Add AUTHORS file.
751 * README: Update bug report address.
754 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
756 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
759 1998-11-25 Jesse Thilo <jthilo@gnu.org>
761 * doc/bison.texinfo: Clean up some formatting.
763 1998-05-05 Richard Stallman <rms@gnu.org>
766 Explain better why to make a pure parser.
768 1998-01-05 Richard Stallman <rms@gnu.org>
770 * src/files.c (openfiles):
771 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
772 find a temporary directory, if possible. Do not unlink files while
775 1997-08-25 Richard Stallman <rms@gnu.org>
777 * src/reader.c (stack_offset;):
778 Change some warni to warns.
780 * src/lex.c (literalchar): Use warns, not warni.
782 1997-06-28 Richard Stallman <rms@gnu.org>
784 * src/bison.s1: Add a Bison version comment.
786 * src/main.c (fatal, warn, berror):
789 1997-06-28 Richard Stallman <rms@gnu.org>
791 * Makefile.in (bison_version): New variable.
792 (dist): Use that variable.
793 (bison.s1): Substitute the Bison version into bison.simple.
795 * bison.simple: Add a Bison version comment.
797 1997-06-18 Richard Stallman <rms@gnu.org>
799 * src/main.c (fatal, warn, berror):
800 Make error messages standard.
801 (toomany): Improve error message text.
803 * 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:
804 new.h renamed to alloc.h.
806 1997-06-18 Richard Stallman <rms@gnu.org>
808 * Makefile.in: new.h renamed to alloc.h.
810 1997-05-24 Richard Stallman <rms@gnu.org>
812 * src/lex.c (literalchar):
813 Fix the code for escaping \, " and '.
815 (lex): Avoid trouble when there are many chars
816 to discard in a char literal with just several chars in it.
818 1997-05-17 Richard Stallman <rms@gnu.org>
821 Use malloc, if using alloca is troublesome.
822 (YYSTACK_USE_ALLOCA): New flag macro.
823 Define it for some systems and compilers.
824 (YYSTACK_ALLOC): New macro.
825 (yyparse): Use YYSTACK_ALLOC to allocate stack.
826 If it was malloc'd, free it.
828 1997-05-17 Richard Stallman <rms@gnu.org>
831 Use malloc, if using alloca is troublesome.
832 (YYSTACK_USE_ALLOCA): New flag macro.
833 Define it for some systems and compilers.
834 (YYSTACK_ALLOC): New macro.
835 (yyparse): Use YYSTACK_ALLOC to allocate stack.
836 If it was malloc'd, free it.
838 1997-04-23 Richard Stallman <rms@gnu.org>
841 (alloca) [__hpux]: Always define as __builtin_alloca.
843 1997-04-23 Richard Stallman <rms@gnu.org>
846 (alloca) [__hpux]: Always define as __builtin_alloca.
848 1997-04-22 Richard Stallman <rms@gnu.org>
851 [__hpux]: Include alloca.h (right for HPUX 10)
852 instead of declaring alloca (right for HPUX 9).
854 * src/bison.s1 (__yy_memcpy):
855 Declare arg `count' as unsigned int.
856 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
858 1997-04-22 Richard Stallman <rms@gnu.org>
861 [__hpux]: Include alloca.h (right for HPUX 10)
862 instead of declaring alloca (right for HPUX 9).
864 * bison.simple (__yy_memcpy):
865 Declare arg `count' as unsigned int.
866 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
868 1997-01-03 Richard Stallman <rms@gnu.org>
870 * src/allocate.c: [__STDC__ or _MSC_VER]:
871 Declare calloc and realloc to return void *.
873 1997-01-02 Richard Stallman <rms@gnu.org>
876 [_MSC_VER]: Include stdlib.h and process.h.
877 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
879 * src/main.c (main): Return FAILURE as a value.
880 (printable_version): Declare arg as int, not char.
882 1997-01-02 Richard Stallman <rms@gnu.org>
884 * Makefile.in (dist):
885 Explicitly check for symlinks, and copy them.
887 1996-12-19 Richard Stallman <rms@gnu.org>
890 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
892 1996-12-18 Paul Eggert <eggert@gnu.org>
894 * src/bison.s1 (yyparse):
895 If __GNUC__ and YYPARSE_PARAM are both defined,
896 declare yyparse to have a void * argument.
898 1996-12-18 Paul Eggert <eggert@gnu.org>
900 * bison.simple (yyparse):
901 If __GNUC__ and YYPARSE_PARAM are both defined,
902 declare yyparse to have a void * argument.
904 1996-12-17 Richard Stallman <rms@gnu.org>
906 * src/reduce.c (nbits): Add some casts.
908 1996-08-12 Richard Stallman <rms@gnu.org>
910 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
912 1996-08-12 Richard Stallman <rms@gnu.org>
914 * bison.simple: Test _MSDOS as well as _MSDOS_.
916 1996-07-31 Richard Stallman <rms@gnu.org>
919 [__sun && __i386]: Include alloca.h.
921 1996-07-31 Richard Stallman <rms@gnu.org>
924 [__sun && __i386]: Include alloca.h.
926 1996-07-30 Richard Stallman <rms@gnu.org>
928 * src/bison.s1: Comment change.
930 * src/bison.s1: Test _MSDOS_, not MSDOS.
932 1996-07-30 Richard Stallman <rms@gnu.org>
934 * bison.simple: Comment change.
936 * bison.simple: Test _MSDOS_, not MSDOS.
938 1996-06-01 Richard Stallman <rms@gnu.org>
940 * 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:
941 Insert `_' macro around many string constants.
944 Insert `_' macro around many string constants.
946 (main): Call setlocale, bindtextdomain and textdomain.
948 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
949 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
950 [ENABLE_NLS]: Include libintl.h.
951 [ENABLE_NLS] (gettext): Define.
952 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
953 (N_, PACKAGE, LOCALEDIR): New macros.
955 1996-06-01 Richard Stallman <rms@gnu.org>
957 * POTFILES.in: New file.
959 * Makefile.in (allocate.o):
960 Define target explicitly.
962 * Makefile.in (CFLAGS): Set to @CFLAGS@.
963 (LDFLAGS): Set to @LDFLAGS@.
964 (configure): Run autoconf only if preceding `cd' succeeds.
965 (bison.s1): Redirect output to temporary file then move the
966 temporary to the target, rather than redirecting directly to bison.s1.
967 (clean): Remove config.status and config.log.
968 (distclean): Don't remove config.status here.
970 1996-05-12 Richard Stallman <rms@gnu.org>
973 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
975 1996-05-12 Richard Stallman <rms@gnu.org>
978 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
980 1996-05-11 Richard Stallman <rms@gnu.org>
982 * src/bison.s1 (__yy_memcpy):
983 Really reorder the args, as was supposedly done on Feb 14 1995.
984 (yyparse): Calls changed accordingly.
986 1996-05-11 Richard Stallman <rms@gnu.org>
988 * Makefile.in (dist): Don't use $(srcdir).
990 * bison.simple (__yy_memcpy):
991 Really reorder the args, as was supposedly done on Feb 14 1995.
992 (yyparse): Calls changed accordingly.
994 1996-01-27 Richard Stallman <rms@gnu.org>
996 * src/output.c (output_rule_data):
997 Test YYERROR_VERBOSE in the conditional
998 around the definition of ttyname.
1000 1995-12-29 Richard Stallman <rms@gnu.org>
1003 Fix line numbers in #line commands.
1005 1995-12-29 Richard Stallman <rms@gnu.org>
1008 Fix line numbers in #line commands.
1010 1995-12-27 Richard Stallman <rms@gnu.org>
1012 * src/bison.s1 (YYPARSE_PARAM_DECL):
1013 In C++, make it always null.
1014 (YYPARSE_PARAM_ARG): New macro.
1015 (yyparse): Use YYPARSE_PARAM_ARG.
1017 1995-12-27 Richard Stallman <rms@gnu.org>
1019 * bison.simple (YYPARSE_PARAM_DECL):
1020 In C++, make it always null.
1021 (YYPARSE_PARAM_ARG): New macro.
1022 (yyparse): Use YYPARSE_PARAM_ARG.
1024 1995-11-29 Richard Stallman <rms@gnu.org>
1026 * doc/bison.texinfo:
1027 Describe literal string tokens, %raw, %no_lines, %token_table.
1029 1995-11-29 Daniel Hagerty <hag@gnu.org>
1031 * doc/bison.texinfo: Fixed update date
1033 1995-10-16 Richard Stallman <rms@gnu.org>
1035 * src/version.c: Version 1.25.
1037 1995-10-16 Richard Stallman <rms@gnu.org>
1039 * NEWS: *** empty log message ***
1041 1995-10-16 Richard Stallman <rms@gnu.org>
1043 * doc/bison.1, doc/bison.rnh:
1046 1995-10-15 Richard Stallman <rms@gnu.org>
1048 * src/vmsgetargs.c, src/getargs.c:
1049 Added -n, -k, and -raw switches.
1050 (noparserflag, toknumflag, rawtoknumflag): New variables.
1052 * src/symtab.h (SALIAS):
1053 New #define for adding aliases to %token.
1054 (struct bucket): Added `alias' field.
1056 * src/reduce.c (reduce_grammar):
1057 Revise error message.
1058 (print_notices): Remove final `.' from error message.
1060 * src/reader.c (reader_output_yylsp):
1062 (readgram): Use `#if 0' around code that accepted %command
1063 inside grammar rules: The documentation doesn't allow it,
1064 and it will fail since the %command processors scan for the next %.
1065 (parse_token_decl): Extended the %token
1066 declaration to allow a multi-character symbol as an alias.
1067 (parse_thong_decl): New function.
1068 (read_declarations): Added %thong declarations.
1069 (read_declarations): Handle NOOP to deal with allowing
1070 % declarations as another means to specify the flags.
1071 (readgram): Allow %prec prior to semantics embedded in a rule.
1072 (skip_to_char, read_declarations, copy_definition)
1073 (parse_token_decl, parse_start_decl, parse_type_decl)
1074 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1075 (get_type_name, copy_guard, copy_action, readgram)
1076 (get_type, packsymbols): Revised most error messages.
1077 Changed `fatal' to `warnxxx' to avoid aborting for error.
1078 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1079 (read_declarations): Improve the error message for
1080 an invalid character. Do not abort.
1081 (read_declarations, copy_guard, copy_action): Use
1082 printable_version to avoid unprintable characters in printed output.
1083 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1084 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1085 Allow the type of a non-terminal can be given
1086 more than once, as long as all specifications give the same type.
1089 (output_headers, output_trailers, output, output_gram)
1090 (output_rule_data): Implement noparserflag variable.
1091 Implement toknumflag variable.
1092 (output): Call reader_output_yylsp to output LTYPESTR.
1094 * src/main.c (main):
1095 If reader sees an error, don't process the grammar.
1096 (fatals): Updated to not use VARARGS1.
1097 (printable_version, int_to_string, warn, warni, warns, warnss)
1098 (warnsss): New error reporting functions. Avoid abort for error.
1101 Added THONG and NOOP for alias processing.
1102 Added SETOPT for the new code that allows setting options with %flags.
1105 Include getopt.h. Add some extern decls.
1106 (safegetc): New function to deal with EOF gracefully.
1107 (literalchar); new function to deal with reading \ escapes.
1108 (lex): Use literalchar.
1109 (lex): Implemented "..." tokens.
1110 (literalchar, lex, parse_percent_token): Made tokenbuffer
1111 always contain the token. This includes growing the token
1112 buffer while reading an integer.
1113 (parse_percent_token): Replaced if-else statement with percent_table.
1114 (parse_percent_token): Added % declarations as another
1115 way to specify the flags -n, -l, and -r. Also added hooks for
1116 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1117 major changes to files.c.
1118 (lex) Retain in the incoming stream a character following
1120 (skip_white_space, lex): Revised most error messages
1121 and changed fatal to warn to avoid aborting.
1122 (percent_table): Added %thong declarations.
1124 * src/gram.h: Comment changes.
1126 * src/files.c (openfiles, open_extra_files, done):
1128 and actfile file. Handle noparserflag. Both for -n switch.
1130 * src/conflicts.c (resolve_sr_conflict):
1131 Remove use of alloca.
1133 1995-06-01 Jim Meyering <meyering@gnu.org>
1135 * doc/bison.texinfo: *** empty log message ***
1137 1995-05-06 Richard Stallman <rms@gnu.org>
1139 * src/bison.s1: Comment change.
1141 1995-05-06 Richard Stallman <rms@gnu.org>
1143 * bison.simple: Comment change.
1145 1995-05-03 Richard Stallman <rms@gnu.org>
1147 * src/version.c: Version now 1.24.
1149 * src/bison.s1: Change distribution terms.
1151 * src/version.c: Version now 1.23.
1153 1995-05-03 Richard Stallman <rms@gnu.org>
1155 * doc/bison.texinfo:
1156 Rewrite "Conditions for Using Bison".
1157 Update version to 1.24.
1159 1995-05-03 Richard Stallman <rms@gnu.org>
1161 * bison.simple: Change distribution terms.
1163 1995-02-23 Richard Stallman <rms@gnu.org>
1165 * src/files.c: Test __VMS_POSIX as well as VMS.
1167 1995-02-14 Jim Meyering <meyering@gnu.org>
1169 * src/bison.s1 (__yy_memcpy):
1170 Renamed from __yy_bcopy to avoid
1171 confusion. Reverse FROM and TO arguments to be consistent with
1174 1995-02-14 Jim Meyering <meyering@gnu.org>
1176 * bison.simple (__yy_memcpy):
1177 Renamed from __yy_bcopy to avoid
1178 confusion. Reverse FROM and TO arguments to be consistent with
1181 1994-11-10 David J. MacKenzie <djm@gnu.org>
1187 * Makefile.in (DISTFILES): Include NEWS.
1189 * Makefile.in (DISTFILES):
1190 Include install-sh, not install.sh.
1192 * configure.in: Update to Autoconf v2 macro names.
1194 1994-10-05 David J. MacKenzie <djm@gnu.org>
1196 * Makefile.in: fix typo
1198 * Makefile.in (prefix, exec_prefix):
1199 Let configure set them.
1201 1994-09-28 David J. MacKenzie <djm@gnu.org>
1203 * Makefile.in: Set datadir to $(prefix)/share.
1205 1994-09-15 Richard Stallman <rms@gnu.org>
1208 Update copyright notice and GPL version.
1210 1994-09-15 Richard Stallman <rms@gnu.org>
1213 Update copyright notice and GPL version.
1215 1994-07-12 Richard Stallman <rms@gnu.org>
1217 * src/reduce.c, src/reader.c:
1220 1994-05-05 David J. MacKenzie <djm@gnu.org>
1222 * Makefile.in: entered into RCS
1224 1994-03-26 Richard Stallman <rms@gnu.org>
1226 * src/bison.s1: entered into RCS
1228 1994-03-26 Richard Stallman <rms@gnu.org>
1230 * bison.simple: entered into RCS
1232 1994-03-25 Richard Stallman <rms@gnu.org>
1234 * src/main.c: entered into RCS
1236 1994-03-24 Richard Stallman <rms@gnu.org>
1238 * src/conflicts.c: entered into RCS
1240 1994-01-02 Richard Stallman <rms@gnu.org>
1242 * Makefile.in: *** empty log message ***
1244 1993-11-21 Richard Stallman <rms@gnu.org>
1246 * src/bison.s1: *** empty log message ***
1248 1993-11-21 Richard Stallman <rms@gnu.org>
1250 * doc/bison.texinfo: entered into RCS
1252 * doc/bison.texinfo: *** empty log message ***
1254 1993-11-21 Richard Stallman <rms@gnu.org>
1256 * bison.simple: *** empty log message ***
1258 1993-10-25 David J. MacKenzie <djm@gnu.org>
1260 * doc/bison.texinfo: *** empty log message ***
1262 1993-10-19 Richard Stallman <rms@gnu.org>
1264 * src/bison.s1: *** empty log message ***
1266 1993-10-19 Richard Stallman <rms@gnu.org>
1268 * bison.simple: *** empty log message ***
1270 1993-10-14 Richard Stallman <rms@gnu.org>
1272 * src/bison.s1: *** empty log message ***
1274 1993-10-14 Richard Stallman <rms@gnu.org>
1276 * bison.simple: *** empty log message ***
1278 1993-09-14 David J. MacKenzie <djm@gnu.org>
1280 * doc/bison.texinfo: *** empty log message ***
1282 1993-09-13 Noah Friedman <friedman@gnu.org>
1284 * Makefile.in: *** empty log message ***
1286 1993-09-10 Richard Stallman <rms@gnu.org>
1288 * src/conflicts.c: *** empty log message ***
1290 * src/system.h: entered into RCS
1292 1993-09-10 Richard Stallman <rms@gnu.org>
1294 * doc/bison.1: entered into RCS
1296 1993-09-06 Noah Friedman <friedman@gnu.org>
1298 * src/version.c: entered into RCS
1300 1993-09-06 Noah Friedman <friedman@gnu.org>
1302 * Makefile.in: *** empty log message ***
1304 1993-07-30 David J. MacKenzie <djm@gnu.org>
1306 * Makefile.in: *** empty log message ***
1308 1993-07-24 Richard Stallman <rms@gnu.org>
1310 * src/bison.s1: *** empty log message ***
1312 1993-07-24 Richard Stallman <rms@gnu.org>
1314 * bison.simple: *** empty log message ***
1316 1993-07-08 David J. MacKenzie <djm@gnu.org>
1318 * Makefile.in: *** empty log message ***
1320 1993-07-04 Richard Stallman <rms@gnu.org>
1322 * src/bison.s1: *** empty log message ***
1324 1993-07-04 Richard Stallman <rms@gnu.org>
1326 * bison.simple: *** empty log message ***
1328 1993-06-26 David J. MacKenzie <djm@gnu.org>
1330 * src/getargs.c: entered into RCS
1332 1993-06-26 David J. MacKenzie <djm@gnu.org>
1334 * doc/bison.texinfo: *** empty log message ***
1336 * doc/bison.1: New file.
1338 1993-06-25 Richard Stallman <rms@gnu.org>
1340 * src/getargs.c: New file.
1342 1993-06-16 Richard Stallman <rms@gnu.org>
1344 * src/bison.s1: *** empty log message ***
1346 1993-06-16 Richard Stallman <rms@gnu.org>
1348 * bison.simple: *** empty log message ***
1350 1993-06-03 Richard Stallman <rms@gnu.org>
1352 * src/bison.s1: New file.
1354 1993-06-03 Richard Stallman <rms@gnu.org>
1356 * doc/bison.texinfo: *** empty log message ***
1358 1993-06-03 Richard Stallman <rms@gnu.org>
1360 * bison.simple: New file.
1362 1993-05-19 Richard Stallman <rms@gnu.org>
1364 * doc/bison.texinfo: New file.
1366 1993-05-07 Noah Friedman <friedman@gnu.org>
1368 * Makefile.in: *** empty log message ***
1370 1993-04-28 Noah Friedman <friedman@gnu.org>
1372 * src/reader.c: *** empty log message ***
1374 1993-04-23 Noah Friedman <friedman@gnu.org>
1376 * src/alloc.h: entered into RCS
1378 1993-04-20 David J. MacKenzie <djm@gnu.org>
1380 * src/version.c: *** empty log message ***
1382 * src/files.c, src/allocate.c:
1385 * src/reader.c: *** empty log message ***
1387 * src/lex.c: entered into RCS
1389 * src/conflicts.c: New file.
1391 * src/symtab.c: entered into RCS
1393 * src/alloc.h: New file.
1395 * src/LR0.c: entered into RCS
1397 1993-04-18 Noah Friedman <friedman@gnu.org>
1399 * src/reader.c: New file.
1401 * src/version.c: *** empty log message ***
1403 1993-04-18 Noah Friedman <friedman@gnu.org>
1405 * Makefile.in: *** empty log message ***
1407 1993-04-17 Noah Friedman <friedman@gnu.org>
1409 * Makefile.in: *** empty log message ***
1411 1993-04-15 Richard Stallman <rms@gnu.org>
1413 * src/main.c, src/files.c:
1416 1993-04-15 Noah Friedman <friedman@gnu.org>
1418 * configure.in: entered into RCS
1420 * configure.in: *** empty log message ***
1422 * configure.in: New file.
1424 1993-04-14 Richard Stallman <rms@gnu.org>
1426 * Makefile.in: New file.
1428 1993-04-13 Richard Stallman <rms@gnu.org>
1430 * src/version.c: New file.
1432 1993-03-25 Richard Stallman <rms@gnu.org>
1434 * src/output.c: entered into RCS
1436 1992-09-25 Richard Stallman <rms@gnu.org>
1438 * configure.bat: entered into RCS
1440 1992-06-22 Richard Stallman <rms@gnu.org>
1442 * src/vmsgetargs.c: entered into RCS
1444 1992-06-22 Richard Stallman <rms@gnu.org>
1446 * doc/bison.rnh: entered into RCS
1448 1992-04-20 David J. MacKenzie <djm@gnu.org>
1450 * README: entered into RCS
1452 1992-01-22 Richard Stallman <rms@gnu.org>
1454 * src/machine.h: entered into RCS
1456 1991-12-21 Richard Stallman <rms@gnu.org>
1458 * src/lalr.c, src/closure.c:
1461 1991-12-20 Richard Stallman <rms@gnu.org>
1463 * src/state.h: entered into RCS
1465 1991-12-18 Richard Stallman <rms@gnu.org>
1467 * src/print.c, src/nullable.c, src/derives.c:
1470 1991-11-03 David J. MacKenzie <djm@gnu.org>
1472 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1475 1988-09-09 Richard Stallman <rms@gnu.org>
1477 * src/bison.hairy: entered into RCS
1479 1987-12-16 Richard Stallman <rms@gnu.org>
1481 * REFERENCES: entered into RCS