1 2000-10-02 Akim Demaille <akim@epita.fr>
3 * src/files.c: Formatting changes.
4 (tryopen, tryclose, openfiles): Rename as...
5 (xfopen, xfclose, open_files): this.
6 (stringappend): static.
7 * src/files.h: Complete the list of exported symbols.
11 2000-10-02 Akim Demaille <akim@epita.fr>
13 * src/reader.h: New file.
14 Propagate its use instead of tedious list of `extern' and
16 * src/reader.c: Formatting changes, topological sort,
20 2000-10-02 Akim Demaille <akim@epita.fr>
22 * src/lex.h: Prototype `lex.c' exported functions.
23 * src/reader.c: Adjust.
24 * src/lex.c: Formatting changes.
25 (safegetc): Rename as...
29 2000-10-02 Akim Demaille <akim@epita.fr>
31 * src/lalr.h: New file.
32 Propagate its inclusion instead of prototypes and `extern'.
33 * src/lalr.c: Formatting changes, topological sorting etc.
36 2000-10-02 Akim Demaille <akim@epita.fr>
38 * src/output.c (token_actions): Introduce a temporary array,
39 YYDEFACT, that makes it possible for this function to use
43 2000-10-02 Akim Demaille <akim@epita.fr>
45 `user_toknums' is output as a `short[]' in `output.c', while it is
46 defined as a `int[]' in `reader.c'. For consistency with the
47 other output tables, `user_toknums' is now defined as a table of
50 * src/reader.c (user_toknums): Be a short table instead of an int
54 Factor the short table outputs.
56 * src/output.c (output_short_table): New function.
57 * src/output.c (output_gram, output_stos, output_rule_data)
58 (output_base, output_table, output_check): Use it.
60 2000-10-02 Akim Demaille <akim@epita.fr>
62 * src/output.c (output): Topological sort of the functions, in
63 order to get rid of the `static' prototypes.
64 No longer use `register'.
65 * src/output.h: New file.
66 Propagate its inclusion in files explicitly prototyping functions
69 2000-09-21 Akim Demaille <akim@epita.fr>
71 * src/atgeneral.m4: Update from Autoconf.
73 2000-09-21 Akim Demaille <akim@epita.fr>
75 * src/closure.h: New file.
76 * src/closure.c: Formatting changes, topological sort over the
77 functions, use of closure.h.
78 (initialize_closure, finalize_closure): Rename as...
79 (new_closure, free_closure): these. Adjust dependencies.
80 * src/LR0.c: Formatting changes, topological sort, use of
82 (initialize_states): Rename as...
84 * src/Makefile.am (noinst_HEADERS): Adjust.
86 2000-09-20 Akim Demaille <akim@epita.fr>
88 * src/acconfig.h: Don't protect config.h against multiple
91 * src/system.h: Define PARAMS.
92 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
93 purpose of config.h. system.h must not try to fix wrong
94 definitions in config.h.
96 2000-09-20 Akim Demaille <akim@epita.fr>
98 * src/derives.h: New file.
99 * src/main.c, src/derives.h: Use it.
101 * src/Makefile.am (noinst_HEADERS): Adjust.
103 2000-09-20 Akim Demaille <akim@epita.fr>
105 * tests/atgeneral.m4: Update from Autoconf.
106 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
107 (AT_CHECK_CALC): New macros.
108 Use these macros to test bison with options `', `--raw',
109 `--debug', `--yacc', `--yacc --debug'.
111 2000-09-19 Akim Demaille <akim@epita.fr>
113 * src/output.c: Formatting changes.
114 * src/machine.h: Remove, leaving its contents in...
115 * src/system.h: here.
117 Adjust all dependencies on stdio.h and machine.h.
118 * src/getargs.h: New file.
119 Let all `extern' declarations about getargs.c be replaced with
120 inclusion of `getargs.h'.
121 * src/Makefile.am (noinst_HEADERS): Adjust.
123 * tests/calc.m4 (yyin): Be initialized in main, not on the global
125 (yyerror): Returns void, not int.
126 * doc/bison.texinfo: Formatting changes.
128 2000-09-19 Akim Demaille <akim@epita.fr>
130 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
133 2000-09-18 Akim Demaille <akim@epita.fr>
135 * configure.in: Append WARNING_CFLAGS to CFLAGS.
136 * src/Makefile.am (INCLUDES): Don't.
137 Be ready to fetch headers in lib/.
139 2000-09-18 Akim Demaille <akim@epita.fr>
141 * doc/bison.texinfo: Update the copyright.
142 ANSIfy and GNUify the examples.
145 2000-09-18 Akim Demaille <akim@epita.fr>
147 First set of tests: use the `calc' example from the documentation.
149 * src/bison.s1 (yyparse): Condition the code using `yytname' which
150 is defined only when YYDEBUG is.
151 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
152 * src/files.c (tryopen, tryclose): Formatting changes.
153 Move to the top and be static.
154 * src/reader.c (read_signed_integer): Likewise.
155 * tests/calc.m4: New file.
156 * Makefile.am, suite.m4: Adjust.
157 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
159 2000-09-18 Akim Demaille <akim@epita.fr>
161 Add support for an Autotest test suite for Bison.
163 * m4/m4.m4, m4/atconfig.m4: New files.
164 * m4/Makefile.am (EXTRA_DIST): Adjust.
165 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
167 * src/getargs.c: Display a more standard --version message.
168 * src/reader.c (reader): Formatting changes.
169 No longer depend upon VERSION_STRING.
170 * configure.in: No longer use `dnl'.
171 Set up the test suite and the new directory `tests/.
172 (VERSION_STRING): Remove.
174 2000-04-14 Akim Demaille <akim@epita.fr>
176 * src/reader.c (copy_comment2): New function, same as former
177 `copy_comment', but outputs into two FILE *.
178 (copy_comment): Use it.
179 (parse_union_decl): Use it.
180 (get_type, parse_start_decl): Use the same `invalid' message.
181 (parse_start_decl, parse_union_decl): Use the same `multiple'
183 (parse_union_decl, copy_guard, copy_action): Use the same
185 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
187 2000-03-31 Akim Demaille <akim@epita.fr>
189 * src/files.c (tryopen, tryclose): Move to the top.
192 2000-03-31 Akim Demaille <akim@epita.fr>
194 * src/main.c (main): Don't call `done', exit does it.
196 2000-03-31 Akim Demaille <akim@epita.fr>
198 * allocate.c: s/return (foo)/return foo/.
201 * output.c: Likewise.
202 * reader.c: Likewise.
203 * symtab.c: Likewise.
204 * vmsgetargs.c: Likewise.
206 2000-03-31 Akim Demaille <akim@epita.fr>
208 Clean up the error reporting functions.
210 * src/report.c: New file.
211 * src/report.h: Likewise.
212 * src/Makefile.am: Adjust.
213 * m4/error.m4: New file.
214 * m4/Makefile.am: Adjust.
215 * configure.in (jm_PREREQ_ERROR): Call it.
216 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
218 (fatal, fatals): Remove. All callers use complain.c::fatal.
219 (warn, warni, warns, warnss, warnss): Remove. All callers use
220 complain.c::complain.
221 (toomany): Remove, use fatal instead.
222 * src/files.c (done): No argument, use complain_message_count.
223 * src/main.c (main): Register `done' to `atexit'.
225 * src/getargs.c (usage): More `fputs', less `fprintf'.
227 2000-03-28 Akim Demaille <akim@epita.fr>
229 * lib/: New directory.
230 * Makefile.am (SUBDIRS): Adjust.
231 * configure.in: Adjust.
232 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
234 * src/alloca.c: Moved to lib/.
235 * src/getopt.c: Likewise.
236 * src/getopt1.c: Likewise.
237 * src/getopt.h: Likewise.
238 * src/ansi2knr.c: Likewise.
239 * src/ansi2knr.1: Likewise.
240 * src/Makefile.am: Adjust.
241 * lib/Makefile.am: New file.
243 2000-03-28 Akim Demaille <akim@epita.fr>
245 * src/getargs.c (usage): Refresh the help message.
247 2000-03-17 Akim Demaille <akim@epita.fr>
249 * src/getopt1.c: Updated from textutils 2.0e
250 * src/getopt.c: Likewise.
251 * src/getopt.h: Likewise.
253 2000-03-17 Akim Demaille <akim@epita.fr>
255 * src/Makefile.am (bison.simple): Fix the awk program: quote only
256 the file name, not the whole `#line LINE FILE'.
258 2000-03-17 Akim Demaille <akim@epita.fr>
260 On syntax errors, report the token on which we choked.
262 * src/bison.s1 (yyparse): In the label yyerrlab, when
263 YYERROR_VERBOSE, add yychar in msg.
265 2000-03-17 Akim Demaille <akim@epita.fr>
267 * src/reader.c (copy_at): New function.
268 (copy_guard): Use it.
269 (copy_action): Use it.
271 2000-03-17 Akim Demaille <akim@epita.fr>
273 Be kind to translators, save some useless translations.
275 * src/main.c (banner): New function.
276 (fatal_banner): Use it.
277 (warn_banner): Use it.
279 2000-03-17 Akim Demaille <akim@epita.fr>
281 * src/reader.c (copy_definition): Use copy_string and
282 copy_comment. Removed now unused `match', `ended',
284 (copy_comment, copy_string): Moved, to be visible from
287 2000-03-17 Akim Demaille <akim@epita.fr>
289 * src/reader.c (copy_string): Declare `static inline'. No
290 problems with inline, since it is checked by configure.
291 (copy_comment): Likewise.
293 2000-03-17 Akim Demaille <akim@epita.fr>
295 * src/reader.c (packsymbols): Formatting changes.
297 2000-03-17 Akim Demaille <akim@epita.fr>
299 * src/reader.c (copy_comment): New function, factored out from:
300 (copy_action): Use it. Removed now unused `match', `ended',
302 (copy_guard): Likewise.
304 2000-03-17 Akim Demaille <akim@epita.fr>
306 * src/reader.c (copy_string): New function, factored out from:
307 (copy_action): Use it.
308 (copy_guard): Likewise.
310 2000-03-17 Akim Demaille <akim@epita.fr>
312 Change the handling of @s so that they behave exactly like $s.
313 There is now a pseudo variable @$ (readble and writable), location
314 of the lhs of the rule (by default ranging from the location of
315 the first symbol of the rhs, to the location of the last symbol,
316 or, if the rhs is empty, YYLLOC).
318 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
320 (yyparse): When providing a default semantic action, provide a
321 default location action.
322 (after the $): No longer change `*YYLSP', just stack YYLOC the
323 same way you stack YYVAL.
324 * src/reader.c (read_declarations): Use warns.
325 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
326 (copy_action, case '@'): Likewise.
327 Use a standard error message, to save useless work from
330 2000-03-17 Akim Demaille <akim@epita.fr>
332 * src/bison.s1: Formatting and cosmetics changes.
333 * src/reader.c: Likewise.
334 Update the Copyright notice.
336 2000-03-17 Akim Demaille <akim@epita.fr>
338 * src/bison.s1 (#line): All set to `#line' only, since the
339 Makefile now handles them.
341 2000-03-16 Akim Demaille <akim@epita.fr>
343 * src/output.c (output_rule_data): Output the documentation of
345 (Copyright notice): Update.
348 2000-03-16 Akim Demaille <akim@epita.fr>
350 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
351 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
352 One `#if YYDEBUG' remains, since it uses variables which are
353 defined only if `YYDEBUG != 0'.
355 2000-03-16 Akim Demaille <akim@epita.fr>
357 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
358 and related variables so that the similarities are highlighted.
360 2000-03-16 Akim Demaille <akim@epita.fr>
362 * src/bison.s1: Properly indent CPP directives.
364 2000-03-16 Akim Demaille <akim@epita.fr>
366 * src/bison.s1: Properly indent the `alloca' CPP section.
368 2000-03-16 Akim Demaille <akim@epita.fr>
370 Do not hard code values of directories in `configure.in'.
371 Update the `configure' tool chain.
373 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
375 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
376 (AC_OUTPUT): Add m4/Makefile.
377 Bump to bison 1.28a, 1.29 has never been released.
378 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
379 handled via src/Makefile.am.
380 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
381 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
383 * Makefile.am (SUBDIRS): Add m4.
384 (ACLOCAL_AM_FLAGS): New variable.
385 (AUTOMAKE_OPTIONS): Add check-news.
386 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
387 the proper line number and file name.
388 (DEFS): Propagate the location of bison library files and of the
390 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
392 * acinclude.m4: Remove, replaced by the directory m4.
393 * m4/Makefile.am (EXTRA_DIST): New variable.
394 * m4/gettext.m4: New file, from the fileutils.
395 * m4/lcmessage.m4: Likewise
396 * m4/progtest.m4: Likewise.
397 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
399 2000-03-10 Akim Demaille <akim@epita.fr>
402 Formatting changes of various comments.
403 Respect the GNU coding standards at various places.
404 Don't use `_()' when no translation is needed.
406 1999-12-13 Jesse Thilo <jthilo@gnu.org>
409 OS/2 honors TMPDIR environment variable.
411 1999-12-13 Jesse Thilo <jthilo@gnu.org>
413 * doc/bison.texinfo: Tweaked spelling and grammar.
415 Removed reference to price of printed copy.
416 Mention BISON_SIMPLE and BISON_HAIRY.
418 1999-12-13 Jesse Thilo <jthilo@gnu.org>
420 * configure.in, NEWS:
423 1999-10-27 Jesse Thilo <jthilo@gnu.org>
425 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
426 Added reference card.
428 1999-07-26 Jesse Thilo <jthilo@gnu.org>
430 * po/ru.po: Added Russian translation.
432 1999-07-26 Jesse Thilo <jthilo@gnu.org>
434 * configure.in: Added Russian translation.
436 1999-07-06 Jesse Thilo <jthilo@gnu.org>
438 * configure.in, NEWS, README:
439 Released version 1.28.
441 1999-06-14 Jesse Thilo <jthilo@gnu.org>
444 Squashed redefinition warning on some systems.
446 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
447 Have configure build version string instead of relying on ANSI string
450 1999-06-14 Jesse Thilo <jthilo@gnu.org>
452 * po/POTFILES.in: Got rid of version.c.
454 1999-06-14 Jesse Thilo <jthilo@gnu.org>
456 * acconfig.h, configure.in:
457 Have configure build version string instead of relying on ANSI string
460 1999-06-08 Jesse Thilo <jthilo@gnu.org>
463 Dropped mention of `+' for long-named options.
465 1999-05-30 Jesse Thilo <jthilo@gnu.org>
467 * src/files.c: Added <unistd.h> for unlink().
469 * src/Makefile.am, src/system.h:
472 1999-05-30 Jesse Thilo <jthilo@gnu.org>
474 * README: Added a FAQ list.
476 * configure.in, acconfig.h:
479 1999-05-30 Jesse Thilo <jthilo@gnu.org>
481 * doc/FAQ, doc/Makefile.am:
484 1999-05-19 Jesse Thilo <jthilo@gnu.org>
486 * src/alloc.h, src/symtab.h, src/version.c:
487 Protected inclusion of "config.h" with HAVE_CONFIG_H.
489 1999-04-18 Jesse Thilo <jthilo@gnu.org>
491 * src/.cvsignore, src/Makefile.am:
492 Reorganized: sources in `src', documentation in `doc'.
494 * src/lex.c (literalchar):
495 fixed the code for escaping double quotes (thanks
498 1999-04-18 Jesse Thilo <jthilo@gnu.org>
500 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
501 Adjusted paths to reflect directory reorganization.
503 1999-04-18 Jesse Thilo <jthilo@gnu.org>
505 * doc/.cvsignore, doc/Makefile.am:
506 Reorganized: sources in `src', documentation in `doc'.
508 1999-04-18 Jesse Thilo <jthilo@gnu.org>
511 Updated AC_INIT file to reflect directory reorganization.
513 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
514 Reorganized: sources in `src', documentation in `doc'.
516 1999-04-13 Jesse Thilo <jthilo@gnu.org>
519 Don't declare calloc() and realloc() if not necessary.
521 1999-04-13 Jesse Thilo <jthilo@gnu.org>
523 * configure.in, acconfig.h, acinclude.m4:
524 Don't declare calloc() and realloc() if not necessary.
526 1999-03-23 Jesse Thilo <jthilo@gnu.org>
528 * po/.cvsignore: Added i18n support.
530 1999-03-23 Jesse Thilo <jthilo@gnu.org>
532 * acconfig.h, configure.in, Makefile.am:
535 1999-03-22 Jesse Thilo <jthilo@gnu.org>
537 * src/bison.s1: Fixed #line numbers.
539 1999-03-15 Jesse Thilo <jthilo@gnu.org>
541 * po/es.po, po/fr.po, po/nl.po, po/de.po:
542 Added PO files from Translation Project.
544 1999-03-03 Jesse Thilo <jthilo@gnu.org>
547 Added support for non-ANSI compilers (ansi2knr).
549 1999-02-16 Jesse Thilo <jthilo@gnu.org>
551 * configure.in: Bumped version number to 1.27.
554 Added `bison.simple' to list of files removed by `make distclean'.
556 1999-02-12 Jesse Thilo <jthilo@gnu.org>
558 * src/files.c, src/files.h:
559 Defined locations of parser files in config.h instead of Makefile.
561 1999-02-12 Jesse Thilo <jthilo@gnu.org>
563 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
564 Defined locations of parser files in config.h instead of Makefile.
566 1999-02-09 Jesse Thilo <jthilo@gnu.org>
569 Removed inappropriate use of $< macro.
571 1999-02-05 Jesse Thilo <jthilo@gnu.org>
573 * po/Makefile.in.in, po/POTFILES.in:
574 Add `po' directory skeleton.
576 1999-01-27 Jesse Thilo <jthilo@gnu.org>
578 * README: Document help-bison list.
580 * configure.in: Add check for mkstemp().
582 1999-01-20 Jesse Thilo <jthilo@gnu.org>
584 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
585 Hush a few compiler warnings.
588 Add tryclose(), which verifies that fclose was successful.
589 Hush a couple of compiler warnings.
591 1999-01-20 Jesse Thilo <jthilo@gnu.org>
593 * Makefile.am, OChangeLog:
594 ChangeLog is now automatically generated. Include the old version as
597 1999-01-14 Jesse Thilo <jthilo@gnu.org>
599 * 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:
602 1999-01-14 Jesse Thilo <jthilo@gnu.org>
604 * doc/bison.texinfo: Fix formatting glitch.
606 * doc/bison.texinfo: Update FSF address.
608 1999-01-14 Jesse Thilo <jthilo@gnu.org>
610 * acconfig.h: Update FSF address.
612 1999-01-08 Jesse Thilo <jthilo@gnu.org>
615 Don't define PACKAGE here, since config.h defines it.
617 1998-12-30 Jesse Thilo <jthilo@gnu.org>
619 * src/reader.c: Update copyright date.
622 Ditch sprintf to statically-sized buffers in fatal/warn functions in
623 favor of output directly to stderr (avoids buffer overruns).
625 * src/reader.c: Some checks for premature EOF.
627 * 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:
628 Use prototypes if the compiler understands them.
630 * src/files.c: Honor TMPDIR on Unix hosts.
631 Use prototypes if the compiler understands them.
634 Fix a couple of buffer overrun bugs.
635 Use prototypes if the compiler understands them.
637 * src/system.h: Include unistd.h and ctype.h.
638 Use #ifdef instead of #if for NLS symbols.
640 1998-12-30 Jesse Thilo <jthilo@gnu.org>
643 Delete comment "consider using @set for edition number, etc..." since
646 1998-12-30 Jesse Thilo <jthilo@gnu.org>
649 Use prototypes if the compiler understands them.
651 * NEWS: Document 1.26 highlights.
653 * Makefile.am: Require Automake 1.3 or later.
656 Use prototypes if the compiler understands them.
658 1998-12-29 Jesse Thilo <jthilo@gnu.org>
661 Use VERSION symbol from automake for version number.
663 1998-12-29 Jesse Thilo <jthilo@gnu.org>
665 * acconfig.h, configure.in, version.cin:
666 Use VERSION symbol from automake for version number.
668 1998-11-28 Jesse Thilo <jthilo@gnu.org>
671 Distribute original version of simple parser (bison.s1), not built
672 version (bison.simple).
674 1998-11-28 Jesse Thilo <jthilo@gnu.org>
676 * doc/bison.texinfo: Add info dir entry.
679 Let automake put version number into documentation.
681 1998-11-26 Jesse Thilo <jthilo@gnu.org>
683 * src/bison.cld, src/build.com, src/vmshlp.mar:
684 Add non-RCS files from /gd/gnu/bison.
686 1998-11-26 Jesse Thilo <jthilo@gnu.org>
689 Document the BISON_HAIRY and BISON_SIMPLE variables.
691 1998-11-25 Jesse Thilo <jthilo@gnu.org>
693 * src/version.c: Build version.c automatically.
696 Fix token numbering (used to start at 258, not 257).
698 * src/system.h: Include config.h.
700 * src/getargs.c: Update bug report address.
702 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
703 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
705 1998-11-25 Jesse Thilo <jthilo@gnu.org>
708 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
710 * configure.in, version.cin:
711 Build version.c automatically.
713 * AUTHORS: Add AUTHORS file.
715 * README: Update bug report address.
718 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
720 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
723 1998-11-25 Jesse Thilo <jthilo@gnu.org>
725 * doc/bison.texinfo: Clean up some formatting.
727 1998-05-05 Richard Stallman <rms@gnu.org>
730 Explain better why to make a pure parser.
732 1998-01-05 Richard Stallman <rms@gnu.org>
734 * src/files.c (openfiles):
735 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
736 find a temporary directory, if possible. Do not unlink files while
739 1997-08-25 Richard Stallman <rms@gnu.org>
741 * src/reader.c (stack_offset;):
742 Change some warni to warns.
744 * src/lex.c (literalchar): Use warns, not warni.
746 1997-06-28 Richard Stallman <rms@gnu.org>
748 * src/bison.s1: Add a Bison version comment.
750 * src/main.c (fatal, warn, berror):
753 1997-06-28 Richard Stallman <rms@gnu.org>
755 * Makefile.in (bison_version): New variable.
756 (dist): Use that variable.
757 (bison.s1): Substitute the Bison version into bison.simple.
759 * bison.simple: Add a Bison version comment.
761 1997-06-18 Richard Stallman <rms@gnu.org>
763 * src/main.c (fatal, warn, berror):
764 Make error messages standard.
765 (toomany): Improve error message text.
767 * 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:
768 new.h renamed to alloc.h.
770 1997-06-18 Richard Stallman <rms@gnu.org>
772 * Makefile.in: new.h renamed to alloc.h.
774 1997-05-24 Richard Stallman <rms@gnu.org>
776 * src/lex.c (literalchar):
777 Fix the code for escaping \, " and '.
779 (lex): Avoid trouble when there are many chars
780 to discard in a char literal with just several chars in 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-05-17 Richard Stallman <rms@gnu.org>
795 Use malloc, if using alloca is troublesome.
796 (YYSTACK_USE_ALLOCA): New flag macro.
797 Define it for some systems and compilers.
798 (YYSTACK_ALLOC): New macro.
799 (yyparse): Use YYSTACK_ALLOC to allocate stack.
800 If it was malloc'd, free it.
802 1997-04-23 Richard Stallman <rms@gnu.org>
805 (alloca) [__hpux]: Always define as __builtin_alloca.
807 1997-04-23 Richard Stallman <rms@gnu.org>
810 (alloca) [__hpux]: Always define as __builtin_alloca.
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 * src/bison.s1 (__yy_memcpy):
819 Declare arg `count' as unsigned int.
820 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
822 1997-04-22 Richard Stallman <rms@gnu.org>
825 [__hpux]: Include alloca.h (right for HPUX 10)
826 instead of declaring alloca (right for HPUX 9).
828 * bison.simple (__yy_memcpy):
829 Declare arg `count' as unsigned int.
830 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
832 1997-01-03 Richard Stallman <rms@gnu.org>
834 * src/allocate.c: [__STDC__ or _MSC_VER]:
835 Declare calloc and realloc to return void *.
837 1997-01-02 Richard Stallman <rms@gnu.org>
840 [_MSC_VER]: Include stdlib.h and process.h.
841 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
843 * src/main.c (main): Return FAILURE as a value.
844 (printable_version): Declare arg as int, not char.
846 1997-01-02 Richard Stallman <rms@gnu.org>
848 * Makefile.in (dist):
849 Explicitly check for symlinks, and copy them.
851 1996-12-19 Richard Stallman <rms@gnu.org>
854 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
856 1996-12-18 Paul Eggert <eggert@gnu.org>
858 * src/bison.s1 (yyparse):
859 If __GNUC__ and YYPARSE_PARAM are both defined,
860 declare yyparse to have a void * argument.
862 1996-12-18 Paul Eggert <eggert@gnu.org>
864 * bison.simple (yyparse):
865 If __GNUC__ and YYPARSE_PARAM are both defined,
866 declare yyparse to have a void * argument.
868 1996-12-17 Richard Stallman <rms@gnu.org>
870 * src/reduce.c (nbits): Add some casts.
872 1996-08-12 Richard Stallman <rms@gnu.org>
874 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
876 1996-08-12 Richard Stallman <rms@gnu.org>
878 * bison.simple: Test _MSDOS as well as _MSDOS_.
880 1996-07-31 Richard Stallman <rms@gnu.org>
883 [__sun && __i386]: Include alloca.h.
885 1996-07-31 Richard Stallman <rms@gnu.org>
888 [__sun && __i386]: Include alloca.h.
890 1996-07-30 Richard Stallman <rms@gnu.org>
892 * src/bison.s1: Comment change.
894 * src/bison.s1: Test _MSDOS_, not MSDOS.
896 1996-07-30 Richard Stallman <rms@gnu.org>
898 * bison.simple: Comment change.
900 * bison.simple: Test _MSDOS_, not MSDOS.
902 1996-06-01 Richard Stallman <rms@gnu.org>
904 * 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:
905 Insert `_' macro around many string constants.
908 Insert `_' macro around many string constants.
910 (main): Call setlocale, bindtextdomain and textdomain.
912 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
913 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
914 [ENABLE_NLS]: Include libintl.h.
915 [ENABLE_NLS] (gettext): Define.
916 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
917 (N_, PACKAGE, LOCALEDIR): New macros.
919 1996-06-01 Richard Stallman <rms@gnu.org>
921 * POTFILES.in: New file.
923 * Makefile.in (allocate.o):
924 Define target explicitly.
926 * Makefile.in (CFLAGS): Set to @CFLAGS@.
927 (LDFLAGS): Set to @LDFLAGS@.
928 (configure): Run autoconf only if preceding `cd' succeeds.
929 (bison.s1): Redirect output to temporary file then move the
930 temporary to the target, rather than redirecting directly to bison.s1.
931 (clean): Remove config.status and config.log.
932 (distclean): Don't remove config.status here.
934 1996-05-12 Richard Stallman <rms@gnu.org>
937 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
939 1996-05-12 Richard Stallman <rms@gnu.org>
942 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
944 1996-05-11 Richard Stallman <rms@gnu.org>
946 * src/bison.s1 (__yy_memcpy):
947 Really reorder the args, as was supposedly done on Feb 14 1995.
948 (yyparse): Calls changed accordingly.
950 1996-05-11 Richard Stallman <rms@gnu.org>
952 * Makefile.in (dist): Don't use $(srcdir).
954 * bison.simple (__yy_memcpy):
955 Really reorder the args, as was supposedly done on Feb 14 1995.
956 (yyparse): Calls changed accordingly.
958 1996-01-27 Richard Stallman <rms@gnu.org>
960 * src/output.c (output_rule_data):
961 Test YYERROR_VERBOSE in the conditional
962 around the definition of ttyname.
964 1995-12-29 Richard Stallman <rms@gnu.org>
967 Fix line numbers in #line commands.
969 1995-12-29 Richard Stallman <rms@gnu.org>
972 Fix line numbers in #line commands.
974 1995-12-27 Richard Stallman <rms@gnu.org>
976 * src/bison.s1 (YYPARSE_PARAM_DECL):
977 In C++, make it always null.
978 (YYPARSE_PARAM_ARG): New macro.
979 (yyparse): Use YYPARSE_PARAM_ARG.
981 1995-12-27 Richard Stallman <rms@gnu.org>
983 * bison.simple (YYPARSE_PARAM_DECL):
984 In C++, make it always null.
985 (YYPARSE_PARAM_ARG): New macro.
986 (yyparse): Use YYPARSE_PARAM_ARG.
988 1995-11-29 Richard Stallman <rms@gnu.org>
991 Describe literal string tokens, %raw, %no_lines, %token_table.
993 1995-11-29 Daniel Hagerty <hag@gnu.org>
995 * doc/bison.texinfo: Fixed update date
997 1995-10-16 Richard Stallman <rms@gnu.org>
999 * src/version.c: Version 1.25.
1001 1995-10-16 Richard Stallman <rms@gnu.org>
1003 * NEWS: *** empty log message ***
1005 1995-10-16 Richard Stallman <rms@gnu.org>
1007 * doc/bison.1, doc/bison.rnh:
1010 1995-10-15 Richard Stallman <rms@gnu.org>
1012 * src/vmsgetargs.c, src/getargs.c:
1013 Added -n, -k, and -raw switches.
1014 (noparserflag, toknumflag, rawtoknumflag): New variables.
1016 * src/symtab.h (SALIAS):
1017 New #define for adding aliases to %token.
1018 (struct bucket): Added `alias' field.
1020 * src/reduce.c (reduce_grammar):
1021 Revise error message.
1022 (print_notices): Remove final `.' from error message.
1024 * src/reader.c (reader_output_yylsp):
1026 (readgram): Use `#if 0' around code that accepted %command
1027 inside grammar rules: The documentation doesn't allow it,
1028 and it will fail since the %command processors scan for the next %.
1029 (parse_token_decl): Extended the %token
1030 declaration to allow a multi-character symbol as an alias.
1031 (parse_thong_decl): New function.
1032 (read_declarations): Added %thong declarations.
1033 (read_declarations): Handle NOOP to deal with allowing
1034 % declarations as another means to specify the flags.
1035 (readgram): Allow %prec prior to semantics embedded in a rule.
1036 (skip_to_char, read_declarations, copy_definition)
1037 (parse_token_decl, parse_start_decl, parse_type_decl)
1038 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1039 (get_type_name, copy_guard, copy_action, readgram)
1040 (get_type, packsymbols): Revised most error messages.
1041 Changed `fatal' to `warnxxx' to avoid aborting for error.
1042 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1043 (read_declarations): Improve the error message for
1044 an invalid character. Do not abort.
1045 (read_declarations, copy_guard, copy_action): Use
1046 printable_version to avoid unprintable characters in printed output.
1047 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1048 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1049 Allow the type of a non-terminal can be given
1050 more than once, as long as all specifications give the same type.
1053 (output_headers, output_trailers, output, output_gram)
1054 (output_rule_data): Implement noparserflag variable.
1055 Implement toknumflag variable.
1056 (output): Call reader_output_yylsp to output LTYPESTR.
1058 * src/main.c (main):
1059 If reader sees an error, don't process the grammar.
1060 (fatals): Updated to not use VARARGS1.
1061 (printable_version, int_to_string, warn, warni, warns, warnss)
1062 (warnsss): New error reporting functions. Avoid abort for error.
1065 Added THONG and NOOP for alias processing.
1066 Added SETOPT for the new code that allows setting options with %flags.
1069 Include getopt.h. Add some extern decls.
1070 (safegetc): New function to deal with EOF gracefully.
1071 (literalchar); new function to deal with reading \ escapes.
1072 (lex): Use literalchar.
1073 (lex): Implemented "..." tokens.
1074 (literalchar, lex, parse_percent_token): Made tokenbuffer
1075 always contain the token. This includes growing the token
1076 buffer while reading an integer.
1077 (parse_percent_token): Replaced if-else statement with percent_table.
1078 (parse_percent_token): Added % declarations as another
1079 way to specify the flags -n, -l, and -r. Also added hooks for
1080 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1081 major changes to files.c.
1082 (lex) Retain in the incoming stream a character following
1084 (skip_white_space, lex): Revised most error messages
1085 and changed fatal to warn to avoid aborting.
1086 (percent_table): Added %thong declarations.
1088 * src/gram.h: Comment changes.
1090 * src/files.c (openfiles, open_extra_files, done):
1092 and actfile file. Handle noparserflag. Both for -n switch.
1094 * src/conflicts.c (resolve_sr_conflict):
1095 Remove use of alloca.
1097 1995-06-01 Jim Meyering <meyering@gnu.org>
1099 * doc/bison.texinfo: *** empty log message ***
1101 1995-05-06 Richard Stallman <rms@gnu.org>
1103 * src/bison.s1: Comment change.
1105 1995-05-06 Richard Stallman <rms@gnu.org>
1107 * bison.simple: Comment change.
1109 1995-05-03 Richard Stallman <rms@gnu.org>
1111 * src/version.c: Version now 1.24.
1113 * src/bison.s1: Change distribution terms.
1115 * src/version.c: Version now 1.23.
1117 1995-05-03 Richard Stallman <rms@gnu.org>
1119 * doc/bison.texinfo:
1120 Rewrite "Conditions for Using Bison".
1121 Update version to 1.24.
1123 1995-05-03 Richard Stallman <rms@gnu.org>
1125 * bison.simple: Change distribution terms.
1127 1995-02-23 Richard Stallman <rms@gnu.org>
1129 * src/files.c: Test __VMS_POSIX as well as VMS.
1131 1995-02-14 Jim Meyering <meyering@gnu.org>
1133 * src/bison.s1 (__yy_memcpy):
1134 Renamed from __yy_bcopy to avoid
1135 confusion. Reverse FROM and TO arguments to be consistent with
1138 1995-02-14 Jim Meyering <meyering@gnu.org>
1140 * bison.simple (__yy_memcpy):
1141 Renamed from __yy_bcopy to avoid
1142 confusion. Reverse FROM and TO arguments to be consistent with
1145 1994-11-10 David J. MacKenzie <djm@gnu.org>
1151 * Makefile.in (DISTFILES): Include NEWS.
1153 * Makefile.in (DISTFILES):
1154 Include install-sh, not install.sh.
1156 * configure.in: Update to Autoconf v2 macro names.
1158 1994-10-05 David J. MacKenzie <djm@gnu.org>
1160 * Makefile.in: fix typo
1162 * Makefile.in (prefix, exec_prefix):
1163 Let configure set them.
1165 1994-09-28 David J. MacKenzie <djm@gnu.org>
1167 * Makefile.in: Set datadir to $(prefix)/share.
1169 1994-09-15 Richard Stallman <rms@gnu.org>
1172 Update copyright notice and GPL version.
1174 1994-09-15 Richard Stallman <rms@gnu.org>
1177 Update copyright notice and GPL version.
1179 1994-07-12 Richard Stallman <rms@gnu.org>
1181 * src/reduce.c, src/reader.c:
1184 1994-05-05 David J. MacKenzie <djm@gnu.org>
1186 * Makefile.in: entered into RCS
1188 1994-03-26 Richard Stallman <rms@gnu.org>
1190 * src/bison.s1: entered into RCS
1192 1994-03-26 Richard Stallman <rms@gnu.org>
1194 * bison.simple: entered into RCS
1196 1994-03-25 Richard Stallman <rms@gnu.org>
1198 * src/main.c: entered into RCS
1200 1994-03-24 Richard Stallman <rms@gnu.org>
1202 * src/conflicts.c: entered into RCS
1204 1994-01-02 Richard Stallman <rms@gnu.org>
1206 * Makefile.in: *** empty log message ***
1208 1993-11-21 Richard Stallman <rms@gnu.org>
1210 * src/bison.s1: *** empty log message ***
1212 1993-11-21 Richard Stallman <rms@gnu.org>
1214 * doc/bison.texinfo: entered into RCS
1216 * doc/bison.texinfo: *** empty log message ***
1218 1993-11-21 Richard Stallman <rms@gnu.org>
1220 * bison.simple: *** empty log message ***
1222 1993-10-25 David J. MacKenzie <djm@gnu.org>
1224 * doc/bison.texinfo: *** empty log message ***
1226 1993-10-19 Richard Stallman <rms@gnu.org>
1228 * src/bison.s1: *** empty log message ***
1230 1993-10-19 Richard Stallman <rms@gnu.org>
1232 * bison.simple: *** empty log message ***
1234 1993-10-14 Richard Stallman <rms@gnu.org>
1236 * src/bison.s1: *** empty log message ***
1238 1993-10-14 Richard Stallman <rms@gnu.org>
1240 * bison.simple: *** empty log message ***
1242 1993-09-14 David J. MacKenzie <djm@gnu.org>
1244 * doc/bison.texinfo: *** empty log message ***
1246 1993-09-13 Noah Friedman <friedman@gnu.org>
1248 * Makefile.in: *** empty log message ***
1250 1993-09-10 Richard Stallman <rms@gnu.org>
1252 * src/conflicts.c: *** empty log message ***
1254 * src/system.h: entered into RCS
1256 1993-09-10 Richard Stallman <rms@gnu.org>
1258 * doc/bison.1: entered into RCS
1260 1993-09-06 Noah Friedman <friedman@gnu.org>
1262 * src/version.c: entered into RCS
1264 1993-09-06 Noah Friedman <friedman@gnu.org>
1266 * Makefile.in: *** empty log message ***
1268 1993-07-30 David J. MacKenzie <djm@gnu.org>
1270 * Makefile.in: *** empty log message ***
1272 1993-07-24 Richard Stallman <rms@gnu.org>
1274 * src/bison.s1: *** empty log message ***
1276 1993-07-24 Richard Stallman <rms@gnu.org>
1278 * bison.simple: *** empty log message ***
1280 1993-07-08 David J. MacKenzie <djm@gnu.org>
1282 * Makefile.in: *** empty log message ***
1284 1993-07-04 Richard Stallman <rms@gnu.org>
1286 * src/bison.s1: *** empty log message ***
1288 1993-07-04 Richard Stallman <rms@gnu.org>
1290 * bison.simple: *** empty log message ***
1292 1993-06-26 David J. MacKenzie <djm@gnu.org>
1294 * src/getargs.c: entered into RCS
1296 1993-06-26 David J. MacKenzie <djm@gnu.org>
1298 * doc/bison.texinfo: *** empty log message ***
1300 * doc/bison.1: New file.
1302 1993-06-25 Richard Stallman <rms@gnu.org>
1304 * src/getargs.c: New file.
1306 1993-06-16 Richard Stallman <rms@gnu.org>
1308 * src/bison.s1: *** empty log message ***
1310 1993-06-16 Richard Stallman <rms@gnu.org>
1312 * bison.simple: *** empty log message ***
1314 1993-06-03 Richard Stallman <rms@gnu.org>
1316 * src/bison.s1: New file.
1318 1993-06-03 Richard Stallman <rms@gnu.org>
1320 * doc/bison.texinfo: *** empty log message ***
1322 1993-06-03 Richard Stallman <rms@gnu.org>
1324 * bison.simple: New file.
1326 1993-05-19 Richard Stallman <rms@gnu.org>
1328 * doc/bison.texinfo: New file.
1330 1993-05-07 Noah Friedman <friedman@gnu.org>
1332 * Makefile.in: *** empty log message ***
1334 1993-04-28 Noah Friedman <friedman@gnu.org>
1336 * src/reader.c: *** empty log message ***
1338 1993-04-23 Noah Friedman <friedman@gnu.org>
1340 * src/alloc.h: entered into RCS
1342 1993-04-20 David J. MacKenzie <djm@gnu.org>
1344 * src/version.c: *** empty log message ***
1346 * src/files.c, src/allocate.c:
1349 * src/reader.c: *** empty log message ***
1351 * src/lex.c: entered into RCS
1353 * src/conflicts.c: New file.
1355 * src/symtab.c: entered into RCS
1357 * src/alloc.h: New file.
1359 * src/LR0.c: entered into RCS
1361 1993-04-18 Noah Friedman <friedman@gnu.org>
1363 * src/reader.c: New file.
1365 * src/version.c: *** empty log message ***
1367 1993-04-18 Noah Friedman <friedman@gnu.org>
1369 * Makefile.in: *** empty log message ***
1371 1993-04-17 Noah Friedman <friedman@gnu.org>
1373 * Makefile.in: *** empty log message ***
1375 1993-04-15 Richard Stallman <rms@gnu.org>
1377 * src/main.c, src/files.c:
1380 1993-04-15 Noah Friedman <friedman@gnu.org>
1382 * configure.in: entered into RCS
1384 * configure.in: *** empty log message ***
1386 * configure.in: New file.
1388 1993-04-14 Richard Stallman <rms@gnu.org>
1390 * Makefile.in: New file.
1392 1993-04-13 Richard Stallman <rms@gnu.org>
1394 * src/version.c: New file.
1396 1993-03-25 Richard Stallman <rms@gnu.org>
1398 * src/output.c: entered into RCS
1400 1992-09-25 Richard Stallman <rms@gnu.org>
1402 * configure.bat: entered into RCS
1404 1992-06-22 Richard Stallman <rms@gnu.org>
1406 * src/vmsgetargs.c: entered into RCS
1408 1992-06-22 Richard Stallman <rms@gnu.org>
1410 * doc/bison.rnh: entered into RCS
1412 1992-04-20 David J. MacKenzie <djm@gnu.org>
1414 * README: entered into RCS
1416 1992-01-22 Richard Stallman <rms@gnu.org>
1418 * src/machine.h: entered into RCS
1420 1991-12-21 Richard Stallman <rms@gnu.org>
1422 * src/lalr.c, src/closure.c:
1425 1991-12-20 Richard Stallman <rms@gnu.org>
1427 * src/state.h: entered into RCS
1429 1991-12-18 Richard Stallman <rms@gnu.org>
1431 * src/print.c, src/nullable.c, src/derives.c:
1434 1991-11-03 David J. MacKenzie <djm@gnu.org>
1436 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1439 1988-09-09 Richard Stallman <rms@gnu.org>
1441 * src/bison.hairy: entered into RCS
1443 1987-12-16 Richard Stallman <rms@gnu.org>
1445 * REFERENCES: entered into RCS