1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/reduce.h: New file.
4 Propagate its inclusion.
5 * src/reduce.c: Topological sort and other formatting changes.
6 (bool, TRUE, FALSE): Move their definition to...
10 2000-10-02 Akim Demaille <akim@epita.fr>
12 * src/files.c: Formatting changes.
13 (tryopen, tryclose, openfiles): Rename as...
14 (xfopen, xfclose, open_files): this.
15 (stringappend): static.
16 * src/files.h: Complete the list of exported symbols.
20 2000-10-02 Akim Demaille <akim@epita.fr>
22 * src/reader.h: New file.
23 Propagate its use instead of tedious list of `extern' and
25 * src/reader.c: Formatting changes, topological sort,
29 2000-10-02 Akim Demaille <akim@epita.fr>
31 * src/lex.h: Prototype `lex.c' exported functions.
32 * src/reader.c: Adjust.
33 * src/lex.c: Formatting changes.
34 (safegetc): Rename as...
38 2000-10-02 Akim Demaille <akim@epita.fr>
40 * src/lalr.h: New file.
41 Propagate its inclusion instead of prototypes and `extern'.
42 * src/lalr.c: Formatting changes, topological sorting etc.
45 2000-10-02 Akim Demaille <akim@epita.fr>
47 * src/output.c (token_actions): Introduce a temporary array,
48 YYDEFACT, that makes it possible for this function to use
52 2000-10-02 Akim Demaille <akim@epita.fr>
54 `user_toknums' is output as a `short[]' in `output.c', while it is
55 defined as a `int[]' in `reader.c'. For consistency with the
56 other output tables, `user_toknums' is now defined as a table of
59 * src/reader.c (user_toknums): Be a short table instead of an int
63 Factor the short table outputs.
65 * src/output.c (output_short_table): New function.
66 * src/output.c (output_gram, output_stos, output_rule_data)
67 (output_base, output_table, output_check): Use it.
69 2000-10-02 Akim Demaille <akim@epita.fr>
71 * src/output.c (output): Topological sort of the functions, in
72 order to get rid of the `static' prototypes.
73 No longer use `register'.
74 * src/output.h: New file.
75 Propagate its inclusion in files explicitly prototyping functions
78 2000-09-21 Akim Demaille <akim@epita.fr>
80 * src/atgeneral.m4: Update from Autoconf.
82 2000-09-21 Akim Demaille <akim@epita.fr>
84 * src/closure.h: New file.
85 * src/closure.c: Formatting changes, topological sort over the
86 functions, use of closure.h.
87 (initialize_closure, finalize_closure): Rename as...
88 (new_closure, free_closure): these. Adjust dependencies.
89 * src/LR0.c: Formatting changes, topological sort, use of
91 (initialize_states): Rename as...
93 * src/Makefile.am (noinst_HEADERS): Adjust.
95 2000-09-20 Akim Demaille <akim@epita.fr>
97 * src/acconfig.h: Don't protect config.h against multiple
100 * src/system.h: Define PARAMS.
101 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
102 purpose of config.h. system.h must not try to fix wrong
103 definitions in config.h.
105 2000-09-20 Akim Demaille <akim@epita.fr>
107 * src/derives.h: New file.
108 * src/main.c, src/derives.h: Use it.
110 * src/Makefile.am (noinst_HEADERS): Adjust.
112 2000-09-20 Akim Demaille <akim@epita.fr>
114 * tests/atgeneral.m4: Update from Autoconf.
115 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
116 (AT_CHECK_CALC): New macros.
117 Use these macros to test bison with options `', `--raw',
118 `--debug', `--yacc', `--yacc --debug'.
120 2000-09-19 Akim Demaille <akim@epita.fr>
122 * src/output.c: Formatting changes.
123 * src/machine.h: Remove, leaving its contents in...
124 * src/system.h: here.
126 Adjust all dependencies on stdio.h and machine.h.
127 * src/getargs.h: New file.
128 Let all `extern' declarations about getargs.c be replaced with
129 inclusion of `getargs.h'.
130 * src/Makefile.am (noinst_HEADERS): Adjust.
132 * tests/calc.m4 (yyin): Be initialized in main, not on the global
134 (yyerror): Returns void, not int.
135 * doc/bison.texinfo: Formatting changes.
137 2000-09-19 Akim Demaille <akim@epita.fr>
139 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
142 2000-09-18 Akim Demaille <akim@epita.fr>
144 * configure.in: Append WARNING_CFLAGS to CFLAGS.
145 * src/Makefile.am (INCLUDES): Don't.
146 Be ready to fetch headers in lib/.
148 2000-09-18 Akim Demaille <akim@epita.fr>
150 * doc/bison.texinfo: Update the copyright.
151 ANSIfy and GNUify the examples.
154 2000-09-18 Akim Demaille <akim@epita.fr>
156 First set of tests: use the `calc' example from the documentation.
158 * src/bison.s1 (yyparse): Condition the code using `yytname' which
159 is defined only when YYDEBUG is.
160 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
161 * src/files.c (tryopen, tryclose): Formatting changes.
162 Move to the top and be static.
163 * src/reader.c (read_signed_integer): Likewise.
164 * tests/calc.m4: New file.
165 * Makefile.am, suite.m4: Adjust.
166 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
168 2000-09-18 Akim Demaille <akim@epita.fr>
170 Add support for an Autotest test suite for Bison.
172 * m4/m4.m4, m4/atconfig.m4: New files.
173 * m4/Makefile.am (EXTRA_DIST): Adjust.
174 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
176 * src/getargs.c: Display a more standard --version message.
177 * src/reader.c (reader): Formatting changes.
178 No longer depend upon VERSION_STRING.
179 * configure.in: No longer use `dnl'.
180 Set up the test suite and the new directory `tests/.
181 (VERSION_STRING): Remove.
183 2000-04-14 Akim Demaille <akim@epita.fr>
185 * src/reader.c (copy_comment2): New function, same as former
186 `copy_comment', but outputs into two FILE *.
187 (copy_comment): Use it.
188 (parse_union_decl): Use it.
189 (get_type, parse_start_decl): Use the same `invalid' message.
190 (parse_start_decl, parse_union_decl): Use the same `multiple'
192 (parse_union_decl, copy_guard, copy_action): Use the same
194 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
196 2000-03-31 Akim Demaille <akim@epita.fr>
198 * src/files.c (tryopen, tryclose): Move to the top.
201 2000-03-31 Akim Demaille <akim@epita.fr>
203 * src/main.c (main): Don't call `done', exit does it.
205 2000-03-31 Akim Demaille <akim@epita.fr>
207 * allocate.c: s/return (foo)/return foo/.
210 * output.c: Likewise.
211 * reader.c: Likewise.
212 * symtab.c: Likewise.
213 * vmsgetargs.c: Likewise.
215 2000-03-31 Akim Demaille <akim@epita.fr>
217 Clean up the error reporting functions.
219 * src/report.c: New file.
220 * src/report.h: Likewise.
221 * src/Makefile.am: Adjust.
222 * m4/error.m4: New file.
223 * m4/Makefile.am: Adjust.
224 * configure.in (jm_PREREQ_ERROR): Call it.
225 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
227 (fatal, fatals): Remove. All callers use complain.c::fatal.
228 (warn, warni, warns, warnss, warnss): Remove. All callers use
229 complain.c::complain.
230 (toomany): Remove, use fatal instead.
231 * src/files.c (done): No argument, use complain_message_count.
232 * src/main.c (main): Register `done' to `atexit'.
234 * src/getargs.c (usage): More `fputs', less `fprintf'.
236 2000-03-28 Akim Demaille <akim@epita.fr>
238 * lib/: New directory.
239 * Makefile.am (SUBDIRS): Adjust.
240 * configure.in: Adjust.
241 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
243 * src/alloca.c: Moved to lib/.
244 * src/getopt.c: Likewise.
245 * src/getopt1.c: Likewise.
246 * src/getopt.h: Likewise.
247 * src/ansi2knr.c: Likewise.
248 * src/ansi2knr.1: Likewise.
249 * src/Makefile.am: Adjust.
250 * lib/Makefile.am: New file.
252 2000-03-28 Akim Demaille <akim@epita.fr>
254 * src/getargs.c (usage): Refresh the help message.
256 2000-03-17 Akim Demaille <akim@epita.fr>
258 * src/getopt1.c: Updated from textutils 2.0e
259 * src/getopt.c: Likewise.
260 * src/getopt.h: Likewise.
262 2000-03-17 Akim Demaille <akim@epita.fr>
264 * src/Makefile.am (bison.simple): Fix the awk program: quote only
265 the file name, not the whole `#line LINE FILE'.
267 2000-03-17 Akim Demaille <akim@epita.fr>
269 On syntax errors, report the token on which we choked.
271 * src/bison.s1 (yyparse): In the label yyerrlab, when
272 YYERROR_VERBOSE, add yychar in msg.
274 2000-03-17 Akim Demaille <akim@epita.fr>
276 * src/reader.c (copy_at): New function.
277 (copy_guard): Use it.
278 (copy_action): Use it.
280 2000-03-17 Akim Demaille <akim@epita.fr>
282 Be kind to translators, save some useless translations.
284 * src/main.c (banner): New function.
285 (fatal_banner): Use it.
286 (warn_banner): Use it.
288 2000-03-17 Akim Demaille <akim@epita.fr>
290 * src/reader.c (copy_definition): Use copy_string and
291 copy_comment. Removed now unused `match', `ended',
293 (copy_comment, copy_string): Moved, to be visible from
296 2000-03-17 Akim Demaille <akim@epita.fr>
298 * src/reader.c (copy_string): Declare `static inline'. No
299 problems with inline, since it is checked by configure.
300 (copy_comment): Likewise.
302 2000-03-17 Akim Demaille <akim@epita.fr>
304 * src/reader.c (packsymbols): Formatting changes.
306 2000-03-17 Akim Demaille <akim@epita.fr>
308 * src/reader.c (copy_comment): New function, factored out from:
309 (copy_action): Use it. Removed now unused `match', `ended',
311 (copy_guard): Likewise.
313 2000-03-17 Akim Demaille <akim@epita.fr>
315 * src/reader.c (copy_string): New function, factored out from:
316 (copy_action): Use it.
317 (copy_guard): Likewise.
319 2000-03-17 Akim Demaille <akim@epita.fr>
321 Change the handling of @s so that they behave exactly like $s.
322 There is now a pseudo variable @$ (readble and writable), location
323 of the lhs of the rule (by default ranging from the location of
324 the first symbol of the rhs, to the location of the last symbol,
325 or, if the rhs is empty, YYLLOC).
327 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
329 (yyparse): When providing a default semantic action, provide a
330 default location action.
331 (after the $): No longer change `*YYLSP', just stack YYLOC the
332 same way you stack YYVAL.
333 * src/reader.c (read_declarations): Use warns.
334 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
335 (copy_action, case '@'): Likewise.
336 Use a standard error message, to save useless work from
339 2000-03-17 Akim Demaille <akim@epita.fr>
341 * src/bison.s1: Formatting and cosmetics changes.
342 * src/reader.c: Likewise.
343 Update the Copyright notice.
345 2000-03-17 Akim Demaille <akim@epita.fr>
347 * src/bison.s1 (#line): All set to `#line' only, since the
348 Makefile now handles them.
350 2000-03-16 Akim Demaille <akim@epita.fr>
352 * src/output.c (output_rule_data): Output the documentation of
354 (Copyright notice): Update.
357 2000-03-16 Akim Demaille <akim@epita.fr>
359 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
360 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
361 One `#if YYDEBUG' remains, since it uses variables which are
362 defined only if `YYDEBUG != 0'.
364 2000-03-16 Akim Demaille <akim@epita.fr>
366 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
367 and related variables so that the similarities are highlighted.
369 2000-03-16 Akim Demaille <akim@epita.fr>
371 * src/bison.s1: Properly indent CPP directives.
373 2000-03-16 Akim Demaille <akim@epita.fr>
375 * src/bison.s1: Properly indent the `alloca' CPP section.
377 2000-03-16 Akim Demaille <akim@epita.fr>
379 Do not hard code values of directories in `configure.in'.
380 Update the `configure' tool chain.
382 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
384 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
385 (AC_OUTPUT): Add m4/Makefile.
386 Bump to bison 1.28a, 1.29 has never been released.
387 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
388 handled via src/Makefile.am.
389 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
390 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
392 * Makefile.am (SUBDIRS): Add m4.
393 (ACLOCAL_AM_FLAGS): New variable.
394 (AUTOMAKE_OPTIONS): Add check-news.
395 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
396 the proper line number and file name.
397 (DEFS): Propagate the location of bison library files and of the
399 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
401 * acinclude.m4: Remove, replaced by the directory m4.
402 * m4/Makefile.am (EXTRA_DIST): New variable.
403 * m4/gettext.m4: New file, from the fileutils.
404 * m4/lcmessage.m4: Likewise
405 * m4/progtest.m4: Likewise.
406 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
408 2000-03-10 Akim Demaille <akim@epita.fr>
411 Formatting changes of various comments.
412 Respect the GNU coding standards at various places.
413 Don't use `_()' when no translation is needed.
415 1999-12-13 Jesse Thilo <jthilo@gnu.org>
418 OS/2 honors TMPDIR environment variable.
420 1999-12-13 Jesse Thilo <jthilo@gnu.org>
422 * doc/bison.texinfo: Tweaked spelling and grammar.
424 Removed reference to price of printed copy.
425 Mention BISON_SIMPLE and BISON_HAIRY.
427 1999-12-13 Jesse Thilo <jthilo@gnu.org>
429 * configure.in, NEWS:
432 1999-10-27 Jesse Thilo <jthilo@gnu.org>
434 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
435 Added reference card.
437 1999-07-26 Jesse Thilo <jthilo@gnu.org>
439 * po/ru.po: Added Russian translation.
441 1999-07-26 Jesse Thilo <jthilo@gnu.org>
443 * configure.in: Added Russian translation.
445 1999-07-06 Jesse Thilo <jthilo@gnu.org>
447 * configure.in, NEWS, README:
448 Released version 1.28.
450 1999-06-14 Jesse Thilo <jthilo@gnu.org>
453 Squashed redefinition warning on some systems.
455 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
456 Have configure build version string instead of relying on ANSI string
459 1999-06-14 Jesse Thilo <jthilo@gnu.org>
461 * po/POTFILES.in: Got rid of version.c.
463 1999-06-14 Jesse Thilo <jthilo@gnu.org>
465 * acconfig.h, configure.in:
466 Have configure build version string instead of relying on ANSI string
469 1999-06-08 Jesse Thilo <jthilo@gnu.org>
472 Dropped mention of `+' for long-named options.
474 1999-05-30 Jesse Thilo <jthilo@gnu.org>
476 * src/files.c: Added <unistd.h> for unlink().
478 * src/Makefile.am, src/system.h:
481 1999-05-30 Jesse Thilo <jthilo@gnu.org>
483 * README: Added a FAQ list.
485 * configure.in, acconfig.h:
488 1999-05-30 Jesse Thilo <jthilo@gnu.org>
490 * doc/FAQ, doc/Makefile.am:
493 1999-05-19 Jesse Thilo <jthilo@gnu.org>
495 * src/alloc.h, src/symtab.h, src/version.c:
496 Protected inclusion of "config.h" with HAVE_CONFIG_H.
498 1999-04-18 Jesse Thilo <jthilo@gnu.org>
500 * src/.cvsignore, src/Makefile.am:
501 Reorganized: sources in `src', documentation in `doc'.
503 * src/lex.c (literalchar):
504 fixed the code for escaping double quotes (thanks
507 1999-04-18 Jesse Thilo <jthilo@gnu.org>
509 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
510 Adjusted paths to reflect directory reorganization.
512 1999-04-18 Jesse Thilo <jthilo@gnu.org>
514 * doc/.cvsignore, doc/Makefile.am:
515 Reorganized: sources in `src', documentation in `doc'.
517 1999-04-18 Jesse Thilo <jthilo@gnu.org>
520 Updated AC_INIT file to reflect directory reorganization.
522 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
523 Reorganized: sources in `src', documentation in `doc'.
525 1999-04-13 Jesse Thilo <jthilo@gnu.org>
528 Don't declare calloc() and realloc() if not necessary.
530 1999-04-13 Jesse Thilo <jthilo@gnu.org>
532 * configure.in, acconfig.h, acinclude.m4:
533 Don't declare calloc() and realloc() if not necessary.
535 1999-03-23 Jesse Thilo <jthilo@gnu.org>
537 * po/.cvsignore: Added i18n support.
539 1999-03-23 Jesse Thilo <jthilo@gnu.org>
541 * acconfig.h, configure.in, Makefile.am:
544 1999-03-22 Jesse Thilo <jthilo@gnu.org>
546 * src/bison.s1: Fixed #line numbers.
548 1999-03-15 Jesse Thilo <jthilo@gnu.org>
550 * po/es.po, po/fr.po, po/nl.po, po/de.po:
551 Added PO files from Translation Project.
553 1999-03-03 Jesse Thilo <jthilo@gnu.org>
556 Added support for non-ANSI compilers (ansi2knr).
558 1999-02-16 Jesse Thilo <jthilo@gnu.org>
560 * configure.in: Bumped version number to 1.27.
563 Added `bison.simple' to list of files removed by `make distclean'.
565 1999-02-12 Jesse Thilo <jthilo@gnu.org>
567 * src/files.c, src/files.h:
568 Defined locations of parser files in config.h instead of Makefile.
570 1999-02-12 Jesse Thilo <jthilo@gnu.org>
572 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
573 Defined locations of parser files in config.h instead of Makefile.
575 1999-02-09 Jesse Thilo <jthilo@gnu.org>
578 Removed inappropriate use of $< macro.
580 1999-02-05 Jesse Thilo <jthilo@gnu.org>
582 * po/Makefile.in.in, po/POTFILES.in:
583 Add `po' directory skeleton.
585 1999-01-27 Jesse Thilo <jthilo@gnu.org>
587 * README: Document help-bison list.
589 * configure.in: Add check for mkstemp().
591 1999-01-20 Jesse Thilo <jthilo@gnu.org>
593 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
594 Hush a few compiler warnings.
597 Add tryclose(), which verifies that fclose was successful.
598 Hush a couple of compiler warnings.
600 1999-01-20 Jesse Thilo <jthilo@gnu.org>
602 * Makefile.am, OChangeLog:
603 ChangeLog is now automatically generated. Include the old version as
606 1999-01-14 Jesse Thilo <jthilo@gnu.org>
608 * 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:
611 1999-01-14 Jesse Thilo <jthilo@gnu.org>
613 * doc/bison.texinfo: Fix formatting glitch.
615 * doc/bison.texinfo: Update FSF address.
617 1999-01-14 Jesse Thilo <jthilo@gnu.org>
619 * acconfig.h: Update FSF address.
621 1999-01-08 Jesse Thilo <jthilo@gnu.org>
624 Don't define PACKAGE here, since config.h defines it.
626 1998-12-30 Jesse Thilo <jthilo@gnu.org>
628 * src/reader.c: Update copyright date.
631 Ditch sprintf to statically-sized buffers in fatal/warn functions in
632 favor of output directly to stderr (avoids buffer overruns).
634 * src/reader.c: Some checks for premature EOF.
636 * 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:
637 Use prototypes if the compiler understands them.
639 * src/files.c: Honor TMPDIR on Unix hosts.
640 Use prototypes if the compiler understands them.
643 Fix a couple of buffer overrun bugs.
644 Use prototypes if the compiler understands them.
646 * src/system.h: Include unistd.h and ctype.h.
647 Use #ifdef instead of #if for NLS symbols.
649 1998-12-30 Jesse Thilo <jthilo@gnu.org>
652 Delete comment "consider using @set for edition number, etc..." since
655 1998-12-30 Jesse Thilo <jthilo@gnu.org>
658 Use prototypes if the compiler understands them.
660 * NEWS: Document 1.26 highlights.
662 * Makefile.am: Require Automake 1.3 or later.
665 Use prototypes if the compiler understands them.
667 1998-12-29 Jesse Thilo <jthilo@gnu.org>
670 Use VERSION symbol from automake for version number.
672 1998-12-29 Jesse Thilo <jthilo@gnu.org>
674 * acconfig.h, configure.in, version.cin:
675 Use VERSION symbol from automake for version number.
677 1998-11-28 Jesse Thilo <jthilo@gnu.org>
680 Distribute original version of simple parser (bison.s1), not built
681 version (bison.simple).
683 1998-11-28 Jesse Thilo <jthilo@gnu.org>
685 * doc/bison.texinfo: Add info dir entry.
688 Let automake put version number into documentation.
690 1998-11-26 Jesse Thilo <jthilo@gnu.org>
692 * src/bison.cld, src/build.com, src/vmshlp.mar:
693 Add non-RCS files from /gd/gnu/bison.
695 1998-11-26 Jesse Thilo <jthilo@gnu.org>
698 Document the BISON_HAIRY and BISON_SIMPLE variables.
700 1998-11-25 Jesse Thilo <jthilo@gnu.org>
702 * src/version.c: Build version.c automatically.
705 Fix token numbering (used to start at 258, not 257).
707 * src/system.h: Include config.h.
709 * src/getargs.c: Update bug report address.
711 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
712 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
714 1998-11-25 Jesse Thilo <jthilo@gnu.org>
717 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
719 * configure.in, version.cin:
720 Build version.c automatically.
722 * AUTHORS: Add AUTHORS file.
724 * README: Update bug report address.
727 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
729 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
732 1998-11-25 Jesse Thilo <jthilo@gnu.org>
734 * doc/bison.texinfo: Clean up some formatting.
736 1998-05-05 Richard Stallman <rms@gnu.org>
739 Explain better why to make a pure parser.
741 1998-01-05 Richard Stallman <rms@gnu.org>
743 * src/files.c (openfiles):
744 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
745 find a temporary directory, if possible. Do not unlink files while
748 1997-08-25 Richard Stallman <rms@gnu.org>
750 * src/reader.c (stack_offset;):
751 Change some warni to warns.
753 * src/lex.c (literalchar): Use warns, not warni.
755 1997-06-28 Richard Stallman <rms@gnu.org>
757 * src/bison.s1: Add a Bison version comment.
759 * src/main.c (fatal, warn, berror):
762 1997-06-28 Richard Stallman <rms@gnu.org>
764 * Makefile.in (bison_version): New variable.
765 (dist): Use that variable.
766 (bison.s1): Substitute the Bison version into bison.simple.
768 * bison.simple: Add a Bison version comment.
770 1997-06-18 Richard Stallman <rms@gnu.org>
772 * src/main.c (fatal, warn, berror):
773 Make error messages standard.
774 (toomany): Improve error message text.
776 * 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:
777 new.h renamed to alloc.h.
779 1997-06-18 Richard Stallman <rms@gnu.org>
781 * Makefile.in: new.h renamed to alloc.h.
783 1997-05-24 Richard Stallman <rms@gnu.org>
785 * src/lex.c (literalchar):
786 Fix the code for escaping \, " and '.
788 (lex): Avoid trouble when there are many chars
789 to discard in a char literal with just several chars in it.
791 1997-05-17 Richard Stallman <rms@gnu.org>
794 Use malloc, if using alloca is troublesome.
795 (YYSTACK_USE_ALLOCA): New flag macro.
796 Define it for some systems and compilers.
797 (YYSTACK_ALLOC): New macro.
798 (yyparse): Use YYSTACK_ALLOC to allocate stack.
799 If it was malloc'd, free it.
801 1997-05-17 Richard Stallman <rms@gnu.org>
804 Use malloc, if using alloca is troublesome.
805 (YYSTACK_USE_ALLOCA): New flag macro.
806 Define it for some systems and compilers.
807 (YYSTACK_ALLOC): New macro.
808 (yyparse): Use YYSTACK_ALLOC to allocate stack.
809 If it was malloc'd, free it.
811 1997-04-23 Richard Stallman <rms@gnu.org>
814 (alloca) [__hpux]: Always define as __builtin_alloca.
816 1997-04-23 Richard Stallman <rms@gnu.org>
819 (alloca) [__hpux]: Always define as __builtin_alloca.
821 1997-04-22 Richard Stallman <rms@gnu.org>
824 [__hpux]: Include alloca.h (right for HPUX 10)
825 instead of declaring alloca (right for HPUX 9).
827 * src/bison.s1 (__yy_memcpy):
828 Declare arg `count' as unsigned int.
829 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
831 1997-04-22 Richard Stallman <rms@gnu.org>
834 [__hpux]: Include alloca.h (right for HPUX 10)
835 instead of declaring alloca (right for HPUX 9).
837 * bison.simple (__yy_memcpy):
838 Declare arg `count' as unsigned int.
839 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
841 1997-01-03 Richard Stallman <rms@gnu.org>
843 * src/allocate.c: [__STDC__ or _MSC_VER]:
844 Declare calloc and realloc to return void *.
846 1997-01-02 Richard Stallman <rms@gnu.org>
849 [_MSC_VER]: Include stdlib.h and process.h.
850 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
852 * src/main.c (main): Return FAILURE as a value.
853 (printable_version): Declare arg as int, not char.
855 1997-01-02 Richard Stallman <rms@gnu.org>
857 * Makefile.in (dist):
858 Explicitly check for symlinks, and copy them.
860 1996-12-19 Richard Stallman <rms@gnu.org>
863 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
865 1996-12-18 Paul Eggert <eggert@gnu.org>
867 * src/bison.s1 (yyparse):
868 If __GNUC__ and YYPARSE_PARAM are both defined,
869 declare yyparse to have a void * argument.
871 1996-12-18 Paul Eggert <eggert@gnu.org>
873 * bison.simple (yyparse):
874 If __GNUC__ and YYPARSE_PARAM are both defined,
875 declare yyparse to have a void * argument.
877 1996-12-17 Richard Stallman <rms@gnu.org>
879 * src/reduce.c (nbits): Add some casts.
881 1996-08-12 Richard Stallman <rms@gnu.org>
883 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
885 1996-08-12 Richard Stallman <rms@gnu.org>
887 * bison.simple: Test _MSDOS as well as _MSDOS_.
889 1996-07-31 Richard Stallman <rms@gnu.org>
892 [__sun && __i386]: Include alloca.h.
894 1996-07-31 Richard Stallman <rms@gnu.org>
897 [__sun && __i386]: Include alloca.h.
899 1996-07-30 Richard Stallman <rms@gnu.org>
901 * src/bison.s1: Comment change.
903 * src/bison.s1: Test _MSDOS_, not MSDOS.
905 1996-07-30 Richard Stallman <rms@gnu.org>
907 * bison.simple: Comment change.
909 * bison.simple: Test _MSDOS_, not MSDOS.
911 1996-06-01 Richard Stallman <rms@gnu.org>
913 * 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:
914 Insert `_' macro around many string constants.
917 Insert `_' macro around many string constants.
919 (main): Call setlocale, bindtextdomain and textdomain.
921 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
922 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
923 [ENABLE_NLS]: Include libintl.h.
924 [ENABLE_NLS] (gettext): Define.
925 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
926 (N_, PACKAGE, LOCALEDIR): New macros.
928 1996-06-01 Richard Stallman <rms@gnu.org>
930 * POTFILES.in: New file.
932 * Makefile.in (allocate.o):
933 Define target explicitly.
935 * Makefile.in (CFLAGS): Set to @CFLAGS@.
936 (LDFLAGS): Set to @LDFLAGS@.
937 (configure): Run autoconf only if preceding `cd' succeeds.
938 (bison.s1): Redirect output to temporary file then move the
939 temporary to the target, rather than redirecting directly to bison.s1.
940 (clean): Remove config.status and config.log.
941 (distclean): Don't remove config.status here.
943 1996-05-12 Richard Stallman <rms@gnu.org>
946 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
948 1996-05-12 Richard Stallman <rms@gnu.org>
951 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
953 1996-05-11 Richard Stallman <rms@gnu.org>
955 * src/bison.s1 (__yy_memcpy):
956 Really reorder the args, as was supposedly done on Feb 14 1995.
957 (yyparse): Calls changed accordingly.
959 1996-05-11 Richard Stallman <rms@gnu.org>
961 * Makefile.in (dist): Don't use $(srcdir).
963 * bison.simple (__yy_memcpy):
964 Really reorder the args, as was supposedly done on Feb 14 1995.
965 (yyparse): Calls changed accordingly.
967 1996-01-27 Richard Stallman <rms@gnu.org>
969 * src/output.c (output_rule_data):
970 Test YYERROR_VERBOSE in the conditional
971 around the definition of ttyname.
973 1995-12-29 Richard Stallman <rms@gnu.org>
976 Fix line numbers in #line commands.
978 1995-12-29 Richard Stallman <rms@gnu.org>
981 Fix line numbers in #line commands.
983 1995-12-27 Richard Stallman <rms@gnu.org>
985 * src/bison.s1 (YYPARSE_PARAM_DECL):
986 In C++, make it always null.
987 (YYPARSE_PARAM_ARG): New macro.
988 (yyparse): Use YYPARSE_PARAM_ARG.
990 1995-12-27 Richard Stallman <rms@gnu.org>
992 * bison.simple (YYPARSE_PARAM_DECL):
993 In C++, make it always null.
994 (YYPARSE_PARAM_ARG): New macro.
995 (yyparse): Use YYPARSE_PARAM_ARG.
997 1995-11-29 Richard Stallman <rms@gnu.org>
1000 Describe literal string tokens, %raw, %no_lines, %token_table.
1002 1995-11-29 Daniel Hagerty <hag@gnu.org>
1004 * doc/bison.texinfo: Fixed update date
1006 1995-10-16 Richard Stallman <rms@gnu.org>
1008 * src/version.c: Version 1.25.
1010 1995-10-16 Richard Stallman <rms@gnu.org>
1012 * NEWS: *** empty log message ***
1014 1995-10-16 Richard Stallman <rms@gnu.org>
1016 * doc/bison.1, doc/bison.rnh:
1019 1995-10-15 Richard Stallman <rms@gnu.org>
1021 * src/vmsgetargs.c, src/getargs.c:
1022 Added -n, -k, and -raw switches.
1023 (noparserflag, toknumflag, rawtoknumflag): New variables.
1025 * src/symtab.h (SALIAS):
1026 New #define for adding aliases to %token.
1027 (struct bucket): Added `alias' field.
1029 * src/reduce.c (reduce_grammar):
1030 Revise error message.
1031 (print_notices): Remove final `.' from error message.
1033 * src/reader.c (reader_output_yylsp):
1035 (readgram): Use `#if 0' around code that accepted %command
1036 inside grammar rules: The documentation doesn't allow it,
1037 and it will fail since the %command processors scan for the next %.
1038 (parse_token_decl): Extended the %token
1039 declaration to allow a multi-character symbol as an alias.
1040 (parse_thong_decl): New function.
1041 (read_declarations): Added %thong declarations.
1042 (read_declarations): Handle NOOP to deal with allowing
1043 % declarations as another means to specify the flags.
1044 (readgram): Allow %prec prior to semantics embedded in a rule.
1045 (skip_to_char, read_declarations, copy_definition)
1046 (parse_token_decl, parse_start_decl, parse_type_decl)
1047 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1048 (get_type_name, copy_guard, copy_action, readgram)
1049 (get_type, packsymbols): Revised most error messages.
1050 Changed `fatal' to `warnxxx' to avoid aborting for error.
1051 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1052 (read_declarations): Improve the error message for
1053 an invalid character. Do not abort.
1054 (read_declarations, copy_guard, copy_action): Use
1055 printable_version to avoid unprintable characters in printed output.
1056 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1057 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1058 Allow the type of a non-terminal can be given
1059 more than once, as long as all specifications give the same type.
1062 (output_headers, output_trailers, output, output_gram)
1063 (output_rule_data): Implement noparserflag variable.
1064 Implement toknumflag variable.
1065 (output): Call reader_output_yylsp to output LTYPESTR.
1067 * src/main.c (main):
1068 If reader sees an error, don't process the grammar.
1069 (fatals): Updated to not use VARARGS1.
1070 (printable_version, int_to_string, warn, warni, warns, warnss)
1071 (warnsss): New error reporting functions. Avoid abort for error.
1074 Added THONG and NOOP for alias processing.
1075 Added SETOPT for the new code that allows setting options with %flags.
1078 Include getopt.h. Add some extern decls.
1079 (safegetc): New function to deal with EOF gracefully.
1080 (literalchar); new function to deal with reading \ escapes.
1081 (lex): Use literalchar.
1082 (lex): Implemented "..." tokens.
1083 (literalchar, lex, parse_percent_token): Made tokenbuffer
1084 always contain the token. This includes growing the token
1085 buffer while reading an integer.
1086 (parse_percent_token): Replaced if-else statement with percent_table.
1087 (parse_percent_token): Added % declarations as another
1088 way to specify the flags -n, -l, and -r. Also added hooks for
1089 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1090 major changes to files.c.
1091 (lex) Retain in the incoming stream a character following
1093 (skip_white_space, lex): Revised most error messages
1094 and changed fatal to warn to avoid aborting.
1095 (percent_table): Added %thong declarations.
1097 * src/gram.h: Comment changes.
1099 * src/files.c (openfiles, open_extra_files, done):
1101 and actfile file. Handle noparserflag. Both for -n switch.
1103 * src/conflicts.c (resolve_sr_conflict):
1104 Remove use of alloca.
1106 1995-06-01 Jim Meyering <meyering@gnu.org>
1108 * doc/bison.texinfo: *** empty log message ***
1110 1995-05-06 Richard Stallman <rms@gnu.org>
1112 * src/bison.s1: Comment change.
1114 1995-05-06 Richard Stallman <rms@gnu.org>
1116 * bison.simple: Comment change.
1118 1995-05-03 Richard Stallman <rms@gnu.org>
1120 * src/version.c: Version now 1.24.
1122 * src/bison.s1: Change distribution terms.
1124 * src/version.c: Version now 1.23.
1126 1995-05-03 Richard Stallman <rms@gnu.org>
1128 * doc/bison.texinfo:
1129 Rewrite "Conditions for Using Bison".
1130 Update version to 1.24.
1132 1995-05-03 Richard Stallman <rms@gnu.org>
1134 * bison.simple: Change distribution terms.
1136 1995-02-23 Richard Stallman <rms@gnu.org>
1138 * src/files.c: Test __VMS_POSIX as well as VMS.
1140 1995-02-14 Jim Meyering <meyering@gnu.org>
1142 * src/bison.s1 (__yy_memcpy):
1143 Renamed from __yy_bcopy to avoid
1144 confusion. Reverse FROM and TO arguments to be consistent with
1147 1995-02-14 Jim Meyering <meyering@gnu.org>
1149 * bison.simple (__yy_memcpy):
1150 Renamed from __yy_bcopy to avoid
1151 confusion. Reverse FROM and TO arguments to be consistent with
1154 1994-11-10 David J. MacKenzie <djm@gnu.org>
1160 * Makefile.in (DISTFILES): Include NEWS.
1162 * Makefile.in (DISTFILES):
1163 Include install-sh, not install.sh.
1165 * configure.in: Update to Autoconf v2 macro names.
1167 1994-10-05 David J. MacKenzie <djm@gnu.org>
1169 * Makefile.in: fix typo
1171 * Makefile.in (prefix, exec_prefix):
1172 Let configure set them.
1174 1994-09-28 David J. MacKenzie <djm@gnu.org>
1176 * Makefile.in: Set datadir to $(prefix)/share.
1178 1994-09-15 Richard Stallman <rms@gnu.org>
1181 Update copyright notice and GPL version.
1183 1994-09-15 Richard Stallman <rms@gnu.org>
1186 Update copyright notice and GPL version.
1188 1994-07-12 Richard Stallman <rms@gnu.org>
1190 * src/reduce.c, src/reader.c:
1193 1994-05-05 David J. MacKenzie <djm@gnu.org>
1195 * Makefile.in: entered into RCS
1197 1994-03-26 Richard Stallman <rms@gnu.org>
1199 * src/bison.s1: entered into RCS
1201 1994-03-26 Richard Stallman <rms@gnu.org>
1203 * bison.simple: entered into RCS
1205 1994-03-25 Richard Stallman <rms@gnu.org>
1207 * src/main.c: entered into RCS
1209 1994-03-24 Richard Stallman <rms@gnu.org>
1211 * src/conflicts.c: entered into RCS
1213 1994-01-02 Richard Stallman <rms@gnu.org>
1215 * Makefile.in: *** empty log message ***
1217 1993-11-21 Richard Stallman <rms@gnu.org>
1219 * src/bison.s1: *** empty log message ***
1221 1993-11-21 Richard Stallman <rms@gnu.org>
1223 * doc/bison.texinfo: entered into RCS
1225 * doc/bison.texinfo: *** empty log message ***
1227 1993-11-21 Richard Stallman <rms@gnu.org>
1229 * bison.simple: *** empty log message ***
1231 1993-10-25 David J. MacKenzie <djm@gnu.org>
1233 * doc/bison.texinfo: *** empty log message ***
1235 1993-10-19 Richard Stallman <rms@gnu.org>
1237 * src/bison.s1: *** empty log message ***
1239 1993-10-19 Richard Stallman <rms@gnu.org>
1241 * bison.simple: *** empty log message ***
1243 1993-10-14 Richard Stallman <rms@gnu.org>
1245 * src/bison.s1: *** empty log message ***
1247 1993-10-14 Richard Stallman <rms@gnu.org>
1249 * bison.simple: *** empty log message ***
1251 1993-09-14 David J. MacKenzie <djm@gnu.org>
1253 * doc/bison.texinfo: *** empty log message ***
1255 1993-09-13 Noah Friedman <friedman@gnu.org>
1257 * Makefile.in: *** empty log message ***
1259 1993-09-10 Richard Stallman <rms@gnu.org>
1261 * src/conflicts.c: *** empty log message ***
1263 * src/system.h: entered into RCS
1265 1993-09-10 Richard Stallman <rms@gnu.org>
1267 * doc/bison.1: entered into RCS
1269 1993-09-06 Noah Friedman <friedman@gnu.org>
1271 * src/version.c: entered into RCS
1273 1993-09-06 Noah Friedman <friedman@gnu.org>
1275 * Makefile.in: *** empty log message ***
1277 1993-07-30 David J. MacKenzie <djm@gnu.org>
1279 * Makefile.in: *** empty log message ***
1281 1993-07-24 Richard Stallman <rms@gnu.org>
1283 * src/bison.s1: *** empty log message ***
1285 1993-07-24 Richard Stallman <rms@gnu.org>
1287 * bison.simple: *** empty log message ***
1289 1993-07-08 David J. MacKenzie <djm@gnu.org>
1291 * Makefile.in: *** empty log message ***
1293 1993-07-04 Richard Stallman <rms@gnu.org>
1295 * src/bison.s1: *** empty log message ***
1297 1993-07-04 Richard Stallman <rms@gnu.org>
1299 * bison.simple: *** empty log message ***
1301 1993-06-26 David J. MacKenzie <djm@gnu.org>
1303 * src/getargs.c: entered into RCS
1305 1993-06-26 David J. MacKenzie <djm@gnu.org>
1307 * doc/bison.texinfo: *** empty log message ***
1309 * doc/bison.1: New file.
1311 1993-06-25 Richard Stallman <rms@gnu.org>
1313 * src/getargs.c: New file.
1315 1993-06-16 Richard Stallman <rms@gnu.org>
1317 * src/bison.s1: *** empty log message ***
1319 1993-06-16 Richard Stallman <rms@gnu.org>
1321 * bison.simple: *** empty log message ***
1323 1993-06-03 Richard Stallman <rms@gnu.org>
1325 * src/bison.s1: New file.
1327 1993-06-03 Richard Stallman <rms@gnu.org>
1329 * doc/bison.texinfo: *** empty log message ***
1331 1993-06-03 Richard Stallman <rms@gnu.org>
1333 * bison.simple: New file.
1335 1993-05-19 Richard Stallman <rms@gnu.org>
1337 * doc/bison.texinfo: New file.
1339 1993-05-07 Noah Friedman <friedman@gnu.org>
1341 * Makefile.in: *** empty log message ***
1343 1993-04-28 Noah Friedman <friedman@gnu.org>
1345 * src/reader.c: *** empty log message ***
1347 1993-04-23 Noah Friedman <friedman@gnu.org>
1349 * src/alloc.h: entered into RCS
1351 1993-04-20 David J. MacKenzie <djm@gnu.org>
1353 * src/version.c: *** empty log message ***
1355 * src/files.c, src/allocate.c:
1358 * src/reader.c: *** empty log message ***
1360 * src/lex.c: entered into RCS
1362 * src/conflicts.c: New file.
1364 * src/symtab.c: entered into RCS
1366 * src/alloc.h: New file.
1368 * src/LR0.c: entered into RCS
1370 1993-04-18 Noah Friedman <friedman@gnu.org>
1372 * src/reader.c: New file.
1374 * src/version.c: *** empty log message ***
1376 1993-04-18 Noah Friedman <friedman@gnu.org>
1378 * Makefile.in: *** empty log message ***
1380 1993-04-17 Noah Friedman <friedman@gnu.org>
1382 * Makefile.in: *** empty log message ***
1384 1993-04-15 Richard Stallman <rms@gnu.org>
1386 * src/main.c, src/files.c:
1389 1993-04-15 Noah Friedman <friedman@gnu.org>
1391 * configure.in: entered into RCS
1393 * configure.in: *** empty log message ***
1395 * configure.in: New file.
1397 1993-04-14 Richard Stallman <rms@gnu.org>
1399 * Makefile.in: New file.
1401 1993-04-13 Richard Stallman <rms@gnu.org>
1403 * src/version.c: New file.
1405 1993-03-25 Richard Stallman <rms@gnu.org>
1407 * src/output.c: entered into RCS
1409 1992-09-25 Richard Stallman <rms@gnu.org>
1411 * configure.bat: entered into RCS
1413 1992-06-22 Richard Stallman <rms@gnu.org>
1415 * src/vmsgetargs.c: entered into RCS
1417 1992-06-22 Richard Stallman <rms@gnu.org>
1419 * doc/bison.rnh: entered into RCS
1421 1992-04-20 David J. MacKenzie <djm@gnu.org>
1423 * README: entered into RCS
1425 1992-01-22 Richard Stallman <rms@gnu.org>
1427 * src/machine.h: entered into RCS
1429 1991-12-21 Richard Stallman <rms@gnu.org>
1431 * src/lalr.c, src/closure.c:
1434 1991-12-20 Richard Stallman <rms@gnu.org>
1436 * src/state.h: entered into RCS
1438 1991-12-18 Richard Stallman <rms@gnu.org>
1440 * src/print.c, src/nullable.c, src/derives.c:
1443 1991-11-03 David J. MacKenzie <djm@gnu.org>
1445 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1448 1988-09-09 Richard Stallman <rms@gnu.org>
1450 * src/bison.hairy: entered into RCS
1452 1987-12-16 Richard Stallman <rms@gnu.org>
1454 * REFERENCES: entered into RCS