1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/lalr.h: New file.
4 Propagate its inclusion instead of prototypes and `extern'.
5 * src/lalr.c: Formatting changes, topological sorting etc.
8 2000-10-02 Akim Demaille <akim@epita.fr>
10 * src/output.c (token_actions): Introduce a temporary array,
11 YYDEFACT, that makes it possible for this function to use
15 2000-10-02 Akim Demaille <akim@epita.fr>
17 `user_toknums' is output as a `short[]' in `output.c', while it is
18 defined as a `int[]' in `reader.c'. For consistency with the
19 other output tables, `user_toknums' is now defined as a table of
22 * src/reader.c (user_toknums): Be a short table instead of an int
26 Factor the short table outputs.
28 * src/output.c (output_short_table): New function.
29 * src/output.c (output_gram, output_stos, output_rule_data)
30 (output_base, output_table, output_check): Use it.
32 2000-10-02 Akim Demaille <akim@epita.fr>
34 * src/output.c (output): Topological sort of the functions, in
35 order to get rid of the `static' prototypes.
36 No longer use `register'.
37 * src/output.h: New file.
38 Propagate its inclusion in files explicitly prototyping functions
41 2000-09-21 Akim Demaille <akim@epita.fr>
43 * src/atgeneral.m4: Update from Autoconf.
45 2000-09-21 Akim Demaille <akim@epita.fr>
47 * src/closure.h: New file.
48 * src/closure.c: Formatting changes, topological sort over the
49 functions, use of closure.h.
50 (initialize_closure, finalize_closure): Rename as...
51 (new_closure, free_closure): these. Adjust dependencies.
52 * src/LR0.c: Formatting changes, topological sort, use of
54 (initialize_states): Rename as...
56 * src/Makefile.am (noinst_HEADERS): Adjust.
58 2000-09-20 Akim Demaille <akim@epita.fr>
60 * src/acconfig.h: Don't protect config.h against multiple
63 * src/system.h: Define PARAMS.
64 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
65 purpose of config.h. system.h must not try to fix wrong
66 definitions in config.h.
68 2000-09-20 Akim Demaille <akim@epita.fr>
70 * src/derives.h: New file.
71 * src/main.c, src/derives.h: Use it.
73 * src/Makefile.am (noinst_HEADERS): Adjust.
75 2000-09-20 Akim Demaille <akim@epita.fr>
77 * tests/atgeneral.m4: Update from Autoconf.
78 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
79 (AT_CHECK_CALC): New macros.
80 Use these macros to test bison with options `', `--raw',
81 `--debug', `--yacc', `--yacc --debug'.
83 2000-09-19 Akim Demaille <akim@epita.fr>
85 * src/output.c: Formatting changes.
86 * src/machine.h: Remove, leaving its contents in...
89 Adjust all dependencies on stdio.h and machine.h.
90 * src/getargs.h: New file.
91 Let all `extern' declarations about getargs.c be replaced with
92 inclusion of `getargs.h'.
93 * src/Makefile.am (noinst_HEADERS): Adjust.
95 * tests/calc.m4 (yyin): Be initialized in main, not on the global
97 (yyerror): Returns void, not int.
98 * doc/bison.texinfo: Formatting changes.
100 2000-09-19 Akim Demaille <akim@epita.fr>
102 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
105 2000-09-18 Akim Demaille <akim@epita.fr>
107 * configure.in: Append WARNING_CFLAGS to CFLAGS.
108 * src/Makefile.am (INCLUDES): Don't.
109 Be ready to fetch headers in lib/.
111 2000-09-18 Akim Demaille <akim@epita.fr>
113 * doc/bison.texinfo: Update the copyright.
114 ANSIfy and GNUify the examples.
117 2000-09-18 Akim Demaille <akim@epita.fr>
119 First set of tests: use the `calc' example from the documentation.
121 * src/bison.s1 (yyparse): Condition the code using `yytname' which
122 is defined only when YYDEBUG is.
123 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
124 * src/files.c (tryopen, tryclose): Formatting changes.
125 Move to the top and be static.
126 * src/reader.c (read_signed_integer): Likewise.
127 * tests/calc.m4: New file.
128 * Makefile.am, suite.m4: Adjust.
129 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
131 2000-09-18 Akim Demaille <akim@epita.fr>
133 Add support for an Autotest test suite for Bison.
135 * m4/m4.m4, m4/atconfig.m4: New files.
136 * m4/Makefile.am (EXTRA_DIST): Adjust.
137 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
139 * src/getargs.c: Display a more standard --version message.
140 * src/reader.c (reader): Formatting changes.
141 No longer depend upon VERSION_STRING.
142 * configure.in: No longer use `dnl'.
143 Set up the test suite and the new directory `tests/.
144 (VERSION_STRING): Remove.
146 2000-04-14 Akim Demaille <akim@epita.fr>
148 * src/reader.c (copy_comment2): New function, same as former
149 `copy_comment', but outputs into two FILE *.
150 (copy_comment): Use it.
151 (parse_union_decl): Use it.
152 (get_type, parse_start_decl): Use the same `invalid' message.
153 (parse_start_decl, parse_union_decl): Use the same `multiple'
155 (parse_union_decl, copy_guard, copy_action): Use the same
157 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
159 2000-03-31 Akim Demaille <akim@epita.fr>
161 * src/files.c (tryopen, tryclose): Move to the top.
164 2000-03-31 Akim Demaille <akim@epita.fr>
166 * src/main.c (main): Don't call `done', exit does it.
168 2000-03-31 Akim Demaille <akim@epita.fr>
170 * allocate.c: s/return (foo)/return foo/.
173 * output.c: Likewise.
174 * reader.c: Likewise.
175 * symtab.c: Likewise.
176 * vmsgetargs.c: Likewise.
178 2000-03-31 Akim Demaille <akim@epita.fr>
180 Clean up the error reporting functions.
182 * src/report.c: New file.
183 * src/report.h: Likewise.
184 * src/Makefile.am: Adjust.
185 * m4/error.m4: New file.
186 * m4/Makefile.am: Adjust.
187 * configure.in (jm_PREREQ_ERROR): Call it.
188 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
190 (fatal, fatals): Remove. All callers use complain.c::fatal.
191 (warn, warni, warns, warnss, warnss): Remove. All callers use
192 complain.c::complain.
193 (toomany): Remove, use fatal instead.
194 * src/files.c (done): No argument, use complain_message_count.
195 * src/main.c (main): Register `done' to `atexit'.
197 * src/getargs.c (usage): More `fputs', less `fprintf'.
199 2000-03-28 Akim Demaille <akim@epita.fr>
201 * lib/: New directory.
202 * Makefile.am (SUBDIRS): Adjust.
203 * configure.in: Adjust.
204 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
206 * src/alloca.c: Moved to lib/.
207 * src/getopt.c: Likewise.
208 * src/getopt1.c: Likewise.
209 * src/getopt.h: Likewise.
210 * src/ansi2knr.c: Likewise.
211 * src/ansi2knr.1: Likewise.
212 * src/Makefile.am: Adjust.
213 * lib/Makefile.am: New file.
215 2000-03-28 Akim Demaille <akim@epita.fr>
217 * src/getargs.c (usage): Refresh the help message.
219 2000-03-17 Akim Demaille <akim@epita.fr>
221 * src/getopt1.c: Updated from textutils 2.0e
222 * src/getopt.c: Likewise.
223 * src/getopt.h: Likewise.
225 2000-03-17 Akim Demaille <akim@epita.fr>
227 * src/Makefile.am (bison.simple): Fix the awk program: quote only
228 the file name, not the whole `#line LINE FILE'.
230 2000-03-17 Akim Demaille <akim@epita.fr>
232 On syntax errors, report the token on which we choked.
234 * src/bison.s1 (yyparse): In the label yyerrlab, when
235 YYERROR_VERBOSE, add yychar in msg.
237 2000-03-17 Akim Demaille <akim@epita.fr>
239 * src/reader.c (copy_at): New function.
240 (copy_guard): Use it.
241 (copy_action): Use it.
243 2000-03-17 Akim Demaille <akim@epita.fr>
245 Be kind to translators, save some useless translations.
247 * src/main.c (banner): New function.
248 (fatal_banner): Use it.
249 (warn_banner): Use it.
251 2000-03-17 Akim Demaille <akim@epita.fr>
253 * src/reader.c (copy_definition): Use copy_string and
254 copy_comment. Removed now unused `match', `ended',
256 (copy_comment, copy_string): Moved, to be visible from
259 2000-03-17 Akim Demaille <akim@epita.fr>
261 * src/reader.c (copy_string): Declare `static inline'. No
262 problems with inline, since it is checked by configure.
263 (copy_comment): Likewise.
265 2000-03-17 Akim Demaille <akim@epita.fr>
267 * src/reader.c (packsymbols): Formatting changes.
269 2000-03-17 Akim Demaille <akim@epita.fr>
271 * src/reader.c (copy_comment): New function, factored out from:
272 (copy_action): Use it. Removed now unused `match', `ended',
274 (copy_guard): Likewise.
276 2000-03-17 Akim Demaille <akim@epita.fr>
278 * src/reader.c (copy_string): New function, factored out from:
279 (copy_action): Use it.
280 (copy_guard): Likewise.
282 2000-03-17 Akim Demaille <akim@epita.fr>
284 Change the handling of @s so that they behave exactly like $s.
285 There is now a pseudo variable @$ (readble and writable), location
286 of the lhs of the rule (by default ranging from the location of
287 the first symbol of the rhs, to the location of the last symbol,
288 or, if the rhs is empty, YYLLOC).
290 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
292 (yyparse): When providing a default semantic action, provide a
293 default location action.
294 (after the $): No longer change `*YYLSP', just stack YYLOC the
295 same way you stack YYVAL.
296 * src/reader.c (read_declarations): Use warns.
297 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
298 (copy_action, case '@'): Likewise.
299 Use a standard error message, to save useless work from
302 2000-03-17 Akim Demaille <akim@epita.fr>
304 * src/bison.s1: Formatting and cosmetics changes.
305 * src/reader.c: Likewise.
306 Update the Copyright notice.
308 2000-03-17 Akim Demaille <akim@epita.fr>
310 * src/bison.s1 (#line): All set to `#line' only, since the
311 Makefile now handles them.
313 2000-03-16 Akim Demaille <akim@epita.fr>
315 * src/output.c (output_rule_data): Output the documentation of
317 (Copyright notice): Update.
320 2000-03-16 Akim Demaille <akim@epita.fr>
322 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
323 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
324 One `#if YYDEBUG' remains, since it uses variables which are
325 defined only if `YYDEBUG != 0'.
327 2000-03-16 Akim Demaille <akim@epita.fr>
329 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
330 and related variables so that the similarities are highlighted.
332 2000-03-16 Akim Demaille <akim@epita.fr>
334 * src/bison.s1: Properly indent CPP directives.
336 2000-03-16 Akim Demaille <akim@epita.fr>
338 * src/bison.s1: Properly indent the `alloca' CPP section.
340 2000-03-16 Akim Demaille <akim@epita.fr>
342 Do not hard code values of directories in `configure.in'.
343 Update the `configure' tool chain.
345 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
347 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
348 (AC_OUTPUT): Add m4/Makefile.
349 Bump to bison 1.28a, 1.29 has never been released.
350 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
351 handled via src/Makefile.am.
352 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
353 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
355 * Makefile.am (SUBDIRS): Add m4.
356 (ACLOCAL_AM_FLAGS): New variable.
357 (AUTOMAKE_OPTIONS): Add check-news.
358 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
359 the proper line number and file name.
360 (DEFS): Propagate the location of bison library files and of the
362 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
364 * acinclude.m4: Remove, replaced by the directory m4.
365 * m4/Makefile.am (EXTRA_DIST): New variable.
366 * m4/gettext.m4: New file, from the fileutils.
367 * m4/lcmessage.m4: Likewise
368 * m4/progtest.m4: Likewise.
369 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
371 2000-03-10 Akim Demaille <akim@epita.fr>
374 Formatting changes of various comments.
375 Respect the GNU coding standards at various places.
376 Don't use `_()' when no translation is needed.
378 1999-12-13 Jesse Thilo <jthilo@gnu.org>
381 OS/2 honors TMPDIR environment variable.
383 1999-12-13 Jesse Thilo <jthilo@gnu.org>
385 * doc/bison.texinfo: Tweaked spelling and grammar.
387 Removed reference to price of printed copy.
388 Mention BISON_SIMPLE and BISON_HAIRY.
390 1999-12-13 Jesse Thilo <jthilo@gnu.org>
392 * configure.in, NEWS:
395 1999-10-27 Jesse Thilo <jthilo@gnu.org>
397 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
398 Added reference card.
400 1999-07-26 Jesse Thilo <jthilo@gnu.org>
402 * po/ru.po: Added Russian translation.
404 1999-07-26 Jesse Thilo <jthilo@gnu.org>
406 * configure.in: Added Russian translation.
408 1999-07-06 Jesse Thilo <jthilo@gnu.org>
410 * configure.in, NEWS, README:
411 Released version 1.28.
413 1999-06-14 Jesse Thilo <jthilo@gnu.org>
416 Squashed redefinition warning on some systems.
418 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
419 Have configure build version string instead of relying on ANSI string
422 1999-06-14 Jesse Thilo <jthilo@gnu.org>
424 * po/POTFILES.in: Got rid of version.c.
426 1999-06-14 Jesse Thilo <jthilo@gnu.org>
428 * acconfig.h, configure.in:
429 Have configure build version string instead of relying on ANSI string
432 1999-06-08 Jesse Thilo <jthilo@gnu.org>
435 Dropped mention of `+' for long-named options.
437 1999-05-30 Jesse Thilo <jthilo@gnu.org>
439 * src/files.c: Added <unistd.h> for unlink().
441 * src/Makefile.am, src/system.h:
444 1999-05-30 Jesse Thilo <jthilo@gnu.org>
446 * README: Added a FAQ list.
448 * configure.in, acconfig.h:
451 1999-05-30 Jesse Thilo <jthilo@gnu.org>
453 * doc/FAQ, doc/Makefile.am:
456 1999-05-19 Jesse Thilo <jthilo@gnu.org>
458 * src/alloc.h, src/symtab.h, src/version.c:
459 Protected inclusion of "config.h" with HAVE_CONFIG_H.
461 1999-04-18 Jesse Thilo <jthilo@gnu.org>
463 * src/.cvsignore, src/Makefile.am:
464 Reorganized: sources in `src', documentation in `doc'.
466 * src/lex.c (literalchar):
467 fixed the code for escaping double quotes (thanks
470 1999-04-18 Jesse Thilo <jthilo@gnu.org>
472 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
473 Adjusted paths to reflect directory reorganization.
475 1999-04-18 Jesse Thilo <jthilo@gnu.org>
477 * doc/.cvsignore, doc/Makefile.am:
478 Reorganized: sources in `src', documentation in `doc'.
480 1999-04-18 Jesse Thilo <jthilo@gnu.org>
483 Updated AC_INIT file to reflect directory reorganization.
485 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
486 Reorganized: sources in `src', documentation in `doc'.
488 1999-04-13 Jesse Thilo <jthilo@gnu.org>
491 Don't declare calloc() and realloc() if not necessary.
493 1999-04-13 Jesse Thilo <jthilo@gnu.org>
495 * configure.in, acconfig.h, acinclude.m4:
496 Don't declare calloc() and realloc() if not necessary.
498 1999-03-23 Jesse Thilo <jthilo@gnu.org>
500 * po/.cvsignore: Added i18n support.
502 1999-03-23 Jesse Thilo <jthilo@gnu.org>
504 * acconfig.h, configure.in, Makefile.am:
507 1999-03-22 Jesse Thilo <jthilo@gnu.org>
509 * src/bison.s1: Fixed #line numbers.
511 1999-03-15 Jesse Thilo <jthilo@gnu.org>
513 * po/es.po, po/fr.po, po/nl.po, po/de.po:
514 Added PO files from Translation Project.
516 1999-03-03 Jesse Thilo <jthilo@gnu.org>
519 Added support for non-ANSI compilers (ansi2knr).
521 1999-02-16 Jesse Thilo <jthilo@gnu.org>
523 * configure.in: Bumped version number to 1.27.
526 Added `bison.simple' to list of files removed by `make distclean'.
528 1999-02-12 Jesse Thilo <jthilo@gnu.org>
530 * src/files.c, src/files.h:
531 Defined locations of parser files in config.h instead of Makefile.
533 1999-02-12 Jesse Thilo <jthilo@gnu.org>
535 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
536 Defined locations of parser files in config.h instead of Makefile.
538 1999-02-09 Jesse Thilo <jthilo@gnu.org>
541 Removed inappropriate use of $< macro.
543 1999-02-05 Jesse Thilo <jthilo@gnu.org>
545 * po/Makefile.in.in, po/POTFILES.in:
546 Add `po' directory skeleton.
548 1999-01-27 Jesse Thilo <jthilo@gnu.org>
550 * README: Document help-bison list.
552 * configure.in: Add check for mkstemp().
554 1999-01-20 Jesse Thilo <jthilo@gnu.org>
556 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
557 Hush a few compiler warnings.
560 Add tryclose(), which verifies that fclose was successful.
561 Hush a couple of compiler warnings.
563 1999-01-20 Jesse Thilo <jthilo@gnu.org>
565 * Makefile.am, OChangeLog:
566 ChangeLog is now automatically generated. Include the old version as
569 1999-01-14 Jesse Thilo <jthilo@gnu.org>
571 * 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:
574 1999-01-14 Jesse Thilo <jthilo@gnu.org>
576 * doc/bison.texinfo: Fix formatting glitch.
578 * doc/bison.texinfo: Update FSF address.
580 1999-01-14 Jesse Thilo <jthilo@gnu.org>
582 * acconfig.h: Update FSF address.
584 1999-01-08 Jesse Thilo <jthilo@gnu.org>
587 Don't define PACKAGE here, since config.h defines it.
589 1998-12-30 Jesse Thilo <jthilo@gnu.org>
591 * src/reader.c: Update copyright date.
594 Ditch sprintf to statically-sized buffers in fatal/warn functions in
595 favor of output directly to stderr (avoids buffer overruns).
597 * src/reader.c: Some checks for premature EOF.
599 * 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:
600 Use prototypes if the compiler understands them.
602 * src/files.c: Honor TMPDIR on Unix hosts.
603 Use prototypes if the compiler understands them.
606 Fix a couple of buffer overrun bugs.
607 Use prototypes if the compiler understands them.
609 * src/system.h: Include unistd.h and ctype.h.
610 Use #ifdef instead of #if for NLS symbols.
612 1998-12-30 Jesse Thilo <jthilo@gnu.org>
615 Delete comment "consider using @set for edition number, etc..." since
618 1998-12-30 Jesse Thilo <jthilo@gnu.org>
621 Use prototypes if the compiler understands them.
623 * NEWS: Document 1.26 highlights.
625 * Makefile.am: Require Automake 1.3 or later.
628 Use prototypes if the compiler understands them.
630 1998-12-29 Jesse Thilo <jthilo@gnu.org>
633 Use VERSION symbol from automake for version number.
635 1998-12-29 Jesse Thilo <jthilo@gnu.org>
637 * acconfig.h, configure.in, version.cin:
638 Use VERSION symbol from automake for version number.
640 1998-11-28 Jesse Thilo <jthilo@gnu.org>
643 Distribute original version of simple parser (bison.s1), not built
644 version (bison.simple).
646 1998-11-28 Jesse Thilo <jthilo@gnu.org>
648 * doc/bison.texinfo: Add info dir entry.
651 Let automake put version number into documentation.
653 1998-11-26 Jesse Thilo <jthilo@gnu.org>
655 * src/bison.cld, src/build.com, src/vmshlp.mar:
656 Add non-RCS files from /gd/gnu/bison.
658 1998-11-26 Jesse Thilo <jthilo@gnu.org>
661 Document the BISON_HAIRY and BISON_SIMPLE variables.
663 1998-11-25 Jesse Thilo <jthilo@gnu.org>
665 * src/version.c: Build version.c automatically.
668 Fix token numbering (used to start at 258, not 257).
670 * src/system.h: Include config.h.
672 * src/getargs.c: Update bug report address.
674 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
675 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
677 1998-11-25 Jesse Thilo <jthilo@gnu.org>
680 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
682 * configure.in, version.cin:
683 Build version.c automatically.
685 * AUTHORS: Add AUTHORS file.
687 * README: Update bug report address.
690 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
692 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
695 1998-11-25 Jesse Thilo <jthilo@gnu.org>
697 * doc/bison.texinfo: Clean up some formatting.
699 1998-05-05 Richard Stallman <rms@gnu.org>
702 Explain better why to make a pure parser.
704 1998-01-05 Richard Stallman <rms@gnu.org>
706 * src/files.c (openfiles):
707 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
708 find a temporary directory, if possible. Do not unlink files while
711 1997-08-25 Richard Stallman <rms@gnu.org>
713 * src/reader.c (stack_offset;):
714 Change some warni to warns.
716 * src/lex.c (literalchar): Use warns, not warni.
718 1997-06-28 Richard Stallman <rms@gnu.org>
720 * src/bison.s1: Add a Bison version comment.
722 * src/main.c (fatal, warn, berror):
725 1997-06-28 Richard Stallman <rms@gnu.org>
727 * Makefile.in (bison_version): New variable.
728 (dist): Use that variable.
729 (bison.s1): Substitute the Bison version into bison.simple.
731 * bison.simple: Add a Bison version comment.
733 1997-06-18 Richard Stallman <rms@gnu.org>
735 * src/main.c (fatal, warn, berror):
736 Make error messages standard.
737 (toomany): Improve error message text.
739 * 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:
740 new.h renamed to alloc.h.
742 1997-06-18 Richard Stallman <rms@gnu.org>
744 * Makefile.in: new.h renamed to alloc.h.
746 1997-05-24 Richard Stallman <rms@gnu.org>
748 * src/lex.c (literalchar):
749 Fix the code for escaping \, " and '.
751 (lex): Avoid trouble when there are many chars
752 to discard in a char literal with just several chars in it.
754 1997-05-17 Richard Stallman <rms@gnu.org>
757 Use malloc, if using alloca is troublesome.
758 (YYSTACK_USE_ALLOCA): New flag macro.
759 Define it for some systems and compilers.
760 (YYSTACK_ALLOC): New macro.
761 (yyparse): Use YYSTACK_ALLOC to allocate stack.
762 If it was malloc'd, free it.
764 1997-05-17 Richard Stallman <rms@gnu.org>
767 Use malloc, if using alloca is troublesome.
768 (YYSTACK_USE_ALLOCA): New flag macro.
769 Define it for some systems and compilers.
770 (YYSTACK_ALLOC): New macro.
771 (yyparse): Use YYSTACK_ALLOC to allocate stack.
772 If it was malloc'd, free it.
774 1997-04-23 Richard Stallman <rms@gnu.org>
777 (alloca) [__hpux]: Always define as __builtin_alloca.
779 1997-04-23 Richard Stallman <rms@gnu.org>
782 (alloca) [__hpux]: Always define as __builtin_alloca.
784 1997-04-22 Richard Stallman <rms@gnu.org>
787 [__hpux]: Include alloca.h (right for HPUX 10)
788 instead of declaring alloca (right for HPUX 9).
790 * src/bison.s1 (__yy_memcpy):
791 Declare arg `count' as unsigned int.
792 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
794 1997-04-22 Richard Stallman <rms@gnu.org>
797 [__hpux]: Include alloca.h (right for HPUX 10)
798 instead of declaring alloca (right for HPUX 9).
800 * bison.simple (__yy_memcpy):
801 Declare arg `count' as unsigned int.
802 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
804 1997-01-03 Richard Stallman <rms@gnu.org>
806 * src/allocate.c: [__STDC__ or _MSC_VER]:
807 Declare calloc and realloc to return void *.
809 1997-01-02 Richard Stallman <rms@gnu.org>
812 [_MSC_VER]: Include stdlib.h and process.h.
813 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
815 * src/main.c (main): Return FAILURE as a value.
816 (printable_version): Declare arg as int, not char.
818 1997-01-02 Richard Stallman <rms@gnu.org>
820 * Makefile.in (dist):
821 Explicitly check for symlinks, and copy them.
823 1996-12-19 Richard Stallman <rms@gnu.org>
826 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
828 1996-12-18 Paul Eggert <eggert@gnu.org>
830 * src/bison.s1 (yyparse):
831 If __GNUC__ and YYPARSE_PARAM are both defined,
832 declare yyparse to have a void * argument.
834 1996-12-18 Paul Eggert <eggert@gnu.org>
836 * bison.simple (yyparse):
837 If __GNUC__ and YYPARSE_PARAM are both defined,
838 declare yyparse to have a void * argument.
840 1996-12-17 Richard Stallman <rms@gnu.org>
842 * src/reduce.c (nbits): Add some casts.
844 1996-08-12 Richard Stallman <rms@gnu.org>
846 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
848 1996-08-12 Richard Stallman <rms@gnu.org>
850 * bison.simple: Test _MSDOS as well as _MSDOS_.
852 1996-07-31 Richard Stallman <rms@gnu.org>
855 [__sun && __i386]: Include alloca.h.
857 1996-07-31 Richard Stallman <rms@gnu.org>
860 [__sun && __i386]: Include alloca.h.
862 1996-07-30 Richard Stallman <rms@gnu.org>
864 * src/bison.s1: Comment change.
866 * src/bison.s1: Test _MSDOS_, not MSDOS.
868 1996-07-30 Richard Stallman <rms@gnu.org>
870 * bison.simple: Comment change.
872 * bison.simple: Test _MSDOS_, not MSDOS.
874 1996-06-01 Richard Stallman <rms@gnu.org>
876 * 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:
877 Insert `_' macro around many string constants.
880 Insert `_' macro around many string constants.
882 (main): Call setlocale, bindtextdomain and textdomain.
884 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
885 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
886 [ENABLE_NLS]: Include libintl.h.
887 [ENABLE_NLS] (gettext): Define.
888 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
889 (N_, PACKAGE, LOCALEDIR): New macros.
891 1996-06-01 Richard Stallman <rms@gnu.org>
893 * POTFILES.in: New file.
895 * Makefile.in (allocate.o):
896 Define target explicitly.
898 * Makefile.in (CFLAGS): Set to @CFLAGS@.
899 (LDFLAGS): Set to @LDFLAGS@.
900 (configure): Run autoconf only if preceding `cd' succeeds.
901 (bison.s1): Redirect output to temporary file then move the
902 temporary to the target, rather than redirecting directly to bison.s1.
903 (clean): Remove config.status and config.log.
904 (distclean): Don't remove config.status here.
906 1996-05-12 Richard Stallman <rms@gnu.org>
909 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
911 1996-05-12 Richard Stallman <rms@gnu.org>
914 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
916 1996-05-11 Richard Stallman <rms@gnu.org>
918 * src/bison.s1 (__yy_memcpy):
919 Really reorder the args, as was supposedly done on Feb 14 1995.
920 (yyparse): Calls changed accordingly.
922 1996-05-11 Richard Stallman <rms@gnu.org>
924 * Makefile.in (dist): Don't use $(srcdir).
926 * bison.simple (__yy_memcpy):
927 Really reorder the args, as was supposedly done on Feb 14 1995.
928 (yyparse): Calls changed accordingly.
930 1996-01-27 Richard Stallman <rms@gnu.org>
932 * src/output.c (output_rule_data):
933 Test YYERROR_VERBOSE in the conditional
934 around the definition of ttyname.
936 1995-12-29 Richard Stallman <rms@gnu.org>
939 Fix line numbers in #line commands.
941 1995-12-29 Richard Stallman <rms@gnu.org>
944 Fix line numbers in #line commands.
946 1995-12-27 Richard Stallman <rms@gnu.org>
948 * src/bison.s1 (YYPARSE_PARAM_DECL):
949 In C++, make it always null.
950 (YYPARSE_PARAM_ARG): New macro.
951 (yyparse): Use YYPARSE_PARAM_ARG.
953 1995-12-27 Richard Stallman <rms@gnu.org>
955 * bison.simple (YYPARSE_PARAM_DECL):
956 In C++, make it always null.
957 (YYPARSE_PARAM_ARG): New macro.
958 (yyparse): Use YYPARSE_PARAM_ARG.
960 1995-11-29 Richard Stallman <rms@gnu.org>
963 Describe literal string tokens, %raw, %no_lines, %token_table.
965 1995-11-29 Daniel Hagerty <hag@gnu.org>
967 * doc/bison.texinfo: Fixed update date
969 1995-10-16 Richard Stallman <rms@gnu.org>
971 * src/version.c: Version 1.25.
973 1995-10-16 Richard Stallman <rms@gnu.org>
975 * NEWS: *** empty log message ***
977 1995-10-16 Richard Stallman <rms@gnu.org>
979 * doc/bison.1, doc/bison.rnh:
982 1995-10-15 Richard Stallman <rms@gnu.org>
984 * src/vmsgetargs.c, src/getargs.c:
985 Added -n, -k, and -raw switches.
986 (noparserflag, toknumflag, rawtoknumflag): New variables.
988 * src/symtab.h (SALIAS):
989 New #define for adding aliases to %token.
990 (struct bucket): Added `alias' field.
992 * src/reduce.c (reduce_grammar):
993 Revise error message.
994 (print_notices): Remove final `.' from error message.
996 * src/reader.c (reader_output_yylsp):
998 (readgram): Use `#if 0' around code that accepted %command
999 inside grammar rules: The documentation doesn't allow it,
1000 and it will fail since the %command processors scan for the next %.
1001 (parse_token_decl): Extended the %token
1002 declaration to allow a multi-character symbol as an alias.
1003 (parse_thong_decl): New function.
1004 (read_declarations): Added %thong declarations.
1005 (read_declarations): Handle NOOP to deal with allowing
1006 % declarations as another means to specify the flags.
1007 (readgram): Allow %prec prior to semantics embedded in a rule.
1008 (skip_to_char, read_declarations, copy_definition)
1009 (parse_token_decl, parse_start_decl, parse_type_decl)
1010 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1011 (get_type_name, copy_guard, copy_action, readgram)
1012 (get_type, packsymbols): Revised most error messages.
1013 Changed `fatal' to `warnxxx' to avoid aborting for error.
1014 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1015 (read_declarations): Improve the error message for
1016 an invalid character. Do not abort.
1017 (read_declarations, copy_guard, copy_action): Use
1018 printable_version to avoid unprintable characters in printed output.
1019 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1020 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1021 Allow the type of a non-terminal can be given
1022 more than once, as long as all specifications give the same type.
1025 (output_headers, output_trailers, output, output_gram)
1026 (output_rule_data): Implement noparserflag variable.
1027 Implement toknumflag variable.
1028 (output): Call reader_output_yylsp to output LTYPESTR.
1030 * src/main.c (main):
1031 If reader sees an error, don't process the grammar.
1032 (fatals): Updated to not use VARARGS1.
1033 (printable_version, int_to_string, warn, warni, warns, warnss)
1034 (warnsss): New error reporting functions. Avoid abort for error.
1037 Added THONG and NOOP for alias processing.
1038 Added SETOPT for the new code that allows setting options with %flags.
1041 Include getopt.h. Add some extern decls.
1042 (safegetc): New function to deal with EOF gracefully.
1043 (literalchar); new function to deal with reading \ escapes.
1044 (lex): Use literalchar.
1045 (lex): Implemented "..." tokens.
1046 (literalchar, lex, parse_percent_token): Made tokenbuffer
1047 always contain the token. This includes growing the token
1048 buffer while reading an integer.
1049 (parse_percent_token): Replaced if-else statement with percent_table.
1050 (parse_percent_token): Added % declarations as another
1051 way to specify the flags -n, -l, and -r. Also added hooks for
1052 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1053 major changes to files.c.
1054 (lex) Retain in the incoming stream a character following
1056 (skip_white_space, lex): Revised most error messages
1057 and changed fatal to warn to avoid aborting.
1058 (percent_table): Added %thong declarations.
1060 * src/gram.h: Comment changes.
1062 * src/files.c (openfiles, open_extra_files, done):
1064 and actfile file. Handle noparserflag. Both for -n switch.
1066 * src/conflicts.c (resolve_sr_conflict):
1067 Remove use of alloca.
1069 1995-06-01 Jim Meyering <meyering@gnu.org>
1071 * doc/bison.texinfo: *** empty log message ***
1073 1995-05-06 Richard Stallman <rms@gnu.org>
1075 * src/bison.s1: Comment change.
1077 1995-05-06 Richard Stallman <rms@gnu.org>
1079 * bison.simple: Comment change.
1081 1995-05-03 Richard Stallman <rms@gnu.org>
1083 * src/version.c: Version now 1.24.
1085 * src/bison.s1: Change distribution terms.
1087 * src/version.c: Version now 1.23.
1089 1995-05-03 Richard Stallman <rms@gnu.org>
1091 * doc/bison.texinfo:
1092 Rewrite "Conditions for Using Bison".
1093 Update version to 1.24.
1095 1995-05-03 Richard Stallman <rms@gnu.org>
1097 * bison.simple: Change distribution terms.
1099 1995-02-23 Richard Stallman <rms@gnu.org>
1101 * src/files.c: Test __VMS_POSIX as well as VMS.
1103 1995-02-14 Jim Meyering <meyering@gnu.org>
1105 * src/bison.s1 (__yy_memcpy):
1106 Renamed from __yy_bcopy to avoid
1107 confusion. Reverse FROM and TO arguments to be consistent with
1110 1995-02-14 Jim Meyering <meyering@gnu.org>
1112 * bison.simple (__yy_memcpy):
1113 Renamed from __yy_bcopy to avoid
1114 confusion. Reverse FROM and TO arguments to be consistent with
1117 1994-11-10 David J. MacKenzie <djm@gnu.org>
1123 * Makefile.in (DISTFILES): Include NEWS.
1125 * Makefile.in (DISTFILES):
1126 Include install-sh, not install.sh.
1128 * configure.in: Update to Autoconf v2 macro names.
1130 1994-10-05 David J. MacKenzie <djm@gnu.org>
1132 * Makefile.in: fix typo
1134 * Makefile.in (prefix, exec_prefix):
1135 Let configure set them.
1137 1994-09-28 David J. MacKenzie <djm@gnu.org>
1139 * Makefile.in: Set datadir to $(prefix)/share.
1141 1994-09-15 Richard Stallman <rms@gnu.org>
1144 Update copyright notice and GPL version.
1146 1994-09-15 Richard Stallman <rms@gnu.org>
1149 Update copyright notice and GPL version.
1151 1994-07-12 Richard Stallman <rms@gnu.org>
1153 * src/reduce.c, src/reader.c:
1156 1994-05-05 David J. MacKenzie <djm@gnu.org>
1158 * Makefile.in: entered into RCS
1160 1994-03-26 Richard Stallman <rms@gnu.org>
1162 * src/bison.s1: entered into RCS
1164 1994-03-26 Richard Stallman <rms@gnu.org>
1166 * bison.simple: entered into RCS
1168 1994-03-25 Richard Stallman <rms@gnu.org>
1170 * src/main.c: entered into RCS
1172 1994-03-24 Richard Stallman <rms@gnu.org>
1174 * src/conflicts.c: entered into RCS
1176 1994-01-02 Richard Stallman <rms@gnu.org>
1178 * Makefile.in: *** empty log message ***
1180 1993-11-21 Richard Stallman <rms@gnu.org>
1182 * src/bison.s1: *** empty log message ***
1184 1993-11-21 Richard Stallman <rms@gnu.org>
1186 * doc/bison.texinfo: entered into RCS
1188 * doc/bison.texinfo: *** empty log message ***
1190 1993-11-21 Richard Stallman <rms@gnu.org>
1192 * bison.simple: *** empty log message ***
1194 1993-10-25 David J. MacKenzie <djm@gnu.org>
1196 * doc/bison.texinfo: *** empty log message ***
1198 1993-10-19 Richard Stallman <rms@gnu.org>
1200 * src/bison.s1: *** empty log message ***
1202 1993-10-19 Richard Stallman <rms@gnu.org>
1204 * bison.simple: *** empty log message ***
1206 1993-10-14 Richard Stallman <rms@gnu.org>
1208 * src/bison.s1: *** empty log message ***
1210 1993-10-14 Richard Stallman <rms@gnu.org>
1212 * bison.simple: *** empty log message ***
1214 1993-09-14 David J. MacKenzie <djm@gnu.org>
1216 * doc/bison.texinfo: *** empty log message ***
1218 1993-09-13 Noah Friedman <friedman@gnu.org>
1220 * Makefile.in: *** empty log message ***
1222 1993-09-10 Richard Stallman <rms@gnu.org>
1224 * src/conflicts.c: *** empty log message ***
1226 * src/system.h: entered into RCS
1228 1993-09-10 Richard Stallman <rms@gnu.org>
1230 * doc/bison.1: entered into RCS
1232 1993-09-06 Noah Friedman <friedman@gnu.org>
1234 * src/version.c: entered into RCS
1236 1993-09-06 Noah Friedman <friedman@gnu.org>
1238 * Makefile.in: *** empty log message ***
1240 1993-07-30 David J. MacKenzie <djm@gnu.org>
1242 * Makefile.in: *** empty log message ***
1244 1993-07-24 Richard Stallman <rms@gnu.org>
1246 * src/bison.s1: *** empty log message ***
1248 1993-07-24 Richard Stallman <rms@gnu.org>
1250 * bison.simple: *** empty log message ***
1252 1993-07-08 David J. MacKenzie <djm@gnu.org>
1254 * Makefile.in: *** empty log message ***
1256 1993-07-04 Richard Stallman <rms@gnu.org>
1258 * src/bison.s1: *** empty log message ***
1260 1993-07-04 Richard Stallman <rms@gnu.org>
1262 * bison.simple: *** empty log message ***
1264 1993-06-26 David J. MacKenzie <djm@gnu.org>
1266 * src/getargs.c: entered into RCS
1268 1993-06-26 David J. MacKenzie <djm@gnu.org>
1270 * doc/bison.texinfo: *** empty log message ***
1272 * doc/bison.1: New file.
1274 1993-06-25 Richard Stallman <rms@gnu.org>
1276 * src/getargs.c: New file.
1278 1993-06-16 Richard Stallman <rms@gnu.org>
1280 * src/bison.s1: *** empty log message ***
1282 1993-06-16 Richard Stallman <rms@gnu.org>
1284 * bison.simple: *** empty log message ***
1286 1993-06-03 Richard Stallman <rms@gnu.org>
1288 * src/bison.s1: New file.
1290 1993-06-03 Richard Stallman <rms@gnu.org>
1292 * doc/bison.texinfo: *** empty log message ***
1294 1993-06-03 Richard Stallman <rms@gnu.org>
1296 * bison.simple: New file.
1298 1993-05-19 Richard Stallman <rms@gnu.org>
1300 * doc/bison.texinfo: New file.
1302 1993-05-07 Noah Friedman <friedman@gnu.org>
1304 * Makefile.in: *** empty log message ***
1306 1993-04-28 Noah Friedman <friedman@gnu.org>
1308 * src/reader.c: *** empty log message ***
1310 1993-04-23 Noah Friedman <friedman@gnu.org>
1312 * src/alloc.h: entered into RCS
1314 1993-04-20 David J. MacKenzie <djm@gnu.org>
1316 * src/version.c: *** empty log message ***
1318 * src/files.c, src/allocate.c:
1321 * src/reader.c: *** empty log message ***
1323 * src/lex.c: entered into RCS
1325 * src/conflicts.c: New file.
1327 * src/symtab.c: entered into RCS
1329 * src/alloc.h: New file.
1331 * src/LR0.c: entered into RCS
1333 1993-04-18 Noah Friedman <friedman@gnu.org>
1335 * src/reader.c: New file.
1337 * src/version.c: *** empty log message ***
1339 1993-04-18 Noah Friedman <friedman@gnu.org>
1341 * Makefile.in: *** empty log message ***
1343 1993-04-17 Noah Friedman <friedman@gnu.org>
1345 * Makefile.in: *** empty log message ***
1347 1993-04-15 Richard Stallman <rms@gnu.org>
1349 * src/main.c, src/files.c:
1352 1993-04-15 Noah Friedman <friedman@gnu.org>
1354 * configure.in: entered into RCS
1356 * configure.in: *** empty log message ***
1358 * configure.in: New file.
1360 1993-04-14 Richard Stallman <rms@gnu.org>
1362 * Makefile.in: New file.
1364 1993-04-13 Richard Stallman <rms@gnu.org>
1366 * src/version.c: New file.
1368 1993-03-25 Richard Stallman <rms@gnu.org>
1370 * src/output.c: entered into RCS
1372 1992-09-25 Richard Stallman <rms@gnu.org>
1374 * configure.bat: entered into RCS
1376 1992-06-22 Richard Stallman <rms@gnu.org>
1378 * src/vmsgetargs.c: entered into RCS
1380 1992-06-22 Richard Stallman <rms@gnu.org>
1382 * doc/bison.rnh: entered into RCS
1384 1992-04-20 David J. MacKenzie <djm@gnu.org>
1386 * README: entered into RCS
1388 1992-01-22 Richard Stallman <rms@gnu.org>
1390 * src/machine.h: entered into RCS
1392 1991-12-21 Richard Stallman <rms@gnu.org>
1394 * src/lalr.c, src/closure.c:
1397 1991-12-20 Richard Stallman <rms@gnu.org>
1399 * src/state.h: entered into RCS
1401 1991-12-18 Richard Stallman <rms@gnu.org>
1403 * src/print.c, src/nullable.c, src/derives.c:
1406 1991-11-03 David J. MacKenzie <djm@gnu.org>
1408 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1411 1988-09-09 Richard Stallman <rms@gnu.org>
1413 * src/bison.hairy: entered into RCS
1415 1987-12-16 Richard Stallman <rms@gnu.org>
1417 * REFERENCES: entered into RCS