1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/nullable.h: New file.
4 Propagate its inclusion.
5 * src/nullable.c: Formatting changes.
8 2000-10-02 Akim Demaille <akim@epita.fr>
10 * src/reduce.h: New file.
11 Propagate its inclusion.
12 * src/reduce.c: Topological sort and other formatting changes.
13 (bool, TRUE, FALSE): Move their definition to...
17 2000-10-02 Akim Demaille <akim@epita.fr>
19 * src/files.c: Formatting changes.
20 (tryopen, tryclose, openfiles): Rename as...
21 (xfopen, xfclose, open_files): this.
22 (stringappend): static.
23 * src/files.h: Complete the list of exported symbols.
27 2000-10-02 Akim Demaille <akim@epita.fr>
29 * src/reader.h: New file.
30 Propagate its use instead of tedious list of `extern' and
32 * src/reader.c: Formatting changes, topological sort,
36 2000-10-02 Akim Demaille <akim@epita.fr>
38 * src/lex.h: Prototype `lex.c' exported functions.
39 * src/reader.c: Adjust.
40 * src/lex.c: Formatting changes.
41 (safegetc): Rename as...
45 2000-10-02 Akim Demaille <akim@epita.fr>
47 * src/lalr.h: New file.
48 Propagate its inclusion instead of prototypes and `extern'.
49 * src/lalr.c: Formatting changes, topological sorting etc.
52 2000-10-02 Akim Demaille <akim@epita.fr>
54 * src/output.c (token_actions): Introduce a temporary array,
55 YYDEFACT, that makes it possible for this function to use
59 2000-10-02 Akim Demaille <akim@epita.fr>
61 `user_toknums' is output as a `short[]' in `output.c', while it is
62 defined as a `int[]' in `reader.c'. For consistency with the
63 other output tables, `user_toknums' is now defined as a table of
66 * src/reader.c (user_toknums): Be a short table instead of an int
70 Factor the short table outputs.
72 * src/output.c (output_short_table): New function.
73 * src/output.c (output_gram, output_stos, output_rule_data)
74 (output_base, output_table, output_check): Use it.
76 2000-10-02 Akim Demaille <akim@epita.fr>
78 * src/output.c (output): Topological sort of the functions, in
79 order to get rid of the `static' prototypes.
80 No longer use `register'.
81 * src/output.h: New file.
82 Propagate its inclusion in files explicitly prototyping functions
85 2000-09-21 Akim Demaille <akim@epita.fr>
87 * src/atgeneral.m4: Update from Autoconf.
89 2000-09-21 Akim Demaille <akim@epita.fr>
91 * src/closure.h: New file.
92 * src/closure.c: Formatting changes, topological sort over the
93 functions, use of closure.h.
94 (initialize_closure, finalize_closure): Rename as...
95 (new_closure, free_closure): these. Adjust dependencies.
96 * src/LR0.c: Formatting changes, topological sort, use of
98 (initialize_states): Rename as...
100 * src/Makefile.am (noinst_HEADERS): Adjust.
102 2000-09-20 Akim Demaille <akim@epita.fr>
104 * src/acconfig.h: Don't protect config.h against multiple
107 * src/system.h: Define PARAMS.
108 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
109 purpose of config.h. system.h must not try to fix wrong
110 definitions in config.h.
112 2000-09-20 Akim Demaille <akim@epita.fr>
114 * src/derives.h: New file.
115 * src/main.c, src/derives.h: Use it.
117 * src/Makefile.am (noinst_HEADERS): Adjust.
119 2000-09-20 Akim Demaille <akim@epita.fr>
121 * tests/atgeneral.m4: Update from Autoconf.
122 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
123 (AT_CHECK_CALC): New macros.
124 Use these macros to test bison with options `', `--raw',
125 `--debug', `--yacc', `--yacc --debug'.
127 2000-09-19 Akim Demaille <akim@epita.fr>
129 * src/output.c: Formatting changes.
130 * src/machine.h: Remove, leaving its contents in...
131 * src/system.h: here.
133 Adjust all dependencies on stdio.h and machine.h.
134 * src/getargs.h: New file.
135 Let all `extern' declarations about getargs.c be replaced with
136 inclusion of `getargs.h'.
137 * src/Makefile.am (noinst_HEADERS): Adjust.
139 * tests/calc.m4 (yyin): Be initialized in main, not on the global
141 (yyerror): Returns void, not int.
142 * doc/bison.texinfo: Formatting changes.
144 2000-09-19 Akim Demaille <akim@epita.fr>
146 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
149 2000-09-18 Akim Demaille <akim@epita.fr>
151 * configure.in: Append WARNING_CFLAGS to CFLAGS.
152 * src/Makefile.am (INCLUDES): Don't.
153 Be ready to fetch headers in lib/.
155 2000-09-18 Akim Demaille <akim@epita.fr>
157 * doc/bison.texinfo: Update the copyright.
158 ANSIfy and GNUify the examples.
161 2000-09-18 Akim Demaille <akim@epita.fr>
163 First set of tests: use the `calc' example from the documentation.
165 * src/bison.s1 (yyparse): Condition the code using `yytname' which
166 is defined only when YYDEBUG is.
167 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
168 * src/files.c (tryopen, tryclose): Formatting changes.
169 Move to the top and be static.
170 * src/reader.c (read_signed_integer): Likewise.
171 * tests/calc.m4: New file.
172 * Makefile.am, suite.m4: Adjust.
173 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
175 2000-09-18 Akim Demaille <akim@epita.fr>
177 Add support for an Autotest test suite for Bison.
179 * m4/m4.m4, m4/atconfig.m4: New files.
180 * m4/Makefile.am (EXTRA_DIST): Adjust.
181 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
183 * src/getargs.c: Display a more standard --version message.
184 * src/reader.c (reader): Formatting changes.
185 No longer depend upon VERSION_STRING.
186 * configure.in: No longer use `dnl'.
187 Set up the test suite and the new directory `tests/.
188 (VERSION_STRING): Remove.
190 2000-04-14 Akim Demaille <akim@epita.fr>
192 * src/reader.c (copy_comment2): New function, same as former
193 `copy_comment', but outputs into two FILE *.
194 (copy_comment): Use it.
195 (parse_union_decl): Use it.
196 (get_type, parse_start_decl): Use the same `invalid' message.
197 (parse_start_decl, parse_union_decl): Use the same `multiple'
199 (parse_union_decl, copy_guard, copy_action): Use the same
201 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
203 2000-03-31 Akim Demaille <akim@epita.fr>
205 * src/files.c (tryopen, tryclose): Move to the top.
208 2000-03-31 Akim Demaille <akim@epita.fr>
210 * src/main.c (main): Don't call `done', exit does it.
212 2000-03-31 Akim Demaille <akim@epita.fr>
214 * allocate.c: s/return (foo)/return foo/.
217 * output.c: Likewise.
218 * reader.c: Likewise.
219 * symtab.c: Likewise.
220 * vmsgetargs.c: Likewise.
222 2000-03-31 Akim Demaille <akim@epita.fr>
224 Clean up the error reporting functions.
226 * src/report.c: New file.
227 * src/report.h: Likewise.
228 * src/Makefile.am: Adjust.
229 * m4/error.m4: New file.
230 * m4/Makefile.am: Adjust.
231 * configure.in (jm_PREREQ_ERROR): Call it.
232 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
234 (fatal, fatals): Remove. All callers use complain.c::fatal.
235 (warn, warni, warns, warnss, warnss): Remove. All callers use
236 complain.c::complain.
237 (toomany): Remove, use fatal instead.
238 * src/files.c (done): No argument, use complain_message_count.
239 * src/main.c (main): Register `done' to `atexit'.
241 * src/getargs.c (usage): More `fputs', less `fprintf'.
243 2000-03-28 Akim Demaille <akim@epita.fr>
245 * lib/: New directory.
246 * Makefile.am (SUBDIRS): Adjust.
247 * configure.in: Adjust.
248 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
250 * src/alloca.c: Moved to lib/.
251 * src/getopt.c: Likewise.
252 * src/getopt1.c: Likewise.
253 * src/getopt.h: Likewise.
254 * src/ansi2knr.c: Likewise.
255 * src/ansi2knr.1: Likewise.
256 * src/Makefile.am: Adjust.
257 * lib/Makefile.am: New file.
259 2000-03-28 Akim Demaille <akim@epita.fr>
261 * src/getargs.c (usage): Refresh the help message.
263 2000-03-17 Akim Demaille <akim@epita.fr>
265 * src/getopt1.c: Updated from textutils 2.0e
266 * src/getopt.c: Likewise.
267 * src/getopt.h: Likewise.
269 2000-03-17 Akim Demaille <akim@epita.fr>
271 * src/Makefile.am (bison.simple): Fix the awk program: quote only
272 the file name, not the whole `#line LINE FILE'.
274 2000-03-17 Akim Demaille <akim@epita.fr>
276 On syntax errors, report the token on which we choked.
278 * src/bison.s1 (yyparse): In the label yyerrlab, when
279 YYERROR_VERBOSE, add yychar in msg.
281 2000-03-17 Akim Demaille <akim@epita.fr>
283 * src/reader.c (copy_at): New function.
284 (copy_guard): Use it.
285 (copy_action): Use it.
287 2000-03-17 Akim Demaille <akim@epita.fr>
289 Be kind to translators, save some useless translations.
291 * src/main.c (banner): New function.
292 (fatal_banner): Use it.
293 (warn_banner): Use it.
295 2000-03-17 Akim Demaille <akim@epita.fr>
297 * src/reader.c (copy_definition): Use copy_string and
298 copy_comment. Removed now unused `match', `ended',
300 (copy_comment, copy_string): Moved, to be visible from
303 2000-03-17 Akim Demaille <akim@epita.fr>
305 * src/reader.c (copy_string): Declare `static inline'. No
306 problems with inline, since it is checked by configure.
307 (copy_comment): Likewise.
309 2000-03-17 Akim Demaille <akim@epita.fr>
311 * src/reader.c (packsymbols): Formatting changes.
313 2000-03-17 Akim Demaille <akim@epita.fr>
315 * src/reader.c (copy_comment): New function, factored out from:
316 (copy_action): Use it. Removed now unused `match', `ended',
318 (copy_guard): Likewise.
320 2000-03-17 Akim Demaille <akim@epita.fr>
322 * src/reader.c (copy_string): New function, factored out from:
323 (copy_action): Use it.
324 (copy_guard): Likewise.
326 2000-03-17 Akim Demaille <akim@epita.fr>
328 Change the handling of @s so that they behave exactly like $s.
329 There is now a pseudo variable @$ (readble and writable), location
330 of the lhs of the rule (by default ranging from the location of
331 the first symbol of the rhs, to the location of the last symbol,
332 or, if the rhs is empty, YYLLOC).
334 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
336 (yyparse): When providing a default semantic action, provide a
337 default location action.
338 (after the $): No longer change `*YYLSP', just stack YYLOC the
339 same way you stack YYVAL.
340 * src/reader.c (read_declarations): Use warns.
341 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
342 (copy_action, case '@'): Likewise.
343 Use a standard error message, to save useless work from
346 2000-03-17 Akim Demaille <akim@epita.fr>
348 * src/bison.s1: Formatting and cosmetics changes.
349 * src/reader.c: Likewise.
350 Update the Copyright notice.
352 2000-03-17 Akim Demaille <akim@epita.fr>
354 * src/bison.s1 (#line): All set to `#line' only, since the
355 Makefile now handles them.
357 2000-03-16 Akim Demaille <akim@epita.fr>
359 * src/output.c (output_rule_data): Output the documentation of
361 (Copyright notice): Update.
364 2000-03-16 Akim Demaille <akim@epita.fr>
366 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
367 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
368 One `#if YYDEBUG' remains, since it uses variables which are
369 defined only if `YYDEBUG != 0'.
371 2000-03-16 Akim Demaille <akim@epita.fr>
373 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
374 and related variables so that the similarities are highlighted.
376 2000-03-16 Akim Demaille <akim@epita.fr>
378 * src/bison.s1: Properly indent CPP directives.
380 2000-03-16 Akim Demaille <akim@epita.fr>
382 * src/bison.s1: Properly indent the `alloca' CPP section.
384 2000-03-16 Akim Demaille <akim@epita.fr>
386 Do not hard code values of directories in `configure.in'.
387 Update the `configure' tool chain.
389 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
391 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
392 (AC_OUTPUT): Add m4/Makefile.
393 Bump to bison 1.28a, 1.29 has never been released.
394 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
395 handled via src/Makefile.am.
396 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
397 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
399 * Makefile.am (SUBDIRS): Add m4.
400 (ACLOCAL_AM_FLAGS): New variable.
401 (AUTOMAKE_OPTIONS): Add check-news.
402 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
403 the proper line number and file name.
404 (DEFS): Propagate the location of bison library files and of the
406 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
408 * acinclude.m4: Remove, replaced by the directory m4.
409 * m4/Makefile.am (EXTRA_DIST): New variable.
410 * m4/gettext.m4: New file, from the fileutils.
411 * m4/lcmessage.m4: Likewise
412 * m4/progtest.m4: Likewise.
413 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
415 2000-03-10 Akim Demaille <akim@epita.fr>
418 Formatting changes of various comments.
419 Respect the GNU coding standards at various places.
420 Don't use `_()' when no translation is needed.
422 1999-12-13 Jesse Thilo <jthilo@gnu.org>
425 OS/2 honors TMPDIR environment variable.
427 1999-12-13 Jesse Thilo <jthilo@gnu.org>
429 * doc/bison.texinfo: Tweaked spelling and grammar.
431 Removed reference to price of printed copy.
432 Mention BISON_SIMPLE and BISON_HAIRY.
434 1999-12-13 Jesse Thilo <jthilo@gnu.org>
436 * configure.in, NEWS:
439 1999-10-27 Jesse Thilo <jthilo@gnu.org>
441 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
442 Added reference card.
444 1999-07-26 Jesse Thilo <jthilo@gnu.org>
446 * po/ru.po: Added Russian translation.
448 1999-07-26 Jesse Thilo <jthilo@gnu.org>
450 * configure.in: Added Russian translation.
452 1999-07-06 Jesse Thilo <jthilo@gnu.org>
454 * configure.in, NEWS, README:
455 Released version 1.28.
457 1999-06-14 Jesse Thilo <jthilo@gnu.org>
460 Squashed redefinition warning on some systems.
462 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
463 Have configure build version string instead of relying on ANSI string
466 1999-06-14 Jesse Thilo <jthilo@gnu.org>
468 * po/POTFILES.in: Got rid of version.c.
470 1999-06-14 Jesse Thilo <jthilo@gnu.org>
472 * acconfig.h, configure.in:
473 Have configure build version string instead of relying on ANSI string
476 1999-06-08 Jesse Thilo <jthilo@gnu.org>
479 Dropped mention of `+' for long-named options.
481 1999-05-30 Jesse Thilo <jthilo@gnu.org>
483 * src/files.c: Added <unistd.h> for unlink().
485 * src/Makefile.am, src/system.h:
488 1999-05-30 Jesse Thilo <jthilo@gnu.org>
490 * README: Added a FAQ list.
492 * configure.in, acconfig.h:
495 1999-05-30 Jesse Thilo <jthilo@gnu.org>
497 * doc/FAQ, doc/Makefile.am:
500 1999-05-19 Jesse Thilo <jthilo@gnu.org>
502 * src/alloc.h, src/symtab.h, src/version.c:
503 Protected inclusion of "config.h" with HAVE_CONFIG_H.
505 1999-04-18 Jesse Thilo <jthilo@gnu.org>
507 * src/.cvsignore, src/Makefile.am:
508 Reorganized: sources in `src', documentation in `doc'.
510 * src/lex.c (literalchar):
511 fixed the code for escaping double quotes (thanks
514 1999-04-18 Jesse Thilo <jthilo@gnu.org>
516 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
517 Adjusted paths to reflect directory reorganization.
519 1999-04-18 Jesse Thilo <jthilo@gnu.org>
521 * doc/.cvsignore, doc/Makefile.am:
522 Reorganized: sources in `src', documentation in `doc'.
524 1999-04-18 Jesse Thilo <jthilo@gnu.org>
527 Updated AC_INIT file to reflect directory reorganization.
529 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
530 Reorganized: sources in `src', documentation in `doc'.
532 1999-04-13 Jesse Thilo <jthilo@gnu.org>
535 Don't declare calloc() and realloc() if not necessary.
537 1999-04-13 Jesse Thilo <jthilo@gnu.org>
539 * configure.in, acconfig.h, acinclude.m4:
540 Don't declare calloc() and realloc() if not necessary.
542 1999-03-23 Jesse Thilo <jthilo@gnu.org>
544 * po/.cvsignore: Added i18n support.
546 1999-03-23 Jesse Thilo <jthilo@gnu.org>
548 * acconfig.h, configure.in, Makefile.am:
551 1999-03-22 Jesse Thilo <jthilo@gnu.org>
553 * src/bison.s1: Fixed #line numbers.
555 1999-03-15 Jesse Thilo <jthilo@gnu.org>
557 * po/es.po, po/fr.po, po/nl.po, po/de.po:
558 Added PO files from Translation Project.
560 1999-03-03 Jesse Thilo <jthilo@gnu.org>
563 Added support for non-ANSI compilers (ansi2knr).
565 1999-02-16 Jesse Thilo <jthilo@gnu.org>
567 * configure.in: Bumped version number to 1.27.
570 Added `bison.simple' to list of files removed by `make distclean'.
572 1999-02-12 Jesse Thilo <jthilo@gnu.org>
574 * src/files.c, src/files.h:
575 Defined locations of parser files in config.h instead of Makefile.
577 1999-02-12 Jesse Thilo <jthilo@gnu.org>
579 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
580 Defined locations of parser files in config.h instead of Makefile.
582 1999-02-09 Jesse Thilo <jthilo@gnu.org>
585 Removed inappropriate use of $< macro.
587 1999-02-05 Jesse Thilo <jthilo@gnu.org>
589 * po/Makefile.in.in, po/POTFILES.in:
590 Add `po' directory skeleton.
592 1999-01-27 Jesse Thilo <jthilo@gnu.org>
594 * README: Document help-bison list.
596 * configure.in: Add check for mkstemp().
598 1999-01-20 Jesse Thilo <jthilo@gnu.org>
600 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
601 Hush a few compiler warnings.
604 Add tryclose(), which verifies that fclose was successful.
605 Hush a couple of compiler warnings.
607 1999-01-20 Jesse Thilo <jthilo@gnu.org>
609 * Makefile.am, OChangeLog:
610 ChangeLog is now automatically generated. Include the old version as
613 1999-01-14 Jesse Thilo <jthilo@gnu.org>
615 * 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:
618 1999-01-14 Jesse Thilo <jthilo@gnu.org>
620 * doc/bison.texinfo: Fix formatting glitch.
622 * doc/bison.texinfo: Update FSF address.
624 1999-01-14 Jesse Thilo <jthilo@gnu.org>
626 * acconfig.h: Update FSF address.
628 1999-01-08 Jesse Thilo <jthilo@gnu.org>
631 Don't define PACKAGE here, since config.h defines it.
633 1998-12-30 Jesse Thilo <jthilo@gnu.org>
635 * src/reader.c: Update copyright date.
638 Ditch sprintf to statically-sized buffers in fatal/warn functions in
639 favor of output directly to stderr (avoids buffer overruns).
641 * src/reader.c: Some checks for premature EOF.
643 * 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:
644 Use prototypes if the compiler understands them.
646 * src/files.c: Honor TMPDIR on Unix hosts.
647 Use prototypes if the compiler understands them.
650 Fix a couple of buffer overrun bugs.
651 Use prototypes if the compiler understands them.
653 * src/system.h: Include unistd.h and ctype.h.
654 Use #ifdef instead of #if for NLS symbols.
656 1998-12-30 Jesse Thilo <jthilo@gnu.org>
659 Delete comment "consider using @set for edition number, etc..." since
662 1998-12-30 Jesse Thilo <jthilo@gnu.org>
665 Use prototypes if the compiler understands them.
667 * NEWS: Document 1.26 highlights.
669 * Makefile.am: Require Automake 1.3 or later.
672 Use prototypes if the compiler understands them.
674 1998-12-29 Jesse Thilo <jthilo@gnu.org>
677 Use VERSION symbol from automake for version number.
679 1998-12-29 Jesse Thilo <jthilo@gnu.org>
681 * acconfig.h, configure.in, version.cin:
682 Use VERSION symbol from automake for version number.
684 1998-11-28 Jesse Thilo <jthilo@gnu.org>
687 Distribute original version of simple parser (bison.s1), not built
688 version (bison.simple).
690 1998-11-28 Jesse Thilo <jthilo@gnu.org>
692 * doc/bison.texinfo: Add info dir entry.
695 Let automake put version number into documentation.
697 1998-11-26 Jesse Thilo <jthilo@gnu.org>
699 * src/bison.cld, src/build.com, src/vmshlp.mar:
700 Add non-RCS files from /gd/gnu/bison.
702 1998-11-26 Jesse Thilo <jthilo@gnu.org>
705 Document the BISON_HAIRY and BISON_SIMPLE variables.
707 1998-11-25 Jesse Thilo <jthilo@gnu.org>
709 * src/version.c: Build version.c automatically.
712 Fix token numbering (used to start at 258, not 257).
714 * src/system.h: Include config.h.
716 * src/getargs.c: Update bug report address.
718 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
719 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
721 1998-11-25 Jesse Thilo <jthilo@gnu.org>
724 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
726 * configure.in, version.cin:
727 Build version.c automatically.
729 * AUTHORS: Add AUTHORS file.
731 * README: Update bug report address.
734 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
736 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
739 1998-11-25 Jesse Thilo <jthilo@gnu.org>
741 * doc/bison.texinfo: Clean up some formatting.
743 1998-05-05 Richard Stallman <rms@gnu.org>
746 Explain better why to make a pure parser.
748 1998-01-05 Richard Stallman <rms@gnu.org>
750 * src/files.c (openfiles):
751 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
752 find a temporary directory, if possible. Do not unlink files while
755 1997-08-25 Richard Stallman <rms@gnu.org>
757 * src/reader.c (stack_offset;):
758 Change some warni to warns.
760 * src/lex.c (literalchar): Use warns, not warni.
762 1997-06-28 Richard Stallman <rms@gnu.org>
764 * src/bison.s1: Add a Bison version comment.
766 * src/main.c (fatal, warn, berror):
769 1997-06-28 Richard Stallman <rms@gnu.org>
771 * Makefile.in (bison_version): New variable.
772 (dist): Use that variable.
773 (bison.s1): Substitute the Bison version into bison.simple.
775 * bison.simple: Add a Bison version comment.
777 1997-06-18 Richard Stallman <rms@gnu.org>
779 * src/main.c (fatal, warn, berror):
780 Make error messages standard.
781 (toomany): Improve error message text.
783 * 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:
784 new.h renamed to alloc.h.
786 1997-06-18 Richard Stallman <rms@gnu.org>
788 * Makefile.in: new.h renamed to alloc.h.
790 1997-05-24 Richard Stallman <rms@gnu.org>
792 * src/lex.c (literalchar):
793 Fix the code for escaping \, " and '.
795 (lex): Avoid trouble when there are many chars
796 to discard in a char literal with just several chars in it.
798 1997-05-17 Richard Stallman <rms@gnu.org>
801 Use malloc, if using alloca is troublesome.
802 (YYSTACK_USE_ALLOCA): New flag macro.
803 Define it for some systems and compilers.
804 (YYSTACK_ALLOC): New macro.
805 (yyparse): Use YYSTACK_ALLOC to allocate stack.
806 If it was malloc'd, free 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-04-23 Richard Stallman <rms@gnu.org>
821 (alloca) [__hpux]: Always define as __builtin_alloca.
823 1997-04-23 Richard Stallman <rms@gnu.org>
826 (alloca) [__hpux]: Always define as __builtin_alloca.
828 1997-04-22 Richard Stallman <rms@gnu.org>
831 [__hpux]: Include alloca.h (right for HPUX 10)
832 instead of declaring alloca (right for HPUX 9).
834 * src/bison.s1 (__yy_memcpy):
835 Declare arg `count' as unsigned int.
836 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
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 * bison.simple (__yy_memcpy):
845 Declare arg `count' as unsigned int.
846 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
848 1997-01-03 Richard Stallman <rms@gnu.org>
850 * src/allocate.c: [__STDC__ or _MSC_VER]:
851 Declare calloc and realloc to return void *.
853 1997-01-02 Richard Stallman <rms@gnu.org>
856 [_MSC_VER]: Include stdlib.h and process.h.
857 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
859 * src/main.c (main): Return FAILURE as a value.
860 (printable_version): Declare arg as int, not char.
862 1997-01-02 Richard Stallman <rms@gnu.org>
864 * Makefile.in (dist):
865 Explicitly check for symlinks, and copy them.
867 1996-12-19 Richard Stallman <rms@gnu.org>
870 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
872 1996-12-18 Paul Eggert <eggert@gnu.org>
874 * src/bison.s1 (yyparse):
875 If __GNUC__ and YYPARSE_PARAM are both defined,
876 declare yyparse to have a void * argument.
878 1996-12-18 Paul Eggert <eggert@gnu.org>
880 * bison.simple (yyparse):
881 If __GNUC__ and YYPARSE_PARAM are both defined,
882 declare yyparse to have a void * argument.
884 1996-12-17 Richard Stallman <rms@gnu.org>
886 * src/reduce.c (nbits): Add some casts.
888 1996-08-12 Richard Stallman <rms@gnu.org>
890 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
892 1996-08-12 Richard Stallman <rms@gnu.org>
894 * bison.simple: Test _MSDOS as well as _MSDOS_.
896 1996-07-31 Richard Stallman <rms@gnu.org>
899 [__sun && __i386]: Include alloca.h.
901 1996-07-31 Richard Stallman <rms@gnu.org>
904 [__sun && __i386]: Include alloca.h.
906 1996-07-30 Richard Stallman <rms@gnu.org>
908 * src/bison.s1: Comment change.
910 * src/bison.s1: Test _MSDOS_, not MSDOS.
912 1996-07-30 Richard Stallman <rms@gnu.org>
914 * bison.simple: Comment change.
916 * bison.simple: Test _MSDOS_, not MSDOS.
918 1996-06-01 Richard Stallman <rms@gnu.org>
920 * 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:
921 Insert `_' macro around many string constants.
924 Insert `_' macro around many string constants.
926 (main): Call setlocale, bindtextdomain and textdomain.
928 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
929 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
930 [ENABLE_NLS]: Include libintl.h.
931 [ENABLE_NLS] (gettext): Define.
932 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
933 (N_, PACKAGE, LOCALEDIR): New macros.
935 1996-06-01 Richard Stallman <rms@gnu.org>
937 * POTFILES.in: New file.
939 * Makefile.in (allocate.o):
940 Define target explicitly.
942 * Makefile.in (CFLAGS): Set to @CFLAGS@.
943 (LDFLAGS): Set to @LDFLAGS@.
944 (configure): Run autoconf only if preceding `cd' succeeds.
945 (bison.s1): Redirect output to temporary file then move the
946 temporary to the target, rather than redirecting directly to bison.s1.
947 (clean): Remove config.status and config.log.
948 (distclean): Don't remove config.status here.
950 1996-05-12 Richard Stallman <rms@gnu.org>
953 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
955 1996-05-12 Richard Stallman <rms@gnu.org>
958 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
960 1996-05-11 Richard Stallman <rms@gnu.org>
962 * src/bison.s1 (__yy_memcpy):
963 Really reorder the args, as was supposedly done on Feb 14 1995.
964 (yyparse): Calls changed accordingly.
966 1996-05-11 Richard Stallman <rms@gnu.org>
968 * Makefile.in (dist): Don't use $(srcdir).
970 * bison.simple (__yy_memcpy):
971 Really reorder the args, as was supposedly done on Feb 14 1995.
972 (yyparse): Calls changed accordingly.
974 1996-01-27 Richard Stallman <rms@gnu.org>
976 * src/output.c (output_rule_data):
977 Test YYERROR_VERBOSE in the conditional
978 around the definition of ttyname.
980 1995-12-29 Richard Stallman <rms@gnu.org>
983 Fix line numbers in #line commands.
985 1995-12-29 Richard Stallman <rms@gnu.org>
988 Fix line numbers in #line commands.
990 1995-12-27 Richard Stallman <rms@gnu.org>
992 * src/bison.s1 (YYPARSE_PARAM_DECL):
993 In C++, make it always null.
994 (YYPARSE_PARAM_ARG): New macro.
995 (yyparse): Use YYPARSE_PARAM_ARG.
997 1995-12-27 Richard Stallman <rms@gnu.org>
999 * bison.simple (YYPARSE_PARAM_DECL):
1000 In C++, make it always null.
1001 (YYPARSE_PARAM_ARG): New macro.
1002 (yyparse): Use YYPARSE_PARAM_ARG.
1004 1995-11-29 Richard Stallman <rms@gnu.org>
1006 * doc/bison.texinfo:
1007 Describe literal string tokens, %raw, %no_lines, %token_table.
1009 1995-11-29 Daniel Hagerty <hag@gnu.org>
1011 * doc/bison.texinfo: Fixed update date
1013 1995-10-16 Richard Stallman <rms@gnu.org>
1015 * src/version.c: Version 1.25.
1017 1995-10-16 Richard Stallman <rms@gnu.org>
1019 * NEWS: *** empty log message ***
1021 1995-10-16 Richard Stallman <rms@gnu.org>
1023 * doc/bison.1, doc/bison.rnh:
1026 1995-10-15 Richard Stallman <rms@gnu.org>
1028 * src/vmsgetargs.c, src/getargs.c:
1029 Added -n, -k, and -raw switches.
1030 (noparserflag, toknumflag, rawtoknumflag): New variables.
1032 * src/symtab.h (SALIAS):
1033 New #define for adding aliases to %token.
1034 (struct bucket): Added `alias' field.
1036 * src/reduce.c (reduce_grammar):
1037 Revise error message.
1038 (print_notices): Remove final `.' from error message.
1040 * src/reader.c (reader_output_yylsp):
1042 (readgram): Use `#if 0' around code that accepted %command
1043 inside grammar rules: The documentation doesn't allow it,
1044 and it will fail since the %command processors scan for the next %.
1045 (parse_token_decl): Extended the %token
1046 declaration to allow a multi-character symbol as an alias.
1047 (parse_thong_decl): New function.
1048 (read_declarations): Added %thong declarations.
1049 (read_declarations): Handle NOOP to deal with allowing
1050 % declarations as another means to specify the flags.
1051 (readgram): Allow %prec prior to semantics embedded in a rule.
1052 (skip_to_char, read_declarations, copy_definition)
1053 (parse_token_decl, parse_start_decl, parse_type_decl)
1054 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1055 (get_type_name, copy_guard, copy_action, readgram)
1056 (get_type, packsymbols): Revised most error messages.
1057 Changed `fatal' to `warnxxx' to avoid aborting for error.
1058 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1059 (read_declarations): Improve the error message for
1060 an invalid character. Do not abort.
1061 (read_declarations, copy_guard, copy_action): Use
1062 printable_version to avoid unprintable characters in printed output.
1063 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1064 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1065 Allow the type of a non-terminal can be given
1066 more than once, as long as all specifications give the same type.
1069 (output_headers, output_trailers, output, output_gram)
1070 (output_rule_data): Implement noparserflag variable.
1071 Implement toknumflag variable.
1072 (output): Call reader_output_yylsp to output LTYPESTR.
1074 * src/main.c (main):
1075 If reader sees an error, don't process the grammar.
1076 (fatals): Updated to not use VARARGS1.
1077 (printable_version, int_to_string, warn, warni, warns, warnss)
1078 (warnsss): New error reporting functions. Avoid abort for error.
1081 Added THONG and NOOP for alias processing.
1082 Added SETOPT for the new code that allows setting options with %flags.
1085 Include getopt.h. Add some extern decls.
1086 (safegetc): New function to deal with EOF gracefully.
1087 (literalchar); new function to deal with reading \ escapes.
1088 (lex): Use literalchar.
1089 (lex): Implemented "..." tokens.
1090 (literalchar, lex, parse_percent_token): Made tokenbuffer
1091 always contain the token. This includes growing the token
1092 buffer while reading an integer.
1093 (parse_percent_token): Replaced if-else statement with percent_table.
1094 (parse_percent_token): Added % declarations as another
1095 way to specify the flags -n, -l, and -r. Also added hooks for
1096 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1097 major changes to files.c.
1098 (lex) Retain in the incoming stream a character following
1100 (skip_white_space, lex): Revised most error messages
1101 and changed fatal to warn to avoid aborting.
1102 (percent_table): Added %thong declarations.
1104 * src/gram.h: Comment changes.
1106 * src/files.c (openfiles, open_extra_files, done):
1108 and actfile file. Handle noparserflag. Both for -n switch.
1110 * src/conflicts.c (resolve_sr_conflict):
1111 Remove use of alloca.
1113 1995-06-01 Jim Meyering <meyering@gnu.org>
1115 * doc/bison.texinfo: *** empty log message ***
1117 1995-05-06 Richard Stallman <rms@gnu.org>
1119 * src/bison.s1: Comment change.
1121 1995-05-06 Richard Stallman <rms@gnu.org>
1123 * bison.simple: Comment change.
1125 1995-05-03 Richard Stallman <rms@gnu.org>
1127 * src/version.c: Version now 1.24.
1129 * src/bison.s1: Change distribution terms.
1131 * src/version.c: Version now 1.23.
1133 1995-05-03 Richard Stallman <rms@gnu.org>
1135 * doc/bison.texinfo:
1136 Rewrite "Conditions for Using Bison".
1137 Update version to 1.24.
1139 1995-05-03 Richard Stallman <rms@gnu.org>
1141 * bison.simple: Change distribution terms.
1143 1995-02-23 Richard Stallman <rms@gnu.org>
1145 * src/files.c: Test __VMS_POSIX as well as VMS.
1147 1995-02-14 Jim Meyering <meyering@gnu.org>
1149 * src/bison.s1 (__yy_memcpy):
1150 Renamed from __yy_bcopy to avoid
1151 confusion. Reverse FROM and TO arguments to be consistent with
1154 1995-02-14 Jim Meyering <meyering@gnu.org>
1156 * bison.simple (__yy_memcpy):
1157 Renamed from __yy_bcopy to avoid
1158 confusion. Reverse FROM and TO arguments to be consistent with
1161 1994-11-10 David J. MacKenzie <djm@gnu.org>
1167 * Makefile.in (DISTFILES): Include NEWS.
1169 * Makefile.in (DISTFILES):
1170 Include install-sh, not install.sh.
1172 * configure.in: Update to Autoconf v2 macro names.
1174 1994-10-05 David J. MacKenzie <djm@gnu.org>
1176 * Makefile.in: fix typo
1178 * Makefile.in (prefix, exec_prefix):
1179 Let configure set them.
1181 1994-09-28 David J. MacKenzie <djm@gnu.org>
1183 * Makefile.in: Set datadir to $(prefix)/share.
1185 1994-09-15 Richard Stallman <rms@gnu.org>
1188 Update copyright notice and GPL version.
1190 1994-09-15 Richard Stallman <rms@gnu.org>
1193 Update copyright notice and GPL version.
1195 1994-07-12 Richard Stallman <rms@gnu.org>
1197 * src/reduce.c, src/reader.c:
1200 1994-05-05 David J. MacKenzie <djm@gnu.org>
1202 * Makefile.in: entered into RCS
1204 1994-03-26 Richard Stallman <rms@gnu.org>
1206 * src/bison.s1: entered into RCS
1208 1994-03-26 Richard Stallman <rms@gnu.org>
1210 * bison.simple: entered into RCS
1212 1994-03-25 Richard Stallman <rms@gnu.org>
1214 * src/main.c: entered into RCS
1216 1994-03-24 Richard Stallman <rms@gnu.org>
1218 * src/conflicts.c: entered into RCS
1220 1994-01-02 Richard Stallman <rms@gnu.org>
1222 * Makefile.in: *** empty log message ***
1224 1993-11-21 Richard Stallman <rms@gnu.org>
1226 * src/bison.s1: *** empty log message ***
1228 1993-11-21 Richard Stallman <rms@gnu.org>
1230 * doc/bison.texinfo: entered into RCS
1232 * doc/bison.texinfo: *** empty log message ***
1234 1993-11-21 Richard Stallman <rms@gnu.org>
1236 * bison.simple: *** empty log message ***
1238 1993-10-25 David J. MacKenzie <djm@gnu.org>
1240 * doc/bison.texinfo: *** empty log message ***
1242 1993-10-19 Richard Stallman <rms@gnu.org>
1244 * src/bison.s1: *** empty log message ***
1246 1993-10-19 Richard Stallman <rms@gnu.org>
1248 * bison.simple: *** empty log message ***
1250 1993-10-14 Richard Stallman <rms@gnu.org>
1252 * src/bison.s1: *** empty log message ***
1254 1993-10-14 Richard Stallman <rms@gnu.org>
1256 * bison.simple: *** empty log message ***
1258 1993-09-14 David J. MacKenzie <djm@gnu.org>
1260 * doc/bison.texinfo: *** empty log message ***
1262 1993-09-13 Noah Friedman <friedman@gnu.org>
1264 * Makefile.in: *** empty log message ***
1266 1993-09-10 Richard Stallman <rms@gnu.org>
1268 * src/conflicts.c: *** empty log message ***
1270 * src/system.h: entered into RCS
1272 1993-09-10 Richard Stallman <rms@gnu.org>
1274 * doc/bison.1: entered into RCS
1276 1993-09-06 Noah Friedman <friedman@gnu.org>
1278 * src/version.c: entered into RCS
1280 1993-09-06 Noah Friedman <friedman@gnu.org>
1282 * Makefile.in: *** empty log message ***
1284 1993-07-30 David J. MacKenzie <djm@gnu.org>
1286 * Makefile.in: *** empty log message ***
1288 1993-07-24 Richard Stallman <rms@gnu.org>
1290 * src/bison.s1: *** empty log message ***
1292 1993-07-24 Richard Stallman <rms@gnu.org>
1294 * bison.simple: *** empty log message ***
1296 1993-07-08 David J. MacKenzie <djm@gnu.org>
1298 * Makefile.in: *** empty log message ***
1300 1993-07-04 Richard Stallman <rms@gnu.org>
1302 * src/bison.s1: *** empty log message ***
1304 1993-07-04 Richard Stallman <rms@gnu.org>
1306 * bison.simple: *** empty log message ***
1308 1993-06-26 David J. MacKenzie <djm@gnu.org>
1310 * src/getargs.c: entered into RCS
1312 1993-06-26 David J. MacKenzie <djm@gnu.org>
1314 * doc/bison.texinfo: *** empty log message ***
1316 * doc/bison.1: New file.
1318 1993-06-25 Richard Stallman <rms@gnu.org>
1320 * src/getargs.c: New file.
1322 1993-06-16 Richard Stallman <rms@gnu.org>
1324 * src/bison.s1: *** empty log message ***
1326 1993-06-16 Richard Stallman <rms@gnu.org>
1328 * bison.simple: *** empty log message ***
1330 1993-06-03 Richard Stallman <rms@gnu.org>
1332 * src/bison.s1: New file.
1334 1993-06-03 Richard Stallman <rms@gnu.org>
1336 * doc/bison.texinfo: *** empty log message ***
1338 1993-06-03 Richard Stallman <rms@gnu.org>
1340 * bison.simple: New file.
1342 1993-05-19 Richard Stallman <rms@gnu.org>
1344 * doc/bison.texinfo: New file.
1346 1993-05-07 Noah Friedman <friedman@gnu.org>
1348 * Makefile.in: *** empty log message ***
1350 1993-04-28 Noah Friedman <friedman@gnu.org>
1352 * src/reader.c: *** empty log message ***
1354 1993-04-23 Noah Friedman <friedman@gnu.org>
1356 * src/alloc.h: entered into RCS
1358 1993-04-20 David J. MacKenzie <djm@gnu.org>
1360 * src/version.c: *** empty log message ***
1362 * src/files.c, src/allocate.c:
1365 * src/reader.c: *** empty log message ***
1367 * src/lex.c: entered into RCS
1369 * src/conflicts.c: New file.
1371 * src/symtab.c: entered into RCS
1373 * src/alloc.h: New file.
1375 * src/LR0.c: entered into RCS
1377 1993-04-18 Noah Friedman <friedman@gnu.org>
1379 * src/reader.c: New file.
1381 * src/version.c: *** empty log message ***
1383 1993-04-18 Noah Friedman <friedman@gnu.org>
1385 * Makefile.in: *** empty log message ***
1387 1993-04-17 Noah Friedman <friedman@gnu.org>
1389 * Makefile.in: *** empty log message ***
1391 1993-04-15 Richard Stallman <rms@gnu.org>
1393 * src/main.c, src/files.c:
1396 1993-04-15 Noah Friedman <friedman@gnu.org>
1398 * configure.in: entered into RCS
1400 * configure.in: *** empty log message ***
1402 * configure.in: New file.
1404 1993-04-14 Richard Stallman <rms@gnu.org>
1406 * Makefile.in: New file.
1408 1993-04-13 Richard Stallman <rms@gnu.org>
1410 * src/version.c: New file.
1412 1993-03-25 Richard Stallman <rms@gnu.org>
1414 * src/output.c: entered into RCS
1416 1992-09-25 Richard Stallman <rms@gnu.org>
1418 * configure.bat: entered into RCS
1420 1992-06-22 Richard Stallman <rms@gnu.org>
1422 * src/vmsgetargs.c: entered into RCS
1424 1992-06-22 Richard Stallman <rms@gnu.org>
1426 * doc/bison.rnh: entered into RCS
1428 1992-04-20 David J. MacKenzie <djm@gnu.org>
1430 * README: entered into RCS
1432 1992-01-22 Richard Stallman <rms@gnu.org>
1434 * src/machine.h: entered into RCS
1436 1991-12-21 Richard Stallman <rms@gnu.org>
1438 * src/lalr.c, src/closure.c:
1441 1991-12-20 Richard Stallman <rms@gnu.org>
1443 * src/state.h: entered into RCS
1445 1991-12-18 Richard Stallman <rms@gnu.org>
1447 * src/print.c, src/nullable.c, src/derives.c:
1450 1991-11-03 David J. MacKenzie <djm@gnu.org>
1452 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1455 1988-09-09 Richard Stallman <rms@gnu.org>
1457 * src/bison.hairy: entered into RCS
1459 1987-12-16 Richard Stallman <rms@gnu.org>
1461 * REFERENCES: entered into RCS