1 2000-09-19 Akim Demaille <akim@epita.fr>
3 * src/output.c: Formatting changes.
4 * src/machine.h: Remove, leaving its contents in...
7 Adjust all dependencies on stdio.h and machine.h.
8 * src/getargs.h: New file.
9 Let all `extern' declarations about getargs.c be replaced with
10 inclusion of `getargs.h'.
11 * src/Makefile.am (noinst_HEADERS): Adjust.
13 * tests/calc.m4 (yyin): Be initialized in main, not on the global
15 (yyerror): Returns void, not int.
16 * doc/bison.texinfo: Formatting changes.
18 2000-09-19 Akim Demaille <akim@epita.fr>
20 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
23 2000-09-18 Akim Demaille <akim@epita.fr>
25 * configure.in: Append WARNING_CFLAGS to CFLAGS.
26 * src/Makefile.am (INCLUDES): Don't.
27 Be ready to fetch headers in lib/.
29 2000-09-18 Akim Demaille <akim@epita.fr>
31 * doc/bison.texinfo: Update the copyright.
32 ANSIfy and GNUify the examples.
35 2000-09-18 Akim Demaille <akim@epita.fr>
37 First set of tests: use the `calc' example from the documentation.
39 * src/bison.s1 (yyparse): Condition the code using `yytname' which
40 is defined only when YYDEBUG is.
41 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
42 * src/files.c (tryopen, tryclose): Formatting changes.
43 Move to the top and be static.
44 * src/reader.c (read_signed_integer): Likewise.
45 * tests/calc.m4: New file.
46 * Makefile.am, suite.m4: Adjust.
47 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
49 2000-09-18 Akim Demaille <akim@epita.fr>
51 Add support for an Autotest test suite for Bison.
53 * m4/m4.m4, m4/atconfig.m4: New files.
54 * m4/Makefile.am (EXTRA_DIST): Adjust.
55 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
57 * src/getargs.c: Display a more standard --version message.
58 * src/reader.c (reader): Formatting changes.
59 No longer depend upon VERSION_STRING.
60 * configure.in: No longer use `dnl'.
61 Set up the test suite and the new directory `tests/.
62 (VERSION_STRING): Remove.
64 2000-04-14 Akim Demaille <akim@epita.fr>
66 * src/reader.c (copy_comment2): New function, same as former
67 `copy_comment', but outputs into two FILE *.
68 (copy_comment): Use it.
69 (parse_union_decl): Use it.
70 (get_type, parse_start_decl): Use the same `invalid' message.
71 (parse_start_decl, parse_union_decl): Use the same `multiple'
73 (parse_union_decl, copy_guard, copy_action): Use the same
75 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
77 2000-03-31 Akim Demaille <akim@epita.fr>
79 * src/files.c (tryopen, tryclose): Move to the top.
82 2000-03-31 Akim Demaille <akim@epita.fr>
84 * src/main.c (main): Don't call `done', exit does it.
86 2000-03-31 Akim Demaille <akim@epita.fr>
88 * allocate.c: s/return (foo)/return foo/.
94 * vmsgetargs.c: Likewise.
96 2000-03-31 Akim Demaille <akim@epita.fr>
98 Clean up the error reporting functions.
100 * src/report.c: New file.
101 * src/report.h: Likewise.
102 * src/Makefile.am: Adjust.
103 * m4/error.m4: New file.
104 * m4/Makefile.am: Adjust.
105 * configure.in (jm_PREREQ_ERROR): Call it.
106 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
108 (fatal, fatals): Remove. All callers use complain.c::fatal.
109 (warn, warni, warns, warnss, warnss): Remove. All callers use
110 complain.c::complain.
111 (toomany): Remove, use fatal instead.
112 * src/files.c (done): No argument, use complain_message_count.
113 * src/main.c (main): Register `done' to `atexit'.
115 * src/getargs.c (usage): More `fputs', less `fprintf'.
117 2000-03-28 Akim Demaille <akim@epita.fr>
119 * lib/: New directory.
120 * Makefile.am (SUBDIRS): Adjust.
121 * configure.in: Adjust.
122 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
124 * src/alloca.c: Moved to lib/.
125 * src/getopt.c: Likewise.
126 * src/getopt1.c: Likewise.
127 * src/getopt.h: Likewise.
128 * src/ansi2knr.c: Likewise.
129 * src/ansi2knr.1: Likewise.
130 * src/Makefile.am: Adjust.
131 * lib/Makefile.am: New file.
133 2000-03-28 Akim Demaille <akim@epita.fr>
135 * src/getargs.c (usage): Refresh the help message.
137 2000-03-17 Akim Demaille <akim@epita.fr>
139 * src/getopt1.c: Updated from textutils 2.0e
140 * src/getopt.c: Likewise.
141 * src/getopt.h: Likewise.
143 2000-03-17 Akim Demaille <akim@epita.fr>
145 * src/Makefile.am (bison.simple): Fix the awk program: quote only
146 the file name, not the whole `#line LINE FILE'.
148 2000-03-17 Akim Demaille <akim@epita.fr>
150 On syntax errors, report the token on which we choked.
152 * src/bison.s1 (yyparse): In the label yyerrlab, when
153 YYERROR_VERBOSE, add yychar in msg.
155 2000-03-17 Akim Demaille <akim@epita.fr>
157 * src/reader.c (copy_at): New function.
158 (copy_guard): Use it.
159 (copy_action): Use it.
161 2000-03-17 Akim Demaille <akim@epita.fr>
163 Be kind to translators, save some useless translations.
165 * src/main.c (banner): New function.
166 (fatal_banner): Use it.
167 (warn_banner): Use it.
169 2000-03-17 Akim Demaille <akim@epita.fr>
171 * src/reader.c (copy_definition): Use copy_string and
172 copy_comment. Removed now unused `match', `ended',
174 (copy_comment, copy_string): Moved, to be visible from
177 2000-03-17 Akim Demaille <akim@epita.fr>
179 * src/reader.c (copy_string): Declare `static inline'. No
180 problems with inline, since it is checked by configure.
181 (copy_comment): Likewise.
183 2000-03-17 Akim Demaille <akim@epita.fr>
185 * src/reader.c (packsymbols): Formatting changes.
187 2000-03-17 Akim Demaille <akim@epita.fr>
189 * src/reader.c (copy_comment): New function, factored out from:
190 (copy_action): Use it. Removed now unused `match', `ended',
192 (copy_guard): Likewise.
194 2000-03-17 Akim Demaille <akim@epita.fr>
196 * src/reader.c (copy_string): New function, factored out from:
197 (copy_action): Use it.
198 (copy_guard): Likewise.
200 2000-03-17 Akim Demaille <akim@epita.fr>
202 Change the handling of @s so that they behave exactly like $s.
203 There is now a pseudo variable @$ (readble and writable), location
204 of the lhs of the rule (by default ranging from the location of
205 the first symbol of the rhs, to the location of the last symbol,
206 or, if the rhs is empty, YYLLOC).
208 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
210 (yyparse): When providing a default semantic action, provide a
211 default location action.
212 (after the $): No longer change `*YYLSP', just stack YYLOC the
213 same way you stack YYVAL.
214 * src/reader.c (read_declarations): Use warns.
215 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
216 (copy_action, case '@'): Likewise.
217 Use a standard error message, to save useless work from
220 2000-03-17 Akim Demaille <akim@epita.fr>
222 * src/bison.s1: Formatting and cosmetics changes.
223 * src/reader.c: Likewise.
224 Update the Copyright notice.
226 2000-03-17 Akim Demaille <akim@epita.fr>
228 * src/bison.s1 (#line): All set to `#line' only, since the
229 Makefile now handles them.
231 2000-03-16 Akim Demaille <akim@epita.fr>
233 * src/output.c (output_rule_data): Output the documentation of
235 (Copyright notice): Update.
238 2000-03-16 Akim Demaille <akim@epita.fr>
240 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
241 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
242 One `#if YYDEBUG' remains, since it uses variables which are
243 defined only if `YYDEBUG != 0'.
245 2000-03-16 Akim Demaille <akim@epita.fr>
247 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
248 and related variables so that the similarities are highlighted.
250 2000-03-16 Akim Demaille <akim@epita.fr>
252 * src/bison.s1: Properly indent CPP directives.
254 2000-03-16 Akim Demaille <akim@epita.fr>
256 * src/bison.s1: Properly indent the `alloca' CPP section.
258 2000-03-16 Akim Demaille <akim@epita.fr>
260 Do not hard code values of directories in `configure.in'.
261 Update the `configure' tool chain.
263 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
265 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
266 (AC_OUTPUT): Add m4/Makefile.
267 Bump to bison 1.28a, 1.29 has never been released.
268 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
269 handled via src/Makefile.am.
270 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
271 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
273 * Makefile.am (SUBDIRS): Add m4.
274 (ACLOCAL_AM_FLAGS): New variable.
275 (AUTOMAKE_OPTIONS): Add check-news.
276 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
277 the proper line number and file name.
278 (DEFS): Propagate the location of bison library files and of the
280 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
282 * acinclude.m4: Remove, replaced by the directory m4.
283 * m4/Makefile.am (EXTRA_DIST): New variable.
284 * m4/gettext.m4: New file, from the fileutils.
285 * m4/lcmessage.m4: Likewise
286 * m4/progtest.m4: Likewise.
287 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
289 2000-03-10 Akim Demaille <akim@epita.fr>
292 Formatting changes of various comments.
293 Respect the GNU coding standards at various places.
294 Don't use `_()' when no translation is needed.
296 1999-12-13 Jesse Thilo <jthilo@gnu.org>
299 OS/2 honors TMPDIR environment variable.
301 1999-12-13 Jesse Thilo <jthilo@gnu.org>
303 * doc/bison.texinfo: Tweaked spelling and grammar.
305 Removed reference to price of printed copy.
306 Mention BISON_SIMPLE and BISON_HAIRY.
308 1999-12-13 Jesse Thilo <jthilo@gnu.org>
310 * configure.in, NEWS:
313 1999-10-27 Jesse Thilo <jthilo@gnu.org>
315 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
316 Added reference card.
318 1999-07-26 Jesse Thilo <jthilo@gnu.org>
320 * po/ru.po: Added Russian translation.
322 1999-07-26 Jesse Thilo <jthilo@gnu.org>
324 * configure.in: Added Russian translation.
326 1999-07-06 Jesse Thilo <jthilo@gnu.org>
328 * configure.in, NEWS, README:
329 Released version 1.28.
331 1999-06-14 Jesse Thilo <jthilo@gnu.org>
334 Squashed redefinition warning on some systems.
336 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
337 Have configure build version string instead of relying on ANSI string
340 1999-06-14 Jesse Thilo <jthilo@gnu.org>
342 * po/POTFILES.in: Got rid of version.c.
344 1999-06-14 Jesse Thilo <jthilo@gnu.org>
346 * acconfig.h, configure.in:
347 Have configure build version string instead of relying on ANSI string
350 1999-06-08 Jesse Thilo <jthilo@gnu.org>
353 Dropped mention of `+' for long-named options.
355 1999-05-30 Jesse Thilo <jthilo@gnu.org>
357 * src/files.c: Added <unistd.h> for unlink().
359 * src/Makefile.am, src/system.h:
362 1999-05-30 Jesse Thilo <jthilo@gnu.org>
364 * README: Added a FAQ list.
366 * configure.in, acconfig.h:
369 1999-05-30 Jesse Thilo <jthilo@gnu.org>
371 * doc/FAQ, doc/Makefile.am:
374 1999-05-19 Jesse Thilo <jthilo@gnu.org>
376 * src/alloc.h, src/symtab.h, src/version.c:
377 Protected inclusion of "config.h" with HAVE_CONFIG_H.
379 1999-04-18 Jesse Thilo <jthilo@gnu.org>
381 * src/.cvsignore, src/Makefile.am:
382 Reorganized: sources in `src', documentation in `doc'.
384 * src/lex.c (literalchar):
385 fixed the code for escaping double quotes (thanks
388 1999-04-18 Jesse Thilo <jthilo@gnu.org>
390 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
391 Adjusted paths to reflect directory reorganization.
393 1999-04-18 Jesse Thilo <jthilo@gnu.org>
395 * doc/.cvsignore, doc/Makefile.am:
396 Reorganized: sources in `src', documentation in `doc'.
398 1999-04-18 Jesse Thilo <jthilo@gnu.org>
401 Updated AC_INIT file to reflect directory reorganization.
403 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
404 Reorganized: sources in `src', documentation in `doc'.
406 1999-04-13 Jesse Thilo <jthilo@gnu.org>
409 Don't declare calloc() and realloc() if not necessary.
411 1999-04-13 Jesse Thilo <jthilo@gnu.org>
413 * configure.in, acconfig.h, acinclude.m4:
414 Don't declare calloc() and realloc() if not necessary.
416 1999-03-23 Jesse Thilo <jthilo@gnu.org>
418 * po/.cvsignore: Added i18n support.
420 1999-03-23 Jesse Thilo <jthilo@gnu.org>
422 * acconfig.h, configure.in, Makefile.am:
425 1999-03-22 Jesse Thilo <jthilo@gnu.org>
427 * src/bison.s1: Fixed #line numbers.
429 1999-03-15 Jesse Thilo <jthilo@gnu.org>
431 * po/es.po, po/fr.po, po/nl.po, po/de.po:
432 Added PO files from Translation Project.
434 1999-03-03 Jesse Thilo <jthilo@gnu.org>
437 Added support for non-ANSI compilers (ansi2knr).
439 1999-02-16 Jesse Thilo <jthilo@gnu.org>
441 * configure.in: Bumped version number to 1.27.
444 Added `bison.simple' to list of files removed by `make distclean'.
446 1999-02-12 Jesse Thilo <jthilo@gnu.org>
448 * src/files.c, src/files.h:
449 Defined locations of parser files in config.h instead of Makefile.
451 1999-02-12 Jesse Thilo <jthilo@gnu.org>
453 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
454 Defined locations of parser files in config.h instead of Makefile.
456 1999-02-09 Jesse Thilo <jthilo@gnu.org>
459 Removed inappropriate use of $< macro.
461 1999-02-05 Jesse Thilo <jthilo@gnu.org>
463 * po/Makefile.in.in, po/POTFILES.in:
464 Add `po' directory skeleton.
466 1999-01-27 Jesse Thilo <jthilo@gnu.org>
468 * README: Document help-bison list.
470 * configure.in: Add check for mkstemp().
472 1999-01-20 Jesse Thilo <jthilo@gnu.org>
474 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
475 Hush a few compiler warnings.
478 Add tryclose(), which verifies that fclose was successful.
479 Hush a couple of compiler warnings.
481 1999-01-20 Jesse Thilo <jthilo@gnu.org>
483 * Makefile.am, OChangeLog:
484 ChangeLog is now automatically generated. Include the old version as
487 1999-01-14 Jesse Thilo <jthilo@gnu.org>
489 * 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:
492 1999-01-14 Jesse Thilo <jthilo@gnu.org>
494 * doc/bison.texinfo: Fix formatting glitch.
496 * doc/bison.texinfo: Update FSF address.
498 1999-01-14 Jesse Thilo <jthilo@gnu.org>
500 * acconfig.h: Update FSF address.
502 1999-01-08 Jesse Thilo <jthilo@gnu.org>
505 Don't define PACKAGE here, since config.h defines it.
507 1998-12-30 Jesse Thilo <jthilo@gnu.org>
509 * src/reader.c: Update copyright date.
512 Ditch sprintf to statically-sized buffers in fatal/warn functions in
513 favor of output directly to stderr (avoids buffer overruns).
515 * src/reader.c: Some checks for premature EOF.
517 * 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:
518 Use prototypes if the compiler understands them.
520 * src/files.c: Honor TMPDIR on Unix hosts.
521 Use prototypes if the compiler understands them.
524 Fix a couple of buffer overrun bugs.
525 Use prototypes if the compiler understands them.
527 * src/system.h: Include unistd.h and ctype.h.
528 Use #ifdef instead of #if for NLS symbols.
530 1998-12-30 Jesse Thilo <jthilo@gnu.org>
533 Delete comment "consider using @set for edition number, etc..." since
536 1998-12-30 Jesse Thilo <jthilo@gnu.org>
539 Use prototypes if the compiler understands them.
541 * NEWS: Document 1.26 highlights.
543 * Makefile.am: Require Automake 1.3 or later.
546 Use prototypes if the compiler understands them.
548 1998-12-29 Jesse Thilo <jthilo@gnu.org>
551 Use VERSION symbol from automake for version number.
553 1998-12-29 Jesse Thilo <jthilo@gnu.org>
555 * acconfig.h, configure.in, version.cin:
556 Use VERSION symbol from automake for version number.
558 1998-11-28 Jesse Thilo <jthilo@gnu.org>
561 Distribute original version of simple parser (bison.s1), not built
562 version (bison.simple).
564 1998-11-28 Jesse Thilo <jthilo@gnu.org>
566 * doc/bison.texinfo: Add info dir entry.
569 Let automake put version number into documentation.
571 1998-11-26 Jesse Thilo <jthilo@gnu.org>
573 * src/bison.cld, src/build.com, src/vmshlp.mar:
574 Add non-RCS files from /gd/gnu/bison.
576 1998-11-26 Jesse Thilo <jthilo@gnu.org>
579 Document the BISON_HAIRY and BISON_SIMPLE variables.
581 1998-11-25 Jesse Thilo <jthilo@gnu.org>
583 * src/version.c: Build version.c automatically.
586 Fix token numbering (used to start at 258, not 257).
588 * src/system.h: Include config.h.
590 * src/getargs.c: Update bug report address.
592 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
593 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
595 1998-11-25 Jesse Thilo <jthilo@gnu.org>
598 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
600 * configure.in, version.cin:
601 Build version.c automatically.
603 * AUTHORS: Add AUTHORS file.
605 * README: Update bug report address.
608 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
610 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
613 1998-11-25 Jesse Thilo <jthilo@gnu.org>
615 * doc/bison.texinfo: Clean up some formatting.
617 1998-05-05 Richard Stallman <rms@gnu.org>
620 Explain better why to make a pure parser.
622 1998-01-05 Richard Stallman <rms@gnu.org>
624 * src/files.c (openfiles):
625 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
626 find a temporary directory, if possible. Do not unlink files while
629 1997-08-25 Richard Stallman <rms@gnu.org>
631 * src/reader.c (stack_offset;):
632 Change some warni to warns.
634 * src/lex.c (literalchar): Use warns, not warni.
636 1997-06-28 Richard Stallman <rms@gnu.org>
638 * src/bison.s1: Add a Bison version comment.
640 * src/main.c (fatal, warn, berror):
643 1997-06-28 Richard Stallman <rms@gnu.org>
645 * Makefile.in (bison_version): New variable.
646 (dist): Use that variable.
647 (bison.s1): Substitute the Bison version into bison.simple.
649 * bison.simple: Add a Bison version comment.
651 1997-06-18 Richard Stallman <rms@gnu.org>
653 * src/main.c (fatal, warn, berror):
654 Make error messages standard.
655 (toomany): Improve error message text.
657 * 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:
658 new.h renamed to alloc.h.
660 1997-06-18 Richard Stallman <rms@gnu.org>
662 * Makefile.in: new.h renamed to alloc.h.
664 1997-05-24 Richard Stallman <rms@gnu.org>
666 * src/lex.c (literalchar):
667 Fix the code for escaping \, " and '.
669 (lex): Avoid trouble when there are many chars
670 to discard in a char literal with just several chars in it.
672 1997-05-17 Richard Stallman <rms@gnu.org>
675 Use malloc, if using alloca is troublesome.
676 (YYSTACK_USE_ALLOCA): New flag macro.
677 Define it for some systems and compilers.
678 (YYSTACK_ALLOC): New macro.
679 (yyparse): Use YYSTACK_ALLOC to allocate stack.
680 If it was malloc'd, free it.
682 1997-05-17 Richard Stallman <rms@gnu.org>
685 Use malloc, if using alloca is troublesome.
686 (YYSTACK_USE_ALLOCA): New flag macro.
687 Define it for some systems and compilers.
688 (YYSTACK_ALLOC): New macro.
689 (yyparse): Use YYSTACK_ALLOC to allocate stack.
690 If it was malloc'd, free it.
692 1997-04-23 Richard Stallman <rms@gnu.org>
695 (alloca) [__hpux]: Always define as __builtin_alloca.
697 1997-04-23 Richard Stallman <rms@gnu.org>
700 (alloca) [__hpux]: Always define as __builtin_alloca.
702 1997-04-22 Richard Stallman <rms@gnu.org>
705 [__hpux]: Include alloca.h (right for HPUX 10)
706 instead of declaring alloca (right for HPUX 9).
708 * src/bison.s1 (__yy_memcpy):
709 Declare arg `count' as unsigned int.
710 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
712 1997-04-22 Richard Stallman <rms@gnu.org>
715 [__hpux]: Include alloca.h (right for HPUX 10)
716 instead of declaring alloca (right for HPUX 9).
718 * bison.simple (__yy_memcpy):
719 Declare arg `count' as unsigned int.
720 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
722 1997-01-03 Richard Stallman <rms@gnu.org>
724 * src/allocate.c: [__STDC__ or _MSC_VER]:
725 Declare calloc and realloc to return void *.
727 1997-01-02 Richard Stallman <rms@gnu.org>
730 [_MSC_VER]: Include stdlib.h and process.h.
731 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
733 * src/main.c (main): Return FAILURE as a value.
734 (printable_version): Declare arg as int, not char.
736 1997-01-02 Richard Stallman <rms@gnu.org>
738 * Makefile.in (dist):
739 Explicitly check for symlinks, and copy them.
741 1996-12-19 Richard Stallman <rms@gnu.org>
744 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
746 1996-12-18 Paul Eggert <eggert@gnu.org>
748 * src/bison.s1 (yyparse):
749 If __GNUC__ and YYPARSE_PARAM are both defined,
750 declare yyparse to have a void * argument.
752 1996-12-18 Paul Eggert <eggert@gnu.org>
754 * bison.simple (yyparse):
755 If __GNUC__ and YYPARSE_PARAM are both defined,
756 declare yyparse to have a void * argument.
758 1996-12-17 Richard Stallman <rms@gnu.org>
760 * src/reduce.c (nbits): Add some casts.
762 1996-08-12 Richard Stallman <rms@gnu.org>
764 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
766 1996-08-12 Richard Stallman <rms@gnu.org>
768 * bison.simple: Test _MSDOS as well as _MSDOS_.
770 1996-07-31 Richard Stallman <rms@gnu.org>
773 [__sun && __i386]: Include alloca.h.
775 1996-07-31 Richard Stallman <rms@gnu.org>
778 [__sun && __i386]: Include alloca.h.
780 1996-07-30 Richard Stallman <rms@gnu.org>
782 * src/bison.s1: Comment change.
784 * src/bison.s1: Test _MSDOS_, not MSDOS.
786 1996-07-30 Richard Stallman <rms@gnu.org>
788 * bison.simple: Comment change.
790 * bison.simple: Test _MSDOS_, not MSDOS.
792 1996-06-01 Richard Stallman <rms@gnu.org>
794 * 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:
795 Insert `_' macro around many string constants.
798 Insert `_' macro around many string constants.
800 (main): Call setlocale, bindtextdomain and textdomain.
802 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
803 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
804 [ENABLE_NLS]: Include libintl.h.
805 [ENABLE_NLS] (gettext): Define.
806 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
807 (N_, PACKAGE, LOCALEDIR): New macros.
809 1996-06-01 Richard Stallman <rms@gnu.org>
811 * POTFILES.in: New file.
813 * Makefile.in (allocate.o):
814 Define target explicitly.
816 * Makefile.in (CFLAGS): Set to @CFLAGS@.
817 (LDFLAGS): Set to @LDFLAGS@.
818 (configure): Run autoconf only if preceding `cd' succeeds.
819 (bison.s1): Redirect output to temporary file then move the
820 temporary to the target, rather than redirecting directly to bison.s1.
821 (clean): Remove config.status and config.log.
822 (distclean): Don't remove config.status here.
824 1996-05-12 Richard Stallman <rms@gnu.org>
827 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
829 1996-05-12 Richard Stallman <rms@gnu.org>
832 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
834 1996-05-11 Richard Stallman <rms@gnu.org>
836 * src/bison.s1 (__yy_memcpy):
837 Really reorder the args, as was supposedly done on Feb 14 1995.
838 (yyparse): Calls changed accordingly.
840 1996-05-11 Richard Stallman <rms@gnu.org>
842 * Makefile.in (dist): Don't use $(srcdir).
844 * bison.simple (__yy_memcpy):
845 Really reorder the args, as was supposedly done on Feb 14 1995.
846 (yyparse): Calls changed accordingly.
848 1996-01-27 Richard Stallman <rms@gnu.org>
850 * src/output.c (output_rule_data):
851 Test YYERROR_VERBOSE in the conditional
852 around the definition of ttyname.
854 1995-12-29 Richard Stallman <rms@gnu.org>
857 Fix line numbers in #line commands.
859 1995-12-29 Richard Stallman <rms@gnu.org>
862 Fix line numbers in #line commands.
864 1995-12-27 Richard Stallman <rms@gnu.org>
866 * src/bison.s1 (YYPARSE_PARAM_DECL):
867 In C++, make it always null.
868 (YYPARSE_PARAM_ARG): New macro.
869 (yyparse): Use YYPARSE_PARAM_ARG.
871 1995-12-27 Richard Stallman <rms@gnu.org>
873 * bison.simple (YYPARSE_PARAM_DECL):
874 In C++, make it always null.
875 (YYPARSE_PARAM_ARG): New macro.
876 (yyparse): Use YYPARSE_PARAM_ARG.
878 1995-11-29 Richard Stallman <rms@gnu.org>
881 Describe literal string tokens, %raw, %no_lines, %token_table.
883 1995-11-29 Daniel Hagerty <hag@gnu.org>
885 * doc/bison.texinfo: Fixed update date
887 1995-10-16 Richard Stallman <rms@gnu.org>
889 * src/version.c: Version 1.25.
891 1995-10-16 Richard Stallman <rms@gnu.org>
893 * NEWS: *** empty log message ***
895 1995-10-16 Richard Stallman <rms@gnu.org>
897 * doc/bison.1, doc/bison.rnh:
900 1995-10-15 Richard Stallman <rms@gnu.org>
902 * src/vmsgetargs.c, src/getargs.c:
903 Added -n, -k, and -raw switches.
904 (noparserflag, toknumflag, rawtoknumflag): New variables.
906 * src/symtab.h (SALIAS):
907 New #define for adding aliases to %token.
908 (struct bucket): Added `alias' field.
910 * src/reduce.c (reduce_grammar):
911 Revise error message.
912 (print_notices): Remove final `.' from error message.
914 * src/reader.c (reader_output_yylsp):
916 (readgram): Use `#if 0' around code that accepted %command
917 inside grammar rules: The documentation doesn't allow it,
918 and it will fail since the %command processors scan for the next %.
919 (parse_token_decl): Extended the %token
920 declaration to allow a multi-character symbol as an alias.
921 (parse_thong_decl): New function.
922 (read_declarations): Added %thong declarations.
923 (read_declarations): Handle NOOP to deal with allowing
924 % declarations as another means to specify the flags.
925 (readgram): Allow %prec prior to semantics embedded in a rule.
926 (skip_to_char, read_declarations, copy_definition)
927 (parse_token_decl, parse_start_decl, parse_type_decl)
928 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
929 (get_type_name, copy_guard, copy_action, readgram)
930 (get_type, packsymbols): Revised most error messages.
931 Changed `fatal' to `warnxxx' to avoid aborting for error.
932 Revised and use multiple warnxxx functions to avoid using VARARGS1.
933 (read_declarations): Improve the error message for
934 an invalid character. Do not abort.
935 (read_declarations, copy_guard, copy_action): Use
936 printable_version to avoid unprintable characters in printed output.
937 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
938 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
939 Allow the type of a non-terminal can be given
940 more than once, as long as all specifications give the same type.
943 (output_headers, output_trailers, output, output_gram)
944 (output_rule_data): Implement noparserflag variable.
945 Implement toknumflag variable.
946 (output): Call reader_output_yylsp to output LTYPESTR.
949 If reader sees an error, don't process the grammar.
950 (fatals): Updated to not use VARARGS1.
951 (printable_version, int_to_string, warn, warni, warns, warnss)
952 (warnsss): New error reporting functions. Avoid abort for error.
955 Added THONG and NOOP for alias processing.
956 Added SETOPT for the new code that allows setting options with %flags.
959 Include getopt.h. Add some extern decls.
960 (safegetc): New function to deal with EOF gracefully.
961 (literalchar); new function to deal with reading \ escapes.
962 (lex): Use literalchar.
963 (lex): Implemented "..." tokens.
964 (literalchar, lex, parse_percent_token): Made tokenbuffer
965 always contain the token. This includes growing the token
966 buffer while reading an integer.
967 (parse_percent_token): Replaced if-else statement with percent_table.
968 (parse_percent_token): Added % declarations as another
969 way to specify the flags -n, -l, and -r. Also added hooks for
970 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
971 major changes to files.c.
972 (lex) Retain in the incoming stream a character following
974 (skip_white_space, lex): Revised most error messages
975 and changed fatal to warn to avoid aborting.
976 (percent_table): Added %thong declarations.
978 * src/gram.h: Comment changes.
980 * src/files.c (openfiles, open_extra_files, done):
982 and actfile file. Handle noparserflag. Both for -n switch.
984 * src/conflicts.c (resolve_sr_conflict):
985 Remove use of alloca.
987 1995-06-01 Jim Meyering <meyering@gnu.org>
989 * doc/bison.texinfo: *** empty log message ***
991 1995-05-06 Richard Stallman <rms@gnu.org>
993 * src/bison.s1: Comment change.
995 1995-05-06 Richard Stallman <rms@gnu.org>
997 * bison.simple: Comment change.
999 1995-05-03 Richard Stallman <rms@gnu.org>
1001 * src/version.c: Version now 1.24.
1003 * src/bison.s1: Change distribution terms.
1005 * src/version.c: Version now 1.23.
1007 1995-05-03 Richard Stallman <rms@gnu.org>
1009 * doc/bison.texinfo:
1010 Rewrite "Conditions for Using Bison".
1011 Update version to 1.24.
1013 1995-05-03 Richard Stallman <rms@gnu.org>
1015 * bison.simple: Change distribution terms.
1017 1995-02-23 Richard Stallman <rms@gnu.org>
1019 * src/files.c: Test __VMS_POSIX as well as VMS.
1021 1995-02-14 Jim Meyering <meyering@gnu.org>
1023 * src/bison.s1 (__yy_memcpy):
1024 Renamed from __yy_bcopy to avoid
1025 confusion. Reverse FROM and TO arguments to be consistent with
1028 1995-02-14 Jim Meyering <meyering@gnu.org>
1030 * bison.simple (__yy_memcpy):
1031 Renamed from __yy_bcopy to avoid
1032 confusion. Reverse FROM and TO arguments to be consistent with
1035 1994-11-10 David J. MacKenzie <djm@gnu.org>
1041 * Makefile.in (DISTFILES): Include NEWS.
1043 * Makefile.in (DISTFILES):
1044 Include install-sh, not install.sh.
1046 * configure.in: Update to Autoconf v2 macro names.
1048 1994-10-05 David J. MacKenzie <djm@gnu.org>
1050 * Makefile.in: fix typo
1052 * Makefile.in (prefix, exec_prefix):
1053 Let configure set them.
1055 1994-09-28 David J. MacKenzie <djm@gnu.org>
1057 * Makefile.in: Set datadir to $(prefix)/share.
1059 1994-09-15 Richard Stallman <rms@gnu.org>
1062 Update copyright notice and GPL version.
1064 1994-09-15 Richard Stallman <rms@gnu.org>
1067 Update copyright notice and GPL version.
1069 1994-07-12 Richard Stallman <rms@gnu.org>
1071 * src/reduce.c, src/reader.c:
1074 1994-05-05 David J. MacKenzie <djm@gnu.org>
1076 * Makefile.in: entered into RCS
1078 1994-03-26 Richard Stallman <rms@gnu.org>
1080 * src/bison.s1: entered into RCS
1082 1994-03-26 Richard Stallman <rms@gnu.org>
1084 * bison.simple: entered into RCS
1086 1994-03-25 Richard Stallman <rms@gnu.org>
1088 * src/main.c: entered into RCS
1090 1994-03-24 Richard Stallman <rms@gnu.org>
1092 * src/conflicts.c: entered into RCS
1094 1994-01-02 Richard Stallman <rms@gnu.org>
1096 * Makefile.in: *** empty log message ***
1098 1993-11-21 Richard Stallman <rms@gnu.org>
1100 * src/bison.s1: *** empty log message ***
1102 1993-11-21 Richard Stallman <rms@gnu.org>
1104 * doc/bison.texinfo: entered into RCS
1106 * doc/bison.texinfo: *** empty log message ***
1108 1993-11-21 Richard Stallman <rms@gnu.org>
1110 * bison.simple: *** empty log message ***
1112 1993-10-25 David J. MacKenzie <djm@gnu.org>
1114 * doc/bison.texinfo: *** empty log message ***
1116 1993-10-19 Richard Stallman <rms@gnu.org>
1118 * src/bison.s1: *** empty log message ***
1120 1993-10-19 Richard Stallman <rms@gnu.org>
1122 * bison.simple: *** empty log message ***
1124 1993-10-14 Richard Stallman <rms@gnu.org>
1126 * src/bison.s1: *** empty log message ***
1128 1993-10-14 Richard Stallman <rms@gnu.org>
1130 * bison.simple: *** empty log message ***
1132 1993-09-14 David J. MacKenzie <djm@gnu.org>
1134 * doc/bison.texinfo: *** empty log message ***
1136 1993-09-13 Noah Friedman <friedman@gnu.org>
1138 * Makefile.in: *** empty log message ***
1140 1993-09-10 Richard Stallman <rms@gnu.org>
1142 * src/conflicts.c: *** empty log message ***
1144 * src/system.h: entered into RCS
1146 1993-09-10 Richard Stallman <rms@gnu.org>
1148 * doc/bison.1: entered into RCS
1150 1993-09-06 Noah Friedman <friedman@gnu.org>
1152 * src/version.c: entered into RCS
1154 1993-09-06 Noah Friedman <friedman@gnu.org>
1156 * Makefile.in: *** empty log message ***
1158 1993-07-30 David J. MacKenzie <djm@gnu.org>
1160 * Makefile.in: *** empty log message ***
1162 1993-07-24 Richard Stallman <rms@gnu.org>
1164 * src/bison.s1: *** empty log message ***
1166 1993-07-24 Richard Stallman <rms@gnu.org>
1168 * bison.simple: *** empty log message ***
1170 1993-07-08 David J. MacKenzie <djm@gnu.org>
1172 * Makefile.in: *** empty log message ***
1174 1993-07-04 Richard Stallman <rms@gnu.org>
1176 * src/bison.s1: *** empty log message ***
1178 1993-07-04 Richard Stallman <rms@gnu.org>
1180 * bison.simple: *** empty log message ***
1182 1993-06-26 David J. MacKenzie <djm@gnu.org>
1184 * src/getargs.c: entered into RCS
1186 1993-06-26 David J. MacKenzie <djm@gnu.org>
1188 * doc/bison.texinfo: *** empty log message ***
1190 * doc/bison.1: New file.
1192 1993-06-25 Richard Stallman <rms@gnu.org>
1194 * src/getargs.c: New file.
1196 1993-06-16 Richard Stallman <rms@gnu.org>
1198 * src/bison.s1: *** empty log message ***
1200 1993-06-16 Richard Stallman <rms@gnu.org>
1202 * bison.simple: *** empty log message ***
1204 1993-06-03 Richard Stallman <rms@gnu.org>
1206 * src/bison.s1: New file.
1208 1993-06-03 Richard Stallman <rms@gnu.org>
1210 * doc/bison.texinfo: *** empty log message ***
1212 1993-06-03 Richard Stallman <rms@gnu.org>
1214 * bison.simple: New file.
1216 1993-05-19 Richard Stallman <rms@gnu.org>
1218 * doc/bison.texinfo: New file.
1220 1993-05-07 Noah Friedman <friedman@gnu.org>
1222 * Makefile.in: *** empty log message ***
1224 1993-04-28 Noah Friedman <friedman@gnu.org>
1226 * src/reader.c: *** empty log message ***
1228 1993-04-23 Noah Friedman <friedman@gnu.org>
1230 * src/alloc.h: entered into RCS
1232 1993-04-20 David J. MacKenzie <djm@gnu.org>
1234 * src/version.c: *** empty log message ***
1236 * src/files.c, src/allocate.c:
1239 * src/reader.c: *** empty log message ***
1241 * src/lex.c: entered into RCS
1243 * src/conflicts.c: New file.
1245 * src/symtab.c: entered into RCS
1247 * src/alloc.h: New file.
1249 * src/LR0.c: entered into RCS
1251 1993-04-18 Noah Friedman <friedman@gnu.org>
1253 * src/reader.c: New file.
1255 * src/version.c: *** empty log message ***
1257 1993-04-18 Noah Friedman <friedman@gnu.org>
1259 * Makefile.in: *** empty log message ***
1261 1993-04-17 Noah Friedman <friedman@gnu.org>
1263 * Makefile.in: *** empty log message ***
1265 1993-04-15 Richard Stallman <rms@gnu.org>
1267 * src/main.c, src/files.c:
1270 1993-04-15 Noah Friedman <friedman@gnu.org>
1272 * configure.in: entered into RCS
1274 * configure.in: *** empty log message ***
1276 * configure.in: New file.
1278 1993-04-14 Richard Stallman <rms@gnu.org>
1280 * Makefile.in: New file.
1282 1993-04-13 Richard Stallman <rms@gnu.org>
1284 * src/version.c: New file.
1286 1993-03-25 Richard Stallman <rms@gnu.org>
1288 * src/output.c: entered into RCS
1290 1992-09-25 Richard Stallman <rms@gnu.org>
1292 * configure.bat: entered into RCS
1294 1992-06-22 Richard Stallman <rms@gnu.org>
1296 * src/vmsgetargs.c: entered into RCS
1298 1992-06-22 Richard Stallman <rms@gnu.org>
1300 * doc/bison.rnh: entered into RCS
1302 1992-04-20 David J. MacKenzie <djm@gnu.org>
1304 * README: entered into RCS
1306 1992-01-22 Richard Stallman <rms@gnu.org>
1308 * src/machine.h: entered into RCS
1310 1991-12-21 Richard Stallman <rms@gnu.org>
1312 * src/lalr.c, src/closure.c:
1315 1991-12-20 Richard Stallman <rms@gnu.org>
1317 * src/state.h: entered into RCS
1319 1991-12-18 Richard Stallman <rms@gnu.org>
1321 * src/print.c, src/nullable.c, src/derives.c:
1324 1991-11-03 David J. MacKenzie <djm@gnu.org>
1326 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1329 1988-09-09 Richard Stallman <rms@gnu.org>
1331 * src/bison.hairy: entered into RCS
1333 1987-12-16 Richard Stallman <rms@gnu.org>
1335 * REFERENCES: entered into RCS