1 2000-10-02 Akim Demaille <akim@epita.fr>
7 2000-10-02 Akim Demaille <akim@epita.fr>
9 * src/print.h: New file.
11 * src/print.c: Formatting and ordering changes.
12 (verbose, terse): Replace with...
13 (print_results): this new function.
17 2000-10-02 Akim Demaille <akim@epita.fr>
19 * src/conflicts.c (conflict_report): New function.
20 (conflict_log, verbose_conflict_log): Replace with...
21 (print_conflicts): this function.
23 * src/conflicts.h: New file.
24 Propagate its inclusion.
27 2000-10-02 Akim Demaille <akim@epita.fr>
29 * src/nullable.h: New file.
30 Propagate its inclusion.
31 * src/nullable.c: Formatting changes.
34 2000-10-02 Akim Demaille <akim@epita.fr>
36 * src/reduce.h: New file.
37 Propagate its inclusion.
38 * src/reduce.c: Topological sort and other formatting changes.
39 (bool, TRUE, FALSE): Move their definition to...
43 2000-10-02 Akim Demaille <akim@epita.fr>
45 * src/files.c: Formatting changes.
46 (tryopen, tryclose, openfiles): Rename as...
47 (xfopen, xfclose, open_files): this.
48 (stringappend): static.
49 * src/files.h: Complete the list of exported symbols.
53 2000-10-02 Akim Demaille <akim@epita.fr>
55 * src/reader.h: New file.
56 Propagate its use instead of tedious list of `extern' and
58 * src/reader.c: Formatting changes, topological sort,
62 2000-10-02 Akim Demaille <akim@epita.fr>
64 * src/lex.h: Prototype `lex.c' exported functions.
65 * src/reader.c: Adjust.
66 * src/lex.c: Formatting changes.
67 (safegetc): Rename as...
71 2000-10-02 Akim Demaille <akim@epita.fr>
73 * src/lalr.h: New file.
74 Propagate its inclusion instead of prototypes and `extern'.
75 * src/lalr.c: Formatting changes, topological sorting etc.
78 2000-10-02 Akim Demaille <akim@epita.fr>
80 * src/output.c (token_actions): Introduce a temporary array,
81 YYDEFACT, that makes it possible for this function to use
85 2000-10-02 Akim Demaille <akim@epita.fr>
87 `user_toknums' is output as a `short[]' in `output.c', while it is
88 defined as a `int[]' in `reader.c'. For consistency with the
89 other output tables, `user_toknums' is now defined as a table of
92 * src/reader.c (user_toknums): Be a short table instead of an int
96 Factor the short table outputs.
98 * src/output.c (output_short_table): New function.
99 * src/output.c (output_gram, output_stos, output_rule_data)
100 (output_base, output_table, output_check): Use it.
102 2000-10-02 Akim Demaille <akim@epita.fr>
104 * src/output.c (output): Topological sort of the functions, in
105 order to get rid of the `static' prototypes.
106 No longer use `register'.
107 * src/output.h: New file.
108 Propagate its inclusion in files explicitly prototyping functions
111 2000-09-21 Akim Demaille <akim@epita.fr>
113 * src/atgeneral.m4: Update from Autoconf.
115 2000-09-21 Akim Demaille <akim@epita.fr>
117 * src/closure.h: New file.
118 * src/closure.c: Formatting changes, topological sort over the
119 functions, use of closure.h.
120 (initialize_closure, finalize_closure): Rename as...
121 (new_closure, free_closure): these. Adjust dependencies.
122 * src/LR0.c: Formatting changes, topological sort, use of
124 (initialize_states): Rename as...
126 * src/Makefile.am (noinst_HEADERS): Adjust.
128 2000-09-20 Akim Demaille <akim@epita.fr>
130 * src/acconfig.h: Don't protect config.h against multiple
133 * src/system.h: Define PARAMS.
134 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
135 purpose of config.h. system.h must not try to fix wrong
136 definitions in config.h.
138 2000-09-20 Akim Demaille <akim@epita.fr>
140 * src/derives.h: New file.
141 * src/main.c, src/derives.h: Use it.
143 * src/Makefile.am (noinst_HEADERS): Adjust.
145 2000-09-20 Akim Demaille <akim@epita.fr>
147 * tests/atgeneral.m4: Update from Autoconf.
148 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
149 (AT_CHECK_CALC): New macros.
150 Use these macros to test bison with options `', `--raw',
151 `--debug', `--yacc', `--yacc --debug'.
153 2000-09-19 Akim Demaille <akim@epita.fr>
155 * src/output.c: Formatting changes.
156 * src/machine.h: Remove, leaving its contents in...
157 * src/system.h: here.
159 Adjust all dependencies on stdio.h and machine.h.
160 * src/getargs.h: New file.
161 Let all `extern' declarations about getargs.c be replaced with
162 inclusion of `getargs.h'.
163 * src/Makefile.am (noinst_HEADERS): Adjust.
165 * tests/calc.m4 (yyin): Be initialized in main, not on the global
167 (yyerror): Returns void, not int.
168 * doc/bison.texinfo: Formatting changes.
170 2000-09-19 Akim Demaille <akim@epita.fr>
172 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
175 2000-09-18 Akim Demaille <akim@epita.fr>
177 * configure.in: Append WARNING_CFLAGS to CFLAGS.
178 * src/Makefile.am (INCLUDES): Don't.
179 Be ready to fetch headers in lib/.
181 2000-09-18 Akim Demaille <akim@epita.fr>
183 * doc/bison.texinfo: Update the copyright.
184 ANSIfy and GNUify the examples.
187 2000-09-18 Akim Demaille <akim@epita.fr>
189 First set of tests: use the `calc' example from the documentation.
191 * src/bison.s1 (yyparse): Condition the code using `yytname' which
192 is defined only when YYDEBUG is.
193 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
194 * src/files.c (tryopen, tryclose): Formatting changes.
195 Move to the top and be static.
196 * src/reader.c (read_signed_integer): Likewise.
197 * tests/calc.m4: New file.
198 * Makefile.am, suite.m4: Adjust.
199 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
201 2000-09-18 Akim Demaille <akim@epita.fr>
203 Add support for an Autotest test suite for Bison.
205 * m4/m4.m4, m4/atconfig.m4: New files.
206 * m4/Makefile.am (EXTRA_DIST): Adjust.
207 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
209 * src/getargs.c: Display a more standard --version message.
210 * src/reader.c (reader): Formatting changes.
211 No longer depend upon VERSION_STRING.
212 * configure.in: No longer use `dnl'.
213 Set up the test suite and the new directory `tests/.
214 (VERSION_STRING): Remove.
216 2000-04-14 Akim Demaille <akim@epita.fr>
218 * src/reader.c (copy_comment2): New function, same as former
219 `copy_comment', but outputs into two FILE *.
220 (copy_comment): Use it.
221 (parse_union_decl): Use it.
222 (get_type, parse_start_decl): Use the same `invalid' message.
223 (parse_start_decl, parse_union_decl): Use the same `multiple'
225 (parse_union_decl, copy_guard, copy_action): Use the same
227 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
229 2000-03-31 Akim Demaille <akim@epita.fr>
231 * src/files.c (tryopen, tryclose): Move to the top.
234 2000-03-31 Akim Demaille <akim@epita.fr>
236 * src/main.c (main): Don't call `done', exit does it.
238 2000-03-31 Akim Demaille <akim@epita.fr>
240 * allocate.c: s/return (foo)/return foo/.
243 * output.c: Likewise.
244 * reader.c: Likewise.
245 * symtab.c: Likewise.
246 * vmsgetargs.c: Likewise.
248 2000-03-31 Akim Demaille <akim@epita.fr>
250 Clean up the error reporting functions.
252 * src/report.c: New file.
253 * src/report.h: Likewise.
254 * src/Makefile.am: Adjust.
255 * m4/error.m4: New file.
256 * m4/Makefile.am: Adjust.
257 * configure.in (jm_PREREQ_ERROR): Call it.
258 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
260 (fatal, fatals): Remove. All callers use complain.c::fatal.
261 (warn, warni, warns, warnss, warnss): Remove. All callers use
262 complain.c::complain.
263 (toomany): Remove, use fatal instead.
264 * src/files.c (done): No argument, use complain_message_count.
265 * src/main.c (main): Register `done' to `atexit'.
267 * src/getargs.c (usage): More `fputs', less `fprintf'.
269 2000-03-28 Akim Demaille <akim@epita.fr>
271 * lib/: New directory.
272 * Makefile.am (SUBDIRS): Adjust.
273 * configure.in: Adjust.
274 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
276 * src/alloca.c: Moved to lib/.
277 * src/getopt.c: Likewise.
278 * src/getopt1.c: Likewise.
279 * src/getopt.h: Likewise.
280 * src/ansi2knr.c: Likewise.
281 * src/ansi2knr.1: Likewise.
282 * src/Makefile.am: Adjust.
283 * lib/Makefile.am: New file.
285 2000-03-28 Akim Demaille <akim@epita.fr>
287 * src/getargs.c (usage): Refresh the help message.
289 2000-03-17 Akim Demaille <akim@epita.fr>
291 * src/getopt1.c: Updated from textutils 2.0e
292 * src/getopt.c: Likewise.
293 * src/getopt.h: Likewise.
295 2000-03-17 Akim Demaille <akim@epita.fr>
297 * src/Makefile.am (bison.simple): Fix the awk program: quote only
298 the file name, not the whole `#line LINE FILE'.
300 2000-03-17 Akim Demaille <akim@epita.fr>
302 On syntax errors, report the token on which we choked.
304 * src/bison.s1 (yyparse): In the label yyerrlab, when
305 YYERROR_VERBOSE, add yychar in msg.
307 2000-03-17 Akim Demaille <akim@epita.fr>
309 * src/reader.c (copy_at): New function.
310 (copy_guard): Use it.
311 (copy_action): Use it.
313 2000-03-17 Akim Demaille <akim@epita.fr>
315 Be kind to translators, save some useless translations.
317 * src/main.c (banner): New function.
318 (fatal_banner): Use it.
319 (warn_banner): Use it.
321 2000-03-17 Akim Demaille <akim@epita.fr>
323 * src/reader.c (copy_definition): Use copy_string and
324 copy_comment. Removed now unused `match', `ended',
326 (copy_comment, copy_string): Moved, to be visible from
329 2000-03-17 Akim Demaille <akim@epita.fr>
331 * src/reader.c (copy_string): Declare `static inline'. No
332 problems with inline, since it is checked by configure.
333 (copy_comment): Likewise.
335 2000-03-17 Akim Demaille <akim@epita.fr>
337 * src/reader.c (packsymbols): Formatting changes.
339 2000-03-17 Akim Demaille <akim@epita.fr>
341 * src/reader.c (copy_comment): New function, factored out from:
342 (copy_action): Use it. Removed now unused `match', `ended',
344 (copy_guard): Likewise.
346 2000-03-17 Akim Demaille <akim@epita.fr>
348 * src/reader.c (copy_string): New function, factored out from:
349 (copy_action): Use it.
350 (copy_guard): Likewise.
352 2000-03-17 Akim Demaille <akim@epita.fr>
354 Change the handling of @s so that they behave exactly like $s.
355 There is now a pseudo variable @$ (readble and writable), location
356 of the lhs of the rule (by default ranging from the location of
357 the first symbol of the rhs, to the location of the last symbol,
358 or, if the rhs is empty, YYLLOC).
360 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
362 (yyparse): When providing a default semantic action, provide a
363 default location action.
364 (after the $): No longer change `*YYLSP', just stack YYLOC the
365 same way you stack YYVAL.
366 * src/reader.c (read_declarations): Use warns.
367 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
368 (copy_action, case '@'): Likewise.
369 Use a standard error message, to save useless work from
372 2000-03-17 Akim Demaille <akim@epita.fr>
374 * src/bison.s1: Formatting and cosmetics changes.
375 * src/reader.c: Likewise.
376 Update the Copyright notice.
378 2000-03-17 Akim Demaille <akim@epita.fr>
380 * src/bison.s1 (#line): All set to `#line' only, since the
381 Makefile now handles them.
383 2000-03-16 Akim Demaille <akim@epita.fr>
385 * src/output.c (output_rule_data): Output the documentation of
387 (Copyright notice): Update.
390 2000-03-16 Akim Demaille <akim@epita.fr>
392 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
393 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
394 One `#if YYDEBUG' remains, since it uses variables which are
395 defined only if `YYDEBUG != 0'.
397 2000-03-16 Akim Demaille <akim@epita.fr>
399 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
400 and related variables so that the similarities are highlighted.
402 2000-03-16 Akim Demaille <akim@epita.fr>
404 * src/bison.s1: Properly indent CPP directives.
406 2000-03-16 Akim Demaille <akim@epita.fr>
408 * src/bison.s1: Properly indent the `alloca' CPP section.
410 2000-03-16 Akim Demaille <akim@epita.fr>
412 Do not hard code values of directories in `configure.in'.
413 Update the `configure' tool chain.
415 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
417 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
418 (AC_OUTPUT): Add m4/Makefile.
419 Bump to bison 1.28a, 1.29 has never been released.
420 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
421 handled via src/Makefile.am.
422 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
423 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
425 * Makefile.am (SUBDIRS): Add m4.
426 (ACLOCAL_AM_FLAGS): New variable.
427 (AUTOMAKE_OPTIONS): Add check-news.
428 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
429 the proper line number and file name.
430 (DEFS): Propagate the location of bison library files and of the
432 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
434 * acinclude.m4: Remove, replaced by the directory m4.
435 * m4/Makefile.am (EXTRA_DIST): New variable.
436 * m4/gettext.m4: New file, from the fileutils.
437 * m4/lcmessage.m4: Likewise
438 * m4/progtest.m4: Likewise.
439 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
441 2000-03-10 Akim Demaille <akim@epita.fr>
444 Formatting changes of various comments.
445 Respect the GNU coding standards at various places.
446 Don't use `_()' when no translation is needed.
448 1999-12-13 Jesse Thilo <jthilo@gnu.org>
451 OS/2 honors TMPDIR environment variable.
453 1999-12-13 Jesse Thilo <jthilo@gnu.org>
455 * doc/bison.texinfo: Tweaked spelling and grammar.
457 Removed reference to price of printed copy.
458 Mention BISON_SIMPLE and BISON_HAIRY.
460 1999-12-13 Jesse Thilo <jthilo@gnu.org>
462 * configure.in, NEWS:
465 1999-10-27 Jesse Thilo <jthilo@gnu.org>
467 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
468 Added reference card.
470 1999-07-26 Jesse Thilo <jthilo@gnu.org>
472 * po/ru.po: Added Russian translation.
474 1999-07-26 Jesse Thilo <jthilo@gnu.org>
476 * configure.in: Added Russian translation.
478 1999-07-06 Jesse Thilo <jthilo@gnu.org>
480 * configure.in, NEWS, README:
481 Released version 1.28.
483 1999-06-14 Jesse Thilo <jthilo@gnu.org>
486 Squashed redefinition warning on some systems.
488 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
489 Have configure build version string instead of relying on ANSI string
492 1999-06-14 Jesse Thilo <jthilo@gnu.org>
494 * po/POTFILES.in: Got rid of version.c.
496 1999-06-14 Jesse Thilo <jthilo@gnu.org>
498 * acconfig.h, configure.in:
499 Have configure build version string instead of relying on ANSI string
502 1999-06-08 Jesse Thilo <jthilo@gnu.org>
505 Dropped mention of `+' for long-named options.
507 1999-05-30 Jesse Thilo <jthilo@gnu.org>
509 * src/files.c: Added <unistd.h> for unlink().
511 * src/Makefile.am, src/system.h:
514 1999-05-30 Jesse Thilo <jthilo@gnu.org>
516 * README: Added a FAQ list.
518 * configure.in, acconfig.h:
521 1999-05-30 Jesse Thilo <jthilo@gnu.org>
523 * doc/FAQ, doc/Makefile.am:
526 1999-05-19 Jesse Thilo <jthilo@gnu.org>
528 * src/alloc.h, src/symtab.h, src/version.c:
529 Protected inclusion of "config.h" with HAVE_CONFIG_H.
531 1999-04-18 Jesse Thilo <jthilo@gnu.org>
533 * src/.cvsignore, src/Makefile.am:
534 Reorganized: sources in `src', documentation in `doc'.
536 * src/lex.c (literalchar):
537 fixed the code for escaping double quotes (thanks
540 1999-04-18 Jesse Thilo <jthilo@gnu.org>
542 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
543 Adjusted paths to reflect directory reorganization.
545 1999-04-18 Jesse Thilo <jthilo@gnu.org>
547 * doc/.cvsignore, doc/Makefile.am:
548 Reorganized: sources in `src', documentation in `doc'.
550 1999-04-18 Jesse Thilo <jthilo@gnu.org>
553 Updated AC_INIT file to reflect directory reorganization.
555 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
556 Reorganized: sources in `src', documentation in `doc'.
558 1999-04-13 Jesse Thilo <jthilo@gnu.org>
561 Don't declare calloc() and realloc() if not necessary.
563 1999-04-13 Jesse Thilo <jthilo@gnu.org>
565 * configure.in, acconfig.h, acinclude.m4:
566 Don't declare calloc() and realloc() if not necessary.
568 1999-03-23 Jesse Thilo <jthilo@gnu.org>
570 * po/.cvsignore: Added i18n support.
572 1999-03-23 Jesse Thilo <jthilo@gnu.org>
574 * acconfig.h, configure.in, Makefile.am:
577 1999-03-22 Jesse Thilo <jthilo@gnu.org>
579 * src/bison.s1: Fixed #line numbers.
581 1999-03-15 Jesse Thilo <jthilo@gnu.org>
583 * po/es.po, po/fr.po, po/nl.po, po/de.po:
584 Added PO files from Translation Project.
586 1999-03-03 Jesse Thilo <jthilo@gnu.org>
589 Added support for non-ANSI compilers (ansi2knr).
591 1999-02-16 Jesse Thilo <jthilo@gnu.org>
593 * configure.in: Bumped version number to 1.27.
596 Added `bison.simple' to list of files removed by `make distclean'.
598 1999-02-12 Jesse Thilo <jthilo@gnu.org>
600 * src/files.c, src/files.h:
601 Defined locations of parser files in config.h instead of Makefile.
603 1999-02-12 Jesse Thilo <jthilo@gnu.org>
605 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
606 Defined locations of parser files in config.h instead of Makefile.
608 1999-02-09 Jesse Thilo <jthilo@gnu.org>
611 Removed inappropriate use of $< macro.
613 1999-02-05 Jesse Thilo <jthilo@gnu.org>
615 * po/Makefile.in.in, po/POTFILES.in:
616 Add `po' directory skeleton.
618 1999-01-27 Jesse Thilo <jthilo@gnu.org>
620 * README: Document help-bison list.
622 * configure.in: Add check for mkstemp().
624 1999-01-20 Jesse Thilo <jthilo@gnu.org>
626 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
627 Hush a few compiler warnings.
630 Add tryclose(), which verifies that fclose was successful.
631 Hush a couple of compiler warnings.
633 1999-01-20 Jesse Thilo <jthilo@gnu.org>
635 * Makefile.am, OChangeLog:
636 ChangeLog is now automatically generated. Include the old version as
639 1999-01-14 Jesse Thilo <jthilo@gnu.org>
641 * 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:
644 1999-01-14 Jesse Thilo <jthilo@gnu.org>
646 * doc/bison.texinfo: Fix formatting glitch.
648 * doc/bison.texinfo: Update FSF address.
650 1999-01-14 Jesse Thilo <jthilo@gnu.org>
652 * acconfig.h: Update FSF address.
654 1999-01-08 Jesse Thilo <jthilo@gnu.org>
657 Don't define PACKAGE here, since config.h defines it.
659 1998-12-30 Jesse Thilo <jthilo@gnu.org>
661 * src/reader.c: Update copyright date.
664 Ditch sprintf to statically-sized buffers in fatal/warn functions in
665 favor of output directly to stderr (avoids buffer overruns).
667 * src/reader.c: Some checks for premature EOF.
669 * 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:
670 Use prototypes if the compiler understands them.
672 * src/files.c: Honor TMPDIR on Unix hosts.
673 Use prototypes if the compiler understands them.
676 Fix a couple of buffer overrun bugs.
677 Use prototypes if the compiler understands them.
679 * src/system.h: Include unistd.h and ctype.h.
680 Use #ifdef instead of #if for NLS symbols.
682 1998-12-30 Jesse Thilo <jthilo@gnu.org>
685 Delete comment "consider using @set for edition number, etc..." since
688 1998-12-30 Jesse Thilo <jthilo@gnu.org>
691 Use prototypes if the compiler understands them.
693 * NEWS: Document 1.26 highlights.
695 * Makefile.am: Require Automake 1.3 or later.
698 Use prototypes if the compiler understands them.
700 1998-12-29 Jesse Thilo <jthilo@gnu.org>
703 Use VERSION symbol from automake for version number.
705 1998-12-29 Jesse Thilo <jthilo@gnu.org>
707 * acconfig.h, configure.in, version.cin:
708 Use VERSION symbol from automake for version number.
710 1998-11-28 Jesse Thilo <jthilo@gnu.org>
713 Distribute original version of simple parser (bison.s1), not built
714 version (bison.simple).
716 1998-11-28 Jesse Thilo <jthilo@gnu.org>
718 * doc/bison.texinfo: Add info dir entry.
721 Let automake put version number into documentation.
723 1998-11-26 Jesse Thilo <jthilo@gnu.org>
725 * src/bison.cld, src/build.com, src/vmshlp.mar:
726 Add non-RCS files from /gd/gnu/bison.
728 1998-11-26 Jesse Thilo <jthilo@gnu.org>
731 Document the BISON_HAIRY and BISON_SIMPLE variables.
733 1998-11-25 Jesse Thilo <jthilo@gnu.org>
735 * src/version.c: Build version.c automatically.
738 Fix token numbering (used to start at 258, not 257).
740 * src/system.h: Include config.h.
742 * src/getargs.c: Update bug report address.
744 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
745 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
747 1998-11-25 Jesse Thilo <jthilo@gnu.org>
750 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
752 * configure.in, version.cin:
753 Build version.c automatically.
755 * AUTHORS: Add AUTHORS file.
757 * README: Update bug report address.
760 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
762 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
765 1998-11-25 Jesse Thilo <jthilo@gnu.org>
767 * doc/bison.texinfo: Clean up some formatting.
769 1998-05-05 Richard Stallman <rms@gnu.org>
772 Explain better why to make a pure parser.
774 1998-01-05 Richard Stallman <rms@gnu.org>
776 * src/files.c (openfiles):
777 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
778 find a temporary directory, if possible. Do not unlink files while
781 1997-08-25 Richard Stallman <rms@gnu.org>
783 * src/reader.c (stack_offset;):
784 Change some warni to warns.
786 * src/lex.c (literalchar): Use warns, not warni.
788 1997-06-28 Richard Stallman <rms@gnu.org>
790 * src/bison.s1: Add a Bison version comment.
792 * src/main.c (fatal, warn, berror):
795 1997-06-28 Richard Stallman <rms@gnu.org>
797 * Makefile.in (bison_version): New variable.
798 (dist): Use that variable.
799 (bison.s1): Substitute the Bison version into bison.simple.
801 * bison.simple: Add a Bison version comment.
803 1997-06-18 Richard Stallman <rms@gnu.org>
805 * src/main.c (fatal, warn, berror):
806 Make error messages standard.
807 (toomany): Improve error message text.
809 * 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:
810 new.h renamed to alloc.h.
812 1997-06-18 Richard Stallman <rms@gnu.org>
814 * Makefile.in: new.h renamed to alloc.h.
816 1997-05-24 Richard Stallman <rms@gnu.org>
818 * src/lex.c (literalchar):
819 Fix the code for escaping \, " and '.
821 (lex): Avoid trouble when there are many chars
822 to discard in a char literal with just several chars in it.
824 1997-05-17 Richard Stallman <rms@gnu.org>
827 Use malloc, if using alloca is troublesome.
828 (YYSTACK_USE_ALLOCA): New flag macro.
829 Define it for some systems and compilers.
830 (YYSTACK_ALLOC): New macro.
831 (yyparse): Use YYSTACK_ALLOC to allocate stack.
832 If it was malloc'd, free it.
834 1997-05-17 Richard Stallman <rms@gnu.org>
837 Use malloc, if using alloca is troublesome.
838 (YYSTACK_USE_ALLOCA): New flag macro.
839 Define it for some systems and compilers.
840 (YYSTACK_ALLOC): New macro.
841 (yyparse): Use YYSTACK_ALLOC to allocate stack.
842 If it was malloc'd, free it.
844 1997-04-23 Richard Stallman <rms@gnu.org>
847 (alloca) [__hpux]: Always define as __builtin_alloca.
849 1997-04-23 Richard Stallman <rms@gnu.org>
852 (alloca) [__hpux]: Always define as __builtin_alloca.
854 1997-04-22 Richard Stallman <rms@gnu.org>
857 [__hpux]: Include alloca.h (right for HPUX 10)
858 instead of declaring alloca (right for HPUX 9).
860 * src/bison.s1 (__yy_memcpy):
861 Declare arg `count' as unsigned int.
862 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
864 1997-04-22 Richard Stallman <rms@gnu.org>
867 [__hpux]: Include alloca.h (right for HPUX 10)
868 instead of declaring alloca (right for HPUX 9).
870 * bison.simple (__yy_memcpy):
871 Declare arg `count' as unsigned int.
872 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
874 1997-01-03 Richard Stallman <rms@gnu.org>
876 * src/allocate.c: [__STDC__ or _MSC_VER]:
877 Declare calloc and realloc to return void *.
879 1997-01-02 Richard Stallman <rms@gnu.org>
882 [_MSC_VER]: Include stdlib.h and process.h.
883 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
885 * src/main.c (main): Return FAILURE as a value.
886 (printable_version): Declare arg as int, not char.
888 1997-01-02 Richard Stallman <rms@gnu.org>
890 * Makefile.in (dist):
891 Explicitly check for symlinks, and copy them.
893 1996-12-19 Richard Stallman <rms@gnu.org>
896 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
898 1996-12-18 Paul Eggert <eggert@gnu.org>
900 * src/bison.s1 (yyparse):
901 If __GNUC__ and YYPARSE_PARAM are both defined,
902 declare yyparse to have a void * argument.
904 1996-12-18 Paul Eggert <eggert@gnu.org>
906 * bison.simple (yyparse):
907 If __GNUC__ and YYPARSE_PARAM are both defined,
908 declare yyparse to have a void * argument.
910 1996-12-17 Richard Stallman <rms@gnu.org>
912 * src/reduce.c (nbits): Add some casts.
914 1996-08-12 Richard Stallman <rms@gnu.org>
916 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
918 1996-08-12 Richard Stallman <rms@gnu.org>
920 * bison.simple: Test _MSDOS as well as _MSDOS_.
922 1996-07-31 Richard Stallman <rms@gnu.org>
925 [__sun && __i386]: Include alloca.h.
927 1996-07-31 Richard Stallman <rms@gnu.org>
930 [__sun && __i386]: Include alloca.h.
932 1996-07-30 Richard Stallman <rms@gnu.org>
934 * src/bison.s1: Comment change.
936 * src/bison.s1: Test _MSDOS_, not MSDOS.
938 1996-07-30 Richard Stallman <rms@gnu.org>
940 * bison.simple: Comment change.
942 * bison.simple: Test _MSDOS_, not MSDOS.
944 1996-06-01 Richard Stallman <rms@gnu.org>
946 * 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:
947 Insert `_' macro around many string constants.
950 Insert `_' macro around many string constants.
952 (main): Call setlocale, bindtextdomain and textdomain.
954 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
955 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
956 [ENABLE_NLS]: Include libintl.h.
957 [ENABLE_NLS] (gettext): Define.
958 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
959 (N_, PACKAGE, LOCALEDIR): New macros.
961 1996-06-01 Richard Stallman <rms@gnu.org>
963 * POTFILES.in: New file.
965 * Makefile.in (allocate.o):
966 Define target explicitly.
968 * Makefile.in (CFLAGS): Set to @CFLAGS@.
969 (LDFLAGS): Set to @LDFLAGS@.
970 (configure): Run autoconf only if preceding `cd' succeeds.
971 (bison.s1): Redirect output to temporary file then move the
972 temporary to the target, rather than redirecting directly to bison.s1.
973 (clean): Remove config.status and config.log.
974 (distclean): Don't remove config.status here.
976 1996-05-12 Richard Stallman <rms@gnu.org>
979 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
981 1996-05-12 Richard Stallman <rms@gnu.org>
984 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
986 1996-05-11 Richard Stallman <rms@gnu.org>
988 * src/bison.s1 (__yy_memcpy):
989 Really reorder the args, as was supposedly done on Feb 14 1995.
990 (yyparse): Calls changed accordingly.
992 1996-05-11 Richard Stallman <rms@gnu.org>
994 * Makefile.in (dist): Don't use $(srcdir).
996 * bison.simple (__yy_memcpy):
997 Really reorder the args, as was supposedly done on Feb 14 1995.
998 (yyparse): Calls changed accordingly.
1000 1996-01-27 Richard Stallman <rms@gnu.org>
1002 * src/output.c (output_rule_data):
1003 Test YYERROR_VERBOSE in the conditional
1004 around the definition of ttyname.
1006 1995-12-29 Richard Stallman <rms@gnu.org>
1009 Fix line numbers in #line commands.
1011 1995-12-29 Richard Stallman <rms@gnu.org>
1014 Fix line numbers in #line commands.
1016 1995-12-27 Richard Stallman <rms@gnu.org>
1018 * src/bison.s1 (YYPARSE_PARAM_DECL):
1019 In C++, make it always null.
1020 (YYPARSE_PARAM_ARG): New macro.
1021 (yyparse): Use YYPARSE_PARAM_ARG.
1023 1995-12-27 Richard Stallman <rms@gnu.org>
1025 * bison.simple (YYPARSE_PARAM_DECL):
1026 In C++, make it always null.
1027 (YYPARSE_PARAM_ARG): New macro.
1028 (yyparse): Use YYPARSE_PARAM_ARG.
1030 1995-11-29 Richard Stallman <rms@gnu.org>
1032 * doc/bison.texinfo:
1033 Describe literal string tokens, %raw, %no_lines, %token_table.
1035 1995-11-29 Daniel Hagerty <hag@gnu.org>
1037 * doc/bison.texinfo: Fixed update date
1039 1995-10-16 Richard Stallman <rms@gnu.org>
1041 * src/version.c: Version 1.25.
1043 1995-10-16 Richard Stallman <rms@gnu.org>
1045 * NEWS: *** empty log message ***
1047 1995-10-16 Richard Stallman <rms@gnu.org>
1049 * doc/bison.1, doc/bison.rnh:
1052 1995-10-15 Richard Stallman <rms@gnu.org>
1054 * src/vmsgetargs.c, src/getargs.c:
1055 Added -n, -k, and -raw switches.
1056 (noparserflag, toknumflag, rawtoknumflag): New variables.
1058 * src/symtab.h (SALIAS):
1059 New #define for adding aliases to %token.
1060 (struct bucket): Added `alias' field.
1062 * src/reduce.c (reduce_grammar):
1063 Revise error message.
1064 (print_notices): Remove final `.' from error message.
1066 * src/reader.c (reader_output_yylsp):
1068 (readgram): Use `#if 0' around code that accepted %command
1069 inside grammar rules: The documentation doesn't allow it,
1070 and it will fail since the %command processors scan for the next %.
1071 (parse_token_decl): Extended the %token
1072 declaration to allow a multi-character symbol as an alias.
1073 (parse_thong_decl): New function.
1074 (read_declarations): Added %thong declarations.
1075 (read_declarations): Handle NOOP to deal with allowing
1076 % declarations as another means to specify the flags.
1077 (readgram): Allow %prec prior to semantics embedded in a rule.
1078 (skip_to_char, read_declarations, copy_definition)
1079 (parse_token_decl, parse_start_decl, parse_type_decl)
1080 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1081 (get_type_name, copy_guard, copy_action, readgram)
1082 (get_type, packsymbols): Revised most error messages.
1083 Changed `fatal' to `warnxxx' to avoid aborting for error.
1084 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1085 (read_declarations): Improve the error message for
1086 an invalid character. Do not abort.
1087 (read_declarations, copy_guard, copy_action): Use
1088 printable_version to avoid unprintable characters in printed output.
1089 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1090 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1091 Allow the type of a non-terminal can be given
1092 more than once, as long as all specifications give the same type.
1095 (output_headers, output_trailers, output, output_gram)
1096 (output_rule_data): Implement noparserflag variable.
1097 Implement toknumflag variable.
1098 (output): Call reader_output_yylsp to output LTYPESTR.
1100 * src/main.c (main):
1101 If reader sees an error, don't process the grammar.
1102 (fatals): Updated to not use VARARGS1.
1103 (printable_version, int_to_string, warn, warni, warns, warnss)
1104 (warnsss): New error reporting functions. Avoid abort for error.
1107 Added THONG and NOOP for alias processing.
1108 Added SETOPT for the new code that allows setting options with %flags.
1111 Include getopt.h. Add some extern decls.
1112 (safegetc): New function to deal with EOF gracefully.
1113 (literalchar); new function to deal with reading \ escapes.
1114 (lex): Use literalchar.
1115 (lex): Implemented "..." tokens.
1116 (literalchar, lex, parse_percent_token): Made tokenbuffer
1117 always contain the token. This includes growing the token
1118 buffer while reading an integer.
1119 (parse_percent_token): Replaced if-else statement with percent_table.
1120 (parse_percent_token): Added % declarations as another
1121 way to specify the flags -n, -l, and -r. Also added hooks for
1122 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1123 major changes to files.c.
1124 (lex) Retain in the incoming stream a character following
1126 (skip_white_space, lex): Revised most error messages
1127 and changed fatal to warn to avoid aborting.
1128 (percent_table): Added %thong declarations.
1130 * src/gram.h: Comment changes.
1132 * src/files.c (openfiles, open_extra_files, done):
1134 and actfile file. Handle noparserflag. Both for -n switch.
1136 * src/conflicts.c (resolve_sr_conflict):
1137 Remove use of alloca.
1139 1995-06-01 Jim Meyering <meyering@gnu.org>
1141 * doc/bison.texinfo: *** empty log message ***
1143 1995-05-06 Richard Stallman <rms@gnu.org>
1145 * src/bison.s1: Comment change.
1147 1995-05-06 Richard Stallman <rms@gnu.org>
1149 * bison.simple: Comment change.
1151 1995-05-03 Richard Stallman <rms@gnu.org>
1153 * src/version.c: Version now 1.24.
1155 * src/bison.s1: Change distribution terms.
1157 * src/version.c: Version now 1.23.
1159 1995-05-03 Richard Stallman <rms@gnu.org>
1161 * doc/bison.texinfo:
1162 Rewrite "Conditions for Using Bison".
1163 Update version to 1.24.
1165 1995-05-03 Richard Stallman <rms@gnu.org>
1167 * bison.simple: Change distribution terms.
1169 1995-02-23 Richard Stallman <rms@gnu.org>
1171 * src/files.c: Test __VMS_POSIX as well as VMS.
1173 1995-02-14 Jim Meyering <meyering@gnu.org>
1175 * src/bison.s1 (__yy_memcpy):
1176 Renamed from __yy_bcopy to avoid
1177 confusion. Reverse FROM and TO arguments to be consistent with
1180 1995-02-14 Jim Meyering <meyering@gnu.org>
1182 * bison.simple (__yy_memcpy):
1183 Renamed from __yy_bcopy to avoid
1184 confusion. Reverse FROM and TO arguments to be consistent with
1187 1994-11-10 David J. MacKenzie <djm@gnu.org>
1193 * Makefile.in (DISTFILES): Include NEWS.
1195 * Makefile.in (DISTFILES):
1196 Include install-sh, not install.sh.
1198 * configure.in: Update to Autoconf v2 macro names.
1200 1994-10-05 David J. MacKenzie <djm@gnu.org>
1202 * Makefile.in: fix typo
1204 * Makefile.in (prefix, exec_prefix):
1205 Let configure set them.
1207 1994-09-28 David J. MacKenzie <djm@gnu.org>
1209 * Makefile.in: Set datadir to $(prefix)/share.
1211 1994-09-15 Richard Stallman <rms@gnu.org>
1214 Update copyright notice and GPL version.
1216 1994-09-15 Richard Stallman <rms@gnu.org>
1219 Update copyright notice and GPL version.
1221 1994-07-12 Richard Stallman <rms@gnu.org>
1223 * src/reduce.c, src/reader.c:
1226 1994-05-05 David J. MacKenzie <djm@gnu.org>
1228 * Makefile.in: entered into RCS
1230 1994-03-26 Richard Stallman <rms@gnu.org>
1232 * src/bison.s1: entered into RCS
1234 1994-03-26 Richard Stallman <rms@gnu.org>
1236 * bison.simple: entered into RCS
1238 1994-03-25 Richard Stallman <rms@gnu.org>
1240 * src/main.c: entered into RCS
1242 1994-03-24 Richard Stallman <rms@gnu.org>
1244 * src/conflicts.c: entered into RCS
1246 1994-01-02 Richard Stallman <rms@gnu.org>
1248 * Makefile.in: *** empty log message ***
1250 1993-11-21 Richard Stallman <rms@gnu.org>
1252 * src/bison.s1: *** empty log message ***
1254 1993-11-21 Richard Stallman <rms@gnu.org>
1256 * doc/bison.texinfo: entered into RCS
1258 * doc/bison.texinfo: *** empty log message ***
1260 1993-11-21 Richard Stallman <rms@gnu.org>
1262 * bison.simple: *** empty log message ***
1264 1993-10-25 David J. MacKenzie <djm@gnu.org>
1266 * doc/bison.texinfo: *** empty log message ***
1268 1993-10-19 Richard Stallman <rms@gnu.org>
1270 * src/bison.s1: *** empty log message ***
1272 1993-10-19 Richard Stallman <rms@gnu.org>
1274 * bison.simple: *** empty log message ***
1276 1993-10-14 Richard Stallman <rms@gnu.org>
1278 * src/bison.s1: *** empty log message ***
1280 1993-10-14 Richard Stallman <rms@gnu.org>
1282 * bison.simple: *** empty log message ***
1284 1993-09-14 David J. MacKenzie <djm@gnu.org>
1286 * doc/bison.texinfo: *** empty log message ***
1288 1993-09-13 Noah Friedman <friedman@gnu.org>
1290 * Makefile.in: *** empty log message ***
1292 1993-09-10 Richard Stallman <rms@gnu.org>
1294 * src/conflicts.c: *** empty log message ***
1296 * src/system.h: entered into RCS
1298 1993-09-10 Richard Stallman <rms@gnu.org>
1300 * doc/bison.1: entered into RCS
1302 1993-09-06 Noah Friedman <friedman@gnu.org>
1304 * src/version.c: entered into RCS
1306 1993-09-06 Noah Friedman <friedman@gnu.org>
1308 * Makefile.in: *** empty log message ***
1310 1993-07-30 David J. MacKenzie <djm@gnu.org>
1312 * Makefile.in: *** empty log message ***
1314 1993-07-24 Richard Stallman <rms@gnu.org>
1316 * src/bison.s1: *** empty log message ***
1318 1993-07-24 Richard Stallman <rms@gnu.org>
1320 * bison.simple: *** empty log message ***
1322 1993-07-08 David J. MacKenzie <djm@gnu.org>
1324 * Makefile.in: *** empty log message ***
1326 1993-07-04 Richard Stallman <rms@gnu.org>
1328 * src/bison.s1: *** empty log message ***
1330 1993-07-04 Richard Stallman <rms@gnu.org>
1332 * bison.simple: *** empty log message ***
1334 1993-06-26 David J. MacKenzie <djm@gnu.org>
1336 * src/getargs.c: entered into RCS
1338 1993-06-26 David J. MacKenzie <djm@gnu.org>
1340 * doc/bison.texinfo: *** empty log message ***
1342 * doc/bison.1: New file.
1344 1993-06-25 Richard Stallman <rms@gnu.org>
1346 * src/getargs.c: New file.
1348 1993-06-16 Richard Stallman <rms@gnu.org>
1350 * src/bison.s1: *** empty log message ***
1352 1993-06-16 Richard Stallman <rms@gnu.org>
1354 * bison.simple: *** empty log message ***
1356 1993-06-03 Richard Stallman <rms@gnu.org>
1358 * src/bison.s1: New file.
1360 1993-06-03 Richard Stallman <rms@gnu.org>
1362 * doc/bison.texinfo: *** empty log message ***
1364 1993-06-03 Richard Stallman <rms@gnu.org>
1366 * bison.simple: New file.
1368 1993-05-19 Richard Stallman <rms@gnu.org>
1370 * doc/bison.texinfo: New file.
1372 1993-05-07 Noah Friedman <friedman@gnu.org>
1374 * Makefile.in: *** empty log message ***
1376 1993-04-28 Noah Friedman <friedman@gnu.org>
1378 * src/reader.c: *** empty log message ***
1380 1993-04-23 Noah Friedman <friedman@gnu.org>
1382 * src/alloc.h: entered into RCS
1384 1993-04-20 David J. MacKenzie <djm@gnu.org>
1386 * src/version.c: *** empty log message ***
1388 * src/files.c, src/allocate.c:
1391 * src/reader.c: *** empty log message ***
1393 * src/lex.c: entered into RCS
1395 * src/conflicts.c: New file.
1397 * src/symtab.c: entered into RCS
1399 * src/alloc.h: New file.
1401 * src/LR0.c: entered into RCS
1403 1993-04-18 Noah Friedman <friedman@gnu.org>
1405 * src/reader.c: New file.
1407 * src/version.c: *** empty log message ***
1409 1993-04-18 Noah Friedman <friedman@gnu.org>
1411 * Makefile.in: *** empty log message ***
1413 1993-04-17 Noah Friedman <friedman@gnu.org>
1415 * Makefile.in: *** empty log message ***
1417 1993-04-15 Richard Stallman <rms@gnu.org>
1419 * src/main.c, src/files.c:
1422 1993-04-15 Noah Friedman <friedman@gnu.org>
1424 * configure.in: entered into RCS
1426 * configure.in: *** empty log message ***
1428 * configure.in: New file.
1430 1993-04-14 Richard Stallman <rms@gnu.org>
1432 * Makefile.in: New file.
1434 1993-04-13 Richard Stallman <rms@gnu.org>
1436 * src/version.c: New file.
1438 1993-03-25 Richard Stallman <rms@gnu.org>
1440 * src/output.c: entered into RCS
1442 1992-09-25 Richard Stallman <rms@gnu.org>
1444 * configure.bat: entered into RCS
1446 1992-06-22 Richard Stallman <rms@gnu.org>
1448 * src/vmsgetargs.c: entered into RCS
1450 1992-06-22 Richard Stallman <rms@gnu.org>
1452 * doc/bison.rnh: entered into RCS
1454 1992-04-20 David J. MacKenzie <djm@gnu.org>
1456 * README: entered into RCS
1458 1992-01-22 Richard Stallman <rms@gnu.org>
1460 * src/machine.h: entered into RCS
1462 1991-12-21 Richard Stallman <rms@gnu.org>
1464 * src/lalr.c, src/closure.c:
1467 1991-12-20 Richard Stallman <rms@gnu.org>
1469 * src/state.h: entered into RCS
1471 1991-12-18 Richard Stallman <rms@gnu.org>
1473 * src/print.c, src/nullable.c, src/derives.c:
1476 1991-11-03 David J. MacKenzie <djm@gnu.org>
1478 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1481 1988-09-09 Richard Stallman <rms@gnu.org>
1483 * src/bison.hairy: entered into RCS
1485 1987-12-16 Richard Stallman <rms@gnu.org>
1487 * REFERENCES: entered into RCS