1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/conflicts.c (conflict_report): New function.
4 (conflict_log, verbose_conflict_log): Replace with...
5 (print_conflicts): this function.
7 * src/conflicts.h: New file.
8 Propagate its inclusion.
11 2000-10-02 Akim Demaille <akim@epita.fr>
13 * src/nullable.h: New file.
14 Propagate its inclusion.
15 * src/nullable.c: Formatting changes.
18 2000-10-02 Akim Demaille <akim@epita.fr>
20 * src/reduce.h: New file.
21 Propagate its inclusion.
22 * src/reduce.c: Topological sort and other formatting changes.
23 (bool, TRUE, FALSE): Move their definition to...
27 2000-10-02 Akim Demaille <akim@epita.fr>
29 * src/files.c: Formatting changes.
30 (tryopen, tryclose, openfiles): Rename as...
31 (xfopen, xfclose, open_files): this.
32 (stringappend): static.
33 * src/files.h: Complete the list of exported symbols.
37 2000-10-02 Akim Demaille <akim@epita.fr>
39 * src/reader.h: New file.
40 Propagate its use instead of tedious list of `extern' and
42 * src/reader.c: Formatting changes, topological sort,
46 2000-10-02 Akim Demaille <akim@epita.fr>
48 * src/lex.h: Prototype `lex.c' exported functions.
49 * src/reader.c: Adjust.
50 * src/lex.c: Formatting changes.
51 (safegetc): Rename as...
55 2000-10-02 Akim Demaille <akim@epita.fr>
57 * src/lalr.h: New file.
58 Propagate its inclusion instead of prototypes and `extern'.
59 * src/lalr.c: Formatting changes, topological sorting etc.
62 2000-10-02 Akim Demaille <akim@epita.fr>
64 * src/output.c (token_actions): Introduce a temporary array,
65 YYDEFACT, that makes it possible for this function to use
69 2000-10-02 Akim Demaille <akim@epita.fr>
71 `user_toknums' is output as a `short[]' in `output.c', while it is
72 defined as a `int[]' in `reader.c'. For consistency with the
73 other output tables, `user_toknums' is now defined as a table of
76 * src/reader.c (user_toknums): Be a short table instead of an int
80 Factor the short table outputs.
82 * src/output.c (output_short_table): New function.
83 * src/output.c (output_gram, output_stos, output_rule_data)
84 (output_base, output_table, output_check): Use it.
86 2000-10-02 Akim Demaille <akim@epita.fr>
88 * src/output.c (output): Topological sort of the functions, in
89 order to get rid of the `static' prototypes.
90 No longer use `register'.
91 * src/output.h: New file.
92 Propagate its inclusion in files explicitly prototyping functions
95 2000-09-21 Akim Demaille <akim@epita.fr>
97 * src/atgeneral.m4: Update from Autoconf.
99 2000-09-21 Akim Demaille <akim@epita.fr>
101 * src/closure.h: New file.
102 * src/closure.c: Formatting changes, topological sort over the
103 functions, use of closure.h.
104 (initialize_closure, finalize_closure): Rename as...
105 (new_closure, free_closure): these. Adjust dependencies.
106 * src/LR0.c: Formatting changes, topological sort, use of
108 (initialize_states): Rename as...
110 * src/Makefile.am (noinst_HEADERS): Adjust.
112 2000-09-20 Akim Demaille <akim@epita.fr>
114 * src/acconfig.h: Don't protect config.h against multiple
117 * src/system.h: Define PARAMS.
118 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
119 purpose of config.h. system.h must not try to fix wrong
120 definitions in config.h.
122 2000-09-20 Akim Demaille <akim@epita.fr>
124 * src/derives.h: New file.
125 * src/main.c, src/derives.h: Use it.
127 * src/Makefile.am (noinst_HEADERS): Adjust.
129 2000-09-20 Akim Demaille <akim@epita.fr>
131 * tests/atgeneral.m4: Update from Autoconf.
132 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
133 (AT_CHECK_CALC): New macros.
134 Use these macros to test bison with options `', `--raw',
135 `--debug', `--yacc', `--yacc --debug'.
137 2000-09-19 Akim Demaille <akim@epita.fr>
139 * src/output.c: Formatting changes.
140 * src/machine.h: Remove, leaving its contents in...
141 * src/system.h: here.
143 Adjust all dependencies on stdio.h and machine.h.
144 * src/getargs.h: New file.
145 Let all `extern' declarations about getargs.c be replaced with
146 inclusion of `getargs.h'.
147 * src/Makefile.am (noinst_HEADERS): Adjust.
149 * tests/calc.m4 (yyin): Be initialized in main, not on the global
151 (yyerror): Returns void, not int.
152 * doc/bison.texinfo: Formatting changes.
154 2000-09-19 Akim Demaille <akim@epita.fr>
156 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
159 2000-09-18 Akim Demaille <akim@epita.fr>
161 * configure.in: Append WARNING_CFLAGS to CFLAGS.
162 * src/Makefile.am (INCLUDES): Don't.
163 Be ready to fetch headers in lib/.
165 2000-09-18 Akim Demaille <akim@epita.fr>
167 * doc/bison.texinfo: Update the copyright.
168 ANSIfy and GNUify the examples.
171 2000-09-18 Akim Demaille <akim@epita.fr>
173 First set of tests: use the `calc' example from the documentation.
175 * src/bison.s1 (yyparse): Condition the code using `yytname' which
176 is defined only when YYDEBUG is.
177 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
178 * src/files.c (tryopen, tryclose): Formatting changes.
179 Move to the top and be static.
180 * src/reader.c (read_signed_integer): Likewise.
181 * tests/calc.m4: New file.
182 * Makefile.am, suite.m4: Adjust.
183 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
185 2000-09-18 Akim Demaille <akim@epita.fr>
187 Add support for an Autotest test suite for Bison.
189 * m4/m4.m4, m4/atconfig.m4: New files.
190 * m4/Makefile.am (EXTRA_DIST): Adjust.
191 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
193 * src/getargs.c: Display a more standard --version message.
194 * src/reader.c (reader): Formatting changes.
195 No longer depend upon VERSION_STRING.
196 * configure.in: No longer use `dnl'.
197 Set up the test suite and the new directory `tests/.
198 (VERSION_STRING): Remove.
200 2000-04-14 Akim Demaille <akim@epita.fr>
202 * src/reader.c (copy_comment2): New function, same as former
203 `copy_comment', but outputs into two FILE *.
204 (copy_comment): Use it.
205 (parse_union_decl): Use it.
206 (get_type, parse_start_decl): Use the same `invalid' message.
207 (parse_start_decl, parse_union_decl): Use the same `multiple'
209 (parse_union_decl, copy_guard, copy_action): Use the same
211 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
213 2000-03-31 Akim Demaille <akim@epita.fr>
215 * src/files.c (tryopen, tryclose): Move to the top.
218 2000-03-31 Akim Demaille <akim@epita.fr>
220 * src/main.c (main): Don't call `done', exit does it.
222 2000-03-31 Akim Demaille <akim@epita.fr>
224 * allocate.c: s/return (foo)/return foo/.
227 * output.c: Likewise.
228 * reader.c: Likewise.
229 * symtab.c: Likewise.
230 * vmsgetargs.c: Likewise.
232 2000-03-31 Akim Demaille <akim@epita.fr>
234 Clean up the error reporting functions.
236 * src/report.c: New file.
237 * src/report.h: Likewise.
238 * src/Makefile.am: Adjust.
239 * m4/error.m4: New file.
240 * m4/Makefile.am: Adjust.
241 * configure.in (jm_PREREQ_ERROR): Call it.
242 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
244 (fatal, fatals): Remove. All callers use complain.c::fatal.
245 (warn, warni, warns, warnss, warnss): Remove. All callers use
246 complain.c::complain.
247 (toomany): Remove, use fatal instead.
248 * src/files.c (done): No argument, use complain_message_count.
249 * src/main.c (main): Register `done' to `atexit'.
251 * src/getargs.c (usage): More `fputs', less `fprintf'.
253 2000-03-28 Akim Demaille <akim@epita.fr>
255 * lib/: New directory.
256 * Makefile.am (SUBDIRS): Adjust.
257 * configure.in: Adjust.
258 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
260 * src/alloca.c: Moved to lib/.
261 * src/getopt.c: Likewise.
262 * src/getopt1.c: Likewise.
263 * src/getopt.h: Likewise.
264 * src/ansi2knr.c: Likewise.
265 * src/ansi2knr.1: Likewise.
266 * src/Makefile.am: Adjust.
267 * lib/Makefile.am: New file.
269 2000-03-28 Akim Demaille <akim@epita.fr>
271 * src/getargs.c (usage): Refresh the help message.
273 2000-03-17 Akim Demaille <akim@epita.fr>
275 * src/getopt1.c: Updated from textutils 2.0e
276 * src/getopt.c: Likewise.
277 * src/getopt.h: Likewise.
279 2000-03-17 Akim Demaille <akim@epita.fr>
281 * src/Makefile.am (bison.simple): Fix the awk program: quote only
282 the file name, not the whole `#line LINE FILE'.
284 2000-03-17 Akim Demaille <akim@epita.fr>
286 On syntax errors, report the token on which we choked.
288 * src/bison.s1 (yyparse): In the label yyerrlab, when
289 YYERROR_VERBOSE, add yychar in msg.
291 2000-03-17 Akim Demaille <akim@epita.fr>
293 * src/reader.c (copy_at): New function.
294 (copy_guard): Use it.
295 (copy_action): Use it.
297 2000-03-17 Akim Demaille <akim@epita.fr>
299 Be kind to translators, save some useless translations.
301 * src/main.c (banner): New function.
302 (fatal_banner): Use it.
303 (warn_banner): Use it.
305 2000-03-17 Akim Demaille <akim@epita.fr>
307 * src/reader.c (copy_definition): Use copy_string and
308 copy_comment. Removed now unused `match', `ended',
310 (copy_comment, copy_string): Moved, to be visible from
313 2000-03-17 Akim Demaille <akim@epita.fr>
315 * src/reader.c (copy_string): Declare `static inline'. No
316 problems with inline, since it is checked by configure.
317 (copy_comment): Likewise.
319 2000-03-17 Akim Demaille <akim@epita.fr>
321 * src/reader.c (packsymbols): Formatting changes.
323 2000-03-17 Akim Demaille <akim@epita.fr>
325 * src/reader.c (copy_comment): New function, factored out from:
326 (copy_action): Use it. Removed now unused `match', `ended',
328 (copy_guard): Likewise.
330 2000-03-17 Akim Demaille <akim@epita.fr>
332 * src/reader.c (copy_string): New function, factored out from:
333 (copy_action): Use it.
334 (copy_guard): Likewise.
336 2000-03-17 Akim Demaille <akim@epita.fr>
338 Change the handling of @s so that they behave exactly like $s.
339 There is now a pseudo variable @$ (readble and writable), location
340 of the lhs of the rule (by default ranging from the location of
341 the first symbol of the rhs, to the location of the last symbol,
342 or, if the rhs is empty, YYLLOC).
344 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
346 (yyparse): When providing a default semantic action, provide a
347 default location action.
348 (after the $): No longer change `*YYLSP', just stack YYLOC the
349 same way you stack YYVAL.
350 * src/reader.c (read_declarations): Use warns.
351 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
352 (copy_action, case '@'): Likewise.
353 Use a standard error message, to save useless work from
356 2000-03-17 Akim Demaille <akim@epita.fr>
358 * src/bison.s1: Formatting and cosmetics changes.
359 * src/reader.c: Likewise.
360 Update the Copyright notice.
362 2000-03-17 Akim Demaille <akim@epita.fr>
364 * src/bison.s1 (#line): All set to `#line' only, since the
365 Makefile now handles them.
367 2000-03-16 Akim Demaille <akim@epita.fr>
369 * src/output.c (output_rule_data): Output the documentation of
371 (Copyright notice): Update.
374 2000-03-16 Akim Demaille <akim@epita.fr>
376 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
377 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
378 One `#if YYDEBUG' remains, since it uses variables which are
379 defined only if `YYDEBUG != 0'.
381 2000-03-16 Akim Demaille <akim@epita.fr>
383 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
384 and related variables so that the similarities are highlighted.
386 2000-03-16 Akim Demaille <akim@epita.fr>
388 * src/bison.s1: Properly indent CPP directives.
390 2000-03-16 Akim Demaille <akim@epita.fr>
392 * src/bison.s1: Properly indent the `alloca' CPP section.
394 2000-03-16 Akim Demaille <akim@epita.fr>
396 Do not hard code values of directories in `configure.in'.
397 Update the `configure' tool chain.
399 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
401 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
402 (AC_OUTPUT): Add m4/Makefile.
403 Bump to bison 1.28a, 1.29 has never been released.
404 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
405 handled via src/Makefile.am.
406 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
407 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
409 * Makefile.am (SUBDIRS): Add m4.
410 (ACLOCAL_AM_FLAGS): New variable.
411 (AUTOMAKE_OPTIONS): Add check-news.
412 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
413 the proper line number and file name.
414 (DEFS): Propagate the location of bison library files and of the
416 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
418 * acinclude.m4: Remove, replaced by the directory m4.
419 * m4/Makefile.am (EXTRA_DIST): New variable.
420 * m4/gettext.m4: New file, from the fileutils.
421 * m4/lcmessage.m4: Likewise
422 * m4/progtest.m4: Likewise.
423 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
425 2000-03-10 Akim Demaille <akim@epita.fr>
428 Formatting changes of various comments.
429 Respect the GNU coding standards at various places.
430 Don't use `_()' when no translation is needed.
432 1999-12-13 Jesse Thilo <jthilo@gnu.org>
435 OS/2 honors TMPDIR environment variable.
437 1999-12-13 Jesse Thilo <jthilo@gnu.org>
439 * doc/bison.texinfo: Tweaked spelling and grammar.
441 Removed reference to price of printed copy.
442 Mention BISON_SIMPLE and BISON_HAIRY.
444 1999-12-13 Jesse Thilo <jthilo@gnu.org>
446 * configure.in, NEWS:
449 1999-10-27 Jesse Thilo <jthilo@gnu.org>
451 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
452 Added reference card.
454 1999-07-26 Jesse Thilo <jthilo@gnu.org>
456 * po/ru.po: Added Russian translation.
458 1999-07-26 Jesse Thilo <jthilo@gnu.org>
460 * configure.in: Added Russian translation.
462 1999-07-06 Jesse Thilo <jthilo@gnu.org>
464 * configure.in, NEWS, README:
465 Released version 1.28.
467 1999-06-14 Jesse Thilo <jthilo@gnu.org>
470 Squashed redefinition warning on some systems.
472 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
473 Have configure build version string instead of relying on ANSI string
476 1999-06-14 Jesse Thilo <jthilo@gnu.org>
478 * po/POTFILES.in: Got rid of version.c.
480 1999-06-14 Jesse Thilo <jthilo@gnu.org>
482 * acconfig.h, configure.in:
483 Have configure build version string instead of relying on ANSI string
486 1999-06-08 Jesse Thilo <jthilo@gnu.org>
489 Dropped mention of `+' for long-named options.
491 1999-05-30 Jesse Thilo <jthilo@gnu.org>
493 * src/files.c: Added <unistd.h> for unlink().
495 * src/Makefile.am, src/system.h:
498 1999-05-30 Jesse Thilo <jthilo@gnu.org>
500 * README: Added a FAQ list.
502 * configure.in, acconfig.h:
505 1999-05-30 Jesse Thilo <jthilo@gnu.org>
507 * doc/FAQ, doc/Makefile.am:
510 1999-05-19 Jesse Thilo <jthilo@gnu.org>
512 * src/alloc.h, src/symtab.h, src/version.c:
513 Protected inclusion of "config.h" with HAVE_CONFIG_H.
515 1999-04-18 Jesse Thilo <jthilo@gnu.org>
517 * src/.cvsignore, src/Makefile.am:
518 Reorganized: sources in `src', documentation in `doc'.
520 * src/lex.c (literalchar):
521 fixed the code for escaping double quotes (thanks
524 1999-04-18 Jesse Thilo <jthilo@gnu.org>
526 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
527 Adjusted paths to reflect directory reorganization.
529 1999-04-18 Jesse Thilo <jthilo@gnu.org>
531 * doc/.cvsignore, doc/Makefile.am:
532 Reorganized: sources in `src', documentation in `doc'.
534 1999-04-18 Jesse Thilo <jthilo@gnu.org>
537 Updated AC_INIT file to reflect directory reorganization.
539 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
540 Reorganized: sources in `src', documentation in `doc'.
542 1999-04-13 Jesse Thilo <jthilo@gnu.org>
545 Don't declare calloc() and realloc() if not necessary.
547 1999-04-13 Jesse Thilo <jthilo@gnu.org>
549 * configure.in, acconfig.h, acinclude.m4:
550 Don't declare calloc() and realloc() if not necessary.
552 1999-03-23 Jesse Thilo <jthilo@gnu.org>
554 * po/.cvsignore: Added i18n support.
556 1999-03-23 Jesse Thilo <jthilo@gnu.org>
558 * acconfig.h, configure.in, Makefile.am:
561 1999-03-22 Jesse Thilo <jthilo@gnu.org>
563 * src/bison.s1: Fixed #line numbers.
565 1999-03-15 Jesse Thilo <jthilo@gnu.org>
567 * po/es.po, po/fr.po, po/nl.po, po/de.po:
568 Added PO files from Translation Project.
570 1999-03-03 Jesse Thilo <jthilo@gnu.org>
573 Added support for non-ANSI compilers (ansi2knr).
575 1999-02-16 Jesse Thilo <jthilo@gnu.org>
577 * configure.in: Bumped version number to 1.27.
580 Added `bison.simple' to list of files removed by `make distclean'.
582 1999-02-12 Jesse Thilo <jthilo@gnu.org>
584 * src/files.c, src/files.h:
585 Defined locations of parser files in config.h instead of Makefile.
587 1999-02-12 Jesse Thilo <jthilo@gnu.org>
589 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
590 Defined locations of parser files in config.h instead of Makefile.
592 1999-02-09 Jesse Thilo <jthilo@gnu.org>
595 Removed inappropriate use of $< macro.
597 1999-02-05 Jesse Thilo <jthilo@gnu.org>
599 * po/Makefile.in.in, po/POTFILES.in:
600 Add `po' directory skeleton.
602 1999-01-27 Jesse Thilo <jthilo@gnu.org>
604 * README: Document help-bison list.
606 * configure.in: Add check for mkstemp().
608 1999-01-20 Jesse Thilo <jthilo@gnu.org>
610 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
611 Hush a few compiler warnings.
614 Add tryclose(), which verifies that fclose was successful.
615 Hush a couple of compiler warnings.
617 1999-01-20 Jesse Thilo <jthilo@gnu.org>
619 * Makefile.am, OChangeLog:
620 ChangeLog is now automatically generated. Include the old version as
623 1999-01-14 Jesse Thilo <jthilo@gnu.org>
625 * 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:
628 1999-01-14 Jesse Thilo <jthilo@gnu.org>
630 * doc/bison.texinfo: Fix formatting glitch.
632 * doc/bison.texinfo: Update FSF address.
634 1999-01-14 Jesse Thilo <jthilo@gnu.org>
636 * acconfig.h: Update FSF address.
638 1999-01-08 Jesse Thilo <jthilo@gnu.org>
641 Don't define PACKAGE here, since config.h defines it.
643 1998-12-30 Jesse Thilo <jthilo@gnu.org>
645 * src/reader.c: Update copyright date.
648 Ditch sprintf to statically-sized buffers in fatal/warn functions in
649 favor of output directly to stderr (avoids buffer overruns).
651 * src/reader.c: Some checks for premature EOF.
653 * 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:
654 Use prototypes if the compiler understands them.
656 * src/files.c: Honor TMPDIR on Unix hosts.
657 Use prototypes if the compiler understands them.
660 Fix a couple of buffer overrun bugs.
661 Use prototypes if the compiler understands them.
663 * src/system.h: Include unistd.h and ctype.h.
664 Use #ifdef instead of #if for NLS symbols.
666 1998-12-30 Jesse Thilo <jthilo@gnu.org>
669 Delete comment "consider using @set for edition number, etc..." since
672 1998-12-30 Jesse Thilo <jthilo@gnu.org>
675 Use prototypes if the compiler understands them.
677 * NEWS: Document 1.26 highlights.
679 * Makefile.am: Require Automake 1.3 or later.
682 Use prototypes if the compiler understands them.
684 1998-12-29 Jesse Thilo <jthilo@gnu.org>
687 Use VERSION symbol from automake for version number.
689 1998-12-29 Jesse Thilo <jthilo@gnu.org>
691 * acconfig.h, configure.in, version.cin:
692 Use VERSION symbol from automake for version number.
694 1998-11-28 Jesse Thilo <jthilo@gnu.org>
697 Distribute original version of simple parser (bison.s1), not built
698 version (bison.simple).
700 1998-11-28 Jesse Thilo <jthilo@gnu.org>
702 * doc/bison.texinfo: Add info dir entry.
705 Let automake put version number into documentation.
707 1998-11-26 Jesse Thilo <jthilo@gnu.org>
709 * src/bison.cld, src/build.com, src/vmshlp.mar:
710 Add non-RCS files from /gd/gnu/bison.
712 1998-11-26 Jesse Thilo <jthilo@gnu.org>
715 Document the BISON_HAIRY and BISON_SIMPLE variables.
717 1998-11-25 Jesse Thilo <jthilo@gnu.org>
719 * src/version.c: Build version.c automatically.
722 Fix token numbering (used to start at 258, not 257).
724 * src/system.h: Include config.h.
726 * src/getargs.c: Update bug report address.
728 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
729 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
731 1998-11-25 Jesse Thilo <jthilo@gnu.org>
734 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
736 * configure.in, version.cin:
737 Build version.c automatically.
739 * AUTHORS: Add AUTHORS file.
741 * README: Update bug report address.
744 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
746 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
749 1998-11-25 Jesse Thilo <jthilo@gnu.org>
751 * doc/bison.texinfo: Clean up some formatting.
753 1998-05-05 Richard Stallman <rms@gnu.org>
756 Explain better why to make a pure parser.
758 1998-01-05 Richard Stallman <rms@gnu.org>
760 * src/files.c (openfiles):
761 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
762 find a temporary directory, if possible. Do not unlink files while
765 1997-08-25 Richard Stallman <rms@gnu.org>
767 * src/reader.c (stack_offset;):
768 Change some warni to warns.
770 * src/lex.c (literalchar): Use warns, not warni.
772 1997-06-28 Richard Stallman <rms@gnu.org>
774 * src/bison.s1: Add a Bison version comment.
776 * src/main.c (fatal, warn, berror):
779 1997-06-28 Richard Stallman <rms@gnu.org>
781 * Makefile.in (bison_version): New variable.
782 (dist): Use that variable.
783 (bison.s1): Substitute the Bison version into bison.simple.
785 * bison.simple: Add a Bison version comment.
787 1997-06-18 Richard Stallman <rms@gnu.org>
789 * src/main.c (fatal, warn, berror):
790 Make error messages standard.
791 (toomany): Improve error message text.
793 * 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:
794 new.h renamed to alloc.h.
796 1997-06-18 Richard Stallman <rms@gnu.org>
798 * Makefile.in: new.h renamed to alloc.h.
800 1997-05-24 Richard Stallman <rms@gnu.org>
802 * src/lex.c (literalchar):
803 Fix the code for escaping \, " and '.
805 (lex): Avoid trouble when there are many chars
806 to discard in a char literal with just several chars in it.
808 1997-05-17 Richard Stallman <rms@gnu.org>
811 Use malloc, if using alloca is troublesome.
812 (YYSTACK_USE_ALLOCA): New flag macro.
813 Define it for some systems and compilers.
814 (YYSTACK_ALLOC): New macro.
815 (yyparse): Use YYSTACK_ALLOC to allocate stack.
816 If it was malloc'd, free 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-04-23 Richard Stallman <rms@gnu.org>
831 (alloca) [__hpux]: Always define as __builtin_alloca.
833 1997-04-23 Richard Stallman <rms@gnu.org>
836 (alloca) [__hpux]: Always define as __builtin_alloca.
838 1997-04-22 Richard Stallman <rms@gnu.org>
841 [__hpux]: Include alloca.h (right for HPUX 10)
842 instead of declaring alloca (right for HPUX 9).
844 * src/bison.s1 (__yy_memcpy):
845 Declare arg `count' as unsigned int.
846 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
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 * bison.simple (__yy_memcpy):
855 Declare arg `count' as unsigned int.
856 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
858 1997-01-03 Richard Stallman <rms@gnu.org>
860 * src/allocate.c: [__STDC__ or _MSC_VER]:
861 Declare calloc and realloc to return void *.
863 1997-01-02 Richard Stallman <rms@gnu.org>
866 [_MSC_VER]: Include stdlib.h and process.h.
867 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
869 * src/main.c (main): Return FAILURE as a value.
870 (printable_version): Declare arg as int, not char.
872 1997-01-02 Richard Stallman <rms@gnu.org>
874 * Makefile.in (dist):
875 Explicitly check for symlinks, and copy them.
877 1996-12-19 Richard Stallman <rms@gnu.org>
880 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
882 1996-12-18 Paul Eggert <eggert@gnu.org>
884 * src/bison.s1 (yyparse):
885 If __GNUC__ and YYPARSE_PARAM are both defined,
886 declare yyparse to have a void * argument.
888 1996-12-18 Paul Eggert <eggert@gnu.org>
890 * bison.simple (yyparse):
891 If __GNUC__ and YYPARSE_PARAM are both defined,
892 declare yyparse to have a void * argument.
894 1996-12-17 Richard Stallman <rms@gnu.org>
896 * src/reduce.c (nbits): Add some casts.
898 1996-08-12 Richard Stallman <rms@gnu.org>
900 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
902 1996-08-12 Richard Stallman <rms@gnu.org>
904 * bison.simple: Test _MSDOS as well as _MSDOS_.
906 1996-07-31 Richard Stallman <rms@gnu.org>
909 [__sun && __i386]: Include alloca.h.
911 1996-07-31 Richard Stallman <rms@gnu.org>
914 [__sun && __i386]: Include alloca.h.
916 1996-07-30 Richard Stallman <rms@gnu.org>
918 * src/bison.s1: Comment change.
920 * src/bison.s1: Test _MSDOS_, not MSDOS.
922 1996-07-30 Richard Stallman <rms@gnu.org>
924 * bison.simple: Comment change.
926 * bison.simple: Test _MSDOS_, not MSDOS.
928 1996-06-01 Richard Stallman <rms@gnu.org>
930 * 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:
931 Insert `_' macro around many string constants.
934 Insert `_' macro around many string constants.
936 (main): Call setlocale, bindtextdomain and textdomain.
938 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
939 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
940 [ENABLE_NLS]: Include libintl.h.
941 [ENABLE_NLS] (gettext): Define.
942 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
943 (N_, PACKAGE, LOCALEDIR): New macros.
945 1996-06-01 Richard Stallman <rms@gnu.org>
947 * POTFILES.in: New file.
949 * Makefile.in (allocate.o):
950 Define target explicitly.
952 * Makefile.in (CFLAGS): Set to @CFLAGS@.
953 (LDFLAGS): Set to @LDFLAGS@.
954 (configure): Run autoconf only if preceding `cd' succeeds.
955 (bison.s1): Redirect output to temporary file then move the
956 temporary to the target, rather than redirecting directly to bison.s1.
957 (clean): Remove config.status and config.log.
958 (distclean): Don't remove config.status here.
960 1996-05-12 Richard Stallman <rms@gnu.org>
963 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
965 1996-05-12 Richard Stallman <rms@gnu.org>
968 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
970 1996-05-11 Richard Stallman <rms@gnu.org>
972 * src/bison.s1 (__yy_memcpy):
973 Really reorder the args, as was supposedly done on Feb 14 1995.
974 (yyparse): Calls changed accordingly.
976 1996-05-11 Richard Stallman <rms@gnu.org>
978 * Makefile.in (dist): Don't use $(srcdir).
980 * bison.simple (__yy_memcpy):
981 Really reorder the args, as was supposedly done on Feb 14 1995.
982 (yyparse): Calls changed accordingly.
984 1996-01-27 Richard Stallman <rms@gnu.org>
986 * src/output.c (output_rule_data):
987 Test YYERROR_VERBOSE in the conditional
988 around the definition of ttyname.
990 1995-12-29 Richard Stallman <rms@gnu.org>
993 Fix line numbers in #line commands.
995 1995-12-29 Richard Stallman <rms@gnu.org>
998 Fix line numbers in #line commands.
1000 1995-12-27 Richard Stallman <rms@gnu.org>
1002 * src/bison.s1 (YYPARSE_PARAM_DECL):
1003 In C++, make it always null.
1004 (YYPARSE_PARAM_ARG): New macro.
1005 (yyparse): Use YYPARSE_PARAM_ARG.
1007 1995-12-27 Richard Stallman <rms@gnu.org>
1009 * bison.simple (YYPARSE_PARAM_DECL):
1010 In C++, make it always null.
1011 (YYPARSE_PARAM_ARG): New macro.
1012 (yyparse): Use YYPARSE_PARAM_ARG.
1014 1995-11-29 Richard Stallman <rms@gnu.org>
1016 * doc/bison.texinfo:
1017 Describe literal string tokens, %raw, %no_lines, %token_table.
1019 1995-11-29 Daniel Hagerty <hag@gnu.org>
1021 * doc/bison.texinfo: Fixed update date
1023 1995-10-16 Richard Stallman <rms@gnu.org>
1025 * src/version.c: Version 1.25.
1027 1995-10-16 Richard Stallman <rms@gnu.org>
1029 * NEWS: *** empty log message ***
1031 1995-10-16 Richard Stallman <rms@gnu.org>
1033 * doc/bison.1, doc/bison.rnh:
1036 1995-10-15 Richard Stallman <rms@gnu.org>
1038 * src/vmsgetargs.c, src/getargs.c:
1039 Added -n, -k, and -raw switches.
1040 (noparserflag, toknumflag, rawtoknumflag): New variables.
1042 * src/symtab.h (SALIAS):
1043 New #define for adding aliases to %token.
1044 (struct bucket): Added `alias' field.
1046 * src/reduce.c (reduce_grammar):
1047 Revise error message.
1048 (print_notices): Remove final `.' from error message.
1050 * src/reader.c (reader_output_yylsp):
1052 (readgram): Use `#if 0' around code that accepted %command
1053 inside grammar rules: The documentation doesn't allow it,
1054 and it will fail since the %command processors scan for the next %.
1055 (parse_token_decl): Extended the %token
1056 declaration to allow a multi-character symbol as an alias.
1057 (parse_thong_decl): New function.
1058 (read_declarations): Added %thong declarations.
1059 (read_declarations): Handle NOOP to deal with allowing
1060 % declarations as another means to specify the flags.
1061 (readgram): Allow %prec prior to semantics embedded in a rule.
1062 (skip_to_char, read_declarations, copy_definition)
1063 (parse_token_decl, parse_start_decl, parse_type_decl)
1064 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1065 (get_type_name, copy_guard, copy_action, readgram)
1066 (get_type, packsymbols): Revised most error messages.
1067 Changed `fatal' to `warnxxx' to avoid aborting for error.
1068 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1069 (read_declarations): Improve the error message for
1070 an invalid character. Do not abort.
1071 (read_declarations, copy_guard, copy_action): Use
1072 printable_version to avoid unprintable characters in printed output.
1073 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1074 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1075 Allow the type of a non-terminal can be given
1076 more than once, as long as all specifications give the same type.
1079 (output_headers, output_trailers, output, output_gram)
1080 (output_rule_data): Implement noparserflag variable.
1081 Implement toknumflag variable.
1082 (output): Call reader_output_yylsp to output LTYPESTR.
1084 * src/main.c (main):
1085 If reader sees an error, don't process the grammar.
1086 (fatals): Updated to not use VARARGS1.
1087 (printable_version, int_to_string, warn, warni, warns, warnss)
1088 (warnsss): New error reporting functions. Avoid abort for error.
1091 Added THONG and NOOP for alias processing.
1092 Added SETOPT for the new code that allows setting options with %flags.
1095 Include getopt.h. Add some extern decls.
1096 (safegetc): New function to deal with EOF gracefully.
1097 (literalchar); new function to deal with reading \ escapes.
1098 (lex): Use literalchar.
1099 (lex): Implemented "..." tokens.
1100 (literalchar, lex, parse_percent_token): Made tokenbuffer
1101 always contain the token. This includes growing the token
1102 buffer while reading an integer.
1103 (parse_percent_token): Replaced if-else statement with percent_table.
1104 (parse_percent_token): Added % declarations as another
1105 way to specify the flags -n, -l, and -r. Also added hooks for
1106 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1107 major changes to files.c.
1108 (lex) Retain in the incoming stream a character following
1110 (skip_white_space, lex): Revised most error messages
1111 and changed fatal to warn to avoid aborting.
1112 (percent_table): Added %thong declarations.
1114 * src/gram.h: Comment changes.
1116 * src/files.c (openfiles, open_extra_files, done):
1118 and actfile file. Handle noparserflag. Both for -n switch.
1120 * src/conflicts.c (resolve_sr_conflict):
1121 Remove use of alloca.
1123 1995-06-01 Jim Meyering <meyering@gnu.org>
1125 * doc/bison.texinfo: *** empty log message ***
1127 1995-05-06 Richard Stallman <rms@gnu.org>
1129 * src/bison.s1: Comment change.
1131 1995-05-06 Richard Stallman <rms@gnu.org>
1133 * bison.simple: Comment change.
1135 1995-05-03 Richard Stallman <rms@gnu.org>
1137 * src/version.c: Version now 1.24.
1139 * src/bison.s1: Change distribution terms.
1141 * src/version.c: Version now 1.23.
1143 1995-05-03 Richard Stallman <rms@gnu.org>
1145 * doc/bison.texinfo:
1146 Rewrite "Conditions for Using Bison".
1147 Update version to 1.24.
1149 1995-05-03 Richard Stallman <rms@gnu.org>
1151 * bison.simple: Change distribution terms.
1153 1995-02-23 Richard Stallman <rms@gnu.org>
1155 * src/files.c: Test __VMS_POSIX as well as VMS.
1157 1995-02-14 Jim Meyering <meyering@gnu.org>
1159 * src/bison.s1 (__yy_memcpy):
1160 Renamed from __yy_bcopy to avoid
1161 confusion. Reverse FROM and TO arguments to be consistent with
1164 1995-02-14 Jim Meyering <meyering@gnu.org>
1166 * bison.simple (__yy_memcpy):
1167 Renamed from __yy_bcopy to avoid
1168 confusion. Reverse FROM and TO arguments to be consistent with
1171 1994-11-10 David J. MacKenzie <djm@gnu.org>
1177 * Makefile.in (DISTFILES): Include NEWS.
1179 * Makefile.in (DISTFILES):
1180 Include install-sh, not install.sh.
1182 * configure.in: Update to Autoconf v2 macro names.
1184 1994-10-05 David J. MacKenzie <djm@gnu.org>
1186 * Makefile.in: fix typo
1188 * Makefile.in (prefix, exec_prefix):
1189 Let configure set them.
1191 1994-09-28 David J. MacKenzie <djm@gnu.org>
1193 * Makefile.in: Set datadir to $(prefix)/share.
1195 1994-09-15 Richard Stallman <rms@gnu.org>
1198 Update copyright notice and GPL version.
1200 1994-09-15 Richard Stallman <rms@gnu.org>
1203 Update copyright notice and GPL version.
1205 1994-07-12 Richard Stallman <rms@gnu.org>
1207 * src/reduce.c, src/reader.c:
1210 1994-05-05 David J. MacKenzie <djm@gnu.org>
1212 * Makefile.in: entered into RCS
1214 1994-03-26 Richard Stallman <rms@gnu.org>
1216 * src/bison.s1: entered into RCS
1218 1994-03-26 Richard Stallman <rms@gnu.org>
1220 * bison.simple: entered into RCS
1222 1994-03-25 Richard Stallman <rms@gnu.org>
1224 * src/main.c: entered into RCS
1226 1994-03-24 Richard Stallman <rms@gnu.org>
1228 * src/conflicts.c: entered into RCS
1230 1994-01-02 Richard Stallman <rms@gnu.org>
1232 * Makefile.in: *** empty log message ***
1234 1993-11-21 Richard Stallman <rms@gnu.org>
1236 * src/bison.s1: *** empty log message ***
1238 1993-11-21 Richard Stallman <rms@gnu.org>
1240 * doc/bison.texinfo: entered into RCS
1242 * doc/bison.texinfo: *** empty log message ***
1244 1993-11-21 Richard Stallman <rms@gnu.org>
1246 * bison.simple: *** empty log message ***
1248 1993-10-25 David J. MacKenzie <djm@gnu.org>
1250 * doc/bison.texinfo: *** empty log message ***
1252 1993-10-19 Richard Stallman <rms@gnu.org>
1254 * src/bison.s1: *** empty log message ***
1256 1993-10-19 Richard Stallman <rms@gnu.org>
1258 * bison.simple: *** empty log message ***
1260 1993-10-14 Richard Stallman <rms@gnu.org>
1262 * src/bison.s1: *** empty log message ***
1264 1993-10-14 Richard Stallman <rms@gnu.org>
1266 * bison.simple: *** empty log message ***
1268 1993-09-14 David J. MacKenzie <djm@gnu.org>
1270 * doc/bison.texinfo: *** empty log message ***
1272 1993-09-13 Noah Friedman <friedman@gnu.org>
1274 * Makefile.in: *** empty log message ***
1276 1993-09-10 Richard Stallman <rms@gnu.org>
1278 * src/conflicts.c: *** empty log message ***
1280 * src/system.h: entered into RCS
1282 1993-09-10 Richard Stallman <rms@gnu.org>
1284 * doc/bison.1: entered into RCS
1286 1993-09-06 Noah Friedman <friedman@gnu.org>
1288 * src/version.c: entered into RCS
1290 1993-09-06 Noah Friedman <friedman@gnu.org>
1292 * Makefile.in: *** empty log message ***
1294 1993-07-30 David J. MacKenzie <djm@gnu.org>
1296 * Makefile.in: *** empty log message ***
1298 1993-07-24 Richard Stallman <rms@gnu.org>
1300 * src/bison.s1: *** empty log message ***
1302 1993-07-24 Richard Stallman <rms@gnu.org>
1304 * bison.simple: *** empty log message ***
1306 1993-07-08 David J. MacKenzie <djm@gnu.org>
1308 * Makefile.in: *** empty log message ***
1310 1993-07-04 Richard Stallman <rms@gnu.org>
1312 * src/bison.s1: *** empty log message ***
1314 1993-07-04 Richard Stallman <rms@gnu.org>
1316 * bison.simple: *** empty log message ***
1318 1993-06-26 David J. MacKenzie <djm@gnu.org>
1320 * src/getargs.c: entered into RCS
1322 1993-06-26 David J. MacKenzie <djm@gnu.org>
1324 * doc/bison.texinfo: *** empty log message ***
1326 * doc/bison.1: New file.
1328 1993-06-25 Richard Stallman <rms@gnu.org>
1330 * src/getargs.c: New file.
1332 1993-06-16 Richard Stallman <rms@gnu.org>
1334 * src/bison.s1: *** empty log message ***
1336 1993-06-16 Richard Stallman <rms@gnu.org>
1338 * bison.simple: *** empty log message ***
1340 1993-06-03 Richard Stallman <rms@gnu.org>
1342 * src/bison.s1: New file.
1344 1993-06-03 Richard Stallman <rms@gnu.org>
1346 * doc/bison.texinfo: *** empty log message ***
1348 1993-06-03 Richard Stallman <rms@gnu.org>
1350 * bison.simple: New file.
1352 1993-05-19 Richard Stallman <rms@gnu.org>
1354 * doc/bison.texinfo: New file.
1356 1993-05-07 Noah Friedman <friedman@gnu.org>
1358 * Makefile.in: *** empty log message ***
1360 1993-04-28 Noah Friedman <friedman@gnu.org>
1362 * src/reader.c: *** empty log message ***
1364 1993-04-23 Noah Friedman <friedman@gnu.org>
1366 * src/alloc.h: entered into RCS
1368 1993-04-20 David J. MacKenzie <djm@gnu.org>
1370 * src/version.c: *** empty log message ***
1372 * src/files.c, src/allocate.c:
1375 * src/reader.c: *** empty log message ***
1377 * src/lex.c: entered into RCS
1379 * src/conflicts.c: New file.
1381 * src/symtab.c: entered into RCS
1383 * src/alloc.h: New file.
1385 * src/LR0.c: entered into RCS
1387 1993-04-18 Noah Friedman <friedman@gnu.org>
1389 * src/reader.c: New file.
1391 * src/version.c: *** empty log message ***
1393 1993-04-18 Noah Friedman <friedman@gnu.org>
1395 * Makefile.in: *** empty log message ***
1397 1993-04-17 Noah Friedman <friedman@gnu.org>
1399 * Makefile.in: *** empty log message ***
1401 1993-04-15 Richard Stallman <rms@gnu.org>
1403 * src/main.c, src/files.c:
1406 1993-04-15 Noah Friedman <friedman@gnu.org>
1408 * configure.in: entered into RCS
1410 * configure.in: *** empty log message ***
1412 * configure.in: New file.
1414 1993-04-14 Richard Stallman <rms@gnu.org>
1416 * Makefile.in: New file.
1418 1993-04-13 Richard Stallman <rms@gnu.org>
1420 * src/version.c: New file.
1422 1993-03-25 Richard Stallman <rms@gnu.org>
1424 * src/output.c: entered into RCS
1426 1992-09-25 Richard Stallman <rms@gnu.org>
1428 * configure.bat: entered into RCS
1430 1992-06-22 Richard Stallman <rms@gnu.org>
1432 * src/vmsgetargs.c: entered into RCS
1434 1992-06-22 Richard Stallman <rms@gnu.org>
1436 * doc/bison.rnh: entered into RCS
1438 1992-04-20 David J. MacKenzie <djm@gnu.org>
1440 * README: entered into RCS
1442 1992-01-22 Richard Stallman <rms@gnu.org>
1444 * src/machine.h: entered into RCS
1446 1991-12-21 Richard Stallman <rms@gnu.org>
1448 * src/lalr.c, src/closure.c:
1451 1991-12-20 Richard Stallman <rms@gnu.org>
1453 * src/state.h: entered into RCS
1455 1991-12-18 Richard Stallman <rms@gnu.org>
1457 * src/print.c, src/nullable.c, src/derives.c:
1460 1991-11-03 David J. MacKenzie <djm@gnu.org>
1462 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1465 1988-09-09 Richard Stallman <rms@gnu.org>
1467 * src/bison.hairy: entered into RCS
1469 1987-12-16 Richard Stallman <rms@gnu.org>
1471 * REFERENCES: entered into RCS