1 2000-09-18 Akim Demaille <akim@epita.fr>
3 Add support for an Autotest test suite for Bison.
5 * m4/m4.m4, m4/atconfig.m4: New files.
6 * m4/Makefile.am (EXTRA_DIST): Adjust.
7 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
9 * src/getargs.c: Display a more standard --version message.
10 * src/reader.c (reader): Formatting changes.
11 No longer depend upon VERSION_STRING.
12 * configure.in: No longer use `dnl'.
13 Set up the test suite and the new directory `tests/.
14 (VERSION_STRING): Remove.
16 2000-04-14 Akim Demaille <akim@epita.fr>
18 * src/reader.c (copy_comment2): New function, same as former
19 `copy_comment', but outputs into two FILE *.
20 (copy_comment): Use it.
21 (parse_union_decl): Use it.
22 (get_type, parse_start_decl): Use the same `invalid' message.
23 (parse_start_decl, parse_union_decl): Use the same `multiple'
25 (parse_union_decl, copy_guard, copy_action): Use the same
27 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
29 2000-03-31 Akim Demaille <akim@epita.fr>
31 * src/files.c (tryopen, tryclose): Move to the top.
34 2000-03-31 Akim Demaille <akim@epita.fr>
36 * src/main.c (main): Don't call `done', exit does it.
38 2000-03-31 Akim Demaille <akim@epita.fr>
40 * allocate.c: s/return (foo)/return foo/.
46 * vmsgetargs.c: Likewise.
48 2000-03-31 Akim Demaille <akim@epita.fr>
50 Clean up the error reporting functions.
52 * src/report.c: New file.
53 * src/report.h: Likewise.
54 * src/Makefile.am: Adjust.
55 * m4/error.m4: New file.
56 * m4/Makefile.am: Adjust.
57 * configure.in (jm_PREREQ_ERROR): Call it.
58 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
60 (fatal, fatals): Remove. All callers use complain.c::fatal.
61 (warn, warni, warns, warnss, warnss): Remove. All callers use
63 (toomany): Remove, use fatal instead.
64 * src/files.c (done): No argument, use complain_message_count.
65 * src/main.c (main): Register `done' to `atexit'.
67 * src/getargs.c (usage): More `fputs', less `fprintf'.
69 2000-03-28 Akim Demaille <akim@epita.fr>
71 * lib/: New directory.
72 * Makefile.am (SUBDIRS): Adjust.
73 * configure.in: Adjust.
74 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
76 * src/alloca.c: Moved to lib/.
77 * src/getopt.c: Likewise.
78 * src/getopt1.c: Likewise.
79 * src/getopt.h: Likewise.
80 * src/ansi2knr.c: Likewise.
81 * src/ansi2knr.1: Likewise.
82 * src/Makefile.am: Adjust.
83 * lib/Makefile.am: New file.
85 2000-03-28 Akim Demaille <akim@epita.fr>
87 * src/getargs.c (usage): Refresh the help message.
89 2000-03-17 Akim Demaille <akim@epita.fr>
91 * src/getopt1.c: Updated from textutils 2.0e
92 * src/getopt.c: Likewise.
93 * src/getopt.h: Likewise.
95 2000-03-17 Akim Demaille <akim@epita.fr>
97 * src/Makefile.am (bison.simple): Fix the awk program: quote only
98 the file name, not the whole `#line LINE FILE'.
100 2000-03-17 Akim Demaille <akim@epita.fr>
102 On syntax errors, report the token on which we choked.
104 * src/bison.s1 (yyparse): In the label yyerrlab, when
105 YYERROR_VERBOSE, add yychar in msg.
107 2000-03-17 Akim Demaille <akim@epita.fr>
109 * src/reader.c (copy_at): New function.
110 (copy_guard): Use it.
111 (copy_action): Use it.
113 2000-03-17 Akim Demaille <akim@epita.fr>
115 Be kind to translators, save some useless translations.
117 * src/main.c (banner): New function.
118 (fatal_banner): Use it.
119 (warn_banner): Use it.
121 2000-03-17 Akim Demaille <akim@epita.fr>
123 * src/reader.c (copy_definition): Use copy_string and
124 copy_comment. Removed now unused `match', `ended',
126 (copy_comment, copy_string): Moved, to be visible from
129 2000-03-17 Akim Demaille <akim@epita.fr>
131 * src/reader.c (copy_string): Declare `static inline'. No
132 problems with inline, since it is checked by configure.
133 (copy_comment): Likewise.
135 2000-03-17 Akim Demaille <akim@epita.fr>
137 * src/reader.c (packsymbols): Formatting changes.
139 2000-03-17 Akim Demaille <akim@epita.fr>
141 * src/reader.c (copy_comment): New function, factored out from:
142 (copy_action): Use it. Removed now unused `match', `ended',
144 (copy_guard): Likewise.
146 2000-03-17 Akim Demaille <akim@epita.fr>
148 * src/reader.c (copy_string): New function, factored out from:
149 (copy_action): Use it.
150 (copy_guard): Likewise.
152 2000-03-17 Akim Demaille <akim@epita.fr>
154 Change the handling of @s so that they behave exactly like $s.
155 There is now a pseudo variable @$ (readble and writable), location
156 of the lhs of the rule (by default ranging from the location of
157 the first symbol of the rhs, to the location of the last symbol,
158 or, if the rhs is empty, YYLLOC).
160 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
162 (yyparse): When providing a default semantic action, provide a
163 default location action.
164 (after the $): No longer change `*YYLSP', just stack YYLOC the
165 same way you stack YYVAL.
166 * src/reader.c (read_declarations): Use warns.
167 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
168 (copy_action, case '@'): Likewise.
169 Use a standard error message, to save useless work from
172 2000-03-17 Akim Demaille <akim@epita.fr>
174 * src/bison.s1: Formatting and cosmetics changes.
175 * src/reader.c: Likewise.
176 Update the Copyright notice.
178 2000-03-17 Akim Demaille <akim@epita.fr>
180 * src/bison.s1 (#line): All set to `#line' only, since the
181 Makefile now handles them.
183 2000-03-16 Akim Demaille <akim@epita.fr>
185 * src/output.c (output_rule_data): Output the documentation of
187 (Copyright notice): Update.
190 2000-03-16 Akim Demaille <akim@epita.fr>
192 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
193 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
194 One `#if YYDEBUG' remains, since it uses variables which are
195 defined only if `YYDEBUG != 0'.
197 2000-03-16 Akim Demaille <akim@epita.fr>
199 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
200 and related variables so that the similarities are highlighted.
202 2000-03-16 Akim Demaille <akim@epita.fr>
204 * src/bison.s1: Properly indent CPP directives.
206 2000-03-16 Akim Demaille <akim@epita.fr>
208 * src/bison.s1: Properly indent the `alloca' CPP section.
210 2000-03-16 Akim Demaille <akim@epita.fr>
212 Do not hard code values of directories in `configure.in'.
213 Update the `configure' tool chain.
215 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
217 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
218 (AC_OUTPUT): Add m4/Makefile.
219 Bump to bison 1.28a, 1.29 has never been released.
220 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
221 handled via src/Makefile.am.
222 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
223 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
225 * Makefile.am (SUBDIRS): Add m4.
226 (ACLOCAL_AM_FLAGS): New variable.
227 (AUTOMAKE_OPTIONS): Add check-news.
228 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
229 the proper line number and file name.
230 (DEFS): Propagate the location of bison library files and of the
232 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
234 * acinclude.m4: Remove, replaced by the directory m4.
235 * m4/Makefile.am (EXTRA_DIST): New variable.
236 * m4/gettext.m4: New file, from the fileutils.
237 * m4/lcmessage.m4: Likewise
238 * m4/progtest.m4: Likewise.
239 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
241 2000-03-10 Akim Demaille <akim@epita.fr>
244 Formatting changes of various comments.
245 Respect the GNU coding standards at various places.
246 Don't use `_()' when no translation is needed.
248 1999-12-13 Jesse Thilo <jthilo@gnu.org>
251 OS/2 honors TMPDIR environment variable.
253 1999-12-13 Jesse Thilo <jthilo@gnu.org>
255 * doc/bison.texinfo: Tweaked spelling and grammar.
257 Removed reference to price of printed copy.
258 Mention BISON_SIMPLE and BISON_HAIRY.
260 1999-12-13 Jesse Thilo <jthilo@gnu.org>
262 * configure.in, NEWS:
265 1999-10-27 Jesse Thilo <jthilo@gnu.org>
267 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
268 Added reference card.
270 1999-07-26 Jesse Thilo <jthilo@gnu.org>
272 * po/ru.po: Added Russian translation.
274 1999-07-26 Jesse Thilo <jthilo@gnu.org>
276 * configure.in: Added Russian translation.
278 1999-07-06 Jesse Thilo <jthilo@gnu.org>
280 * configure.in, NEWS, README:
281 Released version 1.28.
283 1999-06-14 Jesse Thilo <jthilo@gnu.org>
286 Squashed redefinition warning on some systems.
288 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
289 Have configure build version string instead of relying on ANSI string
292 1999-06-14 Jesse Thilo <jthilo@gnu.org>
294 * po/POTFILES.in: Got rid of version.c.
296 1999-06-14 Jesse Thilo <jthilo@gnu.org>
298 * acconfig.h, configure.in:
299 Have configure build version string instead of relying on ANSI string
302 1999-06-08 Jesse Thilo <jthilo@gnu.org>
305 Dropped mention of `+' for long-named options.
307 1999-05-30 Jesse Thilo <jthilo@gnu.org>
309 * src/files.c: Added <unistd.h> for unlink().
311 * src/Makefile.am, src/system.h:
314 1999-05-30 Jesse Thilo <jthilo@gnu.org>
316 * README: Added a FAQ list.
318 * configure.in, acconfig.h:
321 1999-05-30 Jesse Thilo <jthilo@gnu.org>
323 * doc/FAQ, doc/Makefile.am:
326 1999-05-19 Jesse Thilo <jthilo@gnu.org>
328 * src/alloc.h, src/symtab.h, src/version.c:
329 Protected inclusion of "config.h" with HAVE_CONFIG_H.
331 1999-04-18 Jesse Thilo <jthilo@gnu.org>
333 * src/.cvsignore, src/Makefile.am:
334 Reorganized: sources in `src', documentation in `doc'.
336 * src/lex.c (literalchar):
337 fixed the code for escaping double quotes (thanks
340 1999-04-18 Jesse Thilo <jthilo@gnu.org>
342 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
343 Adjusted paths to reflect directory reorganization.
345 1999-04-18 Jesse Thilo <jthilo@gnu.org>
347 * doc/.cvsignore, doc/Makefile.am:
348 Reorganized: sources in `src', documentation in `doc'.
350 1999-04-18 Jesse Thilo <jthilo@gnu.org>
353 Updated AC_INIT file to reflect directory reorganization.
355 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
356 Reorganized: sources in `src', documentation in `doc'.
358 1999-04-13 Jesse Thilo <jthilo@gnu.org>
361 Don't declare calloc() and realloc() if not necessary.
363 1999-04-13 Jesse Thilo <jthilo@gnu.org>
365 * configure.in, acconfig.h, acinclude.m4:
366 Don't declare calloc() and realloc() if not necessary.
368 1999-03-23 Jesse Thilo <jthilo@gnu.org>
370 * po/.cvsignore: Added i18n support.
372 1999-03-23 Jesse Thilo <jthilo@gnu.org>
374 * acconfig.h, configure.in, Makefile.am:
377 1999-03-22 Jesse Thilo <jthilo@gnu.org>
379 * src/bison.s1: Fixed #line numbers.
381 1999-03-15 Jesse Thilo <jthilo@gnu.org>
383 * po/es.po, po/fr.po, po/nl.po, po/de.po:
384 Added PO files from Translation Project.
386 1999-03-03 Jesse Thilo <jthilo@gnu.org>
389 Added support for non-ANSI compilers (ansi2knr).
391 1999-02-16 Jesse Thilo <jthilo@gnu.org>
393 * configure.in: Bumped version number to 1.27.
396 Added `bison.simple' to list of files removed by `make distclean'.
398 1999-02-12 Jesse Thilo <jthilo@gnu.org>
400 * src/files.c, src/files.h:
401 Defined locations of parser files in config.h instead of Makefile.
403 1999-02-12 Jesse Thilo <jthilo@gnu.org>
405 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
406 Defined locations of parser files in config.h instead of Makefile.
408 1999-02-09 Jesse Thilo <jthilo@gnu.org>
411 Removed inappropriate use of $< macro.
413 1999-02-05 Jesse Thilo <jthilo@gnu.org>
415 * po/Makefile.in.in, po/POTFILES.in:
416 Add `po' directory skeleton.
418 1999-01-27 Jesse Thilo <jthilo@gnu.org>
420 * README: Document help-bison list.
422 * configure.in: Add check for mkstemp().
424 1999-01-20 Jesse Thilo <jthilo@gnu.org>
426 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
427 Hush a few compiler warnings.
430 Add tryclose(), which verifies that fclose was successful.
431 Hush a couple of compiler warnings.
433 1999-01-20 Jesse Thilo <jthilo@gnu.org>
435 * Makefile.am, OChangeLog:
436 ChangeLog is now automatically generated. Include the old version as
439 1999-01-14 Jesse Thilo <jthilo@gnu.org>
441 * 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:
444 1999-01-14 Jesse Thilo <jthilo@gnu.org>
446 * doc/bison.texinfo: Fix formatting glitch.
448 * doc/bison.texinfo: Update FSF address.
450 1999-01-14 Jesse Thilo <jthilo@gnu.org>
452 * acconfig.h: Update FSF address.
454 1999-01-08 Jesse Thilo <jthilo@gnu.org>
457 Don't define PACKAGE here, since config.h defines it.
459 1998-12-30 Jesse Thilo <jthilo@gnu.org>
461 * src/reader.c: Update copyright date.
464 Ditch sprintf to statically-sized buffers in fatal/warn functions in
465 favor of output directly to stderr (avoids buffer overruns).
467 * src/reader.c: Some checks for premature EOF.
469 * 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:
470 Use prototypes if the compiler understands them.
472 * src/files.c: Honor TMPDIR on Unix hosts.
473 Use prototypes if the compiler understands them.
476 Fix a couple of buffer overrun bugs.
477 Use prototypes if the compiler understands them.
479 * src/system.h: Include unistd.h and ctype.h.
480 Use #ifdef instead of #if for NLS symbols.
482 1998-12-30 Jesse Thilo <jthilo@gnu.org>
485 Delete comment "consider using @set for edition number, etc..." since
488 1998-12-30 Jesse Thilo <jthilo@gnu.org>
491 Use prototypes if the compiler understands them.
493 * NEWS: Document 1.26 highlights.
495 * Makefile.am: Require Automake 1.3 or later.
498 Use prototypes if the compiler understands them.
500 1998-12-29 Jesse Thilo <jthilo@gnu.org>
503 Use VERSION symbol from automake for version number.
505 1998-12-29 Jesse Thilo <jthilo@gnu.org>
507 * acconfig.h, configure.in, version.cin:
508 Use VERSION symbol from automake for version number.
510 1998-11-28 Jesse Thilo <jthilo@gnu.org>
513 Distribute original version of simple parser (bison.s1), not built
514 version (bison.simple).
516 1998-11-28 Jesse Thilo <jthilo@gnu.org>
518 * doc/bison.texinfo: Add info dir entry.
521 Let automake put version number into documentation.
523 1998-11-26 Jesse Thilo <jthilo@gnu.org>
525 * src/bison.cld, src/build.com, src/vmshlp.mar:
526 Add non-RCS files from /gd/gnu/bison.
528 1998-11-26 Jesse Thilo <jthilo@gnu.org>
531 Document the BISON_HAIRY and BISON_SIMPLE variables.
533 1998-11-25 Jesse Thilo <jthilo@gnu.org>
535 * src/version.c: Build version.c automatically.
538 Fix token numbering (used to start at 258, not 257).
540 * src/system.h: Include config.h.
542 * src/getargs.c: Update bug report address.
544 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
545 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
547 1998-11-25 Jesse Thilo <jthilo@gnu.org>
550 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
552 * configure.in, version.cin:
553 Build version.c automatically.
555 * AUTHORS: Add AUTHORS file.
557 * README: Update bug report address.
560 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
562 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
565 1998-11-25 Jesse Thilo <jthilo@gnu.org>
567 * doc/bison.texinfo: Clean up some formatting.
569 1998-05-05 Richard Stallman <rms@gnu.org>
572 Explain better why to make a pure parser.
574 1998-01-05 Richard Stallman <rms@gnu.org>
576 * src/files.c (openfiles):
577 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
578 find a temporary directory, if possible. Do not unlink files while
581 1997-08-25 Richard Stallman <rms@gnu.org>
583 * src/reader.c (stack_offset;):
584 Change some warni to warns.
586 * src/lex.c (literalchar): Use warns, not warni.
588 1997-06-28 Richard Stallman <rms@gnu.org>
590 * src/bison.s1: Add a Bison version comment.
592 * src/main.c (fatal, warn, berror):
595 1997-06-28 Richard Stallman <rms@gnu.org>
597 * Makefile.in (bison_version): New variable.
598 (dist): Use that variable.
599 (bison.s1): Substitute the Bison version into bison.simple.
601 * bison.simple: Add a Bison version comment.
603 1997-06-18 Richard Stallman <rms@gnu.org>
605 * src/main.c (fatal, warn, berror):
606 Make error messages standard.
607 (toomany): Improve error message text.
609 * 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:
610 new.h renamed to alloc.h.
612 1997-06-18 Richard Stallman <rms@gnu.org>
614 * Makefile.in: new.h renamed to alloc.h.
616 1997-05-24 Richard Stallman <rms@gnu.org>
618 * src/lex.c (literalchar):
619 Fix the code for escaping \, " and '.
621 (lex): Avoid trouble when there are many chars
622 to discard in a char literal with just several chars in it.
624 1997-05-17 Richard Stallman <rms@gnu.org>
627 Use malloc, if using alloca is troublesome.
628 (YYSTACK_USE_ALLOCA): New flag macro.
629 Define it for some systems and compilers.
630 (YYSTACK_ALLOC): New macro.
631 (yyparse): Use YYSTACK_ALLOC to allocate stack.
632 If it was malloc'd, free it.
634 1997-05-17 Richard Stallman <rms@gnu.org>
637 Use malloc, if using alloca is troublesome.
638 (YYSTACK_USE_ALLOCA): New flag macro.
639 Define it for some systems and compilers.
640 (YYSTACK_ALLOC): New macro.
641 (yyparse): Use YYSTACK_ALLOC to allocate stack.
642 If it was malloc'd, free it.
644 1997-04-23 Richard Stallman <rms@gnu.org>
647 (alloca) [__hpux]: Always define as __builtin_alloca.
649 1997-04-23 Richard Stallman <rms@gnu.org>
652 (alloca) [__hpux]: Always define as __builtin_alloca.
654 1997-04-22 Richard Stallman <rms@gnu.org>
657 [__hpux]: Include alloca.h (right for HPUX 10)
658 instead of declaring alloca (right for HPUX 9).
660 * src/bison.s1 (__yy_memcpy):
661 Declare arg `count' as unsigned int.
662 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
664 1997-04-22 Richard Stallman <rms@gnu.org>
667 [__hpux]: Include alloca.h (right for HPUX 10)
668 instead of declaring alloca (right for HPUX 9).
670 * bison.simple (__yy_memcpy):
671 Declare arg `count' as unsigned int.
672 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
674 1997-01-03 Richard Stallman <rms@gnu.org>
676 * src/allocate.c: [__STDC__ or _MSC_VER]:
677 Declare calloc and realloc to return void *.
679 1997-01-02 Richard Stallman <rms@gnu.org>
682 [_MSC_VER]: Include stdlib.h and process.h.
683 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
685 * src/main.c (main): Return FAILURE as a value.
686 (printable_version): Declare arg as int, not char.
688 1997-01-02 Richard Stallman <rms@gnu.org>
690 * Makefile.in (dist):
691 Explicitly check for symlinks, and copy them.
693 1996-12-19 Richard Stallman <rms@gnu.org>
696 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
698 1996-12-18 Paul Eggert <eggert@gnu.org>
700 * src/bison.s1 (yyparse):
701 If __GNUC__ and YYPARSE_PARAM are both defined,
702 declare yyparse to have a void * argument.
704 1996-12-18 Paul Eggert <eggert@gnu.org>
706 * bison.simple (yyparse):
707 If __GNUC__ and YYPARSE_PARAM are both defined,
708 declare yyparse to have a void * argument.
710 1996-12-17 Richard Stallman <rms@gnu.org>
712 * src/reduce.c (nbits): Add some casts.
714 1996-08-12 Richard Stallman <rms@gnu.org>
716 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
718 1996-08-12 Richard Stallman <rms@gnu.org>
720 * bison.simple: Test _MSDOS as well as _MSDOS_.
722 1996-07-31 Richard Stallman <rms@gnu.org>
725 [__sun && __i386]: Include alloca.h.
727 1996-07-31 Richard Stallman <rms@gnu.org>
730 [__sun && __i386]: Include alloca.h.
732 1996-07-30 Richard Stallman <rms@gnu.org>
734 * src/bison.s1: Comment change.
736 * src/bison.s1: Test _MSDOS_, not MSDOS.
738 1996-07-30 Richard Stallman <rms@gnu.org>
740 * bison.simple: Comment change.
742 * bison.simple: Test _MSDOS_, not MSDOS.
744 1996-06-01 Richard Stallman <rms@gnu.org>
746 * 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:
747 Insert `_' macro around many string constants.
750 Insert `_' macro around many string constants.
752 (main): Call setlocale, bindtextdomain and textdomain.
754 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
755 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
756 [ENABLE_NLS]: Include libintl.h.
757 [ENABLE_NLS] (gettext): Define.
758 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
759 (N_, PACKAGE, LOCALEDIR): New macros.
761 1996-06-01 Richard Stallman <rms@gnu.org>
763 * POTFILES.in: New file.
765 * Makefile.in (allocate.o):
766 Define target explicitly.
768 * Makefile.in (CFLAGS): Set to @CFLAGS@.
769 (LDFLAGS): Set to @LDFLAGS@.
770 (configure): Run autoconf only if preceding `cd' succeeds.
771 (bison.s1): Redirect output to temporary file then move the
772 temporary to the target, rather than redirecting directly to bison.s1.
773 (clean): Remove config.status and config.log.
774 (distclean): Don't remove config.status here.
776 1996-05-12 Richard Stallman <rms@gnu.org>
779 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
781 1996-05-12 Richard Stallman <rms@gnu.org>
784 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
786 1996-05-11 Richard Stallman <rms@gnu.org>
788 * src/bison.s1 (__yy_memcpy):
789 Really reorder the args, as was supposedly done on Feb 14 1995.
790 (yyparse): Calls changed accordingly.
792 1996-05-11 Richard Stallman <rms@gnu.org>
794 * Makefile.in (dist): Don't use $(srcdir).
796 * bison.simple (__yy_memcpy):
797 Really reorder the args, as was supposedly done on Feb 14 1995.
798 (yyparse): Calls changed accordingly.
800 1996-01-27 Richard Stallman <rms@gnu.org>
802 * src/output.c (output_rule_data):
803 Test YYERROR_VERBOSE in the conditional
804 around the definition of ttyname.
806 1995-12-29 Richard Stallman <rms@gnu.org>
809 Fix line numbers in #line commands.
811 1995-12-29 Richard Stallman <rms@gnu.org>
814 Fix line numbers in #line commands.
816 1995-12-27 Richard Stallman <rms@gnu.org>
818 * src/bison.s1 (YYPARSE_PARAM_DECL):
819 In C++, make it always null.
820 (YYPARSE_PARAM_ARG): New macro.
821 (yyparse): Use YYPARSE_PARAM_ARG.
823 1995-12-27 Richard Stallman <rms@gnu.org>
825 * bison.simple (YYPARSE_PARAM_DECL):
826 In C++, make it always null.
827 (YYPARSE_PARAM_ARG): New macro.
828 (yyparse): Use YYPARSE_PARAM_ARG.
830 1995-11-29 Richard Stallman <rms@gnu.org>
833 Describe literal string tokens, %raw, %no_lines, %token_table.
835 1995-11-29 Daniel Hagerty <hag@gnu.org>
837 * doc/bison.texinfo: Fixed update date
839 1995-10-16 Richard Stallman <rms@gnu.org>
841 * src/version.c: Version 1.25.
843 1995-10-16 Richard Stallman <rms@gnu.org>
845 * NEWS: *** empty log message ***
847 1995-10-16 Richard Stallman <rms@gnu.org>
849 * doc/bison.1, doc/bison.rnh:
852 1995-10-15 Richard Stallman <rms@gnu.org>
854 * src/vmsgetargs.c, src/getargs.c:
855 Added -n, -k, and -raw switches.
856 (noparserflag, toknumflag, rawtoknumflag): New variables.
858 * src/symtab.h (SALIAS):
859 New #define for adding aliases to %token.
860 (struct bucket): Added `alias' field.
862 * src/reduce.c (reduce_grammar):
863 Revise error message.
864 (print_notices): Remove final `.' from error message.
866 * src/reader.c (reader_output_yylsp):
868 (readgram): Use `#if 0' around code that accepted %command
869 inside grammar rules: The documentation doesn't allow it,
870 and it will fail since the %command processors scan for the next %.
871 (parse_token_decl): Extended the %token
872 declaration to allow a multi-character symbol as an alias.
873 (parse_thong_decl): New function.
874 (read_declarations): Added %thong declarations.
875 (read_declarations): Handle NOOP to deal with allowing
876 % declarations as another means to specify the flags.
877 (readgram): Allow %prec prior to semantics embedded in a rule.
878 (skip_to_char, read_declarations, copy_definition)
879 (parse_token_decl, parse_start_decl, parse_type_decl)
880 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
881 (get_type_name, copy_guard, copy_action, readgram)
882 (get_type, packsymbols): Revised most error messages.
883 Changed `fatal' to `warnxxx' to avoid aborting for error.
884 Revised and use multiple warnxxx functions to avoid using VARARGS1.
885 (read_declarations): Improve the error message for
886 an invalid character. Do not abort.
887 (read_declarations, copy_guard, copy_action): Use
888 printable_version to avoid unprintable characters in printed output.
889 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
890 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
891 Allow the type of a non-terminal can be given
892 more than once, as long as all specifications give the same type.
895 (output_headers, output_trailers, output, output_gram)
896 (output_rule_data): Implement noparserflag variable.
897 Implement toknumflag variable.
898 (output): Call reader_output_yylsp to output LTYPESTR.
901 If reader sees an error, don't process the grammar.
902 (fatals): Updated to not use VARARGS1.
903 (printable_version, int_to_string, warn, warni, warns, warnss)
904 (warnsss): New error reporting functions. Avoid abort for error.
907 Added THONG and NOOP for alias processing.
908 Added SETOPT for the new code that allows setting options with %flags.
911 Include getopt.h. Add some extern decls.
912 (safegetc): New function to deal with EOF gracefully.
913 (literalchar); new function to deal with reading \ escapes.
914 (lex): Use literalchar.
915 (lex): Implemented "..." tokens.
916 (literalchar, lex, parse_percent_token): Made tokenbuffer
917 always contain the token. This includes growing the token
918 buffer while reading an integer.
919 (parse_percent_token): Replaced if-else statement with percent_table.
920 (parse_percent_token): Added % declarations as another
921 way to specify the flags -n, -l, and -r. Also added hooks for
922 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
923 major changes to files.c.
924 (lex) Retain in the incoming stream a character following
926 (skip_white_space, lex): Revised most error messages
927 and changed fatal to warn to avoid aborting.
928 (percent_table): Added %thong declarations.
930 * src/gram.h: Comment changes.
932 * src/files.c (openfiles, open_extra_files, done):
934 and actfile file. Handle noparserflag. Both for -n switch.
936 * src/conflicts.c (resolve_sr_conflict):
937 Remove use of alloca.
939 1995-06-01 Jim Meyering <meyering@gnu.org>
941 * doc/bison.texinfo: *** empty log message ***
943 1995-05-06 Richard Stallman <rms@gnu.org>
945 * src/bison.s1: Comment change.
947 1995-05-06 Richard Stallman <rms@gnu.org>
949 * bison.simple: Comment change.
951 1995-05-03 Richard Stallman <rms@gnu.org>
953 * src/version.c: Version now 1.24.
955 * src/bison.s1: Change distribution terms.
957 * src/version.c: Version now 1.23.
959 1995-05-03 Richard Stallman <rms@gnu.org>
962 Rewrite "Conditions for Using Bison".
963 Update version to 1.24.
965 1995-05-03 Richard Stallman <rms@gnu.org>
967 * bison.simple: Change distribution terms.
969 1995-02-23 Richard Stallman <rms@gnu.org>
971 * src/files.c: Test __VMS_POSIX as well as VMS.
973 1995-02-14 Jim Meyering <meyering@gnu.org>
975 * src/bison.s1 (__yy_memcpy):
976 Renamed from __yy_bcopy to avoid
977 confusion. Reverse FROM and TO arguments to be consistent with
980 1995-02-14 Jim Meyering <meyering@gnu.org>
982 * bison.simple (__yy_memcpy):
983 Renamed from __yy_bcopy to avoid
984 confusion. Reverse FROM and TO arguments to be consistent with
987 1994-11-10 David J. MacKenzie <djm@gnu.org>
993 * Makefile.in (DISTFILES): Include NEWS.
995 * Makefile.in (DISTFILES):
996 Include install-sh, not install.sh.
998 * configure.in: Update to Autoconf v2 macro names.
1000 1994-10-05 David J. MacKenzie <djm@gnu.org>
1002 * Makefile.in: fix typo
1004 * Makefile.in (prefix, exec_prefix):
1005 Let configure set them.
1007 1994-09-28 David J. MacKenzie <djm@gnu.org>
1009 * Makefile.in: Set datadir to $(prefix)/share.
1011 1994-09-15 Richard Stallman <rms@gnu.org>
1014 Update copyright notice and GPL version.
1016 1994-09-15 Richard Stallman <rms@gnu.org>
1019 Update copyright notice and GPL version.
1021 1994-07-12 Richard Stallman <rms@gnu.org>
1023 * src/reduce.c, src/reader.c:
1026 1994-05-05 David J. MacKenzie <djm@gnu.org>
1028 * Makefile.in: entered into RCS
1030 1994-03-26 Richard Stallman <rms@gnu.org>
1032 * src/bison.s1: entered into RCS
1034 1994-03-26 Richard Stallman <rms@gnu.org>
1036 * bison.simple: entered into RCS
1038 1994-03-25 Richard Stallman <rms@gnu.org>
1040 * src/main.c: entered into RCS
1042 1994-03-24 Richard Stallman <rms@gnu.org>
1044 * src/conflicts.c: entered into RCS
1046 1994-01-02 Richard Stallman <rms@gnu.org>
1048 * Makefile.in: *** empty log message ***
1050 1993-11-21 Richard Stallman <rms@gnu.org>
1052 * src/bison.s1: *** empty log message ***
1054 1993-11-21 Richard Stallman <rms@gnu.org>
1056 * doc/bison.texinfo: entered into RCS
1058 * doc/bison.texinfo: *** empty log message ***
1060 1993-11-21 Richard Stallman <rms@gnu.org>
1062 * bison.simple: *** empty log message ***
1064 1993-10-25 David J. MacKenzie <djm@gnu.org>
1066 * doc/bison.texinfo: *** empty log message ***
1068 1993-10-19 Richard Stallman <rms@gnu.org>
1070 * src/bison.s1: *** empty log message ***
1072 1993-10-19 Richard Stallman <rms@gnu.org>
1074 * bison.simple: *** empty log message ***
1076 1993-10-14 Richard Stallman <rms@gnu.org>
1078 * src/bison.s1: *** empty log message ***
1080 1993-10-14 Richard Stallman <rms@gnu.org>
1082 * bison.simple: *** empty log message ***
1084 1993-09-14 David J. MacKenzie <djm@gnu.org>
1086 * doc/bison.texinfo: *** empty log message ***
1088 1993-09-13 Noah Friedman <friedman@gnu.org>
1090 * Makefile.in: *** empty log message ***
1092 1993-09-10 Richard Stallman <rms@gnu.org>
1094 * src/conflicts.c: *** empty log message ***
1096 * src/system.h: entered into RCS
1098 1993-09-10 Richard Stallman <rms@gnu.org>
1100 * doc/bison.1: entered into RCS
1102 1993-09-06 Noah Friedman <friedman@gnu.org>
1104 * src/version.c: entered into RCS
1106 1993-09-06 Noah Friedman <friedman@gnu.org>
1108 * Makefile.in: *** empty log message ***
1110 1993-07-30 David J. MacKenzie <djm@gnu.org>
1112 * Makefile.in: *** empty log message ***
1114 1993-07-24 Richard Stallman <rms@gnu.org>
1116 * src/bison.s1: *** empty log message ***
1118 1993-07-24 Richard Stallman <rms@gnu.org>
1120 * bison.simple: *** empty log message ***
1122 1993-07-08 David J. MacKenzie <djm@gnu.org>
1124 * Makefile.in: *** empty log message ***
1126 1993-07-04 Richard Stallman <rms@gnu.org>
1128 * src/bison.s1: *** empty log message ***
1130 1993-07-04 Richard Stallman <rms@gnu.org>
1132 * bison.simple: *** empty log message ***
1134 1993-06-26 David J. MacKenzie <djm@gnu.org>
1136 * src/getargs.c: entered into RCS
1138 1993-06-26 David J. MacKenzie <djm@gnu.org>
1140 * doc/bison.texinfo: *** empty log message ***
1142 * doc/bison.1: New file.
1144 1993-06-25 Richard Stallman <rms@gnu.org>
1146 * src/getargs.c: New file.
1148 1993-06-16 Richard Stallman <rms@gnu.org>
1150 * src/bison.s1: *** empty log message ***
1152 1993-06-16 Richard Stallman <rms@gnu.org>
1154 * bison.simple: *** empty log message ***
1156 1993-06-03 Richard Stallman <rms@gnu.org>
1158 * src/bison.s1: New file.
1160 1993-06-03 Richard Stallman <rms@gnu.org>
1162 * doc/bison.texinfo: *** empty log message ***
1164 1993-06-03 Richard Stallman <rms@gnu.org>
1166 * bison.simple: New file.
1168 1993-05-19 Richard Stallman <rms@gnu.org>
1170 * doc/bison.texinfo: New file.
1172 1993-05-07 Noah Friedman <friedman@gnu.org>
1174 * Makefile.in: *** empty log message ***
1176 1993-04-28 Noah Friedman <friedman@gnu.org>
1178 * src/reader.c: *** empty log message ***
1180 1993-04-23 Noah Friedman <friedman@gnu.org>
1182 * src/alloc.h: entered into RCS
1184 1993-04-20 David J. MacKenzie <djm@gnu.org>
1186 * src/version.c: *** empty log message ***
1188 * src/files.c, src/allocate.c:
1191 * src/reader.c: *** empty log message ***
1193 * src/lex.c: entered into RCS
1195 * src/conflicts.c: New file.
1197 * src/symtab.c: entered into RCS
1199 * src/alloc.h: New file.
1201 * src/LR0.c: entered into RCS
1203 1993-04-18 Noah Friedman <friedman@gnu.org>
1205 * src/reader.c: New file.
1207 * src/version.c: *** empty log message ***
1209 1993-04-18 Noah Friedman <friedman@gnu.org>
1211 * Makefile.in: *** empty log message ***
1213 1993-04-17 Noah Friedman <friedman@gnu.org>
1215 * Makefile.in: *** empty log message ***
1217 1993-04-15 Richard Stallman <rms@gnu.org>
1219 * src/main.c, src/files.c:
1222 1993-04-15 Noah Friedman <friedman@gnu.org>
1224 * configure.in: entered into RCS
1226 * configure.in: *** empty log message ***
1228 * configure.in: New file.
1230 1993-04-14 Richard Stallman <rms@gnu.org>
1232 * Makefile.in: New file.
1234 1993-04-13 Richard Stallman <rms@gnu.org>
1236 * src/version.c: New file.
1238 1993-03-25 Richard Stallman <rms@gnu.org>
1240 * src/output.c: entered into RCS
1242 1992-09-25 Richard Stallman <rms@gnu.org>
1244 * configure.bat: entered into RCS
1246 1992-06-22 Richard Stallman <rms@gnu.org>
1248 * src/vmsgetargs.c: entered into RCS
1250 1992-06-22 Richard Stallman <rms@gnu.org>
1252 * doc/bison.rnh: entered into RCS
1254 1992-04-20 David J. MacKenzie <djm@gnu.org>
1256 * README: entered into RCS
1258 1992-01-22 Richard Stallman <rms@gnu.org>
1260 * src/machine.h: entered into RCS
1262 1991-12-21 Richard Stallman <rms@gnu.org>
1264 * src/lalr.c, src/closure.c:
1267 1991-12-20 Richard Stallman <rms@gnu.org>
1269 * src/state.h: entered into RCS
1271 1991-12-18 Richard Stallman <rms@gnu.org>
1273 * src/print.c, src/nullable.c, src/derives.c:
1276 1991-11-03 David J. MacKenzie <djm@gnu.org>
1278 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1281 1988-09-09 Richard Stallman <rms@gnu.org>
1283 * src/bison.hairy: entered into RCS
1285 1987-12-16 Richard Stallman <rms@gnu.org>
1287 * REFERENCES: entered into RCS