1 2000-10-02 Akim Demaille <akim@epita.fr>
3 `user_toknums' is output as a `short[]' in `output.c', while it is
4 defined as a `int[]' in `reader.c'. For consistency with the
5 other output tables, `user_toknums' is now defined as a table of
8 * src/reader.c (user_toknums): Be a short table instead of an int
12 Factor the short table outputs.
14 * src/output.c (output_short_table): New function.
15 * src/output.c (output_gram, output_stos, output_rule_data)
16 (output_base, output_table, output_check): Use it.
18 2000-10-02 Akim Demaille <akim@epita.fr>
20 * src/output.c (output): Topological sort of the functions, in
21 order to get rid of the `static' prototypes.
22 No longer use `register'.
23 * src/output.h: New file.
24 Propagate its inclusion in files explicitly prototyping functions
27 2000-09-21 Akim Demaille <akim@epita.fr>
29 * src/atgeneral.m4: Update from Autoconf.
31 2000-09-21 Akim Demaille <akim@epita.fr>
33 * src/closure.h: New file.
34 * src/closure.c: Formatting changes, topological sort over the
35 functions, use of closure.h.
36 (initialize_closure, finalize_closure): Rename as...
37 (new_closure, free_closure): these. Adjust dependencies.
38 * src/LR0.c: Formatting changes, topological sort, use of
40 (initialize_states): Rename as...
42 * src/Makefile.am (noinst_HEADERS): Adjust.
44 2000-09-20 Akim Demaille <akim@epita.fr>
46 * src/acconfig.h: Don't protect config.h against multiple
49 * src/system.h: Define PARAMS.
50 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
51 purpose of config.h. system.h must not try to fix wrong
52 definitions in config.h.
54 2000-09-20 Akim Demaille <akim@epita.fr>
56 * src/derives.h: New file.
57 * src/main.c, src/derives.h: Use it.
59 * src/Makefile.am (noinst_HEADERS): Adjust.
61 2000-09-20 Akim Demaille <akim@epita.fr>
63 * tests/atgeneral.m4: Update from Autoconf.
64 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
65 (AT_CHECK_CALC): New macros.
66 Use these macros to test bison with options `', `--raw',
67 `--debug', `--yacc', `--yacc --debug'.
69 2000-09-19 Akim Demaille <akim@epita.fr>
71 * src/output.c: Formatting changes.
72 * src/machine.h: Remove, leaving its contents in...
75 Adjust all dependencies on stdio.h and machine.h.
76 * src/getargs.h: New file.
77 Let all `extern' declarations about getargs.c be replaced with
78 inclusion of `getargs.h'.
79 * src/Makefile.am (noinst_HEADERS): Adjust.
81 * tests/calc.m4 (yyin): Be initialized in main, not on the global
83 (yyerror): Returns void, not int.
84 * doc/bison.texinfo: Formatting changes.
86 2000-09-19 Akim Demaille <akim@epita.fr>
88 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
91 2000-09-18 Akim Demaille <akim@epita.fr>
93 * configure.in: Append WARNING_CFLAGS to CFLAGS.
94 * src/Makefile.am (INCLUDES): Don't.
95 Be ready to fetch headers in lib/.
97 2000-09-18 Akim Demaille <akim@epita.fr>
99 * doc/bison.texinfo: Update the copyright.
100 ANSIfy and GNUify the examples.
103 2000-09-18 Akim Demaille <akim@epita.fr>
105 First set of tests: use the `calc' example from the documentation.
107 * src/bison.s1 (yyparse): Condition the code using `yytname' which
108 is defined only when YYDEBUG is.
109 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
110 * src/files.c (tryopen, tryclose): Formatting changes.
111 Move to the top and be static.
112 * src/reader.c (read_signed_integer): Likewise.
113 * tests/calc.m4: New file.
114 * Makefile.am, suite.m4: Adjust.
115 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
117 2000-09-18 Akim Demaille <akim@epita.fr>
119 Add support for an Autotest test suite for Bison.
121 * m4/m4.m4, m4/atconfig.m4: New files.
122 * m4/Makefile.am (EXTRA_DIST): Adjust.
123 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
125 * src/getargs.c: Display a more standard --version message.
126 * src/reader.c (reader): Formatting changes.
127 No longer depend upon VERSION_STRING.
128 * configure.in: No longer use `dnl'.
129 Set up the test suite and the new directory `tests/.
130 (VERSION_STRING): Remove.
132 2000-04-14 Akim Demaille <akim@epita.fr>
134 * src/reader.c (copy_comment2): New function, same as former
135 `copy_comment', but outputs into two FILE *.
136 (copy_comment): Use it.
137 (parse_union_decl): Use it.
138 (get_type, parse_start_decl): Use the same `invalid' message.
139 (parse_start_decl, parse_union_decl): Use the same `multiple'
141 (parse_union_decl, copy_guard, copy_action): Use the same
143 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
145 2000-03-31 Akim Demaille <akim@epita.fr>
147 * src/files.c (tryopen, tryclose): Move to the top.
150 2000-03-31 Akim Demaille <akim@epita.fr>
152 * src/main.c (main): Don't call `done', exit does it.
154 2000-03-31 Akim Demaille <akim@epita.fr>
156 * allocate.c: s/return (foo)/return foo/.
159 * output.c: Likewise.
160 * reader.c: Likewise.
161 * symtab.c: Likewise.
162 * vmsgetargs.c: Likewise.
164 2000-03-31 Akim Demaille <akim@epita.fr>
166 Clean up the error reporting functions.
168 * src/report.c: New file.
169 * src/report.h: Likewise.
170 * src/Makefile.am: Adjust.
171 * m4/error.m4: New file.
172 * m4/Makefile.am: Adjust.
173 * configure.in (jm_PREREQ_ERROR): Call it.
174 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
176 (fatal, fatals): Remove. All callers use complain.c::fatal.
177 (warn, warni, warns, warnss, warnss): Remove. All callers use
178 complain.c::complain.
179 (toomany): Remove, use fatal instead.
180 * src/files.c (done): No argument, use complain_message_count.
181 * src/main.c (main): Register `done' to `atexit'.
183 * src/getargs.c (usage): More `fputs', less `fprintf'.
185 2000-03-28 Akim Demaille <akim@epita.fr>
187 * lib/: New directory.
188 * Makefile.am (SUBDIRS): Adjust.
189 * configure.in: Adjust.
190 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
192 * src/alloca.c: Moved to lib/.
193 * src/getopt.c: Likewise.
194 * src/getopt1.c: Likewise.
195 * src/getopt.h: Likewise.
196 * src/ansi2knr.c: Likewise.
197 * src/ansi2knr.1: Likewise.
198 * src/Makefile.am: Adjust.
199 * lib/Makefile.am: New file.
201 2000-03-28 Akim Demaille <akim@epita.fr>
203 * src/getargs.c (usage): Refresh the help message.
205 2000-03-17 Akim Demaille <akim@epita.fr>
207 * src/getopt1.c: Updated from textutils 2.0e
208 * src/getopt.c: Likewise.
209 * src/getopt.h: Likewise.
211 2000-03-17 Akim Demaille <akim@epita.fr>
213 * src/Makefile.am (bison.simple): Fix the awk program: quote only
214 the file name, not the whole `#line LINE FILE'.
216 2000-03-17 Akim Demaille <akim@epita.fr>
218 On syntax errors, report the token on which we choked.
220 * src/bison.s1 (yyparse): In the label yyerrlab, when
221 YYERROR_VERBOSE, add yychar in msg.
223 2000-03-17 Akim Demaille <akim@epita.fr>
225 * src/reader.c (copy_at): New function.
226 (copy_guard): Use it.
227 (copy_action): Use it.
229 2000-03-17 Akim Demaille <akim@epita.fr>
231 Be kind to translators, save some useless translations.
233 * src/main.c (banner): New function.
234 (fatal_banner): Use it.
235 (warn_banner): Use it.
237 2000-03-17 Akim Demaille <akim@epita.fr>
239 * src/reader.c (copy_definition): Use copy_string and
240 copy_comment. Removed now unused `match', `ended',
242 (copy_comment, copy_string): Moved, to be visible from
245 2000-03-17 Akim Demaille <akim@epita.fr>
247 * src/reader.c (copy_string): Declare `static inline'. No
248 problems with inline, since it is checked by configure.
249 (copy_comment): Likewise.
251 2000-03-17 Akim Demaille <akim@epita.fr>
253 * src/reader.c (packsymbols): Formatting changes.
255 2000-03-17 Akim Demaille <akim@epita.fr>
257 * src/reader.c (copy_comment): New function, factored out from:
258 (copy_action): Use it. Removed now unused `match', `ended',
260 (copy_guard): Likewise.
262 2000-03-17 Akim Demaille <akim@epita.fr>
264 * src/reader.c (copy_string): New function, factored out from:
265 (copy_action): Use it.
266 (copy_guard): Likewise.
268 2000-03-17 Akim Demaille <akim@epita.fr>
270 Change the handling of @s so that they behave exactly like $s.
271 There is now a pseudo variable @$ (readble and writable), location
272 of the lhs of the rule (by default ranging from the location of
273 the first symbol of the rhs, to the location of the last symbol,
274 or, if the rhs is empty, YYLLOC).
276 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
278 (yyparse): When providing a default semantic action, provide a
279 default location action.
280 (after the $): No longer change `*YYLSP', just stack YYLOC the
281 same way you stack YYVAL.
282 * src/reader.c (read_declarations): Use warns.
283 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
284 (copy_action, case '@'): Likewise.
285 Use a standard error message, to save useless work from
288 2000-03-17 Akim Demaille <akim@epita.fr>
290 * src/bison.s1: Formatting and cosmetics changes.
291 * src/reader.c: Likewise.
292 Update the Copyright notice.
294 2000-03-17 Akim Demaille <akim@epita.fr>
296 * src/bison.s1 (#line): All set to `#line' only, since the
297 Makefile now handles them.
299 2000-03-16 Akim Demaille <akim@epita.fr>
301 * src/output.c (output_rule_data): Output the documentation of
303 (Copyright notice): Update.
306 2000-03-16 Akim Demaille <akim@epita.fr>
308 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
309 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
310 One `#if YYDEBUG' remains, since it uses variables which are
311 defined only if `YYDEBUG != 0'.
313 2000-03-16 Akim Demaille <akim@epita.fr>
315 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
316 and related variables so that the similarities are highlighted.
318 2000-03-16 Akim Demaille <akim@epita.fr>
320 * src/bison.s1: Properly indent CPP directives.
322 2000-03-16 Akim Demaille <akim@epita.fr>
324 * src/bison.s1: Properly indent the `alloca' CPP section.
326 2000-03-16 Akim Demaille <akim@epita.fr>
328 Do not hard code values of directories in `configure.in'.
329 Update the `configure' tool chain.
331 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
333 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
334 (AC_OUTPUT): Add m4/Makefile.
335 Bump to bison 1.28a, 1.29 has never been released.
336 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
337 handled via src/Makefile.am.
338 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
339 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
341 * Makefile.am (SUBDIRS): Add m4.
342 (ACLOCAL_AM_FLAGS): New variable.
343 (AUTOMAKE_OPTIONS): Add check-news.
344 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
345 the proper line number and file name.
346 (DEFS): Propagate the location of bison library files and of the
348 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
350 * acinclude.m4: Remove, replaced by the directory m4.
351 * m4/Makefile.am (EXTRA_DIST): New variable.
352 * m4/gettext.m4: New file, from the fileutils.
353 * m4/lcmessage.m4: Likewise
354 * m4/progtest.m4: Likewise.
355 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
357 2000-03-10 Akim Demaille <akim@epita.fr>
360 Formatting changes of various comments.
361 Respect the GNU coding standards at various places.
362 Don't use `_()' when no translation is needed.
364 1999-12-13 Jesse Thilo <jthilo@gnu.org>
367 OS/2 honors TMPDIR environment variable.
369 1999-12-13 Jesse Thilo <jthilo@gnu.org>
371 * doc/bison.texinfo: Tweaked spelling and grammar.
373 Removed reference to price of printed copy.
374 Mention BISON_SIMPLE and BISON_HAIRY.
376 1999-12-13 Jesse Thilo <jthilo@gnu.org>
378 * configure.in, NEWS:
381 1999-10-27 Jesse Thilo <jthilo@gnu.org>
383 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
384 Added reference card.
386 1999-07-26 Jesse Thilo <jthilo@gnu.org>
388 * po/ru.po: Added Russian translation.
390 1999-07-26 Jesse Thilo <jthilo@gnu.org>
392 * configure.in: Added Russian translation.
394 1999-07-06 Jesse Thilo <jthilo@gnu.org>
396 * configure.in, NEWS, README:
397 Released version 1.28.
399 1999-06-14 Jesse Thilo <jthilo@gnu.org>
402 Squashed redefinition warning on some systems.
404 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
405 Have configure build version string instead of relying on ANSI string
408 1999-06-14 Jesse Thilo <jthilo@gnu.org>
410 * po/POTFILES.in: Got rid of version.c.
412 1999-06-14 Jesse Thilo <jthilo@gnu.org>
414 * acconfig.h, configure.in:
415 Have configure build version string instead of relying on ANSI string
418 1999-06-08 Jesse Thilo <jthilo@gnu.org>
421 Dropped mention of `+' for long-named options.
423 1999-05-30 Jesse Thilo <jthilo@gnu.org>
425 * src/files.c: Added <unistd.h> for unlink().
427 * src/Makefile.am, src/system.h:
430 1999-05-30 Jesse Thilo <jthilo@gnu.org>
432 * README: Added a FAQ list.
434 * configure.in, acconfig.h:
437 1999-05-30 Jesse Thilo <jthilo@gnu.org>
439 * doc/FAQ, doc/Makefile.am:
442 1999-05-19 Jesse Thilo <jthilo@gnu.org>
444 * src/alloc.h, src/symtab.h, src/version.c:
445 Protected inclusion of "config.h" with HAVE_CONFIG_H.
447 1999-04-18 Jesse Thilo <jthilo@gnu.org>
449 * src/.cvsignore, src/Makefile.am:
450 Reorganized: sources in `src', documentation in `doc'.
452 * src/lex.c (literalchar):
453 fixed the code for escaping double quotes (thanks
456 1999-04-18 Jesse Thilo <jthilo@gnu.org>
458 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
459 Adjusted paths to reflect directory reorganization.
461 1999-04-18 Jesse Thilo <jthilo@gnu.org>
463 * doc/.cvsignore, doc/Makefile.am:
464 Reorganized: sources in `src', documentation in `doc'.
466 1999-04-18 Jesse Thilo <jthilo@gnu.org>
469 Updated AC_INIT file to reflect directory reorganization.
471 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
472 Reorganized: sources in `src', documentation in `doc'.
474 1999-04-13 Jesse Thilo <jthilo@gnu.org>
477 Don't declare calloc() and realloc() if not necessary.
479 1999-04-13 Jesse Thilo <jthilo@gnu.org>
481 * configure.in, acconfig.h, acinclude.m4:
482 Don't declare calloc() and realloc() if not necessary.
484 1999-03-23 Jesse Thilo <jthilo@gnu.org>
486 * po/.cvsignore: Added i18n support.
488 1999-03-23 Jesse Thilo <jthilo@gnu.org>
490 * acconfig.h, configure.in, Makefile.am:
493 1999-03-22 Jesse Thilo <jthilo@gnu.org>
495 * src/bison.s1: Fixed #line numbers.
497 1999-03-15 Jesse Thilo <jthilo@gnu.org>
499 * po/es.po, po/fr.po, po/nl.po, po/de.po:
500 Added PO files from Translation Project.
502 1999-03-03 Jesse Thilo <jthilo@gnu.org>
505 Added support for non-ANSI compilers (ansi2knr).
507 1999-02-16 Jesse Thilo <jthilo@gnu.org>
509 * configure.in: Bumped version number to 1.27.
512 Added `bison.simple' to list of files removed by `make distclean'.
514 1999-02-12 Jesse Thilo <jthilo@gnu.org>
516 * src/files.c, src/files.h:
517 Defined locations of parser files in config.h instead of Makefile.
519 1999-02-12 Jesse Thilo <jthilo@gnu.org>
521 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
522 Defined locations of parser files in config.h instead of Makefile.
524 1999-02-09 Jesse Thilo <jthilo@gnu.org>
527 Removed inappropriate use of $< macro.
529 1999-02-05 Jesse Thilo <jthilo@gnu.org>
531 * po/Makefile.in.in, po/POTFILES.in:
532 Add `po' directory skeleton.
534 1999-01-27 Jesse Thilo <jthilo@gnu.org>
536 * README: Document help-bison list.
538 * configure.in: Add check for mkstemp().
540 1999-01-20 Jesse Thilo <jthilo@gnu.org>
542 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
543 Hush a few compiler warnings.
546 Add tryclose(), which verifies that fclose was successful.
547 Hush a couple of compiler warnings.
549 1999-01-20 Jesse Thilo <jthilo@gnu.org>
551 * Makefile.am, OChangeLog:
552 ChangeLog is now automatically generated. Include the old version as
555 1999-01-14 Jesse Thilo <jthilo@gnu.org>
557 * 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:
560 1999-01-14 Jesse Thilo <jthilo@gnu.org>
562 * doc/bison.texinfo: Fix formatting glitch.
564 * doc/bison.texinfo: Update FSF address.
566 1999-01-14 Jesse Thilo <jthilo@gnu.org>
568 * acconfig.h: Update FSF address.
570 1999-01-08 Jesse Thilo <jthilo@gnu.org>
573 Don't define PACKAGE here, since config.h defines it.
575 1998-12-30 Jesse Thilo <jthilo@gnu.org>
577 * src/reader.c: Update copyright date.
580 Ditch sprintf to statically-sized buffers in fatal/warn functions in
581 favor of output directly to stderr (avoids buffer overruns).
583 * src/reader.c: Some checks for premature EOF.
585 * 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:
586 Use prototypes if the compiler understands them.
588 * src/files.c: Honor TMPDIR on Unix hosts.
589 Use prototypes if the compiler understands them.
592 Fix a couple of buffer overrun bugs.
593 Use prototypes if the compiler understands them.
595 * src/system.h: Include unistd.h and ctype.h.
596 Use #ifdef instead of #if for NLS symbols.
598 1998-12-30 Jesse Thilo <jthilo@gnu.org>
601 Delete comment "consider using @set for edition number, etc..." since
604 1998-12-30 Jesse Thilo <jthilo@gnu.org>
607 Use prototypes if the compiler understands them.
609 * NEWS: Document 1.26 highlights.
611 * Makefile.am: Require Automake 1.3 or later.
614 Use prototypes if the compiler understands them.
616 1998-12-29 Jesse Thilo <jthilo@gnu.org>
619 Use VERSION symbol from automake for version number.
621 1998-12-29 Jesse Thilo <jthilo@gnu.org>
623 * acconfig.h, configure.in, version.cin:
624 Use VERSION symbol from automake for version number.
626 1998-11-28 Jesse Thilo <jthilo@gnu.org>
629 Distribute original version of simple parser (bison.s1), not built
630 version (bison.simple).
632 1998-11-28 Jesse Thilo <jthilo@gnu.org>
634 * doc/bison.texinfo: Add info dir entry.
637 Let automake put version number into documentation.
639 1998-11-26 Jesse Thilo <jthilo@gnu.org>
641 * src/bison.cld, src/build.com, src/vmshlp.mar:
642 Add non-RCS files from /gd/gnu/bison.
644 1998-11-26 Jesse Thilo <jthilo@gnu.org>
647 Document the BISON_HAIRY and BISON_SIMPLE variables.
649 1998-11-25 Jesse Thilo <jthilo@gnu.org>
651 * src/version.c: Build version.c automatically.
654 Fix token numbering (used to start at 258, not 257).
656 * src/system.h: Include config.h.
658 * src/getargs.c: Update bug report address.
660 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
661 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
663 1998-11-25 Jesse Thilo <jthilo@gnu.org>
666 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
668 * configure.in, version.cin:
669 Build version.c automatically.
671 * AUTHORS: Add AUTHORS file.
673 * README: Update bug report address.
676 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
678 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
681 1998-11-25 Jesse Thilo <jthilo@gnu.org>
683 * doc/bison.texinfo: Clean up some formatting.
685 1998-05-05 Richard Stallman <rms@gnu.org>
688 Explain better why to make a pure parser.
690 1998-01-05 Richard Stallman <rms@gnu.org>
692 * src/files.c (openfiles):
693 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
694 find a temporary directory, if possible. Do not unlink files while
697 1997-08-25 Richard Stallman <rms@gnu.org>
699 * src/reader.c (stack_offset;):
700 Change some warni to warns.
702 * src/lex.c (literalchar): Use warns, not warni.
704 1997-06-28 Richard Stallman <rms@gnu.org>
706 * src/bison.s1: Add a Bison version comment.
708 * src/main.c (fatal, warn, berror):
711 1997-06-28 Richard Stallman <rms@gnu.org>
713 * Makefile.in (bison_version): New variable.
714 (dist): Use that variable.
715 (bison.s1): Substitute the Bison version into bison.simple.
717 * bison.simple: Add a Bison version comment.
719 1997-06-18 Richard Stallman <rms@gnu.org>
721 * src/main.c (fatal, warn, berror):
722 Make error messages standard.
723 (toomany): Improve error message text.
725 * 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:
726 new.h renamed to alloc.h.
728 1997-06-18 Richard Stallman <rms@gnu.org>
730 * Makefile.in: new.h renamed to alloc.h.
732 1997-05-24 Richard Stallman <rms@gnu.org>
734 * src/lex.c (literalchar):
735 Fix the code for escaping \, " and '.
737 (lex): Avoid trouble when there are many chars
738 to discard in a char literal with just several chars in it.
740 1997-05-17 Richard Stallman <rms@gnu.org>
743 Use malloc, if using alloca is troublesome.
744 (YYSTACK_USE_ALLOCA): New flag macro.
745 Define it for some systems and compilers.
746 (YYSTACK_ALLOC): New macro.
747 (yyparse): Use YYSTACK_ALLOC to allocate stack.
748 If it was malloc'd, free it.
750 1997-05-17 Richard Stallman <rms@gnu.org>
753 Use malloc, if using alloca is troublesome.
754 (YYSTACK_USE_ALLOCA): New flag macro.
755 Define it for some systems and compilers.
756 (YYSTACK_ALLOC): New macro.
757 (yyparse): Use YYSTACK_ALLOC to allocate stack.
758 If it was malloc'd, free it.
760 1997-04-23 Richard Stallman <rms@gnu.org>
763 (alloca) [__hpux]: Always define as __builtin_alloca.
765 1997-04-23 Richard Stallman <rms@gnu.org>
768 (alloca) [__hpux]: Always define as __builtin_alloca.
770 1997-04-22 Richard Stallman <rms@gnu.org>
773 [__hpux]: Include alloca.h (right for HPUX 10)
774 instead of declaring alloca (right for HPUX 9).
776 * src/bison.s1 (__yy_memcpy):
777 Declare arg `count' as unsigned int.
778 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
780 1997-04-22 Richard Stallman <rms@gnu.org>
783 [__hpux]: Include alloca.h (right for HPUX 10)
784 instead of declaring alloca (right for HPUX 9).
786 * bison.simple (__yy_memcpy):
787 Declare arg `count' as unsigned int.
788 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
790 1997-01-03 Richard Stallman <rms@gnu.org>
792 * src/allocate.c: [__STDC__ or _MSC_VER]:
793 Declare calloc and realloc to return void *.
795 1997-01-02 Richard Stallman <rms@gnu.org>
798 [_MSC_VER]: Include stdlib.h and process.h.
799 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
801 * src/main.c (main): Return FAILURE as a value.
802 (printable_version): Declare arg as int, not char.
804 1997-01-02 Richard Stallman <rms@gnu.org>
806 * Makefile.in (dist):
807 Explicitly check for symlinks, and copy them.
809 1996-12-19 Richard Stallman <rms@gnu.org>
812 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
814 1996-12-18 Paul Eggert <eggert@gnu.org>
816 * src/bison.s1 (yyparse):
817 If __GNUC__ and YYPARSE_PARAM are both defined,
818 declare yyparse to have a void * argument.
820 1996-12-18 Paul Eggert <eggert@gnu.org>
822 * bison.simple (yyparse):
823 If __GNUC__ and YYPARSE_PARAM are both defined,
824 declare yyparse to have a void * argument.
826 1996-12-17 Richard Stallman <rms@gnu.org>
828 * src/reduce.c (nbits): Add some casts.
830 1996-08-12 Richard Stallman <rms@gnu.org>
832 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
834 1996-08-12 Richard Stallman <rms@gnu.org>
836 * bison.simple: Test _MSDOS as well as _MSDOS_.
838 1996-07-31 Richard Stallman <rms@gnu.org>
841 [__sun && __i386]: Include alloca.h.
843 1996-07-31 Richard Stallman <rms@gnu.org>
846 [__sun && __i386]: Include alloca.h.
848 1996-07-30 Richard Stallman <rms@gnu.org>
850 * src/bison.s1: Comment change.
852 * src/bison.s1: Test _MSDOS_, not MSDOS.
854 1996-07-30 Richard Stallman <rms@gnu.org>
856 * bison.simple: Comment change.
858 * bison.simple: Test _MSDOS_, not MSDOS.
860 1996-06-01 Richard Stallman <rms@gnu.org>
862 * 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:
863 Insert `_' macro around many string constants.
866 Insert `_' macro around many string constants.
868 (main): Call setlocale, bindtextdomain and textdomain.
870 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
871 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
872 [ENABLE_NLS]: Include libintl.h.
873 [ENABLE_NLS] (gettext): Define.
874 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
875 (N_, PACKAGE, LOCALEDIR): New macros.
877 1996-06-01 Richard Stallman <rms@gnu.org>
879 * POTFILES.in: New file.
881 * Makefile.in (allocate.o):
882 Define target explicitly.
884 * Makefile.in (CFLAGS): Set to @CFLAGS@.
885 (LDFLAGS): Set to @LDFLAGS@.
886 (configure): Run autoconf only if preceding `cd' succeeds.
887 (bison.s1): Redirect output to temporary file then move the
888 temporary to the target, rather than redirecting directly to bison.s1.
889 (clean): Remove config.status and config.log.
890 (distclean): Don't remove config.status here.
892 1996-05-12 Richard Stallman <rms@gnu.org>
895 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
897 1996-05-12 Richard Stallman <rms@gnu.org>
900 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
902 1996-05-11 Richard Stallman <rms@gnu.org>
904 * src/bison.s1 (__yy_memcpy):
905 Really reorder the args, as was supposedly done on Feb 14 1995.
906 (yyparse): Calls changed accordingly.
908 1996-05-11 Richard Stallman <rms@gnu.org>
910 * Makefile.in (dist): Don't use $(srcdir).
912 * bison.simple (__yy_memcpy):
913 Really reorder the args, as was supposedly done on Feb 14 1995.
914 (yyparse): Calls changed accordingly.
916 1996-01-27 Richard Stallman <rms@gnu.org>
918 * src/output.c (output_rule_data):
919 Test YYERROR_VERBOSE in the conditional
920 around the definition of ttyname.
922 1995-12-29 Richard Stallman <rms@gnu.org>
925 Fix line numbers in #line commands.
927 1995-12-29 Richard Stallman <rms@gnu.org>
930 Fix line numbers in #line commands.
932 1995-12-27 Richard Stallman <rms@gnu.org>
934 * src/bison.s1 (YYPARSE_PARAM_DECL):
935 In C++, make it always null.
936 (YYPARSE_PARAM_ARG): New macro.
937 (yyparse): Use YYPARSE_PARAM_ARG.
939 1995-12-27 Richard Stallman <rms@gnu.org>
941 * bison.simple (YYPARSE_PARAM_DECL):
942 In C++, make it always null.
943 (YYPARSE_PARAM_ARG): New macro.
944 (yyparse): Use YYPARSE_PARAM_ARG.
946 1995-11-29 Richard Stallman <rms@gnu.org>
949 Describe literal string tokens, %raw, %no_lines, %token_table.
951 1995-11-29 Daniel Hagerty <hag@gnu.org>
953 * doc/bison.texinfo: Fixed update date
955 1995-10-16 Richard Stallman <rms@gnu.org>
957 * src/version.c: Version 1.25.
959 1995-10-16 Richard Stallman <rms@gnu.org>
961 * NEWS: *** empty log message ***
963 1995-10-16 Richard Stallman <rms@gnu.org>
965 * doc/bison.1, doc/bison.rnh:
968 1995-10-15 Richard Stallman <rms@gnu.org>
970 * src/vmsgetargs.c, src/getargs.c:
971 Added -n, -k, and -raw switches.
972 (noparserflag, toknumflag, rawtoknumflag): New variables.
974 * src/symtab.h (SALIAS):
975 New #define for adding aliases to %token.
976 (struct bucket): Added `alias' field.
978 * src/reduce.c (reduce_grammar):
979 Revise error message.
980 (print_notices): Remove final `.' from error message.
982 * src/reader.c (reader_output_yylsp):
984 (readgram): Use `#if 0' around code that accepted %command
985 inside grammar rules: The documentation doesn't allow it,
986 and it will fail since the %command processors scan for the next %.
987 (parse_token_decl): Extended the %token
988 declaration to allow a multi-character symbol as an alias.
989 (parse_thong_decl): New function.
990 (read_declarations): Added %thong declarations.
991 (read_declarations): Handle NOOP to deal with allowing
992 % declarations as another means to specify the flags.
993 (readgram): Allow %prec prior to semantics embedded in a rule.
994 (skip_to_char, read_declarations, copy_definition)
995 (parse_token_decl, parse_start_decl, parse_type_decl)
996 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
997 (get_type_name, copy_guard, copy_action, readgram)
998 (get_type, packsymbols): Revised most error messages.
999 Changed `fatal' to `warnxxx' to avoid aborting for error.
1000 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1001 (read_declarations): Improve the error message for
1002 an invalid character. Do not abort.
1003 (read_declarations, copy_guard, copy_action): Use
1004 printable_version to avoid unprintable characters in printed output.
1005 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1006 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1007 Allow the type of a non-terminal can be given
1008 more than once, as long as all specifications give the same type.
1011 (output_headers, output_trailers, output, output_gram)
1012 (output_rule_data): Implement noparserflag variable.
1013 Implement toknumflag variable.
1014 (output): Call reader_output_yylsp to output LTYPESTR.
1016 * src/main.c (main):
1017 If reader sees an error, don't process the grammar.
1018 (fatals): Updated to not use VARARGS1.
1019 (printable_version, int_to_string, warn, warni, warns, warnss)
1020 (warnsss): New error reporting functions. Avoid abort for error.
1023 Added THONG and NOOP for alias processing.
1024 Added SETOPT for the new code that allows setting options with %flags.
1027 Include getopt.h. Add some extern decls.
1028 (safegetc): New function to deal with EOF gracefully.
1029 (literalchar); new function to deal with reading \ escapes.
1030 (lex): Use literalchar.
1031 (lex): Implemented "..." tokens.
1032 (literalchar, lex, parse_percent_token): Made tokenbuffer
1033 always contain the token. This includes growing the token
1034 buffer while reading an integer.
1035 (parse_percent_token): Replaced if-else statement with percent_table.
1036 (parse_percent_token): Added % declarations as another
1037 way to specify the flags -n, -l, and -r. Also added hooks for
1038 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1039 major changes to files.c.
1040 (lex) Retain in the incoming stream a character following
1042 (skip_white_space, lex): Revised most error messages
1043 and changed fatal to warn to avoid aborting.
1044 (percent_table): Added %thong declarations.
1046 * src/gram.h: Comment changes.
1048 * src/files.c (openfiles, open_extra_files, done):
1050 and actfile file. Handle noparserflag. Both for -n switch.
1052 * src/conflicts.c (resolve_sr_conflict):
1053 Remove use of alloca.
1055 1995-06-01 Jim Meyering <meyering@gnu.org>
1057 * doc/bison.texinfo: *** empty log message ***
1059 1995-05-06 Richard Stallman <rms@gnu.org>
1061 * src/bison.s1: Comment change.
1063 1995-05-06 Richard Stallman <rms@gnu.org>
1065 * bison.simple: Comment change.
1067 1995-05-03 Richard Stallman <rms@gnu.org>
1069 * src/version.c: Version now 1.24.
1071 * src/bison.s1: Change distribution terms.
1073 * src/version.c: Version now 1.23.
1075 1995-05-03 Richard Stallman <rms@gnu.org>
1077 * doc/bison.texinfo:
1078 Rewrite "Conditions for Using Bison".
1079 Update version to 1.24.
1081 1995-05-03 Richard Stallman <rms@gnu.org>
1083 * bison.simple: Change distribution terms.
1085 1995-02-23 Richard Stallman <rms@gnu.org>
1087 * src/files.c: Test __VMS_POSIX as well as VMS.
1089 1995-02-14 Jim Meyering <meyering@gnu.org>
1091 * src/bison.s1 (__yy_memcpy):
1092 Renamed from __yy_bcopy to avoid
1093 confusion. Reverse FROM and TO arguments to be consistent with
1096 1995-02-14 Jim Meyering <meyering@gnu.org>
1098 * bison.simple (__yy_memcpy):
1099 Renamed from __yy_bcopy to avoid
1100 confusion. Reverse FROM and TO arguments to be consistent with
1103 1994-11-10 David J. MacKenzie <djm@gnu.org>
1109 * Makefile.in (DISTFILES): Include NEWS.
1111 * Makefile.in (DISTFILES):
1112 Include install-sh, not install.sh.
1114 * configure.in: Update to Autoconf v2 macro names.
1116 1994-10-05 David J. MacKenzie <djm@gnu.org>
1118 * Makefile.in: fix typo
1120 * Makefile.in (prefix, exec_prefix):
1121 Let configure set them.
1123 1994-09-28 David J. MacKenzie <djm@gnu.org>
1125 * Makefile.in: Set datadir to $(prefix)/share.
1127 1994-09-15 Richard Stallman <rms@gnu.org>
1130 Update copyright notice and GPL version.
1132 1994-09-15 Richard Stallman <rms@gnu.org>
1135 Update copyright notice and GPL version.
1137 1994-07-12 Richard Stallman <rms@gnu.org>
1139 * src/reduce.c, src/reader.c:
1142 1994-05-05 David J. MacKenzie <djm@gnu.org>
1144 * Makefile.in: entered into RCS
1146 1994-03-26 Richard Stallman <rms@gnu.org>
1148 * src/bison.s1: entered into RCS
1150 1994-03-26 Richard Stallman <rms@gnu.org>
1152 * bison.simple: entered into RCS
1154 1994-03-25 Richard Stallman <rms@gnu.org>
1156 * src/main.c: entered into RCS
1158 1994-03-24 Richard Stallman <rms@gnu.org>
1160 * src/conflicts.c: entered into RCS
1162 1994-01-02 Richard Stallman <rms@gnu.org>
1164 * Makefile.in: *** empty log message ***
1166 1993-11-21 Richard Stallman <rms@gnu.org>
1168 * src/bison.s1: *** empty log message ***
1170 1993-11-21 Richard Stallman <rms@gnu.org>
1172 * doc/bison.texinfo: entered into RCS
1174 * doc/bison.texinfo: *** empty log message ***
1176 1993-11-21 Richard Stallman <rms@gnu.org>
1178 * bison.simple: *** empty log message ***
1180 1993-10-25 David J. MacKenzie <djm@gnu.org>
1182 * doc/bison.texinfo: *** empty log message ***
1184 1993-10-19 Richard Stallman <rms@gnu.org>
1186 * src/bison.s1: *** empty log message ***
1188 1993-10-19 Richard Stallman <rms@gnu.org>
1190 * bison.simple: *** empty log message ***
1192 1993-10-14 Richard Stallman <rms@gnu.org>
1194 * src/bison.s1: *** empty log message ***
1196 1993-10-14 Richard Stallman <rms@gnu.org>
1198 * bison.simple: *** empty log message ***
1200 1993-09-14 David J. MacKenzie <djm@gnu.org>
1202 * doc/bison.texinfo: *** empty log message ***
1204 1993-09-13 Noah Friedman <friedman@gnu.org>
1206 * Makefile.in: *** empty log message ***
1208 1993-09-10 Richard Stallman <rms@gnu.org>
1210 * src/conflicts.c: *** empty log message ***
1212 * src/system.h: entered into RCS
1214 1993-09-10 Richard Stallman <rms@gnu.org>
1216 * doc/bison.1: entered into RCS
1218 1993-09-06 Noah Friedman <friedman@gnu.org>
1220 * src/version.c: entered into RCS
1222 1993-09-06 Noah Friedman <friedman@gnu.org>
1224 * Makefile.in: *** empty log message ***
1226 1993-07-30 David J. MacKenzie <djm@gnu.org>
1228 * Makefile.in: *** empty log message ***
1230 1993-07-24 Richard Stallman <rms@gnu.org>
1232 * src/bison.s1: *** empty log message ***
1234 1993-07-24 Richard Stallman <rms@gnu.org>
1236 * bison.simple: *** empty log message ***
1238 1993-07-08 David J. MacKenzie <djm@gnu.org>
1240 * Makefile.in: *** empty log message ***
1242 1993-07-04 Richard Stallman <rms@gnu.org>
1244 * src/bison.s1: *** empty log message ***
1246 1993-07-04 Richard Stallman <rms@gnu.org>
1248 * bison.simple: *** empty log message ***
1250 1993-06-26 David J. MacKenzie <djm@gnu.org>
1252 * src/getargs.c: entered into RCS
1254 1993-06-26 David J. MacKenzie <djm@gnu.org>
1256 * doc/bison.texinfo: *** empty log message ***
1258 * doc/bison.1: New file.
1260 1993-06-25 Richard Stallman <rms@gnu.org>
1262 * src/getargs.c: New file.
1264 1993-06-16 Richard Stallman <rms@gnu.org>
1266 * src/bison.s1: *** empty log message ***
1268 1993-06-16 Richard Stallman <rms@gnu.org>
1270 * bison.simple: *** empty log message ***
1272 1993-06-03 Richard Stallman <rms@gnu.org>
1274 * src/bison.s1: New file.
1276 1993-06-03 Richard Stallman <rms@gnu.org>
1278 * doc/bison.texinfo: *** empty log message ***
1280 1993-06-03 Richard Stallman <rms@gnu.org>
1282 * bison.simple: New file.
1284 1993-05-19 Richard Stallman <rms@gnu.org>
1286 * doc/bison.texinfo: New file.
1288 1993-05-07 Noah Friedman <friedman@gnu.org>
1290 * Makefile.in: *** empty log message ***
1292 1993-04-28 Noah Friedman <friedman@gnu.org>
1294 * src/reader.c: *** empty log message ***
1296 1993-04-23 Noah Friedman <friedman@gnu.org>
1298 * src/alloc.h: entered into RCS
1300 1993-04-20 David J. MacKenzie <djm@gnu.org>
1302 * src/version.c: *** empty log message ***
1304 * src/files.c, src/allocate.c:
1307 * src/reader.c: *** empty log message ***
1309 * src/lex.c: entered into RCS
1311 * src/conflicts.c: New file.
1313 * src/symtab.c: entered into RCS
1315 * src/alloc.h: New file.
1317 * src/LR0.c: entered into RCS
1319 1993-04-18 Noah Friedman <friedman@gnu.org>
1321 * src/reader.c: New file.
1323 * src/version.c: *** empty log message ***
1325 1993-04-18 Noah Friedman <friedman@gnu.org>
1327 * Makefile.in: *** empty log message ***
1329 1993-04-17 Noah Friedman <friedman@gnu.org>
1331 * Makefile.in: *** empty log message ***
1333 1993-04-15 Richard Stallman <rms@gnu.org>
1335 * src/main.c, src/files.c:
1338 1993-04-15 Noah Friedman <friedman@gnu.org>
1340 * configure.in: entered into RCS
1342 * configure.in: *** empty log message ***
1344 * configure.in: New file.
1346 1993-04-14 Richard Stallman <rms@gnu.org>
1348 * Makefile.in: New file.
1350 1993-04-13 Richard Stallman <rms@gnu.org>
1352 * src/version.c: New file.
1354 1993-03-25 Richard Stallman <rms@gnu.org>
1356 * src/output.c: entered into RCS
1358 1992-09-25 Richard Stallman <rms@gnu.org>
1360 * configure.bat: entered into RCS
1362 1992-06-22 Richard Stallman <rms@gnu.org>
1364 * src/vmsgetargs.c: entered into RCS
1366 1992-06-22 Richard Stallman <rms@gnu.org>
1368 * doc/bison.rnh: entered into RCS
1370 1992-04-20 David J. MacKenzie <djm@gnu.org>
1372 * README: entered into RCS
1374 1992-01-22 Richard Stallman <rms@gnu.org>
1376 * src/machine.h: entered into RCS
1378 1991-12-21 Richard Stallman <rms@gnu.org>
1380 * src/lalr.c, src/closure.c:
1383 1991-12-20 Richard Stallman <rms@gnu.org>
1385 * src/state.h: entered into RCS
1387 1991-12-18 Richard Stallman <rms@gnu.org>
1389 * src/print.c, src/nullable.c, src/derives.c:
1392 1991-11-03 David J. MacKenzie <djm@gnu.org>
1394 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1397 1988-09-09 Richard Stallman <rms@gnu.org>
1399 * src/bison.hairy: entered into RCS
1401 1987-12-16 Richard Stallman <rms@gnu.org>
1403 * REFERENCES: entered into RCS