1 2000-09-18 Akim Demaille <akim@epita.fr>
3 First set of tests: use the `calc' example from the documentation.
5 * src/bison.s1 (yyparse): Condition the code using `yytname' which
6 is defined only when YYDEBUG is.
7 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
8 * src/files.c (tryopen, tryclose): Formatting changes.
9 Move to the top and be static.
10 * src/reader.c (read_signed_integer): Likewise.
11 * tests/calc.m4: New file.
12 * Makefile.am, suite.m4: Adjust.
13 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
15 2000-09-18 Akim Demaille <akim@epita.fr>
17 Add support for an Autotest test suite for Bison.
19 * m4/m4.m4, m4/atconfig.m4: New files.
20 * m4/Makefile.am (EXTRA_DIST): Adjust.
21 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
23 * src/getargs.c: Display a more standard --version message.
24 * src/reader.c (reader): Formatting changes.
25 No longer depend upon VERSION_STRING.
26 * configure.in: No longer use `dnl'.
27 Set up the test suite and the new directory `tests/.
28 (VERSION_STRING): Remove.
30 2000-04-14 Akim Demaille <akim@epita.fr>
32 * src/reader.c (copy_comment2): New function, same as former
33 `copy_comment', but outputs into two FILE *.
34 (copy_comment): Use it.
35 (parse_union_decl): Use it.
36 (get_type, parse_start_decl): Use the same `invalid' message.
37 (parse_start_decl, parse_union_decl): Use the same `multiple'
39 (parse_union_decl, copy_guard, copy_action): Use the same
41 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
43 2000-03-31 Akim Demaille <akim@epita.fr>
45 * src/files.c (tryopen, tryclose): Move to the top.
48 2000-03-31 Akim Demaille <akim@epita.fr>
50 * src/main.c (main): Don't call `done', exit does it.
52 2000-03-31 Akim Demaille <akim@epita.fr>
54 * allocate.c: s/return (foo)/return foo/.
60 * vmsgetargs.c: Likewise.
62 2000-03-31 Akim Demaille <akim@epita.fr>
64 Clean up the error reporting functions.
66 * src/report.c: New file.
67 * src/report.h: Likewise.
68 * src/Makefile.am: Adjust.
69 * m4/error.m4: New file.
70 * m4/Makefile.am: Adjust.
71 * configure.in (jm_PREREQ_ERROR): Call it.
72 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
74 (fatal, fatals): Remove. All callers use complain.c::fatal.
75 (warn, warni, warns, warnss, warnss): Remove. All callers use
77 (toomany): Remove, use fatal instead.
78 * src/files.c (done): No argument, use complain_message_count.
79 * src/main.c (main): Register `done' to `atexit'.
81 * src/getargs.c (usage): More `fputs', less `fprintf'.
83 2000-03-28 Akim Demaille <akim@epita.fr>
85 * lib/: New directory.
86 * Makefile.am (SUBDIRS): Adjust.
87 * configure.in: Adjust.
88 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
90 * src/alloca.c: Moved to lib/.
91 * src/getopt.c: Likewise.
92 * src/getopt1.c: Likewise.
93 * src/getopt.h: Likewise.
94 * src/ansi2knr.c: Likewise.
95 * src/ansi2knr.1: Likewise.
96 * src/Makefile.am: Adjust.
97 * lib/Makefile.am: New file.
99 2000-03-28 Akim Demaille <akim@epita.fr>
101 * src/getargs.c (usage): Refresh the help message.
103 2000-03-17 Akim Demaille <akim@epita.fr>
105 * src/getopt1.c: Updated from textutils 2.0e
106 * src/getopt.c: Likewise.
107 * src/getopt.h: Likewise.
109 2000-03-17 Akim Demaille <akim@epita.fr>
111 * src/Makefile.am (bison.simple): Fix the awk program: quote only
112 the file name, not the whole `#line LINE FILE'.
114 2000-03-17 Akim Demaille <akim@epita.fr>
116 On syntax errors, report the token on which we choked.
118 * src/bison.s1 (yyparse): In the label yyerrlab, when
119 YYERROR_VERBOSE, add yychar in msg.
121 2000-03-17 Akim Demaille <akim@epita.fr>
123 * src/reader.c (copy_at): New function.
124 (copy_guard): Use it.
125 (copy_action): Use it.
127 2000-03-17 Akim Demaille <akim@epita.fr>
129 Be kind to translators, save some useless translations.
131 * src/main.c (banner): New function.
132 (fatal_banner): Use it.
133 (warn_banner): Use it.
135 2000-03-17 Akim Demaille <akim@epita.fr>
137 * src/reader.c (copy_definition): Use copy_string and
138 copy_comment. Removed now unused `match', `ended',
140 (copy_comment, copy_string): Moved, to be visible from
143 2000-03-17 Akim Demaille <akim@epita.fr>
145 * src/reader.c (copy_string): Declare `static inline'. No
146 problems with inline, since it is checked by configure.
147 (copy_comment): Likewise.
149 2000-03-17 Akim Demaille <akim@epita.fr>
151 * src/reader.c (packsymbols): Formatting changes.
153 2000-03-17 Akim Demaille <akim@epita.fr>
155 * src/reader.c (copy_comment): New function, factored out from:
156 (copy_action): Use it. Removed now unused `match', `ended',
158 (copy_guard): Likewise.
160 2000-03-17 Akim Demaille <akim@epita.fr>
162 * src/reader.c (copy_string): New function, factored out from:
163 (copy_action): Use it.
164 (copy_guard): Likewise.
166 2000-03-17 Akim Demaille <akim@epita.fr>
168 Change the handling of @s so that they behave exactly like $s.
169 There is now a pseudo variable @$ (readble and writable), location
170 of the lhs of the rule (by default ranging from the location of
171 the first symbol of the rhs, to the location of the last symbol,
172 or, if the rhs is empty, YYLLOC).
174 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
176 (yyparse): When providing a default semantic action, provide a
177 default location action.
178 (after the $): No longer change `*YYLSP', just stack YYLOC the
179 same way you stack YYVAL.
180 * src/reader.c (read_declarations): Use warns.
181 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
182 (copy_action, case '@'): Likewise.
183 Use a standard error message, to save useless work from
186 2000-03-17 Akim Demaille <akim@epita.fr>
188 * src/bison.s1: Formatting and cosmetics changes.
189 * src/reader.c: Likewise.
190 Update the Copyright notice.
192 2000-03-17 Akim Demaille <akim@epita.fr>
194 * src/bison.s1 (#line): All set to `#line' only, since the
195 Makefile now handles them.
197 2000-03-16 Akim Demaille <akim@epita.fr>
199 * src/output.c (output_rule_data): Output the documentation of
201 (Copyright notice): Update.
204 2000-03-16 Akim Demaille <akim@epita.fr>
206 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
207 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
208 One `#if YYDEBUG' remains, since it uses variables which are
209 defined only if `YYDEBUG != 0'.
211 2000-03-16 Akim Demaille <akim@epita.fr>
213 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
214 and related variables so that the similarities are highlighted.
216 2000-03-16 Akim Demaille <akim@epita.fr>
218 * src/bison.s1: Properly indent CPP directives.
220 2000-03-16 Akim Demaille <akim@epita.fr>
222 * src/bison.s1: Properly indent the `alloca' CPP section.
224 2000-03-16 Akim Demaille <akim@epita.fr>
226 Do not hard code values of directories in `configure.in'.
227 Update the `configure' tool chain.
229 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
231 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
232 (AC_OUTPUT): Add m4/Makefile.
233 Bump to bison 1.28a, 1.29 has never been released.
234 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
235 handled via src/Makefile.am.
236 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
237 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
239 * Makefile.am (SUBDIRS): Add m4.
240 (ACLOCAL_AM_FLAGS): New variable.
241 (AUTOMAKE_OPTIONS): Add check-news.
242 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
243 the proper line number and file name.
244 (DEFS): Propagate the location of bison library files and of the
246 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
248 * acinclude.m4: Remove, replaced by the directory m4.
249 * m4/Makefile.am (EXTRA_DIST): New variable.
250 * m4/gettext.m4: New file, from the fileutils.
251 * m4/lcmessage.m4: Likewise
252 * m4/progtest.m4: Likewise.
253 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
255 2000-03-10 Akim Demaille <akim@epita.fr>
258 Formatting changes of various comments.
259 Respect the GNU coding standards at various places.
260 Don't use `_()' when no translation is needed.
262 1999-12-13 Jesse Thilo <jthilo@gnu.org>
265 OS/2 honors TMPDIR environment variable.
267 1999-12-13 Jesse Thilo <jthilo@gnu.org>
269 * doc/bison.texinfo: Tweaked spelling and grammar.
271 Removed reference to price of printed copy.
272 Mention BISON_SIMPLE and BISON_HAIRY.
274 1999-12-13 Jesse Thilo <jthilo@gnu.org>
276 * configure.in, NEWS:
279 1999-10-27 Jesse Thilo <jthilo@gnu.org>
281 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
282 Added reference card.
284 1999-07-26 Jesse Thilo <jthilo@gnu.org>
286 * po/ru.po: Added Russian translation.
288 1999-07-26 Jesse Thilo <jthilo@gnu.org>
290 * configure.in: Added Russian translation.
292 1999-07-06 Jesse Thilo <jthilo@gnu.org>
294 * configure.in, NEWS, README:
295 Released version 1.28.
297 1999-06-14 Jesse Thilo <jthilo@gnu.org>
300 Squashed redefinition warning on some systems.
302 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
303 Have configure build version string instead of relying on ANSI string
306 1999-06-14 Jesse Thilo <jthilo@gnu.org>
308 * po/POTFILES.in: Got rid of version.c.
310 1999-06-14 Jesse Thilo <jthilo@gnu.org>
312 * acconfig.h, configure.in:
313 Have configure build version string instead of relying on ANSI string
316 1999-06-08 Jesse Thilo <jthilo@gnu.org>
319 Dropped mention of `+' for long-named options.
321 1999-05-30 Jesse Thilo <jthilo@gnu.org>
323 * src/files.c: Added <unistd.h> for unlink().
325 * src/Makefile.am, src/system.h:
328 1999-05-30 Jesse Thilo <jthilo@gnu.org>
330 * README: Added a FAQ list.
332 * configure.in, acconfig.h:
335 1999-05-30 Jesse Thilo <jthilo@gnu.org>
337 * doc/FAQ, doc/Makefile.am:
340 1999-05-19 Jesse Thilo <jthilo@gnu.org>
342 * src/alloc.h, src/symtab.h, src/version.c:
343 Protected inclusion of "config.h" with HAVE_CONFIG_H.
345 1999-04-18 Jesse Thilo <jthilo@gnu.org>
347 * src/.cvsignore, src/Makefile.am:
348 Reorganized: sources in `src', documentation in `doc'.
350 * src/lex.c (literalchar):
351 fixed the code for escaping double quotes (thanks
354 1999-04-18 Jesse Thilo <jthilo@gnu.org>
356 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
357 Adjusted paths to reflect directory reorganization.
359 1999-04-18 Jesse Thilo <jthilo@gnu.org>
361 * doc/.cvsignore, doc/Makefile.am:
362 Reorganized: sources in `src', documentation in `doc'.
364 1999-04-18 Jesse Thilo <jthilo@gnu.org>
367 Updated AC_INIT file to reflect directory reorganization.
369 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
370 Reorganized: sources in `src', documentation in `doc'.
372 1999-04-13 Jesse Thilo <jthilo@gnu.org>
375 Don't declare calloc() and realloc() if not necessary.
377 1999-04-13 Jesse Thilo <jthilo@gnu.org>
379 * configure.in, acconfig.h, acinclude.m4:
380 Don't declare calloc() and realloc() if not necessary.
382 1999-03-23 Jesse Thilo <jthilo@gnu.org>
384 * po/.cvsignore: Added i18n support.
386 1999-03-23 Jesse Thilo <jthilo@gnu.org>
388 * acconfig.h, configure.in, Makefile.am:
391 1999-03-22 Jesse Thilo <jthilo@gnu.org>
393 * src/bison.s1: Fixed #line numbers.
395 1999-03-15 Jesse Thilo <jthilo@gnu.org>
397 * po/es.po, po/fr.po, po/nl.po, po/de.po:
398 Added PO files from Translation Project.
400 1999-03-03 Jesse Thilo <jthilo@gnu.org>
403 Added support for non-ANSI compilers (ansi2knr).
405 1999-02-16 Jesse Thilo <jthilo@gnu.org>
407 * configure.in: Bumped version number to 1.27.
410 Added `bison.simple' to list of files removed by `make distclean'.
412 1999-02-12 Jesse Thilo <jthilo@gnu.org>
414 * src/files.c, src/files.h:
415 Defined locations of parser files in config.h instead of Makefile.
417 1999-02-12 Jesse Thilo <jthilo@gnu.org>
419 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
420 Defined locations of parser files in config.h instead of Makefile.
422 1999-02-09 Jesse Thilo <jthilo@gnu.org>
425 Removed inappropriate use of $< macro.
427 1999-02-05 Jesse Thilo <jthilo@gnu.org>
429 * po/Makefile.in.in, po/POTFILES.in:
430 Add `po' directory skeleton.
432 1999-01-27 Jesse Thilo <jthilo@gnu.org>
434 * README: Document help-bison list.
436 * configure.in: Add check for mkstemp().
438 1999-01-20 Jesse Thilo <jthilo@gnu.org>
440 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
441 Hush a few compiler warnings.
444 Add tryclose(), which verifies that fclose was successful.
445 Hush a couple of compiler warnings.
447 1999-01-20 Jesse Thilo <jthilo@gnu.org>
449 * Makefile.am, OChangeLog:
450 ChangeLog is now automatically generated. Include the old version as
453 1999-01-14 Jesse Thilo <jthilo@gnu.org>
455 * 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:
458 1999-01-14 Jesse Thilo <jthilo@gnu.org>
460 * doc/bison.texinfo: Fix formatting glitch.
462 * doc/bison.texinfo: Update FSF address.
464 1999-01-14 Jesse Thilo <jthilo@gnu.org>
466 * acconfig.h: Update FSF address.
468 1999-01-08 Jesse Thilo <jthilo@gnu.org>
471 Don't define PACKAGE here, since config.h defines it.
473 1998-12-30 Jesse Thilo <jthilo@gnu.org>
475 * src/reader.c: Update copyright date.
478 Ditch sprintf to statically-sized buffers in fatal/warn functions in
479 favor of output directly to stderr (avoids buffer overruns).
481 * src/reader.c: Some checks for premature EOF.
483 * 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:
484 Use prototypes if the compiler understands them.
486 * src/files.c: Honor TMPDIR on Unix hosts.
487 Use prototypes if the compiler understands them.
490 Fix a couple of buffer overrun bugs.
491 Use prototypes if the compiler understands them.
493 * src/system.h: Include unistd.h and ctype.h.
494 Use #ifdef instead of #if for NLS symbols.
496 1998-12-30 Jesse Thilo <jthilo@gnu.org>
499 Delete comment "consider using @set for edition number, etc..." since
502 1998-12-30 Jesse Thilo <jthilo@gnu.org>
505 Use prototypes if the compiler understands them.
507 * NEWS: Document 1.26 highlights.
509 * Makefile.am: Require Automake 1.3 or later.
512 Use prototypes if the compiler understands them.
514 1998-12-29 Jesse Thilo <jthilo@gnu.org>
517 Use VERSION symbol from automake for version number.
519 1998-12-29 Jesse Thilo <jthilo@gnu.org>
521 * acconfig.h, configure.in, version.cin:
522 Use VERSION symbol from automake for version number.
524 1998-11-28 Jesse Thilo <jthilo@gnu.org>
527 Distribute original version of simple parser (bison.s1), not built
528 version (bison.simple).
530 1998-11-28 Jesse Thilo <jthilo@gnu.org>
532 * doc/bison.texinfo: Add info dir entry.
535 Let automake put version number into documentation.
537 1998-11-26 Jesse Thilo <jthilo@gnu.org>
539 * src/bison.cld, src/build.com, src/vmshlp.mar:
540 Add non-RCS files from /gd/gnu/bison.
542 1998-11-26 Jesse Thilo <jthilo@gnu.org>
545 Document the BISON_HAIRY and BISON_SIMPLE variables.
547 1998-11-25 Jesse Thilo <jthilo@gnu.org>
549 * src/version.c: Build version.c automatically.
552 Fix token numbering (used to start at 258, not 257).
554 * src/system.h: Include config.h.
556 * src/getargs.c: Update bug report address.
558 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
559 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
561 1998-11-25 Jesse Thilo <jthilo@gnu.org>
564 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
566 * configure.in, version.cin:
567 Build version.c automatically.
569 * AUTHORS: Add AUTHORS file.
571 * README: Update bug report address.
574 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
576 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
579 1998-11-25 Jesse Thilo <jthilo@gnu.org>
581 * doc/bison.texinfo: Clean up some formatting.
583 1998-05-05 Richard Stallman <rms@gnu.org>
586 Explain better why to make a pure parser.
588 1998-01-05 Richard Stallman <rms@gnu.org>
590 * src/files.c (openfiles):
591 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
592 find a temporary directory, if possible. Do not unlink files while
595 1997-08-25 Richard Stallman <rms@gnu.org>
597 * src/reader.c (stack_offset;):
598 Change some warni to warns.
600 * src/lex.c (literalchar): Use warns, not warni.
602 1997-06-28 Richard Stallman <rms@gnu.org>
604 * src/bison.s1: Add a Bison version comment.
606 * src/main.c (fatal, warn, berror):
609 1997-06-28 Richard Stallman <rms@gnu.org>
611 * Makefile.in (bison_version): New variable.
612 (dist): Use that variable.
613 (bison.s1): Substitute the Bison version into bison.simple.
615 * bison.simple: Add a Bison version comment.
617 1997-06-18 Richard Stallman <rms@gnu.org>
619 * src/main.c (fatal, warn, berror):
620 Make error messages standard.
621 (toomany): Improve error message text.
623 * 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:
624 new.h renamed to alloc.h.
626 1997-06-18 Richard Stallman <rms@gnu.org>
628 * Makefile.in: new.h renamed to alloc.h.
630 1997-05-24 Richard Stallman <rms@gnu.org>
632 * src/lex.c (literalchar):
633 Fix the code for escaping \, " and '.
635 (lex): Avoid trouble when there are many chars
636 to discard in a char literal with just several chars in it.
638 1997-05-17 Richard Stallman <rms@gnu.org>
641 Use malloc, if using alloca is troublesome.
642 (YYSTACK_USE_ALLOCA): New flag macro.
643 Define it for some systems and compilers.
644 (YYSTACK_ALLOC): New macro.
645 (yyparse): Use YYSTACK_ALLOC to allocate stack.
646 If it was malloc'd, free it.
648 1997-05-17 Richard Stallman <rms@gnu.org>
651 Use malloc, if using alloca is troublesome.
652 (YYSTACK_USE_ALLOCA): New flag macro.
653 Define it for some systems and compilers.
654 (YYSTACK_ALLOC): New macro.
655 (yyparse): Use YYSTACK_ALLOC to allocate stack.
656 If it was malloc'd, free it.
658 1997-04-23 Richard Stallman <rms@gnu.org>
661 (alloca) [__hpux]: Always define as __builtin_alloca.
663 1997-04-23 Richard Stallman <rms@gnu.org>
666 (alloca) [__hpux]: Always define as __builtin_alloca.
668 1997-04-22 Richard Stallman <rms@gnu.org>
671 [__hpux]: Include alloca.h (right for HPUX 10)
672 instead of declaring alloca (right for HPUX 9).
674 * src/bison.s1 (__yy_memcpy):
675 Declare arg `count' as unsigned int.
676 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
678 1997-04-22 Richard Stallman <rms@gnu.org>
681 [__hpux]: Include alloca.h (right for HPUX 10)
682 instead of declaring alloca (right for HPUX 9).
684 * bison.simple (__yy_memcpy):
685 Declare arg `count' as unsigned int.
686 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
688 1997-01-03 Richard Stallman <rms@gnu.org>
690 * src/allocate.c: [__STDC__ or _MSC_VER]:
691 Declare calloc and realloc to return void *.
693 1997-01-02 Richard Stallman <rms@gnu.org>
696 [_MSC_VER]: Include stdlib.h and process.h.
697 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
699 * src/main.c (main): Return FAILURE as a value.
700 (printable_version): Declare arg as int, not char.
702 1997-01-02 Richard Stallman <rms@gnu.org>
704 * Makefile.in (dist):
705 Explicitly check for symlinks, and copy them.
707 1996-12-19 Richard Stallman <rms@gnu.org>
710 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
712 1996-12-18 Paul Eggert <eggert@gnu.org>
714 * src/bison.s1 (yyparse):
715 If __GNUC__ and YYPARSE_PARAM are both defined,
716 declare yyparse to have a void * argument.
718 1996-12-18 Paul Eggert <eggert@gnu.org>
720 * bison.simple (yyparse):
721 If __GNUC__ and YYPARSE_PARAM are both defined,
722 declare yyparse to have a void * argument.
724 1996-12-17 Richard Stallman <rms@gnu.org>
726 * src/reduce.c (nbits): Add some casts.
728 1996-08-12 Richard Stallman <rms@gnu.org>
730 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
732 1996-08-12 Richard Stallman <rms@gnu.org>
734 * bison.simple: Test _MSDOS as well as _MSDOS_.
736 1996-07-31 Richard Stallman <rms@gnu.org>
739 [__sun && __i386]: Include alloca.h.
741 1996-07-31 Richard Stallman <rms@gnu.org>
744 [__sun && __i386]: Include alloca.h.
746 1996-07-30 Richard Stallman <rms@gnu.org>
748 * src/bison.s1: Comment change.
750 * src/bison.s1: Test _MSDOS_, not MSDOS.
752 1996-07-30 Richard Stallman <rms@gnu.org>
754 * bison.simple: Comment change.
756 * bison.simple: Test _MSDOS_, not MSDOS.
758 1996-06-01 Richard Stallman <rms@gnu.org>
760 * 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:
761 Insert `_' macro around many string constants.
764 Insert `_' macro around many string constants.
766 (main): Call setlocale, bindtextdomain and textdomain.
768 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
769 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
770 [ENABLE_NLS]: Include libintl.h.
771 [ENABLE_NLS] (gettext): Define.
772 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
773 (N_, PACKAGE, LOCALEDIR): New macros.
775 1996-06-01 Richard Stallman <rms@gnu.org>
777 * POTFILES.in: New file.
779 * Makefile.in (allocate.o):
780 Define target explicitly.
782 * Makefile.in (CFLAGS): Set to @CFLAGS@.
783 (LDFLAGS): Set to @LDFLAGS@.
784 (configure): Run autoconf only if preceding `cd' succeeds.
785 (bison.s1): Redirect output to temporary file then move the
786 temporary to the target, rather than redirecting directly to bison.s1.
787 (clean): Remove config.status and config.log.
788 (distclean): Don't remove config.status here.
790 1996-05-12 Richard Stallman <rms@gnu.org>
793 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
795 1996-05-12 Richard Stallman <rms@gnu.org>
798 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
800 1996-05-11 Richard Stallman <rms@gnu.org>
802 * src/bison.s1 (__yy_memcpy):
803 Really reorder the args, as was supposedly done on Feb 14 1995.
804 (yyparse): Calls changed accordingly.
806 1996-05-11 Richard Stallman <rms@gnu.org>
808 * Makefile.in (dist): Don't use $(srcdir).
810 * bison.simple (__yy_memcpy):
811 Really reorder the args, as was supposedly done on Feb 14 1995.
812 (yyparse): Calls changed accordingly.
814 1996-01-27 Richard Stallman <rms@gnu.org>
816 * src/output.c (output_rule_data):
817 Test YYERROR_VERBOSE in the conditional
818 around the definition of ttyname.
820 1995-12-29 Richard Stallman <rms@gnu.org>
823 Fix line numbers in #line commands.
825 1995-12-29 Richard Stallman <rms@gnu.org>
828 Fix line numbers in #line commands.
830 1995-12-27 Richard Stallman <rms@gnu.org>
832 * src/bison.s1 (YYPARSE_PARAM_DECL):
833 In C++, make it always null.
834 (YYPARSE_PARAM_ARG): New macro.
835 (yyparse): Use YYPARSE_PARAM_ARG.
837 1995-12-27 Richard Stallman <rms@gnu.org>
839 * bison.simple (YYPARSE_PARAM_DECL):
840 In C++, make it always null.
841 (YYPARSE_PARAM_ARG): New macro.
842 (yyparse): Use YYPARSE_PARAM_ARG.
844 1995-11-29 Richard Stallman <rms@gnu.org>
847 Describe literal string tokens, %raw, %no_lines, %token_table.
849 1995-11-29 Daniel Hagerty <hag@gnu.org>
851 * doc/bison.texinfo: Fixed update date
853 1995-10-16 Richard Stallman <rms@gnu.org>
855 * src/version.c: Version 1.25.
857 1995-10-16 Richard Stallman <rms@gnu.org>
859 * NEWS: *** empty log message ***
861 1995-10-16 Richard Stallman <rms@gnu.org>
863 * doc/bison.1, doc/bison.rnh:
866 1995-10-15 Richard Stallman <rms@gnu.org>
868 * src/vmsgetargs.c, src/getargs.c:
869 Added -n, -k, and -raw switches.
870 (noparserflag, toknumflag, rawtoknumflag): New variables.
872 * src/symtab.h (SALIAS):
873 New #define for adding aliases to %token.
874 (struct bucket): Added `alias' field.
876 * src/reduce.c (reduce_grammar):
877 Revise error message.
878 (print_notices): Remove final `.' from error message.
880 * src/reader.c (reader_output_yylsp):
882 (readgram): Use `#if 0' around code that accepted %command
883 inside grammar rules: The documentation doesn't allow it,
884 and it will fail since the %command processors scan for the next %.
885 (parse_token_decl): Extended the %token
886 declaration to allow a multi-character symbol as an alias.
887 (parse_thong_decl): New function.
888 (read_declarations): Added %thong declarations.
889 (read_declarations): Handle NOOP to deal with allowing
890 % declarations as another means to specify the flags.
891 (readgram): Allow %prec prior to semantics embedded in a rule.
892 (skip_to_char, read_declarations, copy_definition)
893 (parse_token_decl, parse_start_decl, parse_type_decl)
894 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
895 (get_type_name, copy_guard, copy_action, readgram)
896 (get_type, packsymbols): Revised most error messages.
897 Changed `fatal' to `warnxxx' to avoid aborting for error.
898 Revised and use multiple warnxxx functions to avoid using VARARGS1.
899 (read_declarations): Improve the error message for
900 an invalid character. Do not abort.
901 (read_declarations, copy_guard, copy_action): Use
902 printable_version to avoid unprintable characters in printed output.
903 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
904 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
905 Allow the type of a non-terminal can be given
906 more than once, as long as all specifications give the same type.
909 (output_headers, output_trailers, output, output_gram)
910 (output_rule_data): Implement noparserflag variable.
911 Implement toknumflag variable.
912 (output): Call reader_output_yylsp to output LTYPESTR.
915 If reader sees an error, don't process the grammar.
916 (fatals): Updated to not use VARARGS1.
917 (printable_version, int_to_string, warn, warni, warns, warnss)
918 (warnsss): New error reporting functions. Avoid abort for error.
921 Added THONG and NOOP for alias processing.
922 Added SETOPT for the new code that allows setting options with %flags.
925 Include getopt.h. Add some extern decls.
926 (safegetc): New function to deal with EOF gracefully.
927 (literalchar); new function to deal with reading \ escapes.
928 (lex): Use literalchar.
929 (lex): Implemented "..." tokens.
930 (literalchar, lex, parse_percent_token): Made tokenbuffer
931 always contain the token. This includes growing the token
932 buffer while reading an integer.
933 (parse_percent_token): Replaced if-else statement with percent_table.
934 (parse_percent_token): Added % declarations as another
935 way to specify the flags -n, -l, and -r. Also added hooks for
936 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
937 major changes to files.c.
938 (lex) Retain in the incoming stream a character following
940 (skip_white_space, lex): Revised most error messages
941 and changed fatal to warn to avoid aborting.
942 (percent_table): Added %thong declarations.
944 * src/gram.h: Comment changes.
946 * src/files.c (openfiles, open_extra_files, done):
948 and actfile file. Handle noparserflag. Both for -n switch.
950 * src/conflicts.c (resolve_sr_conflict):
951 Remove use of alloca.
953 1995-06-01 Jim Meyering <meyering@gnu.org>
955 * doc/bison.texinfo: *** empty log message ***
957 1995-05-06 Richard Stallman <rms@gnu.org>
959 * src/bison.s1: Comment change.
961 1995-05-06 Richard Stallman <rms@gnu.org>
963 * bison.simple: Comment change.
965 1995-05-03 Richard Stallman <rms@gnu.org>
967 * src/version.c: Version now 1.24.
969 * src/bison.s1: Change distribution terms.
971 * src/version.c: Version now 1.23.
973 1995-05-03 Richard Stallman <rms@gnu.org>
976 Rewrite "Conditions for Using Bison".
977 Update version to 1.24.
979 1995-05-03 Richard Stallman <rms@gnu.org>
981 * bison.simple: Change distribution terms.
983 1995-02-23 Richard Stallman <rms@gnu.org>
985 * src/files.c: Test __VMS_POSIX as well as VMS.
987 1995-02-14 Jim Meyering <meyering@gnu.org>
989 * src/bison.s1 (__yy_memcpy):
990 Renamed from __yy_bcopy to avoid
991 confusion. Reverse FROM and TO arguments to be consistent with
994 1995-02-14 Jim Meyering <meyering@gnu.org>
996 * bison.simple (__yy_memcpy):
997 Renamed from __yy_bcopy to avoid
998 confusion. Reverse FROM and TO arguments to be consistent with
1001 1994-11-10 David J. MacKenzie <djm@gnu.org>
1007 * Makefile.in (DISTFILES): Include NEWS.
1009 * Makefile.in (DISTFILES):
1010 Include install-sh, not install.sh.
1012 * configure.in: Update to Autoconf v2 macro names.
1014 1994-10-05 David J. MacKenzie <djm@gnu.org>
1016 * Makefile.in: fix typo
1018 * Makefile.in (prefix, exec_prefix):
1019 Let configure set them.
1021 1994-09-28 David J. MacKenzie <djm@gnu.org>
1023 * Makefile.in: Set datadir to $(prefix)/share.
1025 1994-09-15 Richard Stallman <rms@gnu.org>
1028 Update copyright notice and GPL version.
1030 1994-09-15 Richard Stallman <rms@gnu.org>
1033 Update copyright notice and GPL version.
1035 1994-07-12 Richard Stallman <rms@gnu.org>
1037 * src/reduce.c, src/reader.c:
1040 1994-05-05 David J. MacKenzie <djm@gnu.org>
1042 * Makefile.in: entered into RCS
1044 1994-03-26 Richard Stallman <rms@gnu.org>
1046 * src/bison.s1: entered into RCS
1048 1994-03-26 Richard Stallman <rms@gnu.org>
1050 * bison.simple: entered into RCS
1052 1994-03-25 Richard Stallman <rms@gnu.org>
1054 * src/main.c: entered into RCS
1056 1994-03-24 Richard Stallman <rms@gnu.org>
1058 * src/conflicts.c: entered into RCS
1060 1994-01-02 Richard Stallman <rms@gnu.org>
1062 * Makefile.in: *** empty log message ***
1064 1993-11-21 Richard Stallman <rms@gnu.org>
1066 * src/bison.s1: *** empty log message ***
1068 1993-11-21 Richard Stallman <rms@gnu.org>
1070 * doc/bison.texinfo: entered into RCS
1072 * doc/bison.texinfo: *** empty log message ***
1074 1993-11-21 Richard Stallman <rms@gnu.org>
1076 * bison.simple: *** empty log message ***
1078 1993-10-25 David J. MacKenzie <djm@gnu.org>
1080 * doc/bison.texinfo: *** empty log message ***
1082 1993-10-19 Richard Stallman <rms@gnu.org>
1084 * src/bison.s1: *** empty log message ***
1086 1993-10-19 Richard Stallman <rms@gnu.org>
1088 * bison.simple: *** empty log message ***
1090 1993-10-14 Richard Stallman <rms@gnu.org>
1092 * src/bison.s1: *** empty log message ***
1094 1993-10-14 Richard Stallman <rms@gnu.org>
1096 * bison.simple: *** empty log message ***
1098 1993-09-14 David J. MacKenzie <djm@gnu.org>
1100 * doc/bison.texinfo: *** empty log message ***
1102 1993-09-13 Noah Friedman <friedman@gnu.org>
1104 * Makefile.in: *** empty log message ***
1106 1993-09-10 Richard Stallman <rms@gnu.org>
1108 * src/conflicts.c: *** empty log message ***
1110 * src/system.h: entered into RCS
1112 1993-09-10 Richard Stallman <rms@gnu.org>
1114 * doc/bison.1: entered into RCS
1116 1993-09-06 Noah Friedman <friedman@gnu.org>
1118 * src/version.c: entered into RCS
1120 1993-09-06 Noah Friedman <friedman@gnu.org>
1122 * Makefile.in: *** empty log message ***
1124 1993-07-30 David J. MacKenzie <djm@gnu.org>
1126 * Makefile.in: *** empty log message ***
1128 1993-07-24 Richard Stallman <rms@gnu.org>
1130 * src/bison.s1: *** empty log message ***
1132 1993-07-24 Richard Stallman <rms@gnu.org>
1134 * bison.simple: *** empty log message ***
1136 1993-07-08 David J. MacKenzie <djm@gnu.org>
1138 * Makefile.in: *** empty log message ***
1140 1993-07-04 Richard Stallman <rms@gnu.org>
1142 * src/bison.s1: *** empty log message ***
1144 1993-07-04 Richard Stallman <rms@gnu.org>
1146 * bison.simple: *** empty log message ***
1148 1993-06-26 David J. MacKenzie <djm@gnu.org>
1150 * src/getargs.c: entered into RCS
1152 1993-06-26 David J. MacKenzie <djm@gnu.org>
1154 * doc/bison.texinfo: *** empty log message ***
1156 * doc/bison.1: New file.
1158 1993-06-25 Richard Stallman <rms@gnu.org>
1160 * src/getargs.c: New file.
1162 1993-06-16 Richard Stallman <rms@gnu.org>
1164 * src/bison.s1: *** empty log message ***
1166 1993-06-16 Richard Stallman <rms@gnu.org>
1168 * bison.simple: *** empty log message ***
1170 1993-06-03 Richard Stallman <rms@gnu.org>
1172 * src/bison.s1: New file.
1174 1993-06-03 Richard Stallman <rms@gnu.org>
1176 * doc/bison.texinfo: *** empty log message ***
1178 1993-06-03 Richard Stallman <rms@gnu.org>
1180 * bison.simple: New file.
1182 1993-05-19 Richard Stallman <rms@gnu.org>
1184 * doc/bison.texinfo: New file.
1186 1993-05-07 Noah Friedman <friedman@gnu.org>
1188 * Makefile.in: *** empty log message ***
1190 1993-04-28 Noah Friedman <friedman@gnu.org>
1192 * src/reader.c: *** empty log message ***
1194 1993-04-23 Noah Friedman <friedman@gnu.org>
1196 * src/alloc.h: entered into RCS
1198 1993-04-20 David J. MacKenzie <djm@gnu.org>
1200 * src/version.c: *** empty log message ***
1202 * src/files.c, src/allocate.c:
1205 * src/reader.c: *** empty log message ***
1207 * src/lex.c: entered into RCS
1209 * src/conflicts.c: New file.
1211 * src/symtab.c: entered into RCS
1213 * src/alloc.h: New file.
1215 * src/LR0.c: entered into RCS
1217 1993-04-18 Noah Friedman <friedman@gnu.org>
1219 * src/reader.c: New file.
1221 * src/version.c: *** empty log message ***
1223 1993-04-18 Noah Friedman <friedman@gnu.org>
1225 * Makefile.in: *** empty log message ***
1227 1993-04-17 Noah Friedman <friedman@gnu.org>
1229 * Makefile.in: *** empty log message ***
1231 1993-04-15 Richard Stallman <rms@gnu.org>
1233 * src/main.c, src/files.c:
1236 1993-04-15 Noah Friedman <friedman@gnu.org>
1238 * configure.in: entered into RCS
1240 * configure.in: *** empty log message ***
1242 * configure.in: New file.
1244 1993-04-14 Richard Stallman <rms@gnu.org>
1246 * Makefile.in: New file.
1248 1993-04-13 Richard Stallman <rms@gnu.org>
1250 * src/version.c: New file.
1252 1993-03-25 Richard Stallman <rms@gnu.org>
1254 * src/output.c: entered into RCS
1256 1992-09-25 Richard Stallman <rms@gnu.org>
1258 * configure.bat: entered into RCS
1260 1992-06-22 Richard Stallman <rms@gnu.org>
1262 * src/vmsgetargs.c: entered into RCS
1264 1992-06-22 Richard Stallman <rms@gnu.org>
1266 * doc/bison.rnh: entered into RCS
1268 1992-04-20 David J. MacKenzie <djm@gnu.org>
1270 * README: entered into RCS
1272 1992-01-22 Richard Stallman <rms@gnu.org>
1274 * src/machine.h: entered into RCS
1276 1991-12-21 Richard Stallman <rms@gnu.org>
1278 * src/lalr.c, src/closure.c:
1281 1991-12-20 Richard Stallman <rms@gnu.org>
1283 * src/state.h: entered into RCS
1285 1991-12-18 Richard Stallman <rms@gnu.org>
1287 * src/print.c, src/nullable.c, src/derives.c:
1290 1991-11-03 David J. MacKenzie <djm@gnu.org>
1292 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1295 1988-09-09 Richard Stallman <rms@gnu.org>
1297 * src/bison.hairy: entered into RCS
1299 1987-12-16 Richard Stallman <rms@gnu.org>
1301 * REFERENCES: entered into RCS