1 2000-09-20 Akim Demaille <akim@epita.fr>
3 * tests/atgeneral.m4: Update from Autoconf.
4 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
5 (AT_CHECK_CALC): New macros.
6 Use these macros to test bison with options `', `--raw',
7 `--debug', `--yacc', `--yacc --debug'.
9 2000-09-19 Akim Demaille <akim@epita.fr>
11 * src/output.c: Formatting changes.
12 * src/machine.h: Remove, leaving its contents in...
15 Adjust all dependencies on stdio.h and machine.h.
16 * src/getargs.h: New file.
17 Let all `extern' declarations about getargs.c be replaced with
18 inclusion of `getargs.h'.
19 * src/Makefile.am (noinst_HEADERS): Adjust.
21 * tests/calc.m4 (yyin): Be initialized in main, not on the global
23 (yyerror): Returns void, not int.
24 * doc/bison.texinfo: Formatting changes.
26 2000-09-19 Akim Demaille <akim@epita.fr>
28 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
31 2000-09-18 Akim Demaille <akim@epita.fr>
33 * configure.in: Append WARNING_CFLAGS to CFLAGS.
34 * src/Makefile.am (INCLUDES): Don't.
35 Be ready to fetch headers in lib/.
37 2000-09-18 Akim Demaille <akim@epita.fr>
39 * doc/bison.texinfo: Update the copyright.
40 ANSIfy and GNUify the examples.
43 2000-09-18 Akim Demaille <akim@epita.fr>
45 First set of tests: use the `calc' example from the documentation.
47 * src/bison.s1 (yyparse): Condition the code using `yytname' which
48 is defined only when YYDEBUG is.
49 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
50 * src/files.c (tryopen, tryclose): Formatting changes.
51 Move to the top and be static.
52 * src/reader.c (read_signed_integer): Likewise.
53 * tests/calc.m4: New file.
54 * Makefile.am, suite.m4: Adjust.
55 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
57 2000-09-18 Akim Demaille <akim@epita.fr>
59 Add support for an Autotest test suite for Bison.
61 * m4/m4.m4, m4/atconfig.m4: New files.
62 * m4/Makefile.am (EXTRA_DIST): Adjust.
63 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
65 * src/getargs.c: Display a more standard --version message.
66 * src/reader.c (reader): Formatting changes.
67 No longer depend upon VERSION_STRING.
68 * configure.in: No longer use `dnl'.
69 Set up the test suite and the new directory `tests/.
70 (VERSION_STRING): Remove.
72 2000-04-14 Akim Demaille <akim@epita.fr>
74 * src/reader.c (copy_comment2): New function, same as former
75 `copy_comment', but outputs into two FILE *.
76 (copy_comment): Use it.
77 (parse_union_decl): Use it.
78 (get_type, parse_start_decl): Use the same `invalid' message.
79 (parse_start_decl, parse_union_decl): Use the same `multiple'
81 (parse_union_decl, copy_guard, copy_action): Use the same
83 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
85 2000-03-31 Akim Demaille <akim@epita.fr>
87 * src/files.c (tryopen, tryclose): Move to the top.
90 2000-03-31 Akim Demaille <akim@epita.fr>
92 * src/main.c (main): Don't call `done', exit does it.
94 2000-03-31 Akim Demaille <akim@epita.fr>
96 * allocate.c: s/return (foo)/return foo/.
100 * reader.c: Likewise.
101 * symtab.c: Likewise.
102 * vmsgetargs.c: Likewise.
104 2000-03-31 Akim Demaille <akim@epita.fr>
106 Clean up the error reporting functions.
108 * src/report.c: New file.
109 * src/report.h: Likewise.
110 * src/Makefile.am: Adjust.
111 * m4/error.m4: New file.
112 * m4/Makefile.am: Adjust.
113 * configure.in (jm_PREREQ_ERROR): Call it.
114 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
116 (fatal, fatals): Remove. All callers use complain.c::fatal.
117 (warn, warni, warns, warnss, warnss): Remove. All callers use
118 complain.c::complain.
119 (toomany): Remove, use fatal instead.
120 * src/files.c (done): No argument, use complain_message_count.
121 * src/main.c (main): Register `done' to `atexit'.
123 * src/getargs.c (usage): More `fputs', less `fprintf'.
125 2000-03-28 Akim Demaille <akim@epita.fr>
127 * lib/: New directory.
128 * Makefile.am (SUBDIRS): Adjust.
129 * configure.in: Adjust.
130 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
132 * src/alloca.c: Moved to lib/.
133 * src/getopt.c: Likewise.
134 * src/getopt1.c: Likewise.
135 * src/getopt.h: Likewise.
136 * src/ansi2knr.c: Likewise.
137 * src/ansi2knr.1: Likewise.
138 * src/Makefile.am: Adjust.
139 * lib/Makefile.am: New file.
141 2000-03-28 Akim Demaille <akim@epita.fr>
143 * src/getargs.c (usage): Refresh the help message.
145 2000-03-17 Akim Demaille <akim@epita.fr>
147 * src/getopt1.c: Updated from textutils 2.0e
148 * src/getopt.c: Likewise.
149 * src/getopt.h: Likewise.
151 2000-03-17 Akim Demaille <akim@epita.fr>
153 * src/Makefile.am (bison.simple): Fix the awk program: quote only
154 the file name, not the whole `#line LINE FILE'.
156 2000-03-17 Akim Demaille <akim@epita.fr>
158 On syntax errors, report the token on which we choked.
160 * src/bison.s1 (yyparse): In the label yyerrlab, when
161 YYERROR_VERBOSE, add yychar in msg.
163 2000-03-17 Akim Demaille <akim@epita.fr>
165 * src/reader.c (copy_at): New function.
166 (copy_guard): Use it.
167 (copy_action): Use it.
169 2000-03-17 Akim Demaille <akim@epita.fr>
171 Be kind to translators, save some useless translations.
173 * src/main.c (banner): New function.
174 (fatal_banner): Use it.
175 (warn_banner): Use it.
177 2000-03-17 Akim Demaille <akim@epita.fr>
179 * src/reader.c (copy_definition): Use copy_string and
180 copy_comment. Removed now unused `match', `ended',
182 (copy_comment, copy_string): Moved, to be visible from
185 2000-03-17 Akim Demaille <akim@epita.fr>
187 * src/reader.c (copy_string): Declare `static inline'. No
188 problems with inline, since it is checked by configure.
189 (copy_comment): Likewise.
191 2000-03-17 Akim Demaille <akim@epita.fr>
193 * src/reader.c (packsymbols): Formatting changes.
195 2000-03-17 Akim Demaille <akim@epita.fr>
197 * src/reader.c (copy_comment): New function, factored out from:
198 (copy_action): Use it. Removed now unused `match', `ended',
200 (copy_guard): Likewise.
202 2000-03-17 Akim Demaille <akim@epita.fr>
204 * src/reader.c (copy_string): New function, factored out from:
205 (copy_action): Use it.
206 (copy_guard): Likewise.
208 2000-03-17 Akim Demaille <akim@epita.fr>
210 Change the handling of @s so that they behave exactly like $s.
211 There is now a pseudo variable @$ (readble and writable), location
212 of the lhs of the rule (by default ranging from the location of
213 the first symbol of the rhs, to the location of the last symbol,
214 or, if the rhs is empty, YYLLOC).
216 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
218 (yyparse): When providing a default semantic action, provide a
219 default location action.
220 (after the $): No longer change `*YYLSP', just stack YYLOC the
221 same way you stack YYVAL.
222 * src/reader.c (read_declarations): Use warns.
223 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
224 (copy_action, case '@'): Likewise.
225 Use a standard error message, to save useless work from
228 2000-03-17 Akim Demaille <akim@epita.fr>
230 * src/bison.s1: Formatting and cosmetics changes.
231 * src/reader.c: Likewise.
232 Update the Copyright notice.
234 2000-03-17 Akim Demaille <akim@epita.fr>
236 * src/bison.s1 (#line): All set to `#line' only, since the
237 Makefile now handles them.
239 2000-03-16 Akim Demaille <akim@epita.fr>
241 * src/output.c (output_rule_data): Output the documentation of
243 (Copyright notice): Update.
246 2000-03-16 Akim Demaille <akim@epita.fr>
248 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
249 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
250 One `#if YYDEBUG' remains, since it uses variables which are
251 defined only if `YYDEBUG != 0'.
253 2000-03-16 Akim Demaille <akim@epita.fr>
255 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
256 and related variables so that the similarities are highlighted.
258 2000-03-16 Akim Demaille <akim@epita.fr>
260 * src/bison.s1: Properly indent CPP directives.
262 2000-03-16 Akim Demaille <akim@epita.fr>
264 * src/bison.s1: Properly indent the `alloca' CPP section.
266 2000-03-16 Akim Demaille <akim@epita.fr>
268 Do not hard code values of directories in `configure.in'.
269 Update the `configure' tool chain.
271 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
273 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
274 (AC_OUTPUT): Add m4/Makefile.
275 Bump to bison 1.28a, 1.29 has never been released.
276 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
277 handled via src/Makefile.am.
278 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
279 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
281 * Makefile.am (SUBDIRS): Add m4.
282 (ACLOCAL_AM_FLAGS): New variable.
283 (AUTOMAKE_OPTIONS): Add check-news.
284 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
285 the proper line number and file name.
286 (DEFS): Propagate the location of bison library files and of the
288 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
290 * acinclude.m4: Remove, replaced by the directory m4.
291 * m4/Makefile.am (EXTRA_DIST): New variable.
292 * m4/gettext.m4: New file, from the fileutils.
293 * m4/lcmessage.m4: Likewise
294 * m4/progtest.m4: Likewise.
295 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
297 2000-03-10 Akim Demaille <akim@epita.fr>
300 Formatting changes of various comments.
301 Respect the GNU coding standards at various places.
302 Don't use `_()' when no translation is needed.
304 1999-12-13 Jesse Thilo <jthilo@gnu.org>
307 OS/2 honors TMPDIR environment variable.
309 1999-12-13 Jesse Thilo <jthilo@gnu.org>
311 * doc/bison.texinfo: Tweaked spelling and grammar.
313 Removed reference to price of printed copy.
314 Mention BISON_SIMPLE and BISON_HAIRY.
316 1999-12-13 Jesse Thilo <jthilo@gnu.org>
318 * configure.in, NEWS:
321 1999-10-27 Jesse Thilo <jthilo@gnu.org>
323 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
324 Added reference card.
326 1999-07-26 Jesse Thilo <jthilo@gnu.org>
328 * po/ru.po: Added Russian translation.
330 1999-07-26 Jesse Thilo <jthilo@gnu.org>
332 * configure.in: Added Russian translation.
334 1999-07-06 Jesse Thilo <jthilo@gnu.org>
336 * configure.in, NEWS, README:
337 Released version 1.28.
339 1999-06-14 Jesse Thilo <jthilo@gnu.org>
342 Squashed redefinition warning on some systems.
344 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
345 Have configure build version string instead of relying on ANSI string
348 1999-06-14 Jesse Thilo <jthilo@gnu.org>
350 * po/POTFILES.in: Got rid of version.c.
352 1999-06-14 Jesse Thilo <jthilo@gnu.org>
354 * acconfig.h, configure.in:
355 Have configure build version string instead of relying on ANSI string
358 1999-06-08 Jesse Thilo <jthilo@gnu.org>
361 Dropped mention of `+' for long-named options.
363 1999-05-30 Jesse Thilo <jthilo@gnu.org>
365 * src/files.c: Added <unistd.h> for unlink().
367 * src/Makefile.am, src/system.h:
370 1999-05-30 Jesse Thilo <jthilo@gnu.org>
372 * README: Added a FAQ list.
374 * configure.in, acconfig.h:
377 1999-05-30 Jesse Thilo <jthilo@gnu.org>
379 * doc/FAQ, doc/Makefile.am:
382 1999-05-19 Jesse Thilo <jthilo@gnu.org>
384 * src/alloc.h, src/symtab.h, src/version.c:
385 Protected inclusion of "config.h" with HAVE_CONFIG_H.
387 1999-04-18 Jesse Thilo <jthilo@gnu.org>
389 * src/.cvsignore, src/Makefile.am:
390 Reorganized: sources in `src', documentation in `doc'.
392 * src/lex.c (literalchar):
393 fixed the code for escaping double quotes (thanks
396 1999-04-18 Jesse Thilo <jthilo@gnu.org>
398 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
399 Adjusted paths to reflect directory reorganization.
401 1999-04-18 Jesse Thilo <jthilo@gnu.org>
403 * doc/.cvsignore, doc/Makefile.am:
404 Reorganized: sources in `src', documentation in `doc'.
406 1999-04-18 Jesse Thilo <jthilo@gnu.org>
409 Updated AC_INIT file to reflect directory reorganization.
411 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
412 Reorganized: sources in `src', documentation in `doc'.
414 1999-04-13 Jesse Thilo <jthilo@gnu.org>
417 Don't declare calloc() and realloc() if not necessary.
419 1999-04-13 Jesse Thilo <jthilo@gnu.org>
421 * configure.in, acconfig.h, acinclude.m4:
422 Don't declare calloc() and realloc() if not necessary.
424 1999-03-23 Jesse Thilo <jthilo@gnu.org>
426 * po/.cvsignore: Added i18n support.
428 1999-03-23 Jesse Thilo <jthilo@gnu.org>
430 * acconfig.h, configure.in, Makefile.am:
433 1999-03-22 Jesse Thilo <jthilo@gnu.org>
435 * src/bison.s1: Fixed #line numbers.
437 1999-03-15 Jesse Thilo <jthilo@gnu.org>
439 * po/es.po, po/fr.po, po/nl.po, po/de.po:
440 Added PO files from Translation Project.
442 1999-03-03 Jesse Thilo <jthilo@gnu.org>
445 Added support for non-ANSI compilers (ansi2knr).
447 1999-02-16 Jesse Thilo <jthilo@gnu.org>
449 * configure.in: Bumped version number to 1.27.
452 Added `bison.simple' to list of files removed by `make distclean'.
454 1999-02-12 Jesse Thilo <jthilo@gnu.org>
456 * src/files.c, src/files.h:
457 Defined locations of parser files in config.h instead of Makefile.
459 1999-02-12 Jesse Thilo <jthilo@gnu.org>
461 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
462 Defined locations of parser files in config.h instead of Makefile.
464 1999-02-09 Jesse Thilo <jthilo@gnu.org>
467 Removed inappropriate use of $< macro.
469 1999-02-05 Jesse Thilo <jthilo@gnu.org>
471 * po/Makefile.in.in, po/POTFILES.in:
472 Add `po' directory skeleton.
474 1999-01-27 Jesse Thilo <jthilo@gnu.org>
476 * README: Document help-bison list.
478 * configure.in: Add check for mkstemp().
480 1999-01-20 Jesse Thilo <jthilo@gnu.org>
482 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
483 Hush a few compiler warnings.
486 Add tryclose(), which verifies that fclose was successful.
487 Hush a couple of compiler warnings.
489 1999-01-20 Jesse Thilo <jthilo@gnu.org>
491 * Makefile.am, OChangeLog:
492 ChangeLog is now automatically generated. Include the old version as
495 1999-01-14 Jesse Thilo <jthilo@gnu.org>
497 * 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:
500 1999-01-14 Jesse Thilo <jthilo@gnu.org>
502 * doc/bison.texinfo: Fix formatting glitch.
504 * doc/bison.texinfo: Update FSF address.
506 1999-01-14 Jesse Thilo <jthilo@gnu.org>
508 * acconfig.h: Update FSF address.
510 1999-01-08 Jesse Thilo <jthilo@gnu.org>
513 Don't define PACKAGE here, since config.h defines it.
515 1998-12-30 Jesse Thilo <jthilo@gnu.org>
517 * src/reader.c: Update copyright date.
520 Ditch sprintf to statically-sized buffers in fatal/warn functions in
521 favor of output directly to stderr (avoids buffer overruns).
523 * src/reader.c: Some checks for premature EOF.
525 * 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:
526 Use prototypes if the compiler understands them.
528 * src/files.c: Honor TMPDIR on Unix hosts.
529 Use prototypes if the compiler understands them.
532 Fix a couple of buffer overrun bugs.
533 Use prototypes if the compiler understands them.
535 * src/system.h: Include unistd.h and ctype.h.
536 Use #ifdef instead of #if for NLS symbols.
538 1998-12-30 Jesse Thilo <jthilo@gnu.org>
541 Delete comment "consider using @set for edition number, etc..." since
544 1998-12-30 Jesse Thilo <jthilo@gnu.org>
547 Use prototypes if the compiler understands them.
549 * NEWS: Document 1.26 highlights.
551 * Makefile.am: Require Automake 1.3 or later.
554 Use prototypes if the compiler understands them.
556 1998-12-29 Jesse Thilo <jthilo@gnu.org>
559 Use VERSION symbol from automake for version number.
561 1998-12-29 Jesse Thilo <jthilo@gnu.org>
563 * acconfig.h, configure.in, version.cin:
564 Use VERSION symbol from automake for version number.
566 1998-11-28 Jesse Thilo <jthilo@gnu.org>
569 Distribute original version of simple parser (bison.s1), not built
570 version (bison.simple).
572 1998-11-28 Jesse Thilo <jthilo@gnu.org>
574 * doc/bison.texinfo: Add info dir entry.
577 Let automake put version number into documentation.
579 1998-11-26 Jesse Thilo <jthilo@gnu.org>
581 * src/bison.cld, src/build.com, src/vmshlp.mar:
582 Add non-RCS files from /gd/gnu/bison.
584 1998-11-26 Jesse Thilo <jthilo@gnu.org>
587 Document the BISON_HAIRY and BISON_SIMPLE variables.
589 1998-11-25 Jesse Thilo <jthilo@gnu.org>
591 * src/version.c: Build version.c automatically.
594 Fix token numbering (used to start at 258, not 257).
596 * src/system.h: Include config.h.
598 * src/getargs.c: Update bug report address.
600 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
601 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
603 1998-11-25 Jesse Thilo <jthilo@gnu.org>
606 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
608 * configure.in, version.cin:
609 Build version.c automatically.
611 * AUTHORS: Add AUTHORS file.
613 * README: Update bug report address.
616 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
618 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
621 1998-11-25 Jesse Thilo <jthilo@gnu.org>
623 * doc/bison.texinfo: Clean up some formatting.
625 1998-05-05 Richard Stallman <rms@gnu.org>
628 Explain better why to make a pure parser.
630 1998-01-05 Richard Stallman <rms@gnu.org>
632 * src/files.c (openfiles):
633 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
634 find a temporary directory, if possible. Do not unlink files while
637 1997-08-25 Richard Stallman <rms@gnu.org>
639 * src/reader.c (stack_offset;):
640 Change some warni to warns.
642 * src/lex.c (literalchar): Use warns, not warni.
644 1997-06-28 Richard Stallman <rms@gnu.org>
646 * src/bison.s1: Add a Bison version comment.
648 * src/main.c (fatal, warn, berror):
651 1997-06-28 Richard Stallman <rms@gnu.org>
653 * Makefile.in (bison_version): New variable.
654 (dist): Use that variable.
655 (bison.s1): Substitute the Bison version into bison.simple.
657 * bison.simple: Add a Bison version comment.
659 1997-06-18 Richard Stallman <rms@gnu.org>
661 * src/main.c (fatal, warn, berror):
662 Make error messages standard.
663 (toomany): Improve error message text.
665 * 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:
666 new.h renamed to alloc.h.
668 1997-06-18 Richard Stallman <rms@gnu.org>
670 * Makefile.in: new.h renamed to alloc.h.
672 1997-05-24 Richard Stallman <rms@gnu.org>
674 * src/lex.c (literalchar):
675 Fix the code for escaping \, " and '.
677 (lex): Avoid trouble when there are many chars
678 to discard in a char literal with just several chars in it.
680 1997-05-17 Richard Stallman <rms@gnu.org>
683 Use malloc, if using alloca is troublesome.
684 (YYSTACK_USE_ALLOCA): New flag macro.
685 Define it for some systems and compilers.
686 (YYSTACK_ALLOC): New macro.
687 (yyparse): Use YYSTACK_ALLOC to allocate stack.
688 If it was malloc'd, free it.
690 1997-05-17 Richard Stallman <rms@gnu.org>
693 Use malloc, if using alloca is troublesome.
694 (YYSTACK_USE_ALLOCA): New flag macro.
695 Define it for some systems and compilers.
696 (YYSTACK_ALLOC): New macro.
697 (yyparse): Use YYSTACK_ALLOC to allocate stack.
698 If it was malloc'd, free it.
700 1997-04-23 Richard Stallman <rms@gnu.org>
703 (alloca) [__hpux]: Always define as __builtin_alloca.
705 1997-04-23 Richard Stallman <rms@gnu.org>
708 (alloca) [__hpux]: Always define as __builtin_alloca.
710 1997-04-22 Richard Stallman <rms@gnu.org>
713 [__hpux]: Include alloca.h (right for HPUX 10)
714 instead of declaring alloca (right for HPUX 9).
716 * src/bison.s1 (__yy_memcpy):
717 Declare arg `count' as unsigned int.
718 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
720 1997-04-22 Richard Stallman <rms@gnu.org>
723 [__hpux]: Include alloca.h (right for HPUX 10)
724 instead of declaring alloca (right for HPUX 9).
726 * bison.simple (__yy_memcpy):
727 Declare arg `count' as unsigned int.
728 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
730 1997-01-03 Richard Stallman <rms@gnu.org>
732 * src/allocate.c: [__STDC__ or _MSC_VER]:
733 Declare calloc and realloc to return void *.
735 1997-01-02 Richard Stallman <rms@gnu.org>
738 [_MSC_VER]: Include stdlib.h and process.h.
739 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
741 * src/main.c (main): Return FAILURE as a value.
742 (printable_version): Declare arg as int, not char.
744 1997-01-02 Richard Stallman <rms@gnu.org>
746 * Makefile.in (dist):
747 Explicitly check for symlinks, and copy them.
749 1996-12-19 Richard Stallman <rms@gnu.org>
752 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
754 1996-12-18 Paul Eggert <eggert@gnu.org>
756 * src/bison.s1 (yyparse):
757 If __GNUC__ and YYPARSE_PARAM are both defined,
758 declare yyparse to have a void * argument.
760 1996-12-18 Paul Eggert <eggert@gnu.org>
762 * bison.simple (yyparse):
763 If __GNUC__ and YYPARSE_PARAM are both defined,
764 declare yyparse to have a void * argument.
766 1996-12-17 Richard Stallman <rms@gnu.org>
768 * src/reduce.c (nbits): Add some casts.
770 1996-08-12 Richard Stallman <rms@gnu.org>
772 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
774 1996-08-12 Richard Stallman <rms@gnu.org>
776 * bison.simple: Test _MSDOS as well as _MSDOS_.
778 1996-07-31 Richard Stallman <rms@gnu.org>
781 [__sun && __i386]: Include alloca.h.
783 1996-07-31 Richard Stallman <rms@gnu.org>
786 [__sun && __i386]: Include alloca.h.
788 1996-07-30 Richard Stallman <rms@gnu.org>
790 * src/bison.s1: Comment change.
792 * src/bison.s1: Test _MSDOS_, not MSDOS.
794 1996-07-30 Richard Stallman <rms@gnu.org>
796 * bison.simple: Comment change.
798 * bison.simple: Test _MSDOS_, not MSDOS.
800 1996-06-01 Richard Stallman <rms@gnu.org>
802 * 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:
803 Insert `_' macro around many string constants.
806 Insert `_' macro around many string constants.
808 (main): Call setlocale, bindtextdomain and textdomain.
810 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
811 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
812 [ENABLE_NLS]: Include libintl.h.
813 [ENABLE_NLS] (gettext): Define.
814 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
815 (N_, PACKAGE, LOCALEDIR): New macros.
817 1996-06-01 Richard Stallman <rms@gnu.org>
819 * POTFILES.in: New file.
821 * Makefile.in (allocate.o):
822 Define target explicitly.
824 * Makefile.in (CFLAGS): Set to @CFLAGS@.
825 (LDFLAGS): Set to @LDFLAGS@.
826 (configure): Run autoconf only if preceding `cd' succeeds.
827 (bison.s1): Redirect output to temporary file then move the
828 temporary to the target, rather than redirecting directly to bison.s1.
829 (clean): Remove config.status and config.log.
830 (distclean): Don't remove config.status here.
832 1996-05-12 Richard Stallman <rms@gnu.org>
835 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
837 1996-05-12 Richard Stallman <rms@gnu.org>
840 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
842 1996-05-11 Richard Stallman <rms@gnu.org>
844 * src/bison.s1 (__yy_memcpy):
845 Really reorder the args, as was supposedly done on Feb 14 1995.
846 (yyparse): Calls changed accordingly.
848 1996-05-11 Richard Stallman <rms@gnu.org>
850 * Makefile.in (dist): Don't use $(srcdir).
852 * bison.simple (__yy_memcpy):
853 Really reorder the args, as was supposedly done on Feb 14 1995.
854 (yyparse): Calls changed accordingly.
856 1996-01-27 Richard Stallman <rms@gnu.org>
858 * src/output.c (output_rule_data):
859 Test YYERROR_VERBOSE in the conditional
860 around the definition of ttyname.
862 1995-12-29 Richard Stallman <rms@gnu.org>
865 Fix line numbers in #line commands.
867 1995-12-29 Richard Stallman <rms@gnu.org>
870 Fix line numbers in #line commands.
872 1995-12-27 Richard Stallman <rms@gnu.org>
874 * src/bison.s1 (YYPARSE_PARAM_DECL):
875 In C++, make it always null.
876 (YYPARSE_PARAM_ARG): New macro.
877 (yyparse): Use YYPARSE_PARAM_ARG.
879 1995-12-27 Richard Stallman <rms@gnu.org>
881 * bison.simple (YYPARSE_PARAM_DECL):
882 In C++, make it always null.
883 (YYPARSE_PARAM_ARG): New macro.
884 (yyparse): Use YYPARSE_PARAM_ARG.
886 1995-11-29 Richard Stallman <rms@gnu.org>
889 Describe literal string tokens, %raw, %no_lines, %token_table.
891 1995-11-29 Daniel Hagerty <hag@gnu.org>
893 * doc/bison.texinfo: Fixed update date
895 1995-10-16 Richard Stallman <rms@gnu.org>
897 * src/version.c: Version 1.25.
899 1995-10-16 Richard Stallman <rms@gnu.org>
901 * NEWS: *** empty log message ***
903 1995-10-16 Richard Stallman <rms@gnu.org>
905 * doc/bison.1, doc/bison.rnh:
908 1995-10-15 Richard Stallman <rms@gnu.org>
910 * src/vmsgetargs.c, src/getargs.c:
911 Added -n, -k, and -raw switches.
912 (noparserflag, toknumflag, rawtoknumflag): New variables.
914 * src/symtab.h (SALIAS):
915 New #define for adding aliases to %token.
916 (struct bucket): Added `alias' field.
918 * src/reduce.c (reduce_grammar):
919 Revise error message.
920 (print_notices): Remove final `.' from error message.
922 * src/reader.c (reader_output_yylsp):
924 (readgram): Use `#if 0' around code that accepted %command
925 inside grammar rules: The documentation doesn't allow it,
926 and it will fail since the %command processors scan for the next %.
927 (parse_token_decl): Extended the %token
928 declaration to allow a multi-character symbol as an alias.
929 (parse_thong_decl): New function.
930 (read_declarations): Added %thong declarations.
931 (read_declarations): Handle NOOP to deal with allowing
932 % declarations as another means to specify the flags.
933 (readgram): Allow %prec prior to semantics embedded in a rule.
934 (skip_to_char, read_declarations, copy_definition)
935 (parse_token_decl, parse_start_decl, parse_type_decl)
936 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
937 (get_type_name, copy_guard, copy_action, readgram)
938 (get_type, packsymbols): Revised most error messages.
939 Changed `fatal' to `warnxxx' to avoid aborting for error.
940 Revised and use multiple warnxxx functions to avoid using VARARGS1.
941 (read_declarations): Improve the error message for
942 an invalid character. Do not abort.
943 (read_declarations, copy_guard, copy_action): Use
944 printable_version to avoid unprintable characters in printed output.
945 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
946 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
947 Allow the type of a non-terminal can be given
948 more than once, as long as all specifications give the same type.
951 (output_headers, output_trailers, output, output_gram)
952 (output_rule_data): Implement noparserflag variable.
953 Implement toknumflag variable.
954 (output): Call reader_output_yylsp to output LTYPESTR.
957 If reader sees an error, don't process the grammar.
958 (fatals): Updated to not use VARARGS1.
959 (printable_version, int_to_string, warn, warni, warns, warnss)
960 (warnsss): New error reporting functions. Avoid abort for error.
963 Added THONG and NOOP for alias processing.
964 Added SETOPT for the new code that allows setting options with %flags.
967 Include getopt.h. Add some extern decls.
968 (safegetc): New function to deal with EOF gracefully.
969 (literalchar); new function to deal with reading \ escapes.
970 (lex): Use literalchar.
971 (lex): Implemented "..." tokens.
972 (literalchar, lex, parse_percent_token): Made tokenbuffer
973 always contain the token. This includes growing the token
974 buffer while reading an integer.
975 (parse_percent_token): Replaced if-else statement with percent_table.
976 (parse_percent_token): Added % declarations as another
977 way to specify the flags -n, -l, and -r. Also added hooks for
978 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
979 major changes to files.c.
980 (lex) Retain in the incoming stream a character following
982 (skip_white_space, lex): Revised most error messages
983 and changed fatal to warn to avoid aborting.
984 (percent_table): Added %thong declarations.
986 * src/gram.h: Comment changes.
988 * src/files.c (openfiles, open_extra_files, done):
990 and actfile file. Handle noparserflag. Both for -n switch.
992 * src/conflicts.c (resolve_sr_conflict):
993 Remove use of alloca.
995 1995-06-01 Jim Meyering <meyering@gnu.org>
997 * doc/bison.texinfo: *** empty log message ***
999 1995-05-06 Richard Stallman <rms@gnu.org>
1001 * src/bison.s1: Comment change.
1003 1995-05-06 Richard Stallman <rms@gnu.org>
1005 * bison.simple: Comment change.
1007 1995-05-03 Richard Stallman <rms@gnu.org>
1009 * src/version.c: Version now 1.24.
1011 * src/bison.s1: Change distribution terms.
1013 * src/version.c: Version now 1.23.
1015 1995-05-03 Richard Stallman <rms@gnu.org>
1017 * doc/bison.texinfo:
1018 Rewrite "Conditions for Using Bison".
1019 Update version to 1.24.
1021 1995-05-03 Richard Stallman <rms@gnu.org>
1023 * bison.simple: Change distribution terms.
1025 1995-02-23 Richard Stallman <rms@gnu.org>
1027 * src/files.c: Test __VMS_POSIX as well as VMS.
1029 1995-02-14 Jim Meyering <meyering@gnu.org>
1031 * src/bison.s1 (__yy_memcpy):
1032 Renamed from __yy_bcopy to avoid
1033 confusion. Reverse FROM and TO arguments to be consistent with
1036 1995-02-14 Jim Meyering <meyering@gnu.org>
1038 * bison.simple (__yy_memcpy):
1039 Renamed from __yy_bcopy to avoid
1040 confusion. Reverse FROM and TO arguments to be consistent with
1043 1994-11-10 David J. MacKenzie <djm@gnu.org>
1049 * Makefile.in (DISTFILES): Include NEWS.
1051 * Makefile.in (DISTFILES):
1052 Include install-sh, not install.sh.
1054 * configure.in: Update to Autoconf v2 macro names.
1056 1994-10-05 David J. MacKenzie <djm@gnu.org>
1058 * Makefile.in: fix typo
1060 * Makefile.in (prefix, exec_prefix):
1061 Let configure set them.
1063 1994-09-28 David J. MacKenzie <djm@gnu.org>
1065 * Makefile.in: Set datadir to $(prefix)/share.
1067 1994-09-15 Richard Stallman <rms@gnu.org>
1070 Update copyright notice and GPL version.
1072 1994-09-15 Richard Stallman <rms@gnu.org>
1075 Update copyright notice and GPL version.
1077 1994-07-12 Richard Stallman <rms@gnu.org>
1079 * src/reduce.c, src/reader.c:
1082 1994-05-05 David J. MacKenzie <djm@gnu.org>
1084 * Makefile.in: entered into RCS
1086 1994-03-26 Richard Stallman <rms@gnu.org>
1088 * src/bison.s1: entered into RCS
1090 1994-03-26 Richard Stallman <rms@gnu.org>
1092 * bison.simple: entered into RCS
1094 1994-03-25 Richard Stallman <rms@gnu.org>
1096 * src/main.c: entered into RCS
1098 1994-03-24 Richard Stallman <rms@gnu.org>
1100 * src/conflicts.c: entered into RCS
1102 1994-01-02 Richard Stallman <rms@gnu.org>
1104 * Makefile.in: *** empty log message ***
1106 1993-11-21 Richard Stallman <rms@gnu.org>
1108 * src/bison.s1: *** empty log message ***
1110 1993-11-21 Richard Stallman <rms@gnu.org>
1112 * doc/bison.texinfo: entered into RCS
1114 * doc/bison.texinfo: *** empty log message ***
1116 1993-11-21 Richard Stallman <rms@gnu.org>
1118 * bison.simple: *** empty log message ***
1120 1993-10-25 David J. MacKenzie <djm@gnu.org>
1122 * doc/bison.texinfo: *** empty log message ***
1124 1993-10-19 Richard Stallman <rms@gnu.org>
1126 * src/bison.s1: *** empty log message ***
1128 1993-10-19 Richard Stallman <rms@gnu.org>
1130 * bison.simple: *** empty log message ***
1132 1993-10-14 Richard Stallman <rms@gnu.org>
1134 * src/bison.s1: *** empty log message ***
1136 1993-10-14 Richard Stallman <rms@gnu.org>
1138 * bison.simple: *** empty log message ***
1140 1993-09-14 David J. MacKenzie <djm@gnu.org>
1142 * doc/bison.texinfo: *** empty log message ***
1144 1993-09-13 Noah Friedman <friedman@gnu.org>
1146 * Makefile.in: *** empty log message ***
1148 1993-09-10 Richard Stallman <rms@gnu.org>
1150 * src/conflicts.c: *** empty log message ***
1152 * src/system.h: entered into RCS
1154 1993-09-10 Richard Stallman <rms@gnu.org>
1156 * doc/bison.1: entered into RCS
1158 1993-09-06 Noah Friedman <friedman@gnu.org>
1160 * src/version.c: entered into RCS
1162 1993-09-06 Noah Friedman <friedman@gnu.org>
1164 * Makefile.in: *** empty log message ***
1166 1993-07-30 David J. MacKenzie <djm@gnu.org>
1168 * Makefile.in: *** empty log message ***
1170 1993-07-24 Richard Stallman <rms@gnu.org>
1172 * src/bison.s1: *** empty log message ***
1174 1993-07-24 Richard Stallman <rms@gnu.org>
1176 * bison.simple: *** empty log message ***
1178 1993-07-08 David J. MacKenzie <djm@gnu.org>
1180 * Makefile.in: *** empty log message ***
1182 1993-07-04 Richard Stallman <rms@gnu.org>
1184 * src/bison.s1: *** empty log message ***
1186 1993-07-04 Richard Stallman <rms@gnu.org>
1188 * bison.simple: *** empty log message ***
1190 1993-06-26 David J. MacKenzie <djm@gnu.org>
1192 * src/getargs.c: entered into RCS
1194 1993-06-26 David J. MacKenzie <djm@gnu.org>
1196 * doc/bison.texinfo: *** empty log message ***
1198 * doc/bison.1: New file.
1200 1993-06-25 Richard Stallman <rms@gnu.org>
1202 * src/getargs.c: New file.
1204 1993-06-16 Richard Stallman <rms@gnu.org>
1206 * src/bison.s1: *** empty log message ***
1208 1993-06-16 Richard Stallman <rms@gnu.org>
1210 * bison.simple: *** empty log message ***
1212 1993-06-03 Richard Stallman <rms@gnu.org>
1214 * src/bison.s1: New file.
1216 1993-06-03 Richard Stallman <rms@gnu.org>
1218 * doc/bison.texinfo: *** empty log message ***
1220 1993-06-03 Richard Stallman <rms@gnu.org>
1222 * bison.simple: New file.
1224 1993-05-19 Richard Stallman <rms@gnu.org>
1226 * doc/bison.texinfo: New file.
1228 1993-05-07 Noah Friedman <friedman@gnu.org>
1230 * Makefile.in: *** empty log message ***
1232 1993-04-28 Noah Friedman <friedman@gnu.org>
1234 * src/reader.c: *** empty log message ***
1236 1993-04-23 Noah Friedman <friedman@gnu.org>
1238 * src/alloc.h: entered into RCS
1240 1993-04-20 David J. MacKenzie <djm@gnu.org>
1242 * src/version.c: *** empty log message ***
1244 * src/files.c, src/allocate.c:
1247 * src/reader.c: *** empty log message ***
1249 * src/lex.c: entered into RCS
1251 * src/conflicts.c: New file.
1253 * src/symtab.c: entered into RCS
1255 * src/alloc.h: New file.
1257 * src/LR0.c: entered into RCS
1259 1993-04-18 Noah Friedman <friedman@gnu.org>
1261 * src/reader.c: New file.
1263 * src/version.c: *** empty log message ***
1265 1993-04-18 Noah Friedman <friedman@gnu.org>
1267 * Makefile.in: *** empty log message ***
1269 1993-04-17 Noah Friedman <friedman@gnu.org>
1271 * Makefile.in: *** empty log message ***
1273 1993-04-15 Richard Stallman <rms@gnu.org>
1275 * src/main.c, src/files.c:
1278 1993-04-15 Noah Friedman <friedman@gnu.org>
1280 * configure.in: entered into RCS
1282 * configure.in: *** empty log message ***
1284 * configure.in: New file.
1286 1993-04-14 Richard Stallman <rms@gnu.org>
1288 * Makefile.in: New file.
1290 1993-04-13 Richard Stallman <rms@gnu.org>
1292 * src/version.c: New file.
1294 1993-03-25 Richard Stallman <rms@gnu.org>
1296 * src/output.c: entered into RCS
1298 1992-09-25 Richard Stallman <rms@gnu.org>
1300 * configure.bat: entered into RCS
1302 1992-06-22 Richard Stallman <rms@gnu.org>
1304 * src/vmsgetargs.c: entered into RCS
1306 1992-06-22 Richard Stallman <rms@gnu.org>
1308 * doc/bison.rnh: entered into RCS
1310 1992-04-20 David J. MacKenzie <djm@gnu.org>
1312 * README: entered into RCS
1314 1992-01-22 Richard Stallman <rms@gnu.org>
1316 * src/machine.h: entered into RCS
1318 1991-12-21 Richard Stallman <rms@gnu.org>
1320 * src/lalr.c, src/closure.c:
1323 1991-12-20 Richard Stallman <rms@gnu.org>
1325 * src/state.h: entered into RCS
1327 1991-12-18 Richard Stallman <rms@gnu.org>
1329 * src/print.c, src/nullable.c, src/derives.c:
1332 1991-11-03 David J. MacKenzie <djm@gnu.org>
1334 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1337 1988-09-09 Richard Stallman <rms@gnu.org>
1339 * src/bison.hairy: entered into RCS
1341 1987-12-16 Richard Stallman <rms@gnu.org>
1343 * REFERENCES: entered into RCS