1 2000-09-18 Akim Demaille <akim@epita.fr>
3 * configure.in: Append WARNING_CFLAGS to CFLAGS.
4 * src/Makefile.am (INCLUDES): Don't.
5 Be ready to fetch headers in lib/.
7 2000-09-18 Akim Demaille <akim@epita.fr>
9 * doc/bison.texinfo: Update the copyright.
10 ANSIfy and GNUify the examples.
13 2000-09-18 Akim Demaille <akim@epita.fr>
15 First set of tests: use the `calc' example from the documentation.
17 * src/bison.s1 (yyparse): Condition the code using `yytname' which
18 is defined only when YYDEBUG is.
19 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
20 * src/files.c (tryopen, tryclose): Formatting changes.
21 Move to the top and be static.
22 * src/reader.c (read_signed_integer): Likewise.
23 * tests/calc.m4: New file.
24 * Makefile.am, suite.m4: Adjust.
25 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
27 2000-09-18 Akim Demaille <akim@epita.fr>
29 Add support for an Autotest test suite for Bison.
31 * m4/m4.m4, m4/atconfig.m4: New files.
32 * m4/Makefile.am (EXTRA_DIST): Adjust.
33 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
35 * src/getargs.c: Display a more standard --version message.
36 * src/reader.c (reader): Formatting changes.
37 No longer depend upon VERSION_STRING.
38 * configure.in: No longer use `dnl'.
39 Set up the test suite and the new directory `tests/.
40 (VERSION_STRING): Remove.
42 2000-04-14 Akim Demaille <akim@epita.fr>
44 * src/reader.c (copy_comment2): New function, same as former
45 `copy_comment', but outputs into two FILE *.
46 (copy_comment): Use it.
47 (parse_union_decl): Use it.
48 (get_type, parse_start_decl): Use the same `invalid' message.
49 (parse_start_decl, parse_union_decl): Use the same `multiple'
51 (parse_union_decl, copy_guard, copy_action): Use the same
53 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
55 2000-03-31 Akim Demaille <akim@epita.fr>
57 * src/files.c (tryopen, tryclose): Move to the top.
60 2000-03-31 Akim Demaille <akim@epita.fr>
62 * src/main.c (main): Don't call `done', exit does it.
64 2000-03-31 Akim Demaille <akim@epita.fr>
66 * allocate.c: s/return (foo)/return foo/.
72 * vmsgetargs.c: Likewise.
74 2000-03-31 Akim Demaille <akim@epita.fr>
76 Clean up the error reporting functions.
78 * src/report.c: New file.
79 * src/report.h: Likewise.
80 * src/Makefile.am: Adjust.
81 * m4/error.m4: New file.
82 * m4/Makefile.am: Adjust.
83 * configure.in (jm_PREREQ_ERROR): Call it.
84 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
86 (fatal, fatals): Remove. All callers use complain.c::fatal.
87 (warn, warni, warns, warnss, warnss): Remove. All callers use
89 (toomany): Remove, use fatal instead.
90 * src/files.c (done): No argument, use complain_message_count.
91 * src/main.c (main): Register `done' to `atexit'.
93 * src/getargs.c (usage): More `fputs', less `fprintf'.
95 2000-03-28 Akim Demaille <akim@epita.fr>
97 * lib/: New directory.
98 * Makefile.am (SUBDIRS): Adjust.
99 * configure.in: Adjust.
100 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
102 * src/alloca.c: Moved to lib/.
103 * src/getopt.c: Likewise.
104 * src/getopt1.c: Likewise.
105 * src/getopt.h: Likewise.
106 * src/ansi2knr.c: Likewise.
107 * src/ansi2knr.1: Likewise.
108 * src/Makefile.am: Adjust.
109 * lib/Makefile.am: New file.
111 2000-03-28 Akim Demaille <akim@epita.fr>
113 * src/getargs.c (usage): Refresh the help message.
115 2000-03-17 Akim Demaille <akim@epita.fr>
117 * src/getopt1.c: Updated from textutils 2.0e
118 * src/getopt.c: Likewise.
119 * src/getopt.h: Likewise.
121 2000-03-17 Akim Demaille <akim@epita.fr>
123 * src/Makefile.am (bison.simple): Fix the awk program: quote only
124 the file name, not the whole `#line LINE FILE'.
126 2000-03-17 Akim Demaille <akim@epita.fr>
128 On syntax errors, report the token on which we choked.
130 * src/bison.s1 (yyparse): In the label yyerrlab, when
131 YYERROR_VERBOSE, add yychar in msg.
133 2000-03-17 Akim Demaille <akim@epita.fr>
135 * src/reader.c (copy_at): New function.
136 (copy_guard): Use it.
137 (copy_action): Use it.
139 2000-03-17 Akim Demaille <akim@epita.fr>
141 Be kind to translators, save some useless translations.
143 * src/main.c (banner): New function.
144 (fatal_banner): Use it.
145 (warn_banner): Use it.
147 2000-03-17 Akim Demaille <akim@epita.fr>
149 * src/reader.c (copy_definition): Use copy_string and
150 copy_comment. Removed now unused `match', `ended',
152 (copy_comment, copy_string): Moved, to be visible from
155 2000-03-17 Akim Demaille <akim@epita.fr>
157 * src/reader.c (copy_string): Declare `static inline'. No
158 problems with inline, since it is checked by configure.
159 (copy_comment): Likewise.
161 2000-03-17 Akim Demaille <akim@epita.fr>
163 * src/reader.c (packsymbols): Formatting changes.
165 2000-03-17 Akim Demaille <akim@epita.fr>
167 * src/reader.c (copy_comment): New function, factored out from:
168 (copy_action): Use it. Removed now unused `match', `ended',
170 (copy_guard): Likewise.
172 2000-03-17 Akim Demaille <akim@epita.fr>
174 * src/reader.c (copy_string): New function, factored out from:
175 (copy_action): Use it.
176 (copy_guard): Likewise.
178 2000-03-17 Akim Demaille <akim@epita.fr>
180 Change the handling of @s so that they behave exactly like $s.
181 There is now a pseudo variable @$ (readble and writable), location
182 of the lhs of the rule (by default ranging from the location of
183 the first symbol of the rhs, to the location of the last symbol,
184 or, if the rhs is empty, YYLLOC).
186 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
188 (yyparse): When providing a default semantic action, provide a
189 default location action.
190 (after the $): No longer change `*YYLSP', just stack YYLOC the
191 same way you stack YYVAL.
192 * src/reader.c (read_declarations): Use warns.
193 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
194 (copy_action, case '@'): Likewise.
195 Use a standard error message, to save useless work from
198 2000-03-17 Akim Demaille <akim@epita.fr>
200 * src/bison.s1: Formatting and cosmetics changes.
201 * src/reader.c: Likewise.
202 Update the Copyright notice.
204 2000-03-17 Akim Demaille <akim@epita.fr>
206 * src/bison.s1 (#line): All set to `#line' only, since the
207 Makefile now handles them.
209 2000-03-16 Akim Demaille <akim@epita.fr>
211 * src/output.c (output_rule_data): Output the documentation of
213 (Copyright notice): Update.
216 2000-03-16 Akim Demaille <akim@epita.fr>
218 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
219 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
220 One `#if YYDEBUG' remains, since it uses variables which are
221 defined only if `YYDEBUG != 0'.
223 2000-03-16 Akim Demaille <akim@epita.fr>
225 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
226 and related variables so that the similarities are highlighted.
228 2000-03-16 Akim Demaille <akim@epita.fr>
230 * src/bison.s1: Properly indent CPP directives.
232 2000-03-16 Akim Demaille <akim@epita.fr>
234 * src/bison.s1: Properly indent the `alloca' CPP section.
236 2000-03-16 Akim Demaille <akim@epita.fr>
238 Do not hard code values of directories in `configure.in'.
239 Update the `configure' tool chain.
241 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
243 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
244 (AC_OUTPUT): Add m4/Makefile.
245 Bump to bison 1.28a, 1.29 has never been released.
246 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
247 handled via src/Makefile.am.
248 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
249 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
251 * Makefile.am (SUBDIRS): Add m4.
252 (ACLOCAL_AM_FLAGS): New variable.
253 (AUTOMAKE_OPTIONS): Add check-news.
254 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
255 the proper line number and file name.
256 (DEFS): Propagate the location of bison library files and of the
258 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
260 * acinclude.m4: Remove, replaced by the directory m4.
261 * m4/Makefile.am (EXTRA_DIST): New variable.
262 * m4/gettext.m4: New file, from the fileutils.
263 * m4/lcmessage.m4: Likewise
264 * m4/progtest.m4: Likewise.
265 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
267 2000-03-10 Akim Demaille <akim@epita.fr>
270 Formatting changes of various comments.
271 Respect the GNU coding standards at various places.
272 Don't use `_()' when no translation is needed.
274 1999-12-13 Jesse Thilo <jthilo@gnu.org>
277 OS/2 honors TMPDIR environment variable.
279 1999-12-13 Jesse Thilo <jthilo@gnu.org>
281 * doc/bison.texinfo: Tweaked spelling and grammar.
283 Removed reference to price of printed copy.
284 Mention BISON_SIMPLE and BISON_HAIRY.
286 1999-12-13 Jesse Thilo <jthilo@gnu.org>
288 * configure.in, NEWS:
291 1999-10-27 Jesse Thilo <jthilo@gnu.org>
293 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
294 Added reference card.
296 1999-07-26 Jesse Thilo <jthilo@gnu.org>
298 * po/ru.po: Added Russian translation.
300 1999-07-26 Jesse Thilo <jthilo@gnu.org>
302 * configure.in: Added Russian translation.
304 1999-07-06 Jesse Thilo <jthilo@gnu.org>
306 * configure.in, NEWS, README:
307 Released version 1.28.
309 1999-06-14 Jesse Thilo <jthilo@gnu.org>
312 Squashed redefinition warning on some systems.
314 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
315 Have configure build version string instead of relying on ANSI string
318 1999-06-14 Jesse Thilo <jthilo@gnu.org>
320 * po/POTFILES.in: Got rid of version.c.
322 1999-06-14 Jesse Thilo <jthilo@gnu.org>
324 * acconfig.h, configure.in:
325 Have configure build version string instead of relying on ANSI string
328 1999-06-08 Jesse Thilo <jthilo@gnu.org>
331 Dropped mention of `+' for long-named options.
333 1999-05-30 Jesse Thilo <jthilo@gnu.org>
335 * src/files.c: Added <unistd.h> for unlink().
337 * src/Makefile.am, src/system.h:
340 1999-05-30 Jesse Thilo <jthilo@gnu.org>
342 * README: Added a FAQ list.
344 * configure.in, acconfig.h:
347 1999-05-30 Jesse Thilo <jthilo@gnu.org>
349 * doc/FAQ, doc/Makefile.am:
352 1999-05-19 Jesse Thilo <jthilo@gnu.org>
354 * src/alloc.h, src/symtab.h, src/version.c:
355 Protected inclusion of "config.h" with HAVE_CONFIG_H.
357 1999-04-18 Jesse Thilo <jthilo@gnu.org>
359 * src/.cvsignore, src/Makefile.am:
360 Reorganized: sources in `src', documentation in `doc'.
362 * src/lex.c (literalchar):
363 fixed the code for escaping double quotes (thanks
366 1999-04-18 Jesse Thilo <jthilo@gnu.org>
368 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
369 Adjusted paths to reflect directory reorganization.
371 1999-04-18 Jesse Thilo <jthilo@gnu.org>
373 * doc/.cvsignore, doc/Makefile.am:
374 Reorganized: sources in `src', documentation in `doc'.
376 1999-04-18 Jesse Thilo <jthilo@gnu.org>
379 Updated AC_INIT file to reflect directory reorganization.
381 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
382 Reorganized: sources in `src', documentation in `doc'.
384 1999-04-13 Jesse Thilo <jthilo@gnu.org>
387 Don't declare calloc() and realloc() if not necessary.
389 1999-04-13 Jesse Thilo <jthilo@gnu.org>
391 * configure.in, acconfig.h, acinclude.m4:
392 Don't declare calloc() and realloc() if not necessary.
394 1999-03-23 Jesse Thilo <jthilo@gnu.org>
396 * po/.cvsignore: Added i18n support.
398 1999-03-23 Jesse Thilo <jthilo@gnu.org>
400 * acconfig.h, configure.in, Makefile.am:
403 1999-03-22 Jesse Thilo <jthilo@gnu.org>
405 * src/bison.s1: Fixed #line numbers.
407 1999-03-15 Jesse Thilo <jthilo@gnu.org>
409 * po/es.po, po/fr.po, po/nl.po, po/de.po:
410 Added PO files from Translation Project.
412 1999-03-03 Jesse Thilo <jthilo@gnu.org>
415 Added support for non-ANSI compilers (ansi2knr).
417 1999-02-16 Jesse Thilo <jthilo@gnu.org>
419 * configure.in: Bumped version number to 1.27.
422 Added `bison.simple' to list of files removed by `make distclean'.
424 1999-02-12 Jesse Thilo <jthilo@gnu.org>
426 * src/files.c, src/files.h:
427 Defined locations of parser files in config.h instead of Makefile.
429 1999-02-12 Jesse Thilo <jthilo@gnu.org>
431 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
432 Defined locations of parser files in config.h instead of Makefile.
434 1999-02-09 Jesse Thilo <jthilo@gnu.org>
437 Removed inappropriate use of $< macro.
439 1999-02-05 Jesse Thilo <jthilo@gnu.org>
441 * po/Makefile.in.in, po/POTFILES.in:
442 Add `po' directory skeleton.
444 1999-01-27 Jesse Thilo <jthilo@gnu.org>
446 * README: Document help-bison list.
448 * configure.in: Add check for mkstemp().
450 1999-01-20 Jesse Thilo <jthilo@gnu.org>
452 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
453 Hush a few compiler warnings.
456 Add tryclose(), which verifies that fclose was successful.
457 Hush a couple of compiler warnings.
459 1999-01-20 Jesse Thilo <jthilo@gnu.org>
461 * Makefile.am, OChangeLog:
462 ChangeLog is now automatically generated. Include the old version as
465 1999-01-14 Jesse Thilo <jthilo@gnu.org>
467 * 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:
470 1999-01-14 Jesse Thilo <jthilo@gnu.org>
472 * doc/bison.texinfo: Fix formatting glitch.
474 * doc/bison.texinfo: Update FSF address.
476 1999-01-14 Jesse Thilo <jthilo@gnu.org>
478 * acconfig.h: Update FSF address.
480 1999-01-08 Jesse Thilo <jthilo@gnu.org>
483 Don't define PACKAGE here, since config.h defines it.
485 1998-12-30 Jesse Thilo <jthilo@gnu.org>
487 * src/reader.c: Update copyright date.
490 Ditch sprintf to statically-sized buffers in fatal/warn functions in
491 favor of output directly to stderr (avoids buffer overruns).
493 * src/reader.c: Some checks for premature EOF.
495 * 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:
496 Use prototypes if the compiler understands them.
498 * src/files.c: Honor TMPDIR on Unix hosts.
499 Use prototypes if the compiler understands them.
502 Fix a couple of buffer overrun bugs.
503 Use prototypes if the compiler understands them.
505 * src/system.h: Include unistd.h and ctype.h.
506 Use #ifdef instead of #if for NLS symbols.
508 1998-12-30 Jesse Thilo <jthilo@gnu.org>
511 Delete comment "consider using @set for edition number, etc..." since
514 1998-12-30 Jesse Thilo <jthilo@gnu.org>
517 Use prototypes if the compiler understands them.
519 * NEWS: Document 1.26 highlights.
521 * Makefile.am: Require Automake 1.3 or later.
524 Use prototypes if the compiler understands them.
526 1998-12-29 Jesse Thilo <jthilo@gnu.org>
529 Use VERSION symbol from automake for version number.
531 1998-12-29 Jesse Thilo <jthilo@gnu.org>
533 * acconfig.h, configure.in, version.cin:
534 Use VERSION symbol from automake for version number.
536 1998-11-28 Jesse Thilo <jthilo@gnu.org>
539 Distribute original version of simple parser (bison.s1), not built
540 version (bison.simple).
542 1998-11-28 Jesse Thilo <jthilo@gnu.org>
544 * doc/bison.texinfo: Add info dir entry.
547 Let automake put version number into documentation.
549 1998-11-26 Jesse Thilo <jthilo@gnu.org>
551 * src/bison.cld, src/build.com, src/vmshlp.mar:
552 Add non-RCS files from /gd/gnu/bison.
554 1998-11-26 Jesse Thilo <jthilo@gnu.org>
557 Document the BISON_HAIRY and BISON_SIMPLE variables.
559 1998-11-25 Jesse Thilo <jthilo@gnu.org>
561 * src/version.c: Build version.c automatically.
564 Fix token numbering (used to start at 258, not 257).
566 * src/system.h: Include config.h.
568 * src/getargs.c: Update bug report address.
570 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
571 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
573 1998-11-25 Jesse Thilo <jthilo@gnu.org>
576 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
578 * configure.in, version.cin:
579 Build version.c automatically.
581 * AUTHORS: Add AUTHORS file.
583 * README: Update bug report address.
586 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
588 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
591 1998-11-25 Jesse Thilo <jthilo@gnu.org>
593 * doc/bison.texinfo: Clean up some formatting.
595 1998-05-05 Richard Stallman <rms@gnu.org>
598 Explain better why to make a pure parser.
600 1998-01-05 Richard Stallman <rms@gnu.org>
602 * src/files.c (openfiles):
603 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
604 find a temporary directory, if possible. Do not unlink files while
607 1997-08-25 Richard Stallman <rms@gnu.org>
609 * src/reader.c (stack_offset;):
610 Change some warni to warns.
612 * src/lex.c (literalchar): Use warns, not warni.
614 1997-06-28 Richard Stallman <rms@gnu.org>
616 * src/bison.s1: Add a Bison version comment.
618 * src/main.c (fatal, warn, berror):
621 1997-06-28 Richard Stallman <rms@gnu.org>
623 * Makefile.in (bison_version): New variable.
624 (dist): Use that variable.
625 (bison.s1): Substitute the Bison version into bison.simple.
627 * bison.simple: Add a Bison version comment.
629 1997-06-18 Richard Stallman <rms@gnu.org>
631 * src/main.c (fatal, warn, berror):
632 Make error messages standard.
633 (toomany): Improve error message text.
635 * 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:
636 new.h renamed to alloc.h.
638 1997-06-18 Richard Stallman <rms@gnu.org>
640 * Makefile.in: new.h renamed to alloc.h.
642 1997-05-24 Richard Stallman <rms@gnu.org>
644 * src/lex.c (literalchar):
645 Fix the code for escaping \, " and '.
647 (lex): Avoid trouble when there are many chars
648 to discard in a char literal with just several chars in it.
650 1997-05-17 Richard Stallman <rms@gnu.org>
653 Use malloc, if using alloca is troublesome.
654 (YYSTACK_USE_ALLOCA): New flag macro.
655 Define it for some systems and compilers.
656 (YYSTACK_ALLOC): New macro.
657 (yyparse): Use YYSTACK_ALLOC to allocate stack.
658 If it was malloc'd, free it.
660 1997-05-17 Richard Stallman <rms@gnu.org>
663 Use malloc, if using alloca is troublesome.
664 (YYSTACK_USE_ALLOCA): New flag macro.
665 Define it for some systems and compilers.
666 (YYSTACK_ALLOC): New macro.
667 (yyparse): Use YYSTACK_ALLOC to allocate stack.
668 If it was malloc'd, free it.
670 1997-04-23 Richard Stallman <rms@gnu.org>
673 (alloca) [__hpux]: Always define as __builtin_alloca.
675 1997-04-23 Richard Stallman <rms@gnu.org>
678 (alloca) [__hpux]: Always define as __builtin_alloca.
680 1997-04-22 Richard Stallman <rms@gnu.org>
683 [__hpux]: Include alloca.h (right for HPUX 10)
684 instead of declaring alloca (right for HPUX 9).
686 * src/bison.s1 (__yy_memcpy):
687 Declare arg `count' as unsigned int.
688 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
690 1997-04-22 Richard Stallman <rms@gnu.org>
693 [__hpux]: Include alloca.h (right for HPUX 10)
694 instead of declaring alloca (right for HPUX 9).
696 * bison.simple (__yy_memcpy):
697 Declare arg `count' as unsigned int.
698 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
700 1997-01-03 Richard Stallman <rms@gnu.org>
702 * src/allocate.c: [__STDC__ or _MSC_VER]:
703 Declare calloc and realloc to return void *.
705 1997-01-02 Richard Stallman <rms@gnu.org>
708 [_MSC_VER]: Include stdlib.h and process.h.
709 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
711 * src/main.c (main): Return FAILURE as a value.
712 (printable_version): Declare arg as int, not char.
714 1997-01-02 Richard Stallman <rms@gnu.org>
716 * Makefile.in (dist):
717 Explicitly check for symlinks, and copy them.
719 1996-12-19 Richard Stallman <rms@gnu.org>
722 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
724 1996-12-18 Paul Eggert <eggert@gnu.org>
726 * src/bison.s1 (yyparse):
727 If __GNUC__ and YYPARSE_PARAM are both defined,
728 declare yyparse to have a void * argument.
730 1996-12-18 Paul Eggert <eggert@gnu.org>
732 * bison.simple (yyparse):
733 If __GNUC__ and YYPARSE_PARAM are both defined,
734 declare yyparse to have a void * argument.
736 1996-12-17 Richard Stallman <rms@gnu.org>
738 * src/reduce.c (nbits): Add some casts.
740 1996-08-12 Richard Stallman <rms@gnu.org>
742 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
744 1996-08-12 Richard Stallman <rms@gnu.org>
746 * bison.simple: Test _MSDOS as well as _MSDOS_.
748 1996-07-31 Richard Stallman <rms@gnu.org>
751 [__sun && __i386]: Include alloca.h.
753 1996-07-31 Richard Stallman <rms@gnu.org>
756 [__sun && __i386]: Include alloca.h.
758 1996-07-30 Richard Stallman <rms@gnu.org>
760 * src/bison.s1: Comment change.
762 * src/bison.s1: Test _MSDOS_, not MSDOS.
764 1996-07-30 Richard Stallman <rms@gnu.org>
766 * bison.simple: Comment change.
768 * bison.simple: Test _MSDOS_, not MSDOS.
770 1996-06-01 Richard Stallman <rms@gnu.org>
772 * 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:
773 Insert `_' macro around many string constants.
776 Insert `_' macro around many string constants.
778 (main): Call setlocale, bindtextdomain and textdomain.
780 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
781 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
782 [ENABLE_NLS]: Include libintl.h.
783 [ENABLE_NLS] (gettext): Define.
784 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
785 (N_, PACKAGE, LOCALEDIR): New macros.
787 1996-06-01 Richard Stallman <rms@gnu.org>
789 * POTFILES.in: New file.
791 * Makefile.in (allocate.o):
792 Define target explicitly.
794 * Makefile.in (CFLAGS): Set to @CFLAGS@.
795 (LDFLAGS): Set to @LDFLAGS@.
796 (configure): Run autoconf only if preceding `cd' succeeds.
797 (bison.s1): Redirect output to temporary file then move the
798 temporary to the target, rather than redirecting directly to bison.s1.
799 (clean): Remove config.status and config.log.
800 (distclean): Don't remove config.status here.
802 1996-05-12 Richard Stallman <rms@gnu.org>
805 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
807 1996-05-12 Richard Stallman <rms@gnu.org>
810 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
812 1996-05-11 Richard Stallman <rms@gnu.org>
814 * src/bison.s1 (__yy_memcpy):
815 Really reorder the args, as was supposedly done on Feb 14 1995.
816 (yyparse): Calls changed accordingly.
818 1996-05-11 Richard Stallman <rms@gnu.org>
820 * Makefile.in (dist): Don't use $(srcdir).
822 * bison.simple (__yy_memcpy):
823 Really reorder the args, as was supposedly done on Feb 14 1995.
824 (yyparse): Calls changed accordingly.
826 1996-01-27 Richard Stallman <rms@gnu.org>
828 * src/output.c (output_rule_data):
829 Test YYERROR_VERBOSE in the conditional
830 around the definition of ttyname.
832 1995-12-29 Richard Stallman <rms@gnu.org>
835 Fix line numbers in #line commands.
837 1995-12-29 Richard Stallman <rms@gnu.org>
840 Fix line numbers in #line commands.
842 1995-12-27 Richard Stallman <rms@gnu.org>
844 * src/bison.s1 (YYPARSE_PARAM_DECL):
845 In C++, make it always null.
846 (YYPARSE_PARAM_ARG): New macro.
847 (yyparse): Use YYPARSE_PARAM_ARG.
849 1995-12-27 Richard Stallman <rms@gnu.org>
851 * bison.simple (YYPARSE_PARAM_DECL):
852 In C++, make it always null.
853 (YYPARSE_PARAM_ARG): New macro.
854 (yyparse): Use YYPARSE_PARAM_ARG.
856 1995-11-29 Richard Stallman <rms@gnu.org>
859 Describe literal string tokens, %raw, %no_lines, %token_table.
861 1995-11-29 Daniel Hagerty <hag@gnu.org>
863 * doc/bison.texinfo: Fixed update date
865 1995-10-16 Richard Stallman <rms@gnu.org>
867 * src/version.c: Version 1.25.
869 1995-10-16 Richard Stallman <rms@gnu.org>
871 * NEWS: *** empty log message ***
873 1995-10-16 Richard Stallman <rms@gnu.org>
875 * doc/bison.1, doc/bison.rnh:
878 1995-10-15 Richard Stallman <rms@gnu.org>
880 * src/vmsgetargs.c, src/getargs.c:
881 Added -n, -k, and -raw switches.
882 (noparserflag, toknumflag, rawtoknumflag): New variables.
884 * src/symtab.h (SALIAS):
885 New #define for adding aliases to %token.
886 (struct bucket): Added `alias' field.
888 * src/reduce.c (reduce_grammar):
889 Revise error message.
890 (print_notices): Remove final `.' from error message.
892 * src/reader.c (reader_output_yylsp):
894 (readgram): Use `#if 0' around code that accepted %command
895 inside grammar rules: The documentation doesn't allow it,
896 and it will fail since the %command processors scan for the next %.
897 (parse_token_decl): Extended the %token
898 declaration to allow a multi-character symbol as an alias.
899 (parse_thong_decl): New function.
900 (read_declarations): Added %thong declarations.
901 (read_declarations): Handle NOOP to deal with allowing
902 % declarations as another means to specify the flags.
903 (readgram): Allow %prec prior to semantics embedded in a rule.
904 (skip_to_char, read_declarations, copy_definition)
905 (parse_token_decl, parse_start_decl, parse_type_decl)
906 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
907 (get_type_name, copy_guard, copy_action, readgram)
908 (get_type, packsymbols): Revised most error messages.
909 Changed `fatal' to `warnxxx' to avoid aborting for error.
910 Revised and use multiple warnxxx functions to avoid using VARARGS1.
911 (read_declarations): Improve the error message for
912 an invalid character. Do not abort.
913 (read_declarations, copy_guard, copy_action): Use
914 printable_version to avoid unprintable characters in printed output.
915 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
916 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
917 Allow the type of a non-terminal can be given
918 more than once, as long as all specifications give the same type.
921 (output_headers, output_trailers, output, output_gram)
922 (output_rule_data): Implement noparserflag variable.
923 Implement toknumflag variable.
924 (output): Call reader_output_yylsp to output LTYPESTR.
927 If reader sees an error, don't process the grammar.
928 (fatals): Updated to not use VARARGS1.
929 (printable_version, int_to_string, warn, warni, warns, warnss)
930 (warnsss): New error reporting functions. Avoid abort for error.
933 Added THONG and NOOP for alias processing.
934 Added SETOPT for the new code that allows setting options with %flags.
937 Include getopt.h. Add some extern decls.
938 (safegetc): New function to deal with EOF gracefully.
939 (literalchar); new function to deal with reading \ escapes.
940 (lex): Use literalchar.
941 (lex): Implemented "..." tokens.
942 (literalchar, lex, parse_percent_token): Made tokenbuffer
943 always contain the token. This includes growing the token
944 buffer while reading an integer.
945 (parse_percent_token): Replaced if-else statement with percent_table.
946 (parse_percent_token): Added % declarations as another
947 way to specify the flags -n, -l, and -r. Also added hooks for
948 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
949 major changes to files.c.
950 (lex) Retain in the incoming stream a character following
952 (skip_white_space, lex): Revised most error messages
953 and changed fatal to warn to avoid aborting.
954 (percent_table): Added %thong declarations.
956 * src/gram.h: Comment changes.
958 * src/files.c (openfiles, open_extra_files, done):
960 and actfile file. Handle noparserflag. Both for -n switch.
962 * src/conflicts.c (resolve_sr_conflict):
963 Remove use of alloca.
965 1995-06-01 Jim Meyering <meyering@gnu.org>
967 * doc/bison.texinfo: *** empty log message ***
969 1995-05-06 Richard Stallman <rms@gnu.org>
971 * src/bison.s1: Comment change.
973 1995-05-06 Richard Stallman <rms@gnu.org>
975 * bison.simple: Comment change.
977 1995-05-03 Richard Stallman <rms@gnu.org>
979 * src/version.c: Version now 1.24.
981 * src/bison.s1: Change distribution terms.
983 * src/version.c: Version now 1.23.
985 1995-05-03 Richard Stallman <rms@gnu.org>
988 Rewrite "Conditions for Using Bison".
989 Update version to 1.24.
991 1995-05-03 Richard Stallman <rms@gnu.org>
993 * bison.simple: Change distribution terms.
995 1995-02-23 Richard Stallman <rms@gnu.org>
997 * src/files.c: Test __VMS_POSIX as well as VMS.
999 1995-02-14 Jim Meyering <meyering@gnu.org>
1001 * src/bison.s1 (__yy_memcpy):
1002 Renamed from __yy_bcopy to avoid
1003 confusion. Reverse FROM and TO arguments to be consistent with
1006 1995-02-14 Jim Meyering <meyering@gnu.org>
1008 * bison.simple (__yy_memcpy):
1009 Renamed from __yy_bcopy to avoid
1010 confusion. Reverse FROM and TO arguments to be consistent with
1013 1994-11-10 David J. MacKenzie <djm@gnu.org>
1019 * Makefile.in (DISTFILES): Include NEWS.
1021 * Makefile.in (DISTFILES):
1022 Include install-sh, not install.sh.
1024 * configure.in: Update to Autoconf v2 macro names.
1026 1994-10-05 David J. MacKenzie <djm@gnu.org>
1028 * Makefile.in: fix typo
1030 * Makefile.in (prefix, exec_prefix):
1031 Let configure set them.
1033 1994-09-28 David J. MacKenzie <djm@gnu.org>
1035 * Makefile.in: Set datadir to $(prefix)/share.
1037 1994-09-15 Richard Stallman <rms@gnu.org>
1040 Update copyright notice and GPL version.
1042 1994-09-15 Richard Stallman <rms@gnu.org>
1045 Update copyright notice and GPL version.
1047 1994-07-12 Richard Stallman <rms@gnu.org>
1049 * src/reduce.c, src/reader.c:
1052 1994-05-05 David J. MacKenzie <djm@gnu.org>
1054 * Makefile.in: entered into RCS
1056 1994-03-26 Richard Stallman <rms@gnu.org>
1058 * src/bison.s1: entered into RCS
1060 1994-03-26 Richard Stallman <rms@gnu.org>
1062 * bison.simple: entered into RCS
1064 1994-03-25 Richard Stallman <rms@gnu.org>
1066 * src/main.c: entered into RCS
1068 1994-03-24 Richard Stallman <rms@gnu.org>
1070 * src/conflicts.c: entered into RCS
1072 1994-01-02 Richard Stallman <rms@gnu.org>
1074 * Makefile.in: *** empty log message ***
1076 1993-11-21 Richard Stallman <rms@gnu.org>
1078 * src/bison.s1: *** empty log message ***
1080 1993-11-21 Richard Stallman <rms@gnu.org>
1082 * doc/bison.texinfo: entered into RCS
1084 * doc/bison.texinfo: *** empty log message ***
1086 1993-11-21 Richard Stallman <rms@gnu.org>
1088 * bison.simple: *** empty log message ***
1090 1993-10-25 David J. MacKenzie <djm@gnu.org>
1092 * doc/bison.texinfo: *** empty log message ***
1094 1993-10-19 Richard Stallman <rms@gnu.org>
1096 * src/bison.s1: *** empty log message ***
1098 1993-10-19 Richard Stallman <rms@gnu.org>
1100 * bison.simple: *** empty log message ***
1102 1993-10-14 Richard Stallman <rms@gnu.org>
1104 * src/bison.s1: *** empty log message ***
1106 1993-10-14 Richard Stallman <rms@gnu.org>
1108 * bison.simple: *** empty log message ***
1110 1993-09-14 David J. MacKenzie <djm@gnu.org>
1112 * doc/bison.texinfo: *** empty log message ***
1114 1993-09-13 Noah Friedman <friedman@gnu.org>
1116 * Makefile.in: *** empty log message ***
1118 1993-09-10 Richard Stallman <rms@gnu.org>
1120 * src/conflicts.c: *** empty log message ***
1122 * src/system.h: entered into RCS
1124 1993-09-10 Richard Stallman <rms@gnu.org>
1126 * doc/bison.1: entered into RCS
1128 1993-09-06 Noah Friedman <friedman@gnu.org>
1130 * src/version.c: entered into RCS
1132 1993-09-06 Noah Friedman <friedman@gnu.org>
1134 * Makefile.in: *** empty log message ***
1136 1993-07-30 David J. MacKenzie <djm@gnu.org>
1138 * Makefile.in: *** empty log message ***
1140 1993-07-24 Richard Stallman <rms@gnu.org>
1142 * src/bison.s1: *** empty log message ***
1144 1993-07-24 Richard Stallman <rms@gnu.org>
1146 * bison.simple: *** empty log message ***
1148 1993-07-08 David J. MacKenzie <djm@gnu.org>
1150 * Makefile.in: *** empty log message ***
1152 1993-07-04 Richard Stallman <rms@gnu.org>
1154 * src/bison.s1: *** empty log message ***
1156 1993-07-04 Richard Stallman <rms@gnu.org>
1158 * bison.simple: *** empty log message ***
1160 1993-06-26 David J. MacKenzie <djm@gnu.org>
1162 * src/getargs.c: entered into RCS
1164 1993-06-26 David J. MacKenzie <djm@gnu.org>
1166 * doc/bison.texinfo: *** empty log message ***
1168 * doc/bison.1: New file.
1170 1993-06-25 Richard Stallman <rms@gnu.org>
1172 * src/getargs.c: New file.
1174 1993-06-16 Richard Stallman <rms@gnu.org>
1176 * src/bison.s1: *** empty log message ***
1178 1993-06-16 Richard Stallman <rms@gnu.org>
1180 * bison.simple: *** empty log message ***
1182 1993-06-03 Richard Stallman <rms@gnu.org>
1184 * src/bison.s1: New file.
1186 1993-06-03 Richard Stallman <rms@gnu.org>
1188 * doc/bison.texinfo: *** empty log message ***
1190 1993-06-03 Richard Stallman <rms@gnu.org>
1192 * bison.simple: New file.
1194 1993-05-19 Richard Stallman <rms@gnu.org>
1196 * doc/bison.texinfo: New file.
1198 1993-05-07 Noah Friedman <friedman@gnu.org>
1200 * Makefile.in: *** empty log message ***
1202 1993-04-28 Noah Friedman <friedman@gnu.org>
1204 * src/reader.c: *** empty log message ***
1206 1993-04-23 Noah Friedman <friedman@gnu.org>
1208 * src/alloc.h: entered into RCS
1210 1993-04-20 David J. MacKenzie <djm@gnu.org>
1212 * src/version.c: *** empty log message ***
1214 * src/files.c, src/allocate.c:
1217 * src/reader.c: *** empty log message ***
1219 * src/lex.c: entered into RCS
1221 * src/conflicts.c: New file.
1223 * src/symtab.c: entered into RCS
1225 * src/alloc.h: New file.
1227 * src/LR0.c: entered into RCS
1229 1993-04-18 Noah Friedman <friedman@gnu.org>
1231 * src/reader.c: New file.
1233 * src/version.c: *** empty log message ***
1235 1993-04-18 Noah Friedman <friedman@gnu.org>
1237 * Makefile.in: *** empty log message ***
1239 1993-04-17 Noah Friedman <friedman@gnu.org>
1241 * Makefile.in: *** empty log message ***
1243 1993-04-15 Richard Stallman <rms@gnu.org>
1245 * src/main.c, src/files.c:
1248 1993-04-15 Noah Friedman <friedman@gnu.org>
1250 * configure.in: entered into RCS
1252 * configure.in: *** empty log message ***
1254 * configure.in: New file.
1256 1993-04-14 Richard Stallman <rms@gnu.org>
1258 * Makefile.in: New file.
1260 1993-04-13 Richard Stallman <rms@gnu.org>
1262 * src/version.c: New file.
1264 1993-03-25 Richard Stallman <rms@gnu.org>
1266 * src/output.c: entered into RCS
1268 1992-09-25 Richard Stallman <rms@gnu.org>
1270 * configure.bat: entered into RCS
1272 1992-06-22 Richard Stallman <rms@gnu.org>
1274 * src/vmsgetargs.c: entered into RCS
1276 1992-06-22 Richard Stallman <rms@gnu.org>
1278 * doc/bison.rnh: entered into RCS
1280 1992-04-20 David J. MacKenzie <djm@gnu.org>
1282 * README: entered into RCS
1284 1992-01-22 Richard Stallman <rms@gnu.org>
1286 * src/machine.h: entered into RCS
1288 1991-12-21 Richard Stallman <rms@gnu.org>
1290 * src/lalr.c, src/closure.c:
1293 1991-12-20 Richard Stallman <rms@gnu.org>
1295 * src/state.h: entered into RCS
1297 1991-12-18 Richard Stallman <rms@gnu.org>
1299 * src/print.c, src/nullable.c, src/derives.c:
1302 1991-11-03 David J. MacKenzie <djm@gnu.org>
1304 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1307 1988-09-09 Richard Stallman <rms@gnu.org>
1309 * src/bison.hairy: entered into RCS
1311 1987-12-16 Richard Stallman <rms@gnu.org>
1313 * REFERENCES: entered into RCS