1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/reader.h: New file.
4 Propagate its use instead of tedious list of `extern' and
6 * src/reader.c: Formatting changes, topological sort,
10 2000-10-02 Akim Demaille <akim@epita.fr>
12 * src/lex.h: Prototype `lex.c' exported functions.
13 * src/reader.c: Adjust.
14 * src/lex.c: Formatting changes.
15 (safegetc): Rename as...
19 2000-10-02 Akim Demaille <akim@epita.fr>
21 * src/lalr.h: New file.
22 Propagate its inclusion instead of prototypes and `extern'.
23 * src/lalr.c: Formatting changes, topological sorting etc.
26 2000-10-02 Akim Demaille <akim@epita.fr>
28 * src/output.c (token_actions): Introduce a temporary array,
29 YYDEFACT, that makes it possible for this function to use
33 2000-10-02 Akim Demaille <akim@epita.fr>
35 `user_toknums' is output as a `short[]' in `output.c', while it is
36 defined as a `int[]' in `reader.c'. For consistency with the
37 other output tables, `user_toknums' is now defined as a table of
40 * src/reader.c (user_toknums): Be a short table instead of an int
44 Factor the short table outputs.
46 * src/output.c (output_short_table): New function.
47 * src/output.c (output_gram, output_stos, output_rule_data)
48 (output_base, output_table, output_check): Use it.
50 2000-10-02 Akim Demaille <akim@epita.fr>
52 * src/output.c (output): Topological sort of the functions, in
53 order to get rid of the `static' prototypes.
54 No longer use `register'.
55 * src/output.h: New file.
56 Propagate its inclusion in files explicitly prototyping functions
59 2000-09-21 Akim Demaille <akim@epita.fr>
61 * src/atgeneral.m4: Update from Autoconf.
63 2000-09-21 Akim Demaille <akim@epita.fr>
65 * src/closure.h: New file.
66 * src/closure.c: Formatting changes, topological sort over the
67 functions, use of closure.h.
68 (initialize_closure, finalize_closure): Rename as...
69 (new_closure, free_closure): these. Adjust dependencies.
70 * src/LR0.c: Formatting changes, topological sort, use of
72 (initialize_states): Rename as...
74 * src/Makefile.am (noinst_HEADERS): Adjust.
76 2000-09-20 Akim Demaille <akim@epita.fr>
78 * src/acconfig.h: Don't protect config.h against multiple
81 * src/system.h: Define PARAMS.
82 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
83 purpose of config.h. system.h must not try to fix wrong
84 definitions in config.h.
86 2000-09-20 Akim Demaille <akim@epita.fr>
88 * src/derives.h: New file.
89 * src/main.c, src/derives.h: Use it.
91 * src/Makefile.am (noinst_HEADERS): Adjust.
93 2000-09-20 Akim Demaille <akim@epita.fr>
95 * tests/atgeneral.m4: Update from Autoconf.
96 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
97 (AT_CHECK_CALC): New macros.
98 Use these macros to test bison with options `', `--raw',
99 `--debug', `--yacc', `--yacc --debug'.
101 2000-09-19 Akim Demaille <akim@epita.fr>
103 * src/output.c: Formatting changes.
104 * src/machine.h: Remove, leaving its contents in...
105 * src/system.h: here.
107 Adjust all dependencies on stdio.h and machine.h.
108 * src/getargs.h: New file.
109 Let all `extern' declarations about getargs.c be replaced with
110 inclusion of `getargs.h'.
111 * src/Makefile.am (noinst_HEADERS): Adjust.
113 * tests/calc.m4 (yyin): Be initialized in main, not on the global
115 (yyerror): Returns void, not int.
116 * doc/bison.texinfo: Formatting changes.
118 2000-09-19 Akim Demaille <akim@epita.fr>
120 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
123 2000-09-18 Akim Demaille <akim@epita.fr>
125 * configure.in: Append WARNING_CFLAGS to CFLAGS.
126 * src/Makefile.am (INCLUDES): Don't.
127 Be ready to fetch headers in lib/.
129 2000-09-18 Akim Demaille <akim@epita.fr>
131 * doc/bison.texinfo: Update the copyright.
132 ANSIfy and GNUify the examples.
135 2000-09-18 Akim Demaille <akim@epita.fr>
137 First set of tests: use the `calc' example from the documentation.
139 * src/bison.s1 (yyparse): Condition the code using `yytname' which
140 is defined only when YYDEBUG is.
141 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
142 * src/files.c (tryopen, tryclose): Formatting changes.
143 Move to the top and be static.
144 * src/reader.c (read_signed_integer): Likewise.
145 * tests/calc.m4: New file.
146 * Makefile.am, suite.m4: Adjust.
147 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
149 2000-09-18 Akim Demaille <akim@epita.fr>
151 Add support for an Autotest test suite for Bison.
153 * m4/m4.m4, m4/atconfig.m4: New files.
154 * m4/Makefile.am (EXTRA_DIST): Adjust.
155 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
157 * src/getargs.c: Display a more standard --version message.
158 * src/reader.c (reader): Formatting changes.
159 No longer depend upon VERSION_STRING.
160 * configure.in: No longer use `dnl'.
161 Set up the test suite and the new directory `tests/.
162 (VERSION_STRING): Remove.
164 2000-04-14 Akim Demaille <akim@epita.fr>
166 * src/reader.c (copy_comment2): New function, same as former
167 `copy_comment', but outputs into two FILE *.
168 (copy_comment): Use it.
169 (parse_union_decl): Use it.
170 (get_type, parse_start_decl): Use the same `invalid' message.
171 (parse_start_decl, parse_union_decl): Use the same `multiple'
173 (parse_union_decl, copy_guard, copy_action): Use the same
175 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
177 2000-03-31 Akim Demaille <akim@epita.fr>
179 * src/files.c (tryopen, tryclose): Move to the top.
182 2000-03-31 Akim Demaille <akim@epita.fr>
184 * src/main.c (main): Don't call `done', exit does it.
186 2000-03-31 Akim Demaille <akim@epita.fr>
188 * allocate.c: s/return (foo)/return foo/.
191 * output.c: Likewise.
192 * reader.c: Likewise.
193 * symtab.c: Likewise.
194 * vmsgetargs.c: Likewise.
196 2000-03-31 Akim Demaille <akim@epita.fr>
198 Clean up the error reporting functions.
200 * src/report.c: New file.
201 * src/report.h: Likewise.
202 * src/Makefile.am: Adjust.
203 * m4/error.m4: New file.
204 * m4/Makefile.am: Adjust.
205 * configure.in (jm_PREREQ_ERROR): Call it.
206 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
208 (fatal, fatals): Remove. All callers use complain.c::fatal.
209 (warn, warni, warns, warnss, warnss): Remove. All callers use
210 complain.c::complain.
211 (toomany): Remove, use fatal instead.
212 * src/files.c (done): No argument, use complain_message_count.
213 * src/main.c (main): Register `done' to `atexit'.
215 * src/getargs.c (usage): More `fputs', less `fprintf'.
217 2000-03-28 Akim Demaille <akim@epita.fr>
219 * lib/: New directory.
220 * Makefile.am (SUBDIRS): Adjust.
221 * configure.in: Adjust.
222 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
224 * src/alloca.c: Moved to lib/.
225 * src/getopt.c: Likewise.
226 * src/getopt1.c: Likewise.
227 * src/getopt.h: Likewise.
228 * src/ansi2knr.c: Likewise.
229 * src/ansi2knr.1: Likewise.
230 * src/Makefile.am: Adjust.
231 * lib/Makefile.am: New file.
233 2000-03-28 Akim Demaille <akim@epita.fr>
235 * src/getargs.c (usage): Refresh the help message.
237 2000-03-17 Akim Demaille <akim@epita.fr>
239 * src/getopt1.c: Updated from textutils 2.0e
240 * src/getopt.c: Likewise.
241 * src/getopt.h: Likewise.
243 2000-03-17 Akim Demaille <akim@epita.fr>
245 * src/Makefile.am (bison.simple): Fix the awk program: quote only
246 the file name, not the whole `#line LINE FILE'.
248 2000-03-17 Akim Demaille <akim@epita.fr>
250 On syntax errors, report the token on which we choked.
252 * src/bison.s1 (yyparse): In the label yyerrlab, when
253 YYERROR_VERBOSE, add yychar in msg.
255 2000-03-17 Akim Demaille <akim@epita.fr>
257 * src/reader.c (copy_at): New function.
258 (copy_guard): Use it.
259 (copy_action): Use it.
261 2000-03-17 Akim Demaille <akim@epita.fr>
263 Be kind to translators, save some useless translations.
265 * src/main.c (banner): New function.
266 (fatal_banner): Use it.
267 (warn_banner): Use it.
269 2000-03-17 Akim Demaille <akim@epita.fr>
271 * src/reader.c (copy_definition): Use copy_string and
272 copy_comment. Removed now unused `match', `ended',
274 (copy_comment, copy_string): Moved, to be visible from
277 2000-03-17 Akim Demaille <akim@epita.fr>
279 * src/reader.c (copy_string): Declare `static inline'. No
280 problems with inline, since it is checked by configure.
281 (copy_comment): Likewise.
283 2000-03-17 Akim Demaille <akim@epita.fr>
285 * src/reader.c (packsymbols): Formatting changes.
287 2000-03-17 Akim Demaille <akim@epita.fr>
289 * src/reader.c (copy_comment): New function, factored out from:
290 (copy_action): Use it. Removed now unused `match', `ended',
292 (copy_guard): Likewise.
294 2000-03-17 Akim Demaille <akim@epita.fr>
296 * src/reader.c (copy_string): New function, factored out from:
297 (copy_action): Use it.
298 (copy_guard): Likewise.
300 2000-03-17 Akim Demaille <akim@epita.fr>
302 Change the handling of @s so that they behave exactly like $s.
303 There is now a pseudo variable @$ (readble and writable), location
304 of the lhs of the rule (by default ranging from the location of
305 the first symbol of the rhs, to the location of the last symbol,
306 or, if the rhs is empty, YYLLOC).
308 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
310 (yyparse): When providing a default semantic action, provide a
311 default location action.
312 (after the $): No longer change `*YYLSP', just stack YYLOC the
313 same way you stack YYVAL.
314 * src/reader.c (read_declarations): Use warns.
315 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
316 (copy_action, case '@'): Likewise.
317 Use a standard error message, to save useless work from
320 2000-03-17 Akim Demaille <akim@epita.fr>
322 * src/bison.s1: Formatting and cosmetics changes.
323 * src/reader.c: Likewise.
324 Update the Copyright notice.
326 2000-03-17 Akim Demaille <akim@epita.fr>
328 * src/bison.s1 (#line): All set to `#line' only, since the
329 Makefile now handles them.
331 2000-03-16 Akim Demaille <akim@epita.fr>
333 * src/output.c (output_rule_data): Output the documentation of
335 (Copyright notice): Update.
338 2000-03-16 Akim Demaille <akim@epita.fr>
340 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
341 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
342 One `#if YYDEBUG' remains, since it uses variables which are
343 defined only if `YYDEBUG != 0'.
345 2000-03-16 Akim Demaille <akim@epita.fr>
347 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
348 and related variables so that the similarities are highlighted.
350 2000-03-16 Akim Demaille <akim@epita.fr>
352 * src/bison.s1: Properly indent CPP directives.
354 2000-03-16 Akim Demaille <akim@epita.fr>
356 * src/bison.s1: Properly indent the `alloca' CPP section.
358 2000-03-16 Akim Demaille <akim@epita.fr>
360 Do not hard code values of directories in `configure.in'.
361 Update the `configure' tool chain.
363 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
365 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
366 (AC_OUTPUT): Add m4/Makefile.
367 Bump to bison 1.28a, 1.29 has never been released.
368 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
369 handled via src/Makefile.am.
370 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
371 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
373 * Makefile.am (SUBDIRS): Add m4.
374 (ACLOCAL_AM_FLAGS): New variable.
375 (AUTOMAKE_OPTIONS): Add check-news.
376 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
377 the proper line number and file name.
378 (DEFS): Propagate the location of bison library files and of the
380 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
382 * acinclude.m4: Remove, replaced by the directory m4.
383 * m4/Makefile.am (EXTRA_DIST): New variable.
384 * m4/gettext.m4: New file, from the fileutils.
385 * m4/lcmessage.m4: Likewise
386 * m4/progtest.m4: Likewise.
387 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
389 2000-03-10 Akim Demaille <akim@epita.fr>
392 Formatting changes of various comments.
393 Respect the GNU coding standards at various places.
394 Don't use `_()' when no translation is needed.
396 1999-12-13 Jesse Thilo <jthilo@gnu.org>
399 OS/2 honors TMPDIR environment variable.
401 1999-12-13 Jesse Thilo <jthilo@gnu.org>
403 * doc/bison.texinfo: Tweaked spelling and grammar.
405 Removed reference to price of printed copy.
406 Mention BISON_SIMPLE and BISON_HAIRY.
408 1999-12-13 Jesse Thilo <jthilo@gnu.org>
410 * configure.in, NEWS:
413 1999-10-27 Jesse Thilo <jthilo@gnu.org>
415 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
416 Added reference card.
418 1999-07-26 Jesse Thilo <jthilo@gnu.org>
420 * po/ru.po: Added Russian translation.
422 1999-07-26 Jesse Thilo <jthilo@gnu.org>
424 * configure.in: Added Russian translation.
426 1999-07-06 Jesse Thilo <jthilo@gnu.org>
428 * configure.in, NEWS, README:
429 Released version 1.28.
431 1999-06-14 Jesse Thilo <jthilo@gnu.org>
434 Squashed redefinition warning on some systems.
436 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
437 Have configure build version string instead of relying on ANSI string
440 1999-06-14 Jesse Thilo <jthilo@gnu.org>
442 * po/POTFILES.in: Got rid of version.c.
444 1999-06-14 Jesse Thilo <jthilo@gnu.org>
446 * acconfig.h, configure.in:
447 Have configure build version string instead of relying on ANSI string
450 1999-06-08 Jesse Thilo <jthilo@gnu.org>
453 Dropped mention of `+' for long-named options.
455 1999-05-30 Jesse Thilo <jthilo@gnu.org>
457 * src/files.c: Added <unistd.h> for unlink().
459 * src/Makefile.am, src/system.h:
462 1999-05-30 Jesse Thilo <jthilo@gnu.org>
464 * README: Added a FAQ list.
466 * configure.in, acconfig.h:
469 1999-05-30 Jesse Thilo <jthilo@gnu.org>
471 * doc/FAQ, doc/Makefile.am:
474 1999-05-19 Jesse Thilo <jthilo@gnu.org>
476 * src/alloc.h, src/symtab.h, src/version.c:
477 Protected inclusion of "config.h" with HAVE_CONFIG_H.
479 1999-04-18 Jesse Thilo <jthilo@gnu.org>
481 * src/.cvsignore, src/Makefile.am:
482 Reorganized: sources in `src', documentation in `doc'.
484 * src/lex.c (literalchar):
485 fixed the code for escaping double quotes (thanks
488 1999-04-18 Jesse Thilo <jthilo@gnu.org>
490 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
491 Adjusted paths to reflect directory reorganization.
493 1999-04-18 Jesse Thilo <jthilo@gnu.org>
495 * doc/.cvsignore, doc/Makefile.am:
496 Reorganized: sources in `src', documentation in `doc'.
498 1999-04-18 Jesse Thilo <jthilo@gnu.org>
501 Updated AC_INIT file to reflect directory reorganization.
503 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
504 Reorganized: sources in `src', documentation in `doc'.
506 1999-04-13 Jesse Thilo <jthilo@gnu.org>
509 Don't declare calloc() and realloc() if not necessary.
511 1999-04-13 Jesse Thilo <jthilo@gnu.org>
513 * configure.in, acconfig.h, acinclude.m4:
514 Don't declare calloc() and realloc() if not necessary.
516 1999-03-23 Jesse Thilo <jthilo@gnu.org>
518 * po/.cvsignore: Added i18n support.
520 1999-03-23 Jesse Thilo <jthilo@gnu.org>
522 * acconfig.h, configure.in, Makefile.am:
525 1999-03-22 Jesse Thilo <jthilo@gnu.org>
527 * src/bison.s1: Fixed #line numbers.
529 1999-03-15 Jesse Thilo <jthilo@gnu.org>
531 * po/es.po, po/fr.po, po/nl.po, po/de.po:
532 Added PO files from Translation Project.
534 1999-03-03 Jesse Thilo <jthilo@gnu.org>
537 Added support for non-ANSI compilers (ansi2knr).
539 1999-02-16 Jesse Thilo <jthilo@gnu.org>
541 * configure.in: Bumped version number to 1.27.
544 Added `bison.simple' to list of files removed by `make distclean'.
546 1999-02-12 Jesse Thilo <jthilo@gnu.org>
548 * src/files.c, src/files.h:
549 Defined locations of parser files in config.h instead of Makefile.
551 1999-02-12 Jesse Thilo <jthilo@gnu.org>
553 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
554 Defined locations of parser files in config.h instead of Makefile.
556 1999-02-09 Jesse Thilo <jthilo@gnu.org>
559 Removed inappropriate use of $< macro.
561 1999-02-05 Jesse Thilo <jthilo@gnu.org>
563 * po/Makefile.in.in, po/POTFILES.in:
564 Add `po' directory skeleton.
566 1999-01-27 Jesse Thilo <jthilo@gnu.org>
568 * README: Document help-bison list.
570 * configure.in: Add check for mkstemp().
572 1999-01-20 Jesse Thilo <jthilo@gnu.org>
574 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
575 Hush a few compiler warnings.
578 Add tryclose(), which verifies that fclose was successful.
579 Hush a couple of compiler warnings.
581 1999-01-20 Jesse Thilo <jthilo@gnu.org>
583 * Makefile.am, OChangeLog:
584 ChangeLog is now automatically generated. Include the old version as
587 1999-01-14 Jesse Thilo <jthilo@gnu.org>
589 * 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:
592 1999-01-14 Jesse Thilo <jthilo@gnu.org>
594 * doc/bison.texinfo: Fix formatting glitch.
596 * doc/bison.texinfo: Update FSF address.
598 1999-01-14 Jesse Thilo <jthilo@gnu.org>
600 * acconfig.h: Update FSF address.
602 1999-01-08 Jesse Thilo <jthilo@gnu.org>
605 Don't define PACKAGE here, since config.h defines it.
607 1998-12-30 Jesse Thilo <jthilo@gnu.org>
609 * src/reader.c: Update copyright date.
612 Ditch sprintf to statically-sized buffers in fatal/warn functions in
613 favor of output directly to stderr (avoids buffer overruns).
615 * src/reader.c: Some checks for premature EOF.
617 * 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:
618 Use prototypes if the compiler understands them.
620 * src/files.c: Honor TMPDIR on Unix hosts.
621 Use prototypes if the compiler understands them.
624 Fix a couple of buffer overrun bugs.
625 Use prototypes if the compiler understands them.
627 * src/system.h: Include unistd.h and ctype.h.
628 Use #ifdef instead of #if for NLS symbols.
630 1998-12-30 Jesse Thilo <jthilo@gnu.org>
633 Delete comment "consider using @set for edition number, etc..." since
636 1998-12-30 Jesse Thilo <jthilo@gnu.org>
639 Use prototypes if the compiler understands them.
641 * NEWS: Document 1.26 highlights.
643 * Makefile.am: Require Automake 1.3 or later.
646 Use prototypes if the compiler understands them.
648 1998-12-29 Jesse Thilo <jthilo@gnu.org>
651 Use VERSION symbol from automake for version number.
653 1998-12-29 Jesse Thilo <jthilo@gnu.org>
655 * acconfig.h, configure.in, version.cin:
656 Use VERSION symbol from automake for version number.
658 1998-11-28 Jesse Thilo <jthilo@gnu.org>
661 Distribute original version of simple parser (bison.s1), not built
662 version (bison.simple).
664 1998-11-28 Jesse Thilo <jthilo@gnu.org>
666 * doc/bison.texinfo: Add info dir entry.
669 Let automake put version number into documentation.
671 1998-11-26 Jesse Thilo <jthilo@gnu.org>
673 * src/bison.cld, src/build.com, src/vmshlp.mar:
674 Add non-RCS files from /gd/gnu/bison.
676 1998-11-26 Jesse Thilo <jthilo@gnu.org>
679 Document the BISON_HAIRY and BISON_SIMPLE variables.
681 1998-11-25 Jesse Thilo <jthilo@gnu.org>
683 * src/version.c: Build version.c automatically.
686 Fix token numbering (used to start at 258, not 257).
688 * src/system.h: Include config.h.
690 * src/getargs.c: Update bug report address.
692 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
693 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
695 1998-11-25 Jesse Thilo <jthilo@gnu.org>
698 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
700 * configure.in, version.cin:
701 Build version.c automatically.
703 * AUTHORS: Add AUTHORS file.
705 * README: Update bug report address.
708 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
710 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
713 1998-11-25 Jesse Thilo <jthilo@gnu.org>
715 * doc/bison.texinfo: Clean up some formatting.
717 1998-05-05 Richard Stallman <rms@gnu.org>
720 Explain better why to make a pure parser.
722 1998-01-05 Richard Stallman <rms@gnu.org>
724 * src/files.c (openfiles):
725 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
726 find a temporary directory, if possible. Do not unlink files while
729 1997-08-25 Richard Stallman <rms@gnu.org>
731 * src/reader.c (stack_offset;):
732 Change some warni to warns.
734 * src/lex.c (literalchar): Use warns, not warni.
736 1997-06-28 Richard Stallman <rms@gnu.org>
738 * src/bison.s1: Add a Bison version comment.
740 * src/main.c (fatal, warn, berror):
743 1997-06-28 Richard Stallman <rms@gnu.org>
745 * Makefile.in (bison_version): New variable.
746 (dist): Use that variable.
747 (bison.s1): Substitute the Bison version into bison.simple.
749 * bison.simple: Add a Bison version comment.
751 1997-06-18 Richard Stallman <rms@gnu.org>
753 * src/main.c (fatal, warn, berror):
754 Make error messages standard.
755 (toomany): Improve error message text.
757 * 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:
758 new.h renamed to alloc.h.
760 1997-06-18 Richard Stallman <rms@gnu.org>
762 * Makefile.in: new.h renamed to alloc.h.
764 1997-05-24 Richard Stallman <rms@gnu.org>
766 * src/lex.c (literalchar):
767 Fix the code for escaping \, " and '.
769 (lex): Avoid trouble when there are many chars
770 to discard in a char literal with just several chars in it.
772 1997-05-17 Richard Stallman <rms@gnu.org>
775 Use malloc, if using alloca is troublesome.
776 (YYSTACK_USE_ALLOCA): New flag macro.
777 Define it for some systems and compilers.
778 (YYSTACK_ALLOC): New macro.
779 (yyparse): Use YYSTACK_ALLOC to allocate stack.
780 If it was malloc'd, free it.
782 1997-05-17 Richard Stallman <rms@gnu.org>
785 Use malloc, if using alloca is troublesome.
786 (YYSTACK_USE_ALLOCA): New flag macro.
787 Define it for some systems and compilers.
788 (YYSTACK_ALLOC): New macro.
789 (yyparse): Use YYSTACK_ALLOC to allocate stack.
790 If it was malloc'd, free it.
792 1997-04-23 Richard Stallman <rms@gnu.org>
795 (alloca) [__hpux]: Always define as __builtin_alloca.
797 1997-04-23 Richard Stallman <rms@gnu.org>
800 (alloca) [__hpux]: Always define as __builtin_alloca.
802 1997-04-22 Richard Stallman <rms@gnu.org>
805 [__hpux]: Include alloca.h (right for HPUX 10)
806 instead of declaring alloca (right for HPUX 9).
808 * src/bison.s1 (__yy_memcpy):
809 Declare arg `count' as unsigned int.
810 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
812 1997-04-22 Richard Stallman <rms@gnu.org>
815 [__hpux]: Include alloca.h (right for HPUX 10)
816 instead of declaring alloca (right for HPUX 9).
818 * bison.simple (__yy_memcpy):
819 Declare arg `count' as unsigned int.
820 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
822 1997-01-03 Richard Stallman <rms@gnu.org>
824 * src/allocate.c: [__STDC__ or _MSC_VER]:
825 Declare calloc and realloc to return void *.
827 1997-01-02 Richard Stallman <rms@gnu.org>
830 [_MSC_VER]: Include stdlib.h and process.h.
831 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
833 * src/main.c (main): Return FAILURE as a value.
834 (printable_version): Declare arg as int, not char.
836 1997-01-02 Richard Stallman <rms@gnu.org>
838 * Makefile.in (dist):
839 Explicitly check for symlinks, and copy them.
841 1996-12-19 Richard Stallman <rms@gnu.org>
844 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
846 1996-12-18 Paul Eggert <eggert@gnu.org>
848 * src/bison.s1 (yyparse):
849 If __GNUC__ and YYPARSE_PARAM are both defined,
850 declare yyparse to have a void * argument.
852 1996-12-18 Paul Eggert <eggert@gnu.org>
854 * bison.simple (yyparse):
855 If __GNUC__ and YYPARSE_PARAM are both defined,
856 declare yyparse to have a void * argument.
858 1996-12-17 Richard Stallman <rms@gnu.org>
860 * src/reduce.c (nbits): Add some casts.
862 1996-08-12 Richard Stallman <rms@gnu.org>
864 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
866 1996-08-12 Richard Stallman <rms@gnu.org>
868 * bison.simple: Test _MSDOS as well as _MSDOS_.
870 1996-07-31 Richard Stallman <rms@gnu.org>
873 [__sun && __i386]: Include alloca.h.
875 1996-07-31 Richard Stallman <rms@gnu.org>
878 [__sun && __i386]: Include alloca.h.
880 1996-07-30 Richard Stallman <rms@gnu.org>
882 * src/bison.s1: Comment change.
884 * src/bison.s1: Test _MSDOS_, not MSDOS.
886 1996-07-30 Richard Stallman <rms@gnu.org>
888 * bison.simple: Comment change.
890 * bison.simple: Test _MSDOS_, not MSDOS.
892 1996-06-01 Richard Stallman <rms@gnu.org>
894 * 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:
895 Insert `_' macro around many string constants.
898 Insert `_' macro around many string constants.
900 (main): Call setlocale, bindtextdomain and textdomain.
902 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
903 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
904 [ENABLE_NLS]: Include libintl.h.
905 [ENABLE_NLS] (gettext): Define.
906 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
907 (N_, PACKAGE, LOCALEDIR): New macros.
909 1996-06-01 Richard Stallman <rms@gnu.org>
911 * POTFILES.in: New file.
913 * Makefile.in (allocate.o):
914 Define target explicitly.
916 * Makefile.in (CFLAGS): Set to @CFLAGS@.
917 (LDFLAGS): Set to @LDFLAGS@.
918 (configure): Run autoconf only if preceding `cd' succeeds.
919 (bison.s1): Redirect output to temporary file then move the
920 temporary to the target, rather than redirecting directly to bison.s1.
921 (clean): Remove config.status and config.log.
922 (distclean): Don't remove config.status here.
924 1996-05-12 Richard Stallman <rms@gnu.org>
927 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
929 1996-05-12 Richard Stallman <rms@gnu.org>
932 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
934 1996-05-11 Richard Stallman <rms@gnu.org>
936 * src/bison.s1 (__yy_memcpy):
937 Really reorder the args, as was supposedly done on Feb 14 1995.
938 (yyparse): Calls changed accordingly.
940 1996-05-11 Richard Stallman <rms@gnu.org>
942 * Makefile.in (dist): Don't use $(srcdir).
944 * bison.simple (__yy_memcpy):
945 Really reorder the args, as was supposedly done on Feb 14 1995.
946 (yyparse): Calls changed accordingly.
948 1996-01-27 Richard Stallman <rms@gnu.org>
950 * src/output.c (output_rule_data):
951 Test YYERROR_VERBOSE in the conditional
952 around the definition of ttyname.
954 1995-12-29 Richard Stallman <rms@gnu.org>
957 Fix line numbers in #line commands.
959 1995-12-29 Richard Stallman <rms@gnu.org>
962 Fix line numbers in #line commands.
964 1995-12-27 Richard Stallman <rms@gnu.org>
966 * src/bison.s1 (YYPARSE_PARAM_DECL):
967 In C++, make it always null.
968 (YYPARSE_PARAM_ARG): New macro.
969 (yyparse): Use YYPARSE_PARAM_ARG.
971 1995-12-27 Richard Stallman <rms@gnu.org>
973 * bison.simple (YYPARSE_PARAM_DECL):
974 In C++, make it always null.
975 (YYPARSE_PARAM_ARG): New macro.
976 (yyparse): Use YYPARSE_PARAM_ARG.
978 1995-11-29 Richard Stallman <rms@gnu.org>
981 Describe literal string tokens, %raw, %no_lines, %token_table.
983 1995-11-29 Daniel Hagerty <hag@gnu.org>
985 * doc/bison.texinfo: Fixed update date
987 1995-10-16 Richard Stallman <rms@gnu.org>
989 * src/version.c: Version 1.25.
991 1995-10-16 Richard Stallman <rms@gnu.org>
993 * NEWS: *** empty log message ***
995 1995-10-16 Richard Stallman <rms@gnu.org>
997 * doc/bison.1, doc/bison.rnh:
1000 1995-10-15 Richard Stallman <rms@gnu.org>
1002 * src/vmsgetargs.c, src/getargs.c:
1003 Added -n, -k, and -raw switches.
1004 (noparserflag, toknumflag, rawtoknumflag): New variables.
1006 * src/symtab.h (SALIAS):
1007 New #define for adding aliases to %token.
1008 (struct bucket): Added `alias' field.
1010 * src/reduce.c (reduce_grammar):
1011 Revise error message.
1012 (print_notices): Remove final `.' from error message.
1014 * src/reader.c (reader_output_yylsp):
1016 (readgram): Use `#if 0' around code that accepted %command
1017 inside grammar rules: The documentation doesn't allow it,
1018 and it will fail since the %command processors scan for the next %.
1019 (parse_token_decl): Extended the %token
1020 declaration to allow a multi-character symbol as an alias.
1021 (parse_thong_decl): New function.
1022 (read_declarations): Added %thong declarations.
1023 (read_declarations): Handle NOOP to deal with allowing
1024 % declarations as another means to specify the flags.
1025 (readgram): Allow %prec prior to semantics embedded in a rule.
1026 (skip_to_char, read_declarations, copy_definition)
1027 (parse_token_decl, parse_start_decl, parse_type_decl)
1028 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1029 (get_type_name, copy_guard, copy_action, readgram)
1030 (get_type, packsymbols): Revised most error messages.
1031 Changed `fatal' to `warnxxx' to avoid aborting for error.
1032 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1033 (read_declarations): Improve the error message for
1034 an invalid character. Do not abort.
1035 (read_declarations, copy_guard, copy_action): Use
1036 printable_version to avoid unprintable characters in printed output.
1037 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1038 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1039 Allow the type of a non-terminal can be given
1040 more than once, as long as all specifications give the same type.
1043 (output_headers, output_trailers, output, output_gram)
1044 (output_rule_data): Implement noparserflag variable.
1045 Implement toknumflag variable.
1046 (output): Call reader_output_yylsp to output LTYPESTR.
1048 * src/main.c (main):
1049 If reader sees an error, don't process the grammar.
1050 (fatals): Updated to not use VARARGS1.
1051 (printable_version, int_to_string, warn, warni, warns, warnss)
1052 (warnsss): New error reporting functions. Avoid abort for error.
1055 Added THONG and NOOP for alias processing.
1056 Added SETOPT for the new code that allows setting options with %flags.
1059 Include getopt.h. Add some extern decls.
1060 (safegetc): New function to deal with EOF gracefully.
1061 (literalchar); new function to deal with reading \ escapes.
1062 (lex): Use literalchar.
1063 (lex): Implemented "..." tokens.
1064 (literalchar, lex, parse_percent_token): Made tokenbuffer
1065 always contain the token. This includes growing the token
1066 buffer while reading an integer.
1067 (parse_percent_token): Replaced if-else statement with percent_table.
1068 (parse_percent_token): Added % declarations as another
1069 way to specify the flags -n, -l, and -r. Also added hooks for
1070 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1071 major changes to files.c.
1072 (lex) Retain in the incoming stream a character following
1074 (skip_white_space, lex): Revised most error messages
1075 and changed fatal to warn to avoid aborting.
1076 (percent_table): Added %thong declarations.
1078 * src/gram.h: Comment changes.
1080 * src/files.c (openfiles, open_extra_files, done):
1082 and actfile file. Handle noparserflag. Both for -n switch.
1084 * src/conflicts.c (resolve_sr_conflict):
1085 Remove use of alloca.
1087 1995-06-01 Jim Meyering <meyering@gnu.org>
1089 * doc/bison.texinfo: *** empty log message ***
1091 1995-05-06 Richard Stallman <rms@gnu.org>
1093 * src/bison.s1: Comment change.
1095 1995-05-06 Richard Stallman <rms@gnu.org>
1097 * bison.simple: Comment change.
1099 1995-05-03 Richard Stallman <rms@gnu.org>
1101 * src/version.c: Version now 1.24.
1103 * src/bison.s1: Change distribution terms.
1105 * src/version.c: Version now 1.23.
1107 1995-05-03 Richard Stallman <rms@gnu.org>
1109 * doc/bison.texinfo:
1110 Rewrite "Conditions for Using Bison".
1111 Update version to 1.24.
1113 1995-05-03 Richard Stallman <rms@gnu.org>
1115 * bison.simple: Change distribution terms.
1117 1995-02-23 Richard Stallman <rms@gnu.org>
1119 * src/files.c: Test __VMS_POSIX as well as VMS.
1121 1995-02-14 Jim Meyering <meyering@gnu.org>
1123 * src/bison.s1 (__yy_memcpy):
1124 Renamed from __yy_bcopy to avoid
1125 confusion. Reverse FROM and TO arguments to be consistent with
1128 1995-02-14 Jim Meyering <meyering@gnu.org>
1130 * bison.simple (__yy_memcpy):
1131 Renamed from __yy_bcopy to avoid
1132 confusion. Reverse FROM and TO arguments to be consistent with
1135 1994-11-10 David J. MacKenzie <djm@gnu.org>
1141 * Makefile.in (DISTFILES): Include NEWS.
1143 * Makefile.in (DISTFILES):
1144 Include install-sh, not install.sh.
1146 * configure.in: Update to Autoconf v2 macro names.
1148 1994-10-05 David J. MacKenzie <djm@gnu.org>
1150 * Makefile.in: fix typo
1152 * Makefile.in (prefix, exec_prefix):
1153 Let configure set them.
1155 1994-09-28 David J. MacKenzie <djm@gnu.org>
1157 * Makefile.in: Set datadir to $(prefix)/share.
1159 1994-09-15 Richard Stallman <rms@gnu.org>
1162 Update copyright notice and GPL version.
1164 1994-09-15 Richard Stallman <rms@gnu.org>
1167 Update copyright notice and GPL version.
1169 1994-07-12 Richard Stallman <rms@gnu.org>
1171 * src/reduce.c, src/reader.c:
1174 1994-05-05 David J. MacKenzie <djm@gnu.org>
1176 * Makefile.in: entered into RCS
1178 1994-03-26 Richard Stallman <rms@gnu.org>
1180 * src/bison.s1: entered into RCS
1182 1994-03-26 Richard Stallman <rms@gnu.org>
1184 * bison.simple: entered into RCS
1186 1994-03-25 Richard Stallman <rms@gnu.org>
1188 * src/main.c: entered into RCS
1190 1994-03-24 Richard Stallman <rms@gnu.org>
1192 * src/conflicts.c: entered into RCS
1194 1994-01-02 Richard Stallman <rms@gnu.org>
1196 * Makefile.in: *** empty log message ***
1198 1993-11-21 Richard Stallman <rms@gnu.org>
1200 * src/bison.s1: *** empty log message ***
1202 1993-11-21 Richard Stallman <rms@gnu.org>
1204 * doc/bison.texinfo: entered into RCS
1206 * doc/bison.texinfo: *** empty log message ***
1208 1993-11-21 Richard Stallman <rms@gnu.org>
1210 * bison.simple: *** empty log message ***
1212 1993-10-25 David J. MacKenzie <djm@gnu.org>
1214 * doc/bison.texinfo: *** empty log message ***
1216 1993-10-19 Richard Stallman <rms@gnu.org>
1218 * src/bison.s1: *** empty log message ***
1220 1993-10-19 Richard Stallman <rms@gnu.org>
1222 * bison.simple: *** empty log message ***
1224 1993-10-14 Richard Stallman <rms@gnu.org>
1226 * src/bison.s1: *** empty log message ***
1228 1993-10-14 Richard Stallman <rms@gnu.org>
1230 * bison.simple: *** empty log message ***
1232 1993-09-14 David J. MacKenzie <djm@gnu.org>
1234 * doc/bison.texinfo: *** empty log message ***
1236 1993-09-13 Noah Friedman <friedman@gnu.org>
1238 * Makefile.in: *** empty log message ***
1240 1993-09-10 Richard Stallman <rms@gnu.org>
1242 * src/conflicts.c: *** empty log message ***
1244 * src/system.h: entered into RCS
1246 1993-09-10 Richard Stallman <rms@gnu.org>
1248 * doc/bison.1: entered into RCS
1250 1993-09-06 Noah Friedman <friedman@gnu.org>
1252 * src/version.c: entered into RCS
1254 1993-09-06 Noah Friedman <friedman@gnu.org>
1256 * Makefile.in: *** empty log message ***
1258 1993-07-30 David J. MacKenzie <djm@gnu.org>
1260 * Makefile.in: *** empty log message ***
1262 1993-07-24 Richard Stallman <rms@gnu.org>
1264 * src/bison.s1: *** empty log message ***
1266 1993-07-24 Richard Stallman <rms@gnu.org>
1268 * bison.simple: *** empty log message ***
1270 1993-07-08 David J. MacKenzie <djm@gnu.org>
1272 * Makefile.in: *** empty log message ***
1274 1993-07-04 Richard Stallman <rms@gnu.org>
1276 * src/bison.s1: *** empty log message ***
1278 1993-07-04 Richard Stallman <rms@gnu.org>
1280 * bison.simple: *** empty log message ***
1282 1993-06-26 David J. MacKenzie <djm@gnu.org>
1284 * src/getargs.c: entered into RCS
1286 1993-06-26 David J. MacKenzie <djm@gnu.org>
1288 * doc/bison.texinfo: *** empty log message ***
1290 * doc/bison.1: New file.
1292 1993-06-25 Richard Stallman <rms@gnu.org>
1294 * src/getargs.c: New file.
1296 1993-06-16 Richard Stallman <rms@gnu.org>
1298 * src/bison.s1: *** empty log message ***
1300 1993-06-16 Richard Stallman <rms@gnu.org>
1302 * bison.simple: *** empty log message ***
1304 1993-06-03 Richard Stallman <rms@gnu.org>
1306 * src/bison.s1: New file.
1308 1993-06-03 Richard Stallman <rms@gnu.org>
1310 * doc/bison.texinfo: *** empty log message ***
1312 1993-06-03 Richard Stallman <rms@gnu.org>
1314 * bison.simple: New file.
1316 1993-05-19 Richard Stallman <rms@gnu.org>
1318 * doc/bison.texinfo: New file.
1320 1993-05-07 Noah Friedman <friedman@gnu.org>
1322 * Makefile.in: *** empty log message ***
1324 1993-04-28 Noah Friedman <friedman@gnu.org>
1326 * src/reader.c: *** empty log message ***
1328 1993-04-23 Noah Friedman <friedman@gnu.org>
1330 * src/alloc.h: entered into RCS
1332 1993-04-20 David J. MacKenzie <djm@gnu.org>
1334 * src/version.c: *** empty log message ***
1336 * src/files.c, src/allocate.c:
1339 * src/reader.c: *** empty log message ***
1341 * src/lex.c: entered into RCS
1343 * src/conflicts.c: New file.
1345 * src/symtab.c: entered into RCS
1347 * src/alloc.h: New file.
1349 * src/LR0.c: entered into RCS
1351 1993-04-18 Noah Friedman <friedman@gnu.org>
1353 * src/reader.c: New file.
1355 * src/version.c: *** empty log message ***
1357 1993-04-18 Noah Friedman <friedman@gnu.org>
1359 * Makefile.in: *** empty log message ***
1361 1993-04-17 Noah Friedman <friedman@gnu.org>
1363 * Makefile.in: *** empty log message ***
1365 1993-04-15 Richard Stallman <rms@gnu.org>
1367 * src/main.c, src/files.c:
1370 1993-04-15 Noah Friedman <friedman@gnu.org>
1372 * configure.in: entered into RCS
1374 * configure.in: *** empty log message ***
1376 * configure.in: New file.
1378 1993-04-14 Richard Stallman <rms@gnu.org>
1380 * Makefile.in: New file.
1382 1993-04-13 Richard Stallman <rms@gnu.org>
1384 * src/version.c: New file.
1386 1993-03-25 Richard Stallman <rms@gnu.org>
1388 * src/output.c: entered into RCS
1390 1992-09-25 Richard Stallman <rms@gnu.org>
1392 * configure.bat: entered into RCS
1394 1992-06-22 Richard Stallman <rms@gnu.org>
1396 * src/vmsgetargs.c: entered into RCS
1398 1992-06-22 Richard Stallman <rms@gnu.org>
1400 * doc/bison.rnh: entered into RCS
1402 1992-04-20 David J. MacKenzie <djm@gnu.org>
1404 * README: entered into RCS
1406 1992-01-22 Richard Stallman <rms@gnu.org>
1408 * src/machine.h: entered into RCS
1410 1991-12-21 Richard Stallman <rms@gnu.org>
1412 * src/lalr.c, src/closure.c:
1415 1991-12-20 Richard Stallman <rms@gnu.org>
1417 * src/state.h: entered into RCS
1419 1991-12-18 Richard Stallman <rms@gnu.org>
1421 * src/print.c, src/nullable.c, src/derives.c:
1424 1991-11-03 David J. MacKenzie <djm@gnu.org>
1426 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1429 1988-09-09 Richard Stallman <rms@gnu.org>
1431 * src/bison.hairy: entered into RCS
1433 1987-12-16 Richard Stallman <rms@gnu.org>
1435 * REFERENCES: entered into RCS