1 2000-09-20 Akim Demaille <akim@epita.fr>
3 * src/closure.h: New file.
4 * src/closure.c: Formatting changes, topological sort over the
5 functions, use of closure.h.
6 (initialize_closure, finalize_closure): Rename as...
7 (new_closure, free_closure): these. Adjust dependencies.
8 * src/LR0.c: Formatting changes, topological sort, use of
10 (initialize_states): Rename as...
12 * src/Makefile.am (noinst_HEADERS): Adjust.
14 2000-09-20 Akim Demaille <akim@epita.fr>
16 * src/acconfig.h: Don't protect config.h against multiple
19 * src/system.h: Define PARAMS.
20 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
21 purpose of config.h. system.h must not try to fix wrong
22 definitions in config.h.
24 2000-09-20 Akim Demaille <akim@epita.fr>
26 * src/derives.h: New file.
27 * src/main.c, src/derives.h: Use it.
29 * src/Makefile.am (noinst_HEADERS): Adjust.
31 2000-09-20 Akim Demaille <akim@epita.fr>
33 * tests/atgeneral.m4: Update from Autoconf.
34 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
35 (AT_CHECK_CALC): New macros.
36 Use these macros to test bison with options `', `--raw',
37 `--debug', `--yacc', `--yacc --debug'.
39 2000-09-19 Akim Demaille <akim@epita.fr>
41 * src/output.c: Formatting changes.
42 * src/machine.h: Remove, leaving its contents in...
45 Adjust all dependencies on stdio.h and machine.h.
46 * src/getargs.h: New file.
47 Let all `extern' declarations about getargs.c be replaced with
48 inclusion of `getargs.h'.
49 * src/Makefile.am (noinst_HEADERS): Adjust.
51 * tests/calc.m4 (yyin): Be initialized in main, not on the global
53 (yyerror): Returns void, not int.
54 * doc/bison.texinfo: Formatting changes.
56 2000-09-19 Akim Demaille <akim@epita.fr>
58 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
61 2000-09-18 Akim Demaille <akim@epita.fr>
63 * configure.in: Append WARNING_CFLAGS to CFLAGS.
64 * src/Makefile.am (INCLUDES): Don't.
65 Be ready to fetch headers in lib/.
67 2000-09-18 Akim Demaille <akim@epita.fr>
69 * doc/bison.texinfo: Update the copyright.
70 ANSIfy and GNUify the examples.
73 2000-09-18 Akim Demaille <akim@epita.fr>
75 First set of tests: use the `calc' example from the documentation.
77 * src/bison.s1 (yyparse): Condition the code using `yytname' which
78 is defined only when YYDEBUG is.
79 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
80 * src/files.c (tryopen, tryclose): Formatting changes.
81 Move to the top and be static.
82 * src/reader.c (read_signed_integer): Likewise.
83 * tests/calc.m4: New file.
84 * Makefile.am, suite.m4: Adjust.
85 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
87 2000-09-18 Akim Demaille <akim@epita.fr>
89 Add support for an Autotest test suite for Bison.
91 * m4/m4.m4, m4/atconfig.m4: New files.
92 * m4/Makefile.am (EXTRA_DIST): Adjust.
93 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
95 * src/getargs.c: Display a more standard --version message.
96 * src/reader.c (reader): Formatting changes.
97 No longer depend upon VERSION_STRING.
98 * configure.in: No longer use `dnl'.
99 Set up the test suite and the new directory `tests/.
100 (VERSION_STRING): Remove.
102 2000-04-14 Akim Demaille <akim@epita.fr>
104 * src/reader.c (copy_comment2): New function, same as former
105 `copy_comment', but outputs into two FILE *.
106 (copy_comment): Use it.
107 (parse_union_decl): Use it.
108 (get_type, parse_start_decl): Use the same `invalid' message.
109 (parse_start_decl, parse_union_decl): Use the same `multiple'
111 (parse_union_decl, copy_guard, copy_action): Use the same
113 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
115 2000-03-31 Akim Demaille <akim@epita.fr>
117 * src/files.c (tryopen, tryclose): Move to the top.
120 2000-03-31 Akim Demaille <akim@epita.fr>
122 * src/main.c (main): Don't call `done', exit does it.
124 2000-03-31 Akim Demaille <akim@epita.fr>
126 * allocate.c: s/return (foo)/return foo/.
129 * output.c: Likewise.
130 * reader.c: Likewise.
131 * symtab.c: Likewise.
132 * vmsgetargs.c: Likewise.
134 2000-03-31 Akim Demaille <akim@epita.fr>
136 Clean up the error reporting functions.
138 * src/report.c: New file.
139 * src/report.h: Likewise.
140 * src/Makefile.am: Adjust.
141 * m4/error.m4: New file.
142 * m4/Makefile.am: Adjust.
143 * configure.in (jm_PREREQ_ERROR): Call it.
144 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
146 (fatal, fatals): Remove. All callers use complain.c::fatal.
147 (warn, warni, warns, warnss, warnss): Remove. All callers use
148 complain.c::complain.
149 (toomany): Remove, use fatal instead.
150 * src/files.c (done): No argument, use complain_message_count.
151 * src/main.c (main): Register `done' to `atexit'.
153 * src/getargs.c (usage): More `fputs', less `fprintf'.
155 2000-03-28 Akim Demaille <akim@epita.fr>
157 * lib/: New directory.
158 * Makefile.am (SUBDIRS): Adjust.
159 * configure.in: Adjust.
160 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
162 * src/alloca.c: Moved to lib/.
163 * src/getopt.c: Likewise.
164 * src/getopt1.c: Likewise.
165 * src/getopt.h: Likewise.
166 * src/ansi2knr.c: Likewise.
167 * src/ansi2knr.1: Likewise.
168 * src/Makefile.am: Adjust.
169 * lib/Makefile.am: New file.
171 2000-03-28 Akim Demaille <akim@epita.fr>
173 * src/getargs.c (usage): Refresh the help message.
175 2000-03-17 Akim Demaille <akim@epita.fr>
177 * src/getopt1.c: Updated from textutils 2.0e
178 * src/getopt.c: Likewise.
179 * src/getopt.h: Likewise.
181 2000-03-17 Akim Demaille <akim@epita.fr>
183 * src/Makefile.am (bison.simple): Fix the awk program: quote only
184 the file name, not the whole `#line LINE FILE'.
186 2000-03-17 Akim Demaille <akim@epita.fr>
188 On syntax errors, report the token on which we choked.
190 * src/bison.s1 (yyparse): In the label yyerrlab, when
191 YYERROR_VERBOSE, add yychar in msg.
193 2000-03-17 Akim Demaille <akim@epita.fr>
195 * src/reader.c (copy_at): New function.
196 (copy_guard): Use it.
197 (copy_action): Use it.
199 2000-03-17 Akim Demaille <akim@epita.fr>
201 Be kind to translators, save some useless translations.
203 * src/main.c (banner): New function.
204 (fatal_banner): Use it.
205 (warn_banner): Use it.
207 2000-03-17 Akim Demaille <akim@epita.fr>
209 * src/reader.c (copy_definition): Use copy_string and
210 copy_comment. Removed now unused `match', `ended',
212 (copy_comment, copy_string): Moved, to be visible from
215 2000-03-17 Akim Demaille <akim@epita.fr>
217 * src/reader.c (copy_string): Declare `static inline'. No
218 problems with inline, since it is checked by configure.
219 (copy_comment): Likewise.
221 2000-03-17 Akim Demaille <akim@epita.fr>
223 * src/reader.c (packsymbols): Formatting changes.
225 2000-03-17 Akim Demaille <akim@epita.fr>
227 * src/reader.c (copy_comment): New function, factored out from:
228 (copy_action): Use it. Removed now unused `match', `ended',
230 (copy_guard): Likewise.
232 2000-03-17 Akim Demaille <akim@epita.fr>
234 * src/reader.c (copy_string): New function, factored out from:
235 (copy_action): Use it.
236 (copy_guard): Likewise.
238 2000-03-17 Akim Demaille <akim@epita.fr>
240 Change the handling of @s so that they behave exactly like $s.
241 There is now a pseudo variable @$ (readble and writable), location
242 of the lhs of the rule (by default ranging from the location of
243 the first symbol of the rhs, to the location of the last symbol,
244 or, if the rhs is empty, YYLLOC).
246 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
248 (yyparse): When providing a default semantic action, provide a
249 default location action.
250 (after the $): No longer change `*YYLSP', just stack YYLOC the
251 same way you stack YYVAL.
252 * src/reader.c (read_declarations): Use warns.
253 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
254 (copy_action, case '@'): Likewise.
255 Use a standard error message, to save useless work from
258 2000-03-17 Akim Demaille <akim@epita.fr>
260 * src/bison.s1: Formatting and cosmetics changes.
261 * src/reader.c: Likewise.
262 Update the Copyright notice.
264 2000-03-17 Akim Demaille <akim@epita.fr>
266 * src/bison.s1 (#line): All set to `#line' only, since the
267 Makefile now handles them.
269 2000-03-16 Akim Demaille <akim@epita.fr>
271 * src/output.c (output_rule_data): Output the documentation of
273 (Copyright notice): Update.
276 2000-03-16 Akim Demaille <akim@epita.fr>
278 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
279 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
280 One `#if YYDEBUG' remains, since it uses variables which are
281 defined only if `YYDEBUG != 0'.
283 2000-03-16 Akim Demaille <akim@epita.fr>
285 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
286 and related variables so that the similarities are highlighted.
288 2000-03-16 Akim Demaille <akim@epita.fr>
290 * src/bison.s1: Properly indent CPP directives.
292 2000-03-16 Akim Demaille <akim@epita.fr>
294 * src/bison.s1: Properly indent the `alloca' CPP section.
296 2000-03-16 Akim Demaille <akim@epita.fr>
298 Do not hard code values of directories in `configure.in'.
299 Update the `configure' tool chain.
301 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
303 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
304 (AC_OUTPUT): Add m4/Makefile.
305 Bump to bison 1.28a, 1.29 has never been released.
306 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
307 handled via src/Makefile.am.
308 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
309 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
311 * Makefile.am (SUBDIRS): Add m4.
312 (ACLOCAL_AM_FLAGS): New variable.
313 (AUTOMAKE_OPTIONS): Add check-news.
314 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
315 the proper line number and file name.
316 (DEFS): Propagate the location of bison library files and of the
318 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
320 * acinclude.m4: Remove, replaced by the directory m4.
321 * m4/Makefile.am (EXTRA_DIST): New variable.
322 * m4/gettext.m4: New file, from the fileutils.
323 * m4/lcmessage.m4: Likewise
324 * m4/progtest.m4: Likewise.
325 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
327 2000-03-10 Akim Demaille <akim@epita.fr>
330 Formatting changes of various comments.
331 Respect the GNU coding standards at various places.
332 Don't use `_()' when no translation is needed.
334 1999-12-13 Jesse Thilo <jthilo@gnu.org>
337 OS/2 honors TMPDIR environment variable.
339 1999-12-13 Jesse Thilo <jthilo@gnu.org>
341 * doc/bison.texinfo: Tweaked spelling and grammar.
343 Removed reference to price of printed copy.
344 Mention BISON_SIMPLE and BISON_HAIRY.
346 1999-12-13 Jesse Thilo <jthilo@gnu.org>
348 * configure.in, NEWS:
351 1999-10-27 Jesse Thilo <jthilo@gnu.org>
353 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
354 Added reference card.
356 1999-07-26 Jesse Thilo <jthilo@gnu.org>
358 * po/ru.po: Added Russian translation.
360 1999-07-26 Jesse Thilo <jthilo@gnu.org>
362 * configure.in: Added Russian translation.
364 1999-07-06 Jesse Thilo <jthilo@gnu.org>
366 * configure.in, NEWS, README:
367 Released version 1.28.
369 1999-06-14 Jesse Thilo <jthilo@gnu.org>
372 Squashed redefinition warning on some systems.
374 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
375 Have configure build version string instead of relying on ANSI string
378 1999-06-14 Jesse Thilo <jthilo@gnu.org>
380 * po/POTFILES.in: Got rid of version.c.
382 1999-06-14 Jesse Thilo <jthilo@gnu.org>
384 * acconfig.h, configure.in:
385 Have configure build version string instead of relying on ANSI string
388 1999-06-08 Jesse Thilo <jthilo@gnu.org>
391 Dropped mention of `+' for long-named options.
393 1999-05-30 Jesse Thilo <jthilo@gnu.org>
395 * src/files.c: Added <unistd.h> for unlink().
397 * src/Makefile.am, src/system.h:
400 1999-05-30 Jesse Thilo <jthilo@gnu.org>
402 * README: Added a FAQ list.
404 * configure.in, acconfig.h:
407 1999-05-30 Jesse Thilo <jthilo@gnu.org>
409 * doc/FAQ, doc/Makefile.am:
412 1999-05-19 Jesse Thilo <jthilo@gnu.org>
414 * src/alloc.h, src/symtab.h, src/version.c:
415 Protected inclusion of "config.h" with HAVE_CONFIG_H.
417 1999-04-18 Jesse Thilo <jthilo@gnu.org>
419 * src/.cvsignore, src/Makefile.am:
420 Reorganized: sources in `src', documentation in `doc'.
422 * src/lex.c (literalchar):
423 fixed the code for escaping double quotes (thanks
426 1999-04-18 Jesse Thilo <jthilo@gnu.org>
428 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
429 Adjusted paths to reflect directory reorganization.
431 1999-04-18 Jesse Thilo <jthilo@gnu.org>
433 * doc/.cvsignore, doc/Makefile.am:
434 Reorganized: sources in `src', documentation in `doc'.
436 1999-04-18 Jesse Thilo <jthilo@gnu.org>
439 Updated AC_INIT file to reflect directory reorganization.
441 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
442 Reorganized: sources in `src', documentation in `doc'.
444 1999-04-13 Jesse Thilo <jthilo@gnu.org>
447 Don't declare calloc() and realloc() if not necessary.
449 1999-04-13 Jesse Thilo <jthilo@gnu.org>
451 * configure.in, acconfig.h, acinclude.m4:
452 Don't declare calloc() and realloc() if not necessary.
454 1999-03-23 Jesse Thilo <jthilo@gnu.org>
456 * po/.cvsignore: Added i18n support.
458 1999-03-23 Jesse Thilo <jthilo@gnu.org>
460 * acconfig.h, configure.in, Makefile.am:
463 1999-03-22 Jesse Thilo <jthilo@gnu.org>
465 * src/bison.s1: Fixed #line numbers.
467 1999-03-15 Jesse Thilo <jthilo@gnu.org>
469 * po/es.po, po/fr.po, po/nl.po, po/de.po:
470 Added PO files from Translation Project.
472 1999-03-03 Jesse Thilo <jthilo@gnu.org>
475 Added support for non-ANSI compilers (ansi2knr).
477 1999-02-16 Jesse Thilo <jthilo@gnu.org>
479 * configure.in: Bumped version number to 1.27.
482 Added `bison.simple' to list of files removed by `make distclean'.
484 1999-02-12 Jesse Thilo <jthilo@gnu.org>
486 * src/files.c, src/files.h:
487 Defined locations of parser files in config.h instead of Makefile.
489 1999-02-12 Jesse Thilo <jthilo@gnu.org>
491 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
492 Defined locations of parser files in config.h instead of Makefile.
494 1999-02-09 Jesse Thilo <jthilo@gnu.org>
497 Removed inappropriate use of $< macro.
499 1999-02-05 Jesse Thilo <jthilo@gnu.org>
501 * po/Makefile.in.in, po/POTFILES.in:
502 Add `po' directory skeleton.
504 1999-01-27 Jesse Thilo <jthilo@gnu.org>
506 * README: Document help-bison list.
508 * configure.in: Add check for mkstemp().
510 1999-01-20 Jesse Thilo <jthilo@gnu.org>
512 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
513 Hush a few compiler warnings.
516 Add tryclose(), which verifies that fclose was successful.
517 Hush a couple of compiler warnings.
519 1999-01-20 Jesse Thilo <jthilo@gnu.org>
521 * Makefile.am, OChangeLog:
522 ChangeLog is now automatically generated. Include the old version as
525 1999-01-14 Jesse Thilo <jthilo@gnu.org>
527 * 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:
530 1999-01-14 Jesse Thilo <jthilo@gnu.org>
532 * doc/bison.texinfo: Fix formatting glitch.
534 * doc/bison.texinfo: Update FSF address.
536 1999-01-14 Jesse Thilo <jthilo@gnu.org>
538 * acconfig.h: Update FSF address.
540 1999-01-08 Jesse Thilo <jthilo@gnu.org>
543 Don't define PACKAGE here, since config.h defines it.
545 1998-12-30 Jesse Thilo <jthilo@gnu.org>
547 * src/reader.c: Update copyright date.
550 Ditch sprintf to statically-sized buffers in fatal/warn functions in
551 favor of output directly to stderr (avoids buffer overruns).
553 * src/reader.c: Some checks for premature EOF.
555 * 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:
556 Use prototypes if the compiler understands them.
558 * src/files.c: Honor TMPDIR on Unix hosts.
559 Use prototypes if the compiler understands them.
562 Fix a couple of buffer overrun bugs.
563 Use prototypes if the compiler understands them.
565 * src/system.h: Include unistd.h and ctype.h.
566 Use #ifdef instead of #if for NLS symbols.
568 1998-12-30 Jesse Thilo <jthilo@gnu.org>
571 Delete comment "consider using @set for edition number, etc..." since
574 1998-12-30 Jesse Thilo <jthilo@gnu.org>
577 Use prototypes if the compiler understands them.
579 * NEWS: Document 1.26 highlights.
581 * Makefile.am: Require Automake 1.3 or later.
584 Use prototypes if the compiler understands them.
586 1998-12-29 Jesse Thilo <jthilo@gnu.org>
589 Use VERSION symbol from automake for version number.
591 1998-12-29 Jesse Thilo <jthilo@gnu.org>
593 * acconfig.h, configure.in, version.cin:
594 Use VERSION symbol from automake for version number.
596 1998-11-28 Jesse Thilo <jthilo@gnu.org>
599 Distribute original version of simple parser (bison.s1), not built
600 version (bison.simple).
602 1998-11-28 Jesse Thilo <jthilo@gnu.org>
604 * doc/bison.texinfo: Add info dir entry.
607 Let automake put version number into documentation.
609 1998-11-26 Jesse Thilo <jthilo@gnu.org>
611 * src/bison.cld, src/build.com, src/vmshlp.mar:
612 Add non-RCS files from /gd/gnu/bison.
614 1998-11-26 Jesse Thilo <jthilo@gnu.org>
617 Document the BISON_HAIRY and BISON_SIMPLE variables.
619 1998-11-25 Jesse Thilo <jthilo@gnu.org>
621 * src/version.c: Build version.c automatically.
624 Fix token numbering (used to start at 258, not 257).
626 * src/system.h: Include config.h.
628 * src/getargs.c: Update bug report address.
630 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
631 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
633 1998-11-25 Jesse Thilo <jthilo@gnu.org>
636 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
638 * configure.in, version.cin:
639 Build version.c automatically.
641 * AUTHORS: Add AUTHORS file.
643 * README: Update bug report address.
646 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
648 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
651 1998-11-25 Jesse Thilo <jthilo@gnu.org>
653 * doc/bison.texinfo: Clean up some formatting.
655 1998-05-05 Richard Stallman <rms@gnu.org>
658 Explain better why to make a pure parser.
660 1998-01-05 Richard Stallman <rms@gnu.org>
662 * src/files.c (openfiles):
663 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
664 find a temporary directory, if possible. Do not unlink files while
667 1997-08-25 Richard Stallman <rms@gnu.org>
669 * src/reader.c (stack_offset;):
670 Change some warni to warns.
672 * src/lex.c (literalchar): Use warns, not warni.
674 1997-06-28 Richard Stallman <rms@gnu.org>
676 * src/bison.s1: Add a Bison version comment.
678 * src/main.c (fatal, warn, berror):
681 1997-06-28 Richard Stallman <rms@gnu.org>
683 * Makefile.in (bison_version): New variable.
684 (dist): Use that variable.
685 (bison.s1): Substitute the Bison version into bison.simple.
687 * bison.simple: Add a Bison version comment.
689 1997-06-18 Richard Stallman <rms@gnu.org>
691 * src/main.c (fatal, warn, berror):
692 Make error messages standard.
693 (toomany): Improve error message text.
695 * 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:
696 new.h renamed to alloc.h.
698 1997-06-18 Richard Stallman <rms@gnu.org>
700 * Makefile.in: new.h renamed to alloc.h.
702 1997-05-24 Richard Stallman <rms@gnu.org>
704 * src/lex.c (literalchar):
705 Fix the code for escaping \, " and '.
707 (lex): Avoid trouble when there are many chars
708 to discard in a char literal with just several chars in it.
710 1997-05-17 Richard Stallman <rms@gnu.org>
713 Use malloc, if using alloca is troublesome.
714 (YYSTACK_USE_ALLOCA): New flag macro.
715 Define it for some systems and compilers.
716 (YYSTACK_ALLOC): New macro.
717 (yyparse): Use YYSTACK_ALLOC to allocate stack.
718 If it was malloc'd, free it.
720 1997-05-17 Richard Stallman <rms@gnu.org>
723 Use malloc, if using alloca is troublesome.
724 (YYSTACK_USE_ALLOCA): New flag macro.
725 Define it for some systems and compilers.
726 (YYSTACK_ALLOC): New macro.
727 (yyparse): Use YYSTACK_ALLOC to allocate stack.
728 If it was malloc'd, free it.
730 1997-04-23 Richard Stallman <rms@gnu.org>
733 (alloca) [__hpux]: Always define as __builtin_alloca.
735 1997-04-23 Richard Stallman <rms@gnu.org>
738 (alloca) [__hpux]: Always define as __builtin_alloca.
740 1997-04-22 Richard Stallman <rms@gnu.org>
743 [__hpux]: Include alloca.h (right for HPUX 10)
744 instead of declaring alloca (right for HPUX 9).
746 * src/bison.s1 (__yy_memcpy):
747 Declare arg `count' as unsigned int.
748 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
750 1997-04-22 Richard Stallman <rms@gnu.org>
753 [__hpux]: Include alloca.h (right for HPUX 10)
754 instead of declaring alloca (right for HPUX 9).
756 * bison.simple (__yy_memcpy):
757 Declare arg `count' as unsigned int.
758 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
760 1997-01-03 Richard Stallman <rms@gnu.org>
762 * src/allocate.c: [__STDC__ or _MSC_VER]:
763 Declare calloc and realloc to return void *.
765 1997-01-02 Richard Stallman <rms@gnu.org>
768 [_MSC_VER]: Include stdlib.h and process.h.
769 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
771 * src/main.c (main): Return FAILURE as a value.
772 (printable_version): Declare arg as int, not char.
774 1997-01-02 Richard Stallman <rms@gnu.org>
776 * Makefile.in (dist):
777 Explicitly check for symlinks, and copy them.
779 1996-12-19 Richard Stallman <rms@gnu.org>
782 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
784 1996-12-18 Paul Eggert <eggert@gnu.org>
786 * src/bison.s1 (yyparse):
787 If __GNUC__ and YYPARSE_PARAM are both defined,
788 declare yyparse to have a void * argument.
790 1996-12-18 Paul Eggert <eggert@gnu.org>
792 * bison.simple (yyparse):
793 If __GNUC__ and YYPARSE_PARAM are both defined,
794 declare yyparse to have a void * argument.
796 1996-12-17 Richard Stallman <rms@gnu.org>
798 * src/reduce.c (nbits): Add some casts.
800 1996-08-12 Richard Stallman <rms@gnu.org>
802 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
804 1996-08-12 Richard Stallman <rms@gnu.org>
806 * bison.simple: Test _MSDOS as well as _MSDOS_.
808 1996-07-31 Richard Stallman <rms@gnu.org>
811 [__sun && __i386]: Include alloca.h.
813 1996-07-31 Richard Stallman <rms@gnu.org>
816 [__sun && __i386]: Include alloca.h.
818 1996-07-30 Richard Stallman <rms@gnu.org>
820 * src/bison.s1: Comment change.
822 * src/bison.s1: Test _MSDOS_, not MSDOS.
824 1996-07-30 Richard Stallman <rms@gnu.org>
826 * bison.simple: Comment change.
828 * bison.simple: Test _MSDOS_, not MSDOS.
830 1996-06-01 Richard Stallman <rms@gnu.org>
832 * 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:
833 Insert `_' macro around many string constants.
836 Insert `_' macro around many string constants.
838 (main): Call setlocale, bindtextdomain and textdomain.
840 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
841 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
842 [ENABLE_NLS]: Include libintl.h.
843 [ENABLE_NLS] (gettext): Define.
844 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
845 (N_, PACKAGE, LOCALEDIR): New macros.
847 1996-06-01 Richard Stallman <rms@gnu.org>
849 * POTFILES.in: New file.
851 * Makefile.in (allocate.o):
852 Define target explicitly.
854 * Makefile.in (CFLAGS): Set to @CFLAGS@.
855 (LDFLAGS): Set to @LDFLAGS@.
856 (configure): Run autoconf only if preceding `cd' succeeds.
857 (bison.s1): Redirect output to temporary file then move the
858 temporary to the target, rather than redirecting directly to bison.s1.
859 (clean): Remove config.status and config.log.
860 (distclean): Don't remove config.status here.
862 1996-05-12 Richard Stallman <rms@gnu.org>
865 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
867 1996-05-12 Richard Stallman <rms@gnu.org>
870 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
872 1996-05-11 Richard Stallman <rms@gnu.org>
874 * src/bison.s1 (__yy_memcpy):
875 Really reorder the args, as was supposedly done on Feb 14 1995.
876 (yyparse): Calls changed accordingly.
878 1996-05-11 Richard Stallman <rms@gnu.org>
880 * Makefile.in (dist): Don't use $(srcdir).
882 * bison.simple (__yy_memcpy):
883 Really reorder the args, as was supposedly done on Feb 14 1995.
884 (yyparse): Calls changed accordingly.
886 1996-01-27 Richard Stallman <rms@gnu.org>
888 * src/output.c (output_rule_data):
889 Test YYERROR_VERBOSE in the conditional
890 around the definition of ttyname.
892 1995-12-29 Richard Stallman <rms@gnu.org>
895 Fix line numbers in #line commands.
897 1995-12-29 Richard Stallman <rms@gnu.org>
900 Fix line numbers in #line commands.
902 1995-12-27 Richard Stallman <rms@gnu.org>
904 * src/bison.s1 (YYPARSE_PARAM_DECL):
905 In C++, make it always null.
906 (YYPARSE_PARAM_ARG): New macro.
907 (yyparse): Use YYPARSE_PARAM_ARG.
909 1995-12-27 Richard Stallman <rms@gnu.org>
911 * bison.simple (YYPARSE_PARAM_DECL):
912 In C++, make it always null.
913 (YYPARSE_PARAM_ARG): New macro.
914 (yyparse): Use YYPARSE_PARAM_ARG.
916 1995-11-29 Richard Stallman <rms@gnu.org>
919 Describe literal string tokens, %raw, %no_lines, %token_table.
921 1995-11-29 Daniel Hagerty <hag@gnu.org>
923 * doc/bison.texinfo: Fixed update date
925 1995-10-16 Richard Stallman <rms@gnu.org>
927 * src/version.c: Version 1.25.
929 1995-10-16 Richard Stallman <rms@gnu.org>
931 * NEWS: *** empty log message ***
933 1995-10-16 Richard Stallman <rms@gnu.org>
935 * doc/bison.1, doc/bison.rnh:
938 1995-10-15 Richard Stallman <rms@gnu.org>
940 * src/vmsgetargs.c, src/getargs.c:
941 Added -n, -k, and -raw switches.
942 (noparserflag, toknumflag, rawtoknumflag): New variables.
944 * src/symtab.h (SALIAS):
945 New #define for adding aliases to %token.
946 (struct bucket): Added `alias' field.
948 * src/reduce.c (reduce_grammar):
949 Revise error message.
950 (print_notices): Remove final `.' from error message.
952 * src/reader.c (reader_output_yylsp):
954 (readgram): Use `#if 0' around code that accepted %command
955 inside grammar rules: The documentation doesn't allow it,
956 and it will fail since the %command processors scan for the next %.
957 (parse_token_decl): Extended the %token
958 declaration to allow a multi-character symbol as an alias.
959 (parse_thong_decl): New function.
960 (read_declarations): Added %thong declarations.
961 (read_declarations): Handle NOOP to deal with allowing
962 % declarations as another means to specify the flags.
963 (readgram): Allow %prec prior to semantics embedded in a rule.
964 (skip_to_char, read_declarations, copy_definition)
965 (parse_token_decl, parse_start_decl, parse_type_decl)
966 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
967 (get_type_name, copy_guard, copy_action, readgram)
968 (get_type, packsymbols): Revised most error messages.
969 Changed `fatal' to `warnxxx' to avoid aborting for error.
970 Revised and use multiple warnxxx functions to avoid using VARARGS1.
971 (read_declarations): Improve the error message for
972 an invalid character. Do not abort.
973 (read_declarations, copy_guard, copy_action): Use
974 printable_version to avoid unprintable characters in printed output.
975 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
976 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
977 Allow the type of a non-terminal can be given
978 more than once, as long as all specifications give the same type.
981 (output_headers, output_trailers, output, output_gram)
982 (output_rule_data): Implement noparserflag variable.
983 Implement toknumflag variable.
984 (output): Call reader_output_yylsp to output LTYPESTR.
987 If reader sees an error, don't process the grammar.
988 (fatals): Updated to not use VARARGS1.
989 (printable_version, int_to_string, warn, warni, warns, warnss)
990 (warnsss): New error reporting functions. Avoid abort for error.
993 Added THONG and NOOP for alias processing.
994 Added SETOPT for the new code that allows setting options with %flags.
997 Include getopt.h. Add some extern decls.
998 (safegetc): New function to deal with EOF gracefully.
999 (literalchar); new function to deal with reading \ escapes.
1000 (lex): Use literalchar.
1001 (lex): Implemented "..." tokens.
1002 (literalchar, lex, parse_percent_token): Made tokenbuffer
1003 always contain the token. This includes growing the token
1004 buffer while reading an integer.
1005 (parse_percent_token): Replaced if-else statement with percent_table.
1006 (parse_percent_token): Added % declarations as another
1007 way to specify the flags -n, -l, and -r. Also added hooks for
1008 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1009 major changes to files.c.
1010 (lex) Retain in the incoming stream a character following
1012 (skip_white_space, lex): Revised most error messages
1013 and changed fatal to warn to avoid aborting.
1014 (percent_table): Added %thong declarations.
1016 * src/gram.h: Comment changes.
1018 * src/files.c (openfiles, open_extra_files, done):
1020 and actfile file. Handle noparserflag. Both for -n switch.
1022 * src/conflicts.c (resolve_sr_conflict):
1023 Remove use of alloca.
1025 1995-06-01 Jim Meyering <meyering@gnu.org>
1027 * doc/bison.texinfo: *** empty log message ***
1029 1995-05-06 Richard Stallman <rms@gnu.org>
1031 * src/bison.s1: Comment change.
1033 1995-05-06 Richard Stallman <rms@gnu.org>
1035 * bison.simple: Comment change.
1037 1995-05-03 Richard Stallman <rms@gnu.org>
1039 * src/version.c: Version now 1.24.
1041 * src/bison.s1: Change distribution terms.
1043 * src/version.c: Version now 1.23.
1045 1995-05-03 Richard Stallman <rms@gnu.org>
1047 * doc/bison.texinfo:
1048 Rewrite "Conditions for Using Bison".
1049 Update version to 1.24.
1051 1995-05-03 Richard Stallman <rms@gnu.org>
1053 * bison.simple: Change distribution terms.
1055 1995-02-23 Richard Stallman <rms@gnu.org>
1057 * src/files.c: Test __VMS_POSIX as well as VMS.
1059 1995-02-14 Jim Meyering <meyering@gnu.org>
1061 * src/bison.s1 (__yy_memcpy):
1062 Renamed from __yy_bcopy to avoid
1063 confusion. Reverse FROM and TO arguments to be consistent with
1066 1995-02-14 Jim Meyering <meyering@gnu.org>
1068 * bison.simple (__yy_memcpy):
1069 Renamed from __yy_bcopy to avoid
1070 confusion. Reverse FROM and TO arguments to be consistent with
1073 1994-11-10 David J. MacKenzie <djm@gnu.org>
1079 * Makefile.in (DISTFILES): Include NEWS.
1081 * Makefile.in (DISTFILES):
1082 Include install-sh, not install.sh.
1084 * configure.in: Update to Autoconf v2 macro names.
1086 1994-10-05 David J. MacKenzie <djm@gnu.org>
1088 * Makefile.in: fix typo
1090 * Makefile.in (prefix, exec_prefix):
1091 Let configure set them.
1093 1994-09-28 David J. MacKenzie <djm@gnu.org>
1095 * Makefile.in: Set datadir to $(prefix)/share.
1097 1994-09-15 Richard Stallman <rms@gnu.org>
1100 Update copyright notice and GPL version.
1102 1994-09-15 Richard Stallman <rms@gnu.org>
1105 Update copyright notice and GPL version.
1107 1994-07-12 Richard Stallman <rms@gnu.org>
1109 * src/reduce.c, src/reader.c:
1112 1994-05-05 David J. MacKenzie <djm@gnu.org>
1114 * Makefile.in: entered into RCS
1116 1994-03-26 Richard Stallman <rms@gnu.org>
1118 * src/bison.s1: entered into RCS
1120 1994-03-26 Richard Stallman <rms@gnu.org>
1122 * bison.simple: entered into RCS
1124 1994-03-25 Richard Stallman <rms@gnu.org>
1126 * src/main.c: entered into RCS
1128 1994-03-24 Richard Stallman <rms@gnu.org>
1130 * src/conflicts.c: entered into RCS
1132 1994-01-02 Richard Stallman <rms@gnu.org>
1134 * Makefile.in: *** empty log message ***
1136 1993-11-21 Richard Stallman <rms@gnu.org>
1138 * src/bison.s1: *** empty log message ***
1140 1993-11-21 Richard Stallman <rms@gnu.org>
1142 * doc/bison.texinfo: entered into RCS
1144 * doc/bison.texinfo: *** empty log message ***
1146 1993-11-21 Richard Stallman <rms@gnu.org>
1148 * bison.simple: *** empty log message ***
1150 1993-10-25 David J. MacKenzie <djm@gnu.org>
1152 * doc/bison.texinfo: *** empty log message ***
1154 1993-10-19 Richard Stallman <rms@gnu.org>
1156 * src/bison.s1: *** empty log message ***
1158 1993-10-19 Richard Stallman <rms@gnu.org>
1160 * bison.simple: *** empty log message ***
1162 1993-10-14 Richard Stallman <rms@gnu.org>
1164 * src/bison.s1: *** empty log message ***
1166 1993-10-14 Richard Stallman <rms@gnu.org>
1168 * bison.simple: *** empty log message ***
1170 1993-09-14 David J. MacKenzie <djm@gnu.org>
1172 * doc/bison.texinfo: *** empty log message ***
1174 1993-09-13 Noah Friedman <friedman@gnu.org>
1176 * Makefile.in: *** empty log message ***
1178 1993-09-10 Richard Stallman <rms@gnu.org>
1180 * src/conflicts.c: *** empty log message ***
1182 * src/system.h: entered into RCS
1184 1993-09-10 Richard Stallman <rms@gnu.org>
1186 * doc/bison.1: entered into RCS
1188 1993-09-06 Noah Friedman <friedman@gnu.org>
1190 * src/version.c: entered into RCS
1192 1993-09-06 Noah Friedman <friedman@gnu.org>
1194 * Makefile.in: *** empty log message ***
1196 1993-07-30 David J. MacKenzie <djm@gnu.org>
1198 * Makefile.in: *** empty log message ***
1200 1993-07-24 Richard Stallman <rms@gnu.org>
1202 * src/bison.s1: *** empty log message ***
1204 1993-07-24 Richard Stallman <rms@gnu.org>
1206 * bison.simple: *** empty log message ***
1208 1993-07-08 David J. MacKenzie <djm@gnu.org>
1210 * Makefile.in: *** empty log message ***
1212 1993-07-04 Richard Stallman <rms@gnu.org>
1214 * src/bison.s1: *** empty log message ***
1216 1993-07-04 Richard Stallman <rms@gnu.org>
1218 * bison.simple: *** empty log message ***
1220 1993-06-26 David J. MacKenzie <djm@gnu.org>
1222 * src/getargs.c: entered into RCS
1224 1993-06-26 David J. MacKenzie <djm@gnu.org>
1226 * doc/bison.texinfo: *** empty log message ***
1228 * doc/bison.1: New file.
1230 1993-06-25 Richard Stallman <rms@gnu.org>
1232 * src/getargs.c: New file.
1234 1993-06-16 Richard Stallman <rms@gnu.org>
1236 * src/bison.s1: *** empty log message ***
1238 1993-06-16 Richard Stallman <rms@gnu.org>
1240 * bison.simple: *** empty log message ***
1242 1993-06-03 Richard Stallman <rms@gnu.org>
1244 * src/bison.s1: New file.
1246 1993-06-03 Richard Stallman <rms@gnu.org>
1248 * doc/bison.texinfo: *** empty log message ***
1250 1993-06-03 Richard Stallman <rms@gnu.org>
1252 * bison.simple: New file.
1254 1993-05-19 Richard Stallman <rms@gnu.org>
1256 * doc/bison.texinfo: New file.
1258 1993-05-07 Noah Friedman <friedman@gnu.org>
1260 * Makefile.in: *** empty log message ***
1262 1993-04-28 Noah Friedman <friedman@gnu.org>
1264 * src/reader.c: *** empty log message ***
1266 1993-04-23 Noah Friedman <friedman@gnu.org>
1268 * src/alloc.h: entered into RCS
1270 1993-04-20 David J. MacKenzie <djm@gnu.org>
1272 * src/version.c: *** empty log message ***
1274 * src/files.c, src/allocate.c:
1277 * src/reader.c: *** empty log message ***
1279 * src/lex.c: entered into RCS
1281 * src/conflicts.c: New file.
1283 * src/symtab.c: entered into RCS
1285 * src/alloc.h: New file.
1287 * src/LR0.c: entered into RCS
1289 1993-04-18 Noah Friedman <friedman@gnu.org>
1291 * src/reader.c: New file.
1293 * src/version.c: *** empty log message ***
1295 1993-04-18 Noah Friedman <friedman@gnu.org>
1297 * Makefile.in: *** empty log message ***
1299 1993-04-17 Noah Friedman <friedman@gnu.org>
1301 * Makefile.in: *** empty log message ***
1303 1993-04-15 Richard Stallman <rms@gnu.org>
1305 * src/main.c, src/files.c:
1308 1993-04-15 Noah Friedman <friedman@gnu.org>
1310 * configure.in: entered into RCS
1312 * configure.in: *** empty log message ***
1314 * configure.in: New file.
1316 1993-04-14 Richard Stallman <rms@gnu.org>
1318 * Makefile.in: New file.
1320 1993-04-13 Richard Stallman <rms@gnu.org>
1322 * src/version.c: New file.
1324 1993-03-25 Richard Stallman <rms@gnu.org>
1326 * src/output.c: entered into RCS
1328 1992-09-25 Richard Stallman <rms@gnu.org>
1330 * configure.bat: entered into RCS
1332 1992-06-22 Richard Stallman <rms@gnu.org>
1334 * src/vmsgetargs.c: entered into RCS
1336 1992-06-22 Richard Stallman <rms@gnu.org>
1338 * doc/bison.rnh: entered into RCS
1340 1992-04-20 David J. MacKenzie <djm@gnu.org>
1342 * README: entered into RCS
1344 1992-01-22 Richard Stallman <rms@gnu.org>
1346 * src/machine.h: entered into RCS
1348 1991-12-21 Richard Stallman <rms@gnu.org>
1350 * src/lalr.c, src/closure.c:
1353 1991-12-20 Richard Stallman <rms@gnu.org>
1355 * src/state.h: entered into RCS
1357 1991-12-18 Richard Stallman <rms@gnu.org>
1359 * src/print.c, src/nullable.c, src/derives.c:
1362 1991-11-03 David J. MacKenzie <djm@gnu.org>
1364 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1367 1988-09-09 Richard Stallman <rms@gnu.org>
1369 * src/bison.hairy: entered into RCS
1371 1987-12-16 Richard Stallman <rms@gnu.org>
1373 * REFERENCES: entered into RCS