1 2000-09-20 Akim Demaille <akim@epita.fr>
3 * src/derives.h: New file.
4 * src/main.c, src/derives.h: Use it.
6 * src/Makefile.am (noinst_HEADERS): Adjust.
8 2000-09-20 Akim Demaille <akim@epita.fr>
10 * tests/atgeneral.m4: Update from Autoconf.
11 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
12 (AT_CHECK_CALC): New macros.
13 Use these macros to test bison with options `', `--raw',
14 `--debug', `--yacc', `--yacc --debug'.
16 2000-09-19 Akim Demaille <akim@epita.fr>
18 * src/output.c: Formatting changes.
19 * src/machine.h: Remove, leaving its contents in...
22 Adjust all dependencies on stdio.h and machine.h.
23 * src/getargs.h: New file.
24 Let all `extern' declarations about getargs.c be replaced with
25 inclusion of `getargs.h'.
26 * src/Makefile.am (noinst_HEADERS): Adjust.
28 * tests/calc.m4 (yyin): Be initialized in main, not on the global
30 (yyerror): Returns void, not int.
31 * doc/bison.texinfo: Formatting changes.
33 2000-09-19 Akim Demaille <akim@epita.fr>
35 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
38 2000-09-18 Akim Demaille <akim@epita.fr>
40 * configure.in: Append WARNING_CFLAGS to CFLAGS.
41 * src/Makefile.am (INCLUDES): Don't.
42 Be ready to fetch headers in lib/.
44 2000-09-18 Akim Demaille <akim@epita.fr>
46 * doc/bison.texinfo: Update the copyright.
47 ANSIfy and GNUify the examples.
50 2000-09-18 Akim Demaille <akim@epita.fr>
52 First set of tests: use the `calc' example from the documentation.
54 * src/bison.s1 (yyparse): Condition the code using `yytname' which
55 is defined only when YYDEBUG is.
56 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
57 * src/files.c (tryopen, tryclose): Formatting changes.
58 Move to the top and be static.
59 * src/reader.c (read_signed_integer): Likewise.
60 * tests/calc.m4: New file.
61 * Makefile.am, suite.m4: Adjust.
62 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
64 2000-09-18 Akim Demaille <akim@epita.fr>
66 Add support for an Autotest test suite for Bison.
68 * m4/m4.m4, m4/atconfig.m4: New files.
69 * m4/Makefile.am (EXTRA_DIST): Adjust.
70 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
72 * src/getargs.c: Display a more standard --version message.
73 * src/reader.c (reader): Formatting changes.
74 No longer depend upon VERSION_STRING.
75 * configure.in: No longer use `dnl'.
76 Set up the test suite and the new directory `tests/.
77 (VERSION_STRING): Remove.
79 2000-04-14 Akim Demaille <akim@epita.fr>
81 * src/reader.c (copy_comment2): New function, same as former
82 `copy_comment', but outputs into two FILE *.
83 (copy_comment): Use it.
84 (parse_union_decl): Use it.
85 (get_type, parse_start_decl): Use the same `invalid' message.
86 (parse_start_decl, parse_union_decl): Use the same `multiple'
88 (parse_union_decl, copy_guard, copy_action): Use the same
90 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
92 2000-03-31 Akim Demaille <akim@epita.fr>
94 * src/files.c (tryopen, tryclose): Move to the top.
97 2000-03-31 Akim Demaille <akim@epita.fr>
99 * src/main.c (main): Don't call `done', exit does it.
101 2000-03-31 Akim Demaille <akim@epita.fr>
103 * allocate.c: s/return (foo)/return foo/.
106 * output.c: Likewise.
107 * reader.c: Likewise.
108 * symtab.c: Likewise.
109 * vmsgetargs.c: Likewise.
111 2000-03-31 Akim Demaille <akim@epita.fr>
113 Clean up the error reporting functions.
115 * src/report.c: New file.
116 * src/report.h: Likewise.
117 * src/Makefile.am: Adjust.
118 * m4/error.m4: New file.
119 * m4/Makefile.am: Adjust.
120 * configure.in (jm_PREREQ_ERROR): Call it.
121 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
123 (fatal, fatals): Remove. All callers use complain.c::fatal.
124 (warn, warni, warns, warnss, warnss): Remove. All callers use
125 complain.c::complain.
126 (toomany): Remove, use fatal instead.
127 * src/files.c (done): No argument, use complain_message_count.
128 * src/main.c (main): Register `done' to `atexit'.
130 * src/getargs.c (usage): More `fputs', less `fprintf'.
132 2000-03-28 Akim Demaille <akim@epita.fr>
134 * lib/: New directory.
135 * Makefile.am (SUBDIRS): Adjust.
136 * configure.in: Adjust.
137 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
139 * src/alloca.c: Moved to lib/.
140 * src/getopt.c: Likewise.
141 * src/getopt1.c: Likewise.
142 * src/getopt.h: Likewise.
143 * src/ansi2knr.c: Likewise.
144 * src/ansi2knr.1: Likewise.
145 * src/Makefile.am: Adjust.
146 * lib/Makefile.am: New file.
148 2000-03-28 Akim Demaille <akim@epita.fr>
150 * src/getargs.c (usage): Refresh the help message.
152 2000-03-17 Akim Demaille <akim@epita.fr>
154 * src/getopt1.c: Updated from textutils 2.0e
155 * src/getopt.c: Likewise.
156 * src/getopt.h: Likewise.
158 2000-03-17 Akim Demaille <akim@epita.fr>
160 * src/Makefile.am (bison.simple): Fix the awk program: quote only
161 the file name, not the whole `#line LINE FILE'.
163 2000-03-17 Akim Demaille <akim@epita.fr>
165 On syntax errors, report the token on which we choked.
167 * src/bison.s1 (yyparse): In the label yyerrlab, when
168 YYERROR_VERBOSE, add yychar in msg.
170 2000-03-17 Akim Demaille <akim@epita.fr>
172 * src/reader.c (copy_at): New function.
173 (copy_guard): Use it.
174 (copy_action): Use it.
176 2000-03-17 Akim Demaille <akim@epita.fr>
178 Be kind to translators, save some useless translations.
180 * src/main.c (banner): New function.
181 (fatal_banner): Use it.
182 (warn_banner): Use it.
184 2000-03-17 Akim Demaille <akim@epita.fr>
186 * src/reader.c (copy_definition): Use copy_string and
187 copy_comment. Removed now unused `match', `ended',
189 (copy_comment, copy_string): Moved, to be visible from
192 2000-03-17 Akim Demaille <akim@epita.fr>
194 * src/reader.c (copy_string): Declare `static inline'. No
195 problems with inline, since it is checked by configure.
196 (copy_comment): Likewise.
198 2000-03-17 Akim Demaille <akim@epita.fr>
200 * src/reader.c (packsymbols): Formatting changes.
202 2000-03-17 Akim Demaille <akim@epita.fr>
204 * src/reader.c (copy_comment): New function, factored out from:
205 (copy_action): Use it. Removed now unused `match', `ended',
207 (copy_guard): Likewise.
209 2000-03-17 Akim Demaille <akim@epita.fr>
211 * src/reader.c (copy_string): New function, factored out from:
212 (copy_action): Use it.
213 (copy_guard): Likewise.
215 2000-03-17 Akim Demaille <akim@epita.fr>
217 Change the handling of @s so that they behave exactly like $s.
218 There is now a pseudo variable @$ (readble and writable), location
219 of the lhs of the rule (by default ranging from the location of
220 the first symbol of the rhs, to the location of the last symbol,
221 or, if the rhs is empty, YYLLOC).
223 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
225 (yyparse): When providing a default semantic action, provide a
226 default location action.
227 (after the $): No longer change `*YYLSP', just stack YYLOC the
228 same way you stack YYVAL.
229 * src/reader.c (read_declarations): Use warns.
230 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
231 (copy_action, case '@'): Likewise.
232 Use a standard error message, to save useless work from
235 2000-03-17 Akim Demaille <akim@epita.fr>
237 * src/bison.s1: Formatting and cosmetics changes.
238 * src/reader.c: Likewise.
239 Update the Copyright notice.
241 2000-03-17 Akim Demaille <akim@epita.fr>
243 * src/bison.s1 (#line): All set to `#line' only, since the
244 Makefile now handles them.
246 2000-03-16 Akim Demaille <akim@epita.fr>
248 * src/output.c (output_rule_data): Output the documentation of
250 (Copyright notice): Update.
253 2000-03-16 Akim Demaille <akim@epita.fr>
255 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
256 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
257 One `#if YYDEBUG' remains, since it uses variables which are
258 defined only if `YYDEBUG != 0'.
260 2000-03-16 Akim Demaille <akim@epita.fr>
262 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
263 and related variables so that the similarities are highlighted.
265 2000-03-16 Akim Demaille <akim@epita.fr>
267 * src/bison.s1: Properly indent CPP directives.
269 2000-03-16 Akim Demaille <akim@epita.fr>
271 * src/bison.s1: Properly indent the `alloca' CPP section.
273 2000-03-16 Akim Demaille <akim@epita.fr>
275 Do not hard code values of directories in `configure.in'.
276 Update the `configure' tool chain.
278 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
280 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
281 (AC_OUTPUT): Add m4/Makefile.
282 Bump to bison 1.28a, 1.29 has never been released.
283 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
284 handled via src/Makefile.am.
285 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
286 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
288 * Makefile.am (SUBDIRS): Add m4.
289 (ACLOCAL_AM_FLAGS): New variable.
290 (AUTOMAKE_OPTIONS): Add check-news.
291 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
292 the proper line number and file name.
293 (DEFS): Propagate the location of bison library files and of the
295 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
297 * acinclude.m4: Remove, replaced by the directory m4.
298 * m4/Makefile.am (EXTRA_DIST): New variable.
299 * m4/gettext.m4: New file, from the fileutils.
300 * m4/lcmessage.m4: Likewise
301 * m4/progtest.m4: Likewise.
302 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
304 2000-03-10 Akim Demaille <akim@epita.fr>
307 Formatting changes of various comments.
308 Respect the GNU coding standards at various places.
309 Don't use `_()' when no translation is needed.
311 1999-12-13 Jesse Thilo <jthilo@gnu.org>
314 OS/2 honors TMPDIR environment variable.
316 1999-12-13 Jesse Thilo <jthilo@gnu.org>
318 * doc/bison.texinfo: Tweaked spelling and grammar.
320 Removed reference to price of printed copy.
321 Mention BISON_SIMPLE and BISON_HAIRY.
323 1999-12-13 Jesse Thilo <jthilo@gnu.org>
325 * configure.in, NEWS:
328 1999-10-27 Jesse Thilo <jthilo@gnu.org>
330 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
331 Added reference card.
333 1999-07-26 Jesse Thilo <jthilo@gnu.org>
335 * po/ru.po: Added Russian translation.
337 1999-07-26 Jesse Thilo <jthilo@gnu.org>
339 * configure.in: Added Russian translation.
341 1999-07-06 Jesse Thilo <jthilo@gnu.org>
343 * configure.in, NEWS, README:
344 Released version 1.28.
346 1999-06-14 Jesse Thilo <jthilo@gnu.org>
349 Squashed redefinition warning on some systems.
351 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
352 Have configure build version string instead of relying on ANSI string
355 1999-06-14 Jesse Thilo <jthilo@gnu.org>
357 * po/POTFILES.in: Got rid of version.c.
359 1999-06-14 Jesse Thilo <jthilo@gnu.org>
361 * acconfig.h, configure.in:
362 Have configure build version string instead of relying on ANSI string
365 1999-06-08 Jesse Thilo <jthilo@gnu.org>
368 Dropped mention of `+' for long-named options.
370 1999-05-30 Jesse Thilo <jthilo@gnu.org>
372 * src/files.c: Added <unistd.h> for unlink().
374 * src/Makefile.am, src/system.h:
377 1999-05-30 Jesse Thilo <jthilo@gnu.org>
379 * README: Added a FAQ list.
381 * configure.in, acconfig.h:
384 1999-05-30 Jesse Thilo <jthilo@gnu.org>
386 * doc/FAQ, doc/Makefile.am:
389 1999-05-19 Jesse Thilo <jthilo@gnu.org>
391 * src/alloc.h, src/symtab.h, src/version.c:
392 Protected inclusion of "config.h" with HAVE_CONFIG_H.
394 1999-04-18 Jesse Thilo <jthilo@gnu.org>
396 * src/.cvsignore, src/Makefile.am:
397 Reorganized: sources in `src', documentation in `doc'.
399 * src/lex.c (literalchar):
400 fixed the code for escaping double quotes (thanks
403 1999-04-18 Jesse Thilo <jthilo@gnu.org>
405 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
406 Adjusted paths to reflect directory reorganization.
408 1999-04-18 Jesse Thilo <jthilo@gnu.org>
410 * doc/.cvsignore, doc/Makefile.am:
411 Reorganized: sources in `src', documentation in `doc'.
413 1999-04-18 Jesse Thilo <jthilo@gnu.org>
416 Updated AC_INIT file to reflect directory reorganization.
418 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
419 Reorganized: sources in `src', documentation in `doc'.
421 1999-04-13 Jesse Thilo <jthilo@gnu.org>
424 Don't declare calloc() and realloc() if not necessary.
426 1999-04-13 Jesse Thilo <jthilo@gnu.org>
428 * configure.in, acconfig.h, acinclude.m4:
429 Don't declare calloc() and realloc() if not necessary.
431 1999-03-23 Jesse Thilo <jthilo@gnu.org>
433 * po/.cvsignore: Added i18n support.
435 1999-03-23 Jesse Thilo <jthilo@gnu.org>
437 * acconfig.h, configure.in, Makefile.am:
440 1999-03-22 Jesse Thilo <jthilo@gnu.org>
442 * src/bison.s1: Fixed #line numbers.
444 1999-03-15 Jesse Thilo <jthilo@gnu.org>
446 * po/es.po, po/fr.po, po/nl.po, po/de.po:
447 Added PO files from Translation Project.
449 1999-03-03 Jesse Thilo <jthilo@gnu.org>
452 Added support for non-ANSI compilers (ansi2knr).
454 1999-02-16 Jesse Thilo <jthilo@gnu.org>
456 * configure.in: Bumped version number to 1.27.
459 Added `bison.simple' to list of files removed by `make distclean'.
461 1999-02-12 Jesse Thilo <jthilo@gnu.org>
463 * src/files.c, src/files.h:
464 Defined locations of parser files in config.h instead of Makefile.
466 1999-02-12 Jesse Thilo <jthilo@gnu.org>
468 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
469 Defined locations of parser files in config.h instead of Makefile.
471 1999-02-09 Jesse Thilo <jthilo@gnu.org>
474 Removed inappropriate use of $< macro.
476 1999-02-05 Jesse Thilo <jthilo@gnu.org>
478 * po/Makefile.in.in, po/POTFILES.in:
479 Add `po' directory skeleton.
481 1999-01-27 Jesse Thilo <jthilo@gnu.org>
483 * README: Document help-bison list.
485 * configure.in: Add check for mkstemp().
487 1999-01-20 Jesse Thilo <jthilo@gnu.org>
489 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
490 Hush a few compiler warnings.
493 Add tryclose(), which verifies that fclose was successful.
494 Hush a couple of compiler warnings.
496 1999-01-20 Jesse Thilo <jthilo@gnu.org>
498 * Makefile.am, OChangeLog:
499 ChangeLog is now automatically generated. Include the old version as
502 1999-01-14 Jesse Thilo <jthilo@gnu.org>
504 * 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:
507 1999-01-14 Jesse Thilo <jthilo@gnu.org>
509 * doc/bison.texinfo: Fix formatting glitch.
511 * doc/bison.texinfo: Update FSF address.
513 1999-01-14 Jesse Thilo <jthilo@gnu.org>
515 * acconfig.h: Update FSF address.
517 1999-01-08 Jesse Thilo <jthilo@gnu.org>
520 Don't define PACKAGE here, since config.h defines it.
522 1998-12-30 Jesse Thilo <jthilo@gnu.org>
524 * src/reader.c: Update copyright date.
527 Ditch sprintf to statically-sized buffers in fatal/warn functions in
528 favor of output directly to stderr (avoids buffer overruns).
530 * src/reader.c: Some checks for premature EOF.
532 * 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:
533 Use prototypes if the compiler understands them.
535 * src/files.c: Honor TMPDIR on Unix hosts.
536 Use prototypes if the compiler understands them.
539 Fix a couple of buffer overrun bugs.
540 Use prototypes if the compiler understands them.
542 * src/system.h: Include unistd.h and ctype.h.
543 Use #ifdef instead of #if for NLS symbols.
545 1998-12-30 Jesse Thilo <jthilo@gnu.org>
548 Delete comment "consider using @set for edition number, etc..." since
551 1998-12-30 Jesse Thilo <jthilo@gnu.org>
554 Use prototypes if the compiler understands them.
556 * NEWS: Document 1.26 highlights.
558 * Makefile.am: Require Automake 1.3 or later.
561 Use prototypes if the compiler understands them.
563 1998-12-29 Jesse Thilo <jthilo@gnu.org>
566 Use VERSION symbol from automake for version number.
568 1998-12-29 Jesse Thilo <jthilo@gnu.org>
570 * acconfig.h, configure.in, version.cin:
571 Use VERSION symbol from automake for version number.
573 1998-11-28 Jesse Thilo <jthilo@gnu.org>
576 Distribute original version of simple parser (bison.s1), not built
577 version (bison.simple).
579 1998-11-28 Jesse Thilo <jthilo@gnu.org>
581 * doc/bison.texinfo: Add info dir entry.
584 Let automake put version number into documentation.
586 1998-11-26 Jesse Thilo <jthilo@gnu.org>
588 * src/bison.cld, src/build.com, src/vmshlp.mar:
589 Add non-RCS files from /gd/gnu/bison.
591 1998-11-26 Jesse Thilo <jthilo@gnu.org>
594 Document the BISON_HAIRY and BISON_SIMPLE variables.
596 1998-11-25 Jesse Thilo <jthilo@gnu.org>
598 * src/version.c: Build version.c automatically.
601 Fix token numbering (used to start at 258, not 257).
603 * src/system.h: Include config.h.
605 * src/getargs.c: Update bug report address.
607 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
608 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
610 1998-11-25 Jesse Thilo <jthilo@gnu.org>
613 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
615 * configure.in, version.cin:
616 Build version.c automatically.
618 * AUTHORS: Add AUTHORS file.
620 * README: Update bug report address.
623 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
625 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
628 1998-11-25 Jesse Thilo <jthilo@gnu.org>
630 * doc/bison.texinfo: Clean up some formatting.
632 1998-05-05 Richard Stallman <rms@gnu.org>
635 Explain better why to make a pure parser.
637 1998-01-05 Richard Stallman <rms@gnu.org>
639 * src/files.c (openfiles):
640 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
641 find a temporary directory, if possible. Do not unlink files while
644 1997-08-25 Richard Stallman <rms@gnu.org>
646 * src/reader.c (stack_offset;):
647 Change some warni to warns.
649 * src/lex.c (literalchar): Use warns, not warni.
651 1997-06-28 Richard Stallman <rms@gnu.org>
653 * src/bison.s1: Add a Bison version comment.
655 * src/main.c (fatal, warn, berror):
658 1997-06-28 Richard Stallman <rms@gnu.org>
660 * Makefile.in (bison_version): New variable.
661 (dist): Use that variable.
662 (bison.s1): Substitute the Bison version into bison.simple.
664 * bison.simple: Add a Bison version comment.
666 1997-06-18 Richard Stallman <rms@gnu.org>
668 * src/main.c (fatal, warn, berror):
669 Make error messages standard.
670 (toomany): Improve error message text.
672 * 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:
673 new.h renamed to alloc.h.
675 1997-06-18 Richard Stallman <rms@gnu.org>
677 * Makefile.in: new.h renamed to alloc.h.
679 1997-05-24 Richard Stallman <rms@gnu.org>
681 * src/lex.c (literalchar):
682 Fix the code for escaping \, " and '.
684 (lex): Avoid trouble when there are many chars
685 to discard in a char literal with just several chars in it.
687 1997-05-17 Richard Stallman <rms@gnu.org>
690 Use malloc, if using alloca is troublesome.
691 (YYSTACK_USE_ALLOCA): New flag macro.
692 Define it for some systems and compilers.
693 (YYSTACK_ALLOC): New macro.
694 (yyparse): Use YYSTACK_ALLOC to allocate stack.
695 If it was malloc'd, free it.
697 1997-05-17 Richard Stallman <rms@gnu.org>
700 Use malloc, if using alloca is troublesome.
701 (YYSTACK_USE_ALLOCA): New flag macro.
702 Define it for some systems and compilers.
703 (YYSTACK_ALLOC): New macro.
704 (yyparse): Use YYSTACK_ALLOC to allocate stack.
705 If it was malloc'd, free it.
707 1997-04-23 Richard Stallman <rms@gnu.org>
710 (alloca) [__hpux]: Always define as __builtin_alloca.
712 1997-04-23 Richard Stallman <rms@gnu.org>
715 (alloca) [__hpux]: Always define as __builtin_alloca.
717 1997-04-22 Richard Stallman <rms@gnu.org>
720 [__hpux]: Include alloca.h (right for HPUX 10)
721 instead of declaring alloca (right for HPUX 9).
723 * src/bison.s1 (__yy_memcpy):
724 Declare arg `count' as unsigned int.
725 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
727 1997-04-22 Richard Stallman <rms@gnu.org>
730 [__hpux]: Include alloca.h (right for HPUX 10)
731 instead of declaring alloca (right for HPUX 9).
733 * bison.simple (__yy_memcpy):
734 Declare arg `count' as unsigned int.
735 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
737 1997-01-03 Richard Stallman <rms@gnu.org>
739 * src/allocate.c: [__STDC__ or _MSC_VER]:
740 Declare calloc and realloc to return void *.
742 1997-01-02 Richard Stallman <rms@gnu.org>
745 [_MSC_VER]: Include stdlib.h and process.h.
746 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
748 * src/main.c (main): Return FAILURE as a value.
749 (printable_version): Declare arg as int, not char.
751 1997-01-02 Richard Stallman <rms@gnu.org>
753 * Makefile.in (dist):
754 Explicitly check for symlinks, and copy them.
756 1996-12-19 Richard Stallman <rms@gnu.org>
759 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
761 1996-12-18 Paul Eggert <eggert@gnu.org>
763 * src/bison.s1 (yyparse):
764 If __GNUC__ and YYPARSE_PARAM are both defined,
765 declare yyparse to have a void * argument.
767 1996-12-18 Paul Eggert <eggert@gnu.org>
769 * bison.simple (yyparse):
770 If __GNUC__ and YYPARSE_PARAM are both defined,
771 declare yyparse to have a void * argument.
773 1996-12-17 Richard Stallman <rms@gnu.org>
775 * src/reduce.c (nbits): Add some casts.
777 1996-08-12 Richard Stallman <rms@gnu.org>
779 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
781 1996-08-12 Richard Stallman <rms@gnu.org>
783 * bison.simple: Test _MSDOS as well as _MSDOS_.
785 1996-07-31 Richard Stallman <rms@gnu.org>
788 [__sun && __i386]: Include alloca.h.
790 1996-07-31 Richard Stallman <rms@gnu.org>
793 [__sun && __i386]: Include alloca.h.
795 1996-07-30 Richard Stallman <rms@gnu.org>
797 * src/bison.s1: Comment change.
799 * src/bison.s1: Test _MSDOS_, not MSDOS.
801 1996-07-30 Richard Stallman <rms@gnu.org>
803 * bison.simple: Comment change.
805 * bison.simple: Test _MSDOS_, not MSDOS.
807 1996-06-01 Richard Stallman <rms@gnu.org>
809 * 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:
810 Insert `_' macro around many string constants.
813 Insert `_' macro around many string constants.
815 (main): Call setlocale, bindtextdomain and textdomain.
817 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
818 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
819 [ENABLE_NLS]: Include libintl.h.
820 [ENABLE_NLS] (gettext): Define.
821 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
822 (N_, PACKAGE, LOCALEDIR): New macros.
824 1996-06-01 Richard Stallman <rms@gnu.org>
826 * POTFILES.in: New file.
828 * Makefile.in (allocate.o):
829 Define target explicitly.
831 * Makefile.in (CFLAGS): Set to @CFLAGS@.
832 (LDFLAGS): Set to @LDFLAGS@.
833 (configure): Run autoconf only if preceding `cd' succeeds.
834 (bison.s1): Redirect output to temporary file then move the
835 temporary to the target, rather than redirecting directly to bison.s1.
836 (clean): Remove config.status and config.log.
837 (distclean): Don't remove config.status here.
839 1996-05-12 Richard Stallman <rms@gnu.org>
842 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
844 1996-05-12 Richard Stallman <rms@gnu.org>
847 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
849 1996-05-11 Richard Stallman <rms@gnu.org>
851 * src/bison.s1 (__yy_memcpy):
852 Really reorder the args, as was supposedly done on Feb 14 1995.
853 (yyparse): Calls changed accordingly.
855 1996-05-11 Richard Stallman <rms@gnu.org>
857 * Makefile.in (dist): Don't use $(srcdir).
859 * bison.simple (__yy_memcpy):
860 Really reorder the args, as was supposedly done on Feb 14 1995.
861 (yyparse): Calls changed accordingly.
863 1996-01-27 Richard Stallman <rms@gnu.org>
865 * src/output.c (output_rule_data):
866 Test YYERROR_VERBOSE in the conditional
867 around the definition of ttyname.
869 1995-12-29 Richard Stallman <rms@gnu.org>
872 Fix line numbers in #line commands.
874 1995-12-29 Richard Stallman <rms@gnu.org>
877 Fix line numbers in #line commands.
879 1995-12-27 Richard Stallman <rms@gnu.org>
881 * src/bison.s1 (YYPARSE_PARAM_DECL):
882 In C++, make it always null.
883 (YYPARSE_PARAM_ARG): New macro.
884 (yyparse): Use YYPARSE_PARAM_ARG.
886 1995-12-27 Richard Stallman <rms@gnu.org>
888 * bison.simple (YYPARSE_PARAM_DECL):
889 In C++, make it always null.
890 (YYPARSE_PARAM_ARG): New macro.
891 (yyparse): Use YYPARSE_PARAM_ARG.
893 1995-11-29 Richard Stallman <rms@gnu.org>
896 Describe literal string tokens, %raw, %no_lines, %token_table.
898 1995-11-29 Daniel Hagerty <hag@gnu.org>
900 * doc/bison.texinfo: Fixed update date
902 1995-10-16 Richard Stallman <rms@gnu.org>
904 * src/version.c: Version 1.25.
906 1995-10-16 Richard Stallman <rms@gnu.org>
908 * NEWS: *** empty log message ***
910 1995-10-16 Richard Stallman <rms@gnu.org>
912 * doc/bison.1, doc/bison.rnh:
915 1995-10-15 Richard Stallman <rms@gnu.org>
917 * src/vmsgetargs.c, src/getargs.c:
918 Added -n, -k, and -raw switches.
919 (noparserflag, toknumflag, rawtoknumflag): New variables.
921 * src/symtab.h (SALIAS):
922 New #define for adding aliases to %token.
923 (struct bucket): Added `alias' field.
925 * src/reduce.c (reduce_grammar):
926 Revise error message.
927 (print_notices): Remove final `.' from error message.
929 * src/reader.c (reader_output_yylsp):
931 (readgram): Use `#if 0' around code that accepted %command
932 inside grammar rules: The documentation doesn't allow it,
933 and it will fail since the %command processors scan for the next %.
934 (parse_token_decl): Extended the %token
935 declaration to allow a multi-character symbol as an alias.
936 (parse_thong_decl): New function.
937 (read_declarations): Added %thong declarations.
938 (read_declarations): Handle NOOP to deal with allowing
939 % declarations as another means to specify the flags.
940 (readgram): Allow %prec prior to semantics embedded in a rule.
941 (skip_to_char, read_declarations, copy_definition)
942 (parse_token_decl, parse_start_decl, parse_type_decl)
943 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
944 (get_type_name, copy_guard, copy_action, readgram)
945 (get_type, packsymbols): Revised most error messages.
946 Changed `fatal' to `warnxxx' to avoid aborting for error.
947 Revised and use multiple warnxxx functions to avoid using VARARGS1.
948 (read_declarations): Improve the error message for
949 an invalid character. Do not abort.
950 (read_declarations, copy_guard, copy_action): Use
951 printable_version to avoid unprintable characters in printed output.
952 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
953 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
954 Allow the type of a non-terminal can be given
955 more than once, as long as all specifications give the same type.
958 (output_headers, output_trailers, output, output_gram)
959 (output_rule_data): Implement noparserflag variable.
960 Implement toknumflag variable.
961 (output): Call reader_output_yylsp to output LTYPESTR.
964 If reader sees an error, don't process the grammar.
965 (fatals): Updated to not use VARARGS1.
966 (printable_version, int_to_string, warn, warni, warns, warnss)
967 (warnsss): New error reporting functions. Avoid abort for error.
970 Added THONG and NOOP for alias processing.
971 Added SETOPT for the new code that allows setting options with %flags.
974 Include getopt.h. Add some extern decls.
975 (safegetc): New function to deal with EOF gracefully.
976 (literalchar); new function to deal with reading \ escapes.
977 (lex): Use literalchar.
978 (lex): Implemented "..." tokens.
979 (literalchar, lex, parse_percent_token): Made tokenbuffer
980 always contain the token. This includes growing the token
981 buffer while reading an integer.
982 (parse_percent_token): Replaced if-else statement with percent_table.
983 (parse_percent_token): Added % declarations as another
984 way to specify the flags -n, -l, and -r. Also added hooks for
985 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
986 major changes to files.c.
987 (lex) Retain in the incoming stream a character following
989 (skip_white_space, lex): Revised most error messages
990 and changed fatal to warn to avoid aborting.
991 (percent_table): Added %thong declarations.
993 * src/gram.h: Comment changes.
995 * src/files.c (openfiles, open_extra_files, done):
997 and actfile file. Handle noparserflag. Both for -n switch.
999 * src/conflicts.c (resolve_sr_conflict):
1000 Remove use of alloca.
1002 1995-06-01 Jim Meyering <meyering@gnu.org>
1004 * doc/bison.texinfo: *** empty log message ***
1006 1995-05-06 Richard Stallman <rms@gnu.org>
1008 * src/bison.s1: Comment change.
1010 1995-05-06 Richard Stallman <rms@gnu.org>
1012 * bison.simple: Comment change.
1014 1995-05-03 Richard Stallman <rms@gnu.org>
1016 * src/version.c: Version now 1.24.
1018 * src/bison.s1: Change distribution terms.
1020 * src/version.c: Version now 1.23.
1022 1995-05-03 Richard Stallman <rms@gnu.org>
1024 * doc/bison.texinfo:
1025 Rewrite "Conditions for Using Bison".
1026 Update version to 1.24.
1028 1995-05-03 Richard Stallman <rms@gnu.org>
1030 * bison.simple: Change distribution terms.
1032 1995-02-23 Richard Stallman <rms@gnu.org>
1034 * src/files.c: Test __VMS_POSIX as well as VMS.
1036 1995-02-14 Jim Meyering <meyering@gnu.org>
1038 * src/bison.s1 (__yy_memcpy):
1039 Renamed from __yy_bcopy to avoid
1040 confusion. Reverse FROM and TO arguments to be consistent with
1043 1995-02-14 Jim Meyering <meyering@gnu.org>
1045 * bison.simple (__yy_memcpy):
1046 Renamed from __yy_bcopy to avoid
1047 confusion. Reverse FROM and TO arguments to be consistent with
1050 1994-11-10 David J. MacKenzie <djm@gnu.org>
1056 * Makefile.in (DISTFILES): Include NEWS.
1058 * Makefile.in (DISTFILES):
1059 Include install-sh, not install.sh.
1061 * configure.in: Update to Autoconf v2 macro names.
1063 1994-10-05 David J. MacKenzie <djm@gnu.org>
1065 * Makefile.in: fix typo
1067 * Makefile.in (prefix, exec_prefix):
1068 Let configure set them.
1070 1994-09-28 David J. MacKenzie <djm@gnu.org>
1072 * Makefile.in: Set datadir to $(prefix)/share.
1074 1994-09-15 Richard Stallman <rms@gnu.org>
1077 Update copyright notice and GPL version.
1079 1994-09-15 Richard Stallman <rms@gnu.org>
1082 Update copyright notice and GPL version.
1084 1994-07-12 Richard Stallman <rms@gnu.org>
1086 * src/reduce.c, src/reader.c:
1089 1994-05-05 David J. MacKenzie <djm@gnu.org>
1091 * Makefile.in: entered into RCS
1093 1994-03-26 Richard Stallman <rms@gnu.org>
1095 * src/bison.s1: entered into RCS
1097 1994-03-26 Richard Stallman <rms@gnu.org>
1099 * bison.simple: entered into RCS
1101 1994-03-25 Richard Stallman <rms@gnu.org>
1103 * src/main.c: entered into RCS
1105 1994-03-24 Richard Stallman <rms@gnu.org>
1107 * src/conflicts.c: entered into RCS
1109 1994-01-02 Richard Stallman <rms@gnu.org>
1111 * Makefile.in: *** empty log message ***
1113 1993-11-21 Richard Stallman <rms@gnu.org>
1115 * src/bison.s1: *** empty log message ***
1117 1993-11-21 Richard Stallman <rms@gnu.org>
1119 * doc/bison.texinfo: entered into RCS
1121 * doc/bison.texinfo: *** empty log message ***
1123 1993-11-21 Richard Stallman <rms@gnu.org>
1125 * bison.simple: *** empty log message ***
1127 1993-10-25 David J. MacKenzie <djm@gnu.org>
1129 * doc/bison.texinfo: *** empty log message ***
1131 1993-10-19 Richard Stallman <rms@gnu.org>
1133 * src/bison.s1: *** empty log message ***
1135 1993-10-19 Richard Stallman <rms@gnu.org>
1137 * bison.simple: *** empty log message ***
1139 1993-10-14 Richard Stallman <rms@gnu.org>
1141 * src/bison.s1: *** empty log message ***
1143 1993-10-14 Richard Stallman <rms@gnu.org>
1145 * bison.simple: *** empty log message ***
1147 1993-09-14 David J. MacKenzie <djm@gnu.org>
1149 * doc/bison.texinfo: *** empty log message ***
1151 1993-09-13 Noah Friedman <friedman@gnu.org>
1153 * Makefile.in: *** empty log message ***
1155 1993-09-10 Richard Stallman <rms@gnu.org>
1157 * src/conflicts.c: *** empty log message ***
1159 * src/system.h: entered into RCS
1161 1993-09-10 Richard Stallman <rms@gnu.org>
1163 * doc/bison.1: entered into RCS
1165 1993-09-06 Noah Friedman <friedman@gnu.org>
1167 * src/version.c: entered into RCS
1169 1993-09-06 Noah Friedman <friedman@gnu.org>
1171 * Makefile.in: *** empty log message ***
1173 1993-07-30 David J. MacKenzie <djm@gnu.org>
1175 * Makefile.in: *** empty log message ***
1177 1993-07-24 Richard Stallman <rms@gnu.org>
1179 * src/bison.s1: *** empty log message ***
1181 1993-07-24 Richard Stallman <rms@gnu.org>
1183 * bison.simple: *** empty log message ***
1185 1993-07-08 David J. MacKenzie <djm@gnu.org>
1187 * Makefile.in: *** empty log message ***
1189 1993-07-04 Richard Stallman <rms@gnu.org>
1191 * src/bison.s1: *** empty log message ***
1193 1993-07-04 Richard Stallman <rms@gnu.org>
1195 * bison.simple: *** empty log message ***
1197 1993-06-26 David J. MacKenzie <djm@gnu.org>
1199 * src/getargs.c: entered into RCS
1201 1993-06-26 David J. MacKenzie <djm@gnu.org>
1203 * doc/bison.texinfo: *** empty log message ***
1205 * doc/bison.1: New file.
1207 1993-06-25 Richard Stallman <rms@gnu.org>
1209 * src/getargs.c: New file.
1211 1993-06-16 Richard Stallman <rms@gnu.org>
1213 * src/bison.s1: *** empty log message ***
1215 1993-06-16 Richard Stallman <rms@gnu.org>
1217 * bison.simple: *** empty log message ***
1219 1993-06-03 Richard Stallman <rms@gnu.org>
1221 * src/bison.s1: New file.
1223 1993-06-03 Richard Stallman <rms@gnu.org>
1225 * doc/bison.texinfo: *** empty log message ***
1227 1993-06-03 Richard Stallman <rms@gnu.org>
1229 * bison.simple: New file.
1231 1993-05-19 Richard Stallman <rms@gnu.org>
1233 * doc/bison.texinfo: New file.
1235 1993-05-07 Noah Friedman <friedman@gnu.org>
1237 * Makefile.in: *** empty log message ***
1239 1993-04-28 Noah Friedman <friedman@gnu.org>
1241 * src/reader.c: *** empty log message ***
1243 1993-04-23 Noah Friedman <friedman@gnu.org>
1245 * src/alloc.h: entered into RCS
1247 1993-04-20 David J. MacKenzie <djm@gnu.org>
1249 * src/version.c: *** empty log message ***
1251 * src/files.c, src/allocate.c:
1254 * src/reader.c: *** empty log message ***
1256 * src/lex.c: entered into RCS
1258 * src/conflicts.c: New file.
1260 * src/symtab.c: entered into RCS
1262 * src/alloc.h: New file.
1264 * src/LR0.c: entered into RCS
1266 1993-04-18 Noah Friedman <friedman@gnu.org>
1268 * src/reader.c: New file.
1270 * src/version.c: *** empty log message ***
1272 1993-04-18 Noah Friedman <friedman@gnu.org>
1274 * Makefile.in: *** empty log message ***
1276 1993-04-17 Noah Friedman <friedman@gnu.org>
1278 * Makefile.in: *** empty log message ***
1280 1993-04-15 Richard Stallman <rms@gnu.org>
1282 * src/main.c, src/files.c:
1285 1993-04-15 Noah Friedman <friedman@gnu.org>
1287 * configure.in: entered into RCS
1289 * configure.in: *** empty log message ***
1291 * configure.in: New file.
1293 1993-04-14 Richard Stallman <rms@gnu.org>
1295 * Makefile.in: New file.
1297 1993-04-13 Richard Stallman <rms@gnu.org>
1299 * src/version.c: New file.
1301 1993-03-25 Richard Stallman <rms@gnu.org>
1303 * src/output.c: entered into RCS
1305 1992-09-25 Richard Stallman <rms@gnu.org>
1307 * configure.bat: entered into RCS
1309 1992-06-22 Richard Stallman <rms@gnu.org>
1311 * src/vmsgetargs.c: entered into RCS
1313 1992-06-22 Richard Stallman <rms@gnu.org>
1315 * doc/bison.rnh: entered into RCS
1317 1992-04-20 David J. MacKenzie <djm@gnu.org>
1319 * README: entered into RCS
1321 1992-01-22 Richard Stallman <rms@gnu.org>
1323 * src/machine.h: entered into RCS
1325 1991-12-21 Richard Stallman <rms@gnu.org>
1327 * src/lalr.c, src/closure.c:
1330 1991-12-20 Richard Stallman <rms@gnu.org>
1332 * src/state.h: entered into RCS
1334 1991-12-18 Richard Stallman <rms@gnu.org>
1336 * src/print.c, src/nullable.c, src/derives.c:
1339 1991-11-03 David J. MacKenzie <djm@gnu.org>
1341 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1344 1988-09-09 Richard Stallman <rms@gnu.org>
1346 * src/bison.hairy: entered into RCS
1348 1987-12-16 Richard Stallman <rms@gnu.org>
1350 * REFERENCES: entered into RCS