1 2000-03-17 Akim Demaille <akim@epita.fr>
3 On syntax errors, report the token on which we choked.
5 * bison.s1 (yyparse): In the label yyerrlab, when YYERROR_VERBOSE,
8 2000-03-17 Akim Demaille <akim@epita.fr>
10 * reader.c (copy_at): New function.
12 (copy_action): Use it.
14 2000-03-17 Akim Demaille <akim@epita.fr>
16 Be kind to translators, save some useless translations.
18 * main.c (banner): New function.
19 (fatal_banner): Use it.
20 (warn_banner): Use it.
22 2000-03-17 Akim Demaille <akim@epita.fr>
24 * reader.c (copy_definition): Use copy_string and copy_comment.
25 Removed now unused `match', `ended', `cplus_comment'.
26 (copy_comment, copy_string): Moved, to be visible from
29 2000-03-17 Akim Demaille <akim@epita.fr>
31 * reader.c (copy_string): Declared `static inline'. No problems
32 with inline, since it is checked by configure.
33 (copy_comment): Likewise.
35 2000-03-17 Akim Demaille <akim@epita.fr>
37 * reader.c (packsymbols): Formatting changes.
39 2000-03-17 Akim Demaille <akim@epita.fr>
41 * reader.c (copy_comment): New function, factored out from:
42 (copy_action): Use it. Removed now unused `match', `ended',
44 (copy_guard): Likewise.
46 2000-03-17 Akim Demaille <akim@epita.fr>
48 * reader.c (copy_string): New function, factored out from:
49 (copy_action): Use it.
50 (copy_guard): Likewise.
52 2000-03-17 Akim Demaille <akim@epita.fr>
54 Change the handling of @s so that they behave exactly like $s.
55 There is now a pseudo variable @$ (readble and writable), location
56 of the lhs of the rule (by default ranging from the location of
57 the first symbol of the rhs, to the location of the last symbol,
58 or, if the rhs is empty, YYLLOC).
60 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
62 (yyparse): When providing a default semantic action, provide a
63 default location action.
64 (after the $): No longer change `*YYLSP', just stack YYLOC the
65 same way you stack YYVAL.
66 * src/reader.c (read_declarations): Use warns.
67 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
68 (copy_action, case '@'): Likewise.
69 Use a standard error message, to save useless work from
72 2000-03-17 Akim Demaille <akim@epita.fr>
74 * bison.s1: Formatting and cosmetics changes.
76 Update the Copyright notice.
78 2000-03-17 Akim Demaille <akim@epita.fr>
80 * bison.s1 (#line): All set to `#line' only, since the Makefile
83 2000-03-16 Akim Demaille <akim@epita.fr>
85 * src/output.c (output_rule_data): Output the documentation of
87 (Copyright notice): Update.
90 2000-03-16 Akim Demaille <akim@epita.fr>
92 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
93 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
94 One `#if YYDEBUG' remains, since it uses variables which are
95 defined only if `YYDEBUG != 0'.
97 2000-03-16 Akim Demaille <akim@epita.fr>
99 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
100 and related variables so that the similarities are highlighted.
102 2000-03-16 Akim Demaille <akim@epita.fr>
104 * src/bison.s1: Properly indent CPP directives.
106 2000-03-16 Akim Demaille <akim@epita.fr>
108 * src/bison.s1: Properly indent the `alloca' CPP section.
110 2000-03-16 Akim Demaille <akim@epita.fr>
112 Do not hard code values of directories in `configure.in'.
113 Update the `configure' tool chain.
115 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
117 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
118 (AC_OUTPUT): Add m4/Makefile.
119 Bump to bison 1.28a, 1.29 has never been released.
120 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
121 handled via src/Makefile.am.
122 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
123 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
125 * Makefile.am (SUBDIRS): Add m4.
126 (ACLOCAL_AM_FLAGS): New variable.
127 (AUTOMAKE_OPTIONS): Add check-news.
128 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
129 the proper line number and file name.
130 (DEFS): Propagate the location of bison library files and of the
132 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
134 * acinclude.m4: Remove, replaced by the directory m4.
135 * m4/Makefile.am (EXTRA_DIST): New variable.
136 * m4/gettext.m4: New file, from the fileutils.
137 * m4/lcmessage.m4: Likewise
138 * m4/progtest.m4: Likewise.
139 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
141 2000-03-10 Akim Demaille <akim@epita.fr>
144 Formatting changes of various comments.
145 Respect the GNU coding standards at various places.
146 Don't use `_()' when no translation is needed.
148 1999-12-13 Jesse Thilo <jthilo@gnu.org>
151 OS/2 honors TMPDIR environment variable.
153 1999-12-13 Jesse Thilo <jthilo@gnu.org>
155 * doc/bison.texinfo: Tweaked spelling and grammar.
157 Removed reference to price of printed copy.
158 Mention BISON_SIMPLE and BISON_HAIRY.
160 1999-12-13 Jesse Thilo <jthilo@gnu.org>
162 * configure.in, NEWS:
165 1999-10-27 Jesse Thilo <jthilo@gnu.org>
167 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
168 Added reference card.
170 1999-07-26 Jesse Thilo <jthilo@gnu.org>
172 * po/ru.po: Added Russian translation.
174 1999-07-26 Jesse Thilo <jthilo@gnu.org>
176 * configure.in: Added Russian translation.
178 1999-07-06 Jesse Thilo <jthilo@gnu.org>
180 * configure.in, NEWS, README:
181 Released version 1.28.
183 1999-06-14 Jesse Thilo <jthilo@gnu.org>
186 Squashed redefinition warning on some systems.
188 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
189 Have configure build version string instead of relying on ANSI string
192 1999-06-14 Jesse Thilo <jthilo@gnu.org>
194 * po/POTFILES.in: Got rid of version.c.
196 1999-06-14 Jesse Thilo <jthilo@gnu.org>
198 * acconfig.h, configure.in:
199 Have configure build version string instead of relying on ANSI string
202 1999-06-08 Jesse Thilo <jthilo@gnu.org>
205 Dropped mention of `+' for long-named options.
207 1999-05-30 Jesse Thilo <jthilo@gnu.org>
209 * src/files.c: Added <unistd.h> for unlink().
211 * src/Makefile.am, src/system.h:
214 1999-05-30 Jesse Thilo <jthilo@gnu.org>
216 * README: Added a FAQ list.
218 * configure.in, acconfig.h:
221 1999-05-30 Jesse Thilo <jthilo@gnu.org>
223 * doc/FAQ, doc/Makefile.am:
226 1999-05-19 Jesse Thilo <jthilo@gnu.org>
228 * src/alloc.h, src/symtab.h, src/version.c:
229 Protected inclusion of "config.h" with HAVE_CONFIG_H.
231 1999-04-18 Jesse Thilo <jthilo@gnu.org>
233 * src/.cvsignore, src/Makefile.am:
234 Reorganized: sources in `src', documentation in `doc'.
236 * src/lex.c (literalchar):
237 fixed the code for escaping double quotes (thanks
240 1999-04-18 Jesse Thilo <jthilo@gnu.org>
242 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
243 Adjusted paths to reflect directory reorganization.
245 1999-04-18 Jesse Thilo <jthilo@gnu.org>
247 * doc/.cvsignore, doc/Makefile.am:
248 Reorganized: sources in `src', documentation in `doc'.
250 1999-04-18 Jesse Thilo <jthilo@gnu.org>
253 Updated AC_INIT file to reflect directory reorganization.
255 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
256 Reorganized: sources in `src', documentation in `doc'.
258 1999-04-13 Jesse Thilo <jthilo@gnu.org>
261 Don't declare calloc() and realloc() if not necessary.
263 1999-04-13 Jesse Thilo <jthilo@gnu.org>
265 * configure.in, acconfig.h, acinclude.m4:
266 Don't declare calloc() and realloc() if not necessary.
268 1999-03-23 Jesse Thilo <jthilo@gnu.org>
270 * po/.cvsignore: Added i18n support.
272 1999-03-23 Jesse Thilo <jthilo@gnu.org>
274 * acconfig.h, configure.in, Makefile.am:
277 1999-03-22 Jesse Thilo <jthilo@gnu.org>
279 * src/bison.s1: Fixed #line numbers.
281 1999-03-15 Jesse Thilo <jthilo@gnu.org>
283 * po/es.po, po/fr.po, po/nl.po, po/de.po:
284 Added PO files from Translation Project.
286 1999-03-03 Jesse Thilo <jthilo@gnu.org>
289 Added support for non-ANSI compilers (ansi2knr).
291 1999-02-16 Jesse Thilo <jthilo@gnu.org>
293 * configure.in: Bumped version number to 1.27.
296 Added `bison.simple' to list of files removed by `make distclean'.
298 1999-02-12 Jesse Thilo <jthilo@gnu.org>
300 * src/files.c, src/files.h:
301 Defined locations of parser files in config.h instead of Makefile.
303 1999-02-12 Jesse Thilo <jthilo@gnu.org>
305 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
306 Defined locations of parser files in config.h instead of Makefile.
308 1999-02-09 Jesse Thilo <jthilo@gnu.org>
311 Removed inappropriate use of $< macro.
313 1999-02-05 Jesse Thilo <jthilo@gnu.org>
315 * po/Makefile.in.in, po/POTFILES.in:
316 Add `po' directory skeleton.
318 1999-01-27 Jesse Thilo <jthilo@gnu.org>
320 * README: Document help-bison list.
322 * configure.in: Add check for mkstemp().
324 1999-01-20 Jesse Thilo <jthilo@gnu.org>
326 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
327 Hush a few compiler warnings.
330 Add tryclose(), which verifies that fclose was successful.
331 Hush a couple of compiler warnings.
333 1999-01-20 Jesse Thilo <jthilo@gnu.org>
335 * Makefile.am, OChangeLog:
336 ChangeLog is now automatically generated. Include the old version as
339 1999-01-14 Jesse Thilo <jthilo@gnu.org>
341 * 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:
344 1999-01-14 Jesse Thilo <jthilo@gnu.org>
346 * doc/bison.texinfo: Fix formatting glitch.
348 * doc/bison.texinfo: Update FSF address.
350 1999-01-14 Jesse Thilo <jthilo@gnu.org>
352 * acconfig.h: Update FSF address.
354 1999-01-08 Jesse Thilo <jthilo@gnu.org>
357 Don't define PACKAGE here, since config.h defines it.
359 1998-12-30 Jesse Thilo <jthilo@gnu.org>
361 * src/reader.c: Update copyright date.
364 Ditch sprintf to statically-sized buffers in fatal/warn functions in
365 favor of output directly to stderr (avoids buffer overruns).
367 * src/reader.c: Some checks for premature EOF.
369 * 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:
370 Use prototypes if the compiler understands them.
372 * src/files.c: Honor TMPDIR on Unix hosts.
373 Use prototypes if the compiler understands them.
376 Fix a couple of buffer overrun bugs.
377 Use prototypes if the compiler understands them.
379 * src/system.h: Include unistd.h and ctype.h.
380 Use #ifdef instead of #if for NLS symbols.
382 1998-12-30 Jesse Thilo <jthilo@gnu.org>
385 Delete comment "consider using @set for edition number, etc..." since
388 1998-12-30 Jesse Thilo <jthilo@gnu.org>
391 Use prototypes if the compiler understands them.
393 * NEWS: Document 1.26 highlights.
395 * Makefile.am: Require Automake 1.3 or later.
398 Use prototypes if the compiler understands them.
400 1998-12-29 Jesse Thilo <jthilo@gnu.org>
403 Use VERSION symbol from automake for version number.
405 1998-12-29 Jesse Thilo <jthilo@gnu.org>
407 * acconfig.h, configure.in, version.cin:
408 Use VERSION symbol from automake for version number.
410 1998-11-28 Jesse Thilo <jthilo@gnu.org>
413 Distribute original version of simple parser (bison.s1), not built
414 version (bison.simple).
416 1998-11-28 Jesse Thilo <jthilo@gnu.org>
418 * doc/bison.texinfo: Add info dir entry.
421 Let automake put version number into documentation.
423 1998-11-26 Jesse Thilo <jthilo@gnu.org>
425 * src/bison.cld, src/build.com, src/vmshlp.mar:
426 Add non-RCS files from /gd/gnu/bison.
428 1998-11-26 Jesse Thilo <jthilo@gnu.org>
431 Document the BISON_HAIRY and BISON_SIMPLE variables.
433 1998-11-25 Jesse Thilo <jthilo@gnu.org>
435 * src/version.c: Build version.c automatically.
438 Fix token numbering (used to start at 258, not 257).
440 * src/system.h: Include config.h.
442 * src/getargs.c: Update bug report address.
444 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
445 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
447 1998-11-25 Jesse Thilo <jthilo@gnu.org>
450 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
452 * configure.in, version.cin:
453 Build version.c automatically.
455 * AUTHORS: Add AUTHORS file.
457 * README: Update bug report address.
460 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
462 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
465 1998-11-25 Jesse Thilo <jthilo@gnu.org>
467 * doc/bison.texinfo: Clean up some formatting.
469 1998-05-05 Richard Stallman <rms@gnu.org>
472 Explain better why to make a pure parser.
474 1998-01-05 Richard Stallman <rms@gnu.org>
476 * src/files.c (openfiles):
477 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
478 find a temporary directory, if possible. Do not unlink files while
481 1997-08-25 Richard Stallman <rms@gnu.org>
483 * src/reader.c (stack_offset;):
484 Change some warni to warns.
486 * src/lex.c (literalchar): Use warns, not warni.
488 1997-06-28 Richard Stallman <rms@gnu.org>
490 * src/bison.s1: Add a Bison version comment.
492 * src/main.c (fatal, warn, berror):
495 1997-06-28 Richard Stallman <rms@gnu.org>
497 * Makefile.in (bison_version): New variable.
498 (dist): Use that variable.
499 (bison.s1): Substitute the Bison version into bison.simple.
501 * bison.simple: Add a Bison version comment.
503 1997-06-18 Richard Stallman <rms@gnu.org>
505 * src/main.c (fatal, warn, berror):
506 Make error messages standard.
507 (toomany): Improve error message text.
509 * 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:
510 new.h renamed to alloc.h.
512 1997-06-18 Richard Stallman <rms@gnu.org>
514 * Makefile.in: new.h renamed to alloc.h.
516 1997-05-24 Richard Stallman <rms@gnu.org>
518 * src/lex.c (literalchar):
519 Fix the code for escaping \, " and '.
521 (lex): Avoid trouble when there are many chars
522 to discard in a char literal with just several chars in it.
524 1997-05-17 Richard Stallman <rms@gnu.org>
527 Use malloc, if using alloca is troublesome.
528 (YYSTACK_USE_ALLOCA): New flag macro.
529 Define it for some systems and compilers.
530 (YYSTACK_ALLOC): New macro.
531 (yyparse): Use YYSTACK_ALLOC to allocate stack.
532 If it was malloc'd, free it.
534 1997-05-17 Richard Stallman <rms@gnu.org>
537 Use malloc, if using alloca is troublesome.
538 (YYSTACK_USE_ALLOCA): New flag macro.
539 Define it for some systems and compilers.
540 (YYSTACK_ALLOC): New macro.
541 (yyparse): Use YYSTACK_ALLOC to allocate stack.
542 If it was malloc'd, free it.
544 1997-04-23 Richard Stallman <rms@gnu.org>
547 (alloca) [__hpux]: Always define as __builtin_alloca.
549 1997-04-23 Richard Stallman <rms@gnu.org>
552 (alloca) [__hpux]: Always define as __builtin_alloca.
554 1997-04-22 Richard Stallman <rms@gnu.org>
557 [__hpux]: Include alloca.h (right for HPUX 10)
558 instead of declaring alloca (right for HPUX 9).
560 * src/bison.s1 (__yy_memcpy):
561 Declare arg `count' as unsigned int.
562 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
564 1997-04-22 Richard Stallman <rms@gnu.org>
567 [__hpux]: Include alloca.h (right for HPUX 10)
568 instead of declaring alloca (right for HPUX 9).
570 * bison.simple (__yy_memcpy):
571 Declare arg `count' as unsigned int.
572 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
574 1997-01-03 Richard Stallman <rms@gnu.org>
576 * src/allocate.c: [__STDC__ or _MSC_VER]:
577 Declare calloc and realloc to return void *.
579 1997-01-02 Richard Stallman <rms@gnu.org>
582 [_MSC_VER]: Include stdlib.h and process.h.
583 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
585 * src/main.c (main): Return FAILURE as a value.
586 (printable_version): Declare arg as int, not char.
588 1997-01-02 Richard Stallman <rms@gnu.org>
590 * Makefile.in (dist):
591 Explicitly check for symlinks, and copy them.
593 1996-12-19 Richard Stallman <rms@gnu.org>
596 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
598 1996-12-18 Paul Eggert <eggert@gnu.org>
600 * src/bison.s1 (yyparse):
601 If __GNUC__ and YYPARSE_PARAM are both defined,
602 declare yyparse to have a void * argument.
604 1996-12-18 Paul Eggert <eggert@gnu.org>
606 * bison.simple (yyparse):
607 If __GNUC__ and YYPARSE_PARAM are both defined,
608 declare yyparse to have a void * argument.
610 1996-12-17 Richard Stallman <rms@gnu.org>
612 * src/reduce.c (nbits): Add some casts.
614 1996-08-12 Richard Stallman <rms@gnu.org>
616 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
618 1996-08-12 Richard Stallman <rms@gnu.org>
620 * bison.simple: Test _MSDOS as well as _MSDOS_.
622 1996-07-31 Richard Stallman <rms@gnu.org>
625 [__sun && __i386]: Include alloca.h.
627 1996-07-31 Richard Stallman <rms@gnu.org>
630 [__sun && __i386]: Include alloca.h.
632 1996-07-30 Richard Stallman <rms@gnu.org>
634 * src/bison.s1: Comment change.
636 * src/bison.s1: Test _MSDOS_, not MSDOS.
638 1996-07-30 Richard Stallman <rms@gnu.org>
640 * bison.simple: Comment change.
642 * bison.simple: Test _MSDOS_, not MSDOS.
644 1996-06-01 Richard Stallman <rms@gnu.org>
646 * 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:
647 Insert `_' macro around many string constants.
650 Insert `_' macro around many string constants.
652 (main): Call setlocale, bindtextdomain and textdomain.
654 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
655 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
656 [ENABLE_NLS]: Include libintl.h.
657 [ENABLE_NLS] (gettext): Define.
658 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
659 (N_, PACKAGE, LOCALEDIR): New macros.
661 1996-06-01 Richard Stallman <rms@gnu.org>
663 * POTFILES.in: New file.
665 * Makefile.in (allocate.o):
666 Define target explicitly.
668 * Makefile.in (CFLAGS): Set to @CFLAGS@.
669 (LDFLAGS): Set to @LDFLAGS@.
670 (configure): Run autoconf only if preceding `cd' succeeds.
671 (bison.s1): Redirect output to temporary file then move the
672 temporary to the target, rather than redirecting directly to bison.s1.
673 (clean): Remove config.status and config.log.
674 (distclean): Don't remove config.status here.
676 1996-05-12 Richard Stallman <rms@gnu.org>
679 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
681 1996-05-12 Richard Stallman <rms@gnu.org>
684 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
686 1996-05-11 Richard Stallman <rms@gnu.org>
688 * src/bison.s1 (__yy_memcpy):
689 Really reorder the args, as was supposedly done on Feb 14 1995.
690 (yyparse): Calls changed accordingly.
692 1996-05-11 Richard Stallman <rms@gnu.org>
694 * Makefile.in (dist): Don't use $(srcdir).
696 * bison.simple (__yy_memcpy):
697 Really reorder the args, as was supposedly done on Feb 14 1995.
698 (yyparse): Calls changed accordingly.
700 1996-01-27 Richard Stallman <rms@gnu.org>
702 * src/output.c (output_rule_data):
703 Test YYERROR_VERBOSE in the conditional
704 around the definition of ttyname.
706 1995-12-29 Richard Stallman <rms@gnu.org>
709 Fix line numbers in #line commands.
711 1995-12-29 Richard Stallman <rms@gnu.org>
714 Fix line numbers in #line commands.
716 1995-12-27 Richard Stallman <rms@gnu.org>
718 * src/bison.s1 (YYPARSE_PARAM_DECL):
719 In C++, make it always null.
720 (YYPARSE_PARAM_ARG): New macro.
721 (yyparse): Use YYPARSE_PARAM_ARG.
723 1995-12-27 Richard Stallman <rms@gnu.org>
725 * bison.simple (YYPARSE_PARAM_DECL):
726 In C++, make it always null.
727 (YYPARSE_PARAM_ARG): New macro.
728 (yyparse): Use YYPARSE_PARAM_ARG.
730 1995-11-29 Richard Stallman <rms@gnu.org>
733 Describe literal string tokens, %raw, %no_lines, %token_table.
735 1995-11-29 Daniel Hagerty <hag@gnu.org>
737 * doc/bison.texinfo: Fixed update date
739 1995-10-16 Richard Stallman <rms@gnu.org>
741 * src/version.c: Version 1.25.
743 1995-10-16 Richard Stallman <rms@gnu.org>
745 * NEWS: *** empty log message ***
747 1995-10-16 Richard Stallman <rms@gnu.org>
749 * doc/bison.1, doc/bison.rnh:
752 1995-10-15 Richard Stallman <rms@gnu.org>
754 * src/vmsgetargs.c, src/getargs.c:
755 Added -n, -k, and -raw switches.
756 (noparserflag, toknumflag, rawtoknumflag): New variables.
758 * src/symtab.h (SALIAS):
759 New #define for adding aliases to %token.
760 (struct bucket): Added `alias' field.
762 * src/reduce.c (reduce_grammar):
763 Revise error message.
764 (print_notices): Remove final `.' from error message.
766 * src/reader.c (reader_output_yylsp):
768 (readgram): Use `#if 0' around code that accepted %command
769 inside grammar rules: The documentation doesn't allow it,
770 and it will fail since the %command processors scan for the next %.
771 (parse_token_decl): Extended the %token
772 declaration to allow a multi-character symbol as an alias.
773 (parse_thong_decl): New function.
774 (read_declarations): Added %thong declarations.
775 (read_declarations): Handle NOOP to deal with allowing
776 % declarations as another means to specify the flags.
777 (readgram): Allow %prec prior to semantics embedded in a rule.
778 (skip_to_char, read_declarations, copy_definition)
779 (parse_token_decl, parse_start_decl, parse_type_decl)
780 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
781 (get_type_name, copy_guard, copy_action, readgram)
782 (get_type, packsymbols): Revised most error messages.
783 Changed `fatal' to `warnxxx' to avoid aborting for error.
784 Revised and use multiple warnxxx functions to avoid using VARARGS1.
785 (read_declarations): Improve the error message for
786 an invalid character. Do not abort.
787 (read_declarations, copy_guard, copy_action): Use
788 printable_version to avoid unprintable characters in printed output.
789 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
790 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
791 Allow the type of a non-terminal can be given
792 more than once, as long as all specifications give the same type.
795 (output_headers, output_trailers, output, output_gram)
796 (output_rule_data): Implement noparserflag variable.
797 Implement toknumflag variable.
798 (output): Call reader_output_yylsp to output LTYPESTR.
801 If reader sees an error, don't process the grammar.
802 (fatals): Updated to not use VARARGS1.
803 (printable_version, int_to_string, warn, warni, warns, warnss)
804 (warnsss): New error reporting functions. Avoid abort for error.
807 Added THONG and NOOP for alias processing.
808 Added SETOPT for the new code that allows setting options with %flags.
811 Include getopt.h. Add some extern decls.
812 (safegetc): New function to deal with EOF gracefully.
813 (literalchar); new function to deal with reading \ escapes.
814 (lex): Use literalchar.
815 (lex): Implemented "..." tokens.
816 (literalchar, lex, parse_percent_token): Made tokenbuffer
817 always contain the token. This includes growing the token
818 buffer while reading an integer.
819 (parse_percent_token): Replaced if-else statement with percent_table.
820 (parse_percent_token): Added % declarations as another
821 way to specify the flags -n, -l, and -r. Also added hooks for
822 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
823 major changes to files.c.
824 (lex) Retain in the incoming stream a character following
826 (skip_white_space, lex): Revised most error messages
827 and changed fatal to warn to avoid aborting.
828 (percent_table): Added %thong declarations.
830 * src/gram.h: Comment changes.
832 * src/files.c (openfiles, open_extra_files, done):
834 and actfile file. Handle noparserflag. Both for -n switch.
836 * src/conflicts.c (resolve_sr_conflict):
837 Remove use of alloca.
839 1995-06-01 Jim Meyering <meyering@gnu.org>
841 * doc/bison.texinfo: *** empty log message ***
843 1995-05-06 Richard Stallman <rms@gnu.org>
845 * src/bison.s1: Comment change.
847 1995-05-06 Richard Stallman <rms@gnu.org>
849 * bison.simple: Comment change.
851 1995-05-03 Richard Stallman <rms@gnu.org>
853 * src/version.c: Version now 1.24.
855 * src/bison.s1: Change distribution terms.
857 * src/version.c: Version now 1.23.
859 1995-05-03 Richard Stallman <rms@gnu.org>
862 Rewrite "Conditions for Using Bison".
863 Update version to 1.24.
865 1995-05-03 Richard Stallman <rms@gnu.org>
867 * bison.simple: Change distribution terms.
869 1995-02-23 Richard Stallman <rms@gnu.org>
871 * src/files.c: Test __VMS_POSIX as well as VMS.
873 1995-02-14 Jim Meyering <meyering@gnu.org>
875 * src/bison.s1 (__yy_memcpy):
876 Renamed from __yy_bcopy to avoid
877 confusion. Reverse FROM and TO arguments to be consistent with
880 1995-02-14 Jim Meyering <meyering@gnu.org>
882 * bison.simple (__yy_memcpy):
883 Renamed from __yy_bcopy to avoid
884 confusion. Reverse FROM and TO arguments to be consistent with
887 1994-11-10 David J. MacKenzie <djm@gnu.org>
893 * Makefile.in (DISTFILES): Include NEWS.
895 * Makefile.in (DISTFILES):
896 Include install-sh, not install.sh.
898 * configure.in: Update to Autoconf v2 macro names.
900 1994-10-05 David J. MacKenzie <djm@gnu.org>
902 * Makefile.in: fix typo
904 * Makefile.in (prefix, exec_prefix):
905 Let configure set them.
907 1994-09-28 David J. MacKenzie <djm@gnu.org>
909 * Makefile.in: Set datadir to $(prefix)/share.
911 1994-09-15 Richard Stallman <rms@gnu.org>
914 Update copyright notice and GPL version.
916 1994-09-15 Richard Stallman <rms@gnu.org>
919 Update copyright notice and GPL version.
921 1994-07-12 Richard Stallman <rms@gnu.org>
923 * src/reduce.c, src/reader.c:
926 1994-05-05 David J. MacKenzie <djm@gnu.org>
928 * Makefile.in: entered into RCS
930 1994-03-26 Richard Stallman <rms@gnu.org>
932 * src/bison.s1: entered into RCS
934 1994-03-26 Richard Stallman <rms@gnu.org>
936 * bison.simple: entered into RCS
938 1994-03-25 Richard Stallman <rms@gnu.org>
940 * src/main.c: entered into RCS
942 1994-03-24 Richard Stallman <rms@gnu.org>
944 * src/conflicts.c: entered into RCS
946 1994-01-02 Richard Stallman <rms@gnu.org>
948 * Makefile.in: *** empty log message ***
950 1993-11-21 Richard Stallman <rms@gnu.org>
952 * src/bison.s1: *** empty log message ***
954 1993-11-21 Richard Stallman <rms@gnu.org>
956 * doc/bison.texinfo: entered into RCS
958 * doc/bison.texinfo: *** empty log message ***
960 1993-11-21 Richard Stallman <rms@gnu.org>
962 * bison.simple: *** empty log message ***
964 1993-10-25 David J. MacKenzie <djm@gnu.org>
966 * doc/bison.texinfo: *** empty log message ***
968 1993-10-19 Richard Stallman <rms@gnu.org>
970 * src/bison.s1: *** empty log message ***
972 1993-10-19 Richard Stallman <rms@gnu.org>
974 * bison.simple: *** empty log message ***
976 1993-10-14 Richard Stallman <rms@gnu.org>
978 * src/bison.s1: *** empty log message ***
980 1993-10-14 Richard Stallman <rms@gnu.org>
982 * bison.simple: *** empty log message ***
984 1993-09-14 David J. MacKenzie <djm@gnu.org>
986 * doc/bison.texinfo: *** empty log message ***
988 1993-09-13 Noah Friedman <friedman@gnu.org>
990 * Makefile.in: *** empty log message ***
992 1993-09-10 Richard Stallman <rms@gnu.org>
994 * src/conflicts.c: *** empty log message ***
996 * src/system.h: entered into RCS
998 1993-09-10 Richard Stallman <rms@gnu.org>
1000 * doc/bison.1: entered into RCS
1002 1993-09-06 Noah Friedman <friedman@gnu.org>
1004 * src/version.c: entered into RCS
1006 1993-09-06 Noah Friedman <friedman@gnu.org>
1008 * Makefile.in: *** empty log message ***
1010 1993-07-30 David J. MacKenzie <djm@gnu.org>
1012 * Makefile.in: *** empty log message ***
1014 1993-07-24 Richard Stallman <rms@gnu.org>
1016 * src/bison.s1: *** empty log message ***
1018 1993-07-24 Richard Stallman <rms@gnu.org>
1020 * bison.simple: *** empty log message ***
1022 1993-07-08 David J. MacKenzie <djm@gnu.org>
1024 * Makefile.in: *** empty log message ***
1026 1993-07-04 Richard Stallman <rms@gnu.org>
1028 * src/bison.s1: *** empty log message ***
1030 1993-07-04 Richard Stallman <rms@gnu.org>
1032 * bison.simple: *** empty log message ***
1034 1993-06-26 David J. MacKenzie <djm@gnu.org>
1036 * src/getargs.c: entered into RCS
1038 1993-06-26 David J. MacKenzie <djm@gnu.org>
1040 * doc/bison.texinfo: *** empty log message ***
1042 * doc/bison.1: New file.
1044 1993-06-25 Richard Stallman <rms@gnu.org>
1046 * src/getargs.c: New file.
1048 1993-06-16 Richard Stallman <rms@gnu.org>
1050 * src/bison.s1: *** empty log message ***
1052 1993-06-16 Richard Stallman <rms@gnu.org>
1054 * bison.simple: *** empty log message ***
1056 1993-06-03 Richard Stallman <rms@gnu.org>
1058 * src/bison.s1: New file.
1060 1993-06-03 Richard Stallman <rms@gnu.org>
1062 * doc/bison.texinfo: *** empty log message ***
1064 1993-06-03 Richard Stallman <rms@gnu.org>
1066 * bison.simple: New file.
1068 1993-05-19 Richard Stallman <rms@gnu.org>
1070 * doc/bison.texinfo: New file.
1072 1993-05-07 Noah Friedman <friedman@gnu.org>
1074 * Makefile.in: *** empty log message ***
1076 1993-04-28 Noah Friedman <friedman@gnu.org>
1078 * src/reader.c: *** empty log message ***
1080 1993-04-23 Noah Friedman <friedman@gnu.org>
1082 * src/alloc.h: entered into RCS
1084 1993-04-20 David J. MacKenzie <djm@gnu.org>
1086 * src/version.c: *** empty log message ***
1088 * src/files.c, src/allocate.c:
1091 * src/reader.c: *** empty log message ***
1093 * src/lex.c: entered into RCS
1095 * src/conflicts.c: New file.
1097 * src/symtab.c: entered into RCS
1099 * src/alloc.h: New file.
1101 * src/LR0.c: entered into RCS
1103 1993-04-18 Noah Friedman <friedman@gnu.org>
1105 * src/reader.c: New file.
1107 * src/version.c: *** empty log message ***
1109 1993-04-18 Noah Friedman <friedman@gnu.org>
1111 * Makefile.in: *** empty log message ***
1113 1993-04-17 Noah Friedman <friedman@gnu.org>
1115 * Makefile.in: *** empty log message ***
1117 1993-04-15 Richard Stallman <rms@gnu.org>
1119 * src/main.c, src/files.c:
1122 1993-04-15 Noah Friedman <friedman@gnu.org>
1124 * configure.in: entered into RCS
1126 * configure.in: *** empty log message ***
1128 * configure.in: New file.
1130 1993-04-14 Richard Stallman <rms@gnu.org>
1132 * Makefile.in: New file.
1134 1993-04-13 Richard Stallman <rms@gnu.org>
1136 * src/version.c: New file.
1138 1993-03-25 Richard Stallman <rms@gnu.org>
1140 * src/output.c: entered into RCS
1142 1992-09-25 Richard Stallman <rms@gnu.org>
1144 * configure.bat: entered into RCS
1146 1992-06-22 Richard Stallman <rms@gnu.org>
1148 * src/vmsgetargs.c: entered into RCS
1150 1992-06-22 Richard Stallman <rms@gnu.org>
1152 * doc/bison.rnh: entered into RCS
1154 1992-04-20 David J. MacKenzie <djm@gnu.org>
1156 * README: entered into RCS
1158 1992-01-22 Richard Stallman <rms@gnu.org>
1160 * src/machine.h: entered into RCS
1162 1991-12-21 Richard Stallman <rms@gnu.org>
1164 * src/lalr.c, src/closure.c:
1167 1991-12-20 Richard Stallman <rms@gnu.org>
1169 * src/state.h: entered into RCS
1171 1991-12-18 Richard Stallman <rms@gnu.org>
1173 * src/print.c, src/nullable.c, src/derives.c:
1176 1991-11-03 David J. MacKenzie <djm@gnu.org>
1178 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1181 1988-09-09 Richard Stallman <rms@gnu.org>
1183 * src/bison.hairy: entered into RCS
1185 1987-12-16 Richard Stallman <rms@gnu.org>
1187 * REFERENCES: entered into RCS