1 2000-09-20 Akim Demaille <akim@epita.fr>
3 * src/acconfig.h: Don't protect config.h against multiple
6 * src/system.h: Define PARAMS.
7 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
8 purpose of config.h. system.h must not try to fix wrong
9 definitions in config.h.
11 2000-09-20 Akim Demaille <akim@epita.fr>
13 * src/derives.h: New file.
14 * src/main.c, src/derives.h: Use it.
16 * src/Makefile.am (noinst_HEADERS): Adjust.
18 2000-09-20 Akim Demaille <akim@epita.fr>
20 * tests/atgeneral.m4: Update from Autoconf.
21 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
22 (AT_CHECK_CALC): New macros.
23 Use these macros to test bison with options `', `--raw',
24 `--debug', `--yacc', `--yacc --debug'.
26 2000-09-19 Akim Demaille <akim@epita.fr>
28 * src/output.c: Formatting changes.
29 * src/machine.h: Remove, leaving its contents in...
32 Adjust all dependencies on stdio.h and machine.h.
33 * src/getargs.h: New file.
34 Let all `extern' declarations about getargs.c be replaced with
35 inclusion of `getargs.h'.
36 * src/Makefile.am (noinst_HEADERS): Adjust.
38 * tests/calc.m4 (yyin): Be initialized in main, not on the global
40 (yyerror): Returns void, not int.
41 * doc/bison.texinfo: Formatting changes.
43 2000-09-19 Akim Demaille <akim@epita.fr>
45 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
48 2000-09-18 Akim Demaille <akim@epita.fr>
50 * configure.in: Append WARNING_CFLAGS to CFLAGS.
51 * src/Makefile.am (INCLUDES): Don't.
52 Be ready to fetch headers in lib/.
54 2000-09-18 Akim Demaille <akim@epita.fr>
56 * doc/bison.texinfo: Update the copyright.
57 ANSIfy and GNUify the examples.
60 2000-09-18 Akim Demaille <akim@epita.fr>
62 First set of tests: use the `calc' example from the documentation.
64 * src/bison.s1 (yyparse): Condition the code using `yytname' which
65 is defined only when YYDEBUG is.
66 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
67 * src/files.c (tryopen, tryclose): Formatting changes.
68 Move to the top and be static.
69 * src/reader.c (read_signed_integer): Likewise.
70 * tests/calc.m4: New file.
71 * Makefile.am, suite.m4: Adjust.
72 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
74 2000-09-18 Akim Demaille <akim@epita.fr>
76 Add support for an Autotest test suite for Bison.
78 * m4/m4.m4, m4/atconfig.m4: New files.
79 * m4/Makefile.am (EXTRA_DIST): Adjust.
80 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
82 * src/getargs.c: Display a more standard --version message.
83 * src/reader.c (reader): Formatting changes.
84 No longer depend upon VERSION_STRING.
85 * configure.in: No longer use `dnl'.
86 Set up the test suite and the new directory `tests/.
87 (VERSION_STRING): Remove.
89 2000-04-14 Akim Demaille <akim@epita.fr>
91 * src/reader.c (copy_comment2): New function, same as former
92 `copy_comment', but outputs into two FILE *.
93 (copy_comment): Use it.
94 (parse_union_decl): Use it.
95 (get_type, parse_start_decl): Use the same `invalid' message.
96 (parse_start_decl, parse_union_decl): Use the same `multiple'
98 (parse_union_decl, copy_guard, copy_action): Use the same
100 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
102 2000-03-31 Akim Demaille <akim@epita.fr>
104 * src/files.c (tryopen, tryclose): Move to the top.
107 2000-03-31 Akim Demaille <akim@epita.fr>
109 * src/main.c (main): Don't call `done', exit does it.
111 2000-03-31 Akim Demaille <akim@epita.fr>
113 * allocate.c: s/return (foo)/return foo/.
116 * output.c: Likewise.
117 * reader.c: Likewise.
118 * symtab.c: Likewise.
119 * vmsgetargs.c: Likewise.
121 2000-03-31 Akim Demaille <akim@epita.fr>
123 Clean up the error reporting functions.
125 * src/report.c: New file.
126 * src/report.h: Likewise.
127 * src/Makefile.am: Adjust.
128 * m4/error.m4: New file.
129 * m4/Makefile.am: Adjust.
130 * configure.in (jm_PREREQ_ERROR): Call it.
131 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
133 (fatal, fatals): Remove. All callers use complain.c::fatal.
134 (warn, warni, warns, warnss, warnss): Remove. All callers use
135 complain.c::complain.
136 (toomany): Remove, use fatal instead.
137 * src/files.c (done): No argument, use complain_message_count.
138 * src/main.c (main): Register `done' to `atexit'.
140 * src/getargs.c (usage): More `fputs', less `fprintf'.
142 2000-03-28 Akim Demaille <akim@epita.fr>
144 * lib/: New directory.
145 * Makefile.am (SUBDIRS): Adjust.
146 * configure.in: Adjust.
147 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
149 * src/alloca.c: Moved to lib/.
150 * src/getopt.c: Likewise.
151 * src/getopt1.c: Likewise.
152 * src/getopt.h: Likewise.
153 * src/ansi2knr.c: Likewise.
154 * src/ansi2knr.1: Likewise.
155 * src/Makefile.am: Adjust.
156 * lib/Makefile.am: New file.
158 2000-03-28 Akim Demaille <akim@epita.fr>
160 * src/getargs.c (usage): Refresh the help message.
162 2000-03-17 Akim Demaille <akim@epita.fr>
164 * src/getopt1.c: Updated from textutils 2.0e
165 * src/getopt.c: Likewise.
166 * src/getopt.h: Likewise.
168 2000-03-17 Akim Demaille <akim@epita.fr>
170 * src/Makefile.am (bison.simple): Fix the awk program: quote only
171 the file name, not the whole `#line LINE FILE'.
173 2000-03-17 Akim Demaille <akim@epita.fr>
175 On syntax errors, report the token on which we choked.
177 * src/bison.s1 (yyparse): In the label yyerrlab, when
178 YYERROR_VERBOSE, add yychar in msg.
180 2000-03-17 Akim Demaille <akim@epita.fr>
182 * src/reader.c (copy_at): New function.
183 (copy_guard): Use it.
184 (copy_action): Use it.
186 2000-03-17 Akim Demaille <akim@epita.fr>
188 Be kind to translators, save some useless translations.
190 * src/main.c (banner): New function.
191 (fatal_banner): Use it.
192 (warn_banner): Use it.
194 2000-03-17 Akim Demaille <akim@epita.fr>
196 * src/reader.c (copy_definition): Use copy_string and
197 copy_comment. Removed now unused `match', `ended',
199 (copy_comment, copy_string): Moved, to be visible from
202 2000-03-17 Akim Demaille <akim@epita.fr>
204 * src/reader.c (copy_string): Declare `static inline'. No
205 problems with inline, since it is checked by configure.
206 (copy_comment): Likewise.
208 2000-03-17 Akim Demaille <akim@epita.fr>
210 * src/reader.c (packsymbols): Formatting changes.
212 2000-03-17 Akim Demaille <akim@epita.fr>
214 * src/reader.c (copy_comment): New function, factored out from:
215 (copy_action): Use it. Removed now unused `match', `ended',
217 (copy_guard): Likewise.
219 2000-03-17 Akim Demaille <akim@epita.fr>
221 * src/reader.c (copy_string): New function, factored out from:
222 (copy_action): Use it.
223 (copy_guard): Likewise.
225 2000-03-17 Akim Demaille <akim@epita.fr>
227 Change the handling of @s so that they behave exactly like $s.
228 There is now a pseudo variable @$ (readble and writable), location
229 of the lhs of the rule (by default ranging from the location of
230 the first symbol of the rhs, to the location of the last symbol,
231 or, if the rhs is empty, YYLLOC).
233 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
235 (yyparse): When providing a default semantic action, provide a
236 default location action.
237 (after the $): No longer change `*YYLSP', just stack YYLOC the
238 same way you stack YYVAL.
239 * src/reader.c (read_declarations): Use warns.
240 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
241 (copy_action, case '@'): Likewise.
242 Use a standard error message, to save useless work from
245 2000-03-17 Akim Demaille <akim@epita.fr>
247 * src/bison.s1: Formatting and cosmetics changes.
248 * src/reader.c: Likewise.
249 Update the Copyright notice.
251 2000-03-17 Akim Demaille <akim@epita.fr>
253 * src/bison.s1 (#line): All set to `#line' only, since the
254 Makefile now handles them.
256 2000-03-16 Akim Demaille <akim@epita.fr>
258 * src/output.c (output_rule_data): Output the documentation of
260 (Copyright notice): Update.
263 2000-03-16 Akim Demaille <akim@epita.fr>
265 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
266 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
267 One `#if YYDEBUG' remains, since it uses variables which are
268 defined only if `YYDEBUG != 0'.
270 2000-03-16 Akim Demaille <akim@epita.fr>
272 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
273 and related variables so that the similarities are highlighted.
275 2000-03-16 Akim Demaille <akim@epita.fr>
277 * src/bison.s1: Properly indent CPP directives.
279 2000-03-16 Akim Demaille <akim@epita.fr>
281 * src/bison.s1: Properly indent the `alloca' CPP section.
283 2000-03-16 Akim Demaille <akim@epita.fr>
285 Do not hard code values of directories in `configure.in'.
286 Update the `configure' tool chain.
288 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
290 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
291 (AC_OUTPUT): Add m4/Makefile.
292 Bump to bison 1.28a, 1.29 has never been released.
293 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
294 handled via src/Makefile.am.
295 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
296 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
298 * Makefile.am (SUBDIRS): Add m4.
299 (ACLOCAL_AM_FLAGS): New variable.
300 (AUTOMAKE_OPTIONS): Add check-news.
301 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
302 the proper line number and file name.
303 (DEFS): Propagate the location of bison library files and of the
305 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
307 * acinclude.m4: Remove, replaced by the directory m4.
308 * m4/Makefile.am (EXTRA_DIST): New variable.
309 * m4/gettext.m4: New file, from the fileutils.
310 * m4/lcmessage.m4: Likewise
311 * m4/progtest.m4: Likewise.
312 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
314 2000-03-10 Akim Demaille <akim@epita.fr>
317 Formatting changes of various comments.
318 Respect the GNU coding standards at various places.
319 Don't use `_()' when no translation is needed.
321 1999-12-13 Jesse Thilo <jthilo@gnu.org>
324 OS/2 honors TMPDIR environment variable.
326 1999-12-13 Jesse Thilo <jthilo@gnu.org>
328 * doc/bison.texinfo: Tweaked spelling and grammar.
330 Removed reference to price of printed copy.
331 Mention BISON_SIMPLE and BISON_HAIRY.
333 1999-12-13 Jesse Thilo <jthilo@gnu.org>
335 * configure.in, NEWS:
338 1999-10-27 Jesse Thilo <jthilo@gnu.org>
340 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
341 Added reference card.
343 1999-07-26 Jesse Thilo <jthilo@gnu.org>
345 * po/ru.po: Added Russian translation.
347 1999-07-26 Jesse Thilo <jthilo@gnu.org>
349 * configure.in: Added Russian translation.
351 1999-07-06 Jesse Thilo <jthilo@gnu.org>
353 * configure.in, NEWS, README:
354 Released version 1.28.
356 1999-06-14 Jesse Thilo <jthilo@gnu.org>
359 Squashed redefinition warning on some systems.
361 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
362 Have configure build version string instead of relying on ANSI string
365 1999-06-14 Jesse Thilo <jthilo@gnu.org>
367 * po/POTFILES.in: Got rid of version.c.
369 1999-06-14 Jesse Thilo <jthilo@gnu.org>
371 * acconfig.h, configure.in:
372 Have configure build version string instead of relying on ANSI string
375 1999-06-08 Jesse Thilo <jthilo@gnu.org>
378 Dropped mention of `+' for long-named options.
380 1999-05-30 Jesse Thilo <jthilo@gnu.org>
382 * src/files.c: Added <unistd.h> for unlink().
384 * src/Makefile.am, src/system.h:
387 1999-05-30 Jesse Thilo <jthilo@gnu.org>
389 * README: Added a FAQ list.
391 * configure.in, acconfig.h:
394 1999-05-30 Jesse Thilo <jthilo@gnu.org>
396 * doc/FAQ, doc/Makefile.am:
399 1999-05-19 Jesse Thilo <jthilo@gnu.org>
401 * src/alloc.h, src/symtab.h, src/version.c:
402 Protected inclusion of "config.h" with HAVE_CONFIG_H.
404 1999-04-18 Jesse Thilo <jthilo@gnu.org>
406 * src/.cvsignore, src/Makefile.am:
407 Reorganized: sources in `src', documentation in `doc'.
409 * src/lex.c (literalchar):
410 fixed the code for escaping double quotes (thanks
413 1999-04-18 Jesse Thilo <jthilo@gnu.org>
415 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
416 Adjusted paths to reflect directory reorganization.
418 1999-04-18 Jesse Thilo <jthilo@gnu.org>
420 * doc/.cvsignore, doc/Makefile.am:
421 Reorganized: sources in `src', documentation in `doc'.
423 1999-04-18 Jesse Thilo <jthilo@gnu.org>
426 Updated AC_INIT file to reflect directory reorganization.
428 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
429 Reorganized: sources in `src', documentation in `doc'.
431 1999-04-13 Jesse Thilo <jthilo@gnu.org>
434 Don't declare calloc() and realloc() if not necessary.
436 1999-04-13 Jesse Thilo <jthilo@gnu.org>
438 * configure.in, acconfig.h, acinclude.m4:
439 Don't declare calloc() and realloc() if not necessary.
441 1999-03-23 Jesse Thilo <jthilo@gnu.org>
443 * po/.cvsignore: Added i18n support.
445 1999-03-23 Jesse Thilo <jthilo@gnu.org>
447 * acconfig.h, configure.in, Makefile.am:
450 1999-03-22 Jesse Thilo <jthilo@gnu.org>
452 * src/bison.s1: Fixed #line numbers.
454 1999-03-15 Jesse Thilo <jthilo@gnu.org>
456 * po/es.po, po/fr.po, po/nl.po, po/de.po:
457 Added PO files from Translation Project.
459 1999-03-03 Jesse Thilo <jthilo@gnu.org>
462 Added support for non-ANSI compilers (ansi2knr).
464 1999-02-16 Jesse Thilo <jthilo@gnu.org>
466 * configure.in: Bumped version number to 1.27.
469 Added `bison.simple' to list of files removed by `make distclean'.
471 1999-02-12 Jesse Thilo <jthilo@gnu.org>
473 * src/files.c, src/files.h:
474 Defined locations of parser files in config.h instead of Makefile.
476 1999-02-12 Jesse Thilo <jthilo@gnu.org>
478 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
479 Defined locations of parser files in config.h instead of Makefile.
481 1999-02-09 Jesse Thilo <jthilo@gnu.org>
484 Removed inappropriate use of $< macro.
486 1999-02-05 Jesse Thilo <jthilo@gnu.org>
488 * po/Makefile.in.in, po/POTFILES.in:
489 Add `po' directory skeleton.
491 1999-01-27 Jesse Thilo <jthilo@gnu.org>
493 * README: Document help-bison list.
495 * configure.in: Add check for mkstemp().
497 1999-01-20 Jesse Thilo <jthilo@gnu.org>
499 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
500 Hush a few compiler warnings.
503 Add tryclose(), which verifies that fclose was successful.
504 Hush a couple of compiler warnings.
506 1999-01-20 Jesse Thilo <jthilo@gnu.org>
508 * Makefile.am, OChangeLog:
509 ChangeLog is now automatically generated. Include the old version as
512 1999-01-14 Jesse Thilo <jthilo@gnu.org>
514 * 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:
517 1999-01-14 Jesse Thilo <jthilo@gnu.org>
519 * doc/bison.texinfo: Fix formatting glitch.
521 * doc/bison.texinfo: Update FSF address.
523 1999-01-14 Jesse Thilo <jthilo@gnu.org>
525 * acconfig.h: Update FSF address.
527 1999-01-08 Jesse Thilo <jthilo@gnu.org>
530 Don't define PACKAGE here, since config.h defines it.
532 1998-12-30 Jesse Thilo <jthilo@gnu.org>
534 * src/reader.c: Update copyright date.
537 Ditch sprintf to statically-sized buffers in fatal/warn functions in
538 favor of output directly to stderr (avoids buffer overruns).
540 * src/reader.c: Some checks for premature EOF.
542 * 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:
543 Use prototypes if the compiler understands them.
545 * src/files.c: Honor TMPDIR on Unix hosts.
546 Use prototypes if the compiler understands them.
549 Fix a couple of buffer overrun bugs.
550 Use prototypes if the compiler understands them.
552 * src/system.h: Include unistd.h and ctype.h.
553 Use #ifdef instead of #if for NLS symbols.
555 1998-12-30 Jesse Thilo <jthilo@gnu.org>
558 Delete comment "consider using @set for edition number, etc..." since
561 1998-12-30 Jesse Thilo <jthilo@gnu.org>
564 Use prototypes if the compiler understands them.
566 * NEWS: Document 1.26 highlights.
568 * Makefile.am: Require Automake 1.3 or later.
571 Use prototypes if the compiler understands them.
573 1998-12-29 Jesse Thilo <jthilo@gnu.org>
576 Use VERSION symbol from automake for version number.
578 1998-12-29 Jesse Thilo <jthilo@gnu.org>
580 * acconfig.h, configure.in, version.cin:
581 Use VERSION symbol from automake for version number.
583 1998-11-28 Jesse Thilo <jthilo@gnu.org>
586 Distribute original version of simple parser (bison.s1), not built
587 version (bison.simple).
589 1998-11-28 Jesse Thilo <jthilo@gnu.org>
591 * doc/bison.texinfo: Add info dir entry.
594 Let automake put version number into documentation.
596 1998-11-26 Jesse Thilo <jthilo@gnu.org>
598 * src/bison.cld, src/build.com, src/vmshlp.mar:
599 Add non-RCS files from /gd/gnu/bison.
601 1998-11-26 Jesse Thilo <jthilo@gnu.org>
604 Document the BISON_HAIRY and BISON_SIMPLE variables.
606 1998-11-25 Jesse Thilo <jthilo@gnu.org>
608 * src/version.c: Build version.c automatically.
611 Fix token numbering (used to start at 258, not 257).
613 * src/system.h: Include config.h.
615 * src/getargs.c: Update bug report address.
617 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
618 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
620 1998-11-25 Jesse Thilo <jthilo@gnu.org>
623 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
625 * configure.in, version.cin:
626 Build version.c automatically.
628 * AUTHORS: Add AUTHORS file.
630 * README: Update bug report address.
633 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
635 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
638 1998-11-25 Jesse Thilo <jthilo@gnu.org>
640 * doc/bison.texinfo: Clean up some formatting.
642 1998-05-05 Richard Stallman <rms@gnu.org>
645 Explain better why to make a pure parser.
647 1998-01-05 Richard Stallman <rms@gnu.org>
649 * src/files.c (openfiles):
650 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
651 find a temporary directory, if possible. Do not unlink files while
654 1997-08-25 Richard Stallman <rms@gnu.org>
656 * src/reader.c (stack_offset;):
657 Change some warni to warns.
659 * src/lex.c (literalchar): Use warns, not warni.
661 1997-06-28 Richard Stallman <rms@gnu.org>
663 * src/bison.s1: Add a Bison version comment.
665 * src/main.c (fatal, warn, berror):
668 1997-06-28 Richard Stallman <rms@gnu.org>
670 * Makefile.in (bison_version): New variable.
671 (dist): Use that variable.
672 (bison.s1): Substitute the Bison version into bison.simple.
674 * bison.simple: Add a Bison version comment.
676 1997-06-18 Richard Stallman <rms@gnu.org>
678 * src/main.c (fatal, warn, berror):
679 Make error messages standard.
680 (toomany): Improve error message text.
682 * 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:
683 new.h renamed to alloc.h.
685 1997-06-18 Richard Stallman <rms@gnu.org>
687 * Makefile.in: new.h renamed to alloc.h.
689 1997-05-24 Richard Stallman <rms@gnu.org>
691 * src/lex.c (literalchar):
692 Fix the code for escaping \, " and '.
694 (lex): Avoid trouble when there are many chars
695 to discard in a char literal with just several chars in it.
697 1997-05-17 Richard Stallman <rms@gnu.org>
700 Use malloc, if using alloca is troublesome.
701 (YYSTACK_USE_ALLOCA): New flag macro.
702 Define it for some systems and compilers.
703 (YYSTACK_ALLOC): New macro.
704 (yyparse): Use YYSTACK_ALLOC to allocate stack.
705 If it was malloc'd, free it.
707 1997-05-17 Richard Stallman <rms@gnu.org>
710 Use malloc, if using alloca is troublesome.
711 (YYSTACK_USE_ALLOCA): New flag macro.
712 Define it for some systems and compilers.
713 (YYSTACK_ALLOC): New macro.
714 (yyparse): Use YYSTACK_ALLOC to allocate stack.
715 If it was malloc'd, free it.
717 1997-04-23 Richard Stallman <rms@gnu.org>
720 (alloca) [__hpux]: Always define as __builtin_alloca.
722 1997-04-23 Richard Stallman <rms@gnu.org>
725 (alloca) [__hpux]: Always define as __builtin_alloca.
727 1997-04-22 Richard Stallman <rms@gnu.org>
730 [__hpux]: Include alloca.h (right for HPUX 10)
731 instead of declaring alloca (right for HPUX 9).
733 * src/bison.s1 (__yy_memcpy):
734 Declare arg `count' as unsigned int.
735 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
737 1997-04-22 Richard Stallman <rms@gnu.org>
740 [__hpux]: Include alloca.h (right for HPUX 10)
741 instead of declaring alloca (right for HPUX 9).
743 * bison.simple (__yy_memcpy):
744 Declare arg `count' as unsigned int.
745 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
747 1997-01-03 Richard Stallman <rms@gnu.org>
749 * src/allocate.c: [__STDC__ or _MSC_VER]:
750 Declare calloc and realloc to return void *.
752 1997-01-02 Richard Stallman <rms@gnu.org>
755 [_MSC_VER]: Include stdlib.h and process.h.
756 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
758 * src/main.c (main): Return FAILURE as a value.
759 (printable_version): Declare arg as int, not char.
761 1997-01-02 Richard Stallman <rms@gnu.org>
763 * Makefile.in (dist):
764 Explicitly check for symlinks, and copy them.
766 1996-12-19 Richard Stallman <rms@gnu.org>
769 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
771 1996-12-18 Paul Eggert <eggert@gnu.org>
773 * src/bison.s1 (yyparse):
774 If __GNUC__ and YYPARSE_PARAM are both defined,
775 declare yyparse to have a void * argument.
777 1996-12-18 Paul Eggert <eggert@gnu.org>
779 * bison.simple (yyparse):
780 If __GNUC__ and YYPARSE_PARAM are both defined,
781 declare yyparse to have a void * argument.
783 1996-12-17 Richard Stallman <rms@gnu.org>
785 * src/reduce.c (nbits): Add some casts.
787 1996-08-12 Richard Stallman <rms@gnu.org>
789 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
791 1996-08-12 Richard Stallman <rms@gnu.org>
793 * bison.simple: Test _MSDOS as well as _MSDOS_.
795 1996-07-31 Richard Stallman <rms@gnu.org>
798 [__sun && __i386]: Include alloca.h.
800 1996-07-31 Richard Stallman <rms@gnu.org>
803 [__sun && __i386]: Include alloca.h.
805 1996-07-30 Richard Stallman <rms@gnu.org>
807 * src/bison.s1: Comment change.
809 * src/bison.s1: Test _MSDOS_, not MSDOS.
811 1996-07-30 Richard Stallman <rms@gnu.org>
813 * bison.simple: Comment change.
815 * bison.simple: Test _MSDOS_, not MSDOS.
817 1996-06-01 Richard Stallman <rms@gnu.org>
819 * 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:
820 Insert `_' macro around many string constants.
823 Insert `_' macro around many string constants.
825 (main): Call setlocale, bindtextdomain and textdomain.
827 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
828 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
829 [ENABLE_NLS]: Include libintl.h.
830 [ENABLE_NLS] (gettext): Define.
831 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
832 (N_, PACKAGE, LOCALEDIR): New macros.
834 1996-06-01 Richard Stallman <rms@gnu.org>
836 * POTFILES.in: New file.
838 * Makefile.in (allocate.o):
839 Define target explicitly.
841 * Makefile.in (CFLAGS): Set to @CFLAGS@.
842 (LDFLAGS): Set to @LDFLAGS@.
843 (configure): Run autoconf only if preceding `cd' succeeds.
844 (bison.s1): Redirect output to temporary file then move the
845 temporary to the target, rather than redirecting directly to bison.s1.
846 (clean): Remove config.status and config.log.
847 (distclean): Don't remove config.status here.
849 1996-05-12 Richard Stallman <rms@gnu.org>
852 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
854 1996-05-12 Richard Stallman <rms@gnu.org>
857 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
859 1996-05-11 Richard Stallman <rms@gnu.org>
861 * src/bison.s1 (__yy_memcpy):
862 Really reorder the args, as was supposedly done on Feb 14 1995.
863 (yyparse): Calls changed accordingly.
865 1996-05-11 Richard Stallman <rms@gnu.org>
867 * Makefile.in (dist): Don't use $(srcdir).
869 * bison.simple (__yy_memcpy):
870 Really reorder the args, as was supposedly done on Feb 14 1995.
871 (yyparse): Calls changed accordingly.
873 1996-01-27 Richard Stallman <rms@gnu.org>
875 * src/output.c (output_rule_data):
876 Test YYERROR_VERBOSE in the conditional
877 around the definition of ttyname.
879 1995-12-29 Richard Stallman <rms@gnu.org>
882 Fix line numbers in #line commands.
884 1995-12-29 Richard Stallman <rms@gnu.org>
887 Fix line numbers in #line commands.
889 1995-12-27 Richard Stallman <rms@gnu.org>
891 * src/bison.s1 (YYPARSE_PARAM_DECL):
892 In C++, make it always null.
893 (YYPARSE_PARAM_ARG): New macro.
894 (yyparse): Use YYPARSE_PARAM_ARG.
896 1995-12-27 Richard Stallman <rms@gnu.org>
898 * bison.simple (YYPARSE_PARAM_DECL):
899 In C++, make it always null.
900 (YYPARSE_PARAM_ARG): New macro.
901 (yyparse): Use YYPARSE_PARAM_ARG.
903 1995-11-29 Richard Stallman <rms@gnu.org>
906 Describe literal string tokens, %raw, %no_lines, %token_table.
908 1995-11-29 Daniel Hagerty <hag@gnu.org>
910 * doc/bison.texinfo: Fixed update date
912 1995-10-16 Richard Stallman <rms@gnu.org>
914 * src/version.c: Version 1.25.
916 1995-10-16 Richard Stallman <rms@gnu.org>
918 * NEWS: *** empty log message ***
920 1995-10-16 Richard Stallman <rms@gnu.org>
922 * doc/bison.1, doc/bison.rnh:
925 1995-10-15 Richard Stallman <rms@gnu.org>
927 * src/vmsgetargs.c, src/getargs.c:
928 Added -n, -k, and -raw switches.
929 (noparserflag, toknumflag, rawtoknumflag): New variables.
931 * src/symtab.h (SALIAS):
932 New #define for adding aliases to %token.
933 (struct bucket): Added `alias' field.
935 * src/reduce.c (reduce_grammar):
936 Revise error message.
937 (print_notices): Remove final `.' from error message.
939 * src/reader.c (reader_output_yylsp):
941 (readgram): Use `#if 0' around code that accepted %command
942 inside grammar rules: The documentation doesn't allow it,
943 and it will fail since the %command processors scan for the next %.
944 (parse_token_decl): Extended the %token
945 declaration to allow a multi-character symbol as an alias.
946 (parse_thong_decl): New function.
947 (read_declarations): Added %thong declarations.
948 (read_declarations): Handle NOOP to deal with allowing
949 % declarations as another means to specify the flags.
950 (readgram): Allow %prec prior to semantics embedded in a rule.
951 (skip_to_char, read_declarations, copy_definition)
952 (parse_token_decl, parse_start_decl, parse_type_decl)
953 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
954 (get_type_name, copy_guard, copy_action, readgram)
955 (get_type, packsymbols): Revised most error messages.
956 Changed `fatal' to `warnxxx' to avoid aborting for error.
957 Revised and use multiple warnxxx functions to avoid using VARARGS1.
958 (read_declarations): Improve the error message for
959 an invalid character. Do not abort.
960 (read_declarations, copy_guard, copy_action): Use
961 printable_version to avoid unprintable characters in printed output.
962 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
963 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
964 Allow the type of a non-terminal can be given
965 more than once, as long as all specifications give the same type.
968 (output_headers, output_trailers, output, output_gram)
969 (output_rule_data): Implement noparserflag variable.
970 Implement toknumflag variable.
971 (output): Call reader_output_yylsp to output LTYPESTR.
974 If reader sees an error, don't process the grammar.
975 (fatals): Updated to not use VARARGS1.
976 (printable_version, int_to_string, warn, warni, warns, warnss)
977 (warnsss): New error reporting functions. Avoid abort for error.
980 Added THONG and NOOP for alias processing.
981 Added SETOPT for the new code that allows setting options with %flags.
984 Include getopt.h. Add some extern decls.
985 (safegetc): New function to deal with EOF gracefully.
986 (literalchar); new function to deal with reading \ escapes.
987 (lex): Use literalchar.
988 (lex): Implemented "..." tokens.
989 (literalchar, lex, parse_percent_token): Made tokenbuffer
990 always contain the token. This includes growing the token
991 buffer while reading an integer.
992 (parse_percent_token): Replaced if-else statement with percent_table.
993 (parse_percent_token): Added % declarations as another
994 way to specify the flags -n, -l, and -r. Also added hooks for
995 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
996 major changes to files.c.
997 (lex) Retain in the incoming stream a character following
999 (skip_white_space, lex): Revised most error messages
1000 and changed fatal to warn to avoid aborting.
1001 (percent_table): Added %thong declarations.
1003 * src/gram.h: Comment changes.
1005 * src/files.c (openfiles, open_extra_files, done):
1007 and actfile file. Handle noparserflag. Both for -n switch.
1009 * src/conflicts.c (resolve_sr_conflict):
1010 Remove use of alloca.
1012 1995-06-01 Jim Meyering <meyering@gnu.org>
1014 * doc/bison.texinfo: *** empty log message ***
1016 1995-05-06 Richard Stallman <rms@gnu.org>
1018 * src/bison.s1: Comment change.
1020 1995-05-06 Richard Stallman <rms@gnu.org>
1022 * bison.simple: Comment change.
1024 1995-05-03 Richard Stallman <rms@gnu.org>
1026 * src/version.c: Version now 1.24.
1028 * src/bison.s1: Change distribution terms.
1030 * src/version.c: Version now 1.23.
1032 1995-05-03 Richard Stallman <rms@gnu.org>
1034 * doc/bison.texinfo:
1035 Rewrite "Conditions for Using Bison".
1036 Update version to 1.24.
1038 1995-05-03 Richard Stallman <rms@gnu.org>
1040 * bison.simple: Change distribution terms.
1042 1995-02-23 Richard Stallman <rms@gnu.org>
1044 * src/files.c: Test __VMS_POSIX as well as VMS.
1046 1995-02-14 Jim Meyering <meyering@gnu.org>
1048 * src/bison.s1 (__yy_memcpy):
1049 Renamed from __yy_bcopy to avoid
1050 confusion. Reverse FROM and TO arguments to be consistent with
1053 1995-02-14 Jim Meyering <meyering@gnu.org>
1055 * bison.simple (__yy_memcpy):
1056 Renamed from __yy_bcopy to avoid
1057 confusion. Reverse FROM and TO arguments to be consistent with
1060 1994-11-10 David J. MacKenzie <djm@gnu.org>
1066 * Makefile.in (DISTFILES): Include NEWS.
1068 * Makefile.in (DISTFILES):
1069 Include install-sh, not install.sh.
1071 * configure.in: Update to Autoconf v2 macro names.
1073 1994-10-05 David J. MacKenzie <djm@gnu.org>
1075 * Makefile.in: fix typo
1077 * Makefile.in (prefix, exec_prefix):
1078 Let configure set them.
1080 1994-09-28 David J. MacKenzie <djm@gnu.org>
1082 * Makefile.in: Set datadir to $(prefix)/share.
1084 1994-09-15 Richard Stallman <rms@gnu.org>
1087 Update copyright notice and GPL version.
1089 1994-09-15 Richard Stallman <rms@gnu.org>
1092 Update copyright notice and GPL version.
1094 1994-07-12 Richard Stallman <rms@gnu.org>
1096 * src/reduce.c, src/reader.c:
1099 1994-05-05 David J. MacKenzie <djm@gnu.org>
1101 * Makefile.in: entered into RCS
1103 1994-03-26 Richard Stallman <rms@gnu.org>
1105 * src/bison.s1: entered into RCS
1107 1994-03-26 Richard Stallman <rms@gnu.org>
1109 * bison.simple: entered into RCS
1111 1994-03-25 Richard Stallman <rms@gnu.org>
1113 * src/main.c: entered into RCS
1115 1994-03-24 Richard Stallman <rms@gnu.org>
1117 * src/conflicts.c: entered into RCS
1119 1994-01-02 Richard Stallman <rms@gnu.org>
1121 * Makefile.in: *** empty log message ***
1123 1993-11-21 Richard Stallman <rms@gnu.org>
1125 * src/bison.s1: *** empty log message ***
1127 1993-11-21 Richard Stallman <rms@gnu.org>
1129 * doc/bison.texinfo: entered into RCS
1131 * doc/bison.texinfo: *** empty log message ***
1133 1993-11-21 Richard Stallman <rms@gnu.org>
1135 * bison.simple: *** empty log message ***
1137 1993-10-25 David J. MacKenzie <djm@gnu.org>
1139 * doc/bison.texinfo: *** empty log message ***
1141 1993-10-19 Richard Stallman <rms@gnu.org>
1143 * src/bison.s1: *** empty log message ***
1145 1993-10-19 Richard Stallman <rms@gnu.org>
1147 * bison.simple: *** empty log message ***
1149 1993-10-14 Richard Stallman <rms@gnu.org>
1151 * src/bison.s1: *** empty log message ***
1153 1993-10-14 Richard Stallman <rms@gnu.org>
1155 * bison.simple: *** empty log message ***
1157 1993-09-14 David J. MacKenzie <djm@gnu.org>
1159 * doc/bison.texinfo: *** empty log message ***
1161 1993-09-13 Noah Friedman <friedman@gnu.org>
1163 * Makefile.in: *** empty log message ***
1165 1993-09-10 Richard Stallman <rms@gnu.org>
1167 * src/conflicts.c: *** empty log message ***
1169 * src/system.h: entered into RCS
1171 1993-09-10 Richard Stallman <rms@gnu.org>
1173 * doc/bison.1: entered into RCS
1175 1993-09-06 Noah Friedman <friedman@gnu.org>
1177 * src/version.c: entered into RCS
1179 1993-09-06 Noah Friedman <friedman@gnu.org>
1181 * Makefile.in: *** empty log message ***
1183 1993-07-30 David J. MacKenzie <djm@gnu.org>
1185 * Makefile.in: *** empty log message ***
1187 1993-07-24 Richard Stallman <rms@gnu.org>
1189 * src/bison.s1: *** empty log message ***
1191 1993-07-24 Richard Stallman <rms@gnu.org>
1193 * bison.simple: *** empty log message ***
1195 1993-07-08 David J. MacKenzie <djm@gnu.org>
1197 * Makefile.in: *** empty log message ***
1199 1993-07-04 Richard Stallman <rms@gnu.org>
1201 * src/bison.s1: *** empty log message ***
1203 1993-07-04 Richard Stallman <rms@gnu.org>
1205 * bison.simple: *** empty log message ***
1207 1993-06-26 David J. MacKenzie <djm@gnu.org>
1209 * src/getargs.c: entered into RCS
1211 1993-06-26 David J. MacKenzie <djm@gnu.org>
1213 * doc/bison.texinfo: *** empty log message ***
1215 * doc/bison.1: New file.
1217 1993-06-25 Richard Stallman <rms@gnu.org>
1219 * src/getargs.c: New file.
1221 1993-06-16 Richard Stallman <rms@gnu.org>
1223 * src/bison.s1: *** empty log message ***
1225 1993-06-16 Richard Stallman <rms@gnu.org>
1227 * bison.simple: *** empty log message ***
1229 1993-06-03 Richard Stallman <rms@gnu.org>
1231 * src/bison.s1: New file.
1233 1993-06-03 Richard Stallman <rms@gnu.org>
1235 * doc/bison.texinfo: *** empty log message ***
1237 1993-06-03 Richard Stallman <rms@gnu.org>
1239 * bison.simple: New file.
1241 1993-05-19 Richard Stallman <rms@gnu.org>
1243 * doc/bison.texinfo: New file.
1245 1993-05-07 Noah Friedman <friedman@gnu.org>
1247 * Makefile.in: *** empty log message ***
1249 1993-04-28 Noah Friedman <friedman@gnu.org>
1251 * src/reader.c: *** empty log message ***
1253 1993-04-23 Noah Friedman <friedman@gnu.org>
1255 * src/alloc.h: entered into RCS
1257 1993-04-20 David J. MacKenzie <djm@gnu.org>
1259 * src/version.c: *** empty log message ***
1261 * src/files.c, src/allocate.c:
1264 * src/reader.c: *** empty log message ***
1266 * src/lex.c: entered into RCS
1268 * src/conflicts.c: New file.
1270 * src/symtab.c: entered into RCS
1272 * src/alloc.h: New file.
1274 * src/LR0.c: entered into RCS
1276 1993-04-18 Noah Friedman <friedman@gnu.org>
1278 * src/reader.c: New file.
1280 * src/version.c: *** empty log message ***
1282 1993-04-18 Noah Friedman <friedman@gnu.org>
1284 * Makefile.in: *** empty log message ***
1286 1993-04-17 Noah Friedman <friedman@gnu.org>
1288 * Makefile.in: *** empty log message ***
1290 1993-04-15 Richard Stallman <rms@gnu.org>
1292 * src/main.c, src/files.c:
1295 1993-04-15 Noah Friedman <friedman@gnu.org>
1297 * configure.in: entered into RCS
1299 * configure.in: *** empty log message ***
1301 * configure.in: New file.
1303 1993-04-14 Richard Stallman <rms@gnu.org>
1305 * Makefile.in: New file.
1307 1993-04-13 Richard Stallman <rms@gnu.org>
1309 * src/version.c: New file.
1311 1993-03-25 Richard Stallman <rms@gnu.org>
1313 * src/output.c: entered into RCS
1315 1992-09-25 Richard Stallman <rms@gnu.org>
1317 * configure.bat: entered into RCS
1319 1992-06-22 Richard Stallman <rms@gnu.org>
1321 * src/vmsgetargs.c: entered into RCS
1323 1992-06-22 Richard Stallman <rms@gnu.org>
1325 * doc/bison.rnh: entered into RCS
1327 1992-04-20 David J. MacKenzie <djm@gnu.org>
1329 * README: entered into RCS
1331 1992-01-22 Richard Stallman <rms@gnu.org>
1333 * src/machine.h: entered into RCS
1335 1991-12-21 Richard Stallman <rms@gnu.org>
1337 * src/lalr.c, src/closure.c:
1340 1991-12-20 Richard Stallman <rms@gnu.org>
1342 * src/state.h: entered into RCS
1344 1991-12-18 Richard Stallman <rms@gnu.org>
1346 * src/print.c, src/nullable.c, src/derives.c:
1349 1991-11-03 David J. MacKenzie <djm@gnu.org>
1351 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1354 1988-09-09 Richard Stallman <rms@gnu.org>
1356 * src/bison.hairy: entered into RCS
1358 1987-12-16 Richard Stallman <rms@gnu.org>
1360 * REFERENCES: entered into RCS