1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/output.c (token_actions): Introduce a temporary array,
4 YYDEFACT, that makes it possible for this function to use
8 2000-10-02 Akim Demaille <akim@epita.fr>
10 `user_toknums' is output as a `short[]' in `output.c', while it is
11 defined as a `int[]' in `reader.c'. For consistency with the
12 other output tables, `user_toknums' is now defined as a table of
15 * src/reader.c (user_toknums): Be a short table instead of an int
19 Factor the short table outputs.
21 * src/output.c (output_short_table): New function.
22 * src/output.c (output_gram, output_stos, output_rule_data)
23 (output_base, output_table, output_check): Use it.
25 2000-10-02 Akim Demaille <akim@epita.fr>
27 * src/output.c (output): Topological sort of the functions, in
28 order to get rid of the `static' prototypes.
29 No longer use `register'.
30 * src/output.h: New file.
31 Propagate its inclusion in files explicitly prototyping functions
34 2000-09-21 Akim Demaille <akim@epita.fr>
36 * src/atgeneral.m4: Update from Autoconf.
38 2000-09-21 Akim Demaille <akim@epita.fr>
40 * src/closure.h: New file.
41 * src/closure.c: Formatting changes, topological sort over the
42 functions, use of closure.h.
43 (initialize_closure, finalize_closure): Rename as...
44 (new_closure, free_closure): these. Adjust dependencies.
45 * src/LR0.c: Formatting changes, topological sort, use of
47 (initialize_states): Rename as...
49 * src/Makefile.am (noinst_HEADERS): Adjust.
51 2000-09-20 Akim Demaille <akim@epita.fr>
53 * src/acconfig.h: Don't protect config.h against multiple
56 * src/system.h: Define PARAMS.
57 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
58 purpose of config.h. system.h must not try to fix wrong
59 definitions in config.h.
61 2000-09-20 Akim Demaille <akim@epita.fr>
63 * src/derives.h: New file.
64 * src/main.c, src/derives.h: Use it.
66 * src/Makefile.am (noinst_HEADERS): Adjust.
68 2000-09-20 Akim Demaille <akim@epita.fr>
70 * tests/atgeneral.m4: Update from Autoconf.
71 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
72 (AT_CHECK_CALC): New macros.
73 Use these macros to test bison with options `', `--raw',
74 `--debug', `--yacc', `--yacc --debug'.
76 2000-09-19 Akim Demaille <akim@epita.fr>
78 * src/output.c: Formatting changes.
79 * src/machine.h: Remove, leaving its contents in...
82 Adjust all dependencies on stdio.h and machine.h.
83 * src/getargs.h: New file.
84 Let all `extern' declarations about getargs.c be replaced with
85 inclusion of `getargs.h'.
86 * src/Makefile.am (noinst_HEADERS): Adjust.
88 * tests/calc.m4 (yyin): Be initialized in main, not on the global
90 (yyerror): Returns void, not int.
91 * doc/bison.texinfo: Formatting changes.
93 2000-09-19 Akim Demaille <akim@epita.fr>
95 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
98 2000-09-18 Akim Demaille <akim@epita.fr>
100 * configure.in: Append WARNING_CFLAGS to CFLAGS.
101 * src/Makefile.am (INCLUDES): Don't.
102 Be ready to fetch headers in lib/.
104 2000-09-18 Akim Demaille <akim@epita.fr>
106 * doc/bison.texinfo: Update the copyright.
107 ANSIfy and GNUify the examples.
110 2000-09-18 Akim Demaille <akim@epita.fr>
112 First set of tests: use the `calc' example from the documentation.
114 * src/bison.s1 (yyparse): Condition the code using `yytname' which
115 is defined only when YYDEBUG is.
116 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
117 * src/files.c (tryopen, tryclose): Formatting changes.
118 Move to the top and be static.
119 * src/reader.c (read_signed_integer): Likewise.
120 * tests/calc.m4: New file.
121 * Makefile.am, suite.m4: Adjust.
122 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
124 2000-09-18 Akim Demaille <akim@epita.fr>
126 Add support for an Autotest test suite for Bison.
128 * m4/m4.m4, m4/atconfig.m4: New files.
129 * m4/Makefile.am (EXTRA_DIST): Adjust.
130 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
132 * src/getargs.c: Display a more standard --version message.
133 * src/reader.c (reader): Formatting changes.
134 No longer depend upon VERSION_STRING.
135 * configure.in: No longer use `dnl'.
136 Set up the test suite and the new directory `tests/.
137 (VERSION_STRING): Remove.
139 2000-04-14 Akim Demaille <akim@epita.fr>
141 * src/reader.c (copy_comment2): New function, same as former
142 `copy_comment', but outputs into two FILE *.
143 (copy_comment): Use it.
144 (parse_union_decl): Use it.
145 (get_type, parse_start_decl): Use the same `invalid' message.
146 (parse_start_decl, parse_union_decl): Use the same `multiple'
148 (parse_union_decl, copy_guard, copy_action): Use the same
150 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
152 2000-03-31 Akim Demaille <akim@epita.fr>
154 * src/files.c (tryopen, tryclose): Move to the top.
157 2000-03-31 Akim Demaille <akim@epita.fr>
159 * src/main.c (main): Don't call `done', exit does it.
161 2000-03-31 Akim Demaille <akim@epita.fr>
163 * allocate.c: s/return (foo)/return foo/.
166 * output.c: Likewise.
167 * reader.c: Likewise.
168 * symtab.c: Likewise.
169 * vmsgetargs.c: Likewise.
171 2000-03-31 Akim Demaille <akim@epita.fr>
173 Clean up the error reporting functions.
175 * src/report.c: New file.
176 * src/report.h: Likewise.
177 * src/Makefile.am: Adjust.
178 * m4/error.m4: New file.
179 * m4/Makefile.am: Adjust.
180 * configure.in (jm_PREREQ_ERROR): Call it.
181 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
183 (fatal, fatals): Remove. All callers use complain.c::fatal.
184 (warn, warni, warns, warnss, warnss): Remove. All callers use
185 complain.c::complain.
186 (toomany): Remove, use fatal instead.
187 * src/files.c (done): No argument, use complain_message_count.
188 * src/main.c (main): Register `done' to `atexit'.
190 * src/getargs.c (usage): More `fputs', less `fprintf'.
192 2000-03-28 Akim Demaille <akim@epita.fr>
194 * lib/: New directory.
195 * Makefile.am (SUBDIRS): Adjust.
196 * configure.in: Adjust.
197 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
199 * src/alloca.c: Moved to lib/.
200 * src/getopt.c: Likewise.
201 * src/getopt1.c: Likewise.
202 * src/getopt.h: Likewise.
203 * src/ansi2knr.c: Likewise.
204 * src/ansi2knr.1: Likewise.
205 * src/Makefile.am: Adjust.
206 * lib/Makefile.am: New file.
208 2000-03-28 Akim Demaille <akim@epita.fr>
210 * src/getargs.c (usage): Refresh the help message.
212 2000-03-17 Akim Demaille <akim@epita.fr>
214 * src/getopt1.c: Updated from textutils 2.0e
215 * src/getopt.c: Likewise.
216 * src/getopt.h: Likewise.
218 2000-03-17 Akim Demaille <akim@epita.fr>
220 * src/Makefile.am (bison.simple): Fix the awk program: quote only
221 the file name, not the whole `#line LINE FILE'.
223 2000-03-17 Akim Demaille <akim@epita.fr>
225 On syntax errors, report the token on which we choked.
227 * src/bison.s1 (yyparse): In the label yyerrlab, when
228 YYERROR_VERBOSE, add yychar in msg.
230 2000-03-17 Akim Demaille <akim@epita.fr>
232 * src/reader.c (copy_at): New function.
233 (copy_guard): Use it.
234 (copy_action): Use it.
236 2000-03-17 Akim Demaille <akim@epita.fr>
238 Be kind to translators, save some useless translations.
240 * src/main.c (banner): New function.
241 (fatal_banner): Use it.
242 (warn_banner): Use it.
244 2000-03-17 Akim Demaille <akim@epita.fr>
246 * src/reader.c (copy_definition): Use copy_string and
247 copy_comment. Removed now unused `match', `ended',
249 (copy_comment, copy_string): Moved, to be visible from
252 2000-03-17 Akim Demaille <akim@epita.fr>
254 * src/reader.c (copy_string): Declare `static inline'. No
255 problems with inline, since it is checked by configure.
256 (copy_comment): Likewise.
258 2000-03-17 Akim Demaille <akim@epita.fr>
260 * src/reader.c (packsymbols): Formatting changes.
262 2000-03-17 Akim Demaille <akim@epita.fr>
264 * src/reader.c (copy_comment): New function, factored out from:
265 (copy_action): Use it. Removed now unused `match', `ended',
267 (copy_guard): Likewise.
269 2000-03-17 Akim Demaille <akim@epita.fr>
271 * src/reader.c (copy_string): New function, factored out from:
272 (copy_action): Use it.
273 (copy_guard): Likewise.
275 2000-03-17 Akim Demaille <akim@epita.fr>
277 Change the handling of @s so that they behave exactly like $s.
278 There is now a pseudo variable @$ (readble and writable), location
279 of the lhs of the rule (by default ranging from the location of
280 the first symbol of the rhs, to the location of the last symbol,
281 or, if the rhs is empty, YYLLOC).
283 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
285 (yyparse): When providing a default semantic action, provide a
286 default location action.
287 (after the $): No longer change `*YYLSP', just stack YYLOC the
288 same way you stack YYVAL.
289 * src/reader.c (read_declarations): Use warns.
290 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
291 (copy_action, case '@'): Likewise.
292 Use a standard error message, to save useless work from
295 2000-03-17 Akim Demaille <akim@epita.fr>
297 * src/bison.s1: Formatting and cosmetics changes.
298 * src/reader.c: Likewise.
299 Update the Copyright notice.
301 2000-03-17 Akim Demaille <akim@epita.fr>
303 * src/bison.s1 (#line): All set to `#line' only, since the
304 Makefile now handles them.
306 2000-03-16 Akim Demaille <akim@epita.fr>
308 * src/output.c (output_rule_data): Output the documentation of
310 (Copyright notice): Update.
313 2000-03-16 Akim Demaille <akim@epita.fr>
315 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
316 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
317 One `#if YYDEBUG' remains, since it uses variables which are
318 defined only if `YYDEBUG != 0'.
320 2000-03-16 Akim Demaille <akim@epita.fr>
322 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
323 and related variables so that the similarities are highlighted.
325 2000-03-16 Akim Demaille <akim@epita.fr>
327 * src/bison.s1: Properly indent CPP directives.
329 2000-03-16 Akim Demaille <akim@epita.fr>
331 * src/bison.s1: Properly indent the `alloca' CPP section.
333 2000-03-16 Akim Demaille <akim@epita.fr>
335 Do not hard code values of directories in `configure.in'.
336 Update the `configure' tool chain.
338 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
340 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
341 (AC_OUTPUT): Add m4/Makefile.
342 Bump to bison 1.28a, 1.29 has never been released.
343 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
344 handled via src/Makefile.am.
345 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
346 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
348 * Makefile.am (SUBDIRS): Add m4.
349 (ACLOCAL_AM_FLAGS): New variable.
350 (AUTOMAKE_OPTIONS): Add check-news.
351 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
352 the proper line number and file name.
353 (DEFS): Propagate the location of bison library files and of the
355 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
357 * acinclude.m4: Remove, replaced by the directory m4.
358 * m4/Makefile.am (EXTRA_DIST): New variable.
359 * m4/gettext.m4: New file, from the fileutils.
360 * m4/lcmessage.m4: Likewise
361 * m4/progtest.m4: Likewise.
362 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
364 2000-03-10 Akim Demaille <akim@epita.fr>
367 Formatting changes of various comments.
368 Respect the GNU coding standards at various places.
369 Don't use `_()' when no translation is needed.
371 1999-12-13 Jesse Thilo <jthilo@gnu.org>
374 OS/2 honors TMPDIR environment variable.
376 1999-12-13 Jesse Thilo <jthilo@gnu.org>
378 * doc/bison.texinfo: Tweaked spelling and grammar.
380 Removed reference to price of printed copy.
381 Mention BISON_SIMPLE and BISON_HAIRY.
383 1999-12-13 Jesse Thilo <jthilo@gnu.org>
385 * configure.in, NEWS:
388 1999-10-27 Jesse Thilo <jthilo@gnu.org>
390 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
391 Added reference card.
393 1999-07-26 Jesse Thilo <jthilo@gnu.org>
395 * po/ru.po: Added Russian translation.
397 1999-07-26 Jesse Thilo <jthilo@gnu.org>
399 * configure.in: Added Russian translation.
401 1999-07-06 Jesse Thilo <jthilo@gnu.org>
403 * configure.in, NEWS, README:
404 Released version 1.28.
406 1999-06-14 Jesse Thilo <jthilo@gnu.org>
409 Squashed redefinition warning on some systems.
411 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
412 Have configure build version string instead of relying on ANSI string
415 1999-06-14 Jesse Thilo <jthilo@gnu.org>
417 * po/POTFILES.in: Got rid of version.c.
419 1999-06-14 Jesse Thilo <jthilo@gnu.org>
421 * acconfig.h, configure.in:
422 Have configure build version string instead of relying on ANSI string
425 1999-06-08 Jesse Thilo <jthilo@gnu.org>
428 Dropped mention of `+' for long-named options.
430 1999-05-30 Jesse Thilo <jthilo@gnu.org>
432 * src/files.c: Added <unistd.h> for unlink().
434 * src/Makefile.am, src/system.h:
437 1999-05-30 Jesse Thilo <jthilo@gnu.org>
439 * README: Added a FAQ list.
441 * configure.in, acconfig.h:
444 1999-05-30 Jesse Thilo <jthilo@gnu.org>
446 * doc/FAQ, doc/Makefile.am:
449 1999-05-19 Jesse Thilo <jthilo@gnu.org>
451 * src/alloc.h, src/symtab.h, src/version.c:
452 Protected inclusion of "config.h" with HAVE_CONFIG_H.
454 1999-04-18 Jesse Thilo <jthilo@gnu.org>
456 * src/.cvsignore, src/Makefile.am:
457 Reorganized: sources in `src', documentation in `doc'.
459 * src/lex.c (literalchar):
460 fixed the code for escaping double quotes (thanks
463 1999-04-18 Jesse Thilo <jthilo@gnu.org>
465 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
466 Adjusted paths to reflect directory reorganization.
468 1999-04-18 Jesse Thilo <jthilo@gnu.org>
470 * doc/.cvsignore, doc/Makefile.am:
471 Reorganized: sources in `src', documentation in `doc'.
473 1999-04-18 Jesse Thilo <jthilo@gnu.org>
476 Updated AC_INIT file to reflect directory reorganization.
478 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
479 Reorganized: sources in `src', documentation in `doc'.
481 1999-04-13 Jesse Thilo <jthilo@gnu.org>
484 Don't declare calloc() and realloc() if not necessary.
486 1999-04-13 Jesse Thilo <jthilo@gnu.org>
488 * configure.in, acconfig.h, acinclude.m4:
489 Don't declare calloc() and realloc() if not necessary.
491 1999-03-23 Jesse Thilo <jthilo@gnu.org>
493 * po/.cvsignore: Added i18n support.
495 1999-03-23 Jesse Thilo <jthilo@gnu.org>
497 * acconfig.h, configure.in, Makefile.am:
500 1999-03-22 Jesse Thilo <jthilo@gnu.org>
502 * src/bison.s1: Fixed #line numbers.
504 1999-03-15 Jesse Thilo <jthilo@gnu.org>
506 * po/es.po, po/fr.po, po/nl.po, po/de.po:
507 Added PO files from Translation Project.
509 1999-03-03 Jesse Thilo <jthilo@gnu.org>
512 Added support for non-ANSI compilers (ansi2knr).
514 1999-02-16 Jesse Thilo <jthilo@gnu.org>
516 * configure.in: Bumped version number to 1.27.
519 Added `bison.simple' to list of files removed by `make distclean'.
521 1999-02-12 Jesse Thilo <jthilo@gnu.org>
523 * src/files.c, src/files.h:
524 Defined locations of parser files in config.h instead of Makefile.
526 1999-02-12 Jesse Thilo <jthilo@gnu.org>
528 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
529 Defined locations of parser files in config.h instead of Makefile.
531 1999-02-09 Jesse Thilo <jthilo@gnu.org>
534 Removed inappropriate use of $< macro.
536 1999-02-05 Jesse Thilo <jthilo@gnu.org>
538 * po/Makefile.in.in, po/POTFILES.in:
539 Add `po' directory skeleton.
541 1999-01-27 Jesse Thilo <jthilo@gnu.org>
543 * README: Document help-bison list.
545 * configure.in: Add check for mkstemp().
547 1999-01-20 Jesse Thilo <jthilo@gnu.org>
549 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
550 Hush a few compiler warnings.
553 Add tryclose(), which verifies that fclose was successful.
554 Hush a couple of compiler warnings.
556 1999-01-20 Jesse Thilo <jthilo@gnu.org>
558 * Makefile.am, OChangeLog:
559 ChangeLog is now automatically generated. Include the old version as
562 1999-01-14 Jesse Thilo <jthilo@gnu.org>
564 * 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:
567 1999-01-14 Jesse Thilo <jthilo@gnu.org>
569 * doc/bison.texinfo: Fix formatting glitch.
571 * doc/bison.texinfo: Update FSF address.
573 1999-01-14 Jesse Thilo <jthilo@gnu.org>
575 * acconfig.h: Update FSF address.
577 1999-01-08 Jesse Thilo <jthilo@gnu.org>
580 Don't define PACKAGE here, since config.h defines it.
582 1998-12-30 Jesse Thilo <jthilo@gnu.org>
584 * src/reader.c: Update copyright date.
587 Ditch sprintf to statically-sized buffers in fatal/warn functions in
588 favor of output directly to stderr (avoids buffer overruns).
590 * src/reader.c: Some checks for premature EOF.
592 * 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:
593 Use prototypes if the compiler understands them.
595 * src/files.c: Honor TMPDIR on Unix hosts.
596 Use prototypes if the compiler understands them.
599 Fix a couple of buffer overrun bugs.
600 Use prototypes if the compiler understands them.
602 * src/system.h: Include unistd.h and ctype.h.
603 Use #ifdef instead of #if for NLS symbols.
605 1998-12-30 Jesse Thilo <jthilo@gnu.org>
608 Delete comment "consider using @set for edition number, etc..." since
611 1998-12-30 Jesse Thilo <jthilo@gnu.org>
614 Use prototypes if the compiler understands them.
616 * NEWS: Document 1.26 highlights.
618 * Makefile.am: Require Automake 1.3 or later.
621 Use prototypes if the compiler understands them.
623 1998-12-29 Jesse Thilo <jthilo@gnu.org>
626 Use VERSION symbol from automake for version number.
628 1998-12-29 Jesse Thilo <jthilo@gnu.org>
630 * acconfig.h, configure.in, version.cin:
631 Use VERSION symbol from automake for version number.
633 1998-11-28 Jesse Thilo <jthilo@gnu.org>
636 Distribute original version of simple parser (bison.s1), not built
637 version (bison.simple).
639 1998-11-28 Jesse Thilo <jthilo@gnu.org>
641 * doc/bison.texinfo: Add info dir entry.
644 Let automake put version number into documentation.
646 1998-11-26 Jesse Thilo <jthilo@gnu.org>
648 * src/bison.cld, src/build.com, src/vmshlp.mar:
649 Add non-RCS files from /gd/gnu/bison.
651 1998-11-26 Jesse Thilo <jthilo@gnu.org>
654 Document the BISON_HAIRY and BISON_SIMPLE variables.
656 1998-11-25 Jesse Thilo <jthilo@gnu.org>
658 * src/version.c: Build version.c automatically.
661 Fix token numbering (used to start at 258, not 257).
663 * src/system.h: Include config.h.
665 * src/getargs.c: Update bug report address.
667 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
668 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
670 1998-11-25 Jesse Thilo <jthilo@gnu.org>
673 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
675 * configure.in, version.cin:
676 Build version.c automatically.
678 * AUTHORS: Add AUTHORS file.
680 * README: Update bug report address.
683 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
685 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
688 1998-11-25 Jesse Thilo <jthilo@gnu.org>
690 * doc/bison.texinfo: Clean up some formatting.
692 1998-05-05 Richard Stallman <rms@gnu.org>
695 Explain better why to make a pure parser.
697 1998-01-05 Richard Stallman <rms@gnu.org>
699 * src/files.c (openfiles):
700 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
701 find a temporary directory, if possible. Do not unlink files while
704 1997-08-25 Richard Stallman <rms@gnu.org>
706 * src/reader.c (stack_offset;):
707 Change some warni to warns.
709 * src/lex.c (literalchar): Use warns, not warni.
711 1997-06-28 Richard Stallman <rms@gnu.org>
713 * src/bison.s1: Add a Bison version comment.
715 * src/main.c (fatal, warn, berror):
718 1997-06-28 Richard Stallman <rms@gnu.org>
720 * Makefile.in (bison_version): New variable.
721 (dist): Use that variable.
722 (bison.s1): Substitute the Bison version into bison.simple.
724 * bison.simple: Add a Bison version comment.
726 1997-06-18 Richard Stallman <rms@gnu.org>
728 * src/main.c (fatal, warn, berror):
729 Make error messages standard.
730 (toomany): Improve error message text.
732 * 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:
733 new.h renamed to alloc.h.
735 1997-06-18 Richard Stallman <rms@gnu.org>
737 * Makefile.in: new.h renamed to alloc.h.
739 1997-05-24 Richard Stallman <rms@gnu.org>
741 * src/lex.c (literalchar):
742 Fix the code for escaping \, " and '.
744 (lex): Avoid trouble when there are many chars
745 to discard in a char literal with just several chars in it.
747 1997-05-17 Richard Stallman <rms@gnu.org>
750 Use malloc, if using alloca is troublesome.
751 (YYSTACK_USE_ALLOCA): New flag macro.
752 Define it for some systems and compilers.
753 (YYSTACK_ALLOC): New macro.
754 (yyparse): Use YYSTACK_ALLOC to allocate stack.
755 If it was malloc'd, free it.
757 1997-05-17 Richard Stallman <rms@gnu.org>
760 Use malloc, if using alloca is troublesome.
761 (YYSTACK_USE_ALLOCA): New flag macro.
762 Define it for some systems and compilers.
763 (YYSTACK_ALLOC): New macro.
764 (yyparse): Use YYSTACK_ALLOC to allocate stack.
765 If it was malloc'd, free it.
767 1997-04-23 Richard Stallman <rms@gnu.org>
770 (alloca) [__hpux]: Always define as __builtin_alloca.
772 1997-04-23 Richard Stallman <rms@gnu.org>
775 (alloca) [__hpux]: Always define as __builtin_alloca.
777 1997-04-22 Richard Stallman <rms@gnu.org>
780 [__hpux]: Include alloca.h (right for HPUX 10)
781 instead of declaring alloca (right for HPUX 9).
783 * src/bison.s1 (__yy_memcpy):
784 Declare arg `count' as unsigned int.
785 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
787 1997-04-22 Richard Stallman <rms@gnu.org>
790 [__hpux]: Include alloca.h (right for HPUX 10)
791 instead of declaring alloca (right for HPUX 9).
793 * bison.simple (__yy_memcpy):
794 Declare arg `count' as unsigned int.
795 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
797 1997-01-03 Richard Stallman <rms@gnu.org>
799 * src/allocate.c: [__STDC__ or _MSC_VER]:
800 Declare calloc and realloc to return void *.
802 1997-01-02 Richard Stallman <rms@gnu.org>
805 [_MSC_VER]: Include stdlib.h and process.h.
806 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
808 * src/main.c (main): Return FAILURE as a value.
809 (printable_version): Declare arg as int, not char.
811 1997-01-02 Richard Stallman <rms@gnu.org>
813 * Makefile.in (dist):
814 Explicitly check for symlinks, and copy them.
816 1996-12-19 Richard Stallman <rms@gnu.org>
819 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
821 1996-12-18 Paul Eggert <eggert@gnu.org>
823 * src/bison.s1 (yyparse):
824 If __GNUC__ and YYPARSE_PARAM are both defined,
825 declare yyparse to have a void * argument.
827 1996-12-18 Paul Eggert <eggert@gnu.org>
829 * bison.simple (yyparse):
830 If __GNUC__ and YYPARSE_PARAM are both defined,
831 declare yyparse to have a void * argument.
833 1996-12-17 Richard Stallman <rms@gnu.org>
835 * src/reduce.c (nbits): Add some casts.
837 1996-08-12 Richard Stallman <rms@gnu.org>
839 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
841 1996-08-12 Richard Stallman <rms@gnu.org>
843 * bison.simple: Test _MSDOS as well as _MSDOS_.
845 1996-07-31 Richard Stallman <rms@gnu.org>
848 [__sun && __i386]: Include alloca.h.
850 1996-07-31 Richard Stallman <rms@gnu.org>
853 [__sun && __i386]: Include alloca.h.
855 1996-07-30 Richard Stallman <rms@gnu.org>
857 * src/bison.s1: Comment change.
859 * src/bison.s1: Test _MSDOS_, not MSDOS.
861 1996-07-30 Richard Stallman <rms@gnu.org>
863 * bison.simple: Comment change.
865 * bison.simple: Test _MSDOS_, not MSDOS.
867 1996-06-01 Richard Stallman <rms@gnu.org>
869 * 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:
870 Insert `_' macro around many string constants.
873 Insert `_' macro around many string constants.
875 (main): Call setlocale, bindtextdomain and textdomain.
877 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
878 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
879 [ENABLE_NLS]: Include libintl.h.
880 [ENABLE_NLS] (gettext): Define.
881 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
882 (N_, PACKAGE, LOCALEDIR): New macros.
884 1996-06-01 Richard Stallman <rms@gnu.org>
886 * POTFILES.in: New file.
888 * Makefile.in (allocate.o):
889 Define target explicitly.
891 * Makefile.in (CFLAGS): Set to @CFLAGS@.
892 (LDFLAGS): Set to @LDFLAGS@.
893 (configure): Run autoconf only if preceding `cd' succeeds.
894 (bison.s1): Redirect output to temporary file then move the
895 temporary to the target, rather than redirecting directly to bison.s1.
896 (clean): Remove config.status and config.log.
897 (distclean): Don't remove config.status here.
899 1996-05-12 Richard Stallman <rms@gnu.org>
902 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
904 1996-05-12 Richard Stallman <rms@gnu.org>
907 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
909 1996-05-11 Richard Stallman <rms@gnu.org>
911 * src/bison.s1 (__yy_memcpy):
912 Really reorder the args, as was supposedly done on Feb 14 1995.
913 (yyparse): Calls changed accordingly.
915 1996-05-11 Richard Stallman <rms@gnu.org>
917 * Makefile.in (dist): Don't use $(srcdir).
919 * bison.simple (__yy_memcpy):
920 Really reorder the args, as was supposedly done on Feb 14 1995.
921 (yyparse): Calls changed accordingly.
923 1996-01-27 Richard Stallman <rms@gnu.org>
925 * src/output.c (output_rule_data):
926 Test YYERROR_VERBOSE in the conditional
927 around the definition of ttyname.
929 1995-12-29 Richard Stallman <rms@gnu.org>
932 Fix line numbers in #line commands.
934 1995-12-29 Richard Stallman <rms@gnu.org>
937 Fix line numbers in #line commands.
939 1995-12-27 Richard Stallman <rms@gnu.org>
941 * src/bison.s1 (YYPARSE_PARAM_DECL):
942 In C++, make it always null.
943 (YYPARSE_PARAM_ARG): New macro.
944 (yyparse): Use YYPARSE_PARAM_ARG.
946 1995-12-27 Richard Stallman <rms@gnu.org>
948 * bison.simple (YYPARSE_PARAM_DECL):
949 In C++, make it always null.
950 (YYPARSE_PARAM_ARG): New macro.
951 (yyparse): Use YYPARSE_PARAM_ARG.
953 1995-11-29 Richard Stallman <rms@gnu.org>
956 Describe literal string tokens, %raw, %no_lines, %token_table.
958 1995-11-29 Daniel Hagerty <hag@gnu.org>
960 * doc/bison.texinfo: Fixed update date
962 1995-10-16 Richard Stallman <rms@gnu.org>
964 * src/version.c: Version 1.25.
966 1995-10-16 Richard Stallman <rms@gnu.org>
968 * NEWS: *** empty log message ***
970 1995-10-16 Richard Stallman <rms@gnu.org>
972 * doc/bison.1, doc/bison.rnh:
975 1995-10-15 Richard Stallman <rms@gnu.org>
977 * src/vmsgetargs.c, src/getargs.c:
978 Added -n, -k, and -raw switches.
979 (noparserflag, toknumflag, rawtoknumflag): New variables.
981 * src/symtab.h (SALIAS):
982 New #define for adding aliases to %token.
983 (struct bucket): Added `alias' field.
985 * src/reduce.c (reduce_grammar):
986 Revise error message.
987 (print_notices): Remove final `.' from error message.
989 * src/reader.c (reader_output_yylsp):
991 (readgram): Use `#if 0' around code that accepted %command
992 inside grammar rules: The documentation doesn't allow it,
993 and it will fail since the %command processors scan for the next %.
994 (parse_token_decl): Extended the %token
995 declaration to allow a multi-character symbol as an alias.
996 (parse_thong_decl): New function.
997 (read_declarations): Added %thong declarations.
998 (read_declarations): Handle NOOP to deal with allowing
999 % declarations as another means to specify the flags.
1000 (readgram): Allow %prec prior to semantics embedded in a rule.
1001 (skip_to_char, read_declarations, copy_definition)
1002 (parse_token_decl, parse_start_decl, parse_type_decl)
1003 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1004 (get_type_name, copy_guard, copy_action, readgram)
1005 (get_type, packsymbols): Revised most error messages.
1006 Changed `fatal' to `warnxxx' to avoid aborting for error.
1007 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1008 (read_declarations): Improve the error message for
1009 an invalid character. Do not abort.
1010 (read_declarations, copy_guard, copy_action): Use
1011 printable_version to avoid unprintable characters in printed output.
1012 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1013 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1014 Allow the type of a non-terminal can be given
1015 more than once, as long as all specifications give the same type.
1018 (output_headers, output_trailers, output, output_gram)
1019 (output_rule_data): Implement noparserflag variable.
1020 Implement toknumflag variable.
1021 (output): Call reader_output_yylsp to output LTYPESTR.
1023 * src/main.c (main):
1024 If reader sees an error, don't process the grammar.
1025 (fatals): Updated to not use VARARGS1.
1026 (printable_version, int_to_string, warn, warni, warns, warnss)
1027 (warnsss): New error reporting functions. Avoid abort for error.
1030 Added THONG and NOOP for alias processing.
1031 Added SETOPT for the new code that allows setting options with %flags.
1034 Include getopt.h. Add some extern decls.
1035 (safegetc): New function to deal with EOF gracefully.
1036 (literalchar); new function to deal with reading \ escapes.
1037 (lex): Use literalchar.
1038 (lex): Implemented "..." tokens.
1039 (literalchar, lex, parse_percent_token): Made tokenbuffer
1040 always contain the token. This includes growing the token
1041 buffer while reading an integer.
1042 (parse_percent_token): Replaced if-else statement with percent_table.
1043 (parse_percent_token): Added % declarations as another
1044 way to specify the flags -n, -l, and -r. Also added hooks for
1045 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1046 major changes to files.c.
1047 (lex) Retain in the incoming stream a character following
1049 (skip_white_space, lex): Revised most error messages
1050 and changed fatal to warn to avoid aborting.
1051 (percent_table): Added %thong declarations.
1053 * src/gram.h: Comment changes.
1055 * src/files.c (openfiles, open_extra_files, done):
1057 and actfile file. Handle noparserflag. Both for -n switch.
1059 * src/conflicts.c (resolve_sr_conflict):
1060 Remove use of alloca.
1062 1995-06-01 Jim Meyering <meyering@gnu.org>
1064 * doc/bison.texinfo: *** empty log message ***
1066 1995-05-06 Richard Stallman <rms@gnu.org>
1068 * src/bison.s1: Comment change.
1070 1995-05-06 Richard Stallman <rms@gnu.org>
1072 * bison.simple: Comment change.
1074 1995-05-03 Richard Stallman <rms@gnu.org>
1076 * src/version.c: Version now 1.24.
1078 * src/bison.s1: Change distribution terms.
1080 * src/version.c: Version now 1.23.
1082 1995-05-03 Richard Stallman <rms@gnu.org>
1084 * doc/bison.texinfo:
1085 Rewrite "Conditions for Using Bison".
1086 Update version to 1.24.
1088 1995-05-03 Richard Stallman <rms@gnu.org>
1090 * bison.simple: Change distribution terms.
1092 1995-02-23 Richard Stallman <rms@gnu.org>
1094 * src/files.c: Test __VMS_POSIX as well as VMS.
1096 1995-02-14 Jim Meyering <meyering@gnu.org>
1098 * src/bison.s1 (__yy_memcpy):
1099 Renamed from __yy_bcopy to avoid
1100 confusion. Reverse FROM and TO arguments to be consistent with
1103 1995-02-14 Jim Meyering <meyering@gnu.org>
1105 * bison.simple (__yy_memcpy):
1106 Renamed from __yy_bcopy to avoid
1107 confusion. Reverse FROM and TO arguments to be consistent with
1110 1994-11-10 David J. MacKenzie <djm@gnu.org>
1116 * Makefile.in (DISTFILES): Include NEWS.
1118 * Makefile.in (DISTFILES):
1119 Include install-sh, not install.sh.
1121 * configure.in: Update to Autoconf v2 macro names.
1123 1994-10-05 David J. MacKenzie <djm@gnu.org>
1125 * Makefile.in: fix typo
1127 * Makefile.in (prefix, exec_prefix):
1128 Let configure set them.
1130 1994-09-28 David J. MacKenzie <djm@gnu.org>
1132 * Makefile.in: Set datadir to $(prefix)/share.
1134 1994-09-15 Richard Stallman <rms@gnu.org>
1137 Update copyright notice and GPL version.
1139 1994-09-15 Richard Stallman <rms@gnu.org>
1142 Update copyright notice and GPL version.
1144 1994-07-12 Richard Stallman <rms@gnu.org>
1146 * src/reduce.c, src/reader.c:
1149 1994-05-05 David J. MacKenzie <djm@gnu.org>
1151 * Makefile.in: entered into RCS
1153 1994-03-26 Richard Stallman <rms@gnu.org>
1155 * src/bison.s1: entered into RCS
1157 1994-03-26 Richard Stallman <rms@gnu.org>
1159 * bison.simple: entered into RCS
1161 1994-03-25 Richard Stallman <rms@gnu.org>
1163 * src/main.c: entered into RCS
1165 1994-03-24 Richard Stallman <rms@gnu.org>
1167 * src/conflicts.c: entered into RCS
1169 1994-01-02 Richard Stallman <rms@gnu.org>
1171 * Makefile.in: *** empty log message ***
1173 1993-11-21 Richard Stallman <rms@gnu.org>
1175 * src/bison.s1: *** empty log message ***
1177 1993-11-21 Richard Stallman <rms@gnu.org>
1179 * doc/bison.texinfo: entered into RCS
1181 * doc/bison.texinfo: *** empty log message ***
1183 1993-11-21 Richard Stallman <rms@gnu.org>
1185 * bison.simple: *** empty log message ***
1187 1993-10-25 David J. MacKenzie <djm@gnu.org>
1189 * doc/bison.texinfo: *** empty log message ***
1191 1993-10-19 Richard Stallman <rms@gnu.org>
1193 * src/bison.s1: *** empty log message ***
1195 1993-10-19 Richard Stallman <rms@gnu.org>
1197 * bison.simple: *** empty log message ***
1199 1993-10-14 Richard Stallman <rms@gnu.org>
1201 * src/bison.s1: *** empty log message ***
1203 1993-10-14 Richard Stallman <rms@gnu.org>
1205 * bison.simple: *** empty log message ***
1207 1993-09-14 David J. MacKenzie <djm@gnu.org>
1209 * doc/bison.texinfo: *** empty log message ***
1211 1993-09-13 Noah Friedman <friedman@gnu.org>
1213 * Makefile.in: *** empty log message ***
1215 1993-09-10 Richard Stallman <rms@gnu.org>
1217 * src/conflicts.c: *** empty log message ***
1219 * src/system.h: entered into RCS
1221 1993-09-10 Richard Stallman <rms@gnu.org>
1223 * doc/bison.1: entered into RCS
1225 1993-09-06 Noah Friedman <friedman@gnu.org>
1227 * src/version.c: entered into RCS
1229 1993-09-06 Noah Friedman <friedman@gnu.org>
1231 * Makefile.in: *** empty log message ***
1233 1993-07-30 David J. MacKenzie <djm@gnu.org>
1235 * Makefile.in: *** empty log message ***
1237 1993-07-24 Richard Stallman <rms@gnu.org>
1239 * src/bison.s1: *** empty log message ***
1241 1993-07-24 Richard Stallman <rms@gnu.org>
1243 * bison.simple: *** empty log message ***
1245 1993-07-08 David J. MacKenzie <djm@gnu.org>
1247 * Makefile.in: *** empty log message ***
1249 1993-07-04 Richard Stallman <rms@gnu.org>
1251 * src/bison.s1: *** empty log message ***
1253 1993-07-04 Richard Stallman <rms@gnu.org>
1255 * bison.simple: *** empty log message ***
1257 1993-06-26 David J. MacKenzie <djm@gnu.org>
1259 * src/getargs.c: entered into RCS
1261 1993-06-26 David J. MacKenzie <djm@gnu.org>
1263 * doc/bison.texinfo: *** empty log message ***
1265 * doc/bison.1: New file.
1267 1993-06-25 Richard Stallman <rms@gnu.org>
1269 * src/getargs.c: New file.
1271 1993-06-16 Richard Stallman <rms@gnu.org>
1273 * src/bison.s1: *** empty log message ***
1275 1993-06-16 Richard Stallman <rms@gnu.org>
1277 * bison.simple: *** empty log message ***
1279 1993-06-03 Richard Stallman <rms@gnu.org>
1281 * src/bison.s1: New file.
1283 1993-06-03 Richard Stallman <rms@gnu.org>
1285 * doc/bison.texinfo: *** empty log message ***
1287 1993-06-03 Richard Stallman <rms@gnu.org>
1289 * bison.simple: New file.
1291 1993-05-19 Richard Stallman <rms@gnu.org>
1293 * doc/bison.texinfo: New file.
1295 1993-05-07 Noah Friedman <friedman@gnu.org>
1297 * Makefile.in: *** empty log message ***
1299 1993-04-28 Noah Friedman <friedman@gnu.org>
1301 * src/reader.c: *** empty log message ***
1303 1993-04-23 Noah Friedman <friedman@gnu.org>
1305 * src/alloc.h: entered into RCS
1307 1993-04-20 David J. MacKenzie <djm@gnu.org>
1309 * src/version.c: *** empty log message ***
1311 * src/files.c, src/allocate.c:
1314 * src/reader.c: *** empty log message ***
1316 * src/lex.c: entered into RCS
1318 * src/conflicts.c: New file.
1320 * src/symtab.c: entered into RCS
1322 * src/alloc.h: New file.
1324 * src/LR0.c: entered into RCS
1326 1993-04-18 Noah Friedman <friedman@gnu.org>
1328 * src/reader.c: New file.
1330 * src/version.c: *** empty log message ***
1332 1993-04-18 Noah Friedman <friedman@gnu.org>
1334 * Makefile.in: *** empty log message ***
1336 1993-04-17 Noah Friedman <friedman@gnu.org>
1338 * Makefile.in: *** empty log message ***
1340 1993-04-15 Richard Stallman <rms@gnu.org>
1342 * src/main.c, src/files.c:
1345 1993-04-15 Noah Friedman <friedman@gnu.org>
1347 * configure.in: entered into RCS
1349 * configure.in: *** empty log message ***
1351 * configure.in: New file.
1353 1993-04-14 Richard Stallman <rms@gnu.org>
1355 * Makefile.in: New file.
1357 1993-04-13 Richard Stallman <rms@gnu.org>
1359 * src/version.c: New file.
1361 1993-03-25 Richard Stallman <rms@gnu.org>
1363 * src/output.c: entered into RCS
1365 1992-09-25 Richard Stallman <rms@gnu.org>
1367 * configure.bat: entered into RCS
1369 1992-06-22 Richard Stallman <rms@gnu.org>
1371 * src/vmsgetargs.c: entered into RCS
1373 1992-06-22 Richard Stallman <rms@gnu.org>
1375 * doc/bison.rnh: entered into RCS
1377 1992-04-20 David J. MacKenzie <djm@gnu.org>
1379 * README: entered into RCS
1381 1992-01-22 Richard Stallman <rms@gnu.org>
1383 * src/machine.h: entered into RCS
1385 1991-12-21 Richard Stallman <rms@gnu.org>
1387 * src/lalr.c, src/closure.c:
1390 1991-12-20 Richard Stallman <rms@gnu.org>
1392 * src/state.h: entered into RCS
1394 1991-12-18 Richard Stallman <rms@gnu.org>
1396 * src/print.c, src/nullable.c, src/derives.c:
1399 1991-11-03 David J. MacKenzie <djm@gnu.org>
1401 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1404 1988-09-09 Richard Stallman <rms@gnu.org>
1406 * src/bison.hairy: entered into RCS
1408 1987-12-16 Richard Stallman <rms@gnu.org>
1410 * REFERENCES: entered into RCS