1 2001-08-03 Akim Demaille <akim@epita.fr>
5 2001-08-03 Akim Demaille <akim@epita.fr>
7 * tests/Makefile.am (check-local): Ship testsuite.
8 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
11 2001-08-03 Akim Demaille <akim@epita.fr>
13 * configure.in: Try using -Wformat when compiling.
15 2001-08-03 Akim Demaille <akim@epita.fr>
17 * configure.in: Bump to 1.28b.
19 2001-08-03 Akim Demaille <akim@epita.fr>
21 * src/complain.c: Adjust strerror_r portability issues.
23 2001-08-03 Akim Demaille <akim@epita.fr>
27 2001-08-03 Akim Demaille <akim@epita.fr>
29 * src/getargs.c, src/getarg.h (skeleton)): Constify.
30 * src/lex.c (literalchar): Avoid name clashes on `buf'.
31 * src/getargs.c: Include complain.h.
32 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
33 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
35 2001-08-03 Akim Demaille <akim@epita.fr>
37 * src/reader.c (readgram): Display hidden chars in error messages.
39 2001-08-03 Akim Demaille <akim@epita.fr>
41 Update to gettext 0.10.39.
43 2001-08-03 Akim Demaille <akim@epita.fr>
47 2001-08-01 Marc Autret <autret_m@epita.fr>
49 * doc/bison.texinfo: Update.
50 * doc/bison.1 (mandoc): Update.
51 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
52 * src/files.c: Support output files extensions computing.
53 (src_extension): New static variable.
54 (header_extension): New static variable.
56 (get_extension_index): New function, gets the index of an extension
58 (compute_exts_from_gf): New function, computes extensions from the
59 grammar file extension.
60 (compute_exts_from_src): New functions, computes extensions from the
61 C source file extension, file given by ``-o'' option.
62 (compute_base_names): Update.
63 (output_files): Update.
65 2001-08-01 Robert Anisko <anisko_r@epita.fr>
67 * doc/bison.texi: Document @$.
68 (Locations): New section.
70 2001-07-18 Akim Demaille <akim@epita.fr>
72 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
73 * config/prev-version.txt, config/move-if-change: New.
74 * Makefile.am: Adjust.
76 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
78 * src/bison.simple (yyparse): Suppress warning `comparaison
79 between signed and unsigned'.
81 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
83 * src/getargs.h (raw_flag): Remove.
84 * src/getargs.c: Die on `-r'/`--raw'.
85 * src/lex.c (parse_percent_token): Die on `%raw'.
86 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
87 * tests/calc.at: Suppress test with option `--raw'.
89 2001-07-14 Akim Demaille <akim@epita.fr>
92 * configure.in: Require Autoconf 2.50.
93 Update to gettext 0.10.38.
95 2001-03-16 Akim Demaille <akim@epita.fr>
97 * doc/bison.texinfo: ANSIfy the examples.
99 2001-03-16 Akim Demaille <akim@epita.fr>
101 * getargs.c (skeleton): New variable.
102 (longopts): --skeleton is a new option.
103 (shortopts, getargs): -S is a new option.
104 * getargs.h: Declare skeleton.
105 * output.c (output_parser): Use it.
107 2001-03-16 Akim Demaille <akim@epita.fr>
109 * m4/strerror_r.m4: New.
110 * m4/error.m4: Run AC_FUNC_STRERROR_R.
111 * lib/error.h, lib/error.c: Update.
113 2001-03-16 Akim Demaille <akim@epita.fr>
115 * src/getargs.c (longopts): Clean up.
117 2001-02-21 Akim Demaille <akim@epita.fr>
119 * src/reader.c (gensym): `gensym_count' is your own.
120 Use a static buf to create the symbol name, as token_buffer is no
123 2001-02-08 Akim Demaille <akim@epita.fr>
125 * src/conflicts.c (conflict_report): Be sure not to append to res
126 between two calls, which could happen if both first sprintf were
127 skipped, but not the first cp += strlen.
129 2001-02-08 Akim Demaille <akim@epita.fr>
131 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
132 New, from fileutils 4.0.37.
133 * configure.in: Require Autoconf 2.49c. I took some time before
134 making this decision. This is the only way out for portability
135 issues in Bison, it would mean way too much duplicate effort to
136 import in Bison features implemented in 2.49c since 2.13.
137 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
139 2001-02-02 Akim Demaille <akim@epita.fr>
141 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
142 * lib/xalloc.h, lib/xmalloc.c: Update.
144 2001-01-19 Akim Demaille <akim@epita.fr>
146 Get rid of the ad hoc handling of token_buffer in the scanner: use
149 * src/lex.c (token_obstack): New.
150 (init_lex): Initialize it. No longer call...
151 (grow_token_buffer): this. Remove it.
152 Adjust all the places which used it to use the obstack.
154 2001-01-19 Akim Demaille <akim@epita.fr>
156 * src/lex.h: Rename all the tokens:
157 s/\bENDFILE\b/tok_eof/g;
158 s/\bIDENTIFIER\b/tok_identifier/g;
160 Let them be enums, not #define, to ease debugging.
163 2001-01-18 Akim Demaille <akim@epita.fr>
165 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
166 * src/lex.c (maxtoken, grow_token_buffer): Static.
168 2001-01-18 Akim Demaille <akim@epita.fr>
170 Since we now use obstacks, more % directives can be enabled.
172 * src/lex.c (percent_table): Also accept `%yacc',
173 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
175 Handle the actions for `%semantic_parser' and `%pure_parser' here,
176 instead of returning a token.
177 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
178 * src/reader.c (read_declarations): Adjust.
179 * src/files.c (open_files): Don't call `compute_base_names', don't
180 compute `attrsfile' since they depend upon data which might be
181 *in* the input file now.
182 (output_files): Do it here.
183 * src/output.c (output_headers): Document the fact that this patch
184 introduces a guaranteed SEGV for semantic parsers.
185 * doc/bison.texinfo: Document them.
186 * tests/suite.at: Exercise these %options.
188 2000-12-20 Akim Demaille <akim@epita.fr>
190 Also handle the output file (--verbose) with obstacks.
192 * files.c (foutput): Remove.
193 (output_obstack): New.
194 Adjust all dependencies.
195 * src/conflicts.c: Return a string.
196 * src/system.h (obstack_grow_string): Rename as...
197 (obstack_sgrow): this. Be ready to work with non literals.
198 (obstack_fgrow4): New.
200 2000-12-20 Akim Demaille <akim@epita.fr>
202 * src/files.c (open_files): Fix the computation of short_base_name
203 in the case of `-o foo.tab.c'.
205 2000-12-20 Akim Demaille <akim@epita.fr>
207 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
208 (copy_dollar): Now that everything uses obstacks, get rid of the
211 2000-12-20 Akim Demaille <akim@epita.fr>
213 * src/files.c (open_files): Actually the `.output' file is based
214 on the short_base_name, not base_name.
215 * tests/suite.at (Checking output file names): Adjust.
217 2000-12-20 Akim Demaille <akim@epita.fr>
219 * src/bison.s1: Remove, we now use directly...
220 * src/bison.simple: this.
221 * src/Makefile.am: Use pkgdata instead of data.
223 2000-12-20 Akim Demaille <akim@epita.fr>
225 * src/files.c (guard_obstack): New.
226 (open_files): Initialize it.
227 (output_files): Dump it...
228 * src/files.h: Export it.
229 * src/reader.c (copy_guard): Use it.
231 2000-12-19 Akim Demaille <akim@epita.fr>
233 * src/files.c (outfile, defsfile, actfile): Removed as global
235 (open_files): Don't compute them.
236 (output_files): Adjust.
237 (base_name, short_base_name): Be global.
240 2000-12-19 Akim Demaille <akim@epita.fr>
242 * src/files.c (strsuffix): New.
243 (stringappend): Be just like strcat but allocate.
244 (base_names): Eve out from open_files.
245 Try to simplify the rather hairy computation of base_name and
247 (open_files): Use it.
248 * tests/suite.at (Checking output file names): New test.
250 2000-12-19 Akim Demaille <akim@epita.fr>
252 * src/system.h (obstack_grow_literal_string): Rename as...
253 (obstack_grow_string): this.
254 * src/output.c (output_parser): Recognize `%% actions' instead of
256 * src/bison.s1: s/$/%% actions/.
257 * src/bison.hairy: Likewise.
259 2000-12-19 Akim Demaille <akim@epita.fr>
261 * src/output.c (output_parser): Compute the `#line' lines when
263 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
264 Suggested by Hans Aberg.
266 2000-12-19 Akim Demaille <akim@epita.fr>
268 Let the handling of the skeleton files be local to the procedures
271 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
273 (fparser, open_extra_files): Remove.
274 (open_files, output_files): Don't take care of fparser.
275 * src/files.h: Adjust.
276 * src/output.c (output_parser): Open and close the file to the
278 * src/reader.c (read_declarations): When %semantic_parser, open
281 2000-12-19 Akim Demaille <akim@epita.fr>
283 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
284 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
286 2000-12-19 Akim Demaille <akim@epita.fr>
288 * src/files.c (open_files): Yipee! We no longer need all the code
289 looking for `/tmp' since we have no tmp file.
291 2000-12-19 Akim Demaille <akim@epita.fr>
293 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
295 * src/files.c (open_files): Less dependency on MSDOS etc.
297 2000-12-14 Akim Demaille <akim@epita.fr>
299 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
300 Provide a default definition.
301 Use it when executing the default @ action.
302 * src/reader.c (reader_output_yylsp): No longer include
303 `timestamp' and `text' in the default YYLTYPE.
305 2000-12-12 Akim Demaille <akim@epita.fr>
307 * src/reader.c (copy_definition, parse_union_decl, copy_action)
308 (copy_guard): Quote the file names.
309 Reported by Laurent Mascherpa.
311 2000-12-12 Akim Demaille <akim@epita.fr>
313 * src/output.c (output_headers, output_program, output): Be sure
314 to escape special characters when outputting filenames.
315 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
316 (output_headers): Don't depend on them, Use ACTSTR.
318 2000-11-17 Akim Demaille <akim@epita.fr>
320 * lib/obstack.h: Formatting changes.
321 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
322 prevents type checking.
323 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
324 cast the value to (void *): assigning a `foo *' to a `void *'
326 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
327 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
330 2000-11-17 Akim Demaille <akim@epita.fr>
332 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
334 (suite.m4, regression.m4, calc.m4): these.
335 * tests/atgeneral.m4: Update from CVS Autoconf.
337 2000-11-17 Akim Demaille <akim@epita.fr>
339 * tests/regression.m4 (%union and --defines): New test,
340 demonstrating a current bug in the obstack implementation.
342 2000-11-17 Akim Demaille <akim@epita.fr>
344 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
346 Use them to declare the variables which are global or local to
349 2000-11-17 Akim Demaille <akim@epita.fr>
351 * acconfig.h: Remove, no longer used.
353 2000-11-07 Akim Demaille <akim@epita.fr>
355 * src: s/Copyright (C)/Copyright/g.
357 2000-11-07 Akim Demaille <akim@epita.fr>
359 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
361 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
363 2000-11-07 Akim Demaille <akim@epita.fr>
365 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
366 Merge in a single CPP if/else.
368 2000-11-07 Akim Demaille <akim@epita.fr>
370 * src/output.c (output): Remove useless variables.
371 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
372 argument `data' for consistency with the prototypes.
374 (obstack_copy, obstack_copy0): Rename the second argument as
375 `address' for consistency. Qualify it `const'.
376 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
377 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
378 `const' their input argument (`data' or `address').
379 Adjust the corresponding macros to include `const' in casts.
381 2000-11-03 Akim Demaille <akim@epita.fr>
383 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
384 s/PFILE1/BISON_HAIRY/.
387 2000-11-03 Akim Demaille <akim@epita.fr>
389 For some reason, this was not applied.
391 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
392 `unlink': it's no longer used.
394 2000-11-03 Akim Demaille <akim@epita.fr>
396 * src/files.c (skeleton_find): New function, eved out of...
397 (open_files, open_extra_files): here.
399 2000-11-03 Akim Demaille <akim@epita.fr>
403 * src/files.c (obstack_save): New function.
405 (output_files): this.
407 * src/main.c (main): Don't use `atexit' to register `done', since
408 it no longer has to remove tmp files, just call `output_files'
409 when there are no errors.
411 2000-11-02 Akim Demaille <akim@epita.fr>
413 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
414 `unlink': it's no longer used.
415 * src/files.h: Formatting changes.
417 2000-11-02 Akim Demaille <akim@epita.fr>
419 Remove the last uses of mktemp and unlink/delete.
421 * src/files.c (fdefines, ftable): Removed.
422 (defines_ostack, table_obstack): New.
423 Adjust dependencies of the former into uses of the latter.
424 * src/output.c (output_short_or_char_table, output_short_table):
425 Convert to using obstacks.
426 * src/reader.c (copy_comment2): Accept one FILE * and two
428 (output_token_defines, reader_output_yylsp): Use obstacks.
429 * src/system.h (obstack_fgrow3): New.
431 2000-11-01 Akim Demaille <akim@epita.fr>
433 Change each use of `fattrs' into a use of `attrs_obstack'.
435 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
436 * src/files.c (fattrs): Remove.
437 (attrs_obstack): New.
438 Adjust all dependencies.
439 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
441 2000-11-01 Akim Demaille <akim@epita.fr>
444 Change each use of `faction' into a use of `action_obstack'.
446 * lib/obstack.h, lib/obstack.c: New files.
447 * src/files.c (faction): Remove.
448 (action_obstack): New.
449 Adjust all dependencies.
451 2000-10-20 Akim Demaille <akim@epita.fr>
453 * lib/quote.h (PARAMS): New macro. Use it.
455 2000-10-16 Akim Demaille <akim@epita.fr>
457 * src/output.c (output_short_or_char_table): New function.
458 (output_short_table, output_token_translations): Use it.
459 (goto_actions): Use output_short_table.
461 2000-10-16 Akim Demaille <akim@epita.fr>
463 * src/symtab.c (bucket_new): New function.
466 * src/output.c (output_short_table): New argument to display the
467 comment associated with the table.
469 (output_gram): Use it.
470 (output_rule_data): Nicer output layout for YYTNAME.
472 2000-10-16 Akim Demaille <akim@epita.fr>
474 * src/lex.c (read_typename): New function.
476 * src/reader.c (copy_dollar): Likewise.
478 2000-10-16 Akim Demaille <akim@epita.fr>
480 * src/reader.c (copy_comment2): Expect the input stream to be on
481 the `/' which is suspected to open a comment, instead of being
482 called after `//' or `/*' was read.
483 (copy_comment, copy_definition, parse_union_decl, copy_action)
484 (copy_guard): Adjust.
486 2000-10-16 Akim Demaille <akim@epita.fr>
488 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
489 `read_signed_integer'.
491 2000-10-16 Akim Demaille <akim@epita.fr>
493 * src/reader.c (copy_dollar): New function.
494 (copy_guard, copy_action): Use it.
496 2000-10-16 Akim Demaille <akim@epita.fr>
498 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
499 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
500 New files, from Fileutils 4.0.27.
501 * src/main.c (printable_version): Remove.
502 * src/lex.c, src/reader.c: Use `quote'.
504 2000-10-04 Akim Demaille <akim@epita.fr>
506 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
508 2000-10-04 Akim Demaille <akim@epita.fr>
510 * doc/bison.texinfo: Various typos spotted by Neil Booth.
512 2000-10-04 Akim Demaille <akim@epita.fr>
514 When a literal string is used to define two different tokens,
515 `bison -v' segfaults.
516 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
518 * tests/regression.m4: New file.
519 Include the core of the sample provided by Piotr Gackiewicz.
520 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
523 2000-10-04 Akim Demaille <akim@epita.fr>
525 * src/reader.c (parse_expect_decl): Keep `count' within the size
529 2000-10-02 Paul Eggert <eggert@twinsun.com>
531 * bison.s1 (yyparse): Assign the default value
532 unconditionally, to avoid a GCC warning and make the parser a
535 2000-10-02 Akim Demaille <akim@epita.fr>
537 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
540 2000-10-02 Akim Demaille <akim@epita.fr>
542 * src/derives.c, src/print.c, src/reduce.c: To ease the
543 translation, move some `\n' out of the translated strings.
545 2000-10-02 Akim Demaille <akim@epita.fr>
547 The location tracking mechanism is precious for parse error
548 messages. Nevertheless, it is enabled only when `@n' is used in
549 the grammar, which is a different issue (you can use it in error
550 message, but not in the grammar per se). Therefore, there should
551 be another means to enable it.
553 * src/getargs.c (getargs): Support `--locations'.
555 * src/getargs.h (locationsflag): Export it.
556 * src/lex.c (percent_table): Support `%locations'.
557 * src/reader.c (yylsp_needed): Remove this variable, now replaced
558 with `locationsflag'.
559 * doc/bison.texinfo: Document `--locations' and `%locations'.
561 * tests/calc.m4: Test it.
563 For regularity of the names, replace each
564 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
565 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
566 In addition replace each `flag' with `_flag'.
568 2000-10-02 Akim Demaille <akim@epita.fr>
570 Also test parse error messages, including with YYERROR_VERBOSE.
572 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
574 Use it to check the computations.
575 Use it to check `nonassoc' is honored.
576 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
578 (_AT_CHECK_CALC): Adjust to this option.
579 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
581 2000-10-02 Akim Demaille <akim@epita.fr>
583 Test also `--verbose', `--defines' and `--name-prefix'. Testing
584 the latter demonstrates a flaw in the handling of non debugging
585 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
586 was used in order to simplify:
602 unfortunately this leads to a CPP conflict when
603 `--name-prefix=foo' is used since it produces `#define yydebug
606 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
607 (YYDPRINTF): New macro.
609 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
611 Also test `--verbose', `--defines' and `--name-prefix'.
613 2000-10-02 Akim Demaille <akim@epita.fr>
615 Improve the readability of the produced parsers.
617 * src/bison.s1: Formatting changes.
618 Improve the comment related to the `$' mark.
619 (yydefault): Don't fall through to `yyresume': `goto' there.
620 * src/output.c (output_parser): When the `$' is met, skip the end
622 New variable, `number_of_dollar_signs', to check there's exactly
623 one `$' in the parser skeleton.
625 2000-10-02 Akim Demaille <akim@epita.fr>
627 * lib/xstrdup.c: New file, from the fileutils.
628 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
629 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
630 instead of strlen + xmalloc + strcpy.
631 * src/symtab.c (copys): Remove, use xstrdup instead.
633 2000-10-02 Akim Demaille <akim@epita.fr>
635 * src/gram.h (associativity): New enum type which replaces the
636 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
637 `right_assoc', `left_assoc' and `non_assoc'.
638 Adjust all dependencies.
639 * src/reader.c: Formatting changes.
640 (LTYPESTR): Don't define it, use it as a literal in
641 `reader_output_yylsp'.
642 * src/symtab.h (symbol_class): New enum type which replaces the
643 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
644 `sunknown', `stoken and `snterm'.
646 2000-10-02 Akim Demaille <akim@epita.fr>
648 * src/getargs.c (fixed_outfiles): Rename as...
649 (yaccflag): for consistency and accuracy.
652 2000-10-02 Akim Demaille <akim@epita.fr>
654 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
655 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
656 difficult and introduced a lot of core dump. It turns out that
657 Bison used an implementation of `xmalloc' based on `calloc', and
658 at various places it does depend upon the initialization to 0. I
659 have not tried to isolate the pertinent places, and all the former
660 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
661 someone should address this issue.
663 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
664 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
667 * src/warshall.h: New file.
670 2000-10-02 Akim Demaille <akim@epita.fr>
672 Various anti-`extern in *.c' changes.
674 * src/system.h: Include `assert.h'.
676 2000-10-02 Akim Demaille <akim@epita.fr>
678 * src/state.h (nstates, final_state, first_state, first_shift)
679 (first_reduction): Move their exportation from here...
680 * src/LR0.h: to here.
682 * src/getargs.c (statisticsflag): New variable.
683 Add support for `--statistics'.
686 Remove a lot of now useless `extern' statements in most files.
688 2000-10-02 Akim Demaille <akim@epita.fr>
690 * src/LR0.h: New file.
693 2000-10-02 Akim Demaille <akim@epita.fr>
695 * src/print.h: New file.
697 * src/print.c: Formatting and ordering changes.
698 (verbose, terse): Replace with...
699 (print_results): this new function.
702 2000-10-02 Akim Demaille <akim@epita.fr>
704 * src/conflicts.c (conflict_report): New function.
705 (conflict_log, verbose_conflict_log): Replace with...
706 (print_conflicts): this function.
708 * src/conflicts.h: New file.
709 Propagate its inclusion.
711 2000-10-02 Akim Demaille <akim@epita.fr>
713 * src/nullable.h: New file.
714 Propagate its inclusion.
715 * src/nullable.c: Formatting changes.
717 2000-10-02 Akim Demaille <akim@epita.fr>
719 * src/reduce.h: New file.
720 Propagate its inclusion.
721 * src/reduce.c: Topological sort and other formatting changes.
722 (bool, TRUE, FALSE): Move their definition to...
723 * src/system.h: here.
725 2000-10-02 Akim Demaille <akim@epita.fr>
727 * src/files.c: Formatting changes.
728 (tryopen, tryclose, openfiles): Rename as...
729 (xfopen, xfclose, open_files): this.
730 (stringappend): static.
731 * src/files.h: Complete the list of exported symbols.
734 2000-10-02 Akim Demaille <akim@epita.fr>
736 * src/reader.h: New file.
737 Propagate its use instead of tedious list of `extern' and
739 * src/reader.c: Formatting changes, topological sort,
742 2000-10-02 Akim Demaille <akim@epita.fr>
744 * src/lex.h: Prototype `lex.c' exported functions.
745 * src/reader.c: Adjust.
746 * src/lex.c: Formatting changes.
747 (safegetc): Rename as...
750 2000-10-02 Akim Demaille <akim@epita.fr>
752 * src/lalr.h: New file.
753 Propagate its inclusion instead of prototypes and `extern'.
754 * src/lalr.c: Formatting changes, topological sorting etc.
756 2000-10-02 Akim Demaille <akim@epita.fr>
758 * src/output.c (token_actions): Introduce a temporary array,
759 YYDEFACT, that makes it possible for this function to use
762 2000-10-02 Akim Demaille <akim@epita.fr>
764 `user_toknums' is output as a `short[]' in `output.c', while it is
765 defined as a `int[]' in `reader.c'. For consistency with the
766 other output tables, `user_toknums' is now defined as a table of
769 * src/reader.c (user_toknums): Be a short table instead of an int
773 Factor the short table outputs.
775 * src/output.c (output_short_table): New function.
776 * src/output.c (output_gram, output_stos, output_rule_data)
777 (output_base, output_table, output_check): Use it.
779 2000-10-02 Akim Demaille <akim@epita.fr>
781 * src/output.c (output): Topological sort of the functions, in
782 order to get rid of the `static' prototypes.
783 No longer use `register'.
784 * src/output.h: New file.
785 Propagate its inclusion in files explicitly prototyping functions
788 2000-09-21 Akim Demaille <akim@epita.fr>
790 * src/atgeneral.m4: Update from Autoconf.
792 2000-09-21 Akim Demaille <akim@epita.fr>
794 * src/closure.h: New file.
795 * src/closure.c: Formatting changes, topological sort over the
796 functions, use of closure.h.
797 (initialize_closure, finalize_closure): Rename as...
798 (new_closure, free_closure): these. Adjust dependencies.
799 * src/LR0.c: Formatting changes, topological sort, use of
801 (initialize_states): Rename as...
803 * src/Makefile.am (noinst_HEADERS): Adjust.
805 2000-09-20 Akim Demaille <akim@epita.fr>
807 * src/acconfig.h: Don't protect config.h against multiple
810 * src/system.h: Define PARAMS.
811 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
812 purpose of config.h. system.h must not try to fix wrong
813 definitions in config.h.
815 2000-09-20 Akim Demaille <akim@epita.fr>
817 * src/derives.h: New file.
818 * src/main.c, src/derives.h: Use it.
820 * src/Makefile.am (noinst_HEADERS): Adjust.
822 2000-09-20 Akim Demaille <akim@epita.fr>
824 * tests/atgeneral.m4: Update from Autoconf.
825 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
826 (AT_CHECK_CALC): New macros.
827 Use these macros to test bison with options `', `--raw',
828 `--debug', `--yacc', `--yacc --debug'.
830 2000-09-19 Akim Demaille <akim@epita.fr>
832 * src/output.c: Formatting changes.
833 * src/machine.h: Remove, leaving its contents in...
834 * src/system.h: here.
836 Adjust all dependencies on stdio.h and machine.h.
837 * src/getargs.h: New file.
838 Let all `extern' declarations about getargs.c be replaced with
839 inclusion of `getargs.h'.
840 * src/Makefile.am (noinst_HEADERS): Adjust.
842 * tests/calc.m4 (yyin): Be initialized in main, not on the global
844 (yyerror): Returns void, not int.
845 * doc/bison.texinfo: Formatting changes.
847 2000-09-19 Akim Demaille <akim@epita.fr>
849 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
852 2000-09-18 Akim Demaille <akim@epita.fr>
854 * configure.in: Append WARNING_CFLAGS to CFLAGS.
855 * src/Makefile.am (INCLUDES): Don't.
856 Be ready to fetch headers in lib/.
858 2000-09-18 Akim Demaille <akim@epita.fr>
860 * doc/bison.texinfo: Update the copyright.
861 ANSIfy and GNUify the examples.
864 2000-09-18 Akim Demaille <akim@epita.fr>
866 First set of tests: use the `calc' example from the documentation.
868 * src/bison.s1 (yyparse): Condition the code using `yytname' which
869 is defined only when YYDEBUG is.
870 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
871 * src/files.c (tryopen, tryclose): Formatting changes.
872 Move to the top and be static.
873 * src/reader.c (read_signed_integer): Likewise.
874 * tests/calc.m4: New file.
875 * Makefile.am, suite.m4: Adjust.
876 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
878 2000-09-18 Akim Demaille <akim@epita.fr>
880 Add support for an Autotest test suite for Bison.
882 * m4/m4.m4, m4/atconfig.m4: New files.
883 * m4/Makefile.am (EXTRA_DIST): Adjust.
884 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
886 * src/getargs.c: Display a more standard --version message.
887 * src/reader.c (reader): Formatting changes.
888 No longer depend upon VERSION_STRING.
889 * configure.in: No longer use `dnl'.
890 Set up the test suite and the new directory `tests/.
891 (VERSION_STRING): Remove.
893 2000-04-14 Akim Demaille <akim@epita.fr>
895 * src/reader.c (copy_comment2): New function, same as former
896 `copy_comment', but outputs into two FILE *.
897 (copy_comment): Use it.
898 (parse_union_decl): Use it.
899 (get_type, parse_start_decl): Use the same `invalid' message.
900 (parse_start_decl, parse_union_decl): Use the same `multiple'
902 (parse_union_decl, copy_guard, copy_action): Use the same
904 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
906 2000-03-31 Akim Demaille <akim@epita.fr>
908 * src/files.c (tryopen, tryclose): Move to the top.
911 2000-03-31 Akim Demaille <akim@epita.fr>
913 * src/main.c (main): Don't call `done', exit does it.
915 2000-03-31 Akim Demaille <akim@epita.fr>
917 * allocate.c: s/return (foo)/return foo/.
920 * output.c: Likewise.
921 * reader.c: Likewise.
922 * symtab.c: Likewise.
923 * vmsgetargs.c: Likewise.
925 2000-03-31 Akim Demaille <akim@epita.fr>
927 Clean up the error reporting functions.
929 * src/report.c: New file.
930 * src/report.h: Likewise.
931 * src/Makefile.am: Adjust.
932 * m4/error.m4: New file.
933 * m4/Makefile.am: Adjust.
934 * configure.in (jm_PREREQ_ERROR): Call it.
935 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
937 (fatal, fatals): Remove. All callers use complain.c::fatal.
938 (warn, warni, warns, warnss, warnss): Remove. All callers use
939 complain.c::complain.
940 (toomany): Remove, use fatal instead.
941 * src/files.c (done): No argument, use complain_message_count.
942 * src/main.c (main): Register `done' to `atexit'.
944 * src/getargs.c (usage): More `fputs', less `fprintf'.
946 2000-03-28 Akim Demaille <akim@epita.fr>
948 * lib/: New directory.
949 * Makefile.am (SUBDIRS): Adjust.
950 * configure.in: Adjust.
951 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
953 * src/alloca.c: Moved to lib/.
954 * src/getopt.c: Likewise.
955 * src/getopt1.c: Likewise.
956 * src/getopt.h: Likewise.
957 * src/ansi2knr.c: Likewise.
958 * src/ansi2knr.1: Likewise.
959 * src/Makefile.am: Adjust.
960 * lib/Makefile.am: New file.
962 2000-03-28 Akim Demaille <akim@epita.fr>
964 * src/getargs.c (usage): Refresh the help message.
966 2000-03-17 Akim Demaille <akim@epita.fr>
968 * src/getopt1.c: Updated from textutils 2.0e
969 * src/getopt.c: Likewise.
970 * src/getopt.h: Likewise.
972 2000-03-17 Akim Demaille <akim@epita.fr>
974 * src/Makefile.am (bison.simple): Fix the awk program: quote only
975 the file name, not the whole `#line LINE FILE'.
977 2000-03-17 Akim Demaille <akim@epita.fr>
979 On syntax errors, report the token on which we choked.
981 * src/bison.s1 (yyparse): In the label yyerrlab, when
982 YYERROR_VERBOSE, add yychar in msg.
984 2000-03-17 Akim Demaille <akim@epita.fr>
986 * src/reader.c (copy_at): New function.
987 (copy_guard): Use it.
988 (copy_action): Use it.
990 2000-03-17 Akim Demaille <akim@epita.fr>
992 Be kind to translators, save some useless translations.
994 * src/main.c (banner): New function.
995 (fatal_banner): Use it.
996 (warn_banner): Use it.
998 2000-03-17 Akim Demaille <akim@epita.fr>
1000 * src/reader.c (copy_definition): Use copy_string and
1001 copy_comment. Removed now unused `match', `ended',
1003 (copy_comment, copy_string): Moved, to be visible from
1006 2000-03-17 Akim Demaille <akim@epita.fr>
1008 * src/reader.c (copy_string): Declare `static inline'. No
1009 problems with inline, since it is checked by configure.
1010 (copy_comment): Likewise.
1012 2000-03-17 Akim Demaille <akim@epita.fr>
1014 * src/reader.c (packsymbols): Formatting changes.
1016 2000-03-17 Akim Demaille <akim@epita.fr>
1018 * src/reader.c (copy_comment): New function, factored out from:
1019 (copy_action): Use it. Removed now unused `match', `ended',
1021 (copy_guard): Likewise.
1023 2000-03-17 Akim Demaille <akim@epita.fr>
1025 * src/reader.c (copy_string): New function, factored out from:
1026 (copy_action): Use it.
1027 (copy_guard): Likewise.
1029 2000-03-17 Akim Demaille <akim@epita.fr>
1031 Change the handling of @s so that they behave exactly like $s.
1032 There is now a pseudo variable @$ (readble and writable), location
1033 of the lhs of the rule (by default ranging from the location of
1034 the first symbol of the rhs, to the location of the last symbol,
1035 or, if the rhs is empty, YYLLOC).
1037 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1039 (yyparse): When providing a default semantic action, provide a
1040 default location action.
1041 (after the $): No longer change `*YYLSP', just stack YYLOC the
1042 same way you stack YYVAL.
1043 * src/reader.c (read_declarations): Use warns.
1044 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1045 (copy_action, case '@'): Likewise.
1046 Use a standard error message, to save useless work from
1049 2000-03-17 Akim Demaille <akim@epita.fr>
1051 * src/bison.s1: Formatting and cosmetics changes.
1052 * src/reader.c: Likewise.
1053 Update the Copyright notice.
1055 2000-03-17 Akim Demaille <akim@epita.fr>
1057 * src/bison.s1 (#line): All set to `#line' only, since the
1058 Makefile now handles them.
1060 2000-03-16 Akim Demaille <akim@epita.fr>
1062 * src/output.c (output_rule_data): Output the documentation of
1064 (Copyright notice): Update.
1067 2000-03-16 Akim Demaille <akim@epita.fr>
1069 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1070 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1071 One `#if YYDEBUG' remains, since it uses variables which are
1072 defined only if `YYDEBUG != 0'.
1074 2000-03-16 Akim Demaille <akim@epita.fr>
1076 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1077 and related variables so that the similarities are highlighted.
1079 2000-03-16 Akim Demaille <akim@epita.fr>
1081 * src/bison.s1: Properly indent CPP directives.
1083 2000-03-16 Akim Demaille <akim@epita.fr>
1085 * src/bison.s1: Properly indent the `alloca' CPP section.
1087 2000-03-16 Akim Demaille <akim@epita.fr>
1089 Do not hard code values of directories in `configure.in'.
1090 Update the `configure' tool chain.
1092 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1094 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1095 (AC_OUTPUT): Add m4/Makefile.
1096 Bump to bison 1.28a, 1.29 has never been released.
1097 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1098 handled via src/Makefile.am.
1099 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1100 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1102 * Makefile.am (SUBDIRS): Add m4.
1103 (ACLOCAL_AM_FLAGS): New variable.
1104 (AUTOMAKE_OPTIONS): Add check-news.
1105 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1106 the proper line number and file name.
1107 (DEFS): Propagate the location of bison library files and of the
1109 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1111 * acinclude.m4: Remove, replaced by the directory m4.
1112 * m4/Makefile.am (EXTRA_DIST): New variable.
1113 * m4/gettext.m4: New file, from the fileutils.
1114 * m4/lcmessage.m4: Likewise
1115 * m4/progtest.m4: Likewise.
1116 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1118 2000-03-10 Akim Demaille <akim@epita.fr>
1121 Formatting changes of various comments.
1122 Respect the GNU coding standards at various places.
1123 Don't use `_()' when no translation is needed.
1125 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1128 OS/2 honors TMPDIR environment variable.
1130 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1132 * doc/bison.texinfo: Tweaked spelling and grammar.
1134 Removed reference to price of printed copy.
1135 Mention BISON_SIMPLE and BISON_HAIRY.
1137 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1139 * configure.in, NEWS:
1140 Bison 1.29 released.
1142 1999-10-27 Jesse Thilo <jthilo@gnu.org>
1144 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1145 Added reference card.
1147 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1149 * po/ru.po: Added Russian translation.
1151 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1153 * configure.in: Added Russian translation.
1155 1999-07-06 Jesse Thilo <jthilo@gnu.org>
1157 * configure.in, NEWS, README:
1158 Released version 1.28.
1160 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1163 Squashed redefinition warning on some systems.
1165 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1166 Have configure build version string instead of relying on ANSI string
1169 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1171 * po/POTFILES.in: Got rid of version.c.
1173 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1175 * acconfig.h, configure.in:
1176 Have configure build version string instead of relying on ANSI string
1179 1999-06-08 Jesse Thilo <jthilo@gnu.org>
1182 Dropped mention of `+' for long-named options.
1184 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1186 * src/files.c: Added <unistd.h> for unlink().
1188 * src/Makefile.am, src/system.h:
1191 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1193 * README: Added a FAQ list.
1195 * configure.in, acconfig.h:
1198 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1200 * doc/FAQ, doc/Makefile.am:
1203 1999-05-19 Jesse Thilo <jthilo@gnu.org>
1205 * src/alloc.h, src/symtab.h, src/version.c:
1206 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1208 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1210 * src/.cvsignore, src/Makefile.am:
1211 Reorganized: sources in `src', documentation in `doc'.
1213 * src/lex.c (literalchar):
1214 fixed the code for escaping double quotes (thanks
1217 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1219 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1220 Adjusted paths to reflect directory reorganization.
1222 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1224 * doc/.cvsignore, doc/Makefile.am:
1225 Reorganized: sources in `src', documentation in `doc'.
1227 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1230 Updated AC_INIT file to reflect directory reorganization.
1232 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1233 Reorganized: sources in `src', documentation in `doc'.
1235 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1238 Don't declare calloc() and realloc() if not necessary.
1240 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1242 * configure.in, acconfig.h, acinclude.m4:
1243 Don't declare calloc() and realloc() if not necessary.
1245 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1247 * po/.cvsignore: Added i18n support.
1249 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1251 * acconfig.h, configure.in, Makefile.am:
1254 1999-03-22 Jesse Thilo <jthilo@gnu.org>
1256 * src/bison.s1: Fixed #line numbers.
1258 1999-03-15 Jesse Thilo <jthilo@gnu.org>
1260 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1261 Added PO files from Translation Project.
1263 1999-03-03 Jesse Thilo <jthilo@gnu.org>
1266 Added support for non-ANSI compilers (ansi2knr).
1268 1999-02-16 Jesse Thilo <jthilo@gnu.org>
1270 * configure.in: Bumped version number to 1.27.
1273 Added `bison.simple' to list of files removed by `make distclean'.
1275 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1277 * src/files.c, src/files.h:
1278 Defined locations of parser files in config.h instead of Makefile.
1280 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1282 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1283 Defined locations of parser files in config.h instead of Makefile.
1285 1999-02-09 Jesse Thilo <jthilo@gnu.org>
1288 Removed inappropriate use of $< macro.
1290 1999-02-05 Jesse Thilo <jthilo@gnu.org>
1292 * po/Makefile.in.in, po/POTFILES.in:
1293 Add `po' directory skeleton.
1295 1999-01-27 Jesse Thilo <jthilo@gnu.org>
1297 * README: Document help-bison list.
1299 * configure.in: Add check for mkstemp().
1301 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1303 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1304 Hush a few compiler warnings.
1307 Add tryclose(), which verifies that fclose was successful.
1308 Hush a couple of compiler warnings.
1310 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1312 * Makefile.am, OChangeLog:
1313 ChangeLog is now automatically generated. Include the old version as
1316 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1318 * 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:
1321 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1323 * doc/bison.texinfo: Fix formatting glitch.
1325 * doc/bison.texinfo: Update FSF address.
1327 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1329 * acconfig.h: Update FSF address.
1331 1999-01-08 Jesse Thilo <jthilo@gnu.org>
1334 Don't define PACKAGE here, since config.h defines it.
1336 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1338 * src/reader.c: Update copyright date.
1341 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1342 favor of output directly to stderr (avoids buffer overruns).
1344 * src/reader.c: Some checks for premature EOF.
1346 * 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:
1347 Use prototypes if the compiler understands them.
1349 * src/files.c: Honor TMPDIR on Unix hosts.
1350 Use prototypes if the compiler understands them.
1353 Fix a couple of buffer overrun bugs.
1354 Use prototypes if the compiler understands them.
1356 * src/system.h: Include unistd.h and ctype.h.
1357 Use #ifdef instead of #if for NLS symbols.
1359 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1361 * doc/bison.texinfo:
1362 Delete comment "consider using @set for edition number, etc..." since
1363 we now are doing so.
1365 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1368 Use prototypes if the compiler understands them.
1370 * NEWS: Document 1.26 highlights.
1372 * Makefile.am: Require Automake 1.3 or later.
1375 Use prototypes if the compiler understands them.
1377 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1380 Use VERSION symbol from automake for version number.
1382 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1384 * acconfig.h, configure.in, version.cin:
1385 Use VERSION symbol from automake for version number.
1387 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1390 Distribute original version of simple parser (bison.s1), not built
1391 version (bison.simple).
1393 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1395 * doc/bison.texinfo: Add info dir entry.
1397 * doc/bison.texinfo:
1398 Let automake put version number into documentation.
1400 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1402 * src/bison.cld, src/build.com, src/vmshlp.mar:
1403 Add non-RCS files from /gd/gnu/bison.
1405 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1408 Document the BISON_HAIRY and BISON_SIMPLE variables.
1410 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1412 * src/version.c: Build version.c automatically.
1415 Fix token numbering (used to start at 258, not 257).
1417 * src/system.h: Include config.h.
1419 * src/getargs.c: Update bug report address.
1421 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1422 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1424 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1427 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1429 * configure.in, version.cin:
1430 Build version.c automatically.
1432 * AUTHORS: Add AUTHORS file.
1434 * README: Update bug report address.
1437 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1439 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1442 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1444 * doc/bison.texinfo: Clean up some formatting.
1446 1998-05-05 Richard Stallman <rms@gnu.org>
1448 * doc/bison.texinfo:
1449 Explain better why to make a pure parser.
1451 1998-01-05 Richard Stallman <rms@gnu.org>
1453 * src/files.c (openfiles):
1454 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1455 find a temporary directory, if possible. Do not unlink files while
1458 1997-08-25 Richard Stallman <rms@gnu.org>
1460 * src/reader.c (stack_offset;):
1461 Change some warni to warns.
1463 * src/lex.c (literalchar): Use warns, not warni.
1465 1997-06-28 Richard Stallman <rms@gnu.org>
1467 * src/bison.s1: Add a Bison version comment.
1469 * src/main.c (fatal, warn, berror):
1472 1997-06-28 Richard Stallman <rms@gnu.org>
1474 * Makefile.in (bison_version): New variable.
1475 (dist): Use that variable.
1476 (bison.s1): Substitute the Bison version into bison.simple.
1478 * bison.simple: Add a Bison version comment.
1480 1997-06-18 Richard Stallman <rms@gnu.org>
1482 * src/main.c (fatal, warn, berror):
1483 Make error messages standard.
1484 (toomany): Improve error message text.
1486 * 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:
1487 new.h renamed to alloc.h.
1489 1997-06-18 Richard Stallman <rms@gnu.org>
1491 * Makefile.in: new.h renamed to alloc.h.
1493 1997-05-24 Richard Stallman <rms@gnu.org>
1495 * src/lex.c (literalchar):
1496 Fix the code for escaping \, " and '.
1498 (lex): Avoid trouble when there are many chars
1499 to discard in a char literal with just several chars in it.
1501 1997-05-17 Richard Stallman <rms@gnu.org>
1504 Use malloc, if using alloca is troublesome.
1505 (YYSTACK_USE_ALLOCA): New flag macro.
1506 Define it for some systems and compilers.
1507 (YYSTACK_ALLOC): New macro.
1508 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1509 If it was malloc'd, free it.
1511 1997-05-17 Richard Stallman <rms@gnu.org>
1514 Use malloc, if using alloca is troublesome.
1515 (YYSTACK_USE_ALLOCA): New flag macro.
1516 Define it for some systems and compilers.
1517 (YYSTACK_ALLOC): New macro.
1518 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1519 If it was malloc'd, free it.
1521 1997-04-23 Richard Stallman <rms@gnu.org>
1524 (alloca) [__hpux]: Always define as __builtin_alloca.
1526 1997-04-23 Richard Stallman <rms@gnu.org>
1529 (alloca) [__hpux]: Always define as __builtin_alloca.
1531 1997-04-22 Richard Stallman <rms@gnu.org>
1534 [__hpux]: Include alloca.h (right for HPUX 10)
1535 instead of declaring alloca (right for HPUX 9).
1537 * src/bison.s1 (__yy_memcpy):
1538 Declare arg `count' as unsigned int.
1539 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1541 1997-04-22 Richard Stallman <rms@gnu.org>
1544 [__hpux]: Include alloca.h (right for HPUX 10)
1545 instead of declaring alloca (right for HPUX 9).
1547 * bison.simple (__yy_memcpy):
1548 Declare arg `count' as unsigned int.
1549 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1551 1997-01-03 Richard Stallman <rms@gnu.org>
1553 * src/allocate.c: [__STDC__ or _MSC_VER]:
1554 Declare calloc and realloc to return void *.
1556 1997-01-02 Richard Stallman <rms@gnu.org>
1559 [_MSC_VER]: Include stdlib.h and process.h.
1560 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1562 * src/main.c (main): Return FAILURE as a value.
1563 (printable_version): Declare arg as int, not char.
1565 1997-01-02 Richard Stallman <rms@gnu.org>
1567 * Makefile.in (dist):
1568 Explicitly check for symlinks, and copy them.
1570 1996-12-19 Richard Stallman <rms@gnu.org>
1573 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1575 1996-12-18 Paul Eggert <eggert@gnu.org>
1577 * src/bison.s1 (yyparse):
1578 If __GNUC__ and YYPARSE_PARAM are both defined,
1579 declare yyparse to have a void * argument.
1581 1996-12-18 Paul Eggert <eggert@gnu.org>
1583 * bison.simple (yyparse):
1584 If __GNUC__ and YYPARSE_PARAM are both defined,
1585 declare yyparse to have a void * argument.
1587 1996-12-17 Richard Stallman <rms@gnu.org>
1589 * src/reduce.c (nbits): Add some casts.
1591 1996-08-12 Richard Stallman <rms@gnu.org>
1593 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1595 1996-08-12 Richard Stallman <rms@gnu.org>
1597 * bison.simple: Test _MSDOS as well as _MSDOS_.
1599 1996-07-31 Richard Stallman <rms@gnu.org>
1602 [__sun && __i386]: Include alloca.h.
1604 1996-07-31 Richard Stallman <rms@gnu.org>
1607 [__sun && __i386]: Include alloca.h.
1609 1996-07-30 Richard Stallman <rms@gnu.org>
1611 * src/bison.s1: Comment change.
1613 * src/bison.s1: Test _MSDOS_, not MSDOS.
1615 1996-07-30 Richard Stallman <rms@gnu.org>
1617 * bison.simple: Comment change.
1619 * bison.simple: Test _MSDOS_, not MSDOS.
1621 1996-06-01 Richard Stallman <rms@gnu.org>
1623 * 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:
1624 Insert `_' macro around many string constants.
1627 Insert `_' macro around many string constants.
1629 (main): Call setlocale, bindtextdomain and textdomain.
1631 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1632 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1633 [ENABLE_NLS]: Include libintl.h.
1634 [ENABLE_NLS] (gettext): Define.
1635 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1636 (N_, PACKAGE, LOCALEDIR): New macros.
1638 1996-06-01 Richard Stallman <rms@gnu.org>
1640 * POTFILES.in: New file.
1642 * Makefile.in (allocate.o):
1643 Define target explicitly.
1645 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1646 (LDFLAGS): Set to @LDFLAGS@.
1647 (configure): Run autoconf only if preceding `cd' succeeds.
1648 (bison.s1): Redirect output to temporary file then move the
1649 temporary to the target, rather than redirecting directly to bison.s1.
1650 (clean): Remove config.status and config.log.
1651 (distclean): Don't remove config.status here.
1653 1996-05-12 Richard Stallman <rms@gnu.org>
1656 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1658 1996-05-12 Richard Stallman <rms@gnu.org>
1661 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1663 1996-05-11 Richard Stallman <rms@gnu.org>
1665 * src/bison.s1 (__yy_memcpy):
1666 Really reorder the args, as was supposedly done on Feb 14 1995.
1667 (yyparse): Calls changed accordingly.
1669 1996-05-11 Richard Stallman <rms@gnu.org>
1671 * Makefile.in (dist): Don't use $(srcdir).
1673 * bison.simple (__yy_memcpy):
1674 Really reorder the args, as was supposedly done on Feb 14 1995.
1675 (yyparse): Calls changed accordingly.
1677 1996-01-27 Richard Stallman <rms@gnu.org>
1679 * src/output.c (output_rule_data):
1680 Test YYERROR_VERBOSE in the conditional
1681 around the definition of ttyname.
1683 1995-12-29 Richard Stallman <rms@gnu.org>
1686 Fix line numbers in #line commands.
1688 1995-12-29 Richard Stallman <rms@gnu.org>
1691 Fix line numbers in #line commands.
1693 1995-12-27 Richard Stallman <rms@gnu.org>
1695 * src/bison.s1 (YYPARSE_PARAM_DECL):
1696 In C++, make it always null.
1697 (YYPARSE_PARAM_ARG): New macro.
1698 (yyparse): Use YYPARSE_PARAM_ARG.
1700 1995-12-27 Richard Stallman <rms@gnu.org>
1702 * bison.simple (YYPARSE_PARAM_DECL):
1703 In C++, make it always null.
1704 (YYPARSE_PARAM_ARG): New macro.
1705 (yyparse): Use YYPARSE_PARAM_ARG.
1707 1995-11-29 Richard Stallman <rms@gnu.org>
1709 * doc/bison.texinfo:
1710 Describe literal string tokens, %raw, %no_lines, %token_table.
1712 1995-11-29 Daniel Hagerty <hag@gnu.org>
1714 * doc/bison.texinfo: Fixed update date
1716 1995-10-16 Richard Stallman <rms@gnu.org>
1718 * src/version.c: Version 1.25.
1720 1995-10-16 Richard Stallman <rms@gnu.org>
1722 * NEWS: *** empty log message ***
1724 1995-10-16 Richard Stallman <rms@gnu.org>
1726 * doc/bison.1, doc/bison.rnh:
1729 1995-10-15 Richard Stallman <rms@gnu.org>
1731 * src/vmsgetargs.c, src/getargs.c:
1732 Added -n, -k, and -raw switches.
1733 (noparserflag, toknumflag, rawtoknumflag): New variables.
1735 * src/symtab.h (SALIAS):
1736 New #define for adding aliases to %token.
1737 (struct bucket): Added `alias' field.
1739 * src/reduce.c (reduce_grammar):
1740 Revise error message.
1741 (print_notices): Remove final `.' from error message.
1743 * src/reader.c (reader_output_yylsp):
1745 (readgram): Use `#if 0' around code that accepted %command
1746 inside grammar rules: The documentation doesn't allow it,
1747 and it will fail since the %command processors scan for the next %.
1748 (parse_token_decl): Extended the %token
1749 declaration to allow a multi-character symbol as an alias.
1750 (parse_thong_decl): New function.
1751 (read_declarations): Added %thong declarations.
1752 (read_declarations): Handle NOOP to deal with allowing
1753 % declarations as another means to specify the flags.
1754 (readgram): Allow %prec prior to semantics embedded in a rule.
1755 (skip_to_char, read_declarations, copy_definition)
1756 (parse_token_decl, parse_start_decl, parse_type_decl)
1757 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1758 (get_type_name, copy_guard, copy_action, readgram)
1759 (get_type, packsymbols): Revised most error messages.
1760 Changed `fatal' to `warnxxx' to avoid aborting for error.
1761 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1762 (read_declarations): Improve the error message for
1763 an invalid character. Do not abort.
1764 (read_declarations, copy_guard, copy_action): Use
1765 printable_version to avoid unprintable characters in printed output.
1766 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1767 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1768 Allow the type of a non-terminal can be given
1769 more than once, as long as all specifications give the same type.
1772 (output_headers, output_trailers, output, output_gram)
1773 (output_rule_data): Implement noparserflag variable.
1774 Implement toknumflag variable.
1775 (output): Call reader_output_yylsp to output LTYPESTR.
1777 * src/main.c (main):
1778 If reader sees an error, don't process the grammar.
1779 (fatals): Updated to not use VARARGS1.
1780 (printable_version, int_to_string, warn, warni, warns, warnss)
1781 (warnsss): New error reporting functions. Avoid abort for error.
1784 Added THONG and NOOP for alias processing.
1785 Added SETOPT for the new code that allows setting options with %flags.
1788 Include getopt.h. Add some extern decls.
1789 (safegetc): New function to deal with EOF gracefully.
1790 (literalchar); new function to deal with reading \ escapes.
1791 (lex): Use literalchar.
1792 (lex): Implemented "..." tokens.
1793 (literalchar, lex, parse_percent_token): Made tokenbuffer
1794 always contain the token. This includes growing the token
1795 buffer while reading an integer.
1796 (parse_percent_token): Replaced if-else statement with percent_table.
1797 (parse_percent_token): Added % declarations as another
1798 way to specify the flags -n, -l, and -r. Also added hooks for
1799 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1800 major changes to files.c.
1801 (lex) Retain in the incoming stream a character following
1803 (skip_white_space, lex): Revised most error messages
1804 and changed fatal to warn to avoid aborting.
1805 (percent_table): Added %thong declarations.
1807 * src/gram.h: Comment changes.
1809 * src/files.c (openfiles, open_extra_files, done):
1811 and actfile file. Handle noparserflag. Both for -n switch.
1813 * src/conflicts.c (resolve_sr_conflict):
1814 Remove use of alloca.
1816 1995-06-01 Jim Meyering <meyering@gnu.org>
1818 * doc/bison.texinfo: *** empty log message ***
1820 1995-05-06 Richard Stallman <rms@gnu.org>
1822 * src/bison.s1: Comment change.
1824 1995-05-06 Richard Stallman <rms@gnu.org>
1826 * bison.simple: Comment change.
1828 1995-05-03 Richard Stallman <rms@gnu.org>
1830 * src/version.c: Version now 1.24.
1832 * src/bison.s1: Change distribution terms.
1834 * src/version.c: Version now 1.23.
1836 1995-05-03 Richard Stallman <rms@gnu.org>
1838 * doc/bison.texinfo:
1839 Rewrite "Conditions for Using Bison".
1840 Update version to 1.24.
1842 1995-05-03 Richard Stallman <rms@gnu.org>
1844 * bison.simple: Change distribution terms.
1846 1995-02-23 Richard Stallman <rms@gnu.org>
1848 * src/files.c: Test __VMS_POSIX as well as VMS.
1850 1995-02-14 Jim Meyering <meyering@gnu.org>
1852 * src/bison.s1 (__yy_memcpy):
1853 Renamed from __yy_bcopy to avoid
1854 confusion. Reverse FROM and TO arguments to be consistent with
1857 1995-02-14 Jim Meyering <meyering@gnu.org>
1859 * bison.simple (__yy_memcpy):
1860 Renamed from __yy_bcopy to avoid
1861 confusion. Reverse FROM and TO arguments to be consistent with
1864 1994-11-10 David J. MacKenzie <djm@gnu.org>
1870 * Makefile.in (DISTFILES): Include NEWS.
1872 * Makefile.in (DISTFILES):
1873 Include install-sh, not install.sh.
1875 * configure.in: Update to Autoconf v2 macro names.
1877 1994-10-05 David J. MacKenzie <djm@gnu.org>
1879 * Makefile.in: fix typo
1881 * Makefile.in (prefix, exec_prefix):
1882 Let configure set them.
1884 1994-09-28 David J. MacKenzie <djm@gnu.org>
1886 * Makefile.in: Set datadir to $(prefix)/share.
1888 1994-09-15 Richard Stallman <rms@gnu.org>
1891 Update copyright notice and GPL version.
1893 1994-09-15 Richard Stallman <rms@gnu.org>
1896 Update copyright notice and GPL version.
1898 1994-07-12 Richard Stallman <rms@gnu.org>
1900 * src/reduce.c, src/reader.c:
1903 1994-05-05 David J. MacKenzie <djm@gnu.org>
1905 * Makefile.in: entered into RCS
1907 1994-03-26 Richard Stallman <rms@gnu.org>
1909 * src/bison.s1: entered into RCS
1911 1994-03-26 Richard Stallman <rms@gnu.org>
1913 * bison.simple: entered into RCS
1915 1994-03-25 Richard Stallman <rms@gnu.org>
1917 * src/main.c: entered into RCS
1919 1994-03-24 Richard Stallman <rms@gnu.org>
1921 * src/conflicts.c: entered into RCS
1923 1994-01-02 Richard Stallman <rms@gnu.org>
1925 * Makefile.in: *** empty log message ***
1927 1993-11-21 Richard Stallman <rms@gnu.org>
1929 * src/bison.s1: *** empty log message ***
1931 1993-11-21 Richard Stallman <rms@gnu.org>
1933 * doc/bison.texinfo: entered into RCS
1935 * doc/bison.texinfo: *** empty log message ***
1937 1993-11-21 Richard Stallman <rms@gnu.org>
1939 * bison.simple: *** empty log message ***
1941 1993-10-25 David J. MacKenzie <djm@gnu.org>
1943 * doc/bison.texinfo: *** empty log message ***
1945 1993-10-19 Richard Stallman <rms@gnu.org>
1947 * src/bison.s1: *** empty log message ***
1949 1993-10-19 Richard Stallman <rms@gnu.org>
1951 * bison.simple: *** empty log message ***
1953 1993-10-14 Richard Stallman <rms@gnu.org>
1955 * src/bison.s1: *** empty log message ***
1957 1993-10-14 Richard Stallman <rms@gnu.org>
1959 * bison.simple: *** empty log message ***
1961 1993-09-14 David J. MacKenzie <djm@gnu.org>
1963 * doc/bison.texinfo: *** empty log message ***
1965 1993-09-13 Noah Friedman <friedman@gnu.org>
1967 * Makefile.in: *** empty log message ***
1969 1993-09-10 Richard Stallman <rms@gnu.org>
1971 * src/conflicts.c: *** empty log message ***
1973 * src/system.h: entered into RCS
1975 1993-09-10 Richard Stallman <rms@gnu.org>
1977 * doc/bison.1: entered into RCS
1979 1993-09-06 Noah Friedman <friedman@gnu.org>
1981 * src/version.c: entered into RCS
1983 1993-09-06 Noah Friedman <friedman@gnu.org>
1985 * Makefile.in: *** empty log message ***
1987 1993-07-30 David J. MacKenzie <djm@gnu.org>
1989 * Makefile.in: *** empty log message ***
1991 1993-07-24 Richard Stallman <rms@gnu.org>
1993 * src/bison.s1: *** empty log message ***
1995 1993-07-24 Richard Stallman <rms@gnu.org>
1997 * bison.simple: *** empty log message ***
1999 1993-07-08 David J. MacKenzie <djm@gnu.org>
2001 * Makefile.in: *** empty log message ***
2003 1993-07-04 Richard Stallman <rms@gnu.org>
2005 * src/bison.s1: *** empty log message ***
2007 1993-07-04 Richard Stallman <rms@gnu.org>
2009 * bison.simple: *** empty log message ***
2011 1993-06-26 David J. MacKenzie <djm@gnu.org>
2013 * src/getargs.c: entered into RCS
2015 1993-06-26 David J. MacKenzie <djm@gnu.org>
2017 * doc/bison.texinfo: *** empty log message ***
2019 * doc/bison.1: New file.
2021 1993-06-25 Richard Stallman <rms@gnu.org>
2023 * src/getargs.c: New file.
2025 1993-06-16 Richard Stallman <rms@gnu.org>
2027 * src/bison.s1: *** empty log message ***
2029 1993-06-16 Richard Stallman <rms@gnu.org>
2031 * bison.simple: *** empty log message ***
2033 1993-06-03 Richard Stallman <rms@gnu.org>
2035 * src/bison.s1: New file.
2037 1993-06-03 Richard Stallman <rms@gnu.org>
2039 * doc/bison.texinfo: *** empty log message ***
2041 1993-06-03 Richard Stallman <rms@gnu.org>
2043 * bison.simple: New file.
2045 1993-05-19 Richard Stallman <rms@gnu.org>
2047 * doc/bison.texinfo: New file.
2049 1993-05-07 Noah Friedman <friedman@gnu.org>
2051 * Makefile.in: *** empty log message ***
2053 1993-04-28 Noah Friedman <friedman@gnu.org>
2055 * src/reader.c: *** empty log message ***
2057 1993-04-23 Noah Friedman <friedman@gnu.org>
2059 * src/alloc.h: entered into RCS
2061 1993-04-20 David J. MacKenzie <djm@gnu.org>
2063 * src/version.c: *** empty log message ***
2065 * src/files.c, src/allocate.c:
2068 * src/reader.c: *** empty log message ***
2070 * src/lex.c: entered into RCS
2072 * src/conflicts.c: New file.
2074 * src/symtab.c: entered into RCS
2076 * src/alloc.h: New file.
2078 * src/LR0.c: entered into RCS
2080 1993-04-18 Noah Friedman <friedman@gnu.org>
2082 * src/reader.c: New file.
2084 * src/version.c: *** empty log message ***
2086 1993-04-18 Noah Friedman <friedman@gnu.org>
2088 * Makefile.in: *** empty log message ***
2090 1993-04-17 Noah Friedman <friedman@gnu.org>
2092 * Makefile.in: *** empty log message ***
2094 1993-04-15 Richard Stallman <rms@gnu.org>
2096 * src/main.c, src/files.c:
2099 1993-04-15 Noah Friedman <friedman@gnu.org>
2101 * configure.in: entered into RCS
2103 * configure.in: *** empty log message ***
2105 * configure.in: New file.
2107 1993-04-14 Richard Stallman <rms@gnu.org>
2109 * Makefile.in: New file.
2111 1993-04-13 Richard Stallman <rms@gnu.org>
2113 * src/version.c: New file.
2115 1993-03-25 Richard Stallman <rms@gnu.org>
2117 * src/output.c: entered into RCS
2119 1992-09-25 Richard Stallman <rms@gnu.org>
2121 * configure.bat: entered into RCS
2123 1992-06-22 Richard Stallman <rms@gnu.org>
2125 * src/vmsgetargs.c: entered into RCS
2127 1992-06-22 Richard Stallman <rms@gnu.org>
2129 * doc/bison.rnh: entered into RCS
2131 1992-04-20 David J. MacKenzie <djm@gnu.org>
2133 * README: entered into RCS
2135 1992-01-22 Richard Stallman <rms@gnu.org>
2137 * src/machine.h: entered into RCS
2139 1991-12-21 Richard Stallman <rms@gnu.org>
2141 * src/lalr.c, src/closure.c:
2144 1991-12-20 Richard Stallman <rms@gnu.org>
2146 * src/state.h: entered into RCS
2148 1991-12-18 Richard Stallman <rms@gnu.org>
2150 * src/print.c, src/nullable.c, src/derives.c:
2153 1991-11-03 David J. MacKenzie <djm@gnu.org>
2155 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2158 1988-09-09 Richard Stallman <rms@gnu.org>
2160 * src/bison.hairy: entered into RCS
2162 1987-12-16 Richard Stallman <rms@gnu.org>
2164 * REFERENCES: entered into RCS