1 2000-04-14 Akim Demaille <akim@epita.fr>
3 * src/reader.c (copy_comment2): New function, same as former
4 `copy_comment', but outputs into two FILE *.
5 (copy_comment): Use it.
6 (parse_union_decl): Use it.
7 (get_type, parse_start_decl): Use the same `invalid' message.
8 (parse_start_decl, parse_union_decl): Use the same `multiple'
10 (parse_union_decl, copy_guard, copy_action): Use the same
12 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
14 2000-03-31 Akim Demaille <akim@epita.fr>
16 * src/files.c (tryopen, tryclose): Move to the top.
19 2000-03-31 Akim Demaille <akim@epita.fr>
21 * src/main.c (main): Don't call `done', exit does it.
23 2000-03-31 Akim Demaille <akim@epita.fr>
25 * allocate.c: s/return (foo)/return foo/.
31 * vmsgetargs.c: Likewise.
33 2000-03-31 Akim Demaille <akim@epita.fr>
35 Clean up the error reporting functions.
37 * src/report.c: New file.
38 * src/report.h: Likewise.
39 * src/Makefile.am: Adjust.
40 * m4/error.m4: New file.
41 * m4/Makefile.am: Adjust.
42 * configure.in (jm_PREREQ_ERROR): Call it.
43 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
45 (fatal, fatals): Remove. All callers use complain.c::fatal.
46 (warn, warni, warns, warnss, warnss): Remove. All callers use
48 (toomany): Remove, use fatal instead.
49 * src/files.c (done): No argument, use complain_message_count.
50 * src/main.c (main): Register `done' to `atexit'.
52 * src/getargs.c (usage): More `fputs', less `fprintf'.
54 2000-03-28 Akim Demaille <akim@epita.fr>
56 * lib/: New directory.
57 * Makefile.am (SUBDIRS): Adjust.
58 * configure.in: Adjust.
59 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
61 * src/alloca.c: Moved to lib/.
62 * src/getopt.c: Likewise.
63 * src/getopt1.c: Likewise.
64 * src/getopt.h: Likewise.
65 * src/ansi2knr.c: Likewise.
66 * src/ansi2knr.1: Likewise.
67 * src/Makefile.am: Adjust.
68 * lib/Makefile.am: New file.
70 2000-03-28 Akim Demaille <akim@epita.fr>
72 * src/getargs.c (usage): Refresh the help message.
74 2000-03-17 Akim Demaille <akim@epita.fr>
76 * src/getopt1.c: Updated from textutils 2.0e
77 * src/getopt.c: Likewise.
78 * src/getopt.h: Likewise.
80 2000-03-17 Akim Demaille <akim@epita.fr>
82 * src/Makefile.am (bison.simple): Fix the awk program: quote only
83 the file name, not the whole `#line LINE FILE'.
85 2000-03-17 Akim Demaille <akim@epita.fr>
87 On syntax errors, report the token on which we choked.
89 * src/bison.s1 (yyparse): In the label yyerrlab, when
90 YYERROR_VERBOSE, add yychar in msg.
92 2000-03-17 Akim Demaille <akim@epita.fr>
94 * src/reader.c (copy_at): New function.
96 (copy_action): Use it.
98 2000-03-17 Akim Demaille <akim@epita.fr>
100 Be kind to translators, save some useless translations.
102 * src/main.c (banner): New function.
103 (fatal_banner): Use it.
104 (warn_banner): Use it.
106 2000-03-17 Akim Demaille <akim@epita.fr>
108 * src/reader.c (copy_definition): Use copy_string and
109 copy_comment. Removed now unused `match', `ended',
111 (copy_comment, copy_string): Moved, to be visible from
114 2000-03-17 Akim Demaille <akim@epita.fr>
116 * src/reader.c (copy_string): Declare `static inline'. No
117 problems with inline, since it is checked by configure.
118 (copy_comment): Likewise.
120 2000-03-17 Akim Demaille <akim@epita.fr>
122 * src/reader.c (packsymbols): Formatting changes.
124 2000-03-17 Akim Demaille <akim@epita.fr>
126 * src/reader.c (copy_comment): New function, factored out from:
127 (copy_action): Use it. Removed now unused `match', `ended',
129 (copy_guard): Likewise.
131 2000-03-17 Akim Demaille <akim@epita.fr>
133 * src/reader.c (copy_string): New function, factored out from:
134 (copy_action): Use it.
135 (copy_guard): Likewise.
137 2000-03-17 Akim Demaille <akim@epita.fr>
139 Change the handling of @s so that they behave exactly like $s.
140 There is now a pseudo variable @$ (readble and writable), location
141 of the lhs of the rule (by default ranging from the location of
142 the first symbol of the rhs, to the location of the last symbol,
143 or, if the rhs is empty, YYLLOC).
145 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
147 (yyparse): When providing a default semantic action, provide a
148 default location action.
149 (after the $): No longer change `*YYLSP', just stack YYLOC the
150 same way you stack YYVAL.
151 * src/reader.c (read_declarations): Use warns.
152 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
153 (copy_action, case '@'): Likewise.
154 Use a standard error message, to save useless work from
157 2000-03-17 Akim Demaille <akim@epita.fr>
159 * src/bison.s1: Formatting and cosmetics changes.
160 * src/reader.c: Likewise.
161 Update the Copyright notice.
163 2000-03-17 Akim Demaille <akim@epita.fr>
165 * src/bison.s1 (#line): All set to `#line' only, since the
166 Makefile now handles them.
168 2000-03-16 Akim Demaille <akim@epita.fr>
170 * src/output.c (output_rule_data): Output the documentation of
172 (Copyright notice): Update.
175 2000-03-16 Akim Demaille <akim@epita.fr>
177 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
178 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
179 One `#if YYDEBUG' remains, since it uses variables which are
180 defined only if `YYDEBUG != 0'.
182 2000-03-16 Akim Demaille <akim@epita.fr>
184 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
185 and related variables so that the similarities are highlighted.
187 2000-03-16 Akim Demaille <akim@epita.fr>
189 * src/bison.s1: Properly indent CPP directives.
191 2000-03-16 Akim Demaille <akim@epita.fr>
193 * src/bison.s1: Properly indent the `alloca' CPP section.
195 2000-03-16 Akim Demaille <akim@epita.fr>
197 Do not hard code values of directories in `configure.in'.
198 Update the `configure' tool chain.
200 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
202 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
203 (AC_OUTPUT): Add m4/Makefile.
204 Bump to bison 1.28a, 1.29 has never been released.
205 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
206 handled via src/Makefile.am.
207 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
208 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
210 * Makefile.am (SUBDIRS): Add m4.
211 (ACLOCAL_AM_FLAGS): New variable.
212 (AUTOMAKE_OPTIONS): Add check-news.
213 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
214 the proper line number and file name.
215 (DEFS): Propagate the location of bison library files and of the
217 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
219 * acinclude.m4: Remove, replaced by the directory m4.
220 * m4/Makefile.am (EXTRA_DIST): New variable.
221 * m4/gettext.m4: New file, from the fileutils.
222 * m4/lcmessage.m4: Likewise
223 * m4/progtest.m4: Likewise.
224 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
226 2000-03-10 Akim Demaille <akim@epita.fr>
229 Formatting changes of various comments.
230 Respect the GNU coding standards at various places.
231 Don't use `_()' when no translation is needed.
233 1999-12-13 Jesse Thilo <jthilo@gnu.org>
236 OS/2 honors TMPDIR environment variable.
238 1999-12-13 Jesse Thilo <jthilo@gnu.org>
240 * doc/bison.texinfo: Tweaked spelling and grammar.
242 Removed reference to price of printed copy.
243 Mention BISON_SIMPLE and BISON_HAIRY.
245 1999-12-13 Jesse Thilo <jthilo@gnu.org>
247 * configure.in, NEWS:
250 1999-10-27 Jesse Thilo <jthilo@gnu.org>
252 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
253 Added reference card.
255 1999-07-26 Jesse Thilo <jthilo@gnu.org>
257 * po/ru.po: Added Russian translation.
259 1999-07-26 Jesse Thilo <jthilo@gnu.org>
261 * configure.in: Added Russian translation.
263 1999-07-06 Jesse Thilo <jthilo@gnu.org>
265 * configure.in, NEWS, README:
266 Released version 1.28.
268 1999-06-14 Jesse Thilo <jthilo@gnu.org>
271 Squashed redefinition warning on some systems.
273 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
274 Have configure build version string instead of relying on ANSI string
277 1999-06-14 Jesse Thilo <jthilo@gnu.org>
279 * po/POTFILES.in: Got rid of version.c.
281 1999-06-14 Jesse Thilo <jthilo@gnu.org>
283 * acconfig.h, configure.in:
284 Have configure build version string instead of relying on ANSI string
287 1999-06-08 Jesse Thilo <jthilo@gnu.org>
290 Dropped mention of `+' for long-named options.
292 1999-05-30 Jesse Thilo <jthilo@gnu.org>
294 * src/files.c: Added <unistd.h> for unlink().
296 * src/Makefile.am, src/system.h:
299 1999-05-30 Jesse Thilo <jthilo@gnu.org>
301 * README: Added a FAQ list.
303 * configure.in, acconfig.h:
306 1999-05-30 Jesse Thilo <jthilo@gnu.org>
308 * doc/FAQ, doc/Makefile.am:
311 1999-05-19 Jesse Thilo <jthilo@gnu.org>
313 * src/alloc.h, src/symtab.h, src/version.c:
314 Protected inclusion of "config.h" with HAVE_CONFIG_H.
316 1999-04-18 Jesse Thilo <jthilo@gnu.org>
318 * src/.cvsignore, src/Makefile.am:
319 Reorganized: sources in `src', documentation in `doc'.
321 * src/lex.c (literalchar):
322 fixed the code for escaping double quotes (thanks
325 1999-04-18 Jesse Thilo <jthilo@gnu.org>
327 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
328 Adjusted paths to reflect directory reorganization.
330 1999-04-18 Jesse Thilo <jthilo@gnu.org>
332 * doc/.cvsignore, doc/Makefile.am:
333 Reorganized: sources in `src', documentation in `doc'.
335 1999-04-18 Jesse Thilo <jthilo@gnu.org>
338 Updated AC_INIT file to reflect directory reorganization.
340 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
341 Reorganized: sources in `src', documentation in `doc'.
343 1999-04-13 Jesse Thilo <jthilo@gnu.org>
346 Don't declare calloc() and realloc() if not necessary.
348 1999-04-13 Jesse Thilo <jthilo@gnu.org>
350 * configure.in, acconfig.h, acinclude.m4:
351 Don't declare calloc() and realloc() if not necessary.
353 1999-03-23 Jesse Thilo <jthilo@gnu.org>
355 * po/.cvsignore: Added i18n support.
357 1999-03-23 Jesse Thilo <jthilo@gnu.org>
359 * acconfig.h, configure.in, Makefile.am:
362 1999-03-22 Jesse Thilo <jthilo@gnu.org>
364 * src/bison.s1: Fixed #line numbers.
366 1999-03-15 Jesse Thilo <jthilo@gnu.org>
368 * po/es.po, po/fr.po, po/nl.po, po/de.po:
369 Added PO files from Translation Project.
371 1999-03-03 Jesse Thilo <jthilo@gnu.org>
374 Added support for non-ANSI compilers (ansi2knr).
376 1999-02-16 Jesse Thilo <jthilo@gnu.org>
378 * configure.in: Bumped version number to 1.27.
381 Added `bison.simple' to list of files removed by `make distclean'.
383 1999-02-12 Jesse Thilo <jthilo@gnu.org>
385 * src/files.c, src/files.h:
386 Defined locations of parser files in config.h instead of Makefile.
388 1999-02-12 Jesse Thilo <jthilo@gnu.org>
390 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
391 Defined locations of parser files in config.h instead of Makefile.
393 1999-02-09 Jesse Thilo <jthilo@gnu.org>
396 Removed inappropriate use of $< macro.
398 1999-02-05 Jesse Thilo <jthilo@gnu.org>
400 * po/Makefile.in.in, po/POTFILES.in:
401 Add `po' directory skeleton.
403 1999-01-27 Jesse Thilo <jthilo@gnu.org>
405 * README: Document help-bison list.
407 * configure.in: Add check for mkstemp().
409 1999-01-20 Jesse Thilo <jthilo@gnu.org>
411 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
412 Hush a few compiler warnings.
415 Add tryclose(), which verifies that fclose was successful.
416 Hush a couple of compiler warnings.
418 1999-01-20 Jesse Thilo <jthilo@gnu.org>
420 * Makefile.am, OChangeLog:
421 ChangeLog is now automatically generated. Include the old version as
424 1999-01-14 Jesse Thilo <jthilo@gnu.org>
426 * 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:
429 1999-01-14 Jesse Thilo <jthilo@gnu.org>
431 * doc/bison.texinfo: Fix formatting glitch.
433 * doc/bison.texinfo: Update FSF address.
435 1999-01-14 Jesse Thilo <jthilo@gnu.org>
437 * acconfig.h: Update FSF address.
439 1999-01-08 Jesse Thilo <jthilo@gnu.org>
442 Don't define PACKAGE here, since config.h defines it.
444 1998-12-30 Jesse Thilo <jthilo@gnu.org>
446 * src/reader.c: Update copyright date.
449 Ditch sprintf to statically-sized buffers in fatal/warn functions in
450 favor of output directly to stderr (avoids buffer overruns).
452 * src/reader.c: Some checks for premature EOF.
454 * 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:
455 Use prototypes if the compiler understands them.
457 * src/files.c: Honor TMPDIR on Unix hosts.
458 Use prototypes if the compiler understands them.
461 Fix a couple of buffer overrun bugs.
462 Use prototypes if the compiler understands them.
464 * src/system.h: Include unistd.h and ctype.h.
465 Use #ifdef instead of #if for NLS symbols.
467 1998-12-30 Jesse Thilo <jthilo@gnu.org>
470 Delete comment "consider using @set for edition number, etc..." since
473 1998-12-30 Jesse Thilo <jthilo@gnu.org>
476 Use prototypes if the compiler understands them.
478 * NEWS: Document 1.26 highlights.
480 * Makefile.am: Require Automake 1.3 or later.
483 Use prototypes if the compiler understands them.
485 1998-12-29 Jesse Thilo <jthilo@gnu.org>
488 Use VERSION symbol from automake for version number.
490 1998-12-29 Jesse Thilo <jthilo@gnu.org>
492 * acconfig.h, configure.in, version.cin:
493 Use VERSION symbol from automake for version number.
495 1998-11-28 Jesse Thilo <jthilo@gnu.org>
498 Distribute original version of simple parser (bison.s1), not built
499 version (bison.simple).
501 1998-11-28 Jesse Thilo <jthilo@gnu.org>
503 * doc/bison.texinfo: Add info dir entry.
506 Let automake put version number into documentation.
508 1998-11-26 Jesse Thilo <jthilo@gnu.org>
510 * src/bison.cld, src/build.com, src/vmshlp.mar:
511 Add non-RCS files from /gd/gnu/bison.
513 1998-11-26 Jesse Thilo <jthilo@gnu.org>
516 Document the BISON_HAIRY and BISON_SIMPLE variables.
518 1998-11-25 Jesse Thilo <jthilo@gnu.org>
520 * src/version.c: Build version.c automatically.
523 Fix token numbering (used to start at 258, not 257).
525 * src/system.h: Include config.h.
527 * src/getargs.c: Update bug report address.
529 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
530 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
532 1998-11-25 Jesse Thilo <jthilo@gnu.org>
535 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
537 * configure.in, version.cin:
538 Build version.c automatically.
540 * AUTHORS: Add AUTHORS file.
542 * README: Update bug report address.
545 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
547 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
550 1998-11-25 Jesse Thilo <jthilo@gnu.org>
552 * doc/bison.texinfo: Clean up some formatting.
554 1998-05-05 Richard Stallman <rms@gnu.org>
557 Explain better why to make a pure parser.
559 1998-01-05 Richard Stallman <rms@gnu.org>
561 * src/files.c (openfiles):
562 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
563 find a temporary directory, if possible. Do not unlink files while
566 1997-08-25 Richard Stallman <rms@gnu.org>
568 * src/reader.c (stack_offset;):
569 Change some warni to warns.
571 * src/lex.c (literalchar): Use warns, not warni.
573 1997-06-28 Richard Stallman <rms@gnu.org>
575 * src/bison.s1: Add a Bison version comment.
577 * src/main.c (fatal, warn, berror):
580 1997-06-28 Richard Stallman <rms@gnu.org>
582 * Makefile.in (bison_version): New variable.
583 (dist): Use that variable.
584 (bison.s1): Substitute the Bison version into bison.simple.
586 * bison.simple: Add a Bison version comment.
588 1997-06-18 Richard Stallman <rms@gnu.org>
590 * src/main.c (fatal, warn, berror):
591 Make error messages standard.
592 (toomany): Improve error message text.
594 * 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:
595 new.h renamed to alloc.h.
597 1997-06-18 Richard Stallman <rms@gnu.org>
599 * Makefile.in: new.h renamed to alloc.h.
601 1997-05-24 Richard Stallman <rms@gnu.org>
603 * src/lex.c (literalchar):
604 Fix the code for escaping \, " and '.
606 (lex): Avoid trouble when there are many chars
607 to discard in a char literal with just several chars in it.
609 1997-05-17 Richard Stallman <rms@gnu.org>
612 Use malloc, if using alloca is troublesome.
613 (YYSTACK_USE_ALLOCA): New flag macro.
614 Define it for some systems and compilers.
615 (YYSTACK_ALLOC): New macro.
616 (yyparse): Use YYSTACK_ALLOC to allocate stack.
617 If it was malloc'd, free it.
619 1997-05-17 Richard Stallman <rms@gnu.org>
622 Use malloc, if using alloca is troublesome.
623 (YYSTACK_USE_ALLOCA): New flag macro.
624 Define it for some systems and compilers.
625 (YYSTACK_ALLOC): New macro.
626 (yyparse): Use YYSTACK_ALLOC to allocate stack.
627 If it was malloc'd, free it.
629 1997-04-23 Richard Stallman <rms@gnu.org>
632 (alloca) [__hpux]: Always define as __builtin_alloca.
634 1997-04-23 Richard Stallman <rms@gnu.org>
637 (alloca) [__hpux]: Always define as __builtin_alloca.
639 1997-04-22 Richard Stallman <rms@gnu.org>
642 [__hpux]: Include alloca.h (right for HPUX 10)
643 instead of declaring alloca (right for HPUX 9).
645 * src/bison.s1 (__yy_memcpy):
646 Declare arg `count' as unsigned int.
647 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
649 1997-04-22 Richard Stallman <rms@gnu.org>
652 [__hpux]: Include alloca.h (right for HPUX 10)
653 instead of declaring alloca (right for HPUX 9).
655 * bison.simple (__yy_memcpy):
656 Declare arg `count' as unsigned int.
657 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
659 1997-01-03 Richard Stallman <rms@gnu.org>
661 * src/allocate.c: [__STDC__ or _MSC_VER]:
662 Declare calloc and realloc to return void *.
664 1997-01-02 Richard Stallman <rms@gnu.org>
667 [_MSC_VER]: Include stdlib.h and process.h.
668 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
670 * src/main.c (main): Return FAILURE as a value.
671 (printable_version): Declare arg as int, not char.
673 1997-01-02 Richard Stallman <rms@gnu.org>
675 * Makefile.in (dist):
676 Explicitly check for symlinks, and copy them.
678 1996-12-19 Richard Stallman <rms@gnu.org>
681 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
683 1996-12-18 Paul Eggert <eggert@gnu.org>
685 * src/bison.s1 (yyparse):
686 If __GNUC__ and YYPARSE_PARAM are both defined,
687 declare yyparse to have a void * argument.
689 1996-12-18 Paul Eggert <eggert@gnu.org>
691 * bison.simple (yyparse):
692 If __GNUC__ and YYPARSE_PARAM are both defined,
693 declare yyparse to have a void * argument.
695 1996-12-17 Richard Stallman <rms@gnu.org>
697 * src/reduce.c (nbits): Add some casts.
699 1996-08-12 Richard Stallman <rms@gnu.org>
701 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
703 1996-08-12 Richard Stallman <rms@gnu.org>
705 * bison.simple: Test _MSDOS as well as _MSDOS_.
707 1996-07-31 Richard Stallman <rms@gnu.org>
710 [__sun && __i386]: Include alloca.h.
712 1996-07-31 Richard Stallman <rms@gnu.org>
715 [__sun && __i386]: Include alloca.h.
717 1996-07-30 Richard Stallman <rms@gnu.org>
719 * src/bison.s1: Comment change.
721 * src/bison.s1: Test _MSDOS_, not MSDOS.
723 1996-07-30 Richard Stallman <rms@gnu.org>
725 * bison.simple: Comment change.
727 * bison.simple: Test _MSDOS_, not MSDOS.
729 1996-06-01 Richard Stallman <rms@gnu.org>
731 * 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:
732 Insert `_' macro around many string constants.
735 Insert `_' macro around many string constants.
737 (main): Call setlocale, bindtextdomain and textdomain.
739 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
740 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
741 [ENABLE_NLS]: Include libintl.h.
742 [ENABLE_NLS] (gettext): Define.
743 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
744 (N_, PACKAGE, LOCALEDIR): New macros.
746 1996-06-01 Richard Stallman <rms@gnu.org>
748 * POTFILES.in: New file.
750 * Makefile.in (allocate.o):
751 Define target explicitly.
753 * Makefile.in (CFLAGS): Set to @CFLAGS@.
754 (LDFLAGS): Set to @LDFLAGS@.
755 (configure): Run autoconf only if preceding `cd' succeeds.
756 (bison.s1): Redirect output to temporary file then move the
757 temporary to the target, rather than redirecting directly to bison.s1.
758 (clean): Remove config.status and config.log.
759 (distclean): Don't remove config.status here.
761 1996-05-12 Richard Stallman <rms@gnu.org>
764 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
766 1996-05-12 Richard Stallman <rms@gnu.org>
769 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
771 1996-05-11 Richard Stallman <rms@gnu.org>
773 * src/bison.s1 (__yy_memcpy):
774 Really reorder the args, as was supposedly done on Feb 14 1995.
775 (yyparse): Calls changed accordingly.
777 1996-05-11 Richard Stallman <rms@gnu.org>
779 * Makefile.in (dist): Don't use $(srcdir).
781 * bison.simple (__yy_memcpy):
782 Really reorder the args, as was supposedly done on Feb 14 1995.
783 (yyparse): Calls changed accordingly.
785 1996-01-27 Richard Stallman <rms@gnu.org>
787 * src/output.c (output_rule_data):
788 Test YYERROR_VERBOSE in the conditional
789 around the definition of ttyname.
791 1995-12-29 Richard Stallman <rms@gnu.org>
794 Fix line numbers in #line commands.
796 1995-12-29 Richard Stallman <rms@gnu.org>
799 Fix line numbers in #line commands.
801 1995-12-27 Richard Stallman <rms@gnu.org>
803 * src/bison.s1 (YYPARSE_PARAM_DECL):
804 In C++, make it always null.
805 (YYPARSE_PARAM_ARG): New macro.
806 (yyparse): Use YYPARSE_PARAM_ARG.
808 1995-12-27 Richard Stallman <rms@gnu.org>
810 * bison.simple (YYPARSE_PARAM_DECL):
811 In C++, make it always null.
812 (YYPARSE_PARAM_ARG): New macro.
813 (yyparse): Use YYPARSE_PARAM_ARG.
815 1995-11-29 Richard Stallman <rms@gnu.org>
818 Describe literal string tokens, %raw, %no_lines, %token_table.
820 1995-11-29 Daniel Hagerty <hag@gnu.org>
822 * doc/bison.texinfo: Fixed update date
824 1995-10-16 Richard Stallman <rms@gnu.org>
826 * src/version.c: Version 1.25.
828 1995-10-16 Richard Stallman <rms@gnu.org>
830 * NEWS: *** empty log message ***
832 1995-10-16 Richard Stallman <rms@gnu.org>
834 * doc/bison.1, doc/bison.rnh:
837 1995-10-15 Richard Stallman <rms@gnu.org>
839 * src/vmsgetargs.c, src/getargs.c:
840 Added -n, -k, and -raw switches.
841 (noparserflag, toknumflag, rawtoknumflag): New variables.
843 * src/symtab.h (SALIAS):
844 New #define for adding aliases to %token.
845 (struct bucket): Added `alias' field.
847 * src/reduce.c (reduce_grammar):
848 Revise error message.
849 (print_notices): Remove final `.' from error message.
851 * src/reader.c (reader_output_yylsp):
853 (readgram): Use `#if 0' around code that accepted %command
854 inside grammar rules: The documentation doesn't allow it,
855 and it will fail since the %command processors scan for the next %.
856 (parse_token_decl): Extended the %token
857 declaration to allow a multi-character symbol as an alias.
858 (parse_thong_decl): New function.
859 (read_declarations): Added %thong declarations.
860 (read_declarations): Handle NOOP to deal with allowing
861 % declarations as another means to specify the flags.
862 (readgram): Allow %prec prior to semantics embedded in a rule.
863 (skip_to_char, read_declarations, copy_definition)
864 (parse_token_decl, parse_start_decl, parse_type_decl)
865 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
866 (get_type_name, copy_guard, copy_action, readgram)
867 (get_type, packsymbols): Revised most error messages.
868 Changed `fatal' to `warnxxx' to avoid aborting for error.
869 Revised and use multiple warnxxx functions to avoid using VARARGS1.
870 (read_declarations): Improve the error message for
871 an invalid character. Do not abort.
872 (read_declarations, copy_guard, copy_action): Use
873 printable_version to avoid unprintable characters in printed output.
874 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
875 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
876 Allow the type of a non-terminal can be given
877 more than once, as long as all specifications give the same type.
880 (output_headers, output_trailers, output, output_gram)
881 (output_rule_data): Implement noparserflag variable.
882 Implement toknumflag variable.
883 (output): Call reader_output_yylsp to output LTYPESTR.
886 If reader sees an error, don't process the grammar.
887 (fatals): Updated to not use VARARGS1.
888 (printable_version, int_to_string, warn, warni, warns, warnss)
889 (warnsss): New error reporting functions. Avoid abort for error.
892 Added THONG and NOOP for alias processing.
893 Added SETOPT for the new code that allows setting options with %flags.
896 Include getopt.h. Add some extern decls.
897 (safegetc): New function to deal with EOF gracefully.
898 (literalchar); new function to deal with reading \ escapes.
899 (lex): Use literalchar.
900 (lex): Implemented "..." tokens.
901 (literalchar, lex, parse_percent_token): Made tokenbuffer
902 always contain the token. This includes growing the token
903 buffer while reading an integer.
904 (parse_percent_token): Replaced if-else statement with percent_table.
905 (parse_percent_token): Added % declarations as another
906 way to specify the flags -n, -l, and -r. Also added hooks for
907 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
908 major changes to files.c.
909 (lex) Retain in the incoming stream a character following
911 (skip_white_space, lex): Revised most error messages
912 and changed fatal to warn to avoid aborting.
913 (percent_table): Added %thong declarations.
915 * src/gram.h: Comment changes.
917 * src/files.c (openfiles, open_extra_files, done):
919 and actfile file. Handle noparserflag. Both for -n switch.
921 * src/conflicts.c (resolve_sr_conflict):
922 Remove use of alloca.
924 1995-06-01 Jim Meyering <meyering@gnu.org>
926 * doc/bison.texinfo: *** empty log message ***
928 1995-05-06 Richard Stallman <rms@gnu.org>
930 * src/bison.s1: Comment change.
932 1995-05-06 Richard Stallman <rms@gnu.org>
934 * bison.simple: Comment change.
936 1995-05-03 Richard Stallman <rms@gnu.org>
938 * src/version.c: Version now 1.24.
940 * src/bison.s1: Change distribution terms.
942 * src/version.c: Version now 1.23.
944 1995-05-03 Richard Stallman <rms@gnu.org>
947 Rewrite "Conditions for Using Bison".
948 Update version to 1.24.
950 1995-05-03 Richard Stallman <rms@gnu.org>
952 * bison.simple: Change distribution terms.
954 1995-02-23 Richard Stallman <rms@gnu.org>
956 * src/files.c: Test __VMS_POSIX as well as VMS.
958 1995-02-14 Jim Meyering <meyering@gnu.org>
960 * src/bison.s1 (__yy_memcpy):
961 Renamed from __yy_bcopy to avoid
962 confusion. Reverse FROM and TO arguments to be consistent with
965 1995-02-14 Jim Meyering <meyering@gnu.org>
967 * bison.simple (__yy_memcpy):
968 Renamed from __yy_bcopy to avoid
969 confusion. Reverse FROM and TO arguments to be consistent with
972 1994-11-10 David J. MacKenzie <djm@gnu.org>
978 * Makefile.in (DISTFILES): Include NEWS.
980 * Makefile.in (DISTFILES):
981 Include install-sh, not install.sh.
983 * configure.in: Update to Autoconf v2 macro names.
985 1994-10-05 David J. MacKenzie <djm@gnu.org>
987 * Makefile.in: fix typo
989 * Makefile.in (prefix, exec_prefix):
990 Let configure set them.
992 1994-09-28 David J. MacKenzie <djm@gnu.org>
994 * Makefile.in: Set datadir to $(prefix)/share.
996 1994-09-15 Richard Stallman <rms@gnu.org>
999 Update copyright notice and GPL version.
1001 1994-09-15 Richard Stallman <rms@gnu.org>
1004 Update copyright notice and GPL version.
1006 1994-07-12 Richard Stallman <rms@gnu.org>
1008 * src/reduce.c, src/reader.c:
1011 1994-05-05 David J. MacKenzie <djm@gnu.org>
1013 * Makefile.in: entered into RCS
1015 1994-03-26 Richard Stallman <rms@gnu.org>
1017 * src/bison.s1: entered into RCS
1019 1994-03-26 Richard Stallman <rms@gnu.org>
1021 * bison.simple: entered into RCS
1023 1994-03-25 Richard Stallman <rms@gnu.org>
1025 * src/main.c: entered into RCS
1027 1994-03-24 Richard Stallman <rms@gnu.org>
1029 * src/conflicts.c: entered into RCS
1031 1994-01-02 Richard Stallman <rms@gnu.org>
1033 * Makefile.in: *** empty log message ***
1035 1993-11-21 Richard Stallman <rms@gnu.org>
1037 * src/bison.s1: *** empty log message ***
1039 1993-11-21 Richard Stallman <rms@gnu.org>
1041 * doc/bison.texinfo: entered into RCS
1043 * doc/bison.texinfo: *** empty log message ***
1045 1993-11-21 Richard Stallman <rms@gnu.org>
1047 * bison.simple: *** empty log message ***
1049 1993-10-25 David J. MacKenzie <djm@gnu.org>
1051 * doc/bison.texinfo: *** empty log message ***
1053 1993-10-19 Richard Stallman <rms@gnu.org>
1055 * src/bison.s1: *** empty log message ***
1057 1993-10-19 Richard Stallman <rms@gnu.org>
1059 * bison.simple: *** empty log message ***
1061 1993-10-14 Richard Stallman <rms@gnu.org>
1063 * src/bison.s1: *** empty log message ***
1065 1993-10-14 Richard Stallman <rms@gnu.org>
1067 * bison.simple: *** empty log message ***
1069 1993-09-14 David J. MacKenzie <djm@gnu.org>
1071 * doc/bison.texinfo: *** empty log message ***
1073 1993-09-13 Noah Friedman <friedman@gnu.org>
1075 * Makefile.in: *** empty log message ***
1077 1993-09-10 Richard Stallman <rms@gnu.org>
1079 * src/conflicts.c: *** empty log message ***
1081 * src/system.h: entered into RCS
1083 1993-09-10 Richard Stallman <rms@gnu.org>
1085 * doc/bison.1: entered into RCS
1087 1993-09-06 Noah Friedman <friedman@gnu.org>
1089 * src/version.c: entered into RCS
1091 1993-09-06 Noah Friedman <friedman@gnu.org>
1093 * Makefile.in: *** empty log message ***
1095 1993-07-30 David J. MacKenzie <djm@gnu.org>
1097 * Makefile.in: *** empty log message ***
1099 1993-07-24 Richard Stallman <rms@gnu.org>
1101 * src/bison.s1: *** empty log message ***
1103 1993-07-24 Richard Stallman <rms@gnu.org>
1105 * bison.simple: *** empty log message ***
1107 1993-07-08 David J. MacKenzie <djm@gnu.org>
1109 * Makefile.in: *** empty log message ***
1111 1993-07-04 Richard Stallman <rms@gnu.org>
1113 * src/bison.s1: *** empty log message ***
1115 1993-07-04 Richard Stallman <rms@gnu.org>
1117 * bison.simple: *** empty log message ***
1119 1993-06-26 David J. MacKenzie <djm@gnu.org>
1121 * src/getargs.c: entered into RCS
1123 1993-06-26 David J. MacKenzie <djm@gnu.org>
1125 * doc/bison.texinfo: *** empty log message ***
1127 * doc/bison.1: New file.
1129 1993-06-25 Richard Stallman <rms@gnu.org>
1131 * src/getargs.c: New file.
1133 1993-06-16 Richard Stallman <rms@gnu.org>
1135 * src/bison.s1: *** empty log message ***
1137 1993-06-16 Richard Stallman <rms@gnu.org>
1139 * bison.simple: *** empty log message ***
1141 1993-06-03 Richard Stallman <rms@gnu.org>
1143 * src/bison.s1: New file.
1145 1993-06-03 Richard Stallman <rms@gnu.org>
1147 * doc/bison.texinfo: *** empty log message ***
1149 1993-06-03 Richard Stallman <rms@gnu.org>
1151 * bison.simple: New file.
1153 1993-05-19 Richard Stallman <rms@gnu.org>
1155 * doc/bison.texinfo: New file.
1157 1993-05-07 Noah Friedman <friedman@gnu.org>
1159 * Makefile.in: *** empty log message ***
1161 1993-04-28 Noah Friedman <friedman@gnu.org>
1163 * src/reader.c: *** empty log message ***
1165 1993-04-23 Noah Friedman <friedman@gnu.org>
1167 * src/alloc.h: entered into RCS
1169 1993-04-20 David J. MacKenzie <djm@gnu.org>
1171 * src/version.c: *** empty log message ***
1173 * src/files.c, src/allocate.c:
1176 * src/reader.c: *** empty log message ***
1178 * src/lex.c: entered into RCS
1180 * src/conflicts.c: New file.
1182 * src/symtab.c: entered into RCS
1184 * src/alloc.h: New file.
1186 * src/LR0.c: entered into RCS
1188 1993-04-18 Noah Friedman <friedman@gnu.org>
1190 * src/reader.c: New file.
1192 * src/version.c: *** empty log message ***
1194 1993-04-18 Noah Friedman <friedman@gnu.org>
1196 * Makefile.in: *** empty log message ***
1198 1993-04-17 Noah Friedman <friedman@gnu.org>
1200 * Makefile.in: *** empty log message ***
1202 1993-04-15 Richard Stallman <rms@gnu.org>
1204 * src/main.c, src/files.c:
1207 1993-04-15 Noah Friedman <friedman@gnu.org>
1209 * configure.in: entered into RCS
1211 * configure.in: *** empty log message ***
1213 * configure.in: New file.
1215 1993-04-14 Richard Stallman <rms@gnu.org>
1217 * Makefile.in: New file.
1219 1993-04-13 Richard Stallman <rms@gnu.org>
1221 * src/version.c: New file.
1223 1993-03-25 Richard Stallman <rms@gnu.org>
1225 * src/output.c: entered into RCS
1227 1992-09-25 Richard Stallman <rms@gnu.org>
1229 * configure.bat: entered into RCS
1231 1992-06-22 Richard Stallman <rms@gnu.org>
1233 * src/vmsgetargs.c: entered into RCS
1235 1992-06-22 Richard Stallman <rms@gnu.org>
1237 * doc/bison.rnh: entered into RCS
1239 1992-04-20 David J. MacKenzie <djm@gnu.org>
1241 * README: entered into RCS
1243 1992-01-22 Richard Stallman <rms@gnu.org>
1245 * src/machine.h: entered into RCS
1247 1991-12-21 Richard Stallman <rms@gnu.org>
1249 * src/lalr.c, src/closure.c:
1252 1991-12-20 Richard Stallman <rms@gnu.org>
1254 * src/state.h: entered into RCS
1256 1991-12-18 Richard Stallman <rms@gnu.org>
1258 * src/print.c, src/nullable.c, src/derives.c:
1261 1991-11-03 David J. MacKenzie <djm@gnu.org>
1263 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1266 1988-09-09 Richard Stallman <rms@gnu.org>
1268 * src/bison.hairy: entered into RCS
1270 1987-12-16 Richard Stallman <rms@gnu.org>
1272 * REFERENCES: entered into RCS