1 2000-09-19 Akim Demaille <akim@epita.fr>
3 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
6 2000-09-18 Akim Demaille <akim@epita.fr>
8 * configure.in: Append WARNING_CFLAGS to CFLAGS.
9 * src/Makefile.am (INCLUDES): Don't.
10 Be ready to fetch headers in lib/.
12 2000-09-18 Akim Demaille <akim@epita.fr>
14 * doc/bison.texinfo: Update the copyright.
15 ANSIfy and GNUify the examples.
18 2000-09-18 Akim Demaille <akim@epita.fr>
20 First set of tests: use the `calc' example from the documentation.
22 * src/bison.s1 (yyparse): Condition the code using `yytname' which
23 is defined only when YYDEBUG is.
24 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
25 * src/files.c (tryopen, tryclose): Formatting changes.
26 Move to the top and be static.
27 * src/reader.c (read_signed_integer): Likewise.
28 * tests/calc.m4: New file.
29 * Makefile.am, suite.m4: Adjust.
30 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
32 2000-09-18 Akim Demaille <akim@epita.fr>
34 Add support for an Autotest test suite for Bison.
36 * m4/m4.m4, m4/atconfig.m4: New files.
37 * m4/Makefile.am (EXTRA_DIST): Adjust.
38 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
40 * src/getargs.c: Display a more standard --version message.
41 * src/reader.c (reader): Formatting changes.
42 No longer depend upon VERSION_STRING.
43 * configure.in: No longer use `dnl'.
44 Set up the test suite and the new directory `tests/.
45 (VERSION_STRING): Remove.
47 2000-04-14 Akim Demaille <akim@epita.fr>
49 * src/reader.c (copy_comment2): New function, same as former
50 `copy_comment', but outputs into two FILE *.
51 (copy_comment): Use it.
52 (parse_union_decl): Use it.
53 (get_type, parse_start_decl): Use the same `invalid' message.
54 (parse_start_decl, parse_union_decl): Use the same `multiple'
56 (parse_union_decl, copy_guard, copy_action): Use the same
58 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
60 2000-03-31 Akim Demaille <akim@epita.fr>
62 * src/files.c (tryopen, tryclose): Move to the top.
65 2000-03-31 Akim Demaille <akim@epita.fr>
67 * src/main.c (main): Don't call `done', exit does it.
69 2000-03-31 Akim Demaille <akim@epita.fr>
71 * allocate.c: s/return (foo)/return foo/.
77 * vmsgetargs.c: Likewise.
79 2000-03-31 Akim Demaille <akim@epita.fr>
81 Clean up the error reporting functions.
83 * src/report.c: New file.
84 * src/report.h: Likewise.
85 * src/Makefile.am: Adjust.
86 * m4/error.m4: New file.
87 * m4/Makefile.am: Adjust.
88 * configure.in (jm_PREREQ_ERROR): Call it.
89 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
91 (fatal, fatals): Remove. All callers use complain.c::fatal.
92 (warn, warni, warns, warnss, warnss): Remove. All callers use
94 (toomany): Remove, use fatal instead.
95 * src/files.c (done): No argument, use complain_message_count.
96 * src/main.c (main): Register `done' to `atexit'.
98 * src/getargs.c (usage): More `fputs', less `fprintf'.
100 2000-03-28 Akim Demaille <akim@epita.fr>
102 * lib/: New directory.
103 * Makefile.am (SUBDIRS): Adjust.
104 * configure.in: Adjust.
105 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
107 * src/alloca.c: Moved to lib/.
108 * src/getopt.c: Likewise.
109 * src/getopt1.c: Likewise.
110 * src/getopt.h: Likewise.
111 * src/ansi2knr.c: Likewise.
112 * src/ansi2knr.1: Likewise.
113 * src/Makefile.am: Adjust.
114 * lib/Makefile.am: New file.
116 2000-03-28 Akim Demaille <akim@epita.fr>
118 * src/getargs.c (usage): Refresh the help message.
120 2000-03-17 Akim Demaille <akim@epita.fr>
122 * src/getopt1.c: Updated from textutils 2.0e
123 * src/getopt.c: Likewise.
124 * src/getopt.h: Likewise.
126 2000-03-17 Akim Demaille <akim@epita.fr>
128 * src/Makefile.am (bison.simple): Fix the awk program: quote only
129 the file name, not the whole `#line LINE FILE'.
131 2000-03-17 Akim Demaille <akim@epita.fr>
133 On syntax errors, report the token on which we choked.
135 * src/bison.s1 (yyparse): In the label yyerrlab, when
136 YYERROR_VERBOSE, add yychar in msg.
138 2000-03-17 Akim Demaille <akim@epita.fr>
140 * src/reader.c (copy_at): New function.
141 (copy_guard): Use it.
142 (copy_action): Use it.
144 2000-03-17 Akim Demaille <akim@epita.fr>
146 Be kind to translators, save some useless translations.
148 * src/main.c (banner): New function.
149 (fatal_banner): Use it.
150 (warn_banner): Use it.
152 2000-03-17 Akim Demaille <akim@epita.fr>
154 * src/reader.c (copy_definition): Use copy_string and
155 copy_comment. Removed now unused `match', `ended',
157 (copy_comment, copy_string): Moved, to be visible from
160 2000-03-17 Akim Demaille <akim@epita.fr>
162 * src/reader.c (copy_string): Declare `static inline'. No
163 problems with inline, since it is checked by configure.
164 (copy_comment): Likewise.
166 2000-03-17 Akim Demaille <akim@epita.fr>
168 * src/reader.c (packsymbols): Formatting changes.
170 2000-03-17 Akim Demaille <akim@epita.fr>
172 * src/reader.c (copy_comment): New function, factored out from:
173 (copy_action): Use it. Removed now unused `match', `ended',
175 (copy_guard): Likewise.
177 2000-03-17 Akim Demaille <akim@epita.fr>
179 * src/reader.c (copy_string): New function, factored out from:
180 (copy_action): Use it.
181 (copy_guard): Likewise.
183 2000-03-17 Akim Demaille <akim@epita.fr>
185 Change the handling of @s so that they behave exactly like $s.
186 There is now a pseudo variable @$ (readble and writable), location
187 of the lhs of the rule (by default ranging from the location of
188 the first symbol of the rhs, to the location of the last symbol,
189 or, if the rhs is empty, YYLLOC).
191 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
193 (yyparse): When providing a default semantic action, provide a
194 default location action.
195 (after the $): No longer change `*YYLSP', just stack YYLOC the
196 same way you stack YYVAL.
197 * src/reader.c (read_declarations): Use warns.
198 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
199 (copy_action, case '@'): Likewise.
200 Use a standard error message, to save useless work from
203 2000-03-17 Akim Demaille <akim@epita.fr>
205 * src/bison.s1: Formatting and cosmetics changes.
206 * src/reader.c: Likewise.
207 Update the Copyright notice.
209 2000-03-17 Akim Demaille <akim@epita.fr>
211 * src/bison.s1 (#line): All set to `#line' only, since the
212 Makefile now handles them.
214 2000-03-16 Akim Demaille <akim@epita.fr>
216 * src/output.c (output_rule_data): Output the documentation of
218 (Copyright notice): Update.
221 2000-03-16 Akim Demaille <akim@epita.fr>
223 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
224 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
225 One `#if YYDEBUG' remains, since it uses variables which are
226 defined only if `YYDEBUG != 0'.
228 2000-03-16 Akim Demaille <akim@epita.fr>
230 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
231 and related variables so that the similarities are highlighted.
233 2000-03-16 Akim Demaille <akim@epita.fr>
235 * src/bison.s1: Properly indent CPP directives.
237 2000-03-16 Akim Demaille <akim@epita.fr>
239 * src/bison.s1: Properly indent the `alloca' CPP section.
241 2000-03-16 Akim Demaille <akim@epita.fr>
243 Do not hard code values of directories in `configure.in'.
244 Update the `configure' tool chain.
246 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
248 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
249 (AC_OUTPUT): Add m4/Makefile.
250 Bump to bison 1.28a, 1.29 has never been released.
251 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
252 handled via src/Makefile.am.
253 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
254 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
256 * Makefile.am (SUBDIRS): Add m4.
257 (ACLOCAL_AM_FLAGS): New variable.
258 (AUTOMAKE_OPTIONS): Add check-news.
259 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
260 the proper line number and file name.
261 (DEFS): Propagate the location of bison library files and of the
263 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
265 * acinclude.m4: Remove, replaced by the directory m4.
266 * m4/Makefile.am (EXTRA_DIST): New variable.
267 * m4/gettext.m4: New file, from the fileutils.
268 * m4/lcmessage.m4: Likewise
269 * m4/progtest.m4: Likewise.
270 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
272 2000-03-10 Akim Demaille <akim@epita.fr>
275 Formatting changes of various comments.
276 Respect the GNU coding standards at various places.
277 Don't use `_()' when no translation is needed.
279 1999-12-13 Jesse Thilo <jthilo@gnu.org>
282 OS/2 honors TMPDIR environment variable.
284 1999-12-13 Jesse Thilo <jthilo@gnu.org>
286 * doc/bison.texinfo: Tweaked spelling and grammar.
288 Removed reference to price of printed copy.
289 Mention BISON_SIMPLE and BISON_HAIRY.
291 1999-12-13 Jesse Thilo <jthilo@gnu.org>
293 * configure.in, NEWS:
296 1999-10-27 Jesse Thilo <jthilo@gnu.org>
298 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
299 Added reference card.
301 1999-07-26 Jesse Thilo <jthilo@gnu.org>
303 * po/ru.po: Added Russian translation.
305 1999-07-26 Jesse Thilo <jthilo@gnu.org>
307 * configure.in: Added Russian translation.
309 1999-07-06 Jesse Thilo <jthilo@gnu.org>
311 * configure.in, NEWS, README:
312 Released version 1.28.
314 1999-06-14 Jesse Thilo <jthilo@gnu.org>
317 Squashed redefinition warning on some systems.
319 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
320 Have configure build version string instead of relying on ANSI string
323 1999-06-14 Jesse Thilo <jthilo@gnu.org>
325 * po/POTFILES.in: Got rid of version.c.
327 1999-06-14 Jesse Thilo <jthilo@gnu.org>
329 * acconfig.h, configure.in:
330 Have configure build version string instead of relying on ANSI string
333 1999-06-08 Jesse Thilo <jthilo@gnu.org>
336 Dropped mention of `+' for long-named options.
338 1999-05-30 Jesse Thilo <jthilo@gnu.org>
340 * src/files.c: Added <unistd.h> for unlink().
342 * src/Makefile.am, src/system.h:
345 1999-05-30 Jesse Thilo <jthilo@gnu.org>
347 * README: Added a FAQ list.
349 * configure.in, acconfig.h:
352 1999-05-30 Jesse Thilo <jthilo@gnu.org>
354 * doc/FAQ, doc/Makefile.am:
357 1999-05-19 Jesse Thilo <jthilo@gnu.org>
359 * src/alloc.h, src/symtab.h, src/version.c:
360 Protected inclusion of "config.h" with HAVE_CONFIG_H.
362 1999-04-18 Jesse Thilo <jthilo@gnu.org>
364 * src/.cvsignore, src/Makefile.am:
365 Reorganized: sources in `src', documentation in `doc'.
367 * src/lex.c (literalchar):
368 fixed the code for escaping double quotes (thanks
371 1999-04-18 Jesse Thilo <jthilo@gnu.org>
373 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
374 Adjusted paths to reflect directory reorganization.
376 1999-04-18 Jesse Thilo <jthilo@gnu.org>
378 * doc/.cvsignore, doc/Makefile.am:
379 Reorganized: sources in `src', documentation in `doc'.
381 1999-04-18 Jesse Thilo <jthilo@gnu.org>
384 Updated AC_INIT file to reflect directory reorganization.
386 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
387 Reorganized: sources in `src', documentation in `doc'.
389 1999-04-13 Jesse Thilo <jthilo@gnu.org>
392 Don't declare calloc() and realloc() if not necessary.
394 1999-04-13 Jesse Thilo <jthilo@gnu.org>
396 * configure.in, acconfig.h, acinclude.m4:
397 Don't declare calloc() and realloc() if not necessary.
399 1999-03-23 Jesse Thilo <jthilo@gnu.org>
401 * po/.cvsignore: Added i18n support.
403 1999-03-23 Jesse Thilo <jthilo@gnu.org>
405 * acconfig.h, configure.in, Makefile.am:
408 1999-03-22 Jesse Thilo <jthilo@gnu.org>
410 * src/bison.s1: Fixed #line numbers.
412 1999-03-15 Jesse Thilo <jthilo@gnu.org>
414 * po/es.po, po/fr.po, po/nl.po, po/de.po:
415 Added PO files from Translation Project.
417 1999-03-03 Jesse Thilo <jthilo@gnu.org>
420 Added support for non-ANSI compilers (ansi2knr).
422 1999-02-16 Jesse Thilo <jthilo@gnu.org>
424 * configure.in: Bumped version number to 1.27.
427 Added `bison.simple' to list of files removed by `make distclean'.
429 1999-02-12 Jesse Thilo <jthilo@gnu.org>
431 * src/files.c, src/files.h:
432 Defined locations of parser files in config.h instead of Makefile.
434 1999-02-12 Jesse Thilo <jthilo@gnu.org>
436 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
437 Defined locations of parser files in config.h instead of Makefile.
439 1999-02-09 Jesse Thilo <jthilo@gnu.org>
442 Removed inappropriate use of $< macro.
444 1999-02-05 Jesse Thilo <jthilo@gnu.org>
446 * po/Makefile.in.in, po/POTFILES.in:
447 Add `po' directory skeleton.
449 1999-01-27 Jesse Thilo <jthilo@gnu.org>
451 * README: Document help-bison list.
453 * configure.in: Add check for mkstemp().
455 1999-01-20 Jesse Thilo <jthilo@gnu.org>
457 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
458 Hush a few compiler warnings.
461 Add tryclose(), which verifies that fclose was successful.
462 Hush a couple of compiler warnings.
464 1999-01-20 Jesse Thilo <jthilo@gnu.org>
466 * Makefile.am, OChangeLog:
467 ChangeLog is now automatically generated. Include the old version as
470 1999-01-14 Jesse Thilo <jthilo@gnu.org>
472 * 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:
475 1999-01-14 Jesse Thilo <jthilo@gnu.org>
477 * doc/bison.texinfo: Fix formatting glitch.
479 * doc/bison.texinfo: Update FSF address.
481 1999-01-14 Jesse Thilo <jthilo@gnu.org>
483 * acconfig.h: Update FSF address.
485 1999-01-08 Jesse Thilo <jthilo@gnu.org>
488 Don't define PACKAGE here, since config.h defines it.
490 1998-12-30 Jesse Thilo <jthilo@gnu.org>
492 * src/reader.c: Update copyright date.
495 Ditch sprintf to statically-sized buffers in fatal/warn functions in
496 favor of output directly to stderr (avoids buffer overruns).
498 * src/reader.c: Some checks for premature EOF.
500 * 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:
501 Use prototypes if the compiler understands them.
503 * src/files.c: Honor TMPDIR on Unix hosts.
504 Use prototypes if the compiler understands them.
507 Fix a couple of buffer overrun bugs.
508 Use prototypes if the compiler understands them.
510 * src/system.h: Include unistd.h and ctype.h.
511 Use #ifdef instead of #if for NLS symbols.
513 1998-12-30 Jesse Thilo <jthilo@gnu.org>
516 Delete comment "consider using @set for edition number, etc..." since
519 1998-12-30 Jesse Thilo <jthilo@gnu.org>
522 Use prototypes if the compiler understands them.
524 * NEWS: Document 1.26 highlights.
526 * Makefile.am: Require Automake 1.3 or later.
529 Use prototypes if the compiler understands them.
531 1998-12-29 Jesse Thilo <jthilo@gnu.org>
534 Use VERSION symbol from automake for version number.
536 1998-12-29 Jesse Thilo <jthilo@gnu.org>
538 * acconfig.h, configure.in, version.cin:
539 Use VERSION symbol from automake for version number.
541 1998-11-28 Jesse Thilo <jthilo@gnu.org>
544 Distribute original version of simple parser (bison.s1), not built
545 version (bison.simple).
547 1998-11-28 Jesse Thilo <jthilo@gnu.org>
549 * doc/bison.texinfo: Add info dir entry.
552 Let automake put version number into documentation.
554 1998-11-26 Jesse Thilo <jthilo@gnu.org>
556 * src/bison.cld, src/build.com, src/vmshlp.mar:
557 Add non-RCS files from /gd/gnu/bison.
559 1998-11-26 Jesse Thilo <jthilo@gnu.org>
562 Document the BISON_HAIRY and BISON_SIMPLE variables.
564 1998-11-25 Jesse Thilo <jthilo@gnu.org>
566 * src/version.c: Build version.c automatically.
569 Fix token numbering (used to start at 258, not 257).
571 * src/system.h: Include config.h.
573 * src/getargs.c: Update bug report address.
575 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
576 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
578 1998-11-25 Jesse Thilo <jthilo@gnu.org>
581 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
583 * configure.in, version.cin:
584 Build version.c automatically.
586 * AUTHORS: Add AUTHORS file.
588 * README: Update bug report address.
591 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
593 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
596 1998-11-25 Jesse Thilo <jthilo@gnu.org>
598 * doc/bison.texinfo: Clean up some formatting.
600 1998-05-05 Richard Stallman <rms@gnu.org>
603 Explain better why to make a pure parser.
605 1998-01-05 Richard Stallman <rms@gnu.org>
607 * src/files.c (openfiles):
608 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
609 find a temporary directory, if possible. Do not unlink files while
612 1997-08-25 Richard Stallman <rms@gnu.org>
614 * src/reader.c (stack_offset;):
615 Change some warni to warns.
617 * src/lex.c (literalchar): Use warns, not warni.
619 1997-06-28 Richard Stallman <rms@gnu.org>
621 * src/bison.s1: Add a Bison version comment.
623 * src/main.c (fatal, warn, berror):
626 1997-06-28 Richard Stallman <rms@gnu.org>
628 * Makefile.in (bison_version): New variable.
629 (dist): Use that variable.
630 (bison.s1): Substitute the Bison version into bison.simple.
632 * bison.simple: Add a Bison version comment.
634 1997-06-18 Richard Stallman <rms@gnu.org>
636 * src/main.c (fatal, warn, berror):
637 Make error messages standard.
638 (toomany): Improve error message text.
640 * 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:
641 new.h renamed to alloc.h.
643 1997-06-18 Richard Stallman <rms@gnu.org>
645 * Makefile.in: new.h renamed to alloc.h.
647 1997-05-24 Richard Stallman <rms@gnu.org>
649 * src/lex.c (literalchar):
650 Fix the code for escaping \, " and '.
652 (lex): Avoid trouble when there are many chars
653 to discard in a char literal with just several chars in it.
655 1997-05-17 Richard Stallman <rms@gnu.org>
658 Use malloc, if using alloca is troublesome.
659 (YYSTACK_USE_ALLOCA): New flag macro.
660 Define it for some systems and compilers.
661 (YYSTACK_ALLOC): New macro.
662 (yyparse): Use YYSTACK_ALLOC to allocate stack.
663 If it was malloc'd, free it.
665 1997-05-17 Richard Stallman <rms@gnu.org>
668 Use malloc, if using alloca is troublesome.
669 (YYSTACK_USE_ALLOCA): New flag macro.
670 Define it for some systems and compilers.
671 (YYSTACK_ALLOC): New macro.
672 (yyparse): Use YYSTACK_ALLOC to allocate stack.
673 If it was malloc'd, free it.
675 1997-04-23 Richard Stallman <rms@gnu.org>
678 (alloca) [__hpux]: Always define as __builtin_alloca.
680 1997-04-23 Richard Stallman <rms@gnu.org>
683 (alloca) [__hpux]: Always define as __builtin_alloca.
685 1997-04-22 Richard Stallman <rms@gnu.org>
688 [__hpux]: Include alloca.h (right for HPUX 10)
689 instead of declaring alloca (right for HPUX 9).
691 * src/bison.s1 (__yy_memcpy):
692 Declare arg `count' as unsigned int.
693 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
695 1997-04-22 Richard Stallman <rms@gnu.org>
698 [__hpux]: Include alloca.h (right for HPUX 10)
699 instead of declaring alloca (right for HPUX 9).
701 * bison.simple (__yy_memcpy):
702 Declare arg `count' as unsigned int.
703 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
705 1997-01-03 Richard Stallman <rms@gnu.org>
707 * src/allocate.c: [__STDC__ or _MSC_VER]:
708 Declare calloc and realloc to return void *.
710 1997-01-02 Richard Stallman <rms@gnu.org>
713 [_MSC_VER]: Include stdlib.h and process.h.
714 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
716 * src/main.c (main): Return FAILURE as a value.
717 (printable_version): Declare arg as int, not char.
719 1997-01-02 Richard Stallman <rms@gnu.org>
721 * Makefile.in (dist):
722 Explicitly check for symlinks, and copy them.
724 1996-12-19 Richard Stallman <rms@gnu.org>
727 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
729 1996-12-18 Paul Eggert <eggert@gnu.org>
731 * src/bison.s1 (yyparse):
732 If __GNUC__ and YYPARSE_PARAM are both defined,
733 declare yyparse to have a void * argument.
735 1996-12-18 Paul Eggert <eggert@gnu.org>
737 * bison.simple (yyparse):
738 If __GNUC__ and YYPARSE_PARAM are both defined,
739 declare yyparse to have a void * argument.
741 1996-12-17 Richard Stallman <rms@gnu.org>
743 * src/reduce.c (nbits): Add some casts.
745 1996-08-12 Richard Stallman <rms@gnu.org>
747 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
749 1996-08-12 Richard Stallman <rms@gnu.org>
751 * bison.simple: Test _MSDOS as well as _MSDOS_.
753 1996-07-31 Richard Stallman <rms@gnu.org>
756 [__sun && __i386]: Include alloca.h.
758 1996-07-31 Richard Stallman <rms@gnu.org>
761 [__sun && __i386]: Include alloca.h.
763 1996-07-30 Richard Stallman <rms@gnu.org>
765 * src/bison.s1: Comment change.
767 * src/bison.s1: Test _MSDOS_, not MSDOS.
769 1996-07-30 Richard Stallman <rms@gnu.org>
771 * bison.simple: Comment change.
773 * bison.simple: Test _MSDOS_, not MSDOS.
775 1996-06-01 Richard Stallman <rms@gnu.org>
777 * 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:
778 Insert `_' macro around many string constants.
781 Insert `_' macro around many string constants.
783 (main): Call setlocale, bindtextdomain and textdomain.
785 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
786 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
787 [ENABLE_NLS]: Include libintl.h.
788 [ENABLE_NLS] (gettext): Define.
789 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
790 (N_, PACKAGE, LOCALEDIR): New macros.
792 1996-06-01 Richard Stallman <rms@gnu.org>
794 * POTFILES.in: New file.
796 * Makefile.in (allocate.o):
797 Define target explicitly.
799 * Makefile.in (CFLAGS): Set to @CFLAGS@.
800 (LDFLAGS): Set to @LDFLAGS@.
801 (configure): Run autoconf only if preceding `cd' succeeds.
802 (bison.s1): Redirect output to temporary file then move the
803 temporary to the target, rather than redirecting directly to bison.s1.
804 (clean): Remove config.status and config.log.
805 (distclean): Don't remove config.status here.
807 1996-05-12 Richard Stallman <rms@gnu.org>
810 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
812 1996-05-12 Richard Stallman <rms@gnu.org>
815 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
817 1996-05-11 Richard Stallman <rms@gnu.org>
819 * src/bison.s1 (__yy_memcpy):
820 Really reorder the args, as was supposedly done on Feb 14 1995.
821 (yyparse): Calls changed accordingly.
823 1996-05-11 Richard Stallman <rms@gnu.org>
825 * Makefile.in (dist): Don't use $(srcdir).
827 * bison.simple (__yy_memcpy):
828 Really reorder the args, as was supposedly done on Feb 14 1995.
829 (yyparse): Calls changed accordingly.
831 1996-01-27 Richard Stallman <rms@gnu.org>
833 * src/output.c (output_rule_data):
834 Test YYERROR_VERBOSE in the conditional
835 around the definition of ttyname.
837 1995-12-29 Richard Stallman <rms@gnu.org>
840 Fix line numbers in #line commands.
842 1995-12-29 Richard Stallman <rms@gnu.org>
845 Fix line numbers in #line commands.
847 1995-12-27 Richard Stallman <rms@gnu.org>
849 * src/bison.s1 (YYPARSE_PARAM_DECL):
850 In C++, make it always null.
851 (YYPARSE_PARAM_ARG): New macro.
852 (yyparse): Use YYPARSE_PARAM_ARG.
854 1995-12-27 Richard Stallman <rms@gnu.org>
856 * bison.simple (YYPARSE_PARAM_DECL):
857 In C++, make it always null.
858 (YYPARSE_PARAM_ARG): New macro.
859 (yyparse): Use YYPARSE_PARAM_ARG.
861 1995-11-29 Richard Stallman <rms@gnu.org>
864 Describe literal string tokens, %raw, %no_lines, %token_table.
866 1995-11-29 Daniel Hagerty <hag@gnu.org>
868 * doc/bison.texinfo: Fixed update date
870 1995-10-16 Richard Stallman <rms@gnu.org>
872 * src/version.c: Version 1.25.
874 1995-10-16 Richard Stallman <rms@gnu.org>
876 * NEWS: *** empty log message ***
878 1995-10-16 Richard Stallman <rms@gnu.org>
880 * doc/bison.1, doc/bison.rnh:
883 1995-10-15 Richard Stallman <rms@gnu.org>
885 * src/vmsgetargs.c, src/getargs.c:
886 Added -n, -k, and -raw switches.
887 (noparserflag, toknumflag, rawtoknumflag): New variables.
889 * src/symtab.h (SALIAS):
890 New #define for adding aliases to %token.
891 (struct bucket): Added `alias' field.
893 * src/reduce.c (reduce_grammar):
894 Revise error message.
895 (print_notices): Remove final `.' from error message.
897 * src/reader.c (reader_output_yylsp):
899 (readgram): Use `#if 0' around code that accepted %command
900 inside grammar rules: The documentation doesn't allow it,
901 and it will fail since the %command processors scan for the next %.
902 (parse_token_decl): Extended the %token
903 declaration to allow a multi-character symbol as an alias.
904 (parse_thong_decl): New function.
905 (read_declarations): Added %thong declarations.
906 (read_declarations): Handle NOOP to deal with allowing
907 % declarations as another means to specify the flags.
908 (readgram): Allow %prec prior to semantics embedded in a rule.
909 (skip_to_char, read_declarations, copy_definition)
910 (parse_token_decl, parse_start_decl, parse_type_decl)
911 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
912 (get_type_name, copy_guard, copy_action, readgram)
913 (get_type, packsymbols): Revised most error messages.
914 Changed `fatal' to `warnxxx' to avoid aborting for error.
915 Revised and use multiple warnxxx functions to avoid using VARARGS1.
916 (read_declarations): Improve the error message for
917 an invalid character. Do not abort.
918 (read_declarations, copy_guard, copy_action): Use
919 printable_version to avoid unprintable characters in printed output.
920 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
921 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
922 Allow the type of a non-terminal can be given
923 more than once, as long as all specifications give the same type.
926 (output_headers, output_trailers, output, output_gram)
927 (output_rule_data): Implement noparserflag variable.
928 Implement toknumflag variable.
929 (output): Call reader_output_yylsp to output LTYPESTR.
932 If reader sees an error, don't process the grammar.
933 (fatals): Updated to not use VARARGS1.
934 (printable_version, int_to_string, warn, warni, warns, warnss)
935 (warnsss): New error reporting functions. Avoid abort for error.
938 Added THONG and NOOP for alias processing.
939 Added SETOPT for the new code that allows setting options with %flags.
942 Include getopt.h. Add some extern decls.
943 (safegetc): New function to deal with EOF gracefully.
944 (literalchar); new function to deal with reading \ escapes.
945 (lex): Use literalchar.
946 (lex): Implemented "..." tokens.
947 (literalchar, lex, parse_percent_token): Made tokenbuffer
948 always contain the token. This includes growing the token
949 buffer while reading an integer.
950 (parse_percent_token): Replaced if-else statement with percent_table.
951 (parse_percent_token): Added % declarations as another
952 way to specify the flags -n, -l, and -r. Also added hooks for
953 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
954 major changes to files.c.
955 (lex) Retain in the incoming stream a character following
957 (skip_white_space, lex): Revised most error messages
958 and changed fatal to warn to avoid aborting.
959 (percent_table): Added %thong declarations.
961 * src/gram.h: Comment changes.
963 * src/files.c (openfiles, open_extra_files, done):
965 and actfile file. Handle noparserflag. Both for -n switch.
967 * src/conflicts.c (resolve_sr_conflict):
968 Remove use of alloca.
970 1995-06-01 Jim Meyering <meyering@gnu.org>
972 * doc/bison.texinfo: *** empty log message ***
974 1995-05-06 Richard Stallman <rms@gnu.org>
976 * src/bison.s1: Comment change.
978 1995-05-06 Richard Stallman <rms@gnu.org>
980 * bison.simple: Comment change.
982 1995-05-03 Richard Stallman <rms@gnu.org>
984 * src/version.c: Version now 1.24.
986 * src/bison.s1: Change distribution terms.
988 * src/version.c: Version now 1.23.
990 1995-05-03 Richard Stallman <rms@gnu.org>
993 Rewrite "Conditions for Using Bison".
994 Update version to 1.24.
996 1995-05-03 Richard Stallman <rms@gnu.org>
998 * bison.simple: Change distribution terms.
1000 1995-02-23 Richard Stallman <rms@gnu.org>
1002 * src/files.c: Test __VMS_POSIX as well as VMS.
1004 1995-02-14 Jim Meyering <meyering@gnu.org>
1006 * src/bison.s1 (__yy_memcpy):
1007 Renamed from __yy_bcopy to avoid
1008 confusion. Reverse FROM and TO arguments to be consistent with
1011 1995-02-14 Jim Meyering <meyering@gnu.org>
1013 * bison.simple (__yy_memcpy):
1014 Renamed from __yy_bcopy to avoid
1015 confusion. Reverse FROM and TO arguments to be consistent with
1018 1994-11-10 David J. MacKenzie <djm@gnu.org>
1024 * Makefile.in (DISTFILES): Include NEWS.
1026 * Makefile.in (DISTFILES):
1027 Include install-sh, not install.sh.
1029 * configure.in: Update to Autoconf v2 macro names.
1031 1994-10-05 David J. MacKenzie <djm@gnu.org>
1033 * Makefile.in: fix typo
1035 * Makefile.in (prefix, exec_prefix):
1036 Let configure set them.
1038 1994-09-28 David J. MacKenzie <djm@gnu.org>
1040 * Makefile.in: Set datadir to $(prefix)/share.
1042 1994-09-15 Richard Stallman <rms@gnu.org>
1045 Update copyright notice and GPL version.
1047 1994-09-15 Richard Stallman <rms@gnu.org>
1050 Update copyright notice and GPL version.
1052 1994-07-12 Richard Stallman <rms@gnu.org>
1054 * src/reduce.c, src/reader.c:
1057 1994-05-05 David J. MacKenzie <djm@gnu.org>
1059 * Makefile.in: entered into RCS
1061 1994-03-26 Richard Stallman <rms@gnu.org>
1063 * src/bison.s1: entered into RCS
1065 1994-03-26 Richard Stallman <rms@gnu.org>
1067 * bison.simple: entered into RCS
1069 1994-03-25 Richard Stallman <rms@gnu.org>
1071 * src/main.c: entered into RCS
1073 1994-03-24 Richard Stallman <rms@gnu.org>
1075 * src/conflicts.c: entered into RCS
1077 1994-01-02 Richard Stallman <rms@gnu.org>
1079 * Makefile.in: *** empty log message ***
1081 1993-11-21 Richard Stallman <rms@gnu.org>
1083 * src/bison.s1: *** empty log message ***
1085 1993-11-21 Richard Stallman <rms@gnu.org>
1087 * doc/bison.texinfo: entered into RCS
1089 * doc/bison.texinfo: *** empty log message ***
1091 1993-11-21 Richard Stallman <rms@gnu.org>
1093 * bison.simple: *** empty log message ***
1095 1993-10-25 David J. MacKenzie <djm@gnu.org>
1097 * doc/bison.texinfo: *** empty log message ***
1099 1993-10-19 Richard Stallman <rms@gnu.org>
1101 * src/bison.s1: *** empty log message ***
1103 1993-10-19 Richard Stallman <rms@gnu.org>
1105 * bison.simple: *** empty log message ***
1107 1993-10-14 Richard Stallman <rms@gnu.org>
1109 * src/bison.s1: *** empty log message ***
1111 1993-10-14 Richard Stallman <rms@gnu.org>
1113 * bison.simple: *** empty log message ***
1115 1993-09-14 David J. MacKenzie <djm@gnu.org>
1117 * doc/bison.texinfo: *** empty log message ***
1119 1993-09-13 Noah Friedman <friedman@gnu.org>
1121 * Makefile.in: *** empty log message ***
1123 1993-09-10 Richard Stallman <rms@gnu.org>
1125 * src/conflicts.c: *** empty log message ***
1127 * src/system.h: entered into RCS
1129 1993-09-10 Richard Stallman <rms@gnu.org>
1131 * doc/bison.1: entered into RCS
1133 1993-09-06 Noah Friedman <friedman@gnu.org>
1135 * src/version.c: entered into RCS
1137 1993-09-06 Noah Friedman <friedman@gnu.org>
1139 * Makefile.in: *** empty log message ***
1141 1993-07-30 David J. MacKenzie <djm@gnu.org>
1143 * Makefile.in: *** empty log message ***
1145 1993-07-24 Richard Stallman <rms@gnu.org>
1147 * src/bison.s1: *** empty log message ***
1149 1993-07-24 Richard Stallman <rms@gnu.org>
1151 * bison.simple: *** empty log message ***
1153 1993-07-08 David J. MacKenzie <djm@gnu.org>
1155 * Makefile.in: *** empty log message ***
1157 1993-07-04 Richard Stallman <rms@gnu.org>
1159 * src/bison.s1: *** empty log message ***
1161 1993-07-04 Richard Stallman <rms@gnu.org>
1163 * bison.simple: *** empty log message ***
1165 1993-06-26 David J. MacKenzie <djm@gnu.org>
1167 * src/getargs.c: entered into RCS
1169 1993-06-26 David J. MacKenzie <djm@gnu.org>
1171 * doc/bison.texinfo: *** empty log message ***
1173 * doc/bison.1: New file.
1175 1993-06-25 Richard Stallman <rms@gnu.org>
1177 * src/getargs.c: New file.
1179 1993-06-16 Richard Stallman <rms@gnu.org>
1181 * src/bison.s1: *** empty log message ***
1183 1993-06-16 Richard Stallman <rms@gnu.org>
1185 * bison.simple: *** empty log message ***
1187 1993-06-03 Richard Stallman <rms@gnu.org>
1189 * src/bison.s1: New file.
1191 1993-06-03 Richard Stallman <rms@gnu.org>
1193 * doc/bison.texinfo: *** empty log message ***
1195 1993-06-03 Richard Stallman <rms@gnu.org>
1197 * bison.simple: New file.
1199 1993-05-19 Richard Stallman <rms@gnu.org>
1201 * doc/bison.texinfo: New file.
1203 1993-05-07 Noah Friedman <friedman@gnu.org>
1205 * Makefile.in: *** empty log message ***
1207 1993-04-28 Noah Friedman <friedman@gnu.org>
1209 * src/reader.c: *** empty log message ***
1211 1993-04-23 Noah Friedman <friedman@gnu.org>
1213 * src/alloc.h: entered into RCS
1215 1993-04-20 David J. MacKenzie <djm@gnu.org>
1217 * src/version.c: *** empty log message ***
1219 * src/files.c, src/allocate.c:
1222 * src/reader.c: *** empty log message ***
1224 * src/lex.c: entered into RCS
1226 * src/conflicts.c: New file.
1228 * src/symtab.c: entered into RCS
1230 * src/alloc.h: New file.
1232 * src/LR0.c: entered into RCS
1234 1993-04-18 Noah Friedman <friedman@gnu.org>
1236 * src/reader.c: New file.
1238 * src/version.c: *** empty log message ***
1240 1993-04-18 Noah Friedman <friedman@gnu.org>
1242 * Makefile.in: *** empty log message ***
1244 1993-04-17 Noah Friedman <friedman@gnu.org>
1246 * Makefile.in: *** empty log message ***
1248 1993-04-15 Richard Stallman <rms@gnu.org>
1250 * src/main.c, src/files.c:
1253 1993-04-15 Noah Friedman <friedman@gnu.org>
1255 * configure.in: entered into RCS
1257 * configure.in: *** empty log message ***
1259 * configure.in: New file.
1261 1993-04-14 Richard Stallman <rms@gnu.org>
1263 * Makefile.in: New file.
1265 1993-04-13 Richard Stallman <rms@gnu.org>
1267 * src/version.c: New file.
1269 1993-03-25 Richard Stallman <rms@gnu.org>
1271 * src/output.c: entered into RCS
1273 1992-09-25 Richard Stallman <rms@gnu.org>
1275 * configure.bat: entered into RCS
1277 1992-06-22 Richard Stallman <rms@gnu.org>
1279 * src/vmsgetargs.c: entered into RCS
1281 1992-06-22 Richard Stallman <rms@gnu.org>
1283 * doc/bison.rnh: entered into RCS
1285 1992-04-20 David J. MacKenzie <djm@gnu.org>
1287 * README: entered into RCS
1289 1992-01-22 Richard Stallman <rms@gnu.org>
1291 * src/machine.h: entered into RCS
1293 1991-12-21 Richard Stallman <rms@gnu.org>
1295 * src/lalr.c, src/closure.c:
1298 1991-12-20 Richard Stallman <rms@gnu.org>
1300 * src/state.h: entered into RCS
1302 1991-12-18 Richard Stallman <rms@gnu.org>
1304 * src/print.c, src/nullable.c, src/derives.c:
1307 1991-11-03 David J. MacKenzie <djm@gnu.org>
1309 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1312 1988-09-09 Richard Stallman <rms@gnu.org>
1314 * src/bison.hairy: entered into RCS
1316 1987-12-16 Richard Stallman <rms@gnu.org>
1318 * REFERENCES: entered into RCS