1 2000-11-17 Akim Demaille <akim@epita.fr>
3 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
5 Use them to declare the variables which are global or local to
8 2000-11-17 Akim Demaille <akim@epita.fr>
10 * acconfig.h: Remove, no longer used.
12 2000-11-07 Akim Demaille <akim@epita.fr>
14 * src: s/Copyright (C)/Copyright/g.
16 2000-11-07 Akim Demaille <akim@epita.fr>
18 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
20 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
22 2000-11-07 Akim Demaille <akim@epita.fr>
24 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
25 Merge in a single CPP if/else.
27 2000-11-07 Akim Demaille <akim@epita.fr>
29 * src/output.c (output): Remove useless variables.
30 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
31 argument `data' for consistency with the prototypes.
33 (obstack_copy, obstack_copy0): Rename the second argument as
34 `address' for consistency. Qualify it `const'.
35 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
36 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
37 `const' their input argument (`data' or `address').
38 Adjust the corresponding macros to include `const' in casts.
40 2000-11-03 Akim Demaille <akim@epita.fr>
42 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
43 s/PFILE1/BISON_HAIRY/.
46 2000-11-03 Akim Demaille <akim@epita.fr>
48 For some reason, this was not applied.
50 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
51 `unlink': it's no longer used.
53 2000-11-03 Akim Demaille <akim@epita.fr>
55 * src/files.c (skeleton_find): New function, eved out of...
56 (open_files, open_extra_files): here.
58 2000-11-03 Akim Demaille <akim@epita.fr>
62 * src/files.c (obstack_save): New function.
66 * src/main.c (main): Don't use `atexit' to register `done', since
67 it no longer has to remove tmp files, just call `output_files'
68 when there are no errors.
70 2000-11-02 Akim Demaille <akim@epita.fr>
72 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
73 `unlink': it's no longer used.
74 * src/files.h: Formatting changes.
76 2000-11-02 Akim Demaille <akim@epita.fr>
78 Remove the last uses of mktemp and unlink/delete.
80 * src/files.c (fdefines, ftable): Removed.
81 (defines_ostack, table_obstack): New.
82 Adjust dependencies of the former into uses of the latter.
83 * src/output.c (output_short_or_char_table, output_short_table):
84 Convert to using obstacks.
85 * src/reader.c (copy_comment2): Accept one FILE * and two
87 (output_token_defines, reader_output_yylsp): Use obstacks.
88 * src/system.h (obstack_fgrow3): New.
90 2000-11-01 Akim Demaille <akim@epita.fr>
92 Change each use of `fattrs' into a use of `attrs_obstack'.
94 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
95 * src/files.c (fattrs): Remove.
97 Adjust all dependencies.
98 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
100 2000-11-01 Akim Demaille <akim@epita.fr>
103 Change each use of `faction' into a use of `action_obstack'.
105 * lib/obstack.h, lib/obstack.c: New files.
106 * src/files.c (faction): Remove.
107 (action_obstack): New.
108 Adjust all dependencies.
110 2000-10-20 Akim Demaille <akim@epita.fr>
112 * lib/quote.h (PARAMS): New macro. Use it.
114 2000-10-16 Akim Demaille <akim@epita.fr>
116 * src/output.c (output_short_or_char_table): New function.
117 (output_short_table, output_token_translations): Use it.
118 (goto_actions): Use output_short_table.
120 2000-10-16 Akim Demaille <akim@epita.fr>
122 * src/symtab.c (bucket_new): New function.
125 * src/output.c (output_short_table): New argument to display the
126 comment associated with the table.
128 (output_gram): Use it.
129 (output_rule_data): Nicer output layout for YYTNAME.
131 2000-10-16 Akim Demaille <akim@epita.fr>
133 * src/lex.c (read_typename): New function.
135 * src/reader.c (copy_dollar): Likewise.
137 2000-10-16 Akim Demaille <akim@epita.fr>
139 * src/reader.c (copy_comment2): Expect the input stream to be on
140 the `/' which is suspected to open a comment, instead of being
141 called after `//' or `/*' was read.
142 (copy_comment, copy_definition, parse_union_decl, copy_action)
143 (copy_guard): Adjust.
145 2000-10-16 Akim Demaille <akim@epita.fr>
147 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
148 `read_signed_integer'.
150 2000-10-16 Akim Demaille <akim@epita.fr>
152 * src/reader.c (copy_dollar): New function.
153 (copy_guard, copy_action): Use it.
155 2000-10-16 Akim Demaille <akim@epita.fr>
157 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
158 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
159 New files, from Fileutils 4.0.27.
160 * src/main.c (printable_version): Remove.
161 * src/lex.c, src/reader.c: Use `quote'.
163 2000-10-04 Akim Demaille <akim@epita.fr>
165 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
167 2000-10-04 Akim Demaille <akim@epita.fr>
169 * doc/bison.texinfo: Various typos spotted by Neil Booth.
171 2000-10-04 Akim Demaille <akim@epita.fr>
173 When a literal string is used to define two different tokens,
174 `bison -v' segfaults.
175 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
177 * tests/regression.m4: New file.
178 Include the core of the sample provided by Piotr Gackiewicz.
179 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
182 2000-10-04 Akim Demaille <akim@epita.fr>
184 * src/reader.c (parse_expect_decl): Keep `count' within the size
188 2000-10-02 Paul Eggert <eggert@twinsun.com>
190 * bison.s1 (yyparse): Assign the default value
191 unconditionally, to avoid a GCC warning and make the parser a
194 2000-10-02 Akim Demaille <akim@epita.fr>
196 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
199 2000-10-02 Akim Demaille <akim@epita.fr>
201 * src/derives.c, src/print.c, src/reduce.c: To ease the
202 translation, move some `\n' out of the translated strings.
204 2000-10-02 Akim Demaille <akim@epita.fr>
206 The location tracking mechanism is precious for parse error
207 messages. Nevertheless, it is enabled only when `@n' is used in
208 the grammar, which is a different issue (you can use it in error
209 message, but not in the grammar per se). Therefore, there should
210 be another means to enable it.
212 * src/getargs.c (getargs): Support `--locations'.
214 * src/getargs.h (locationsflag): Export it.
215 * src/lex.c (percent_table): Support `%locations'.
216 * src/reader.c (yylsp_needed): Remove this variable, now replaced
217 with `locationsflag'.
218 * doc/bison.texinfo: Document `--locations' and `%locations'.
220 * tests/calc.m4: Test it.
222 For regularity of the names, replace each
223 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
224 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
225 In addition replace each `flag' with `_flag'.
227 2000-10-02 Akim Demaille <akim@epita.fr>
229 Also test parse error messages, including with YYERROR_VERBOSE.
231 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
233 Use it to check the computations.
234 Use it to check `nonassoc' is honored.
235 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
237 (_AT_CHECK_CALC): Adjust to this option.
238 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
240 2000-10-02 Akim Demaille <akim@epita.fr>
242 Test also `--verbose', `--defines' and `--name-prefix'. Testing
243 the latter demonstrates a flaw in the handling of non debugging
244 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
245 was used in order to simplify:
261 unfortunately this leads to a CPP conflict when
262 `--name-prefix=foo' is used since it produces `#define yydebug
265 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
266 (YYDPRINTF): New macro.
268 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
270 Also test `--verbose', `--defines' and `--name-prefix'.
272 2000-10-02 Akim Demaille <akim@epita.fr>
274 Improve the readability of the produced parsers.
276 * src/bison.s1: Formatting changes.
277 Improve the comment related to the `$' mark.
278 (yydefault): Don't fall through to `yyresume': `goto' there.
279 * src/output.c (output_parser): When the `$' is met, skip the end
281 New variable, `number_of_dollar_signs', to check there's exactly
282 one `$' in the parser skeleton.
284 2000-10-02 Akim Demaille <akim@epita.fr>
286 * lib/xstrdup.c: New file, from the fileutils.
287 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
288 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
289 instead of strlen + xmalloc + strcpy.
290 * src/symtab.c (copys): Remove, use xstrdup instead.
292 2000-10-02 Akim Demaille <akim@epita.fr>
294 * src/gram.h (associativity): New enum type which replaces the
295 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
296 `right_assoc', `left_assoc' and `non_assoc'.
297 Adjust all dependencies.
298 * src/reader.c: Formatting changes.
299 (LTYPESTR): Don't define it, use it as a literal in
300 `reader_output_yylsp'.
301 * src/symtab.h (symbol_class): New enum type which replaces the
302 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
303 `sunknown', `stoken and `snterm'.
305 2000-10-02 Akim Demaille <akim@epita.fr>
307 * src/getargs.c (fixed_outfiles): Rename as...
308 (yaccflag): for consistency and accuracy.
311 2000-10-02 Akim Demaille <akim@epita.fr>
313 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
314 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
315 difficult and introduced a lot of core dump. It turns out that
316 Bison used an implementation of `xmalloc' based on `calloc', and
317 at various places it does depend upon the initialization to 0. I
318 have not tried to isolate the pertinent places, and all the former
319 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
320 someone should address this issue.
322 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
323 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
326 * src/warshall.h: New file.
329 2000-10-02 Akim Demaille <akim@epita.fr>
331 Various anti-`extern in *.c' changes.
333 * src/system.h: Include `assert.h'.
335 2000-10-02 Akim Demaille <akim@epita.fr>
337 * src/state.h (nstates, final_state, first_state, first_shift)
338 (first_reduction): Move their exportation from here...
339 * src/LR0.h: to here.
341 * src/getargs.c (statisticsflag): New variable.
342 Add support for `--statistics'.
345 Remove a lot of now useless `extern' statements in most files.
347 2000-10-02 Akim Demaille <akim@epita.fr>
349 * src/LR0.h: New file.
352 2000-10-02 Akim Demaille <akim@epita.fr>
354 * src/print.h: New file.
356 * src/print.c: Formatting and ordering changes.
357 (verbose, terse): Replace with...
358 (print_results): this new function.
361 2000-10-02 Akim Demaille <akim@epita.fr>
363 * src/conflicts.c (conflict_report): New function.
364 (conflict_log, verbose_conflict_log): Replace with...
365 (print_conflicts): this function.
367 * src/conflicts.h: New file.
368 Propagate its inclusion.
370 2000-10-02 Akim Demaille <akim@epita.fr>
372 * src/nullable.h: New file.
373 Propagate its inclusion.
374 * src/nullable.c: Formatting changes.
376 2000-10-02 Akim Demaille <akim@epita.fr>
378 * src/reduce.h: New file.
379 Propagate its inclusion.
380 * src/reduce.c: Topological sort and other formatting changes.
381 (bool, TRUE, FALSE): Move their definition to...
382 * src/system.h: here.
384 2000-10-02 Akim Demaille <akim@epita.fr>
386 * src/files.c: Formatting changes.
387 (tryopen, tryclose, openfiles): Rename as...
388 (xfopen, xfclose, open_files): this.
389 (stringappend): static.
390 * src/files.h: Complete the list of exported symbols.
393 2000-10-02 Akim Demaille <akim@epita.fr>
395 * src/reader.h: New file.
396 Propagate its use instead of tedious list of `extern' and
398 * src/reader.c: Formatting changes, topological sort,
401 2000-10-02 Akim Demaille <akim@epita.fr>
403 * src/lex.h: Prototype `lex.c' exported functions.
404 * src/reader.c: Adjust.
405 * src/lex.c: Formatting changes.
406 (safegetc): Rename as...
409 2000-10-02 Akim Demaille <akim@epita.fr>
411 * src/lalr.h: New file.
412 Propagate its inclusion instead of prototypes and `extern'.
413 * src/lalr.c: Formatting changes, topological sorting etc.
415 2000-10-02 Akim Demaille <akim@epita.fr>
417 * src/output.c (token_actions): Introduce a temporary array,
418 YYDEFACT, that makes it possible for this function to use
421 2000-10-02 Akim Demaille <akim@epita.fr>
423 `user_toknums' is output as a `short[]' in `output.c', while it is
424 defined as a `int[]' in `reader.c'. For consistency with the
425 other output tables, `user_toknums' is now defined as a table of
428 * src/reader.c (user_toknums): Be a short table instead of an int
432 Factor the short table outputs.
434 * src/output.c (output_short_table): New function.
435 * src/output.c (output_gram, output_stos, output_rule_data)
436 (output_base, output_table, output_check): Use it.
438 2000-10-02 Akim Demaille <akim@epita.fr>
440 * src/output.c (output): Topological sort of the functions, in
441 order to get rid of the `static' prototypes.
442 No longer use `register'.
443 * src/output.h: New file.
444 Propagate its inclusion in files explicitly prototyping functions
447 2000-09-21 Akim Demaille <akim@epita.fr>
449 * src/atgeneral.m4: Update from Autoconf.
451 2000-09-21 Akim Demaille <akim@epita.fr>
453 * src/closure.h: New file.
454 * src/closure.c: Formatting changes, topological sort over the
455 functions, use of closure.h.
456 (initialize_closure, finalize_closure): Rename as...
457 (new_closure, free_closure): these. Adjust dependencies.
458 * src/LR0.c: Formatting changes, topological sort, use of
460 (initialize_states): Rename as...
462 * src/Makefile.am (noinst_HEADERS): Adjust.
464 2000-09-20 Akim Demaille <akim@epita.fr>
466 * src/acconfig.h: Don't protect config.h against multiple
469 * src/system.h: Define PARAMS.
470 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
471 purpose of config.h. system.h must not try to fix wrong
472 definitions in config.h.
474 2000-09-20 Akim Demaille <akim@epita.fr>
476 * src/derives.h: New file.
477 * src/main.c, src/derives.h: Use it.
479 * src/Makefile.am (noinst_HEADERS): Adjust.
481 2000-09-20 Akim Demaille <akim@epita.fr>
483 * tests/atgeneral.m4: Update from Autoconf.
484 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
485 (AT_CHECK_CALC): New macros.
486 Use these macros to test bison with options `', `--raw',
487 `--debug', `--yacc', `--yacc --debug'.
489 2000-09-19 Akim Demaille <akim@epita.fr>
491 * src/output.c: Formatting changes.
492 * src/machine.h: Remove, leaving its contents in...
493 * src/system.h: here.
495 Adjust all dependencies on stdio.h and machine.h.
496 * src/getargs.h: New file.
497 Let all `extern' declarations about getargs.c be replaced with
498 inclusion of `getargs.h'.
499 * src/Makefile.am (noinst_HEADERS): Adjust.
501 * tests/calc.m4 (yyin): Be initialized in main, not on the global
503 (yyerror): Returns void, not int.
504 * doc/bison.texinfo: Formatting changes.
506 2000-09-19 Akim Demaille <akim@epita.fr>
508 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
511 2000-09-18 Akim Demaille <akim@epita.fr>
513 * configure.in: Append WARNING_CFLAGS to CFLAGS.
514 * src/Makefile.am (INCLUDES): Don't.
515 Be ready to fetch headers in lib/.
517 2000-09-18 Akim Demaille <akim@epita.fr>
519 * doc/bison.texinfo: Update the copyright.
520 ANSIfy and GNUify the examples.
523 2000-09-18 Akim Demaille <akim@epita.fr>
525 First set of tests: use the `calc' example from the documentation.
527 * src/bison.s1 (yyparse): Condition the code using `yytname' which
528 is defined only when YYDEBUG is.
529 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
530 * src/files.c (tryopen, tryclose): Formatting changes.
531 Move to the top and be static.
532 * src/reader.c (read_signed_integer): Likewise.
533 * tests/calc.m4: New file.
534 * Makefile.am, suite.m4: Adjust.
535 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
537 2000-09-18 Akim Demaille <akim@epita.fr>
539 Add support for an Autotest test suite for Bison.
541 * m4/m4.m4, m4/atconfig.m4: New files.
542 * m4/Makefile.am (EXTRA_DIST): Adjust.
543 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
545 * src/getargs.c: Display a more standard --version message.
546 * src/reader.c (reader): Formatting changes.
547 No longer depend upon VERSION_STRING.
548 * configure.in: No longer use `dnl'.
549 Set up the test suite and the new directory `tests/.
550 (VERSION_STRING): Remove.
552 2000-04-14 Akim Demaille <akim@epita.fr>
554 * src/reader.c (copy_comment2): New function, same as former
555 `copy_comment', but outputs into two FILE *.
556 (copy_comment): Use it.
557 (parse_union_decl): Use it.
558 (get_type, parse_start_decl): Use the same `invalid' message.
559 (parse_start_decl, parse_union_decl): Use the same `multiple'
561 (parse_union_decl, copy_guard, copy_action): Use the same
563 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
565 2000-03-31 Akim Demaille <akim@epita.fr>
567 * src/files.c (tryopen, tryclose): Move to the top.
570 2000-03-31 Akim Demaille <akim@epita.fr>
572 * src/main.c (main): Don't call `done', exit does it.
574 2000-03-31 Akim Demaille <akim@epita.fr>
576 * allocate.c: s/return (foo)/return foo/.
579 * output.c: Likewise.
580 * reader.c: Likewise.
581 * symtab.c: Likewise.
582 * vmsgetargs.c: Likewise.
584 2000-03-31 Akim Demaille <akim@epita.fr>
586 Clean up the error reporting functions.
588 * src/report.c: New file.
589 * src/report.h: Likewise.
590 * src/Makefile.am: Adjust.
591 * m4/error.m4: New file.
592 * m4/Makefile.am: Adjust.
593 * configure.in (jm_PREREQ_ERROR): Call it.
594 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
596 (fatal, fatals): Remove. All callers use complain.c::fatal.
597 (warn, warni, warns, warnss, warnss): Remove. All callers use
598 complain.c::complain.
599 (toomany): Remove, use fatal instead.
600 * src/files.c (done): No argument, use complain_message_count.
601 * src/main.c (main): Register `done' to `atexit'.
603 * src/getargs.c (usage): More `fputs', less `fprintf'.
605 2000-03-28 Akim Demaille <akim@epita.fr>
607 * lib/: New directory.
608 * Makefile.am (SUBDIRS): Adjust.
609 * configure.in: Adjust.
610 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
612 * src/alloca.c: Moved to lib/.
613 * src/getopt.c: Likewise.
614 * src/getopt1.c: Likewise.
615 * src/getopt.h: Likewise.
616 * src/ansi2knr.c: Likewise.
617 * src/ansi2knr.1: Likewise.
618 * src/Makefile.am: Adjust.
619 * lib/Makefile.am: New file.
621 2000-03-28 Akim Demaille <akim@epita.fr>
623 * src/getargs.c (usage): Refresh the help message.
625 2000-03-17 Akim Demaille <akim@epita.fr>
627 * src/getopt1.c: Updated from textutils 2.0e
628 * src/getopt.c: Likewise.
629 * src/getopt.h: Likewise.
631 2000-03-17 Akim Demaille <akim@epita.fr>
633 * src/Makefile.am (bison.simple): Fix the awk program: quote only
634 the file name, not the whole `#line LINE FILE'.
636 2000-03-17 Akim Demaille <akim@epita.fr>
638 On syntax errors, report the token on which we choked.
640 * src/bison.s1 (yyparse): In the label yyerrlab, when
641 YYERROR_VERBOSE, add yychar in msg.
643 2000-03-17 Akim Demaille <akim@epita.fr>
645 * src/reader.c (copy_at): New function.
646 (copy_guard): Use it.
647 (copy_action): Use it.
649 2000-03-17 Akim Demaille <akim@epita.fr>
651 Be kind to translators, save some useless translations.
653 * src/main.c (banner): New function.
654 (fatal_banner): Use it.
655 (warn_banner): Use it.
657 2000-03-17 Akim Demaille <akim@epita.fr>
659 * src/reader.c (copy_definition): Use copy_string and
660 copy_comment. Removed now unused `match', `ended',
662 (copy_comment, copy_string): Moved, to be visible from
665 2000-03-17 Akim Demaille <akim@epita.fr>
667 * src/reader.c (copy_string): Declare `static inline'. No
668 problems with inline, since it is checked by configure.
669 (copy_comment): Likewise.
671 2000-03-17 Akim Demaille <akim@epita.fr>
673 * src/reader.c (packsymbols): Formatting changes.
675 2000-03-17 Akim Demaille <akim@epita.fr>
677 * src/reader.c (copy_comment): New function, factored out from:
678 (copy_action): Use it. Removed now unused `match', `ended',
680 (copy_guard): Likewise.
682 2000-03-17 Akim Demaille <akim@epita.fr>
684 * src/reader.c (copy_string): New function, factored out from:
685 (copy_action): Use it.
686 (copy_guard): Likewise.
688 2000-03-17 Akim Demaille <akim@epita.fr>
690 Change the handling of @s so that they behave exactly like $s.
691 There is now a pseudo variable @$ (readble and writable), location
692 of the lhs of the rule (by default ranging from the location of
693 the first symbol of the rhs, to the location of the last symbol,
694 or, if the rhs is empty, YYLLOC).
696 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
698 (yyparse): When providing a default semantic action, provide a
699 default location action.
700 (after the $): No longer change `*YYLSP', just stack YYLOC the
701 same way you stack YYVAL.
702 * src/reader.c (read_declarations): Use warns.
703 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
704 (copy_action, case '@'): Likewise.
705 Use a standard error message, to save useless work from
708 2000-03-17 Akim Demaille <akim@epita.fr>
710 * src/bison.s1: Formatting and cosmetics changes.
711 * src/reader.c: Likewise.
712 Update the Copyright notice.
714 2000-03-17 Akim Demaille <akim@epita.fr>
716 * src/bison.s1 (#line): All set to `#line' only, since the
717 Makefile now handles them.
719 2000-03-16 Akim Demaille <akim@epita.fr>
721 * src/output.c (output_rule_data): Output the documentation of
723 (Copyright notice): Update.
726 2000-03-16 Akim Demaille <akim@epita.fr>
728 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
729 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
730 One `#if YYDEBUG' remains, since it uses variables which are
731 defined only if `YYDEBUG != 0'.
733 2000-03-16 Akim Demaille <akim@epita.fr>
735 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
736 and related variables so that the similarities are highlighted.
738 2000-03-16 Akim Demaille <akim@epita.fr>
740 * src/bison.s1: Properly indent CPP directives.
742 2000-03-16 Akim Demaille <akim@epita.fr>
744 * src/bison.s1: Properly indent the `alloca' CPP section.
746 2000-03-16 Akim Demaille <akim@epita.fr>
748 Do not hard code values of directories in `configure.in'.
749 Update the `configure' tool chain.
751 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
753 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
754 (AC_OUTPUT): Add m4/Makefile.
755 Bump to bison 1.28a, 1.29 has never been released.
756 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
757 handled via src/Makefile.am.
758 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
759 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
761 * Makefile.am (SUBDIRS): Add m4.
762 (ACLOCAL_AM_FLAGS): New variable.
763 (AUTOMAKE_OPTIONS): Add check-news.
764 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
765 the proper line number and file name.
766 (DEFS): Propagate the location of bison library files and of the
768 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
770 * acinclude.m4: Remove, replaced by the directory m4.
771 * m4/Makefile.am (EXTRA_DIST): New variable.
772 * m4/gettext.m4: New file, from the fileutils.
773 * m4/lcmessage.m4: Likewise
774 * m4/progtest.m4: Likewise.
775 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
777 2000-03-10 Akim Demaille <akim@epita.fr>
780 Formatting changes of various comments.
781 Respect the GNU coding standards at various places.
782 Don't use `_()' when no translation is needed.
784 1999-12-13 Jesse Thilo <jthilo@gnu.org>
787 OS/2 honors TMPDIR environment variable.
789 1999-12-13 Jesse Thilo <jthilo@gnu.org>
791 * doc/bison.texinfo: Tweaked spelling and grammar.
793 Removed reference to price of printed copy.
794 Mention BISON_SIMPLE and BISON_HAIRY.
796 1999-12-13 Jesse Thilo <jthilo@gnu.org>
798 * configure.in, NEWS:
801 1999-10-27 Jesse Thilo <jthilo@gnu.org>
803 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
804 Added reference card.
806 1999-07-26 Jesse Thilo <jthilo@gnu.org>
808 * po/ru.po: Added Russian translation.
810 1999-07-26 Jesse Thilo <jthilo@gnu.org>
812 * configure.in: Added Russian translation.
814 1999-07-06 Jesse Thilo <jthilo@gnu.org>
816 * configure.in, NEWS, README:
817 Released version 1.28.
819 1999-06-14 Jesse Thilo <jthilo@gnu.org>
822 Squashed redefinition warning on some systems.
824 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
825 Have configure build version string instead of relying on ANSI string
828 1999-06-14 Jesse Thilo <jthilo@gnu.org>
830 * po/POTFILES.in: Got rid of version.c.
832 1999-06-14 Jesse Thilo <jthilo@gnu.org>
834 * acconfig.h, configure.in:
835 Have configure build version string instead of relying on ANSI string
838 1999-06-08 Jesse Thilo <jthilo@gnu.org>
841 Dropped mention of `+' for long-named options.
843 1999-05-30 Jesse Thilo <jthilo@gnu.org>
845 * src/files.c: Added <unistd.h> for unlink().
847 * src/Makefile.am, src/system.h:
850 1999-05-30 Jesse Thilo <jthilo@gnu.org>
852 * README: Added a FAQ list.
854 * configure.in, acconfig.h:
857 1999-05-30 Jesse Thilo <jthilo@gnu.org>
859 * doc/FAQ, doc/Makefile.am:
862 1999-05-19 Jesse Thilo <jthilo@gnu.org>
864 * src/alloc.h, src/symtab.h, src/version.c:
865 Protected inclusion of "config.h" with HAVE_CONFIG_H.
867 1999-04-18 Jesse Thilo <jthilo@gnu.org>
869 * src/.cvsignore, src/Makefile.am:
870 Reorganized: sources in `src', documentation in `doc'.
872 * src/lex.c (literalchar):
873 fixed the code for escaping double quotes (thanks
876 1999-04-18 Jesse Thilo <jthilo@gnu.org>
878 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
879 Adjusted paths to reflect directory reorganization.
881 1999-04-18 Jesse Thilo <jthilo@gnu.org>
883 * doc/.cvsignore, doc/Makefile.am:
884 Reorganized: sources in `src', documentation in `doc'.
886 1999-04-18 Jesse Thilo <jthilo@gnu.org>
889 Updated AC_INIT file to reflect directory reorganization.
891 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
892 Reorganized: sources in `src', documentation in `doc'.
894 1999-04-13 Jesse Thilo <jthilo@gnu.org>
897 Don't declare calloc() and realloc() if not necessary.
899 1999-04-13 Jesse Thilo <jthilo@gnu.org>
901 * configure.in, acconfig.h, acinclude.m4:
902 Don't declare calloc() and realloc() if not necessary.
904 1999-03-23 Jesse Thilo <jthilo@gnu.org>
906 * po/.cvsignore: Added i18n support.
908 1999-03-23 Jesse Thilo <jthilo@gnu.org>
910 * acconfig.h, configure.in, Makefile.am:
913 1999-03-22 Jesse Thilo <jthilo@gnu.org>
915 * src/bison.s1: Fixed #line numbers.
917 1999-03-15 Jesse Thilo <jthilo@gnu.org>
919 * po/es.po, po/fr.po, po/nl.po, po/de.po:
920 Added PO files from Translation Project.
922 1999-03-03 Jesse Thilo <jthilo@gnu.org>
925 Added support for non-ANSI compilers (ansi2knr).
927 1999-02-16 Jesse Thilo <jthilo@gnu.org>
929 * configure.in: Bumped version number to 1.27.
932 Added `bison.simple' to list of files removed by `make distclean'.
934 1999-02-12 Jesse Thilo <jthilo@gnu.org>
936 * src/files.c, src/files.h:
937 Defined locations of parser files in config.h instead of Makefile.
939 1999-02-12 Jesse Thilo <jthilo@gnu.org>
941 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
942 Defined locations of parser files in config.h instead of Makefile.
944 1999-02-09 Jesse Thilo <jthilo@gnu.org>
947 Removed inappropriate use of $< macro.
949 1999-02-05 Jesse Thilo <jthilo@gnu.org>
951 * po/Makefile.in.in, po/POTFILES.in:
952 Add `po' directory skeleton.
954 1999-01-27 Jesse Thilo <jthilo@gnu.org>
956 * README: Document help-bison list.
958 * configure.in: Add check for mkstemp().
960 1999-01-20 Jesse Thilo <jthilo@gnu.org>
962 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
963 Hush a few compiler warnings.
966 Add tryclose(), which verifies that fclose was successful.
967 Hush a couple of compiler warnings.
969 1999-01-20 Jesse Thilo <jthilo@gnu.org>
971 * Makefile.am, OChangeLog:
972 ChangeLog is now automatically generated. Include the old version as
975 1999-01-14 Jesse Thilo <jthilo@gnu.org>
977 * 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:
980 1999-01-14 Jesse Thilo <jthilo@gnu.org>
982 * doc/bison.texinfo: Fix formatting glitch.
984 * doc/bison.texinfo: Update FSF address.
986 1999-01-14 Jesse Thilo <jthilo@gnu.org>
988 * acconfig.h: Update FSF address.
990 1999-01-08 Jesse Thilo <jthilo@gnu.org>
993 Don't define PACKAGE here, since config.h defines it.
995 1998-12-30 Jesse Thilo <jthilo@gnu.org>
997 * src/reader.c: Update copyright date.
1000 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1001 favor of output directly to stderr (avoids buffer overruns).
1003 * src/reader.c: Some checks for premature EOF.
1005 * 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:
1006 Use prototypes if the compiler understands them.
1008 * src/files.c: Honor TMPDIR on Unix hosts.
1009 Use prototypes if the compiler understands them.
1012 Fix a couple of buffer overrun bugs.
1013 Use prototypes if the compiler understands them.
1015 * src/system.h: Include unistd.h and ctype.h.
1016 Use #ifdef instead of #if for NLS symbols.
1018 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1020 * doc/bison.texinfo:
1021 Delete comment "consider using @set for edition number, etc..." since
1022 we now are doing so.
1024 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1027 Use prototypes if the compiler understands them.
1029 * NEWS: Document 1.26 highlights.
1031 * Makefile.am: Require Automake 1.3 or later.
1034 Use prototypes if the compiler understands them.
1036 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1039 Use VERSION symbol from automake for version number.
1041 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1043 * acconfig.h, configure.in, version.cin:
1044 Use VERSION symbol from automake for version number.
1046 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1049 Distribute original version of simple parser (bison.s1), not built
1050 version (bison.simple).
1052 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1054 * doc/bison.texinfo: Add info dir entry.
1056 * doc/bison.texinfo:
1057 Let automake put version number into documentation.
1059 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1061 * src/bison.cld, src/build.com, src/vmshlp.mar:
1062 Add non-RCS files from /gd/gnu/bison.
1064 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1067 Document the BISON_HAIRY and BISON_SIMPLE variables.
1069 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1071 * src/version.c: Build version.c automatically.
1074 Fix token numbering (used to start at 258, not 257).
1076 * src/system.h: Include config.h.
1078 * src/getargs.c: Update bug report address.
1080 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1081 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1083 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1086 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1088 * configure.in, version.cin:
1089 Build version.c automatically.
1091 * AUTHORS: Add AUTHORS file.
1093 * README: Update bug report address.
1096 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1098 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1101 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1103 * doc/bison.texinfo: Clean up some formatting.
1105 1998-05-05 Richard Stallman <rms@gnu.org>
1107 * doc/bison.texinfo:
1108 Explain better why to make a pure parser.
1110 1998-01-05 Richard Stallman <rms@gnu.org>
1112 * src/files.c (openfiles):
1113 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1114 find a temporary directory, if possible. Do not unlink files while
1117 1997-08-25 Richard Stallman <rms@gnu.org>
1119 * src/reader.c (stack_offset;):
1120 Change some warni to warns.
1122 * src/lex.c (literalchar): Use warns, not warni.
1124 1997-06-28 Richard Stallman <rms@gnu.org>
1126 * src/bison.s1: Add a Bison version comment.
1128 * src/main.c (fatal, warn, berror):
1131 1997-06-28 Richard Stallman <rms@gnu.org>
1133 * Makefile.in (bison_version): New variable.
1134 (dist): Use that variable.
1135 (bison.s1): Substitute the Bison version into bison.simple.
1137 * bison.simple: Add a Bison version comment.
1139 1997-06-18 Richard Stallman <rms@gnu.org>
1141 * src/main.c (fatal, warn, berror):
1142 Make error messages standard.
1143 (toomany): Improve error message text.
1145 * 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:
1146 new.h renamed to alloc.h.
1148 1997-06-18 Richard Stallman <rms@gnu.org>
1150 * Makefile.in: new.h renamed to alloc.h.
1152 1997-05-24 Richard Stallman <rms@gnu.org>
1154 * src/lex.c (literalchar):
1155 Fix the code for escaping \, " and '.
1157 (lex): Avoid trouble when there are many chars
1158 to discard in a char literal with just several chars in it.
1160 1997-05-17 Richard Stallman <rms@gnu.org>
1163 Use malloc, if using alloca is troublesome.
1164 (YYSTACK_USE_ALLOCA): New flag macro.
1165 Define it for some systems and compilers.
1166 (YYSTACK_ALLOC): New macro.
1167 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1168 If it was malloc'd, free it.
1170 1997-05-17 Richard Stallman <rms@gnu.org>
1173 Use malloc, if using alloca is troublesome.
1174 (YYSTACK_USE_ALLOCA): New flag macro.
1175 Define it for some systems and compilers.
1176 (YYSTACK_ALLOC): New macro.
1177 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1178 If it was malloc'd, free it.
1180 1997-04-23 Richard Stallman <rms@gnu.org>
1183 (alloca) [__hpux]: Always define as __builtin_alloca.
1185 1997-04-23 Richard Stallman <rms@gnu.org>
1188 (alloca) [__hpux]: Always define as __builtin_alloca.
1190 1997-04-22 Richard Stallman <rms@gnu.org>
1193 [__hpux]: Include alloca.h (right for HPUX 10)
1194 instead of declaring alloca (right for HPUX 9).
1196 * src/bison.s1 (__yy_memcpy):
1197 Declare arg `count' as unsigned int.
1198 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1200 1997-04-22 Richard Stallman <rms@gnu.org>
1203 [__hpux]: Include alloca.h (right for HPUX 10)
1204 instead of declaring alloca (right for HPUX 9).
1206 * bison.simple (__yy_memcpy):
1207 Declare arg `count' as unsigned int.
1208 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1210 1997-01-03 Richard Stallman <rms@gnu.org>
1212 * src/allocate.c: [__STDC__ or _MSC_VER]:
1213 Declare calloc and realloc to return void *.
1215 1997-01-02 Richard Stallman <rms@gnu.org>
1218 [_MSC_VER]: Include stdlib.h and process.h.
1219 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1221 * src/main.c (main): Return FAILURE as a value.
1222 (printable_version): Declare arg as int, not char.
1224 1997-01-02 Richard Stallman <rms@gnu.org>
1226 * Makefile.in (dist):
1227 Explicitly check for symlinks, and copy them.
1229 1996-12-19 Richard Stallman <rms@gnu.org>
1232 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1234 1996-12-18 Paul Eggert <eggert@gnu.org>
1236 * src/bison.s1 (yyparse):
1237 If __GNUC__ and YYPARSE_PARAM are both defined,
1238 declare yyparse to have a void * argument.
1240 1996-12-18 Paul Eggert <eggert@gnu.org>
1242 * bison.simple (yyparse):
1243 If __GNUC__ and YYPARSE_PARAM are both defined,
1244 declare yyparse to have a void * argument.
1246 1996-12-17 Richard Stallman <rms@gnu.org>
1248 * src/reduce.c (nbits): Add some casts.
1250 1996-08-12 Richard Stallman <rms@gnu.org>
1252 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1254 1996-08-12 Richard Stallman <rms@gnu.org>
1256 * bison.simple: Test _MSDOS as well as _MSDOS_.
1258 1996-07-31 Richard Stallman <rms@gnu.org>
1261 [__sun && __i386]: Include alloca.h.
1263 1996-07-31 Richard Stallman <rms@gnu.org>
1266 [__sun && __i386]: Include alloca.h.
1268 1996-07-30 Richard Stallman <rms@gnu.org>
1270 * src/bison.s1: Comment change.
1272 * src/bison.s1: Test _MSDOS_, not MSDOS.
1274 1996-07-30 Richard Stallman <rms@gnu.org>
1276 * bison.simple: Comment change.
1278 * bison.simple: Test _MSDOS_, not MSDOS.
1280 1996-06-01 Richard Stallman <rms@gnu.org>
1282 * 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:
1283 Insert `_' macro around many string constants.
1286 Insert `_' macro around many string constants.
1288 (main): Call setlocale, bindtextdomain and textdomain.
1290 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1291 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1292 [ENABLE_NLS]: Include libintl.h.
1293 [ENABLE_NLS] (gettext): Define.
1294 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1295 (N_, PACKAGE, LOCALEDIR): New macros.
1297 1996-06-01 Richard Stallman <rms@gnu.org>
1299 * POTFILES.in: New file.
1301 * Makefile.in (allocate.o):
1302 Define target explicitly.
1304 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1305 (LDFLAGS): Set to @LDFLAGS@.
1306 (configure): Run autoconf only if preceding `cd' succeeds.
1307 (bison.s1): Redirect output to temporary file then move the
1308 temporary to the target, rather than redirecting directly to bison.s1.
1309 (clean): Remove config.status and config.log.
1310 (distclean): Don't remove config.status here.
1312 1996-05-12 Richard Stallman <rms@gnu.org>
1315 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1317 1996-05-12 Richard Stallman <rms@gnu.org>
1320 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1322 1996-05-11 Richard Stallman <rms@gnu.org>
1324 * src/bison.s1 (__yy_memcpy):
1325 Really reorder the args, as was supposedly done on Feb 14 1995.
1326 (yyparse): Calls changed accordingly.
1328 1996-05-11 Richard Stallman <rms@gnu.org>
1330 * Makefile.in (dist): Don't use $(srcdir).
1332 * bison.simple (__yy_memcpy):
1333 Really reorder the args, as was supposedly done on Feb 14 1995.
1334 (yyparse): Calls changed accordingly.
1336 1996-01-27 Richard Stallman <rms@gnu.org>
1338 * src/output.c (output_rule_data):
1339 Test YYERROR_VERBOSE in the conditional
1340 around the definition of ttyname.
1342 1995-12-29 Richard Stallman <rms@gnu.org>
1345 Fix line numbers in #line commands.
1347 1995-12-29 Richard Stallman <rms@gnu.org>
1350 Fix line numbers in #line commands.
1352 1995-12-27 Richard Stallman <rms@gnu.org>
1354 * src/bison.s1 (YYPARSE_PARAM_DECL):
1355 In C++, make it always null.
1356 (YYPARSE_PARAM_ARG): New macro.
1357 (yyparse): Use YYPARSE_PARAM_ARG.
1359 1995-12-27 Richard Stallman <rms@gnu.org>
1361 * bison.simple (YYPARSE_PARAM_DECL):
1362 In C++, make it always null.
1363 (YYPARSE_PARAM_ARG): New macro.
1364 (yyparse): Use YYPARSE_PARAM_ARG.
1366 1995-11-29 Richard Stallman <rms@gnu.org>
1368 * doc/bison.texinfo:
1369 Describe literal string tokens, %raw, %no_lines, %token_table.
1371 1995-11-29 Daniel Hagerty <hag@gnu.org>
1373 * doc/bison.texinfo: Fixed update date
1375 1995-10-16 Richard Stallman <rms@gnu.org>
1377 * src/version.c: Version 1.25.
1379 1995-10-16 Richard Stallman <rms@gnu.org>
1381 * NEWS: *** empty log message ***
1383 1995-10-16 Richard Stallman <rms@gnu.org>
1385 * doc/bison.1, doc/bison.rnh:
1388 1995-10-15 Richard Stallman <rms@gnu.org>
1390 * src/vmsgetargs.c, src/getargs.c:
1391 Added -n, -k, and -raw switches.
1392 (noparserflag, toknumflag, rawtoknumflag): New variables.
1394 * src/symtab.h (SALIAS):
1395 New #define for adding aliases to %token.
1396 (struct bucket): Added `alias' field.
1398 * src/reduce.c (reduce_grammar):
1399 Revise error message.
1400 (print_notices): Remove final `.' from error message.
1402 * src/reader.c (reader_output_yylsp):
1404 (readgram): Use `#if 0' around code that accepted %command
1405 inside grammar rules: The documentation doesn't allow it,
1406 and it will fail since the %command processors scan for the next %.
1407 (parse_token_decl): Extended the %token
1408 declaration to allow a multi-character symbol as an alias.
1409 (parse_thong_decl): New function.
1410 (read_declarations): Added %thong declarations.
1411 (read_declarations): Handle NOOP to deal with allowing
1412 % declarations as another means to specify the flags.
1413 (readgram): Allow %prec prior to semantics embedded in a rule.
1414 (skip_to_char, read_declarations, copy_definition)
1415 (parse_token_decl, parse_start_decl, parse_type_decl)
1416 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1417 (get_type_name, copy_guard, copy_action, readgram)
1418 (get_type, packsymbols): Revised most error messages.
1419 Changed `fatal' to `warnxxx' to avoid aborting for error.
1420 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1421 (read_declarations): Improve the error message for
1422 an invalid character. Do not abort.
1423 (read_declarations, copy_guard, copy_action): Use
1424 printable_version to avoid unprintable characters in printed output.
1425 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1426 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1427 Allow the type of a non-terminal can be given
1428 more than once, as long as all specifications give the same type.
1431 (output_headers, output_trailers, output, output_gram)
1432 (output_rule_data): Implement noparserflag variable.
1433 Implement toknumflag variable.
1434 (output): Call reader_output_yylsp to output LTYPESTR.
1436 * src/main.c (main):
1437 If reader sees an error, don't process the grammar.
1438 (fatals): Updated to not use VARARGS1.
1439 (printable_version, int_to_string, warn, warni, warns, warnss)
1440 (warnsss): New error reporting functions. Avoid abort for error.
1443 Added THONG and NOOP for alias processing.
1444 Added SETOPT for the new code that allows setting options with %flags.
1447 Include getopt.h. Add some extern decls.
1448 (safegetc): New function to deal with EOF gracefully.
1449 (literalchar); new function to deal with reading \ escapes.
1450 (lex): Use literalchar.
1451 (lex): Implemented "..." tokens.
1452 (literalchar, lex, parse_percent_token): Made tokenbuffer
1453 always contain the token. This includes growing the token
1454 buffer while reading an integer.
1455 (parse_percent_token): Replaced if-else statement with percent_table.
1456 (parse_percent_token): Added % declarations as another
1457 way to specify the flags -n, -l, and -r. Also added hooks for
1458 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1459 major changes to files.c.
1460 (lex) Retain in the incoming stream a character following
1462 (skip_white_space, lex): Revised most error messages
1463 and changed fatal to warn to avoid aborting.
1464 (percent_table): Added %thong declarations.
1466 * src/gram.h: Comment changes.
1468 * src/files.c (openfiles, open_extra_files, done):
1470 and actfile file. Handle noparserflag. Both for -n switch.
1472 * src/conflicts.c (resolve_sr_conflict):
1473 Remove use of alloca.
1475 1995-06-01 Jim Meyering <meyering@gnu.org>
1477 * doc/bison.texinfo: *** empty log message ***
1479 1995-05-06 Richard Stallman <rms@gnu.org>
1481 * src/bison.s1: Comment change.
1483 1995-05-06 Richard Stallman <rms@gnu.org>
1485 * bison.simple: Comment change.
1487 1995-05-03 Richard Stallman <rms@gnu.org>
1489 * src/version.c: Version now 1.24.
1491 * src/bison.s1: Change distribution terms.
1493 * src/version.c: Version now 1.23.
1495 1995-05-03 Richard Stallman <rms@gnu.org>
1497 * doc/bison.texinfo:
1498 Rewrite "Conditions for Using Bison".
1499 Update version to 1.24.
1501 1995-05-03 Richard Stallman <rms@gnu.org>
1503 * bison.simple: Change distribution terms.
1505 1995-02-23 Richard Stallman <rms@gnu.org>
1507 * src/files.c: Test __VMS_POSIX as well as VMS.
1509 1995-02-14 Jim Meyering <meyering@gnu.org>
1511 * src/bison.s1 (__yy_memcpy):
1512 Renamed from __yy_bcopy to avoid
1513 confusion. Reverse FROM and TO arguments to be consistent with
1516 1995-02-14 Jim Meyering <meyering@gnu.org>
1518 * bison.simple (__yy_memcpy):
1519 Renamed from __yy_bcopy to avoid
1520 confusion. Reverse FROM and TO arguments to be consistent with
1523 1994-11-10 David J. MacKenzie <djm@gnu.org>
1529 * Makefile.in (DISTFILES): Include NEWS.
1531 * Makefile.in (DISTFILES):
1532 Include install-sh, not install.sh.
1534 * configure.in: Update to Autoconf v2 macro names.
1536 1994-10-05 David J. MacKenzie <djm@gnu.org>
1538 * Makefile.in: fix typo
1540 * Makefile.in (prefix, exec_prefix):
1541 Let configure set them.
1543 1994-09-28 David J. MacKenzie <djm@gnu.org>
1545 * Makefile.in: Set datadir to $(prefix)/share.
1547 1994-09-15 Richard Stallman <rms@gnu.org>
1550 Update copyright notice and GPL version.
1552 1994-09-15 Richard Stallman <rms@gnu.org>
1555 Update copyright notice and GPL version.
1557 1994-07-12 Richard Stallman <rms@gnu.org>
1559 * src/reduce.c, src/reader.c:
1562 1994-05-05 David J. MacKenzie <djm@gnu.org>
1564 * Makefile.in: entered into RCS
1566 1994-03-26 Richard Stallman <rms@gnu.org>
1568 * src/bison.s1: entered into RCS
1570 1994-03-26 Richard Stallman <rms@gnu.org>
1572 * bison.simple: entered into RCS
1574 1994-03-25 Richard Stallman <rms@gnu.org>
1576 * src/main.c: entered into RCS
1578 1994-03-24 Richard Stallman <rms@gnu.org>
1580 * src/conflicts.c: entered into RCS
1582 1994-01-02 Richard Stallman <rms@gnu.org>
1584 * Makefile.in: *** empty log message ***
1586 1993-11-21 Richard Stallman <rms@gnu.org>
1588 * src/bison.s1: *** empty log message ***
1590 1993-11-21 Richard Stallman <rms@gnu.org>
1592 * doc/bison.texinfo: entered into RCS
1594 * doc/bison.texinfo: *** empty log message ***
1596 1993-11-21 Richard Stallman <rms@gnu.org>
1598 * bison.simple: *** empty log message ***
1600 1993-10-25 David J. MacKenzie <djm@gnu.org>
1602 * doc/bison.texinfo: *** empty log message ***
1604 1993-10-19 Richard Stallman <rms@gnu.org>
1606 * src/bison.s1: *** empty log message ***
1608 1993-10-19 Richard Stallman <rms@gnu.org>
1610 * bison.simple: *** empty log message ***
1612 1993-10-14 Richard Stallman <rms@gnu.org>
1614 * src/bison.s1: *** empty log message ***
1616 1993-10-14 Richard Stallman <rms@gnu.org>
1618 * bison.simple: *** empty log message ***
1620 1993-09-14 David J. MacKenzie <djm@gnu.org>
1622 * doc/bison.texinfo: *** empty log message ***
1624 1993-09-13 Noah Friedman <friedman@gnu.org>
1626 * Makefile.in: *** empty log message ***
1628 1993-09-10 Richard Stallman <rms@gnu.org>
1630 * src/conflicts.c: *** empty log message ***
1632 * src/system.h: entered into RCS
1634 1993-09-10 Richard Stallman <rms@gnu.org>
1636 * doc/bison.1: entered into RCS
1638 1993-09-06 Noah Friedman <friedman@gnu.org>
1640 * src/version.c: entered into RCS
1642 1993-09-06 Noah Friedman <friedman@gnu.org>
1644 * Makefile.in: *** empty log message ***
1646 1993-07-30 David J. MacKenzie <djm@gnu.org>
1648 * Makefile.in: *** empty log message ***
1650 1993-07-24 Richard Stallman <rms@gnu.org>
1652 * src/bison.s1: *** empty log message ***
1654 1993-07-24 Richard Stallman <rms@gnu.org>
1656 * bison.simple: *** empty log message ***
1658 1993-07-08 David J. MacKenzie <djm@gnu.org>
1660 * Makefile.in: *** empty log message ***
1662 1993-07-04 Richard Stallman <rms@gnu.org>
1664 * src/bison.s1: *** empty log message ***
1666 1993-07-04 Richard Stallman <rms@gnu.org>
1668 * bison.simple: *** empty log message ***
1670 1993-06-26 David J. MacKenzie <djm@gnu.org>
1672 * src/getargs.c: entered into RCS
1674 1993-06-26 David J. MacKenzie <djm@gnu.org>
1676 * doc/bison.texinfo: *** empty log message ***
1678 * doc/bison.1: New file.
1680 1993-06-25 Richard Stallman <rms@gnu.org>
1682 * src/getargs.c: New file.
1684 1993-06-16 Richard Stallman <rms@gnu.org>
1686 * src/bison.s1: *** empty log message ***
1688 1993-06-16 Richard Stallman <rms@gnu.org>
1690 * bison.simple: *** empty log message ***
1692 1993-06-03 Richard Stallman <rms@gnu.org>
1694 * src/bison.s1: New file.
1696 1993-06-03 Richard Stallman <rms@gnu.org>
1698 * doc/bison.texinfo: *** empty log message ***
1700 1993-06-03 Richard Stallman <rms@gnu.org>
1702 * bison.simple: New file.
1704 1993-05-19 Richard Stallman <rms@gnu.org>
1706 * doc/bison.texinfo: New file.
1708 1993-05-07 Noah Friedman <friedman@gnu.org>
1710 * Makefile.in: *** empty log message ***
1712 1993-04-28 Noah Friedman <friedman@gnu.org>
1714 * src/reader.c: *** empty log message ***
1716 1993-04-23 Noah Friedman <friedman@gnu.org>
1718 * src/alloc.h: entered into RCS
1720 1993-04-20 David J. MacKenzie <djm@gnu.org>
1722 * src/version.c: *** empty log message ***
1724 * src/files.c, src/allocate.c:
1727 * src/reader.c: *** empty log message ***
1729 * src/lex.c: entered into RCS
1731 * src/conflicts.c: New file.
1733 * src/symtab.c: entered into RCS
1735 * src/alloc.h: New file.
1737 * src/LR0.c: entered into RCS
1739 1993-04-18 Noah Friedman <friedman@gnu.org>
1741 * src/reader.c: New file.
1743 * src/version.c: *** empty log message ***
1745 1993-04-18 Noah Friedman <friedman@gnu.org>
1747 * Makefile.in: *** empty log message ***
1749 1993-04-17 Noah Friedman <friedman@gnu.org>
1751 * Makefile.in: *** empty log message ***
1753 1993-04-15 Richard Stallman <rms@gnu.org>
1755 * src/main.c, src/files.c:
1758 1993-04-15 Noah Friedman <friedman@gnu.org>
1760 * configure.in: entered into RCS
1762 * configure.in: *** empty log message ***
1764 * configure.in: New file.
1766 1993-04-14 Richard Stallman <rms@gnu.org>
1768 * Makefile.in: New file.
1770 1993-04-13 Richard Stallman <rms@gnu.org>
1772 * src/version.c: New file.
1774 1993-03-25 Richard Stallman <rms@gnu.org>
1776 * src/output.c: entered into RCS
1778 1992-09-25 Richard Stallman <rms@gnu.org>
1780 * configure.bat: entered into RCS
1782 1992-06-22 Richard Stallman <rms@gnu.org>
1784 * src/vmsgetargs.c: entered into RCS
1786 1992-06-22 Richard Stallman <rms@gnu.org>
1788 * doc/bison.rnh: entered into RCS
1790 1992-04-20 David J. MacKenzie <djm@gnu.org>
1792 * README: entered into RCS
1794 1992-01-22 Richard Stallman <rms@gnu.org>
1796 * src/machine.h: entered into RCS
1798 1991-12-21 Richard Stallman <rms@gnu.org>
1800 * src/lalr.c, src/closure.c:
1803 1991-12-20 Richard Stallman <rms@gnu.org>
1805 * src/state.h: entered into RCS
1807 1991-12-18 Richard Stallman <rms@gnu.org>
1809 * src/print.c, src/nullable.c, src/derives.c:
1812 1991-11-03 David J. MacKenzie <djm@gnu.org>
1814 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1817 1988-09-09 Richard Stallman <rms@gnu.org>
1819 * src/bison.hairy: entered into RCS
1821 1987-12-16 Richard Stallman <rms@gnu.org>
1823 * REFERENCES: entered into RCS