1 2000-09-21 Akim Demaille <akim@epita.fr>
3 * src/atgeneral.m4: Update from Autoconf.
5 2000-09-21 Akim Demaille <akim@epita.fr>
7 * src/closure.h: New file.
8 * src/closure.c: Formatting changes, topological sort over the
9 functions, use of closure.h.
10 (initialize_closure, finalize_closure): Rename as...
11 (new_closure, free_closure): these. Adjust dependencies.
12 * src/LR0.c: Formatting changes, topological sort, use of
14 (initialize_states): Rename as...
16 * src/Makefile.am (noinst_HEADERS): Adjust.
18 2000-09-20 Akim Demaille <akim@epita.fr>
20 * src/acconfig.h: Don't protect config.h against multiple
23 * src/system.h: Define PARAMS.
24 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
25 purpose of config.h. system.h must not try to fix wrong
26 definitions in config.h.
28 2000-09-20 Akim Demaille <akim@epita.fr>
30 * src/derives.h: New file.
31 * src/main.c, src/derives.h: Use it.
33 * src/Makefile.am (noinst_HEADERS): Adjust.
35 2000-09-20 Akim Demaille <akim@epita.fr>
37 * tests/atgeneral.m4: Update from Autoconf.
38 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
39 (AT_CHECK_CALC): New macros.
40 Use these macros to test bison with options `', `--raw',
41 `--debug', `--yacc', `--yacc --debug'.
43 2000-09-19 Akim Demaille <akim@epita.fr>
45 * src/output.c: Formatting changes.
46 * src/machine.h: Remove, leaving its contents in...
49 Adjust all dependencies on stdio.h and machine.h.
50 * src/getargs.h: New file.
51 Let all `extern' declarations about getargs.c be replaced with
52 inclusion of `getargs.h'.
53 * src/Makefile.am (noinst_HEADERS): Adjust.
55 * tests/calc.m4 (yyin): Be initialized in main, not on the global
57 (yyerror): Returns void, not int.
58 * doc/bison.texinfo: Formatting changes.
60 2000-09-19 Akim Demaille <akim@epita.fr>
62 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
65 2000-09-18 Akim Demaille <akim@epita.fr>
67 * configure.in: Append WARNING_CFLAGS to CFLAGS.
68 * src/Makefile.am (INCLUDES): Don't.
69 Be ready to fetch headers in lib/.
71 2000-09-18 Akim Demaille <akim@epita.fr>
73 * doc/bison.texinfo: Update the copyright.
74 ANSIfy and GNUify the examples.
77 2000-09-18 Akim Demaille <akim@epita.fr>
79 First set of tests: use the `calc' example from the documentation.
81 * src/bison.s1 (yyparse): Condition the code using `yytname' which
82 is defined only when YYDEBUG is.
83 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
84 * src/files.c (tryopen, tryclose): Formatting changes.
85 Move to the top and be static.
86 * src/reader.c (read_signed_integer): Likewise.
87 * tests/calc.m4: New file.
88 * Makefile.am, suite.m4: Adjust.
89 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
91 2000-09-18 Akim Demaille <akim@epita.fr>
93 Add support for an Autotest test suite for Bison.
95 * m4/m4.m4, m4/atconfig.m4: New files.
96 * m4/Makefile.am (EXTRA_DIST): Adjust.
97 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
99 * src/getargs.c: Display a more standard --version message.
100 * src/reader.c (reader): Formatting changes.
101 No longer depend upon VERSION_STRING.
102 * configure.in: No longer use `dnl'.
103 Set up the test suite and the new directory `tests/.
104 (VERSION_STRING): Remove.
106 2000-04-14 Akim Demaille <akim@epita.fr>
108 * src/reader.c (copy_comment2): New function, same as former
109 `copy_comment', but outputs into two FILE *.
110 (copy_comment): Use it.
111 (parse_union_decl): Use it.
112 (get_type, parse_start_decl): Use the same `invalid' message.
113 (parse_start_decl, parse_union_decl): Use the same `multiple'
115 (parse_union_decl, copy_guard, copy_action): Use the same
117 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
119 2000-03-31 Akim Demaille <akim@epita.fr>
121 * src/files.c (tryopen, tryclose): Move to the top.
124 2000-03-31 Akim Demaille <akim@epita.fr>
126 * src/main.c (main): Don't call `done', exit does it.
128 2000-03-31 Akim Demaille <akim@epita.fr>
130 * allocate.c: s/return (foo)/return foo/.
133 * output.c: Likewise.
134 * reader.c: Likewise.
135 * symtab.c: Likewise.
136 * vmsgetargs.c: Likewise.
138 2000-03-31 Akim Demaille <akim@epita.fr>
140 Clean up the error reporting functions.
142 * src/report.c: New file.
143 * src/report.h: Likewise.
144 * src/Makefile.am: Adjust.
145 * m4/error.m4: New file.
146 * m4/Makefile.am: Adjust.
147 * configure.in (jm_PREREQ_ERROR): Call it.
148 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
150 (fatal, fatals): Remove. All callers use complain.c::fatal.
151 (warn, warni, warns, warnss, warnss): Remove. All callers use
152 complain.c::complain.
153 (toomany): Remove, use fatal instead.
154 * src/files.c (done): No argument, use complain_message_count.
155 * src/main.c (main): Register `done' to `atexit'.
157 * src/getargs.c (usage): More `fputs', less `fprintf'.
159 2000-03-28 Akim Demaille <akim@epita.fr>
161 * lib/: New directory.
162 * Makefile.am (SUBDIRS): Adjust.
163 * configure.in: Adjust.
164 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
166 * src/alloca.c: Moved to lib/.
167 * src/getopt.c: Likewise.
168 * src/getopt1.c: Likewise.
169 * src/getopt.h: Likewise.
170 * src/ansi2knr.c: Likewise.
171 * src/ansi2knr.1: Likewise.
172 * src/Makefile.am: Adjust.
173 * lib/Makefile.am: New file.
175 2000-03-28 Akim Demaille <akim@epita.fr>
177 * src/getargs.c (usage): Refresh the help message.
179 2000-03-17 Akim Demaille <akim@epita.fr>
181 * src/getopt1.c: Updated from textutils 2.0e
182 * src/getopt.c: Likewise.
183 * src/getopt.h: Likewise.
185 2000-03-17 Akim Demaille <akim@epita.fr>
187 * src/Makefile.am (bison.simple): Fix the awk program: quote only
188 the file name, not the whole `#line LINE FILE'.
190 2000-03-17 Akim Demaille <akim@epita.fr>
192 On syntax errors, report the token on which we choked.
194 * src/bison.s1 (yyparse): In the label yyerrlab, when
195 YYERROR_VERBOSE, add yychar in msg.
197 2000-03-17 Akim Demaille <akim@epita.fr>
199 * src/reader.c (copy_at): New function.
200 (copy_guard): Use it.
201 (copy_action): Use it.
203 2000-03-17 Akim Demaille <akim@epita.fr>
205 Be kind to translators, save some useless translations.
207 * src/main.c (banner): New function.
208 (fatal_banner): Use it.
209 (warn_banner): Use it.
211 2000-03-17 Akim Demaille <akim@epita.fr>
213 * src/reader.c (copy_definition): Use copy_string and
214 copy_comment. Removed now unused `match', `ended',
216 (copy_comment, copy_string): Moved, to be visible from
219 2000-03-17 Akim Demaille <akim@epita.fr>
221 * src/reader.c (copy_string): Declare `static inline'. No
222 problems with inline, since it is checked by configure.
223 (copy_comment): Likewise.
225 2000-03-17 Akim Demaille <akim@epita.fr>
227 * src/reader.c (packsymbols): Formatting changes.
229 2000-03-17 Akim Demaille <akim@epita.fr>
231 * src/reader.c (copy_comment): New function, factored out from:
232 (copy_action): Use it. Removed now unused `match', `ended',
234 (copy_guard): Likewise.
236 2000-03-17 Akim Demaille <akim@epita.fr>
238 * src/reader.c (copy_string): New function, factored out from:
239 (copy_action): Use it.
240 (copy_guard): Likewise.
242 2000-03-17 Akim Demaille <akim@epita.fr>
244 Change the handling of @s so that they behave exactly like $s.
245 There is now a pseudo variable @$ (readble and writable), location
246 of the lhs of the rule (by default ranging from the location of
247 the first symbol of the rhs, to the location of the last symbol,
248 or, if the rhs is empty, YYLLOC).
250 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
252 (yyparse): When providing a default semantic action, provide a
253 default location action.
254 (after the $): No longer change `*YYLSP', just stack YYLOC the
255 same way you stack YYVAL.
256 * src/reader.c (read_declarations): Use warns.
257 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
258 (copy_action, case '@'): Likewise.
259 Use a standard error message, to save useless work from
262 2000-03-17 Akim Demaille <akim@epita.fr>
264 * src/bison.s1: Formatting and cosmetics changes.
265 * src/reader.c: Likewise.
266 Update the Copyright notice.
268 2000-03-17 Akim Demaille <akim@epita.fr>
270 * src/bison.s1 (#line): All set to `#line' only, since the
271 Makefile now handles them.
273 2000-03-16 Akim Demaille <akim@epita.fr>
275 * src/output.c (output_rule_data): Output the documentation of
277 (Copyright notice): Update.
280 2000-03-16 Akim Demaille <akim@epita.fr>
282 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
283 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
284 One `#if YYDEBUG' remains, since it uses variables which are
285 defined only if `YYDEBUG != 0'.
287 2000-03-16 Akim Demaille <akim@epita.fr>
289 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
290 and related variables so that the similarities are highlighted.
292 2000-03-16 Akim Demaille <akim@epita.fr>
294 * src/bison.s1: Properly indent CPP directives.
296 2000-03-16 Akim Demaille <akim@epita.fr>
298 * src/bison.s1: Properly indent the `alloca' CPP section.
300 2000-03-16 Akim Demaille <akim@epita.fr>
302 Do not hard code values of directories in `configure.in'.
303 Update the `configure' tool chain.
305 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
307 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
308 (AC_OUTPUT): Add m4/Makefile.
309 Bump to bison 1.28a, 1.29 has never been released.
310 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
311 handled via src/Makefile.am.
312 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
313 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
315 * Makefile.am (SUBDIRS): Add m4.
316 (ACLOCAL_AM_FLAGS): New variable.
317 (AUTOMAKE_OPTIONS): Add check-news.
318 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
319 the proper line number and file name.
320 (DEFS): Propagate the location of bison library files and of the
322 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
324 * acinclude.m4: Remove, replaced by the directory m4.
325 * m4/Makefile.am (EXTRA_DIST): New variable.
326 * m4/gettext.m4: New file, from the fileutils.
327 * m4/lcmessage.m4: Likewise
328 * m4/progtest.m4: Likewise.
329 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
331 2000-03-10 Akim Demaille <akim@epita.fr>
334 Formatting changes of various comments.
335 Respect the GNU coding standards at various places.
336 Don't use `_()' when no translation is needed.
338 1999-12-13 Jesse Thilo <jthilo@gnu.org>
341 OS/2 honors TMPDIR environment variable.
343 1999-12-13 Jesse Thilo <jthilo@gnu.org>
345 * doc/bison.texinfo: Tweaked spelling and grammar.
347 Removed reference to price of printed copy.
348 Mention BISON_SIMPLE and BISON_HAIRY.
350 1999-12-13 Jesse Thilo <jthilo@gnu.org>
352 * configure.in, NEWS:
355 1999-10-27 Jesse Thilo <jthilo@gnu.org>
357 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
358 Added reference card.
360 1999-07-26 Jesse Thilo <jthilo@gnu.org>
362 * po/ru.po: Added Russian translation.
364 1999-07-26 Jesse Thilo <jthilo@gnu.org>
366 * configure.in: Added Russian translation.
368 1999-07-06 Jesse Thilo <jthilo@gnu.org>
370 * configure.in, NEWS, README:
371 Released version 1.28.
373 1999-06-14 Jesse Thilo <jthilo@gnu.org>
376 Squashed redefinition warning on some systems.
378 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
379 Have configure build version string instead of relying on ANSI string
382 1999-06-14 Jesse Thilo <jthilo@gnu.org>
384 * po/POTFILES.in: Got rid of version.c.
386 1999-06-14 Jesse Thilo <jthilo@gnu.org>
388 * acconfig.h, configure.in:
389 Have configure build version string instead of relying on ANSI string
392 1999-06-08 Jesse Thilo <jthilo@gnu.org>
395 Dropped mention of `+' for long-named options.
397 1999-05-30 Jesse Thilo <jthilo@gnu.org>
399 * src/files.c: Added <unistd.h> for unlink().
401 * src/Makefile.am, src/system.h:
404 1999-05-30 Jesse Thilo <jthilo@gnu.org>
406 * README: Added a FAQ list.
408 * configure.in, acconfig.h:
411 1999-05-30 Jesse Thilo <jthilo@gnu.org>
413 * doc/FAQ, doc/Makefile.am:
416 1999-05-19 Jesse Thilo <jthilo@gnu.org>
418 * src/alloc.h, src/symtab.h, src/version.c:
419 Protected inclusion of "config.h" with HAVE_CONFIG_H.
421 1999-04-18 Jesse Thilo <jthilo@gnu.org>
423 * src/.cvsignore, src/Makefile.am:
424 Reorganized: sources in `src', documentation in `doc'.
426 * src/lex.c (literalchar):
427 fixed the code for escaping double quotes (thanks
430 1999-04-18 Jesse Thilo <jthilo@gnu.org>
432 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
433 Adjusted paths to reflect directory reorganization.
435 1999-04-18 Jesse Thilo <jthilo@gnu.org>
437 * doc/.cvsignore, doc/Makefile.am:
438 Reorganized: sources in `src', documentation in `doc'.
440 1999-04-18 Jesse Thilo <jthilo@gnu.org>
443 Updated AC_INIT file to reflect directory reorganization.
445 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
446 Reorganized: sources in `src', documentation in `doc'.
448 1999-04-13 Jesse Thilo <jthilo@gnu.org>
451 Don't declare calloc() and realloc() if not necessary.
453 1999-04-13 Jesse Thilo <jthilo@gnu.org>
455 * configure.in, acconfig.h, acinclude.m4:
456 Don't declare calloc() and realloc() if not necessary.
458 1999-03-23 Jesse Thilo <jthilo@gnu.org>
460 * po/.cvsignore: Added i18n support.
462 1999-03-23 Jesse Thilo <jthilo@gnu.org>
464 * acconfig.h, configure.in, Makefile.am:
467 1999-03-22 Jesse Thilo <jthilo@gnu.org>
469 * src/bison.s1: Fixed #line numbers.
471 1999-03-15 Jesse Thilo <jthilo@gnu.org>
473 * po/es.po, po/fr.po, po/nl.po, po/de.po:
474 Added PO files from Translation Project.
476 1999-03-03 Jesse Thilo <jthilo@gnu.org>
479 Added support for non-ANSI compilers (ansi2knr).
481 1999-02-16 Jesse Thilo <jthilo@gnu.org>
483 * configure.in: Bumped version number to 1.27.
486 Added `bison.simple' to list of files removed by `make distclean'.
488 1999-02-12 Jesse Thilo <jthilo@gnu.org>
490 * src/files.c, src/files.h:
491 Defined locations of parser files in config.h instead of Makefile.
493 1999-02-12 Jesse Thilo <jthilo@gnu.org>
495 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
496 Defined locations of parser files in config.h instead of Makefile.
498 1999-02-09 Jesse Thilo <jthilo@gnu.org>
501 Removed inappropriate use of $< macro.
503 1999-02-05 Jesse Thilo <jthilo@gnu.org>
505 * po/Makefile.in.in, po/POTFILES.in:
506 Add `po' directory skeleton.
508 1999-01-27 Jesse Thilo <jthilo@gnu.org>
510 * README: Document help-bison list.
512 * configure.in: Add check for mkstemp().
514 1999-01-20 Jesse Thilo <jthilo@gnu.org>
516 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
517 Hush a few compiler warnings.
520 Add tryclose(), which verifies that fclose was successful.
521 Hush a couple of compiler warnings.
523 1999-01-20 Jesse Thilo <jthilo@gnu.org>
525 * Makefile.am, OChangeLog:
526 ChangeLog is now automatically generated. Include the old version as
529 1999-01-14 Jesse Thilo <jthilo@gnu.org>
531 * 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:
534 1999-01-14 Jesse Thilo <jthilo@gnu.org>
536 * doc/bison.texinfo: Fix formatting glitch.
538 * doc/bison.texinfo: Update FSF address.
540 1999-01-14 Jesse Thilo <jthilo@gnu.org>
542 * acconfig.h: Update FSF address.
544 1999-01-08 Jesse Thilo <jthilo@gnu.org>
547 Don't define PACKAGE here, since config.h defines it.
549 1998-12-30 Jesse Thilo <jthilo@gnu.org>
551 * src/reader.c: Update copyright date.
554 Ditch sprintf to statically-sized buffers in fatal/warn functions in
555 favor of output directly to stderr (avoids buffer overruns).
557 * src/reader.c: Some checks for premature EOF.
559 * 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:
560 Use prototypes if the compiler understands them.
562 * src/files.c: Honor TMPDIR on Unix hosts.
563 Use prototypes if the compiler understands them.
566 Fix a couple of buffer overrun bugs.
567 Use prototypes if the compiler understands them.
569 * src/system.h: Include unistd.h and ctype.h.
570 Use #ifdef instead of #if for NLS symbols.
572 1998-12-30 Jesse Thilo <jthilo@gnu.org>
575 Delete comment "consider using @set for edition number, etc..." since
578 1998-12-30 Jesse Thilo <jthilo@gnu.org>
581 Use prototypes if the compiler understands them.
583 * NEWS: Document 1.26 highlights.
585 * Makefile.am: Require Automake 1.3 or later.
588 Use prototypes if the compiler understands them.
590 1998-12-29 Jesse Thilo <jthilo@gnu.org>
593 Use VERSION symbol from automake for version number.
595 1998-12-29 Jesse Thilo <jthilo@gnu.org>
597 * acconfig.h, configure.in, version.cin:
598 Use VERSION symbol from automake for version number.
600 1998-11-28 Jesse Thilo <jthilo@gnu.org>
603 Distribute original version of simple parser (bison.s1), not built
604 version (bison.simple).
606 1998-11-28 Jesse Thilo <jthilo@gnu.org>
608 * doc/bison.texinfo: Add info dir entry.
611 Let automake put version number into documentation.
613 1998-11-26 Jesse Thilo <jthilo@gnu.org>
615 * src/bison.cld, src/build.com, src/vmshlp.mar:
616 Add non-RCS files from /gd/gnu/bison.
618 1998-11-26 Jesse Thilo <jthilo@gnu.org>
621 Document the BISON_HAIRY and BISON_SIMPLE variables.
623 1998-11-25 Jesse Thilo <jthilo@gnu.org>
625 * src/version.c: Build version.c automatically.
628 Fix token numbering (used to start at 258, not 257).
630 * src/system.h: Include config.h.
632 * src/getargs.c: Update bug report address.
634 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
635 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
637 1998-11-25 Jesse Thilo <jthilo@gnu.org>
640 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
642 * configure.in, version.cin:
643 Build version.c automatically.
645 * AUTHORS: Add AUTHORS file.
647 * README: Update bug report address.
650 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
652 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
655 1998-11-25 Jesse Thilo <jthilo@gnu.org>
657 * doc/bison.texinfo: Clean up some formatting.
659 1998-05-05 Richard Stallman <rms@gnu.org>
662 Explain better why to make a pure parser.
664 1998-01-05 Richard Stallman <rms@gnu.org>
666 * src/files.c (openfiles):
667 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
668 find a temporary directory, if possible. Do not unlink files while
671 1997-08-25 Richard Stallman <rms@gnu.org>
673 * src/reader.c (stack_offset;):
674 Change some warni to warns.
676 * src/lex.c (literalchar): Use warns, not warni.
678 1997-06-28 Richard Stallman <rms@gnu.org>
680 * src/bison.s1: Add a Bison version comment.
682 * src/main.c (fatal, warn, berror):
685 1997-06-28 Richard Stallman <rms@gnu.org>
687 * Makefile.in (bison_version): New variable.
688 (dist): Use that variable.
689 (bison.s1): Substitute the Bison version into bison.simple.
691 * bison.simple: Add a Bison version comment.
693 1997-06-18 Richard Stallman <rms@gnu.org>
695 * src/main.c (fatal, warn, berror):
696 Make error messages standard.
697 (toomany): Improve error message text.
699 * 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:
700 new.h renamed to alloc.h.
702 1997-06-18 Richard Stallman <rms@gnu.org>
704 * Makefile.in: new.h renamed to alloc.h.
706 1997-05-24 Richard Stallman <rms@gnu.org>
708 * src/lex.c (literalchar):
709 Fix the code for escaping \, " and '.
711 (lex): Avoid trouble when there are many chars
712 to discard in a char literal with just several chars in it.
714 1997-05-17 Richard Stallman <rms@gnu.org>
717 Use malloc, if using alloca is troublesome.
718 (YYSTACK_USE_ALLOCA): New flag macro.
719 Define it for some systems and compilers.
720 (YYSTACK_ALLOC): New macro.
721 (yyparse): Use YYSTACK_ALLOC to allocate stack.
722 If it was malloc'd, free it.
724 1997-05-17 Richard Stallman <rms@gnu.org>
727 Use malloc, if using alloca is troublesome.
728 (YYSTACK_USE_ALLOCA): New flag macro.
729 Define it for some systems and compilers.
730 (YYSTACK_ALLOC): New macro.
731 (yyparse): Use YYSTACK_ALLOC to allocate stack.
732 If it was malloc'd, free it.
734 1997-04-23 Richard Stallman <rms@gnu.org>
737 (alloca) [__hpux]: Always define as __builtin_alloca.
739 1997-04-23 Richard Stallman <rms@gnu.org>
742 (alloca) [__hpux]: Always define as __builtin_alloca.
744 1997-04-22 Richard Stallman <rms@gnu.org>
747 [__hpux]: Include alloca.h (right for HPUX 10)
748 instead of declaring alloca (right for HPUX 9).
750 * src/bison.s1 (__yy_memcpy):
751 Declare arg `count' as unsigned int.
752 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
754 1997-04-22 Richard Stallman <rms@gnu.org>
757 [__hpux]: Include alloca.h (right for HPUX 10)
758 instead of declaring alloca (right for HPUX 9).
760 * bison.simple (__yy_memcpy):
761 Declare arg `count' as unsigned int.
762 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
764 1997-01-03 Richard Stallman <rms@gnu.org>
766 * src/allocate.c: [__STDC__ or _MSC_VER]:
767 Declare calloc and realloc to return void *.
769 1997-01-02 Richard Stallman <rms@gnu.org>
772 [_MSC_VER]: Include stdlib.h and process.h.
773 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
775 * src/main.c (main): Return FAILURE as a value.
776 (printable_version): Declare arg as int, not char.
778 1997-01-02 Richard Stallman <rms@gnu.org>
780 * Makefile.in (dist):
781 Explicitly check for symlinks, and copy them.
783 1996-12-19 Richard Stallman <rms@gnu.org>
786 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
788 1996-12-18 Paul Eggert <eggert@gnu.org>
790 * src/bison.s1 (yyparse):
791 If __GNUC__ and YYPARSE_PARAM are both defined,
792 declare yyparse to have a void * argument.
794 1996-12-18 Paul Eggert <eggert@gnu.org>
796 * bison.simple (yyparse):
797 If __GNUC__ and YYPARSE_PARAM are both defined,
798 declare yyparse to have a void * argument.
800 1996-12-17 Richard Stallman <rms@gnu.org>
802 * src/reduce.c (nbits): Add some casts.
804 1996-08-12 Richard Stallman <rms@gnu.org>
806 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
808 1996-08-12 Richard Stallman <rms@gnu.org>
810 * bison.simple: Test _MSDOS as well as _MSDOS_.
812 1996-07-31 Richard Stallman <rms@gnu.org>
815 [__sun && __i386]: Include alloca.h.
817 1996-07-31 Richard Stallman <rms@gnu.org>
820 [__sun && __i386]: Include alloca.h.
822 1996-07-30 Richard Stallman <rms@gnu.org>
824 * src/bison.s1: Comment change.
826 * src/bison.s1: Test _MSDOS_, not MSDOS.
828 1996-07-30 Richard Stallman <rms@gnu.org>
830 * bison.simple: Comment change.
832 * bison.simple: Test _MSDOS_, not MSDOS.
834 1996-06-01 Richard Stallman <rms@gnu.org>
836 * 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:
837 Insert `_' macro around many string constants.
840 Insert `_' macro around many string constants.
842 (main): Call setlocale, bindtextdomain and textdomain.
844 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
845 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
846 [ENABLE_NLS]: Include libintl.h.
847 [ENABLE_NLS] (gettext): Define.
848 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
849 (N_, PACKAGE, LOCALEDIR): New macros.
851 1996-06-01 Richard Stallman <rms@gnu.org>
853 * POTFILES.in: New file.
855 * Makefile.in (allocate.o):
856 Define target explicitly.
858 * Makefile.in (CFLAGS): Set to @CFLAGS@.
859 (LDFLAGS): Set to @LDFLAGS@.
860 (configure): Run autoconf only if preceding `cd' succeeds.
861 (bison.s1): Redirect output to temporary file then move the
862 temporary to the target, rather than redirecting directly to bison.s1.
863 (clean): Remove config.status and config.log.
864 (distclean): Don't remove config.status here.
866 1996-05-12 Richard Stallman <rms@gnu.org>
869 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
871 1996-05-12 Richard Stallman <rms@gnu.org>
874 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
876 1996-05-11 Richard Stallman <rms@gnu.org>
878 * src/bison.s1 (__yy_memcpy):
879 Really reorder the args, as was supposedly done on Feb 14 1995.
880 (yyparse): Calls changed accordingly.
882 1996-05-11 Richard Stallman <rms@gnu.org>
884 * Makefile.in (dist): Don't use $(srcdir).
886 * bison.simple (__yy_memcpy):
887 Really reorder the args, as was supposedly done on Feb 14 1995.
888 (yyparse): Calls changed accordingly.
890 1996-01-27 Richard Stallman <rms@gnu.org>
892 * src/output.c (output_rule_data):
893 Test YYERROR_VERBOSE in the conditional
894 around the definition of ttyname.
896 1995-12-29 Richard Stallman <rms@gnu.org>
899 Fix line numbers in #line commands.
901 1995-12-29 Richard Stallman <rms@gnu.org>
904 Fix line numbers in #line commands.
906 1995-12-27 Richard Stallman <rms@gnu.org>
908 * src/bison.s1 (YYPARSE_PARAM_DECL):
909 In C++, make it always null.
910 (YYPARSE_PARAM_ARG): New macro.
911 (yyparse): Use YYPARSE_PARAM_ARG.
913 1995-12-27 Richard Stallman <rms@gnu.org>
915 * bison.simple (YYPARSE_PARAM_DECL):
916 In C++, make it always null.
917 (YYPARSE_PARAM_ARG): New macro.
918 (yyparse): Use YYPARSE_PARAM_ARG.
920 1995-11-29 Richard Stallman <rms@gnu.org>
923 Describe literal string tokens, %raw, %no_lines, %token_table.
925 1995-11-29 Daniel Hagerty <hag@gnu.org>
927 * doc/bison.texinfo: Fixed update date
929 1995-10-16 Richard Stallman <rms@gnu.org>
931 * src/version.c: Version 1.25.
933 1995-10-16 Richard Stallman <rms@gnu.org>
935 * NEWS: *** empty log message ***
937 1995-10-16 Richard Stallman <rms@gnu.org>
939 * doc/bison.1, doc/bison.rnh:
942 1995-10-15 Richard Stallman <rms@gnu.org>
944 * src/vmsgetargs.c, src/getargs.c:
945 Added -n, -k, and -raw switches.
946 (noparserflag, toknumflag, rawtoknumflag): New variables.
948 * src/symtab.h (SALIAS):
949 New #define for adding aliases to %token.
950 (struct bucket): Added `alias' field.
952 * src/reduce.c (reduce_grammar):
953 Revise error message.
954 (print_notices): Remove final `.' from error message.
956 * src/reader.c (reader_output_yylsp):
958 (readgram): Use `#if 0' around code that accepted %command
959 inside grammar rules: The documentation doesn't allow it,
960 and it will fail since the %command processors scan for the next %.
961 (parse_token_decl): Extended the %token
962 declaration to allow a multi-character symbol as an alias.
963 (parse_thong_decl): New function.
964 (read_declarations): Added %thong declarations.
965 (read_declarations): Handle NOOP to deal with allowing
966 % declarations as another means to specify the flags.
967 (readgram): Allow %prec prior to semantics embedded in a rule.
968 (skip_to_char, read_declarations, copy_definition)
969 (parse_token_decl, parse_start_decl, parse_type_decl)
970 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
971 (get_type_name, copy_guard, copy_action, readgram)
972 (get_type, packsymbols): Revised most error messages.
973 Changed `fatal' to `warnxxx' to avoid aborting for error.
974 Revised and use multiple warnxxx functions to avoid using VARARGS1.
975 (read_declarations): Improve the error message for
976 an invalid character. Do not abort.
977 (read_declarations, copy_guard, copy_action): Use
978 printable_version to avoid unprintable characters in printed output.
979 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
980 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
981 Allow the type of a non-terminal can be given
982 more than once, as long as all specifications give the same type.
985 (output_headers, output_trailers, output, output_gram)
986 (output_rule_data): Implement noparserflag variable.
987 Implement toknumflag variable.
988 (output): Call reader_output_yylsp to output LTYPESTR.
991 If reader sees an error, don't process the grammar.
992 (fatals): Updated to not use VARARGS1.
993 (printable_version, int_to_string, warn, warni, warns, warnss)
994 (warnsss): New error reporting functions. Avoid abort for error.
997 Added THONG and NOOP for alias processing.
998 Added SETOPT for the new code that allows setting options with %flags.
1001 Include getopt.h. Add some extern decls.
1002 (safegetc): New function to deal with EOF gracefully.
1003 (literalchar); new function to deal with reading \ escapes.
1004 (lex): Use literalchar.
1005 (lex): Implemented "..." tokens.
1006 (literalchar, lex, parse_percent_token): Made tokenbuffer
1007 always contain the token. This includes growing the token
1008 buffer while reading an integer.
1009 (parse_percent_token): Replaced if-else statement with percent_table.
1010 (parse_percent_token): Added % declarations as another
1011 way to specify the flags -n, -l, and -r. Also added hooks for
1012 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1013 major changes to files.c.
1014 (lex) Retain in the incoming stream a character following
1016 (skip_white_space, lex): Revised most error messages
1017 and changed fatal to warn to avoid aborting.
1018 (percent_table): Added %thong declarations.
1020 * src/gram.h: Comment changes.
1022 * src/files.c (openfiles, open_extra_files, done):
1024 and actfile file. Handle noparserflag. Both for -n switch.
1026 * src/conflicts.c (resolve_sr_conflict):
1027 Remove use of alloca.
1029 1995-06-01 Jim Meyering <meyering@gnu.org>
1031 * doc/bison.texinfo: *** empty log message ***
1033 1995-05-06 Richard Stallman <rms@gnu.org>
1035 * src/bison.s1: Comment change.
1037 1995-05-06 Richard Stallman <rms@gnu.org>
1039 * bison.simple: Comment change.
1041 1995-05-03 Richard Stallman <rms@gnu.org>
1043 * src/version.c: Version now 1.24.
1045 * src/bison.s1: Change distribution terms.
1047 * src/version.c: Version now 1.23.
1049 1995-05-03 Richard Stallman <rms@gnu.org>
1051 * doc/bison.texinfo:
1052 Rewrite "Conditions for Using Bison".
1053 Update version to 1.24.
1055 1995-05-03 Richard Stallman <rms@gnu.org>
1057 * bison.simple: Change distribution terms.
1059 1995-02-23 Richard Stallman <rms@gnu.org>
1061 * src/files.c: Test __VMS_POSIX as well as VMS.
1063 1995-02-14 Jim Meyering <meyering@gnu.org>
1065 * src/bison.s1 (__yy_memcpy):
1066 Renamed from __yy_bcopy to avoid
1067 confusion. Reverse FROM and TO arguments to be consistent with
1070 1995-02-14 Jim Meyering <meyering@gnu.org>
1072 * bison.simple (__yy_memcpy):
1073 Renamed from __yy_bcopy to avoid
1074 confusion. Reverse FROM and TO arguments to be consistent with
1077 1994-11-10 David J. MacKenzie <djm@gnu.org>
1083 * Makefile.in (DISTFILES): Include NEWS.
1085 * Makefile.in (DISTFILES):
1086 Include install-sh, not install.sh.
1088 * configure.in: Update to Autoconf v2 macro names.
1090 1994-10-05 David J. MacKenzie <djm@gnu.org>
1092 * Makefile.in: fix typo
1094 * Makefile.in (prefix, exec_prefix):
1095 Let configure set them.
1097 1994-09-28 David J. MacKenzie <djm@gnu.org>
1099 * Makefile.in: Set datadir to $(prefix)/share.
1101 1994-09-15 Richard Stallman <rms@gnu.org>
1104 Update copyright notice and GPL version.
1106 1994-09-15 Richard Stallman <rms@gnu.org>
1109 Update copyright notice and GPL version.
1111 1994-07-12 Richard Stallman <rms@gnu.org>
1113 * src/reduce.c, src/reader.c:
1116 1994-05-05 David J. MacKenzie <djm@gnu.org>
1118 * Makefile.in: entered into RCS
1120 1994-03-26 Richard Stallman <rms@gnu.org>
1122 * src/bison.s1: entered into RCS
1124 1994-03-26 Richard Stallman <rms@gnu.org>
1126 * bison.simple: entered into RCS
1128 1994-03-25 Richard Stallman <rms@gnu.org>
1130 * src/main.c: entered into RCS
1132 1994-03-24 Richard Stallman <rms@gnu.org>
1134 * src/conflicts.c: entered into RCS
1136 1994-01-02 Richard Stallman <rms@gnu.org>
1138 * Makefile.in: *** empty log message ***
1140 1993-11-21 Richard Stallman <rms@gnu.org>
1142 * src/bison.s1: *** empty log message ***
1144 1993-11-21 Richard Stallman <rms@gnu.org>
1146 * doc/bison.texinfo: entered into RCS
1148 * doc/bison.texinfo: *** empty log message ***
1150 1993-11-21 Richard Stallman <rms@gnu.org>
1152 * bison.simple: *** empty log message ***
1154 1993-10-25 David J. MacKenzie <djm@gnu.org>
1156 * doc/bison.texinfo: *** empty log message ***
1158 1993-10-19 Richard Stallman <rms@gnu.org>
1160 * src/bison.s1: *** empty log message ***
1162 1993-10-19 Richard Stallman <rms@gnu.org>
1164 * bison.simple: *** empty log message ***
1166 1993-10-14 Richard Stallman <rms@gnu.org>
1168 * src/bison.s1: *** empty log message ***
1170 1993-10-14 Richard Stallman <rms@gnu.org>
1172 * bison.simple: *** empty log message ***
1174 1993-09-14 David J. MacKenzie <djm@gnu.org>
1176 * doc/bison.texinfo: *** empty log message ***
1178 1993-09-13 Noah Friedman <friedman@gnu.org>
1180 * Makefile.in: *** empty log message ***
1182 1993-09-10 Richard Stallman <rms@gnu.org>
1184 * src/conflicts.c: *** empty log message ***
1186 * src/system.h: entered into RCS
1188 1993-09-10 Richard Stallman <rms@gnu.org>
1190 * doc/bison.1: entered into RCS
1192 1993-09-06 Noah Friedman <friedman@gnu.org>
1194 * src/version.c: entered into RCS
1196 1993-09-06 Noah Friedman <friedman@gnu.org>
1198 * Makefile.in: *** empty log message ***
1200 1993-07-30 David J. MacKenzie <djm@gnu.org>
1202 * Makefile.in: *** empty log message ***
1204 1993-07-24 Richard Stallman <rms@gnu.org>
1206 * src/bison.s1: *** empty log message ***
1208 1993-07-24 Richard Stallman <rms@gnu.org>
1210 * bison.simple: *** empty log message ***
1212 1993-07-08 David J. MacKenzie <djm@gnu.org>
1214 * Makefile.in: *** empty log message ***
1216 1993-07-04 Richard Stallman <rms@gnu.org>
1218 * src/bison.s1: *** empty log message ***
1220 1993-07-04 Richard Stallman <rms@gnu.org>
1222 * bison.simple: *** empty log message ***
1224 1993-06-26 David J. MacKenzie <djm@gnu.org>
1226 * src/getargs.c: entered into RCS
1228 1993-06-26 David J. MacKenzie <djm@gnu.org>
1230 * doc/bison.texinfo: *** empty log message ***
1232 * doc/bison.1: New file.
1234 1993-06-25 Richard Stallman <rms@gnu.org>
1236 * src/getargs.c: New file.
1238 1993-06-16 Richard Stallman <rms@gnu.org>
1240 * src/bison.s1: *** empty log message ***
1242 1993-06-16 Richard Stallman <rms@gnu.org>
1244 * bison.simple: *** empty log message ***
1246 1993-06-03 Richard Stallman <rms@gnu.org>
1248 * src/bison.s1: New file.
1250 1993-06-03 Richard Stallman <rms@gnu.org>
1252 * doc/bison.texinfo: *** empty log message ***
1254 1993-06-03 Richard Stallman <rms@gnu.org>
1256 * bison.simple: New file.
1258 1993-05-19 Richard Stallman <rms@gnu.org>
1260 * doc/bison.texinfo: New file.
1262 1993-05-07 Noah Friedman <friedman@gnu.org>
1264 * Makefile.in: *** empty log message ***
1266 1993-04-28 Noah Friedman <friedman@gnu.org>
1268 * src/reader.c: *** empty log message ***
1270 1993-04-23 Noah Friedman <friedman@gnu.org>
1272 * src/alloc.h: entered into RCS
1274 1993-04-20 David J. MacKenzie <djm@gnu.org>
1276 * src/version.c: *** empty log message ***
1278 * src/files.c, src/allocate.c:
1281 * src/reader.c: *** empty log message ***
1283 * src/lex.c: entered into RCS
1285 * src/conflicts.c: New file.
1287 * src/symtab.c: entered into RCS
1289 * src/alloc.h: New file.
1291 * src/LR0.c: entered into RCS
1293 1993-04-18 Noah Friedman <friedman@gnu.org>
1295 * src/reader.c: New file.
1297 * src/version.c: *** empty log message ***
1299 1993-04-18 Noah Friedman <friedman@gnu.org>
1301 * Makefile.in: *** empty log message ***
1303 1993-04-17 Noah Friedman <friedman@gnu.org>
1305 * Makefile.in: *** empty log message ***
1307 1993-04-15 Richard Stallman <rms@gnu.org>
1309 * src/main.c, src/files.c:
1312 1993-04-15 Noah Friedman <friedman@gnu.org>
1314 * configure.in: entered into RCS
1316 * configure.in: *** empty log message ***
1318 * configure.in: New file.
1320 1993-04-14 Richard Stallman <rms@gnu.org>
1322 * Makefile.in: New file.
1324 1993-04-13 Richard Stallman <rms@gnu.org>
1326 * src/version.c: New file.
1328 1993-03-25 Richard Stallman <rms@gnu.org>
1330 * src/output.c: entered into RCS
1332 1992-09-25 Richard Stallman <rms@gnu.org>
1334 * configure.bat: entered into RCS
1336 1992-06-22 Richard Stallman <rms@gnu.org>
1338 * src/vmsgetargs.c: entered into RCS
1340 1992-06-22 Richard Stallman <rms@gnu.org>
1342 * doc/bison.rnh: entered into RCS
1344 1992-04-20 David J. MacKenzie <djm@gnu.org>
1346 * README: entered into RCS
1348 1992-01-22 Richard Stallman <rms@gnu.org>
1350 * src/machine.h: entered into RCS
1352 1991-12-21 Richard Stallman <rms@gnu.org>
1354 * src/lalr.c, src/closure.c:
1357 1991-12-20 Richard Stallman <rms@gnu.org>
1359 * src/state.h: entered into RCS
1361 1991-12-18 Richard Stallman <rms@gnu.org>
1363 * src/print.c, src/nullable.c, src/derives.c:
1366 1991-11-03 David J. MacKenzie <djm@gnu.org>
1368 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1371 1988-09-09 Richard Stallman <rms@gnu.org>
1373 * src/bison.hairy: entered into RCS
1375 1987-12-16 Richard Stallman <rms@gnu.org>
1377 * REFERENCES: entered into RCS