1 2001-11-14 Akim Demaille <akim@epita.fr>
3 * tests/calc.at, tests/output.at, tests/regression.at,
4 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
5 now the tests are run in private dirs, therefore AC_CLEANUP and
6 family can be simplified to 0-ary.
7 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
8 use abs. path to find config.h.
10 2001-11-14 Akim Demaille <akim@epita.fr>
12 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
13 stderr, there can be way too much random noise.
14 Instead pass -Werror to GCC and rely on the exit status.
15 Reported by Wolfram Wagner.
17 2001-11-14 Akim Demaille <akim@epita.fr>
19 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
20 defined only if yyoverflow is defined, to avoid `warning: unused
22 Reported by The Test Suite.
24 2001-11-14 Akim Demaille <akim@epita.fr>
26 * src/print.c: Include reduce.h.
27 Reported by Hans Aberg.
29 2001-11-14 Akim Demaille <akim@epita.fr>
31 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
32 Revert a previous patch: these are really const.
33 * src/conflicts.c (conflict_report): Additional useless pair of
34 braces to pacify GCC's warnings for `if () if () {} else {}'.
35 * src/lex.c (parse_percent_token): Replace equal_offset with
38 Be sure to strdup `arg' when used, since there is no reason for
39 token_buffer not to change.
41 2001-11-14 Akim Demaille <akim@epita.fr>
43 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
45 * src/main.c (main): Use them.
46 Suggested by Hans Aberg.
48 2001-11-12 Akim Demaille <akim@epita.fr>
52 * src/system.h (ngettext): Now that we use ngettext, be sure to
53 provide a default definition when NLS are not used that takes care
56 2001-11-12 Akim Demaille <akim@epita.fr>
58 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
59 Use @kbd to denote user input.
60 (Language and Grammar): ANSIfy the example.
61 Adjust its layout for info/notinfo.
62 (Location Tracking Calc): Output error messages to stderr.
63 Output locations in a more GNUtically correct way.
64 Fix a couple of Englishos.
65 Adjust @group/@end group pairs.
67 2001-11-12 Akim Demaille <akim@epita.fr>
69 %expext was not functioning at all.
71 * src/conflicts.c (expected_conflicts): Set to -1.
72 (conflict_report): Use ngettext.
73 (conflicts_print): Check %expect and make its violation an error.
74 * doc/bison.texinfo (Expect Decl): Adjust.
75 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
76 * tests/regression.at (%expect not enough, %expect right)
77 (%expect too much): New.
79 2001-11-12 Akim Demaille <akim@epita.fr>
81 * tests/regression.at (Conflicts): Rename as...
82 (Unresolved SR Conflicts): this.
83 (Solved SR Conflicts): New.
85 2001-11-12 Akim Demaille <akim@epita.fr>
87 * src/reduce.c (print_results): Rename as...
88 (reduce_output): This.
89 Output to OUT, passed as argument, instead of output_obstack.
90 (dump_grammar): Likewise.
93 (reduce_grammar): No longer call reduce_output, since...
94 * src/print.c (print_results): do it.
95 * src/main.c (main): Call reduce_free;
97 2001-11-12 Akim Demaille <akim@epita.fr>
99 * src/conflicts.c (print_reductions): Accept OUT as argument.
100 Output to it, not to output_obstack.
101 * src/print.c (print_actions): Adjust.
103 2001-11-12 Akim Demaille <akim@epita.fr>
105 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
106 the result instead of using...
107 (src_total, rrc_total, src_count, rrc_count): Remove.
108 (any_conflicts): Remove.
109 (print_conflicts): Split into...
110 (conflicts_print, conflicts_output): New.
111 * src/conflicts.h: Adjust.
112 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
113 * src/print.c (print_grammar): Issue `\n' between to rule outputs.
114 * tests/regression.at (Conflicts): New.
115 Reported by Tom Lane.
117 2001-11-12 Akim Demaille <akim@epita.fr>
119 * tests/regression.at (Invalid input): Remove, duplicate with
120 ``Invalid input: 1''.
122 2001-11-12 Akim Demaille <akim@epita.fr>
124 * tests/torture.at (AT_DATA_STACK_TORTURE)
125 (Exploding the Stack Size with Alloca)
126 (Exploding the Stack Size with Malloc): New.
128 2001-11-12 Akim Demaille <akim@epita.fr>
130 * src/bison.simple (YYSTACK_REALLOC): New.
131 (yyparse) [!yyoverflow]: Use it and free the old stack.
132 Reported by Per Allansson.
134 2001-11-05 Akim Demaille <akim@epita.fr>
137 * src/lex.c (parse_percent_token): s/quotearg/quote/.
139 2001-11-05 Akim Demaille <akim@epita.fr>
141 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
144 2001-11-05 Akim Demaille <akim@epita.fr>
146 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
147 with yyltype/YYLTYPE. This allows inclusion of the generated
148 header within the parser if the compiler, such as GGC, accepts
149 multiple equivalent #defines.
151 2001-11-04 Akim Demaille <akim@epita.fr>
153 * src/getargs.c (longopts): Support `--output'. getopt is now
154 able to understand that `--out' is OK: the two racing long options
157 * src/lex.h (tok_setopt): Remove, replaced with...
158 (tok_intopt, tok_stropt): these new guys.
159 * src/lex.c (getopt.h): Not needed.
160 (token_buffer, unlexed_token_buffer): Not const.
161 (percent_table): Promote `-' over `_' in directive names.
162 Active `%name-prefix', `file-prefix', and `output'.
163 (parse_percent_token): Accept possible arguments to directives.
164 Promote `-' over `_' in directive names.
165 * doc/bison.texinfo (Decl Summary): Split the list into
166 `directives for grammars' and `directives for bison'.
168 Add description of `%name-prefix', `file-prefix', and `output'.
169 Promote `-' over `_' in directive names.
170 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
171 Simplify the description of `--name-prefix'.
172 Promote `-' over `_' in directive names.
173 Promote `--output' over `--output-file'.
174 Fix the description of `--defines'.
175 * tests/output.at: Exercise %file-prefix and %output.
177 2001-11-02 Akim Demaille <akim@epita.fr>
179 * doc/refcard.tex: Update.
181 2001-11-02 Akim Demaille <akim@epita.fr>
183 * src/symtab.h (SUNDEF): New.
184 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
185 stand for `uninitialized', instead of 0.
186 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
187 * src/lex.c (lex): Adjust.
189 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
191 Let yylex return it instead of a plain 0.
192 Reported by Dick Streefland.
194 2001-11-02 Akim Demaille <akim@epita.fr>
196 * tests/regression.at (Mixing %token styles): New test.
198 2001-11-02 Akim Demaille <akim@epita.fr>
200 * src/reader.c (parse_thong_decl): Formatting changes.
201 (token_translations_init): New, extracted from...
205 2001-11-01 Akim Demaille <akim@epita.fr>
207 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
208 Check that `9foo.y' produces correct cpp guards.
209 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
213 2001-11-01 Akim Demaille <akim@epita.fr>
215 * tests/regression.at (Invalid input: 2): New.
216 * src/lex.c (unlexed_token_buffer): New.
217 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
221 2001-11-01 Akim Demaille <akim@epita.fr>
223 * configure.in: Bump to 1.30a.
224 Adjust to newer Autotest.
226 2001-10-26 Akim Demaille <akim@epita.fr>
230 2001-10-26 Paul Eggert <eggert@twinsun.com>
232 * lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
233 lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
234 lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
235 m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
236 m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
237 Sync with fileutils 4.1.1.
239 2001-10-18 Akim Demaille <akim@epita.fr>
242 * tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
243 avoid spurious failures.
245 2001-10-18 Akim Demaille <akim@epita.fr>
249 2001-10-18 Akim Demaille <akim@epita.fr>
251 * tests/atlocal.in (GCC): Add.
252 * tests/calc.at: s/m4_match/m4_bmatch/.
253 s/m4_patsubst/m4_bpatsubst/.
254 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
255 * configure.in: AC_SUBST(GCC).
257 2001-10-10 Akim Demaille <akim@epita.fr>
260 * configure.in: M4 is no longer needed, but autom4te is.
261 * tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
264 2001-10-10 Akim Demaille <akim@epita.fr>
268 2001-10-10 Akim Demaille <akim@epita.fr>
271 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
272 Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
273 Reported by Airy Andre.
275 2001-10-10 Akim Demaille <akim@epita.fr>
277 * INSTALL, config/config.guess, config/config.sub, config/mdate-sh
278 * config/mkinstalldirs, lib/ansi2knr.c: Update.
280 2001-10-02 Akim Demaille <akim@epita.fr>
284 2001-10-02 Akim Demaille <akim@epita.fr>
288 2001-10-02 Akim Demaille <akim@epita.fr>
290 * tests/regression.at (Invalid CPP headers): New.
291 From Alexander Belopolsky.
292 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
294 2001-10-02 Akim Demaille <akim@epita.fr>
296 * tests/regression.at (Invalid input): New.
297 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
300 2001-10-02 Akim Demaille <akim@epita.fr>
302 * tests/calc.at: Now that --debug works, the tests must be adjusted.
304 2001-10-02 Akim Demaille <akim@epita.fr>
306 * src/output.c (output_parser): Assert `skeleton'.
307 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
311 2001-10-01 Marc Autret <autret_m@epita.fr>
313 * src/lex.h: Echo modifications.
314 * src/lex.c (unlex): Parameter is now token_t.
317 2001-10-01 Marc Autret <autret_m@epita.fr>
319 * src/main.c: Include lex.h.
322 2001-09-29 Akim Demaille <akim@epita.fr>
324 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
326 2001-09-28 Akim Demaille <akim@epita.fr>
328 * tests/testsuite.at: Update to newer Autotest.
329 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
331 2001-09-27 Akim Demaille <akim@epita.fr>
333 Position independent wrapper.
335 * tests/bison: Remove.
336 * tests/bison.in: New.
337 * configure.in: Adjust.
339 2001-09-27 Paul Eggert <eggert@twinsun.com>
341 Port quotearg fixes from tar 1.13.24.
343 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
345 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
346 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
348 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
349 * m4/mbrtowc.m4: New file.
350 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
351 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
353 2001-09-27 Akim Demaille <akim@epita.fr>
357 2001-09-27 Akim Demaille <akim@epita.fr>
361 2001-09-25 Akim Demaille <akim@epita.fr>
363 * src/system.h: Include `xalloc.h'.
364 Remove it from the C files.
365 * src/files.c (output_files): Free the obstacks.
366 * src/lex.c (init_lex): Rename as...
369 * src/main.c (main): Use it.
371 2001-09-24 Marc Autret <autret_m@epita.fr>
373 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
374 to output informations in fout (FILE*).
375 (open_graph, close_graph): Likewise.
376 (output_graph, output_edge, output_node): Likewise.
377 * src/vcg.h: Update function prototypes.
378 * src/print_graph.c (print_graph): Open output graph file.
379 (print_actions): Adjust.
380 * src/files.h: Remove extern declaration.
381 * src/files.c: Remove graph_obstack declaration.
382 (open_files): Remove graph_obstack initialization.
383 (output_files): Remove graph_obstack saving.
385 2001-09-24 Marc Autret <autret_m@epita.fr>
387 * src/files.c (compute_output_file_names): Fix.
389 2001-09-24 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
391 * src/reader.c (reader): Remove call to free_symtab ().
392 * src/main.c (main): Call it here.
394 * src/conflicts.c (initialize_conflicts): Rename as...
395 (solve_conflicts): this.
396 * src/print.c (print_core, print_actions, print_state)
397 (print_grammar): Dump to a file instead a `output_obstack'.
398 (print_results): Dump `output_obstack', and then proceed with the
400 * src/files.c (compute_output_file_names, close_files): New.
401 (output_files): Adjust.
402 * src/main.c (main): Adjust.
404 2001-09-23 Marc Autret <autret_m@epita.fr>
406 * src/files.c (compute_header_macro): Computes header macro name
407 from spec_defines_file when given.
409 2001-09-23 Marc Autret <autret_m@epita.fr>
411 * src/files.c (output_files): Add default extensions.
413 2001-09-22 Akim Demaille <akim@epita.fr>
415 * src/conflicts.c (finalize_conflicts): Rename as...
416 (free_conflicts): this.
418 2001-09-22 Akim Demaille <akim@epita.fr>
420 * src/gram.c (gram_free): Rename back as...
422 (output_token_translations): Free `token_translations'.
423 * src/symtab.c (free_symtab): Free the tag field.
425 2001-09-22 Akim Demaille <akim@epita.fr>
427 Remove `translations' as it is always set to true.
429 * src/gram.h: Adjust.
430 * src/reader.c (packsymbols, parse_token_decl): Adjust
431 * src/print.c (print_grammar): Adjust.
432 * src/output.c (output_token_translations): Adjust.
433 * src/lex.c (lex): Adjust.
434 * src/gram.c: Be sure the set pointers to NULL.
435 (dummy): Rename as...
438 2001-09-22 Akim Demaille <akim@epita.fr>
440 * configure.in: Invoke AM_LIB_DMALLOC.
441 * src/system.h: Use dmalloc.
442 * src/LR0.c: Be sure to have pointers initialized to NULL.
443 (allocate_itemsets): Allocate kernel_items only if needed.
445 2001-09-22 Akim Demaille <akim@epita.fr>
447 * configure.in: Bump to 1.29b.
448 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
449 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
450 need xmalloc.c in calc.y.
453 2001-09-21 Akim Demaille <akim@epita.fr>
456 * Makefile.maint, config/config.guess, config/config.sub,
457 * config/missing: Update from masters.
458 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
460 * configure.in (ALL_LINGUAS): Add `tr'.
462 2001-09-21 Akim Demaille <akim@epita.fr>
464 * tests/Makefile.am (package.m4): Move to...
465 ($(srcdir)/$(TESTSUITE)): here.
467 2001-09-20 Akim Demaille <akim@epita.fr>
469 * src/complain.c: No longer try to be standalone: use system.h.
470 Don't assume __STDC__ is defined to 1. Just test if it is defined.
471 * src/complain.h: Likewise.
472 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
473 Remove the unused variable `n'.
474 From Albert Chin-A-Young.
476 2001-09-18 Marc Autret <autret_m@epita.fr>
478 * doc/bison.1: Update.
479 * doc/bison.texinfo (Bison Options): Update --defines and --graph
481 (Option Cross Key): Update.
484 2001-09-18 Marc Autret <autret_m@epita.fr>
486 * tests/regression.at: New test (comment in %union).
488 2001-09-18 Marc Autret <autret_m@epita.fr>
490 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
492 Reported by Keith Browne.
494 2001-09-18 Marc Autret <autret_m@epita.fr>
496 * tests/output.at: Add tests for --defines and --graph.
498 2001-09-18 Marc Autret <autret_m@epita.fr>
500 * tests/output.at: Removes tests of %{header,src}_extension features.
502 2001-09-18 Akim Demaille <akim@epita.fr>
504 * tests/Makefile.am (package.m4): New.
505 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
506 (_AT_CHECK_CALC_ERROR): Likewise.
507 Factor the `, ' part of verbose error messages.
509 2001-09-18 Marc Autret <autret_m@epita.fr>
511 * src/getargs.c (longopts): Declare --defines and --graph as options
512 with optional arguments.
513 * src/files.h: Add extern declarations.
514 * src/files.c (spec_graph_file, spec_defines_file): New.
515 (output_files): Update.
516 Remove CPP-outed code.
518 2001-09-18 Marc Autret <autret_m@epita.fr>
520 Turn off %{source,header}_extension feature.
522 * src/files.c (compute_exts_from_gf): Update.
523 (compute_exts_from_src): Update.
524 (output_files): CPP-out useless code.
525 * src/files.h: Remove {header,source}_extension extern declarations.
526 * src/reader.c (parse_dquoted_param): CPP-out.
527 (parse_header_extension_decl): Remove.
528 (parse_source_extension_decl): Remove.
529 (read_declarations): Remove cases tok_{hdrext,srcext}.
530 * src/lex.c (percent_table): Remove {header,source}_extension entries.
531 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
533 2001-09-10 Akim Demaille <akim@epita.fr>
535 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
536 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
537 (AT_CHECK_OUTPUT): this.
538 Merely check ls' exit status, its output is useless.
540 2001-09-10 Akim Demaille <akim@epita.fr>
542 * tests/calc.at: Use m4_match.
543 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
545 2001-09-10 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
547 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
549 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
551 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
552 * src/lex.h: Adjust prototype.
553 (token_t): Add `tok_undef'.
554 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
555 (parse_percent_token): Now returns token_t.
556 Add default statement in switch.
557 (lex): Separate `c' as an input variable, from the token_t result
559 (unlexed): Is a token_t.
561 2001-09-10 Akim Demaille <akim@epita.fr>
563 * configure.in: Bump to 1.29a.
565 2001-09-07 Akim Demaille <akim@epita.fr>
569 2001-08-30 Akim Demaille <akim@epita.fr>
571 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
572 * m4/atconfig.m4: Remove.
573 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
575 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
576 m4_if, m4_patsubst, and m4_regexp.
577 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
578 `input' file instead of echo.
580 2001-08-29 Akim Demaille <akim@epita.fr>
584 2001-08-29 Akim Demaille <akim@epita.fr>
588 2001-08-29 Paul Eggert <eggert@twinsun.com>
590 * src/bison.simple (yyparse): Don't take the address of an
591 item before the start of an array, as that doesn't conform to
594 2001-08-29 Robert Anisko <anisko_r@epita.fr>
596 * doc/bison.texinfo (Location Tracking Calc): New node.
598 2001-08-29 Paul Eggert <eggert@twinsun.com>
600 * src/output.c (output): Do not define const, as this now
601 causes more problems than it cures.
603 2001-08-29 Akim Demaille <akim@epita.fr>
605 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
607 Be sure to tag the `detailmenu'.
609 2001-08-29 Akim Demaille <akim@epita.fr>
611 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
612 download in a tmp dir.
614 2001-08-28 Marc Autret <autret_m@epita.fr>
616 * config/depcomp: New file.
618 2001-08-28 Marc Autret <autret_m@epita.fr>
620 * doc/bison.1 (mandoc): Adjust.
621 From Juan Manuel Guerrero.
623 2001-08-28 Marc Autret <autret_m@epita.fr>
625 * src/print_graph.c (print_state): Fix.
627 2001-08-27 Marc Autret <autret_m@epita.fr>
629 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
631 Echo modifications to the functions prototypes.
632 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
634 2001-08-27 Marc Autret <autret_m@epita.fr>
636 * src/vcg.c: Include `xalloc.h'.
637 (add_colorentry): New.
638 (add_classname): New.
640 * src/vcg.h: Add new prototypes.
642 2001-08-27 Akim Demaille <akim@epita.fr>
644 * Makefile.maint: Sync. again with CVS Autoconf.
646 2001-08-27 Akim Demaille <akim@epita.fr>
648 * Makefile.maint: Formatting changes.
649 (po-update, cvs-update, update): New targets.
652 2001-08-27 Akim Demaille <akim@epita.fr>
654 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
655 * Makefile.maint: Sync. with CVS Autoconf.
657 2001-08-27 Marc Autret <autret_m@epita.fr>
659 * src/vcg.h (struct infoname_s): New.
660 (struct colorentry_s): New.
661 (graph_s): New fields {vertical,horizontal}_order in structure.
662 Add `infoname' field.
663 Add `colorentry' field;
664 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
665 (G_HORIZONTAL_ORDER): New.
668 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
669 Add output of `infoname'.
670 Add output of `colorentry'.
672 2001-08-27 Marc Autret <autret_m@epita.fr>
674 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
675 This one shadowed a global parameter.
677 2001-08-24 Marc Autret <autret_m@epita.fr>
679 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
680 instead of `unsigned'.
681 (print_state): Do not call obstack_object_size () in obstack_grow ()
682 to avoid macro variables shadowing.
684 2001-08-23 Marc Autret <autret_m@epita.fr>
686 * src/lex.c (percent_table): Typo: s/naem/name/.
688 Normalize new options declarations.
690 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
692 * tests/suite.at: Exercise %header_extension and %source_extension.
694 2001-08-16 Marc Autret <autret_m@epita.fr>
696 * src/reader.c (parse_dquoted_param): New.
697 (parse_header_extension_decl): Use it.
698 (parse_source_extension_decl): Likewise.
700 2001-08-16 Marc Autret <autret_m@epita.fr>
702 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
703 (get_xxxx_str): Use assert () instead of complain ().
704 Remove return invokations in default cases.
705 (get_decision_str): Modify default behaviour. Remove second argument.
706 Echo modifications on calls.
709 2001-08-16 Marc Autret <autret_m@epita.fr>
711 * src/getargs.c (usage): Update with ``-g, --graph''.
713 2001-08-16 Marc Autret <autret_m@epita.fr>
715 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
716 (Option Cross Key): Likewise.
717 * doc/bison.1: Update.
719 2001-08-15 Akim Demaille <akim@epita.fr>
723 2001-08-15 Marc Autret <autret_m@epita.fr>
725 * src/reader.c (readgram): Indent output macro YYSTYPE.
726 (packsymbols): Likewise.
727 (output_token_defines): Likewise.
728 * src/files.c: Standardize.
729 (compute_header_macro): New.
730 (defines_obstack_save): New. Use compute_header_macro.
731 (output_files): Update. Use defines_obstack_save.
733 2001-08-15 Akim Demaille <akim@epita.fr>
735 * doc/bison.texinfo (Table of Symbols): Document
738 2001-08-15 Akim Demaille <akim@epita.fr>
740 * missing: Update from CVS Automake.
741 * config/config.guess, config/config.sub, config/texinfo.tex:
744 2001-08-15 Akim Demaille <akim@epita.fr>
746 * Makefile.maint: Sync with CVS Autoconf.
748 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
750 * doc/bison.texinfo: Include GNU Free Documentation License from
752 * doc/fdl.texi: Add to package.
754 2001-08-14 Marc Autret <autret_m@epita.fr>
756 Turn on %{source,header}_extension features.
758 * src/lex.c (percent_table): Un-CPP out header_extension and
760 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
761 (compute_exts_from_src): Remove conditions. It restores priorities
764 2001-08-14 Marc Autret <autret_m@epita.fr>
766 * src/files.c (compute_base_names): Add extensions computing when
767 `--file-prefix' used.
768 Standardize function calls.
770 2001-08-13 Marc Autret <autret_m@epita.fr>
772 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
773 defining it (defined but null disables alloca).
775 2001-08-13 Marc Autret <autret_m@epita.fr>
777 * src/bison.simple (_yy_memcpy): CPP reformat.
779 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
781 * tests/atconfig.in (CPPFLAGS): Fix.
783 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
785 * doc/bison.texinfo: Include GNU General Public License from
787 * doc/gpl.texi: Add to package.
789 2001-08-10 Marc Autret <autret_m@epita.fr>
791 * src/print_graph.h: Fix.
792 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
794 2001-08-10 Akim Demaille <akim@epita.fr>
796 * src/system.h: Provide default declarations for stpcpy, strndup,
799 2001-08-10 Robert Anisko <anisko_r@epita.fr>
801 * doc/bison.texinfo (Locations): Update @$ stuff.
803 2001-08-09 Robert Anisko <anisko_r@epita.fr>
805 * src/bison.simple (YYLLOC_DEFAULT): Update.
808 2001-08-08 Marc Autret <autret_m@epita.fr>
810 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
811 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
812 Reported by Fabrice Bauzac.
814 2001-08-08 Marc Autret <autret_m@epita.fr>
816 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
817 * src/vcg.c (output_node): Fix.
818 * src/vcg.h: Cleanup.
819 * src/print_graph.c: Add comments.
820 (node_output_size): New global variable. Simplify the formatting of
821 the VCG graph output.
822 (print_actions): Unused code is now used. It notifies the final state
823 and no action states in the VCG graph. It also give the reduce actions.
824 The `shift and goto' edges are red and the `go to state' edges are
826 Get the current node name and node_obstack by argument.
827 (node_obstack): New variable.
828 (print_state): Manage node_obstack.
829 (print_core): Use node_obstack given by argument.
830 A node is not only computed here but in print_actions also.
831 (print_graph): CPP out useless code instead of commenting it.
833 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
835 * tests/atconfig.in (CPPFLAGS): Fix.
837 2001-08-07 Akim Demaille <akim@epita.fr>
839 * src/print_graph.c (quote): New.
840 (print_core): Use it.
842 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
844 * src/vcg.c (complain.h): Include it.
845 Unepitaize `return' invocations.
846 [NDEBUG] (main): Remove.
847 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
848 * src/files.c (open_files): Initialize graph_obstack.
849 * src/print_graph.c (print_actions): CPP out useless code.
850 (print_core): Don't output the last `\n' in labels.
852 * src/files.c (output_files): Output the VCG file.
853 * src/main.c (main): Invoke print_graph ();
855 2001-08-06 Marc Autret <autret_m@epita.fr>
857 Automaton VCG graph output.
858 Using option ``-g'' or long option ``--graph'', you can generate
859 a gram_filename.vcg file containing a VCG description of the LALR (1)
860 automaton of your grammar.
862 * src/main.c: Call to print_graph() function.
863 * src/getargs.h: Update.
864 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
865 (graph_flag): New flag.
867 (getargs): Add case `g'.
868 * src/files.c (graph_obstack): New obstack struct.
869 (open_files): Initialize new obstack.
870 (output_files): Saves graph_obstack if required.
871 * src/files.h (graph_obstack): New extern declaration.
872 * src/Makefile.am: Add new source files.
874 2001-08-06 Marc Autret <autret_m@epita.fr>
876 * src/print_graph.c, src/print_graph.h (graph): New.
877 * src/vcg.h: New file.
878 * src/vcg.c: New file, VCG graph handling.
880 2001-08-06 Marc Autret <autret_m@epita.fr>
882 Add of %source_extension and %header_extension which specify
883 the source or/and the header output file extension.
885 * src/files.c (compute_base_names): Remove initialisation of
886 src_extension and header_extension.
887 (compute_exts_from_gf): Update.
888 (compute_exts_from_src): Update.
889 (output_files): Update.
890 * src/reader.c (parse_header_extension_decl): New.
891 (parse_source_extension_decl): New.
892 (read_declarations): New case statements for the new tokens.
893 * src/lex.c (percent_table): Add entries for %source_extension
894 and %header_extension.
895 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
897 2001-08-06 Marc Autret <autret_m@epita.fr>
899 * configure.in: Bump to 1.28c.
900 * doc/bison.texinfo: Texinfo thingies.
902 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
904 * tests/atconfig.in (CPPFLAGS): Add.
905 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
907 2001-08-03 Akim Demaille <akim@epita.fr>
911 2001-08-03 Akim Demaille <akim@epita.fr>
913 * tests/Makefile.am (check-local): Ship testsuite.
914 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
917 2001-08-03 Akim Demaille <akim@epita.fr>
919 * configure.in: Try using -Wformat when compiling.
921 2001-08-03 Akim Demaille <akim@epita.fr>
923 * configure.in: Bump to 1.28b.
925 2001-08-03 Akim Demaille <akim@epita.fr>
927 * src/complain.c: Adjust strerror_r portability issues.
929 2001-08-03 Akim Demaille <akim@epita.fr>
933 2001-08-03 Akim Demaille <akim@epita.fr>
935 * src/getargs.c, src/getarg.h (skeleton)): Constify.
936 * src/lex.c (literalchar): Avoid name clashes on `buf'.
937 * src/getargs.c: Include complain.h.
938 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
939 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
941 2001-08-03 Akim Demaille <akim@epita.fr>
943 * src/reader.c (readgram): Display hidden chars in error messages.
945 2001-08-03 Akim Demaille <akim@epita.fr>
947 Update to gettext 0.10.39.
949 2001-08-03 Akim Demaille <akim@epita.fr>
953 2001-08-01 Marc Autret <autret_m@epita.fr>
955 * doc/bison.texinfo: Update.
956 * doc/bison.1 (mandoc): Update.
957 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
958 * src/files.c: Support output files extensions computing.
959 (src_extension): New static variable.
960 (header_extension): New static variable.
962 (get_extension_index): New function, gets the index of an extension
963 filename in a string.
964 (compute_exts_from_gf): New function, computes extensions from the
965 grammar file extension.
966 (compute_exts_from_src): New functions, computes extensions from the
967 C source file extension, file given by ``-o'' option.
968 (compute_base_names): Update.
969 (output_files): Update.
971 2001-08-01 Robert Anisko <anisko_r@epita.fr>
973 * doc/bison.texi: Document @$.
974 (Locations): New section.
976 2001-07-18 Akim Demaille <akim@epita.fr>
978 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
979 * config/prev-version.txt, config/move-if-change: New.
980 * Makefile.am: Adjust.
982 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
984 * src/bison.simple (yyparse): Suppress warning `comparaison
985 between signed and unsigned'.
987 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
989 * src/getargs.h (raw_flag): Remove.
990 * src/getargs.c: Die on `-r'/`--raw'.
991 * src/lex.c (parse_percent_token): Die on `%raw'.
992 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
993 * tests/calc.at: Suppress test with option `--raw'.
995 2001-07-14 Akim Demaille <akim@epita.fr>
998 * configure.in: Require Autoconf 2.50.
999 Update to gettext 0.10.38.
1001 2001-03-16 Akim Demaille <akim@epita.fr>
1003 * doc/bison.texinfo: ANSIfy the examples.
1005 2001-03-16 Akim Demaille <akim@epita.fr>
1007 * getargs.c (skeleton): New variable.
1008 (longopts): --skeleton is a new option.
1009 (shortopts, getargs): -S is a new option.
1010 * getargs.h: Declare skeleton.
1011 * output.c (output_parser): Use it.
1013 2001-03-16 Akim Demaille <akim@epita.fr>
1015 * m4/strerror_r.m4: New.
1016 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1017 * lib/error.h, lib/error.c: Update.
1019 2001-03-16 Akim Demaille <akim@epita.fr>
1021 * src/getargs.c (longopts): Clean up.
1023 2001-02-21 Akim Demaille <akim@epita.fr>
1025 * src/reader.c (gensym): `gensym_count' is your own.
1026 Use a static buf to create the symbol name, as token_buffer is no
1029 2001-02-08 Akim Demaille <akim@epita.fr>
1031 * src/conflicts.c (conflict_report): Be sure not to append to res
1032 between two calls, which could happen if both first sprintf were
1033 skipped, but not the first cp += strlen.
1035 2001-02-08 Akim Demaille <akim@epita.fr>
1037 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1038 New, from fileutils 4.0.37.
1039 * configure.in: Require Autoconf 2.49c. I took some time before
1040 making this decision. This is the only way out for portability
1041 issues in Bison, it would mean way too much duplicate effort to
1042 import in Bison features implemented in 2.49c since 2.13.
1043 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1045 2001-02-02 Akim Demaille <akim@epita.fr>
1047 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1048 * lib/xalloc.h, lib/xmalloc.c: Update.
1050 2001-01-19 Akim Demaille <akim@epita.fr>
1052 Get rid of the ad hoc handling of token_buffer in the scanner: use
1055 * src/lex.c (token_obstack): New.
1056 (init_lex): Initialize it. No longer call...
1057 (grow_token_buffer): this. Remove it.
1058 Adjust all the places which used it to use the obstack.
1060 2001-01-19 Akim Demaille <akim@epita.fr>
1062 * src/lex.h: Rename all the tokens:
1063 s/\bENDFILE\b/tok_eof/g;
1064 s/\bIDENTIFIER\b/tok_identifier/g;
1066 Let them be enums, not #define, to ease debugging.
1067 Adjust all the code.
1069 2001-01-18 Akim Demaille <akim@epita.fr>
1071 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1072 * src/lex.c (maxtoken, grow_token_buffer): Static.
1074 2001-01-18 Akim Demaille <akim@epita.fr>
1076 Since we now use obstacks, more % directives can be enabled.
1078 * src/lex.c (percent_table): Also accept `%yacc',
1079 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1081 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1082 instead of returning a token.
1083 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1084 * src/reader.c (read_declarations): Adjust.
1085 * src/files.c (open_files): Don't call `compute_base_names', don't
1086 compute `attrsfile' since they depend upon data which might be
1087 *in* the input file now.
1088 (output_files): Do it here.
1089 * src/output.c (output_headers): Document the fact that this patch
1090 introduces a guaranteed SEGV for semantic parsers.
1091 * doc/bison.texinfo: Document them.
1092 * tests/suite.at: Exercise these %options.
1094 2000-12-20 Akim Demaille <akim@epita.fr>
1096 Also handle the output file (--verbose) with obstacks.
1098 * files.c (foutput): Remove.
1099 (output_obstack): New.
1100 Adjust all dependencies.
1101 * src/conflicts.c: Return a string.
1102 * src/system.h (obstack_grow_string): Rename as...
1103 (obstack_sgrow): this. Be ready to work with non literals.
1104 (obstack_fgrow4): New.
1106 2000-12-20 Akim Demaille <akim@epita.fr>
1108 * src/files.c (open_files): Fix the computation of short_base_name
1109 in the case of `-o foo.tab.c'.
1111 2000-12-20 Akim Demaille <akim@epita.fr>
1113 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1114 (copy_dollar): Now that everything uses obstacks, get rid of the
1117 2000-12-20 Akim Demaille <akim@epita.fr>
1119 * src/files.c (open_files): Actually the `.output' file is based
1120 on the short_base_name, not base_name.
1121 * tests/suite.at (Checking output file names): Adjust.
1123 2000-12-20 Akim Demaille <akim@epita.fr>
1125 * src/bison.s1: Remove, we now use directly...
1126 * src/bison.simple: this.
1127 * src/Makefile.am: Use pkgdata instead of data.
1129 2000-12-20 Akim Demaille <akim@epita.fr>
1131 * src/files.c (guard_obstack): New.
1132 (open_files): Initialize it.
1133 (output_files): Dump it...
1134 * src/files.h: Export it.
1135 * src/reader.c (copy_guard): Use it.
1137 2000-12-19 Akim Demaille <akim@epita.fr>
1139 * src/files.c (outfile, defsfile, actfile): Removed as global
1141 (open_files): Don't compute them.
1142 (output_files): Adjust.
1143 (base_name, short_base_name): Be global.
1144 Adjust dependencies.
1146 2000-12-19 Akim Demaille <akim@epita.fr>
1148 * src/files.c (strsuffix): New.
1149 (stringappend): Be just like strcat but allocate.
1150 (base_names): Eve out from open_files.
1151 Try to simplify the rather hairy computation of base_name and
1153 (open_files): Use it.
1154 * tests/suite.at (Checking output file names): New test.
1156 2000-12-19 Akim Demaille <akim@epita.fr>
1158 * src/system.h (obstack_grow_literal_string): Rename as...
1159 (obstack_grow_string): this.
1160 * src/output.c (output_parser): Recognize `%% actions' instead of
1162 * src/bison.s1: s/$/%% actions/.
1163 * src/bison.hairy: Likewise.
1165 2000-12-19 Akim Demaille <akim@epita.fr>
1167 * src/output.c (output_parser): Compute the `#line' lines when
1169 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1170 Suggested by Hans Aberg.
1172 2000-12-19 Akim Demaille <akim@epita.fr>
1174 Let the handling of the skeleton files be local to the procedures
1177 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1179 (fparser, open_extra_files): Remove.
1180 (open_files, output_files): Don't take care of fparser.
1181 * src/files.h: Adjust.
1182 * src/output.c (output_parser): Open and close the file to the
1184 * src/reader.c (read_declarations): When %semantic_parser, open
1187 2000-12-19 Akim Demaille <akim@epita.fr>
1189 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1190 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1192 2000-12-19 Akim Demaille <akim@epita.fr>
1194 * src/files.c (open_files): Yipee! We no longer need all the code
1195 looking for `/tmp' since we have no tmp file.
1197 2000-12-19 Akim Demaille <akim@epita.fr>
1199 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1201 * src/files.c (open_files): Less dependency on MSDOS etc.
1203 2000-12-14 Akim Demaille <akim@epita.fr>
1205 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1206 Provide a default definition.
1207 Use it when executing the default @ action.
1208 * src/reader.c (reader_output_yylsp): No longer include
1209 `timestamp' and `text' in the default YYLTYPE.
1211 2000-12-12 Akim Demaille <akim@epita.fr>
1213 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1214 (copy_guard): Quote the file names.
1215 Reported by Laurent Mascherpa.
1217 2000-12-12 Akim Demaille <akim@epita.fr>
1219 * src/output.c (output_headers, output_program, output): Be sure
1220 to escape special characters when outputting filenames.
1221 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1222 (output_headers): Don't depend on them, Use ACTSTR.
1224 2000-11-17 Akim Demaille <akim@epita.fr>
1226 * lib/obstack.h: Formatting changes.
1227 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1228 prevents type checking.
1229 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1230 cast the value to (void *): assigning a `foo *' to a `void *'
1232 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1233 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1236 2000-11-17 Akim Demaille <akim@epita.fr>
1238 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1240 (suite.m4, regression.m4, calc.m4): these.
1241 * tests/atgeneral.m4: Update from CVS Autoconf.
1243 2000-11-17 Akim Demaille <akim@epita.fr>
1245 * tests/regression.m4 (%union and --defines): New test,
1246 demonstrating a current bug in the obstack implementation.
1248 2000-11-17 Akim Demaille <akim@epita.fr>
1250 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1252 Use them to declare the variables which are global or local to
1255 2000-11-17 Akim Demaille <akim@epita.fr>
1257 * acconfig.h: Remove, no longer used.
1259 2000-11-07 Akim Demaille <akim@epita.fr>
1261 * src: s/Copyright (C)/Copyright/g.
1263 2000-11-07 Akim Demaille <akim@epita.fr>
1265 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1267 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1269 2000-11-07 Akim Demaille <akim@epita.fr>
1271 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1272 Merge in a single CPP if/else.
1274 2000-11-07 Akim Demaille <akim@epita.fr>
1276 * src/output.c (output): Remove useless variables.
1277 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1278 argument `data' for consistency with the prototypes.
1280 (obstack_copy, obstack_copy0): Rename the second argument as
1281 `address' for consistency. Qualify it `const'.
1282 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1283 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1284 `const' their input argument (`data' or `address').
1285 Adjust the corresponding macros to include `const' in casts.
1287 2000-11-03 Akim Demaille <akim@epita.fr>
1289 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1290 s/PFILE1/BISON_HAIRY/.
1291 Adjust dependencies.
1293 2000-11-03 Akim Demaille <akim@epita.fr>
1295 For some reason, this was not applied.
1297 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1298 `unlink': it's no longer used.
1300 2000-11-03 Akim Demaille <akim@epita.fr>
1302 * src/files.c (skeleton_find): New function, eved out of...
1303 (open_files, open_extra_files): here.
1305 2000-11-03 Akim Demaille <akim@epita.fr>
1309 * src/files.c (obstack_save): New function.
1310 (done): Rename as...
1311 (output_files): this.
1313 * src/main.c (main): Don't use `atexit' to register `done', since
1314 it no longer has to remove tmp files, just call `output_files'
1315 when there are no errors.
1317 2000-11-02 Akim Demaille <akim@epita.fr>
1319 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1320 `unlink': it's no longer used.
1321 * src/files.h: Formatting changes.
1323 2000-11-02 Akim Demaille <akim@epita.fr>
1325 Remove the last uses of mktemp and unlink/delete.
1327 * src/files.c (fdefines, ftable): Removed.
1328 (defines_ostack, table_obstack): New.
1329 Adjust dependencies of the former into uses of the latter.
1330 * src/output.c (output_short_or_char_table, output_short_table):
1331 Convert to using obstacks.
1332 * src/reader.c (copy_comment2): Accept one FILE * and two
1334 (output_token_defines, reader_output_yylsp): Use obstacks.
1335 * src/system.h (obstack_fgrow3): New.
1337 2000-11-01 Akim Demaille <akim@epita.fr>
1339 Change each use of `fattrs' into a use of `attrs_obstack'.
1341 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1342 * src/files.c (fattrs): Remove.
1343 (attrs_obstack): New.
1344 Adjust all dependencies.
1345 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1347 2000-11-01 Akim Demaille <akim@epita.fr>
1350 Change each use of `faction' into a use of `action_obstack'.
1352 * lib/obstack.h, lib/obstack.c: New files.
1353 * src/files.c (faction): Remove.
1354 (action_obstack): New.
1355 Adjust all dependencies.
1357 2000-10-20 Akim Demaille <akim@epita.fr>
1359 * lib/quote.h (PARAMS): New macro. Use it.
1361 2000-10-16 Akim Demaille <akim@epita.fr>
1363 * src/output.c (output_short_or_char_table): New function.
1364 (output_short_table, output_token_translations): Use it.
1365 (goto_actions): Use output_short_table.
1367 2000-10-16 Akim Demaille <akim@epita.fr>
1369 * src/symtab.c (bucket_new): New function.
1372 * src/output.c (output_short_table): New argument to display the
1373 comment associated with the table.
1374 Adjust dependencies.
1375 (output_gram): Use it.
1376 (output_rule_data): Nicer output layout for YYTNAME.
1378 2000-10-16 Akim Demaille <akim@epita.fr>
1380 * src/lex.c (read_typename): New function.
1382 * src/reader.c (copy_dollar): Likewise.
1384 2000-10-16 Akim Demaille <akim@epita.fr>
1386 * src/reader.c (copy_comment2): Expect the input stream to be on
1387 the `/' which is suspected to open a comment, instead of being
1388 called after `//' or `/*' was read.
1389 (copy_comment, copy_definition, parse_union_decl, copy_action)
1390 (copy_guard): Adjust.
1392 2000-10-16 Akim Demaille <akim@epita.fr>
1394 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1395 `read_signed_integer'.
1397 2000-10-16 Akim Demaille <akim@epita.fr>
1399 * src/reader.c (copy_dollar): New function.
1400 (copy_guard, copy_action): Use it.
1402 2000-10-16 Akim Demaille <akim@epita.fr>
1404 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1405 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1406 New files, from Fileutils 4.0.27.
1407 * src/main.c (printable_version): Remove.
1408 * src/lex.c, src/reader.c: Use `quote'.
1410 2000-10-04 Akim Demaille <akim@epita.fr>
1412 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1414 2000-10-04 Akim Demaille <akim@epita.fr>
1416 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1418 2000-10-04 Akim Demaille <akim@epita.fr>
1420 When a literal string is used to define two different tokens,
1421 `bison -v' segfaults.
1422 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1424 * tests/regression.m4: New file.
1425 Include the core of the sample provided by Piotr Gackiewicz.
1426 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1429 2000-10-04 Akim Demaille <akim@epita.fr>
1431 * src/reader.c (parse_expect_decl): Keep `count' within the size
1435 2000-10-02 Paul Eggert <eggert@twinsun.com>
1437 * bison.s1 (yyparse): Assign the default value
1438 unconditionally, to avoid a GCC warning and make the parser a
1441 2000-10-02 Akim Demaille <akim@epita.fr>
1443 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1446 2000-10-02 Akim Demaille <akim@epita.fr>
1448 * src/derives.c, src/print.c, src/reduce.c: To ease the
1449 translation, move some `\n' out of the translated strings.
1451 2000-10-02 Akim Demaille <akim@epita.fr>
1453 The location tracking mechanism is precious for parse error
1454 messages. Nevertheless, it is enabled only when `@n' is used in
1455 the grammar, which is a different issue (you can use it in error
1456 message, but not in the grammar per se). Therefore, there should
1457 be another means to enable it.
1459 * src/getargs.c (getargs): Support `--locations'.
1461 * src/getargs.h (locationsflag): Export it.
1462 * src/lex.c (percent_table): Support `%locations'.
1463 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1464 with `locationsflag'.
1465 * doc/bison.texinfo: Document `--locations' and `%locations'.
1467 * tests/calc.m4: Test it.
1469 For regularity of the names, replace each
1470 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1471 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1472 In addition replace each `flag' with `_flag'.
1474 2000-10-02 Akim Demaille <akim@epita.fr>
1476 Also test parse error messages, including with YYERROR_VERBOSE.
1478 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1480 Use it to check the computations.
1481 Use it to check `nonassoc' is honored.
1482 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1483 `--yyerror-verbose'.
1484 (_AT_CHECK_CALC): Adjust to this option.
1485 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1487 2000-10-02 Akim Demaille <akim@epita.fr>
1489 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1490 the latter demonstrates a flaw in the handling of non debugging
1491 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1492 was used in order to simplify:
1508 unfortunately this leads to a CPP conflict when
1509 `--name-prefix=foo' is used since it produces `#define yydebug
1512 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1513 (YYDPRINTF): New macro.
1515 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1517 Also test `--verbose', `--defines' and `--name-prefix'.
1519 2000-10-02 Akim Demaille <akim@epita.fr>
1521 Improve the readability of the produced parsers.
1523 * src/bison.s1: Formatting changes.
1524 Improve the comment related to the `$' mark.
1525 (yydefault): Don't fall through to `yyresume': `goto' there.
1526 * src/output.c (output_parser): When the `$' is met, skip the end
1528 New variable, `number_of_dollar_signs', to check there's exactly
1529 one `$' in the parser skeleton.
1531 2000-10-02 Akim Demaille <akim@epita.fr>
1533 * lib/xstrdup.c: New file, from the fileutils.
1534 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1535 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1536 instead of strlen + xmalloc + strcpy.
1537 * src/symtab.c (copys): Remove, use xstrdup instead.
1539 2000-10-02 Akim Demaille <akim@epita.fr>
1541 * src/gram.h (associativity): New enum type which replaces the
1542 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1543 `right_assoc', `left_assoc' and `non_assoc'.
1544 Adjust all dependencies.
1545 * src/reader.c: Formatting changes.
1546 (LTYPESTR): Don't define it, use it as a literal in
1547 `reader_output_yylsp'.
1548 * src/symtab.h (symbol_class): New enum type which replaces the
1549 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1550 `sunknown', `stoken and `snterm'.
1552 2000-10-02 Akim Demaille <akim@epita.fr>
1554 * src/getargs.c (fixed_outfiles): Rename as...
1555 (yaccflag): for consistency and accuracy.
1556 Adjust dependencies.
1558 2000-10-02 Akim Demaille <akim@epita.fr>
1560 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1561 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1562 difficult and introduced a lot of core dump. It turns out that
1563 Bison used an implementation of `xmalloc' based on `calloc', and
1564 at various places it does depend upon the initialization to 0. I
1565 have not tried to isolate the pertinent places, and all the former
1566 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1567 someone should address this issue.
1569 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1570 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1572 Adjust dependencies.
1573 * src/warshall.h: New file.
1576 2000-10-02 Akim Demaille <akim@epita.fr>
1578 Various anti-`extern in *.c' changes.
1580 * src/system.h: Include `assert.h'.
1582 2000-10-02 Akim Demaille <akim@epita.fr>
1584 * src/state.h (nstates, final_state, first_state, first_shift)
1585 (first_reduction): Move their exportation from here...
1586 * src/LR0.h: to here.
1587 Adjust dependencies.
1588 * src/getargs.c (statisticsflag): New variable.
1589 Add support for `--statistics'.
1590 Adjust dependencies.
1592 Remove a lot of now useless `extern' statements in most files.
1594 2000-10-02 Akim Demaille <akim@epita.fr>
1596 * src/LR0.h: New file.
1599 2000-10-02 Akim Demaille <akim@epita.fr>
1601 * src/print.h: New file.
1603 * src/print.c: Formatting and ordering changes.
1604 (verbose, terse): Replace with...
1605 (print_results): this new function.
1606 Adjust dependencies.
1608 2000-10-02 Akim Demaille <akim@epita.fr>
1610 * src/conflicts.c (conflict_report): New function.
1611 (conflict_log, verbose_conflict_log): Replace with...
1612 (print_conflicts): this function.
1613 Adjust dependencies.
1614 * src/conflicts.h: New file.
1615 Propagate its inclusion.
1617 2000-10-02 Akim Demaille <akim@epita.fr>
1619 * src/nullable.h: New file.
1620 Propagate its inclusion.
1621 * src/nullable.c: Formatting changes.
1623 2000-10-02 Akim Demaille <akim@epita.fr>
1625 * src/reduce.h: New file.
1626 Propagate its inclusion.
1627 * src/reduce.c: Topological sort and other formatting changes.
1628 (bool, TRUE, FALSE): Move their definition to...
1629 * src/system.h: here.
1631 2000-10-02 Akim Demaille <akim@epita.fr>
1633 * src/files.c: Formatting changes.
1634 (tryopen, tryclose, openfiles): Rename as...
1635 (xfopen, xfclose, open_files): this.
1636 (stringappend): static.
1637 * src/files.h: Complete the list of exported symbols.
1640 2000-10-02 Akim Demaille <akim@epita.fr>
1642 * src/reader.h: New file.
1643 Propagate its use instead of tedious list of `extern' and
1645 * src/reader.c: Formatting changes, topological sort,
1648 2000-10-02 Akim Demaille <akim@epita.fr>
1650 * src/lex.h: Prototype `lex.c' exported functions.
1651 * src/reader.c: Adjust.
1652 * src/lex.c: Formatting changes.
1653 (safegetc): Rename as...
1656 2000-10-02 Akim Demaille <akim@epita.fr>
1658 * src/lalr.h: New file.
1659 Propagate its inclusion instead of prototypes and `extern'.
1660 * src/lalr.c: Formatting changes, topological sorting etc.
1662 2000-10-02 Akim Demaille <akim@epita.fr>
1664 * src/output.c (token_actions): Introduce a temporary array,
1665 YYDEFACT, that makes it possible for this function to use
1668 2000-10-02 Akim Demaille <akim@epita.fr>
1670 `user_toknums' is output as a `short[]' in `output.c', while it is
1671 defined as a `int[]' in `reader.c'. For consistency with the
1672 other output tables, `user_toknums' is now defined as a table of
1675 * src/reader.c (user_toknums): Be a short table instead of an int
1677 Adjust dependencies.
1679 Factor the short table outputs.
1681 * src/output.c (output_short_table): New function.
1682 * src/output.c (output_gram, output_stos, output_rule_data)
1683 (output_base, output_table, output_check): Use it.
1685 2000-10-02 Akim Demaille <akim@epita.fr>
1687 * src/output.c (output): Topological sort of the functions, in
1688 order to get rid of the `static' prototypes.
1689 No longer use `register'.
1690 * src/output.h: New file.
1691 Propagate its inclusion in files explicitly prototyping functions
1694 2000-09-21 Akim Demaille <akim@epita.fr>
1696 * src/atgeneral.m4: Update from Autoconf.
1698 2000-09-21 Akim Demaille <akim@epita.fr>
1700 * src/closure.h: New file.
1701 * src/closure.c: Formatting changes, topological sort over the
1702 functions, use of closure.h.
1703 (initialize_closure, finalize_closure): Rename as...
1704 (new_closure, free_closure): these. Adjust dependencies.
1705 * src/LR0.c: Formatting changes, topological sort, use of
1707 (initialize_states): Rename as...
1709 * src/Makefile.am (noinst_HEADERS): Adjust.
1711 2000-09-20 Akim Demaille <akim@epita.fr>
1713 * src/acconfig.h: Don't protect config.h against multiple
1715 Don't define PARAMS.
1716 * src/system.h: Define PARAMS.
1717 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1718 purpose of config.h. system.h must not try to fix wrong
1719 definitions in config.h.
1721 2000-09-20 Akim Demaille <akim@epita.fr>
1723 * src/derives.h: New file.
1724 * src/main.c, src/derives.h: Use it.
1726 * src/Makefile.am (noinst_HEADERS): Adjust.
1728 2000-09-20 Akim Demaille <akim@epita.fr>
1730 * tests/atgeneral.m4: Update from Autoconf.
1731 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1732 (AT_CHECK_CALC): New macros.
1733 Use these macros to test bison with options `', `--raw',
1734 `--debug', `--yacc', `--yacc --debug'.
1736 2000-09-19 Akim Demaille <akim@epita.fr>
1738 * src/output.c: Formatting changes.
1739 * src/machine.h: Remove, leaving its contents in...
1740 * src/system.h: here.
1742 Adjust all dependencies on stdio.h and machine.h.
1743 * src/getargs.h: New file.
1744 Let all `extern' declarations about getargs.c be replaced with
1745 inclusion of `getargs.h'.
1746 * src/Makefile.am (noinst_HEADERS): Adjust.
1748 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1750 (yyerror): Returns void, not int.
1751 * doc/bison.texinfo: Formatting changes.
1753 2000-09-19 Akim Demaille <akim@epita.fr>
1755 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1758 2000-09-18 Akim Demaille <akim@epita.fr>
1760 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1761 * src/Makefile.am (INCLUDES): Don't.
1762 Be ready to fetch headers in lib/.
1764 2000-09-18 Akim Demaille <akim@epita.fr>
1766 * doc/bison.texinfo: Update the copyright.
1767 ANSIfy and GNUify the examples.
1768 Remove the old menu.
1770 2000-09-18 Akim Demaille <akim@epita.fr>
1772 First set of tests: use the `calc' example from the documentation.
1774 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1775 is defined only when YYDEBUG is.
1776 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1777 * src/files.c (tryopen, tryclose): Formatting changes.
1778 Move to the top and be static.
1779 * src/reader.c (read_signed_integer): Likewise.
1780 * tests/calc.m4: New file.
1781 * Makefile.am, suite.m4: Adjust.
1782 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1784 2000-09-18 Akim Demaille <akim@epita.fr>
1786 Add support for an Autotest test suite for Bison.
1788 * m4/m4.m4, m4/atconfig.m4: New files.
1789 * m4/Makefile.am (EXTRA_DIST): Adjust.
1790 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1792 * src/getargs.c: Display a more standard --version message.
1793 * src/reader.c (reader): Formatting changes.
1794 No longer depend upon VERSION_STRING.
1795 * configure.in: No longer use `dnl'.
1796 Set up the test suite and the new directory `tests/.
1797 (VERSION_STRING): Remove.
1799 2000-04-14 Akim Demaille <akim@epita.fr>
1801 * src/reader.c (copy_comment2): New function, same as former
1802 `copy_comment', but outputs into two FILE *.
1803 (copy_comment): Use it.
1804 (parse_union_decl): Use it.
1805 (get_type, parse_start_decl): Use the same `invalid' message.
1806 (parse_start_decl, parse_union_decl): Use the same `multiple'
1808 (parse_union_decl, copy_guard, copy_action): Use the same
1809 `unmatched' message.
1810 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1812 2000-03-31 Akim Demaille <akim@epita.fr>
1814 * src/files.c (tryopen, tryclose): Move to the top.
1817 2000-03-31 Akim Demaille <akim@epita.fr>
1819 * src/main.c (main): Don't call `done', exit does it.
1821 2000-03-31 Akim Demaille <akim@epita.fr>
1823 * allocate.c: s/return (foo)/return foo/.
1826 * output.c: Likewise.
1827 * reader.c: Likewise.
1828 * symtab.c: Likewise.
1829 * vmsgetargs.c: Likewise.
1831 2000-03-31 Akim Demaille <akim@epita.fr>
1833 Clean up the error reporting functions.
1835 * src/report.c: New file.
1836 * src/report.h: Likewise.
1837 * src/Makefile.am: Adjust.
1838 * m4/error.m4: New file.
1839 * m4/Makefile.am: Adjust.
1840 * configure.in (jm_PREREQ_ERROR): Call it.
1841 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1843 (fatal, fatals): Remove. All callers use complain.c::fatal.
1844 (warn, warni, warns, warnss, warnss): Remove. All callers use
1845 complain.c::complain.
1846 (toomany): Remove, use fatal instead.
1847 * src/files.c (done): No argument, use complain_message_count.
1848 * src/main.c (main): Register `done' to `atexit'.
1850 * src/getargs.c (usage): More `fputs', less `fprintf'.
1852 2000-03-28 Akim Demaille <akim@epita.fr>
1854 * lib/: New directory.
1855 * Makefile.am (SUBDIRS): Adjust.
1856 * configure.in: Adjust.
1857 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1859 * src/alloca.c: Moved to lib/.
1860 * src/getopt.c: Likewise.
1861 * src/getopt1.c: Likewise.
1862 * src/getopt.h: Likewise.
1863 * src/ansi2knr.c: Likewise.
1864 * src/ansi2knr.1: Likewise.
1865 * src/Makefile.am: Adjust.
1866 * lib/Makefile.am: New file.
1868 2000-03-28 Akim Demaille <akim@epita.fr>
1870 * src/getargs.c (usage): Refresh the help message.
1872 2000-03-17 Akim Demaille <akim@epita.fr>
1874 * src/getopt1.c: Updated from textutils 2.0e
1875 * src/getopt.c: Likewise.
1876 * src/getopt.h: Likewise.
1878 2000-03-17 Akim Demaille <akim@epita.fr>
1880 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1881 the file name, not the whole `#line LINE FILE'.
1883 2000-03-17 Akim Demaille <akim@epita.fr>
1885 On syntax errors, report the token on which we choked.
1887 * src/bison.s1 (yyparse): In the label yyerrlab, when
1888 YYERROR_VERBOSE, add yychar in msg.
1890 2000-03-17 Akim Demaille <akim@epita.fr>
1892 * src/reader.c (copy_at): New function.
1893 (copy_guard): Use it.
1894 (copy_action): Use it.
1896 2000-03-17 Akim Demaille <akim@epita.fr>
1898 Be kind to translators, save some useless translations.
1900 * src/main.c (banner): New function.
1901 (fatal_banner): Use it.
1902 (warn_banner): Use it.
1904 2000-03-17 Akim Demaille <akim@epita.fr>
1906 * src/reader.c (copy_definition): Use copy_string and
1907 copy_comment. Removed now unused `match', `ended',
1909 (copy_comment, copy_string): Moved, to be visible from
1912 2000-03-17 Akim Demaille <akim@epita.fr>
1914 * src/reader.c (copy_string): Declare `static inline'. No
1915 problems with inline, since it is checked by configure.
1916 (copy_comment): Likewise.
1918 2000-03-17 Akim Demaille <akim@epita.fr>
1920 * src/reader.c (packsymbols): Formatting changes.
1922 2000-03-17 Akim Demaille <akim@epita.fr>
1924 * src/reader.c (copy_comment): New function, factored out from:
1925 (copy_action): Use it. Removed now unused `match', `ended',
1927 (copy_guard): Likewise.
1929 2000-03-17 Akim Demaille <akim@epita.fr>
1931 * src/reader.c (copy_string): New function, factored out from:
1932 (copy_action): Use it.
1933 (copy_guard): Likewise.
1935 2000-03-17 Akim Demaille <akim@epita.fr>
1937 Change the handling of @s so that they behave exactly like $s.
1938 There is now a pseudo variable @$ (readble and writable), location
1939 of the lhs of the rule (by default ranging from the location of
1940 the first symbol of the rhs, to the location of the last symbol,
1941 or, if the rhs is empty, YYLLOC).
1943 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1945 (yyparse): When providing a default semantic action, provide a
1946 default location action.
1947 (after the $): No longer change `*YYLSP', just stack YYLOC the
1948 same way you stack YYVAL.
1949 * src/reader.c (read_declarations): Use warns.
1950 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1951 (copy_action, case '@'): Likewise.
1952 Use a standard error message, to save useless work from
1955 2000-03-17 Akim Demaille <akim@epita.fr>
1957 * src/bison.s1: Formatting and cosmetics changes.
1958 * src/reader.c: Likewise.
1959 Update the Copyright notice.
1961 2000-03-17 Akim Demaille <akim@epita.fr>
1963 * src/bison.s1 (#line): All set to `#line' only, since the
1964 Makefile now handles them.
1966 2000-03-16 Akim Demaille <akim@epita.fr>
1968 * src/output.c (output_rule_data): Output the documentation of
1970 (Copyright notice): Update.
1973 2000-03-16 Akim Demaille <akim@epita.fr>
1975 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1976 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1977 One `#if YYDEBUG' remains, since it uses variables which are
1978 defined only if `YYDEBUG != 0'.
1980 2000-03-16 Akim Demaille <akim@epita.fr>
1982 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1983 and related variables so that the similarities are highlighted.
1985 2000-03-16 Akim Demaille <akim@epita.fr>
1987 * src/bison.s1: Properly indent CPP directives.
1989 2000-03-16 Akim Demaille <akim@epita.fr>
1991 * src/bison.s1: Properly indent the `alloca' CPP section.
1993 2000-03-16 Akim Demaille <akim@epita.fr>
1995 Do not hard code values of directories in `configure.in'.
1996 Update the `configure' tool chain.
1998 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2000 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2001 (AC_OUTPUT): Add m4/Makefile.
2002 Bump to bison 1.28a, 1.29 has never been released.
2003 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2004 handled via src/Makefile.am.
2005 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2006 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2008 * Makefile.am (SUBDIRS): Add m4.
2009 (ACLOCAL_AM_FLAGS): New variable.
2010 (AUTOMAKE_OPTIONS): Add check-news.
2011 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2012 the proper line number and file name.
2013 (DEFS): Propagate the location of bison library files and of the
2015 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2017 * acinclude.m4: Remove, replaced by the directory m4.
2018 * m4/Makefile.am (EXTRA_DIST): New variable.
2019 * m4/gettext.m4: New file, from the fileutils.
2020 * m4/lcmessage.m4: Likewise
2021 * m4/progtest.m4: Likewise.
2022 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2024 2000-03-10 Akim Demaille <akim@epita.fr>
2027 Formatting changes of various comments.
2028 Respect the GNU coding standards at various places.
2029 Don't use `_()' when no translation is needed.
2031 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2034 OS/2 honors TMPDIR environment variable.
2036 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2038 * doc/bison.texinfo: Tweaked spelling and grammar.
2040 Removed reference to price of printed copy.
2041 Mention BISON_SIMPLE and BISON_HAIRY.
2043 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2045 * configure.in, NEWS:
2046 Bison 1.29 released.
2048 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2050 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2051 Added reference card.
2053 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2055 * po/ru.po: Added Russian translation.
2057 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2059 * configure.in: Added Russian translation.
2061 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2063 * configure.in, NEWS, README:
2064 Released version 1.28.
2066 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2069 Squashed redefinition warning on some systems.
2071 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2072 Have configure build version string instead of relying on ANSI string
2075 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2077 * po/POTFILES.in: Got rid of version.c.
2079 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2081 * acconfig.h, configure.in:
2082 Have configure build version string instead of relying on ANSI string
2085 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2088 Dropped mention of `+' for long-named options.
2090 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2092 * src/files.c: Added <unistd.h> for unlink().
2094 * src/Makefile.am, src/system.h:
2097 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2099 * README: Added a FAQ list.
2101 * configure.in, acconfig.h:
2104 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2106 * doc/FAQ, doc/Makefile.am:
2109 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2111 * src/alloc.h, src/symtab.h, src/version.c:
2112 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2114 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2116 * src/.cvsignore, src/Makefile.am:
2117 Reorganized: sources in `src', documentation in `doc'.
2119 * src/lex.c (literalchar):
2120 fixed the code for escaping double quotes (thanks
2123 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2125 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2126 Adjusted paths to reflect directory reorganization.
2128 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2130 * doc/.cvsignore, doc/Makefile.am:
2131 Reorganized: sources in `src', documentation in `doc'.
2133 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2136 Updated AC_INIT file to reflect directory reorganization.
2138 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2139 Reorganized: sources in `src', documentation in `doc'.
2141 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2144 Don't declare calloc() and realloc() if not necessary.
2146 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2148 * configure.in, acconfig.h, acinclude.m4:
2149 Don't declare calloc() and realloc() if not necessary.
2151 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2153 * po/.cvsignore: Added i18n support.
2155 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2157 * acconfig.h, configure.in, Makefile.am:
2160 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2162 * src/bison.s1: Fixed #line numbers.
2164 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2166 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2167 Added PO files from Translation Project.
2169 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2172 Added support for non-ANSI compilers (ansi2knr).
2174 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2176 * configure.in: Bumped version number to 1.27.
2179 Added `bison.simple' to list of files removed by `make distclean'.
2181 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2183 * src/files.c, src/files.h:
2184 Defined locations of parser files in config.h instead of Makefile.
2186 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2188 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2189 Defined locations of parser files in config.h instead of Makefile.
2191 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2194 Removed inappropriate use of $< macro.
2196 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2198 * po/Makefile.in.in, po/POTFILES.in:
2199 Add `po' directory skeleton.
2201 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2203 * README: Document help-bison list.
2205 * configure.in: Add check for mkstemp().
2207 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2209 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2210 Hush a few compiler warnings.
2213 Add tryclose(), which verifies that fclose was successful.
2214 Hush a couple of compiler warnings.
2216 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2218 * Makefile.am, OChangeLog:
2219 ChangeLog is now automatically generated. Include the old version as
2222 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2224 * 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:
2227 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2229 * doc/bison.texinfo: Fix formatting glitch.
2231 * doc/bison.texinfo: Update FSF address.
2233 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2235 * acconfig.h: Update FSF address.
2237 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2240 Don't define PACKAGE here, since config.h defines it.
2242 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2244 * src/reader.c: Update copyright date.
2247 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2248 favor of output directly to stderr (avoids buffer overruns).
2250 * src/reader.c: Some checks for premature EOF.
2252 * 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:
2253 Use prototypes if the compiler understands them.
2255 * src/files.c: Honor TMPDIR on Unix hosts.
2256 Use prototypes if the compiler understands them.
2259 Fix a couple of buffer overrun bugs.
2260 Use prototypes if the compiler understands them.
2262 * src/system.h: Include unistd.h and ctype.h.
2263 Use #ifdef instead of #if for NLS symbols.
2265 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2267 * doc/bison.texinfo:
2268 Delete comment "consider using @set for edition number, etc..." since
2269 we now are doing so.
2271 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2274 Use prototypes if the compiler understands them.
2276 * NEWS: Document 1.26 highlights.
2278 * Makefile.am: Require Automake 1.3 or later.
2281 Use prototypes if the compiler understands them.
2283 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2286 Use VERSION symbol from automake for version number.
2288 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2290 * acconfig.h, configure.in, version.cin:
2291 Use VERSION symbol from automake for version number.
2293 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2296 Distribute original version of simple parser (bison.s1), not built
2297 version (bison.simple).
2299 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2301 * doc/bison.texinfo: Add info dir entry.
2303 * doc/bison.texinfo:
2304 Let automake put version number into documentation.
2306 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2308 * src/bison.cld, src/build.com, src/vmshlp.mar:
2309 Add non-RCS files from /gd/gnu/bison.
2311 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2314 Document the BISON_HAIRY and BISON_SIMPLE variables.
2316 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2318 * src/version.c: Build version.c automatically.
2321 Fix token numbering (used to start at 258, not 257).
2323 * src/system.h: Include config.h.
2325 * src/getargs.c: Update bug report address.
2327 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2328 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2330 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2333 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2335 * configure.in, version.cin:
2336 Build version.c automatically.
2338 * AUTHORS: Add AUTHORS file.
2340 * README: Update bug report address.
2343 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2345 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2348 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2350 * doc/bison.texinfo: Clean up some formatting.
2352 1998-05-05 Richard Stallman <rms@gnu.org>
2354 * doc/bison.texinfo:
2355 Explain better why to make a pure parser.
2357 1998-01-05 Richard Stallman <rms@gnu.org>
2359 * src/files.c (openfiles):
2360 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2361 find a temporary directory, if possible. Do not unlink files while
2364 1997-08-25 Richard Stallman <rms@gnu.org>
2366 * src/reader.c (stack_offset;):
2367 Change some warni to warns.
2369 * src/lex.c (literalchar): Use warns, not warni.
2371 1997-06-28 Richard Stallman <rms@gnu.org>
2373 * src/bison.s1: Add a Bison version comment.
2375 * src/main.c (fatal, warn, berror):
2378 1997-06-28 Richard Stallman <rms@gnu.org>
2380 * Makefile.in (bison_version): New variable.
2381 (dist): Use that variable.
2382 (bison.s1): Substitute the Bison version into bison.simple.
2384 * bison.simple: Add a Bison version comment.
2386 1997-06-18 Richard Stallman <rms@gnu.org>
2388 * src/main.c (fatal, warn, berror):
2389 Make error messages standard.
2390 (toomany): Improve error message text.
2392 * 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:
2393 new.h renamed to alloc.h.
2395 1997-06-18 Richard Stallman <rms@gnu.org>
2397 * Makefile.in: new.h renamed to alloc.h.
2399 1997-05-24 Richard Stallman <rms@gnu.org>
2401 * src/lex.c (literalchar):
2402 Fix the code for escaping \, " and '.
2404 (lex): Avoid trouble when there are many chars
2405 to discard in a char literal with just several chars in it.
2407 1997-05-17 Richard Stallman <rms@gnu.org>
2410 Use malloc, if using alloca is troublesome.
2411 (YYSTACK_USE_ALLOCA): New flag macro.
2412 Define it for some systems and compilers.
2413 (YYSTACK_ALLOC): New macro.
2414 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2415 If it was malloc'd, free it.
2417 1997-05-17 Richard Stallman <rms@gnu.org>
2420 Use malloc, if using alloca is troublesome.
2421 (YYSTACK_USE_ALLOCA): New flag macro.
2422 Define it for some systems and compilers.
2423 (YYSTACK_ALLOC): New macro.
2424 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2425 If it was malloc'd, free it.
2427 1997-04-23 Richard Stallman <rms@gnu.org>
2430 (alloca) [__hpux]: Always define as __builtin_alloca.
2432 1997-04-23 Richard Stallman <rms@gnu.org>
2435 (alloca) [__hpux]: Always define as __builtin_alloca.
2437 1997-04-22 Richard Stallman <rms@gnu.org>
2440 [__hpux]: Include alloca.h (right for HPUX 10)
2441 instead of declaring alloca (right for HPUX 9).
2443 * src/bison.s1 (__yy_memcpy):
2444 Declare arg `count' as unsigned int.
2445 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2447 1997-04-22 Richard Stallman <rms@gnu.org>
2450 [__hpux]: Include alloca.h (right for HPUX 10)
2451 instead of declaring alloca (right for HPUX 9).
2453 * bison.simple (__yy_memcpy):
2454 Declare arg `count' as unsigned int.
2455 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2457 1997-01-03 Richard Stallman <rms@gnu.org>
2459 * src/allocate.c: [__STDC__ or _MSC_VER]:
2460 Declare calloc and realloc to return void *.
2462 1997-01-02 Richard Stallman <rms@gnu.org>
2465 [_MSC_VER]: Include stdlib.h and process.h.
2466 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2468 * src/main.c (main): Return FAILURE as a value.
2469 (printable_version): Declare arg as int, not char.
2471 1997-01-02 Richard Stallman <rms@gnu.org>
2473 * Makefile.in (dist):
2474 Explicitly check for symlinks, and copy them.
2476 1996-12-19 Richard Stallman <rms@gnu.org>
2479 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2481 1996-12-18 Paul Eggert <eggert@gnu.org>
2483 * src/bison.s1 (yyparse):
2484 If __GNUC__ and YYPARSE_PARAM are both defined,
2485 declare yyparse to have a void * argument.
2487 1996-12-18 Paul Eggert <eggert@gnu.org>
2489 * bison.simple (yyparse):
2490 If __GNUC__ and YYPARSE_PARAM are both defined,
2491 declare yyparse to have a void * argument.
2493 1996-12-17 Richard Stallman <rms@gnu.org>
2495 * src/reduce.c (nbits): Add some casts.
2497 1996-08-12 Richard Stallman <rms@gnu.org>
2499 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2501 1996-08-12 Richard Stallman <rms@gnu.org>
2503 * bison.simple: Test _MSDOS as well as _MSDOS_.
2505 1996-07-31 Richard Stallman <rms@gnu.org>
2508 [__sun && __i386]: Include alloca.h.
2510 1996-07-31 Richard Stallman <rms@gnu.org>
2513 [__sun && __i386]: Include alloca.h.
2515 1996-07-30 Richard Stallman <rms@gnu.org>
2517 * src/bison.s1: Comment change.
2519 * src/bison.s1: Test _MSDOS_, not MSDOS.
2521 1996-07-30 Richard Stallman <rms@gnu.org>
2523 * bison.simple: Comment change.
2525 * bison.simple: Test _MSDOS_, not MSDOS.
2527 1996-06-01 Richard Stallman <rms@gnu.org>
2529 * 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:
2530 Insert `_' macro around many string constants.
2533 Insert `_' macro around many string constants.
2535 (main): Call setlocale, bindtextdomain and textdomain.
2537 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2538 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2539 [ENABLE_NLS]: Include libintl.h.
2540 [ENABLE_NLS] (gettext): Define.
2541 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2542 (N_, PACKAGE, LOCALEDIR): New macros.
2544 1996-06-01 Richard Stallman <rms@gnu.org>
2546 * POTFILES.in: New file.
2548 * Makefile.in (allocate.o):
2549 Define target explicitly.
2551 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2552 (LDFLAGS): Set to @LDFLAGS@.
2553 (configure): Run autoconf only if preceding `cd' succeeds.
2554 (bison.s1): Redirect output to temporary file then move the
2555 temporary to the target, rather than redirecting directly to bison.s1.
2556 (clean): Remove config.status and config.log.
2557 (distclean): Don't remove config.status here.
2559 1996-05-12 Richard Stallman <rms@gnu.org>
2562 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2564 1996-05-12 Richard Stallman <rms@gnu.org>
2567 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2569 1996-05-11 Richard Stallman <rms@gnu.org>
2571 * src/bison.s1 (__yy_memcpy):
2572 Really reorder the args, as was supposedly done on Feb 14 1995.
2573 (yyparse): Calls changed accordingly.
2575 1996-05-11 Richard Stallman <rms@gnu.org>
2577 * Makefile.in (dist): Don't use $(srcdir).
2579 * bison.simple (__yy_memcpy):
2580 Really reorder the args, as was supposedly done on Feb 14 1995.
2581 (yyparse): Calls changed accordingly.
2583 1996-01-27 Richard Stallman <rms@gnu.org>
2585 * src/output.c (output_rule_data):
2586 Test YYERROR_VERBOSE in the conditional
2587 around the definition of ttyname.
2589 1995-12-29 Richard Stallman <rms@gnu.org>
2592 Fix line numbers in #line commands.
2594 1995-12-29 Richard Stallman <rms@gnu.org>
2597 Fix line numbers in #line commands.
2599 1995-12-27 Richard Stallman <rms@gnu.org>
2601 * src/bison.s1 (YYPARSE_PARAM_DECL):
2602 In C++, make it always null.
2603 (YYPARSE_PARAM_ARG): New macro.
2604 (yyparse): Use YYPARSE_PARAM_ARG.
2606 1995-12-27 Richard Stallman <rms@gnu.org>
2608 * bison.simple (YYPARSE_PARAM_DECL):
2609 In C++, make it always null.
2610 (YYPARSE_PARAM_ARG): New macro.
2611 (yyparse): Use YYPARSE_PARAM_ARG.
2613 1995-11-29 Richard Stallman <rms@gnu.org>
2615 * doc/bison.texinfo:
2616 Describe literal string tokens, %raw, %no_lines, %token_table.
2618 1995-11-29 Daniel Hagerty <hag@gnu.org>
2620 * doc/bison.texinfo: Fixed update date
2622 1995-10-16 Richard Stallman <rms@gnu.org>
2624 * src/version.c: Version 1.25.
2626 1995-10-16 Richard Stallman <rms@gnu.org>
2628 * NEWS: *** empty log message ***
2630 1995-10-16 Richard Stallman <rms@gnu.org>
2632 * doc/bison.1, doc/bison.rnh:
2635 1995-10-15 Richard Stallman <rms@gnu.org>
2637 * src/vmsgetargs.c, src/getargs.c:
2638 Added -n, -k, and -raw switches.
2639 (noparserflag, toknumflag, rawtoknumflag): New variables.
2641 * src/symtab.h (SALIAS):
2642 New #define for adding aliases to %token.
2643 (struct bucket): Added `alias' field.
2645 * src/reduce.c (reduce_grammar):
2646 Revise error message.
2647 (print_notices): Remove final `.' from error message.
2649 * src/reader.c (reader_output_yylsp):
2651 (readgram): Use `#if 0' around code that accepted %command
2652 inside grammar rules: The documentation doesn't allow it,
2653 and it will fail since the %command processors scan for the next %.
2654 (parse_token_decl): Extended the %token
2655 declaration to allow a multi-character symbol as an alias.
2656 (parse_thong_decl): New function.
2657 (read_declarations): Added %thong declarations.
2658 (read_declarations): Handle NOOP to deal with allowing
2659 % declarations as another means to specify the flags.
2660 (readgram): Allow %prec prior to semantics embedded in a rule.
2661 (skip_to_char, read_declarations, copy_definition)
2662 (parse_token_decl, parse_start_decl, parse_type_decl)
2663 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2664 (get_type_name, copy_guard, copy_action, readgram)
2665 (get_type, packsymbols): Revised most error messages.
2666 Changed `fatal' to `warnxxx' to avoid aborting for error.
2667 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2668 (read_declarations): Improve the error message for
2669 an invalid character. Do not abort.
2670 (read_declarations, copy_guard, copy_action): Use
2671 printable_version to avoid unprintable characters in printed output.
2672 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2673 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2674 Allow the type of a non-terminal can be given
2675 more than once, as long as all specifications give the same type.
2678 (output_headers, output_trailers, output, output_gram)
2679 (output_rule_data): Implement noparserflag variable.
2680 Implement toknumflag variable.
2681 (output): Call reader_output_yylsp to output LTYPESTR.
2683 * src/main.c (main):
2684 If reader sees an error, don't process the grammar.
2685 (fatals): Updated to not use VARARGS1.
2686 (printable_version, int_to_string, warn, warni, warns, warnss)
2687 (warnsss): New error reporting functions. Avoid abort for error.
2690 Added THONG and NOOP for alias processing.
2691 Added SETOPT for the new code that allows setting options with %flags.
2694 Include getopt.h. Add some extern decls.
2695 (safegetc): New function to deal with EOF gracefully.
2696 (literalchar); new function to deal with reading \ escapes.
2697 (lex): Use literalchar.
2698 (lex): Implemented "..." tokens.
2699 (literalchar, lex, parse_percent_token): Made tokenbuffer
2700 always contain the token. This includes growing the token
2701 buffer while reading an integer.
2702 (parse_percent_token): Replaced if-else statement with percent_table.
2703 (parse_percent_token): Added % declarations as another
2704 way to specify the flags -n, -l, and -r. Also added hooks for
2705 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2706 major changes to files.c.
2707 (lex) Retain in the incoming stream a character following
2709 (skip_white_space, lex): Revised most error messages
2710 and changed fatal to warn to avoid aborting.
2711 (percent_table): Added %thong declarations.
2713 * src/gram.h: Comment changes.
2715 * src/files.c (openfiles, open_extra_files, done):
2717 and actfile file. Handle noparserflag. Both for -n switch.
2719 * src/conflicts.c (resolve_sr_conflict):
2720 Remove use of alloca.
2722 1995-06-01 Jim Meyering <meyering@gnu.org>
2724 * doc/bison.texinfo: *** empty log message ***
2726 1995-05-06 Richard Stallman <rms@gnu.org>
2728 * src/bison.s1: Comment change.
2730 1995-05-06 Richard Stallman <rms@gnu.org>
2732 * bison.simple: Comment change.
2734 1995-05-03 Richard Stallman <rms@gnu.org>
2736 * src/version.c: Version now 1.24.
2738 * src/bison.s1: Change distribution terms.
2740 * src/version.c: Version now 1.23.
2742 1995-05-03 Richard Stallman <rms@gnu.org>
2744 * doc/bison.texinfo:
2745 Rewrite "Conditions for Using Bison".
2746 Update version to 1.24.
2748 1995-05-03 Richard Stallman <rms@gnu.org>
2750 * bison.simple: Change distribution terms.
2752 1995-02-23 Richard Stallman <rms@gnu.org>
2754 * src/files.c: Test __VMS_POSIX as well as VMS.
2756 1995-02-14 Jim Meyering <meyering@gnu.org>
2758 * src/bison.s1 (__yy_memcpy):
2759 Renamed from __yy_bcopy to avoid
2760 confusion. Reverse FROM and TO arguments to be consistent with
2763 1995-02-14 Jim Meyering <meyering@gnu.org>
2765 * bison.simple (__yy_memcpy):
2766 Renamed from __yy_bcopy to avoid
2767 confusion. Reverse FROM and TO arguments to be consistent with
2770 1994-11-10 David J. MacKenzie <djm@gnu.org>
2776 * Makefile.in (DISTFILES): Include NEWS.
2778 * Makefile.in (DISTFILES):
2779 Include install-sh, not install.sh.
2781 * configure.in: Update to Autoconf v2 macro names.
2783 1994-10-05 David J. MacKenzie <djm@gnu.org>
2785 * Makefile.in: fix typo
2787 * Makefile.in (prefix, exec_prefix):
2788 Let configure set them.
2790 1994-09-28 David J. MacKenzie <djm@gnu.org>
2792 * Makefile.in: Set datadir to $(prefix)/share.
2794 1994-09-15 Richard Stallman <rms@gnu.org>
2797 Update copyright notice and GPL version.
2799 1994-09-15 Richard Stallman <rms@gnu.org>
2802 Update copyright notice and GPL version.
2804 1994-07-12 Richard Stallman <rms@gnu.org>
2806 * src/reduce.c, src/reader.c:
2809 1994-05-05 David J. MacKenzie <djm@gnu.org>
2811 * Makefile.in: entered into RCS
2813 1994-03-26 Richard Stallman <rms@gnu.org>
2815 * src/bison.s1: entered into RCS
2817 1994-03-26 Richard Stallman <rms@gnu.org>
2819 * bison.simple: entered into RCS
2821 1994-03-25 Richard Stallman <rms@gnu.org>
2823 * src/main.c: entered into RCS
2825 1994-03-24 Richard Stallman <rms@gnu.org>
2827 * src/conflicts.c: entered into RCS
2829 1994-01-02 Richard Stallman <rms@gnu.org>
2831 * Makefile.in: *** empty log message ***
2833 1993-11-21 Richard Stallman <rms@gnu.org>
2835 * src/bison.s1: *** empty log message ***
2837 1993-11-21 Richard Stallman <rms@gnu.org>
2839 * doc/bison.texinfo: entered into RCS
2841 * doc/bison.texinfo: *** empty log message ***
2843 1993-11-21 Richard Stallman <rms@gnu.org>
2845 * bison.simple: *** empty log message ***
2847 1993-10-25 David J. MacKenzie <djm@gnu.org>
2849 * doc/bison.texinfo: *** empty log message ***
2851 1993-10-19 Richard Stallman <rms@gnu.org>
2853 * src/bison.s1: *** empty log message ***
2855 1993-10-19 Richard Stallman <rms@gnu.org>
2857 * bison.simple: *** empty log message ***
2859 1993-10-14 Richard Stallman <rms@gnu.org>
2861 * src/bison.s1: *** empty log message ***
2863 1993-10-14 Richard Stallman <rms@gnu.org>
2865 * bison.simple: *** empty log message ***
2867 1993-09-14 David J. MacKenzie <djm@gnu.org>
2869 * doc/bison.texinfo: *** empty log message ***
2871 1993-09-13 Noah Friedman <friedman@gnu.org>
2873 * Makefile.in: *** empty log message ***
2875 1993-09-10 Richard Stallman <rms@gnu.org>
2877 * src/conflicts.c: *** empty log message ***
2879 * src/system.h: entered into RCS
2881 1993-09-10 Richard Stallman <rms@gnu.org>
2883 * doc/bison.1: entered into RCS
2885 1993-09-06 Noah Friedman <friedman@gnu.org>
2887 * src/version.c: entered into RCS
2889 1993-09-06 Noah Friedman <friedman@gnu.org>
2891 * Makefile.in: *** empty log message ***
2893 1993-07-30 David J. MacKenzie <djm@gnu.org>
2895 * Makefile.in: *** empty log message ***
2897 1993-07-24 Richard Stallman <rms@gnu.org>
2899 * src/bison.s1: *** empty log message ***
2901 1993-07-24 Richard Stallman <rms@gnu.org>
2903 * bison.simple: *** empty log message ***
2905 1993-07-08 David J. MacKenzie <djm@gnu.org>
2907 * Makefile.in: *** empty log message ***
2909 1993-07-04 Richard Stallman <rms@gnu.org>
2911 * src/bison.s1: *** empty log message ***
2913 1993-07-04 Richard Stallman <rms@gnu.org>
2915 * bison.simple: *** empty log message ***
2917 1993-06-26 David J. MacKenzie <djm@gnu.org>
2919 * src/getargs.c: entered into RCS
2921 1993-06-26 David J. MacKenzie <djm@gnu.org>
2923 * doc/bison.texinfo: *** empty log message ***
2925 * doc/bison.1: New file.
2927 1993-06-25 Richard Stallman <rms@gnu.org>
2929 * src/getargs.c: New file.
2931 1993-06-16 Richard Stallman <rms@gnu.org>
2933 * src/bison.s1: *** empty log message ***
2935 1993-06-16 Richard Stallman <rms@gnu.org>
2937 * bison.simple: *** empty log message ***
2939 1993-06-03 Richard Stallman <rms@gnu.org>
2941 * src/bison.s1: New file.
2943 1993-06-03 Richard Stallman <rms@gnu.org>
2945 * doc/bison.texinfo: *** empty log message ***
2947 1993-06-03 Richard Stallman <rms@gnu.org>
2949 * bison.simple: New file.
2951 1993-05-19 Richard Stallman <rms@gnu.org>
2953 * doc/bison.texinfo: New file.
2955 1993-05-07 Noah Friedman <friedman@gnu.org>
2957 * Makefile.in: *** empty log message ***
2959 1993-04-28 Noah Friedman <friedman@gnu.org>
2961 * src/reader.c: *** empty log message ***
2963 1993-04-23 Noah Friedman <friedman@gnu.org>
2965 * src/alloc.h: entered into RCS
2967 1993-04-20 David J. MacKenzie <djm@gnu.org>
2969 * src/version.c: *** empty log message ***
2971 * src/files.c, src/allocate.c:
2974 * src/reader.c: *** empty log message ***
2976 * src/lex.c: entered into RCS
2978 * src/conflicts.c: New file.
2980 * src/symtab.c: entered into RCS
2982 * src/alloc.h: New file.
2984 * src/LR0.c: entered into RCS
2986 1993-04-18 Noah Friedman <friedman@gnu.org>
2988 * src/reader.c: New file.
2990 * src/version.c: *** empty log message ***
2992 1993-04-18 Noah Friedman <friedman@gnu.org>
2994 * Makefile.in: *** empty log message ***
2996 1993-04-17 Noah Friedman <friedman@gnu.org>
2998 * Makefile.in: *** empty log message ***
3000 1993-04-15 Richard Stallman <rms@gnu.org>
3002 * src/main.c, src/files.c:
3005 1993-04-15 Noah Friedman <friedman@gnu.org>
3007 * configure.in: entered into RCS
3009 * configure.in: *** empty log message ***
3011 * configure.in: New file.
3013 1993-04-14 Richard Stallman <rms@gnu.org>
3015 * Makefile.in: New file.
3017 1993-04-13 Richard Stallman <rms@gnu.org>
3019 * src/version.c: New file.
3021 1993-03-25 Richard Stallman <rms@gnu.org>
3023 * src/output.c: entered into RCS
3025 1992-09-25 Richard Stallman <rms@gnu.org>
3027 * configure.bat: entered into RCS
3029 1992-06-22 Richard Stallman <rms@gnu.org>
3031 * src/vmsgetargs.c: entered into RCS
3033 1992-06-22 Richard Stallman <rms@gnu.org>
3035 * doc/bison.rnh: entered into RCS
3037 1992-04-20 David J. MacKenzie <djm@gnu.org>
3039 * README: entered into RCS
3041 1992-01-22 Richard Stallman <rms@gnu.org>
3043 * src/machine.h: entered into RCS
3045 1991-12-21 Richard Stallman <rms@gnu.org>
3047 * src/lalr.c, src/closure.c:
3050 1991-12-20 Richard Stallman <rms@gnu.org>
3052 * src/state.h: entered into RCS
3054 1991-12-18 Richard Stallman <rms@gnu.org>
3056 * src/print.c, src/nullable.c, src/derives.c:
3059 1991-11-03 David J. MacKenzie <djm@gnu.org>
3061 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3064 1988-09-09 Richard Stallman <rms@gnu.org>
3066 * src/bison.hairy: entered into RCS
3068 1987-12-16 Richard Stallman <rms@gnu.org>
3070 * REFERENCES: entered into RCS