1 2000-09-18 Akim Demaille <akim@epita.fr>
3 * doc/bison.texinfo: Update the copyright.
4 ANSIfy and GNUify the examples.
7 2000-09-18 Akim Demaille <akim@epita.fr>
9 First set of tests: use the `calc' example from the documentation.
11 * src/bison.s1 (yyparse): Condition the code using `yytname' which
12 is defined only when YYDEBUG is.
13 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
14 * src/files.c (tryopen, tryclose): Formatting changes.
15 Move to the top and be static.
16 * src/reader.c (read_signed_integer): Likewise.
17 * tests/calc.m4: New file.
18 * Makefile.am, suite.m4: Adjust.
19 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
21 2000-09-18 Akim Demaille <akim@epita.fr>
23 Add support for an Autotest test suite for Bison.
25 * m4/m4.m4, m4/atconfig.m4: New files.
26 * m4/Makefile.am (EXTRA_DIST): Adjust.
27 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
29 * src/getargs.c: Display a more standard --version message.
30 * src/reader.c (reader): Formatting changes.
31 No longer depend upon VERSION_STRING.
32 * configure.in: No longer use `dnl'.
33 Set up the test suite and the new directory `tests/.
34 (VERSION_STRING): Remove.
36 2000-04-14 Akim Demaille <akim@epita.fr>
38 * src/reader.c (copy_comment2): New function, same as former
39 `copy_comment', but outputs into two FILE *.
40 (copy_comment): Use it.
41 (parse_union_decl): Use it.
42 (get_type, parse_start_decl): Use the same `invalid' message.
43 (parse_start_decl, parse_union_decl): Use the same `multiple'
45 (parse_union_decl, copy_guard, copy_action): Use the same
47 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
49 2000-03-31 Akim Demaille <akim@epita.fr>
51 * src/files.c (tryopen, tryclose): Move to the top.
54 2000-03-31 Akim Demaille <akim@epita.fr>
56 * src/main.c (main): Don't call `done', exit does it.
58 2000-03-31 Akim Demaille <akim@epita.fr>
60 * allocate.c: s/return (foo)/return foo/.
66 * vmsgetargs.c: Likewise.
68 2000-03-31 Akim Demaille <akim@epita.fr>
70 Clean up the error reporting functions.
72 * src/report.c: New file.
73 * src/report.h: Likewise.
74 * src/Makefile.am: Adjust.
75 * m4/error.m4: New file.
76 * m4/Makefile.am: Adjust.
77 * configure.in (jm_PREREQ_ERROR): Call it.
78 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
80 (fatal, fatals): Remove. All callers use complain.c::fatal.
81 (warn, warni, warns, warnss, warnss): Remove. All callers use
83 (toomany): Remove, use fatal instead.
84 * src/files.c (done): No argument, use complain_message_count.
85 * src/main.c (main): Register `done' to `atexit'.
87 * src/getargs.c (usage): More `fputs', less `fprintf'.
89 2000-03-28 Akim Demaille <akim@epita.fr>
91 * lib/: New directory.
92 * Makefile.am (SUBDIRS): Adjust.
93 * configure.in: Adjust.
94 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
96 * src/alloca.c: Moved to lib/.
97 * src/getopt.c: Likewise.
98 * src/getopt1.c: Likewise.
99 * src/getopt.h: Likewise.
100 * src/ansi2knr.c: Likewise.
101 * src/ansi2knr.1: Likewise.
102 * src/Makefile.am: Adjust.
103 * lib/Makefile.am: New file.
105 2000-03-28 Akim Demaille <akim@epita.fr>
107 * src/getargs.c (usage): Refresh the help message.
109 2000-03-17 Akim Demaille <akim@epita.fr>
111 * src/getopt1.c: Updated from textutils 2.0e
112 * src/getopt.c: Likewise.
113 * src/getopt.h: Likewise.
115 2000-03-17 Akim Demaille <akim@epita.fr>
117 * src/Makefile.am (bison.simple): Fix the awk program: quote only
118 the file name, not the whole `#line LINE FILE'.
120 2000-03-17 Akim Demaille <akim@epita.fr>
122 On syntax errors, report the token on which we choked.
124 * src/bison.s1 (yyparse): In the label yyerrlab, when
125 YYERROR_VERBOSE, add yychar in msg.
127 2000-03-17 Akim Demaille <akim@epita.fr>
129 * src/reader.c (copy_at): New function.
130 (copy_guard): Use it.
131 (copy_action): Use it.
133 2000-03-17 Akim Demaille <akim@epita.fr>
135 Be kind to translators, save some useless translations.
137 * src/main.c (banner): New function.
138 (fatal_banner): Use it.
139 (warn_banner): Use it.
141 2000-03-17 Akim Demaille <akim@epita.fr>
143 * src/reader.c (copy_definition): Use copy_string and
144 copy_comment. Removed now unused `match', `ended',
146 (copy_comment, copy_string): Moved, to be visible from
149 2000-03-17 Akim Demaille <akim@epita.fr>
151 * src/reader.c (copy_string): Declare `static inline'. No
152 problems with inline, since it is checked by configure.
153 (copy_comment): Likewise.
155 2000-03-17 Akim Demaille <akim@epita.fr>
157 * src/reader.c (packsymbols): Formatting changes.
159 2000-03-17 Akim Demaille <akim@epita.fr>
161 * src/reader.c (copy_comment): New function, factored out from:
162 (copy_action): Use it. Removed now unused `match', `ended',
164 (copy_guard): Likewise.
166 2000-03-17 Akim Demaille <akim@epita.fr>
168 * src/reader.c (copy_string): New function, factored out from:
169 (copy_action): Use it.
170 (copy_guard): Likewise.
172 2000-03-17 Akim Demaille <akim@epita.fr>
174 Change the handling of @s so that they behave exactly like $s.
175 There is now a pseudo variable @$ (readble and writable), location
176 of the lhs of the rule (by default ranging from the location of
177 the first symbol of the rhs, to the location of the last symbol,
178 or, if the rhs is empty, YYLLOC).
180 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
182 (yyparse): When providing a default semantic action, provide a
183 default location action.
184 (after the $): No longer change `*YYLSP', just stack YYLOC the
185 same way you stack YYVAL.
186 * src/reader.c (read_declarations): Use warns.
187 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
188 (copy_action, case '@'): Likewise.
189 Use a standard error message, to save useless work from
192 2000-03-17 Akim Demaille <akim@epita.fr>
194 * src/bison.s1: Formatting and cosmetics changes.
195 * src/reader.c: Likewise.
196 Update the Copyright notice.
198 2000-03-17 Akim Demaille <akim@epita.fr>
200 * src/bison.s1 (#line): All set to `#line' only, since the
201 Makefile now handles them.
203 2000-03-16 Akim Demaille <akim@epita.fr>
205 * src/output.c (output_rule_data): Output the documentation of
207 (Copyright notice): Update.
210 2000-03-16 Akim Demaille <akim@epita.fr>
212 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
213 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
214 One `#if YYDEBUG' remains, since it uses variables which are
215 defined only if `YYDEBUG != 0'.
217 2000-03-16 Akim Demaille <akim@epita.fr>
219 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
220 and related variables so that the similarities are highlighted.
222 2000-03-16 Akim Demaille <akim@epita.fr>
224 * src/bison.s1: Properly indent CPP directives.
226 2000-03-16 Akim Demaille <akim@epita.fr>
228 * src/bison.s1: Properly indent the `alloca' CPP section.
230 2000-03-16 Akim Demaille <akim@epita.fr>
232 Do not hard code values of directories in `configure.in'.
233 Update the `configure' tool chain.
235 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
237 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
238 (AC_OUTPUT): Add m4/Makefile.
239 Bump to bison 1.28a, 1.29 has never been released.
240 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
241 handled via src/Makefile.am.
242 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
243 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
245 * Makefile.am (SUBDIRS): Add m4.
246 (ACLOCAL_AM_FLAGS): New variable.
247 (AUTOMAKE_OPTIONS): Add check-news.
248 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
249 the proper line number and file name.
250 (DEFS): Propagate the location of bison library files and of the
252 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
254 * acinclude.m4: Remove, replaced by the directory m4.
255 * m4/Makefile.am (EXTRA_DIST): New variable.
256 * m4/gettext.m4: New file, from the fileutils.
257 * m4/lcmessage.m4: Likewise
258 * m4/progtest.m4: Likewise.
259 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
261 2000-03-10 Akim Demaille <akim@epita.fr>
264 Formatting changes of various comments.
265 Respect the GNU coding standards at various places.
266 Don't use `_()' when no translation is needed.
268 1999-12-13 Jesse Thilo <jthilo@gnu.org>
271 OS/2 honors TMPDIR environment variable.
273 1999-12-13 Jesse Thilo <jthilo@gnu.org>
275 * doc/bison.texinfo: Tweaked spelling and grammar.
277 Removed reference to price of printed copy.
278 Mention BISON_SIMPLE and BISON_HAIRY.
280 1999-12-13 Jesse Thilo <jthilo@gnu.org>
282 * configure.in, NEWS:
285 1999-10-27 Jesse Thilo <jthilo@gnu.org>
287 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
288 Added reference card.
290 1999-07-26 Jesse Thilo <jthilo@gnu.org>
292 * po/ru.po: Added Russian translation.
294 1999-07-26 Jesse Thilo <jthilo@gnu.org>
296 * configure.in: Added Russian translation.
298 1999-07-06 Jesse Thilo <jthilo@gnu.org>
300 * configure.in, NEWS, README:
301 Released version 1.28.
303 1999-06-14 Jesse Thilo <jthilo@gnu.org>
306 Squashed redefinition warning on some systems.
308 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
309 Have configure build version string instead of relying on ANSI string
312 1999-06-14 Jesse Thilo <jthilo@gnu.org>
314 * po/POTFILES.in: Got rid of version.c.
316 1999-06-14 Jesse Thilo <jthilo@gnu.org>
318 * acconfig.h, configure.in:
319 Have configure build version string instead of relying on ANSI string
322 1999-06-08 Jesse Thilo <jthilo@gnu.org>
325 Dropped mention of `+' for long-named options.
327 1999-05-30 Jesse Thilo <jthilo@gnu.org>
329 * src/files.c: Added <unistd.h> for unlink().
331 * src/Makefile.am, src/system.h:
334 1999-05-30 Jesse Thilo <jthilo@gnu.org>
336 * README: Added a FAQ list.
338 * configure.in, acconfig.h:
341 1999-05-30 Jesse Thilo <jthilo@gnu.org>
343 * doc/FAQ, doc/Makefile.am:
346 1999-05-19 Jesse Thilo <jthilo@gnu.org>
348 * src/alloc.h, src/symtab.h, src/version.c:
349 Protected inclusion of "config.h" with HAVE_CONFIG_H.
351 1999-04-18 Jesse Thilo <jthilo@gnu.org>
353 * src/.cvsignore, src/Makefile.am:
354 Reorganized: sources in `src', documentation in `doc'.
356 * src/lex.c (literalchar):
357 fixed the code for escaping double quotes (thanks
360 1999-04-18 Jesse Thilo <jthilo@gnu.org>
362 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
363 Adjusted paths to reflect directory reorganization.
365 1999-04-18 Jesse Thilo <jthilo@gnu.org>
367 * doc/.cvsignore, doc/Makefile.am:
368 Reorganized: sources in `src', documentation in `doc'.
370 1999-04-18 Jesse Thilo <jthilo@gnu.org>
373 Updated AC_INIT file to reflect directory reorganization.
375 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
376 Reorganized: sources in `src', documentation in `doc'.
378 1999-04-13 Jesse Thilo <jthilo@gnu.org>
381 Don't declare calloc() and realloc() if not necessary.
383 1999-04-13 Jesse Thilo <jthilo@gnu.org>
385 * configure.in, acconfig.h, acinclude.m4:
386 Don't declare calloc() and realloc() if not necessary.
388 1999-03-23 Jesse Thilo <jthilo@gnu.org>
390 * po/.cvsignore: Added i18n support.
392 1999-03-23 Jesse Thilo <jthilo@gnu.org>
394 * acconfig.h, configure.in, Makefile.am:
397 1999-03-22 Jesse Thilo <jthilo@gnu.org>
399 * src/bison.s1: Fixed #line numbers.
401 1999-03-15 Jesse Thilo <jthilo@gnu.org>
403 * po/es.po, po/fr.po, po/nl.po, po/de.po:
404 Added PO files from Translation Project.
406 1999-03-03 Jesse Thilo <jthilo@gnu.org>
409 Added support for non-ANSI compilers (ansi2knr).
411 1999-02-16 Jesse Thilo <jthilo@gnu.org>
413 * configure.in: Bumped version number to 1.27.
416 Added `bison.simple' to list of files removed by `make distclean'.
418 1999-02-12 Jesse Thilo <jthilo@gnu.org>
420 * src/files.c, src/files.h:
421 Defined locations of parser files in config.h instead of Makefile.
423 1999-02-12 Jesse Thilo <jthilo@gnu.org>
425 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
426 Defined locations of parser files in config.h instead of Makefile.
428 1999-02-09 Jesse Thilo <jthilo@gnu.org>
431 Removed inappropriate use of $< macro.
433 1999-02-05 Jesse Thilo <jthilo@gnu.org>
435 * po/Makefile.in.in, po/POTFILES.in:
436 Add `po' directory skeleton.
438 1999-01-27 Jesse Thilo <jthilo@gnu.org>
440 * README: Document help-bison list.
442 * configure.in: Add check for mkstemp().
444 1999-01-20 Jesse Thilo <jthilo@gnu.org>
446 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
447 Hush a few compiler warnings.
450 Add tryclose(), which verifies that fclose was successful.
451 Hush a couple of compiler warnings.
453 1999-01-20 Jesse Thilo <jthilo@gnu.org>
455 * Makefile.am, OChangeLog:
456 ChangeLog is now automatically generated. Include the old version as
459 1999-01-14 Jesse Thilo <jthilo@gnu.org>
461 * 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:
464 1999-01-14 Jesse Thilo <jthilo@gnu.org>
466 * doc/bison.texinfo: Fix formatting glitch.
468 * doc/bison.texinfo: Update FSF address.
470 1999-01-14 Jesse Thilo <jthilo@gnu.org>
472 * acconfig.h: Update FSF address.
474 1999-01-08 Jesse Thilo <jthilo@gnu.org>
477 Don't define PACKAGE here, since config.h defines it.
479 1998-12-30 Jesse Thilo <jthilo@gnu.org>
481 * src/reader.c: Update copyright date.
484 Ditch sprintf to statically-sized buffers in fatal/warn functions in
485 favor of output directly to stderr (avoids buffer overruns).
487 * src/reader.c: Some checks for premature EOF.
489 * 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:
490 Use prototypes if the compiler understands them.
492 * src/files.c: Honor TMPDIR on Unix hosts.
493 Use prototypes if the compiler understands them.
496 Fix a couple of buffer overrun bugs.
497 Use prototypes if the compiler understands them.
499 * src/system.h: Include unistd.h and ctype.h.
500 Use #ifdef instead of #if for NLS symbols.
502 1998-12-30 Jesse Thilo <jthilo@gnu.org>
505 Delete comment "consider using @set for edition number, etc..." since
508 1998-12-30 Jesse Thilo <jthilo@gnu.org>
511 Use prototypes if the compiler understands them.
513 * NEWS: Document 1.26 highlights.
515 * Makefile.am: Require Automake 1.3 or later.
518 Use prototypes if the compiler understands them.
520 1998-12-29 Jesse Thilo <jthilo@gnu.org>
523 Use VERSION symbol from automake for version number.
525 1998-12-29 Jesse Thilo <jthilo@gnu.org>
527 * acconfig.h, configure.in, version.cin:
528 Use VERSION symbol from automake for version number.
530 1998-11-28 Jesse Thilo <jthilo@gnu.org>
533 Distribute original version of simple parser (bison.s1), not built
534 version (bison.simple).
536 1998-11-28 Jesse Thilo <jthilo@gnu.org>
538 * doc/bison.texinfo: Add info dir entry.
541 Let automake put version number into documentation.
543 1998-11-26 Jesse Thilo <jthilo@gnu.org>
545 * src/bison.cld, src/build.com, src/vmshlp.mar:
546 Add non-RCS files from /gd/gnu/bison.
548 1998-11-26 Jesse Thilo <jthilo@gnu.org>
551 Document the BISON_HAIRY and BISON_SIMPLE variables.
553 1998-11-25 Jesse Thilo <jthilo@gnu.org>
555 * src/version.c: Build version.c automatically.
558 Fix token numbering (used to start at 258, not 257).
560 * src/system.h: Include config.h.
562 * src/getargs.c: Update bug report address.
564 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
565 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
567 1998-11-25 Jesse Thilo <jthilo@gnu.org>
570 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
572 * configure.in, version.cin:
573 Build version.c automatically.
575 * AUTHORS: Add AUTHORS file.
577 * README: Update bug report address.
580 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
582 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
585 1998-11-25 Jesse Thilo <jthilo@gnu.org>
587 * doc/bison.texinfo: Clean up some formatting.
589 1998-05-05 Richard Stallman <rms@gnu.org>
592 Explain better why to make a pure parser.
594 1998-01-05 Richard Stallman <rms@gnu.org>
596 * src/files.c (openfiles):
597 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
598 find a temporary directory, if possible. Do not unlink files while
601 1997-08-25 Richard Stallman <rms@gnu.org>
603 * src/reader.c (stack_offset;):
604 Change some warni to warns.
606 * src/lex.c (literalchar): Use warns, not warni.
608 1997-06-28 Richard Stallman <rms@gnu.org>
610 * src/bison.s1: Add a Bison version comment.
612 * src/main.c (fatal, warn, berror):
615 1997-06-28 Richard Stallman <rms@gnu.org>
617 * Makefile.in (bison_version): New variable.
618 (dist): Use that variable.
619 (bison.s1): Substitute the Bison version into bison.simple.
621 * bison.simple: Add a Bison version comment.
623 1997-06-18 Richard Stallman <rms@gnu.org>
625 * src/main.c (fatal, warn, berror):
626 Make error messages standard.
627 (toomany): Improve error message text.
629 * 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:
630 new.h renamed to alloc.h.
632 1997-06-18 Richard Stallman <rms@gnu.org>
634 * Makefile.in: new.h renamed to alloc.h.
636 1997-05-24 Richard Stallman <rms@gnu.org>
638 * src/lex.c (literalchar):
639 Fix the code for escaping \, " and '.
641 (lex): Avoid trouble when there are many chars
642 to discard in a char literal with just several chars in it.
644 1997-05-17 Richard Stallman <rms@gnu.org>
647 Use malloc, if using alloca is troublesome.
648 (YYSTACK_USE_ALLOCA): New flag macro.
649 Define it for some systems and compilers.
650 (YYSTACK_ALLOC): New macro.
651 (yyparse): Use YYSTACK_ALLOC to allocate stack.
652 If it was malloc'd, free it.
654 1997-05-17 Richard Stallman <rms@gnu.org>
657 Use malloc, if using alloca is troublesome.
658 (YYSTACK_USE_ALLOCA): New flag macro.
659 Define it for some systems and compilers.
660 (YYSTACK_ALLOC): New macro.
661 (yyparse): Use YYSTACK_ALLOC to allocate stack.
662 If it was malloc'd, free it.
664 1997-04-23 Richard Stallman <rms@gnu.org>
667 (alloca) [__hpux]: Always define as __builtin_alloca.
669 1997-04-23 Richard Stallman <rms@gnu.org>
672 (alloca) [__hpux]: Always define as __builtin_alloca.
674 1997-04-22 Richard Stallman <rms@gnu.org>
677 [__hpux]: Include alloca.h (right for HPUX 10)
678 instead of declaring alloca (right for HPUX 9).
680 * src/bison.s1 (__yy_memcpy):
681 Declare arg `count' as unsigned int.
682 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
684 1997-04-22 Richard Stallman <rms@gnu.org>
687 [__hpux]: Include alloca.h (right for HPUX 10)
688 instead of declaring alloca (right for HPUX 9).
690 * bison.simple (__yy_memcpy):
691 Declare arg `count' as unsigned int.
692 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
694 1997-01-03 Richard Stallman <rms@gnu.org>
696 * src/allocate.c: [__STDC__ or _MSC_VER]:
697 Declare calloc and realloc to return void *.
699 1997-01-02 Richard Stallman <rms@gnu.org>
702 [_MSC_VER]: Include stdlib.h and process.h.
703 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
705 * src/main.c (main): Return FAILURE as a value.
706 (printable_version): Declare arg as int, not char.
708 1997-01-02 Richard Stallman <rms@gnu.org>
710 * Makefile.in (dist):
711 Explicitly check for symlinks, and copy them.
713 1996-12-19 Richard Stallman <rms@gnu.org>
716 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
718 1996-12-18 Paul Eggert <eggert@gnu.org>
720 * src/bison.s1 (yyparse):
721 If __GNUC__ and YYPARSE_PARAM are both defined,
722 declare yyparse to have a void * argument.
724 1996-12-18 Paul Eggert <eggert@gnu.org>
726 * bison.simple (yyparse):
727 If __GNUC__ and YYPARSE_PARAM are both defined,
728 declare yyparse to have a void * argument.
730 1996-12-17 Richard Stallman <rms@gnu.org>
732 * src/reduce.c (nbits): Add some casts.
734 1996-08-12 Richard Stallman <rms@gnu.org>
736 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
738 1996-08-12 Richard Stallman <rms@gnu.org>
740 * bison.simple: Test _MSDOS as well as _MSDOS_.
742 1996-07-31 Richard Stallman <rms@gnu.org>
745 [__sun && __i386]: Include alloca.h.
747 1996-07-31 Richard Stallman <rms@gnu.org>
750 [__sun && __i386]: Include alloca.h.
752 1996-07-30 Richard Stallman <rms@gnu.org>
754 * src/bison.s1: Comment change.
756 * src/bison.s1: Test _MSDOS_, not MSDOS.
758 1996-07-30 Richard Stallman <rms@gnu.org>
760 * bison.simple: Comment change.
762 * bison.simple: Test _MSDOS_, not MSDOS.
764 1996-06-01 Richard Stallman <rms@gnu.org>
766 * 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:
767 Insert `_' macro around many string constants.
770 Insert `_' macro around many string constants.
772 (main): Call setlocale, bindtextdomain and textdomain.
774 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
775 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
776 [ENABLE_NLS]: Include libintl.h.
777 [ENABLE_NLS] (gettext): Define.
778 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
779 (N_, PACKAGE, LOCALEDIR): New macros.
781 1996-06-01 Richard Stallman <rms@gnu.org>
783 * POTFILES.in: New file.
785 * Makefile.in (allocate.o):
786 Define target explicitly.
788 * Makefile.in (CFLAGS): Set to @CFLAGS@.
789 (LDFLAGS): Set to @LDFLAGS@.
790 (configure): Run autoconf only if preceding `cd' succeeds.
791 (bison.s1): Redirect output to temporary file then move the
792 temporary to the target, rather than redirecting directly to bison.s1.
793 (clean): Remove config.status and config.log.
794 (distclean): Don't remove config.status here.
796 1996-05-12 Richard Stallman <rms@gnu.org>
799 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
801 1996-05-12 Richard Stallman <rms@gnu.org>
804 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
806 1996-05-11 Richard Stallman <rms@gnu.org>
808 * src/bison.s1 (__yy_memcpy):
809 Really reorder the args, as was supposedly done on Feb 14 1995.
810 (yyparse): Calls changed accordingly.
812 1996-05-11 Richard Stallman <rms@gnu.org>
814 * Makefile.in (dist): Don't use $(srcdir).
816 * bison.simple (__yy_memcpy):
817 Really reorder the args, as was supposedly done on Feb 14 1995.
818 (yyparse): Calls changed accordingly.
820 1996-01-27 Richard Stallman <rms@gnu.org>
822 * src/output.c (output_rule_data):
823 Test YYERROR_VERBOSE in the conditional
824 around the definition of ttyname.
826 1995-12-29 Richard Stallman <rms@gnu.org>
829 Fix line numbers in #line commands.
831 1995-12-29 Richard Stallman <rms@gnu.org>
834 Fix line numbers in #line commands.
836 1995-12-27 Richard Stallman <rms@gnu.org>
838 * src/bison.s1 (YYPARSE_PARAM_DECL):
839 In C++, make it always null.
840 (YYPARSE_PARAM_ARG): New macro.
841 (yyparse): Use YYPARSE_PARAM_ARG.
843 1995-12-27 Richard Stallman <rms@gnu.org>
845 * bison.simple (YYPARSE_PARAM_DECL):
846 In C++, make it always null.
847 (YYPARSE_PARAM_ARG): New macro.
848 (yyparse): Use YYPARSE_PARAM_ARG.
850 1995-11-29 Richard Stallman <rms@gnu.org>
853 Describe literal string tokens, %raw, %no_lines, %token_table.
855 1995-11-29 Daniel Hagerty <hag@gnu.org>
857 * doc/bison.texinfo: Fixed update date
859 1995-10-16 Richard Stallman <rms@gnu.org>
861 * src/version.c: Version 1.25.
863 1995-10-16 Richard Stallman <rms@gnu.org>
865 * NEWS: *** empty log message ***
867 1995-10-16 Richard Stallman <rms@gnu.org>
869 * doc/bison.1, doc/bison.rnh:
872 1995-10-15 Richard Stallman <rms@gnu.org>
874 * src/vmsgetargs.c, src/getargs.c:
875 Added -n, -k, and -raw switches.
876 (noparserflag, toknumflag, rawtoknumflag): New variables.
878 * src/symtab.h (SALIAS):
879 New #define for adding aliases to %token.
880 (struct bucket): Added `alias' field.
882 * src/reduce.c (reduce_grammar):
883 Revise error message.
884 (print_notices): Remove final `.' from error message.
886 * src/reader.c (reader_output_yylsp):
888 (readgram): Use `#if 0' around code that accepted %command
889 inside grammar rules: The documentation doesn't allow it,
890 and it will fail since the %command processors scan for the next %.
891 (parse_token_decl): Extended the %token
892 declaration to allow a multi-character symbol as an alias.
893 (parse_thong_decl): New function.
894 (read_declarations): Added %thong declarations.
895 (read_declarations): Handle NOOP to deal with allowing
896 % declarations as another means to specify the flags.
897 (readgram): Allow %prec prior to semantics embedded in a rule.
898 (skip_to_char, read_declarations, copy_definition)
899 (parse_token_decl, parse_start_decl, parse_type_decl)
900 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
901 (get_type_name, copy_guard, copy_action, readgram)
902 (get_type, packsymbols): Revised most error messages.
903 Changed `fatal' to `warnxxx' to avoid aborting for error.
904 Revised and use multiple warnxxx functions to avoid using VARARGS1.
905 (read_declarations): Improve the error message for
906 an invalid character. Do not abort.
907 (read_declarations, copy_guard, copy_action): Use
908 printable_version to avoid unprintable characters in printed output.
909 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
910 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
911 Allow the type of a non-terminal can be given
912 more than once, as long as all specifications give the same type.
915 (output_headers, output_trailers, output, output_gram)
916 (output_rule_data): Implement noparserflag variable.
917 Implement toknumflag variable.
918 (output): Call reader_output_yylsp to output LTYPESTR.
921 If reader sees an error, don't process the grammar.
922 (fatals): Updated to not use VARARGS1.
923 (printable_version, int_to_string, warn, warni, warns, warnss)
924 (warnsss): New error reporting functions. Avoid abort for error.
927 Added THONG and NOOP for alias processing.
928 Added SETOPT for the new code that allows setting options with %flags.
931 Include getopt.h. Add some extern decls.
932 (safegetc): New function to deal with EOF gracefully.
933 (literalchar); new function to deal with reading \ escapes.
934 (lex): Use literalchar.
935 (lex): Implemented "..." tokens.
936 (literalchar, lex, parse_percent_token): Made tokenbuffer
937 always contain the token. This includes growing the token
938 buffer while reading an integer.
939 (parse_percent_token): Replaced if-else statement with percent_table.
940 (parse_percent_token): Added % declarations as another
941 way to specify the flags -n, -l, and -r. Also added hooks for
942 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
943 major changes to files.c.
944 (lex) Retain in the incoming stream a character following
946 (skip_white_space, lex): Revised most error messages
947 and changed fatal to warn to avoid aborting.
948 (percent_table): Added %thong declarations.
950 * src/gram.h: Comment changes.
952 * src/files.c (openfiles, open_extra_files, done):
954 and actfile file. Handle noparserflag. Both for -n switch.
956 * src/conflicts.c (resolve_sr_conflict):
957 Remove use of alloca.
959 1995-06-01 Jim Meyering <meyering@gnu.org>
961 * doc/bison.texinfo: *** empty log message ***
963 1995-05-06 Richard Stallman <rms@gnu.org>
965 * src/bison.s1: Comment change.
967 1995-05-06 Richard Stallman <rms@gnu.org>
969 * bison.simple: Comment change.
971 1995-05-03 Richard Stallman <rms@gnu.org>
973 * src/version.c: Version now 1.24.
975 * src/bison.s1: Change distribution terms.
977 * src/version.c: Version now 1.23.
979 1995-05-03 Richard Stallman <rms@gnu.org>
982 Rewrite "Conditions for Using Bison".
983 Update version to 1.24.
985 1995-05-03 Richard Stallman <rms@gnu.org>
987 * bison.simple: Change distribution terms.
989 1995-02-23 Richard Stallman <rms@gnu.org>
991 * src/files.c: Test __VMS_POSIX as well as VMS.
993 1995-02-14 Jim Meyering <meyering@gnu.org>
995 * src/bison.s1 (__yy_memcpy):
996 Renamed from __yy_bcopy to avoid
997 confusion. Reverse FROM and TO arguments to be consistent with
1000 1995-02-14 Jim Meyering <meyering@gnu.org>
1002 * bison.simple (__yy_memcpy):
1003 Renamed from __yy_bcopy to avoid
1004 confusion. Reverse FROM and TO arguments to be consistent with
1007 1994-11-10 David J. MacKenzie <djm@gnu.org>
1013 * Makefile.in (DISTFILES): Include NEWS.
1015 * Makefile.in (DISTFILES):
1016 Include install-sh, not install.sh.
1018 * configure.in: Update to Autoconf v2 macro names.
1020 1994-10-05 David J. MacKenzie <djm@gnu.org>
1022 * Makefile.in: fix typo
1024 * Makefile.in (prefix, exec_prefix):
1025 Let configure set them.
1027 1994-09-28 David J. MacKenzie <djm@gnu.org>
1029 * Makefile.in: Set datadir to $(prefix)/share.
1031 1994-09-15 Richard Stallman <rms@gnu.org>
1034 Update copyright notice and GPL version.
1036 1994-09-15 Richard Stallman <rms@gnu.org>
1039 Update copyright notice and GPL version.
1041 1994-07-12 Richard Stallman <rms@gnu.org>
1043 * src/reduce.c, src/reader.c:
1046 1994-05-05 David J. MacKenzie <djm@gnu.org>
1048 * Makefile.in: entered into RCS
1050 1994-03-26 Richard Stallman <rms@gnu.org>
1052 * src/bison.s1: entered into RCS
1054 1994-03-26 Richard Stallman <rms@gnu.org>
1056 * bison.simple: entered into RCS
1058 1994-03-25 Richard Stallman <rms@gnu.org>
1060 * src/main.c: entered into RCS
1062 1994-03-24 Richard Stallman <rms@gnu.org>
1064 * src/conflicts.c: entered into RCS
1066 1994-01-02 Richard Stallman <rms@gnu.org>
1068 * Makefile.in: *** empty log message ***
1070 1993-11-21 Richard Stallman <rms@gnu.org>
1072 * src/bison.s1: *** empty log message ***
1074 1993-11-21 Richard Stallman <rms@gnu.org>
1076 * doc/bison.texinfo: entered into RCS
1078 * doc/bison.texinfo: *** empty log message ***
1080 1993-11-21 Richard Stallman <rms@gnu.org>
1082 * bison.simple: *** empty log message ***
1084 1993-10-25 David J. MacKenzie <djm@gnu.org>
1086 * doc/bison.texinfo: *** empty log message ***
1088 1993-10-19 Richard Stallman <rms@gnu.org>
1090 * src/bison.s1: *** empty log message ***
1092 1993-10-19 Richard Stallman <rms@gnu.org>
1094 * bison.simple: *** empty log message ***
1096 1993-10-14 Richard Stallman <rms@gnu.org>
1098 * src/bison.s1: *** empty log message ***
1100 1993-10-14 Richard Stallman <rms@gnu.org>
1102 * bison.simple: *** empty log message ***
1104 1993-09-14 David J. MacKenzie <djm@gnu.org>
1106 * doc/bison.texinfo: *** empty log message ***
1108 1993-09-13 Noah Friedman <friedman@gnu.org>
1110 * Makefile.in: *** empty log message ***
1112 1993-09-10 Richard Stallman <rms@gnu.org>
1114 * src/conflicts.c: *** empty log message ***
1116 * src/system.h: entered into RCS
1118 1993-09-10 Richard Stallman <rms@gnu.org>
1120 * doc/bison.1: entered into RCS
1122 1993-09-06 Noah Friedman <friedman@gnu.org>
1124 * src/version.c: entered into RCS
1126 1993-09-06 Noah Friedman <friedman@gnu.org>
1128 * Makefile.in: *** empty log message ***
1130 1993-07-30 David J. MacKenzie <djm@gnu.org>
1132 * Makefile.in: *** empty log message ***
1134 1993-07-24 Richard Stallman <rms@gnu.org>
1136 * src/bison.s1: *** empty log message ***
1138 1993-07-24 Richard Stallman <rms@gnu.org>
1140 * bison.simple: *** empty log message ***
1142 1993-07-08 David J. MacKenzie <djm@gnu.org>
1144 * Makefile.in: *** empty log message ***
1146 1993-07-04 Richard Stallman <rms@gnu.org>
1148 * src/bison.s1: *** empty log message ***
1150 1993-07-04 Richard Stallman <rms@gnu.org>
1152 * bison.simple: *** empty log message ***
1154 1993-06-26 David J. MacKenzie <djm@gnu.org>
1156 * src/getargs.c: entered into RCS
1158 1993-06-26 David J. MacKenzie <djm@gnu.org>
1160 * doc/bison.texinfo: *** empty log message ***
1162 * doc/bison.1: New file.
1164 1993-06-25 Richard Stallman <rms@gnu.org>
1166 * src/getargs.c: New file.
1168 1993-06-16 Richard Stallman <rms@gnu.org>
1170 * src/bison.s1: *** empty log message ***
1172 1993-06-16 Richard Stallman <rms@gnu.org>
1174 * bison.simple: *** empty log message ***
1176 1993-06-03 Richard Stallman <rms@gnu.org>
1178 * src/bison.s1: New file.
1180 1993-06-03 Richard Stallman <rms@gnu.org>
1182 * doc/bison.texinfo: *** empty log message ***
1184 1993-06-03 Richard Stallman <rms@gnu.org>
1186 * bison.simple: New file.
1188 1993-05-19 Richard Stallman <rms@gnu.org>
1190 * doc/bison.texinfo: New file.
1192 1993-05-07 Noah Friedman <friedman@gnu.org>
1194 * Makefile.in: *** empty log message ***
1196 1993-04-28 Noah Friedman <friedman@gnu.org>
1198 * src/reader.c: *** empty log message ***
1200 1993-04-23 Noah Friedman <friedman@gnu.org>
1202 * src/alloc.h: entered into RCS
1204 1993-04-20 David J. MacKenzie <djm@gnu.org>
1206 * src/version.c: *** empty log message ***
1208 * src/files.c, src/allocate.c:
1211 * src/reader.c: *** empty log message ***
1213 * src/lex.c: entered into RCS
1215 * src/conflicts.c: New file.
1217 * src/symtab.c: entered into RCS
1219 * src/alloc.h: New file.
1221 * src/LR0.c: entered into RCS
1223 1993-04-18 Noah Friedman <friedman@gnu.org>
1225 * src/reader.c: New file.
1227 * src/version.c: *** empty log message ***
1229 1993-04-18 Noah Friedman <friedman@gnu.org>
1231 * Makefile.in: *** empty log message ***
1233 1993-04-17 Noah Friedman <friedman@gnu.org>
1235 * Makefile.in: *** empty log message ***
1237 1993-04-15 Richard Stallman <rms@gnu.org>
1239 * src/main.c, src/files.c:
1242 1993-04-15 Noah Friedman <friedman@gnu.org>
1244 * configure.in: entered into RCS
1246 * configure.in: *** empty log message ***
1248 * configure.in: New file.
1250 1993-04-14 Richard Stallman <rms@gnu.org>
1252 * Makefile.in: New file.
1254 1993-04-13 Richard Stallman <rms@gnu.org>
1256 * src/version.c: New file.
1258 1993-03-25 Richard Stallman <rms@gnu.org>
1260 * src/output.c: entered into RCS
1262 1992-09-25 Richard Stallman <rms@gnu.org>
1264 * configure.bat: entered into RCS
1266 1992-06-22 Richard Stallman <rms@gnu.org>
1268 * src/vmsgetargs.c: entered into RCS
1270 1992-06-22 Richard Stallman <rms@gnu.org>
1272 * doc/bison.rnh: entered into RCS
1274 1992-04-20 David J. MacKenzie <djm@gnu.org>
1276 * README: entered into RCS
1278 1992-01-22 Richard Stallman <rms@gnu.org>
1280 * src/machine.h: entered into RCS
1282 1991-12-21 Richard Stallman <rms@gnu.org>
1284 * src/lalr.c, src/closure.c:
1287 1991-12-20 Richard Stallman <rms@gnu.org>
1289 * src/state.h: entered into RCS
1291 1991-12-18 Richard Stallman <rms@gnu.org>
1293 * src/print.c, src/nullable.c, src/derives.c:
1296 1991-11-03 David J. MacKenzie <djm@gnu.org>
1298 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1301 1988-09-09 Richard Stallman <rms@gnu.org>
1303 * src/bison.hairy: entered into RCS
1305 1987-12-16 Richard Stallman <rms@gnu.org>
1307 * REFERENCES: entered into RCS