1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/output.c (output): Topological sort of the functions, in
4 order to get rid of the `static' prototypes.
5 No longer use `register'.
6 * src/output.h: New file.
7 Propagate its inclusion in files explicitly prototyping functions
10 2000-09-21 Akim Demaille <akim@epita.fr>
12 * src/atgeneral.m4: Update from Autoconf.
14 2000-09-21 Akim Demaille <akim@epita.fr>
16 * src/closure.h: New file.
17 * src/closure.c: Formatting changes, topological sort over the
18 functions, use of closure.h.
19 (initialize_closure, finalize_closure): Rename as...
20 (new_closure, free_closure): these. Adjust dependencies.
21 * src/LR0.c: Formatting changes, topological sort, use of
23 (initialize_states): Rename as...
25 * src/Makefile.am (noinst_HEADERS): Adjust.
27 2000-09-20 Akim Demaille <akim@epita.fr>
29 * src/acconfig.h: Don't protect config.h against multiple
32 * src/system.h: Define PARAMS.
33 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
34 purpose of config.h. system.h must not try to fix wrong
35 definitions in config.h.
37 2000-09-20 Akim Demaille <akim@epita.fr>
39 * src/derives.h: New file.
40 * src/main.c, src/derives.h: Use it.
42 * src/Makefile.am (noinst_HEADERS): Adjust.
44 2000-09-20 Akim Demaille <akim@epita.fr>
46 * tests/atgeneral.m4: Update from Autoconf.
47 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
48 (AT_CHECK_CALC): New macros.
49 Use these macros to test bison with options `', `--raw',
50 `--debug', `--yacc', `--yacc --debug'.
52 2000-09-19 Akim Demaille <akim@epita.fr>
54 * src/output.c: Formatting changes.
55 * src/machine.h: Remove, leaving its contents in...
58 Adjust all dependencies on stdio.h and machine.h.
59 * src/getargs.h: New file.
60 Let all `extern' declarations about getargs.c be replaced with
61 inclusion of `getargs.h'.
62 * src/Makefile.am (noinst_HEADERS): Adjust.
64 * tests/calc.m4 (yyin): Be initialized in main, not on the global
66 (yyerror): Returns void, not int.
67 * doc/bison.texinfo: Formatting changes.
69 2000-09-19 Akim Demaille <akim@epita.fr>
71 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
74 2000-09-18 Akim Demaille <akim@epita.fr>
76 * configure.in: Append WARNING_CFLAGS to CFLAGS.
77 * src/Makefile.am (INCLUDES): Don't.
78 Be ready to fetch headers in lib/.
80 2000-09-18 Akim Demaille <akim@epita.fr>
82 * doc/bison.texinfo: Update the copyright.
83 ANSIfy and GNUify the examples.
86 2000-09-18 Akim Demaille <akim@epita.fr>
88 First set of tests: use the `calc' example from the documentation.
90 * src/bison.s1 (yyparse): Condition the code using `yytname' which
91 is defined only when YYDEBUG is.
92 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
93 * src/files.c (tryopen, tryclose): Formatting changes.
94 Move to the top and be static.
95 * src/reader.c (read_signed_integer): Likewise.
96 * tests/calc.m4: New file.
97 * Makefile.am, suite.m4: Adjust.
98 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
100 2000-09-18 Akim Demaille <akim@epita.fr>
102 Add support for an Autotest test suite for Bison.
104 * m4/m4.m4, m4/atconfig.m4: New files.
105 * m4/Makefile.am (EXTRA_DIST): Adjust.
106 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
108 * src/getargs.c: Display a more standard --version message.
109 * src/reader.c (reader): Formatting changes.
110 No longer depend upon VERSION_STRING.
111 * configure.in: No longer use `dnl'.
112 Set up the test suite and the new directory `tests/.
113 (VERSION_STRING): Remove.
115 2000-04-14 Akim Demaille <akim@epita.fr>
117 * src/reader.c (copy_comment2): New function, same as former
118 `copy_comment', but outputs into two FILE *.
119 (copy_comment): Use it.
120 (parse_union_decl): Use it.
121 (get_type, parse_start_decl): Use the same `invalid' message.
122 (parse_start_decl, parse_union_decl): Use the same `multiple'
124 (parse_union_decl, copy_guard, copy_action): Use the same
126 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
128 2000-03-31 Akim Demaille <akim@epita.fr>
130 * src/files.c (tryopen, tryclose): Move to the top.
133 2000-03-31 Akim Demaille <akim@epita.fr>
135 * src/main.c (main): Don't call `done', exit does it.
137 2000-03-31 Akim Demaille <akim@epita.fr>
139 * allocate.c: s/return (foo)/return foo/.
142 * output.c: Likewise.
143 * reader.c: Likewise.
144 * symtab.c: Likewise.
145 * vmsgetargs.c: Likewise.
147 2000-03-31 Akim Demaille <akim@epita.fr>
149 Clean up the error reporting functions.
151 * src/report.c: New file.
152 * src/report.h: Likewise.
153 * src/Makefile.am: Adjust.
154 * m4/error.m4: New file.
155 * m4/Makefile.am: Adjust.
156 * configure.in (jm_PREREQ_ERROR): Call it.
157 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
159 (fatal, fatals): Remove. All callers use complain.c::fatal.
160 (warn, warni, warns, warnss, warnss): Remove. All callers use
161 complain.c::complain.
162 (toomany): Remove, use fatal instead.
163 * src/files.c (done): No argument, use complain_message_count.
164 * src/main.c (main): Register `done' to `atexit'.
166 * src/getargs.c (usage): More `fputs', less `fprintf'.
168 2000-03-28 Akim Demaille <akim@epita.fr>
170 * lib/: New directory.
171 * Makefile.am (SUBDIRS): Adjust.
172 * configure.in: Adjust.
173 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
175 * src/alloca.c: Moved to lib/.
176 * src/getopt.c: Likewise.
177 * src/getopt1.c: Likewise.
178 * src/getopt.h: Likewise.
179 * src/ansi2knr.c: Likewise.
180 * src/ansi2knr.1: Likewise.
181 * src/Makefile.am: Adjust.
182 * lib/Makefile.am: New file.
184 2000-03-28 Akim Demaille <akim@epita.fr>
186 * src/getargs.c (usage): Refresh the help message.
188 2000-03-17 Akim Demaille <akim@epita.fr>
190 * src/getopt1.c: Updated from textutils 2.0e
191 * src/getopt.c: Likewise.
192 * src/getopt.h: Likewise.
194 2000-03-17 Akim Demaille <akim@epita.fr>
196 * src/Makefile.am (bison.simple): Fix the awk program: quote only
197 the file name, not the whole `#line LINE FILE'.
199 2000-03-17 Akim Demaille <akim@epita.fr>
201 On syntax errors, report the token on which we choked.
203 * src/bison.s1 (yyparse): In the label yyerrlab, when
204 YYERROR_VERBOSE, add yychar in msg.
206 2000-03-17 Akim Demaille <akim@epita.fr>
208 * src/reader.c (copy_at): New function.
209 (copy_guard): Use it.
210 (copy_action): Use it.
212 2000-03-17 Akim Demaille <akim@epita.fr>
214 Be kind to translators, save some useless translations.
216 * src/main.c (banner): New function.
217 (fatal_banner): Use it.
218 (warn_banner): Use it.
220 2000-03-17 Akim Demaille <akim@epita.fr>
222 * src/reader.c (copy_definition): Use copy_string and
223 copy_comment. Removed now unused `match', `ended',
225 (copy_comment, copy_string): Moved, to be visible from
228 2000-03-17 Akim Demaille <akim@epita.fr>
230 * src/reader.c (copy_string): Declare `static inline'. No
231 problems with inline, since it is checked by configure.
232 (copy_comment): Likewise.
234 2000-03-17 Akim Demaille <akim@epita.fr>
236 * src/reader.c (packsymbols): Formatting changes.
238 2000-03-17 Akim Demaille <akim@epita.fr>
240 * src/reader.c (copy_comment): New function, factored out from:
241 (copy_action): Use it. Removed now unused `match', `ended',
243 (copy_guard): Likewise.
245 2000-03-17 Akim Demaille <akim@epita.fr>
247 * src/reader.c (copy_string): New function, factored out from:
248 (copy_action): Use it.
249 (copy_guard): Likewise.
251 2000-03-17 Akim Demaille <akim@epita.fr>
253 Change the handling of @s so that they behave exactly like $s.
254 There is now a pseudo variable @$ (readble and writable), location
255 of the lhs of the rule (by default ranging from the location of
256 the first symbol of the rhs, to the location of the last symbol,
257 or, if the rhs is empty, YYLLOC).
259 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
261 (yyparse): When providing a default semantic action, provide a
262 default location action.
263 (after the $): No longer change `*YYLSP', just stack YYLOC the
264 same way you stack YYVAL.
265 * src/reader.c (read_declarations): Use warns.
266 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
267 (copy_action, case '@'): Likewise.
268 Use a standard error message, to save useless work from
271 2000-03-17 Akim Demaille <akim@epita.fr>
273 * src/bison.s1: Formatting and cosmetics changes.
274 * src/reader.c: Likewise.
275 Update the Copyright notice.
277 2000-03-17 Akim Demaille <akim@epita.fr>
279 * src/bison.s1 (#line): All set to `#line' only, since the
280 Makefile now handles them.
282 2000-03-16 Akim Demaille <akim@epita.fr>
284 * src/output.c (output_rule_data): Output the documentation of
286 (Copyright notice): Update.
289 2000-03-16 Akim Demaille <akim@epita.fr>
291 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
292 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
293 One `#if YYDEBUG' remains, since it uses variables which are
294 defined only if `YYDEBUG != 0'.
296 2000-03-16 Akim Demaille <akim@epita.fr>
298 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
299 and related variables so that the similarities are highlighted.
301 2000-03-16 Akim Demaille <akim@epita.fr>
303 * src/bison.s1: Properly indent CPP directives.
305 2000-03-16 Akim Demaille <akim@epita.fr>
307 * src/bison.s1: Properly indent the `alloca' CPP section.
309 2000-03-16 Akim Demaille <akim@epita.fr>
311 Do not hard code values of directories in `configure.in'.
312 Update the `configure' tool chain.
314 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
316 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
317 (AC_OUTPUT): Add m4/Makefile.
318 Bump to bison 1.28a, 1.29 has never been released.
319 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
320 handled via src/Makefile.am.
321 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
322 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
324 * Makefile.am (SUBDIRS): Add m4.
325 (ACLOCAL_AM_FLAGS): New variable.
326 (AUTOMAKE_OPTIONS): Add check-news.
327 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
328 the proper line number and file name.
329 (DEFS): Propagate the location of bison library files and of the
331 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
333 * acinclude.m4: Remove, replaced by the directory m4.
334 * m4/Makefile.am (EXTRA_DIST): New variable.
335 * m4/gettext.m4: New file, from the fileutils.
336 * m4/lcmessage.m4: Likewise
337 * m4/progtest.m4: Likewise.
338 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
340 2000-03-10 Akim Demaille <akim@epita.fr>
343 Formatting changes of various comments.
344 Respect the GNU coding standards at various places.
345 Don't use `_()' when no translation is needed.
347 1999-12-13 Jesse Thilo <jthilo@gnu.org>
350 OS/2 honors TMPDIR environment variable.
352 1999-12-13 Jesse Thilo <jthilo@gnu.org>
354 * doc/bison.texinfo: Tweaked spelling and grammar.
356 Removed reference to price of printed copy.
357 Mention BISON_SIMPLE and BISON_HAIRY.
359 1999-12-13 Jesse Thilo <jthilo@gnu.org>
361 * configure.in, NEWS:
364 1999-10-27 Jesse Thilo <jthilo@gnu.org>
366 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
367 Added reference card.
369 1999-07-26 Jesse Thilo <jthilo@gnu.org>
371 * po/ru.po: Added Russian translation.
373 1999-07-26 Jesse Thilo <jthilo@gnu.org>
375 * configure.in: Added Russian translation.
377 1999-07-06 Jesse Thilo <jthilo@gnu.org>
379 * configure.in, NEWS, README:
380 Released version 1.28.
382 1999-06-14 Jesse Thilo <jthilo@gnu.org>
385 Squashed redefinition warning on some systems.
387 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
388 Have configure build version string instead of relying on ANSI string
391 1999-06-14 Jesse Thilo <jthilo@gnu.org>
393 * po/POTFILES.in: Got rid of version.c.
395 1999-06-14 Jesse Thilo <jthilo@gnu.org>
397 * acconfig.h, configure.in:
398 Have configure build version string instead of relying on ANSI string
401 1999-06-08 Jesse Thilo <jthilo@gnu.org>
404 Dropped mention of `+' for long-named options.
406 1999-05-30 Jesse Thilo <jthilo@gnu.org>
408 * src/files.c: Added <unistd.h> for unlink().
410 * src/Makefile.am, src/system.h:
413 1999-05-30 Jesse Thilo <jthilo@gnu.org>
415 * README: Added a FAQ list.
417 * configure.in, acconfig.h:
420 1999-05-30 Jesse Thilo <jthilo@gnu.org>
422 * doc/FAQ, doc/Makefile.am:
425 1999-05-19 Jesse Thilo <jthilo@gnu.org>
427 * src/alloc.h, src/symtab.h, src/version.c:
428 Protected inclusion of "config.h" with HAVE_CONFIG_H.
430 1999-04-18 Jesse Thilo <jthilo@gnu.org>
432 * src/.cvsignore, src/Makefile.am:
433 Reorganized: sources in `src', documentation in `doc'.
435 * src/lex.c (literalchar):
436 fixed the code for escaping double quotes (thanks
439 1999-04-18 Jesse Thilo <jthilo@gnu.org>
441 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
442 Adjusted paths to reflect directory reorganization.
444 1999-04-18 Jesse Thilo <jthilo@gnu.org>
446 * doc/.cvsignore, doc/Makefile.am:
447 Reorganized: sources in `src', documentation in `doc'.
449 1999-04-18 Jesse Thilo <jthilo@gnu.org>
452 Updated AC_INIT file to reflect directory reorganization.
454 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
455 Reorganized: sources in `src', documentation in `doc'.
457 1999-04-13 Jesse Thilo <jthilo@gnu.org>
460 Don't declare calloc() and realloc() if not necessary.
462 1999-04-13 Jesse Thilo <jthilo@gnu.org>
464 * configure.in, acconfig.h, acinclude.m4:
465 Don't declare calloc() and realloc() if not necessary.
467 1999-03-23 Jesse Thilo <jthilo@gnu.org>
469 * po/.cvsignore: Added i18n support.
471 1999-03-23 Jesse Thilo <jthilo@gnu.org>
473 * acconfig.h, configure.in, Makefile.am:
476 1999-03-22 Jesse Thilo <jthilo@gnu.org>
478 * src/bison.s1: Fixed #line numbers.
480 1999-03-15 Jesse Thilo <jthilo@gnu.org>
482 * po/es.po, po/fr.po, po/nl.po, po/de.po:
483 Added PO files from Translation Project.
485 1999-03-03 Jesse Thilo <jthilo@gnu.org>
488 Added support for non-ANSI compilers (ansi2knr).
490 1999-02-16 Jesse Thilo <jthilo@gnu.org>
492 * configure.in: Bumped version number to 1.27.
495 Added `bison.simple' to list of files removed by `make distclean'.
497 1999-02-12 Jesse Thilo <jthilo@gnu.org>
499 * src/files.c, src/files.h:
500 Defined locations of parser files in config.h instead of Makefile.
502 1999-02-12 Jesse Thilo <jthilo@gnu.org>
504 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
505 Defined locations of parser files in config.h instead of Makefile.
507 1999-02-09 Jesse Thilo <jthilo@gnu.org>
510 Removed inappropriate use of $< macro.
512 1999-02-05 Jesse Thilo <jthilo@gnu.org>
514 * po/Makefile.in.in, po/POTFILES.in:
515 Add `po' directory skeleton.
517 1999-01-27 Jesse Thilo <jthilo@gnu.org>
519 * README: Document help-bison list.
521 * configure.in: Add check for mkstemp().
523 1999-01-20 Jesse Thilo <jthilo@gnu.org>
525 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
526 Hush a few compiler warnings.
529 Add tryclose(), which verifies that fclose was successful.
530 Hush a couple of compiler warnings.
532 1999-01-20 Jesse Thilo <jthilo@gnu.org>
534 * Makefile.am, OChangeLog:
535 ChangeLog is now automatically generated. Include the old version as
538 1999-01-14 Jesse Thilo <jthilo@gnu.org>
540 * 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:
543 1999-01-14 Jesse Thilo <jthilo@gnu.org>
545 * doc/bison.texinfo: Fix formatting glitch.
547 * doc/bison.texinfo: Update FSF address.
549 1999-01-14 Jesse Thilo <jthilo@gnu.org>
551 * acconfig.h: Update FSF address.
553 1999-01-08 Jesse Thilo <jthilo@gnu.org>
556 Don't define PACKAGE here, since config.h defines it.
558 1998-12-30 Jesse Thilo <jthilo@gnu.org>
560 * src/reader.c: Update copyright date.
563 Ditch sprintf to statically-sized buffers in fatal/warn functions in
564 favor of output directly to stderr (avoids buffer overruns).
566 * src/reader.c: Some checks for premature EOF.
568 * 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:
569 Use prototypes if the compiler understands them.
571 * src/files.c: Honor TMPDIR on Unix hosts.
572 Use prototypes if the compiler understands them.
575 Fix a couple of buffer overrun bugs.
576 Use prototypes if the compiler understands them.
578 * src/system.h: Include unistd.h and ctype.h.
579 Use #ifdef instead of #if for NLS symbols.
581 1998-12-30 Jesse Thilo <jthilo@gnu.org>
584 Delete comment "consider using @set for edition number, etc..." since
587 1998-12-30 Jesse Thilo <jthilo@gnu.org>
590 Use prototypes if the compiler understands them.
592 * NEWS: Document 1.26 highlights.
594 * Makefile.am: Require Automake 1.3 or later.
597 Use prototypes if the compiler understands them.
599 1998-12-29 Jesse Thilo <jthilo@gnu.org>
602 Use VERSION symbol from automake for version number.
604 1998-12-29 Jesse Thilo <jthilo@gnu.org>
606 * acconfig.h, configure.in, version.cin:
607 Use VERSION symbol from automake for version number.
609 1998-11-28 Jesse Thilo <jthilo@gnu.org>
612 Distribute original version of simple parser (bison.s1), not built
613 version (bison.simple).
615 1998-11-28 Jesse Thilo <jthilo@gnu.org>
617 * doc/bison.texinfo: Add info dir entry.
620 Let automake put version number into documentation.
622 1998-11-26 Jesse Thilo <jthilo@gnu.org>
624 * src/bison.cld, src/build.com, src/vmshlp.mar:
625 Add non-RCS files from /gd/gnu/bison.
627 1998-11-26 Jesse Thilo <jthilo@gnu.org>
630 Document the BISON_HAIRY and BISON_SIMPLE variables.
632 1998-11-25 Jesse Thilo <jthilo@gnu.org>
634 * src/version.c: Build version.c automatically.
637 Fix token numbering (used to start at 258, not 257).
639 * src/system.h: Include config.h.
641 * src/getargs.c: Update bug report address.
643 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
644 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
646 1998-11-25 Jesse Thilo <jthilo@gnu.org>
649 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
651 * configure.in, version.cin:
652 Build version.c automatically.
654 * AUTHORS: Add AUTHORS file.
656 * README: Update bug report address.
659 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
661 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
664 1998-11-25 Jesse Thilo <jthilo@gnu.org>
666 * doc/bison.texinfo: Clean up some formatting.
668 1998-05-05 Richard Stallman <rms@gnu.org>
671 Explain better why to make a pure parser.
673 1998-01-05 Richard Stallman <rms@gnu.org>
675 * src/files.c (openfiles):
676 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
677 find a temporary directory, if possible. Do not unlink files while
680 1997-08-25 Richard Stallman <rms@gnu.org>
682 * src/reader.c (stack_offset;):
683 Change some warni to warns.
685 * src/lex.c (literalchar): Use warns, not warni.
687 1997-06-28 Richard Stallman <rms@gnu.org>
689 * src/bison.s1: Add a Bison version comment.
691 * src/main.c (fatal, warn, berror):
694 1997-06-28 Richard Stallman <rms@gnu.org>
696 * Makefile.in (bison_version): New variable.
697 (dist): Use that variable.
698 (bison.s1): Substitute the Bison version into bison.simple.
700 * bison.simple: Add a Bison version comment.
702 1997-06-18 Richard Stallman <rms@gnu.org>
704 * src/main.c (fatal, warn, berror):
705 Make error messages standard.
706 (toomany): Improve error message text.
708 * 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:
709 new.h renamed to alloc.h.
711 1997-06-18 Richard Stallman <rms@gnu.org>
713 * Makefile.in: new.h renamed to alloc.h.
715 1997-05-24 Richard Stallman <rms@gnu.org>
717 * src/lex.c (literalchar):
718 Fix the code for escaping \, " and '.
720 (lex): Avoid trouble when there are many chars
721 to discard in a char literal with just several chars in it.
723 1997-05-17 Richard Stallman <rms@gnu.org>
726 Use malloc, if using alloca is troublesome.
727 (YYSTACK_USE_ALLOCA): New flag macro.
728 Define it for some systems and compilers.
729 (YYSTACK_ALLOC): New macro.
730 (yyparse): Use YYSTACK_ALLOC to allocate stack.
731 If it was malloc'd, free it.
733 1997-05-17 Richard Stallman <rms@gnu.org>
736 Use malloc, if using alloca is troublesome.
737 (YYSTACK_USE_ALLOCA): New flag macro.
738 Define it for some systems and compilers.
739 (YYSTACK_ALLOC): New macro.
740 (yyparse): Use YYSTACK_ALLOC to allocate stack.
741 If it was malloc'd, free it.
743 1997-04-23 Richard Stallman <rms@gnu.org>
746 (alloca) [__hpux]: Always define as __builtin_alloca.
748 1997-04-23 Richard Stallman <rms@gnu.org>
751 (alloca) [__hpux]: Always define as __builtin_alloca.
753 1997-04-22 Richard Stallman <rms@gnu.org>
756 [__hpux]: Include alloca.h (right for HPUX 10)
757 instead of declaring alloca (right for HPUX 9).
759 * src/bison.s1 (__yy_memcpy):
760 Declare arg `count' as unsigned int.
761 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
763 1997-04-22 Richard Stallman <rms@gnu.org>
766 [__hpux]: Include alloca.h (right for HPUX 10)
767 instead of declaring alloca (right for HPUX 9).
769 * bison.simple (__yy_memcpy):
770 Declare arg `count' as unsigned int.
771 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
773 1997-01-03 Richard Stallman <rms@gnu.org>
775 * src/allocate.c: [__STDC__ or _MSC_VER]:
776 Declare calloc and realloc to return void *.
778 1997-01-02 Richard Stallman <rms@gnu.org>
781 [_MSC_VER]: Include stdlib.h and process.h.
782 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
784 * src/main.c (main): Return FAILURE as a value.
785 (printable_version): Declare arg as int, not char.
787 1997-01-02 Richard Stallman <rms@gnu.org>
789 * Makefile.in (dist):
790 Explicitly check for symlinks, and copy them.
792 1996-12-19 Richard Stallman <rms@gnu.org>
795 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
797 1996-12-18 Paul Eggert <eggert@gnu.org>
799 * src/bison.s1 (yyparse):
800 If __GNUC__ and YYPARSE_PARAM are both defined,
801 declare yyparse to have a void * argument.
803 1996-12-18 Paul Eggert <eggert@gnu.org>
805 * bison.simple (yyparse):
806 If __GNUC__ and YYPARSE_PARAM are both defined,
807 declare yyparse to have a void * argument.
809 1996-12-17 Richard Stallman <rms@gnu.org>
811 * src/reduce.c (nbits): Add some casts.
813 1996-08-12 Richard Stallman <rms@gnu.org>
815 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
817 1996-08-12 Richard Stallman <rms@gnu.org>
819 * bison.simple: Test _MSDOS as well as _MSDOS_.
821 1996-07-31 Richard Stallman <rms@gnu.org>
824 [__sun && __i386]: Include alloca.h.
826 1996-07-31 Richard Stallman <rms@gnu.org>
829 [__sun && __i386]: Include alloca.h.
831 1996-07-30 Richard Stallman <rms@gnu.org>
833 * src/bison.s1: Comment change.
835 * src/bison.s1: Test _MSDOS_, not MSDOS.
837 1996-07-30 Richard Stallman <rms@gnu.org>
839 * bison.simple: Comment change.
841 * bison.simple: Test _MSDOS_, not MSDOS.
843 1996-06-01 Richard Stallman <rms@gnu.org>
845 * 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:
846 Insert `_' macro around many string constants.
849 Insert `_' macro around many string constants.
851 (main): Call setlocale, bindtextdomain and textdomain.
853 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
854 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
855 [ENABLE_NLS]: Include libintl.h.
856 [ENABLE_NLS] (gettext): Define.
857 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
858 (N_, PACKAGE, LOCALEDIR): New macros.
860 1996-06-01 Richard Stallman <rms@gnu.org>
862 * POTFILES.in: New file.
864 * Makefile.in (allocate.o):
865 Define target explicitly.
867 * Makefile.in (CFLAGS): Set to @CFLAGS@.
868 (LDFLAGS): Set to @LDFLAGS@.
869 (configure): Run autoconf only if preceding `cd' succeeds.
870 (bison.s1): Redirect output to temporary file then move the
871 temporary to the target, rather than redirecting directly to bison.s1.
872 (clean): Remove config.status and config.log.
873 (distclean): Don't remove config.status here.
875 1996-05-12 Richard Stallman <rms@gnu.org>
878 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
880 1996-05-12 Richard Stallman <rms@gnu.org>
883 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
885 1996-05-11 Richard Stallman <rms@gnu.org>
887 * src/bison.s1 (__yy_memcpy):
888 Really reorder the args, as was supposedly done on Feb 14 1995.
889 (yyparse): Calls changed accordingly.
891 1996-05-11 Richard Stallman <rms@gnu.org>
893 * Makefile.in (dist): Don't use $(srcdir).
895 * bison.simple (__yy_memcpy):
896 Really reorder the args, as was supposedly done on Feb 14 1995.
897 (yyparse): Calls changed accordingly.
899 1996-01-27 Richard Stallman <rms@gnu.org>
901 * src/output.c (output_rule_data):
902 Test YYERROR_VERBOSE in the conditional
903 around the definition of ttyname.
905 1995-12-29 Richard Stallman <rms@gnu.org>
908 Fix line numbers in #line commands.
910 1995-12-29 Richard Stallman <rms@gnu.org>
913 Fix line numbers in #line commands.
915 1995-12-27 Richard Stallman <rms@gnu.org>
917 * src/bison.s1 (YYPARSE_PARAM_DECL):
918 In C++, make it always null.
919 (YYPARSE_PARAM_ARG): New macro.
920 (yyparse): Use YYPARSE_PARAM_ARG.
922 1995-12-27 Richard Stallman <rms@gnu.org>
924 * bison.simple (YYPARSE_PARAM_DECL):
925 In C++, make it always null.
926 (YYPARSE_PARAM_ARG): New macro.
927 (yyparse): Use YYPARSE_PARAM_ARG.
929 1995-11-29 Richard Stallman <rms@gnu.org>
932 Describe literal string tokens, %raw, %no_lines, %token_table.
934 1995-11-29 Daniel Hagerty <hag@gnu.org>
936 * doc/bison.texinfo: Fixed update date
938 1995-10-16 Richard Stallman <rms@gnu.org>
940 * src/version.c: Version 1.25.
942 1995-10-16 Richard Stallman <rms@gnu.org>
944 * NEWS: *** empty log message ***
946 1995-10-16 Richard Stallman <rms@gnu.org>
948 * doc/bison.1, doc/bison.rnh:
951 1995-10-15 Richard Stallman <rms@gnu.org>
953 * src/vmsgetargs.c, src/getargs.c:
954 Added -n, -k, and -raw switches.
955 (noparserflag, toknumflag, rawtoknumflag): New variables.
957 * src/symtab.h (SALIAS):
958 New #define for adding aliases to %token.
959 (struct bucket): Added `alias' field.
961 * src/reduce.c (reduce_grammar):
962 Revise error message.
963 (print_notices): Remove final `.' from error message.
965 * src/reader.c (reader_output_yylsp):
967 (readgram): Use `#if 0' around code that accepted %command
968 inside grammar rules: The documentation doesn't allow it,
969 and it will fail since the %command processors scan for the next %.
970 (parse_token_decl): Extended the %token
971 declaration to allow a multi-character symbol as an alias.
972 (parse_thong_decl): New function.
973 (read_declarations): Added %thong declarations.
974 (read_declarations): Handle NOOP to deal with allowing
975 % declarations as another means to specify the flags.
976 (readgram): Allow %prec prior to semantics embedded in a rule.
977 (skip_to_char, read_declarations, copy_definition)
978 (parse_token_decl, parse_start_decl, parse_type_decl)
979 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
980 (get_type_name, copy_guard, copy_action, readgram)
981 (get_type, packsymbols): Revised most error messages.
982 Changed `fatal' to `warnxxx' to avoid aborting for error.
983 Revised and use multiple warnxxx functions to avoid using VARARGS1.
984 (read_declarations): Improve the error message for
985 an invalid character. Do not abort.
986 (read_declarations, copy_guard, copy_action): Use
987 printable_version to avoid unprintable characters in printed output.
988 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
989 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
990 Allow the type of a non-terminal can be given
991 more than once, as long as all specifications give the same type.
994 (output_headers, output_trailers, output, output_gram)
995 (output_rule_data): Implement noparserflag variable.
996 Implement toknumflag variable.
997 (output): Call reader_output_yylsp to output LTYPESTR.
1000 If reader sees an error, don't process the grammar.
1001 (fatals): Updated to not use VARARGS1.
1002 (printable_version, int_to_string, warn, warni, warns, warnss)
1003 (warnsss): New error reporting functions. Avoid abort for error.
1006 Added THONG and NOOP for alias processing.
1007 Added SETOPT for the new code that allows setting options with %flags.
1010 Include getopt.h. Add some extern decls.
1011 (safegetc): New function to deal with EOF gracefully.
1012 (literalchar); new function to deal with reading \ escapes.
1013 (lex): Use literalchar.
1014 (lex): Implemented "..." tokens.
1015 (literalchar, lex, parse_percent_token): Made tokenbuffer
1016 always contain the token. This includes growing the token
1017 buffer while reading an integer.
1018 (parse_percent_token): Replaced if-else statement with percent_table.
1019 (parse_percent_token): Added % declarations as another
1020 way to specify the flags -n, -l, and -r. Also added hooks for
1021 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1022 major changes to files.c.
1023 (lex) Retain in the incoming stream a character following
1025 (skip_white_space, lex): Revised most error messages
1026 and changed fatal to warn to avoid aborting.
1027 (percent_table): Added %thong declarations.
1029 * src/gram.h: Comment changes.
1031 * src/files.c (openfiles, open_extra_files, done):
1033 and actfile file. Handle noparserflag. Both for -n switch.
1035 * src/conflicts.c (resolve_sr_conflict):
1036 Remove use of alloca.
1038 1995-06-01 Jim Meyering <meyering@gnu.org>
1040 * doc/bison.texinfo: *** empty log message ***
1042 1995-05-06 Richard Stallman <rms@gnu.org>
1044 * src/bison.s1: Comment change.
1046 1995-05-06 Richard Stallman <rms@gnu.org>
1048 * bison.simple: Comment change.
1050 1995-05-03 Richard Stallman <rms@gnu.org>
1052 * src/version.c: Version now 1.24.
1054 * src/bison.s1: Change distribution terms.
1056 * src/version.c: Version now 1.23.
1058 1995-05-03 Richard Stallman <rms@gnu.org>
1060 * doc/bison.texinfo:
1061 Rewrite "Conditions for Using Bison".
1062 Update version to 1.24.
1064 1995-05-03 Richard Stallman <rms@gnu.org>
1066 * bison.simple: Change distribution terms.
1068 1995-02-23 Richard Stallman <rms@gnu.org>
1070 * src/files.c: Test __VMS_POSIX as well as VMS.
1072 1995-02-14 Jim Meyering <meyering@gnu.org>
1074 * src/bison.s1 (__yy_memcpy):
1075 Renamed from __yy_bcopy to avoid
1076 confusion. Reverse FROM and TO arguments to be consistent with
1079 1995-02-14 Jim Meyering <meyering@gnu.org>
1081 * bison.simple (__yy_memcpy):
1082 Renamed from __yy_bcopy to avoid
1083 confusion. Reverse FROM and TO arguments to be consistent with
1086 1994-11-10 David J. MacKenzie <djm@gnu.org>
1092 * Makefile.in (DISTFILES): Include NEWS.
1094 * Makefile.in (DISTFILES):
1095 Include install-sh, not install.sh.
1097 * configure.in: Update to Autoconf v2 macro names.
1099 1994-10-05 David J. MacKenzie <djm@gnu.org>
1101 * Makefile.in: fix typo
1103 * Makefile.in (prefix, exec_prefix):
1104 Let configure set them.
1106 1994-09-28 David J. MacKenzie <djm@gnu.org>
1108 * Makefile.in: Set datadir to $(prefix)/share.
1110 1994-09-15 Richard Stallman <rms@gnu.org>
1113 Update copyright notice and GPL version.
1115 1994-09-15 Richard Stallman <rms@gnu.org>
1118 Update copyright notice and GPL version.
1120 1994-07-12 Richard Stallman <rms@gnu.org>
1122 * src/reduce.c, src/reader.c:
1125 1994-05-05 David J. MacKenzie <djm@gnu.org>
1127 * Makefile.in: entered into RCS
1129 1994-03-26 Richard Stallman <rms@gnu.org>
1131 * src/bison.s1: entered into RCS
1133 1994-03-26 Richard Stallman <rms@gnu.org>
1135 * bison.simple: entered into RCS
1137 1994-03-25 Richard Stallman <rms@gnu.org>
1139 * src/main.c: entered into RCS
1141 1994-03-24 Richard Stallman <rms@gnu.org>
1143 * src/conflicts.c: entered into RCS
1145 1994-01-02 Richard Stallman <rms@gnu.org>
1147 * Makefile.in: *** empty log message ***
1149 1993-11-21 Richard Stallman <rms@gnu.org>
1151 * src/bison.s1: *** empty log message ***
1153 1993-11-21 Richard Stallman <rms@gnu.org>
1155 * doc/bison.texinfo: entered into RCS
1157 * doc/bison.texinfo: *** empty log message ***
1159 1993-11-21 Richard Stallman <rms@gnu.org>
1161 * bison.simple: *** empty log message ***
1163 1993-10-25 David J. MacKenzie <djm@gnu.org>
1165 * doc/bison.texinfo: *** empty log message ***
1167 1993-10-19 Richard Stallman <rms@gnu.org>
1169 * src/bison.s1: *** empty log message ***
1171 1993-10-19 Richard Stallman <rms@gnu.org>
1173 * bison.simple: *** empty log message ***
1175 1993-10-14 Richard Stallman <rms@gnu.org>
1177 * src/bison.s1: *** empty log message ***
1179 1993-10-14 Richard Stallman <rms@gnu.org>
1181 * bison.simple: *** empty log message ***
1183 1993-09-14 David J. MacKenzie <djm@gnu.org>
1185 * doc/bison.texinfo: *** empty log message ***
1187 1993-09-13 Noah Friedman <friedman@gnu.org>
1189 * Makefile.in: *** empty log message ***
1191 1993-09-10 Richard Stallman <rms@gnu.org>
1193 * src/conflicts.c: *** empty log message ***
1195 * src/system.h: entered into RCS
1197 1993-09-10 Richard Stallman <rms@gnu.org>
1199 * doc/bison.1: entered into RCS
1201 1993-09-06 Noah Friedman <friedman@gnu.org>
1203 * src/version.c: entered into RCS
1205 1993-09-06 Noah Friedman <friedman@gnu.org>
1207 * Makefile.in: *** empty log message ***
1209 1993-07-30 David J. MacKenzie <djm@gnu.org>
1211 * Makefile.in: *** empty log message ***
1213 1993-07-24 Richard Stallman <rms@gnu.org>
1215 * src/bison.s1: *** empty log message ***
1217 1993-07-24 Richard Stallman <rms@gnu.org>
1219 * bison.simple: *** empty log message ***
1221 1993-07-08 David J. MacKenzie <djm@gnu.org>
1223 * Makefile.in: *** empty log message ***
1225 1993-07-04 Richard Stallman <rms@gnu.org>
1227 * src/bison.s1: *** empty log message ***
1229 1993-07-04 Richard Stallman <rms@gnu.org>
1231 * bison.simple: *** empty log message ***
1233 1993-06-26 David J. MacKenzie <djm@gnu.org>
1235 * src/getargs.c: entered into RCS
1237 1993-06-26 David J. MacKenzie <djm@gnu.org>
1239 * doc/bison.texinfo: *** empty log message ***
1241 * doc/bison.1: New file.
1243 1993-06-25 Richard Stallman <rms@gnu.org>
1245 * src/getargs.c: New file.
1247 1993-06-16 Richard Stallman <rms@gnu.org>
1249 * src/bison.s1: *** empty log message ***
1251 1993-06-16 Richard Stallman <rms@gnu.org>
1253 * bison.simple: *** empty log message ***
1255 1993-06-03 Richard Stallman <rms@gnu.org>
1257 * src/bison.s1: New file.
1259 1993-06-03 Richard Stallman <rms@gnu.org>
1261 * doc/bison.texinfo: *** empty log message ***
1263 1993-06-03 Richard Stallman <rms@gnu.org>
1265 * bison.simple: New file.
1267 1993-05-19 Richard Stallman <rms@gnu.org>
1269 * doc/bison.texinfo: New file.
1271 1993-05-07 Noah Friedman <friedman@gnu.org>
1273 * Makefile.in: *** empty log message ***
1275 1993-04-28 Noah Friedman <friedman@gnu.org>
1277 * src/reader.c: *** empty log message ***
1279 1993-04-23 Noah Friedman <friedman@gnu.org>
1281 * src/alloc.h: entered into RCS
1283 1993-04-20 David J. MacKenzie <djm@gnu.org>
1285 * src/version.c: *** empty log message ***
1287 * src/files.c, src/allocate.c:
1290 * src/reader.c: *** empty log message ***
1292 * src/lex.c: entered into RCS
1294 * src/conflicts.c: New file.
1296 * src/symtab.c: entered into RCS
1298 * src/alloc.h: New file.
1300 * src/LR0.c: entered into RCS
1302 1993-04-18 Noah Friedman <friedman@gnu.org>
1304 * src/reader.c: New file.
1306 * src/version.c: *** empty log message ***
1308 1993-04-18 Noah Friedman <friedman@gnu.org>
1310 * Makefile.in: *** empty log message ***
1312 1993-04-17 Noah Friedman <friedman@gnu.org>
1314 * Makefile.in: *** empty log message ***
1316 1993-04-15 Richard Stallman <rms@gnu.org>
1318 * src/main.c, src/files.c:
1321 1993-04-15 Noah Friedman <friedman@gnu.org>
1323 * configure.in: entered into RCS
1325 * configure.in: *** empty log message ***
1327 * configure.in: New file.
1329 1993-04-14 Richard Stallman <rms@gnu.org>
1331 * Makefile.in: New file.
1333 1993-04-13 Richard Stallman <rms@gnu.org>
1335 * src/version.c: New file.
1337 1993-03-25 Richard Stallman <rms@gnu.org>
1339 * src/output.c: entered into RCS
1341 1992-09-25 Richard Stallman <rms@gnu.org>
1343 * configure.bat: entered into RCS
1345 1992-06-22 Richard Stallman <rms@gnu.org>
1347 * src/vmsgetargs.c: entered into RCS
1349 1992-06-22 Richard Stallman <rms@gnu.org>
1351 * doc/bison.rnh: entered into RCS
1353 1992-04-20 David J. MacKenzie <djm@gnu.org>
1355 * README: entered into RCS
1357 1992-01-22 Richard Stallman <rms@gnu.org>
1359 * src/machine.h: entered into RCS
1361 1991-12-21 Richard Stallman <rms@gnu.org>
1363 * src/lalr.c, src/closure.c:
1366 1991-12-20 Richard Stallman <rms@gnu.org>
1368 * src/state.h: entered into RCS
1370 1991-12-18 Richard Stallman <rms@gnu.org>
1372 * src/print.c, src/nullable.c, src/derives.c:
1375 1991-11-03 David J. MacKenzie <djm@gnu.org>
1377 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1380 1988-09-09 Richard Stallman <rms@gnu.org>
1382 * src/bison.hairy: entered into RCS
1384 1987-12-16 Richard Stallman <rms@gnu.org>
1386 * REFERENCES: entered into RCS