1 2001-11-19 Akim Demaille <akim@epita.fr>
3 * src/reader.c (symbols_output): New, extracted from...
7 2001-11-19 Akim Demaille <akim@epita.fr>
9 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
10 (maxrhs): this new function.
12 2001-11-19 Akim Demaille <akim@epita.fr>
14 * src/lalr.c (F): New macro to access to the variable F.
17 2001-11-19 Akim Demaille <akim@epita.fr>
19 * src/lalr.h (LA): New macro to access to the variable LA.
20 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
23 2001-11-19 Akim Demaille <akim@epita.fr>
25 * src/lalr.c (initialize_LA): Only initialize LA. Let...
26 (set_state_table): handle the `lookaheads' members.
29 2001-11-19 Akim Demaille <akim@epita.fr>
31 * src/lalr.h (lookaheads): Removed array, which contents is now
33 (state_t): this structure.
34 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
37 2001-11-19 Akim Demaille <akim@epita.fr>
39 * src/lalr.h (consistent): Removed array, which contents is now
41 (state_t): this structure.
42 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
45 2001-11-19 Akim Demaille <akim@epita.fr>
47 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
48 contents is now members of...
49 (state_t): this structure.
50 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
54 2001-11-19 Akim Demaille <akim@epita.fr>
56 * src/lalr.h (state_t): New.
57 (state_table): Be a state_t * instead of a core **.
58 (accessing_symbol): Remove, part of state_t.
60 (set_accessing_symbol): Merge into...
61 (set_state_table): this.
62 * src/print_graph.c, src/conflicts.c: Adjust.
64 2001-11-14 Akim Demaille <akim@epita.fr>
66 * tests/calc.at, tests/output.at, tests/regression.at,
67 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
68 now the tests are run in private dirs, therefore AC_CLEANUP and
69 family can be simplified to 0-ary.
70 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
71 use abs. path to find config.h.
72 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
73 stderr, there can be way too much random noise.
74 Instead pass -Werror to GCC and rely on the exit status.
75 Reported by Wolfram Wagner.
77 2001-11-14 Akim Demaille <akim@epita.fr>
79 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
80 defined only if yyoverflow is defined, to avoid `warning: unused
82 Reported by The Test Suite.
84 2001-11-14 Akim Demaille <akim@epita.fr>
86 * src/print.c: Include reduce.h.
87 Reported by Hans Aberg.
89 2001-11-14 Akim Demaille <akim@epita.fr>
91 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
92 Revert a previous patch: these are really const.
93 * src/conflicts.c (conflict_report): Additional useless pair of
94 braces to pacify GCC's warnings for `if () if () {} else {}'.
95 * src/lex.c (parse_percent_token): Replace equal_offset with
98 Be sure to strdup `arg' when used, since there is no reason for
99 token_buffer not to change.
101 2001-11-14 Akim Demaille <akim@epita.fr>
103 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
105 * src/main.c (main): Use them.
106 Suggested by Hans Aberg.
108 2001-11-12 Akim Demaille <akim@epita.fr>
110 * src/system.h (ngettext): Now that we use ngettext, be sure to
111 provide a default definition when NLS are not used.
113 2001-11-12 Akim Demaille <akim@epita.fr>
115 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
116 Use @kbd to denote user input.
117 (Language and Grammar): ANSIfy the example.
118 Adjust its layout for info/notinfo.
119 (Location Tracking Calc): Output error messages to stderr.
120 Output locations in a more GNUtically correct way.
121 Fix a couple of Englishos.
122 Adjust @group/@end group pairs.
124 2001-11-12 Akim Demaille <akim@epita.fr>
126 %expext was not functioning at all.
128 * src/conflicts.c (expected_conflicts): Set to -1.
129 (conflict_report): Use ngettext.
130 (conflicts_print): Check %expect and make its violation an error.
131 * doc/bison.texinfo (Expect Decl): Adjust.
132 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
133 * tests/regression.at (%expect not enough, %expect right)
134 (%expect too much): New.
136 2001-11-12 Akim Demaille <akim@epita.fr>
138 * tests/regression.at (Conflicts): Rename as...
139 (Unresolved SR Conflicts): this.
140 (Solved SR Conflicts): New.
142 2001-11-12 Akim Demaille <akim@epita.fr>
144 * src/reduce.c (print_results): Rename as...
145 (reduce_output): This.
146 Output to OUT, passed as argument, instead of output_obstack.
147 (dump_grammar): Likewise.
150 (reduce_grammar): No longer call reduce_output, since...
151 * src/print.c (print_results): do it.
152 * src/main.c (main): Call reduce_free;
154 2001-11-12 Akim Demaille <akim@epita.fr>
156 * src/conflicts.c (print_reductions): Accept OUT as argument.
157 Output to it, not to output_obstack.
158 * src/print.c (print_actions): Adjust.
160 2001-11-12 Akim Demaille <akim@epita.fr>
162 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
163 the result instead of using...
164 (src_total, rrc_total, src_count, rrc_count): Remove.
165 (any_conflicts): Remove.
166 (print_conflicts): Split into...
167 (conflicts_print, conflicts_output): New.
168 * src/conflicts.h: Adjust.
169 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
170 * src/print.c (print_grammar): Issue `\n' between two rules.
171 * tests/regression.at (Conflicts): New.
172 Reported by Tom Lane.
174 2001-11-12 Akim Demaille <akim@epita.fr>
176 * tests/regression.at (Invalid input): Remove, duplicate with
177 ``Invalid input: 1''.
179 2001-11-12 Akim Demaille <akim@epita.fr>
181 * tests/torture.at (AT_DATA_STACK_TORTURE)
182 (Exploding the Stack Size with Alloca)
183 (Exploding the Stack Size with Malloc): New.
185 2001-11-12 Akim Demaille <akim@epita.fr>
187 * src/bison.simple (YYSTACK_REALLOC): New.
188 (yyparse) [!yyoverflow]: Use it and free the old stack.
189 Reported by Per Allansson.
191 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
193 * src/bison.simple: Define type yystype instead of YYSTYPE, and
194 define CPP macro, which substitute YYSTYPE by yystype.
195 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
196 with yyltype/YYLTYPE. This allows inclusion of the generated
197 header within the parser if the compiler, such as GGC, accepts
198 multiple equivalent #defines.
201 2001-11-05 Akim Demaille <akim@epita.fr>
203 * src/reader.c (symbols_output): New, extracted from...
207 2001-11-05 Akim Demaille <akim@epita.fr>
209 * src/lex.c (parse_percent_token): s/quotearg/quote/.
211 2001-11-05 Akim Demaille <akim@epita.fr>
213 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
216 2001-11-05 Akim Demaille <akim@epita.fr>
218 * src/options.h (struct option_table_struct): set_flags is void*.
219 * src/options.c (longopts): Support `--output' and `%output'.
221 * src/lex.h (tok_setopt): Remove, replaced with...
222 (tok_intopt, tok_stropt): these new guys.
223 * src/lex.c (getopt.h): Not needed.
224 (token_buffer, unlexed_token_buffer): Not const.
225 (percent_table): Promote `-' over `_' in directive names.
226 Active `%name-prefix', `file-prefix', and `output'.
227 (parse_percent_token): Accept possible arguments to directives.
228 Promote `-' over `_' in directive names.
230 2001-11-04 Akim Demaille <akim@epita.fr>
232 * doc/bison.texinfo (Decl Summary): Split the list into
233 `directives for grammars' and `directives for bison'.
235 Add description of `%name-prefix', `file-prefix', and `output'.
236 Promote `-' over `_' in directive names.
237 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
238 Simplify the description of `--name-prefix'.
239 Promote `-' over `_' in directive names.
240 Promote `--output' over `--output-file'.
241 Fix the description of `--defines'.
242 * tests/output.at: Exercise %file-prefix and %output.
244 2001-11-02 Akim Demaille <akim@epita.fr>
246 * doc/refcard.tex: Update.
248 2001-11-02 Akim Demaille <akim@epita.fr>
250 * src/symtab.h (SUNDEF): New.
251 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
252 stand for `uninitialized', instead of 0.
253 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
254 * src/lex.c (lex): Adjust.
256 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
258 Let yylex return it instead of a plain 0.
259 Reported by Dick Streefland.
261 2001-11-02 Akim Demaille <akim@epita.fr>
263 * tests/regression.at (Mixing %token styles): New test.
265 2001-11-02 Akim Demaille <akim@epita.fr>
267 * src/reader.c (parse_thong_decl): Formatting changes.
268 (token_translations_init): New, extracted from...
272 2001-11-01 Akim Demaille <akim@epita.fr>
274 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
275 Check that `9foo.y' produces correct cpp guards.
276 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
280 2001-11-01 Akim Demaille <akim@epita.fr>
282 * tests/regression.at (Invalid input: 2): New.
283 * src/lex.c (unlexed_token_buffer): New.
284 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
288 2001-11-01 Akim Demaille <akim@epita.fr>
290 * tests/calc.at: Catch up with 1.30.
291 * configure.in: Bump to 1.49a.
292 Adjust to newer Autotest.
294 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
296 * src/conflicts.c: Move global variables rrc_total and src_total ...
297 (print_conflicts): here.
298 * src/output.c (output): Free global variable user_toknums.
299 * src/lex.c (token_obstack): Become static.
301 2001-10-18 Akim Demaille <akim@epita.fr>
303 * tests/atlocal.in (GCC): Add.
304 * tests/calc.at: s/m4_match/m4_bmatch/.
305 s/m4_patsubst/m4_bpatsubst/.
306 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
307 * configure.in: AC_SUBST(GCC).
309 2001-10-14 Marc Autret <autret_m@epita.fr>
311 * src/options.c (create_long_option_table): Fix.
313 2001-10-10 Akim Demaille <akim@epita.fr>
315 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
317 2001-10-04 Akim Demaille <akim@epita.fr>
319 * src/reader.c (parse_union_decl): Push the caracters in
320 union_obstack, not attrs_obstack.
322 2001-10-04 Akim Demaille <akim@epita.fr>
324 Merge in the branch 1.29.
326 * src/reader.c (packsymbols): Use a temporary obstack for
327 `%%tokendef', since output_stack is already used elsewhere.
329 2001-10-02 Akim Demaille <akim@epita.fr>
333 2001-10-02 Akim Demaille <akim@epita.fr>
337 2001-10-02 Akim Demaille <akim@epita.fr>
339 * tests/regression.at (Invalid CPP headers): New.
340 From Alexander Belopolsky.
341 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
343 2001-10-02 Akim Demaille <akim@epita.fr>
345 * tests/regression.at (Invalid input): New.
346 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
349 2001-10-02 Akim Demaille <akim@epita.fr>
351 * tests/calc.at: Now that --debug works, the tests must be adjusted.
353 2001-10-02 Akim Demaille <akim@epita.fr>
355 * src/output.c (output_parser): Assert `skeleton'.
356 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
360 2001-10-01 Marc Autret <autret_m@epita.fr>
362 * src/lex.h: Echo modifications.
363 * src/lex.c (unlex): Parameter is now token_t.
366 2001-10-01 Marc Autret <autret_m@epita.fr>
368 * src/main.c: Include lex.h.
371 2001-09-29 Akim Demaille <akim@epita.fr>
373 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
375 2001-09-28 Akim Demaille <akim@epita.fr>
377 * tests/testsuite.at: Update to newer Autotest.
378 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
380 2001-09-27 Akim Demaille <akim@epita.fr>
382 Position independent wrapper.
384 * tests/bison: Remove.
385 * tests/bison.in: New.
386 * configure.in: Adjust.
388 2001-09-27 Paul Eggert <eggert@twinsun.com>
390 Port quotearg fixes from tar 1.13.24.
392 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
394 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
395 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
397 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
398 * m4/mbrtowc.m4: New file.
399 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
400 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
402 2001-09-27 Akim Demaille <akim@epita.fr>
406 2001-09-27 Akim Demaille <akim@epita.fr>
410 2001-09-25 Akim Demaille <akim@epita.fr>
412 * src/system.h: Include `xalloc.h'.
413 Remove it from the C files.
414 * src/files.c (output_files): Free the obstacks.
415 * src/lex.c (init_lex): Rename as...
418 * src/main.c (main): Use it.
420 2001-09-24 Marc Autret <autret_m@epita.fr>
422 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
423 to output informations in fout (FILE*).
424 (open_graph, close_graph): Likewise.
425 (output_graph, output_edge, output_node): Likewise.
426 * src/vcg.h: Update function prototypes.
427 * src/print_graph.c (print_graph): Open output graph file.
428 (print_actions): Adjust.
429 * src/files.h: Remove extern declaration.
430 * src/files.c: Remove graph_obstack declaration.
431 (open_files): Remove graph_obstack initialization.
432 (output_files): Remove graph_obstack saving.
434 2001-09-24 Marc Autret <autret_m@epita.fr>
436 * src/files.c (compute_output_file_names): Fix.
438 2001-09-24 Marc Autret <autret_m@epita.fr>,
439 Akim Demaille <akim@epita.fr>
441 * src/reader.c (reader): Remove call to free_symtab ().
442 * src/main.c (main): Call it here.
444 * src/conflicts.c (initialize_conflicts): Rename as...
445 (solve_conflicts): this.
446 * src/print.c (print_core, print_actions, print_state)
447 (print_grammar): Dump to a file instead a `output_obstack'.
448 (print_results): Dump `output_obstack', and then proceed with the
450 * src/files.c (compute_output_file_names, close_files): New.
451 (output_files): Adjust.
452 * src/main.c (main): Adjust.
454 2001-09-23 Marc Autret <autret_m@epita.fr>
456 * src/files.c (compute_header_macro): Computes header macro name
457 from spec_defines_file when given.
459 2001-09-23 Marc Autret <autret_m@epita.fr>
461 * src/files.c (output_files): Add default extensions.
463 2001-09-22 Akim Demaille <akim@epita.fr>
465 * src/conflicts.c (finalize_conflicts): Rename as...
466 (free_conflicts): this.
468 2001-09-22 Akim Demaille <akim@epita.fr>
470 * src/gram.c (gram_free): Rename back as...
472 (output_token_translations): Free `token_translations'.
473 * src/symtab.c (free_symtab): Free the tag field.
475 2001-09-22 Akim Demaille <akim@epita.fr>
477 Remove `translations' as it is always set to true.
479 * src/gram.h: Adjust.
480 * src/reader.c (packsymbols, parse_token_decl): Adjust
481 * src/print.c (print_grammar): Adjust.
482 * src/output.c (output_token_translations): Adjust.
483 * src/lex.c (lex): Adjust.
484 * src/gram.c: Be sure the set pointers to NULL.
485 (dummy): Rename as...
488 2001-09-22 Akim Demaille <akim@epita.fr>
490 * configure.in: Invoke AM_LIB_DMALLOC.
491 * src/system.h: Use dmalloc.
492 * src/LR0.c: Be sure to have pointers initialized to NULL.
493 (allocate_itemsets): Allocate kernel_items only if needed.
495 2001-09-22 Akim Demaille <akim@epita.fr>
497 * configure.in: Bump to 1.29b.
498 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
499 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
500 need xmalloc.c in calc.y.
503 2001-09-21 Akim Demaille <akim@epita.fr>
506 * Makefile.maint, config/config.guess, config/config.sub,
507 * config/missing: Update from masters.
508 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
510 * configure.in (ALL_LINGUAS): Add `tr'.
512 2001-09-21 Akim Demaille <akim@epita.fr>
514 * tests/Makefile.am (package.m4): Move to...
515 ($(srcdir)/$(TESTSUITE)): here.
517 2001-09-20 Akim Demaille <akim@epita.fr>
519 * src/complain.c: No longer try to be standalone: use system.h.
520 Don't assume __STDC__ is defined to 1. Just test if it is defined.
521 * src/complain.h: Likewise.
522 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
523 Remove the unused variable `n'.
524 From Albert Chin-A-Young.
526 2001-09-18 Marc Autret <autret_m@epita.fr>
528 * doc/bison.1: Update.
529 * doc/bison.texinfo (Bison Options): Update --defines and --graph
531 (Option Cross Key): Update.
534 2001-09-18 Marc Autret <autret_m@epita.fr>
536 * tests/regression.at: New test (comment in %union).
538 2001-09-18 Marc Autret <autret_m@epita.fr>
540 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
542 Reported by Keith Browne.
544 2001-09-18 Marc Autret <autret_m@epita.fr>
546 * tests/output.at: Add tests for --defines and --graph.
548 2001-09-18 Marc Autret <autret_m@epita.fr>
550 * tests/output.at: Removes tests of %{header,src}_extension features.
552 2001-09-18 Akim Demaille <akim@epita.fr>
554 * tests/Makefile.am (package.m4): New.
555 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
556 (_AT_CHECK_CALC_ERROR): Likewise.
557 Factor the `, ' part of verbose error messages.
559 2001-09-18 Marc Autret <autret_m@epita.fr>
561 * src/getargs.c (longopts): Declare --defines and --graph as options
562 with optional arguments.
563 * src/files.h: Add extern declarations.
564 * src/files.c (spec_graph_file, spec_defines_file): New.
565 (output_files): Update.
566 Remove CPP-outed code.
568 2001-09-18 Marc Autret <autret_m@epita.fr>
570 Turn off %{source,header}_extension feature.
572 * src/files.c (compute_exts_from_gf): Update.
573 (compute_exts_from_src): Update.
574 (output_files): CPP-out useless code.
575 * src/files.h: Remove {header,source}_extension extern declarations.
576 * src/reader.c (parse_dquoted_param): CPP-out.
577 (parse_header_extension_decl): Remove.
578 (parse_source_extension_decl): Remove.
579 (read_declarations): Remove cases tok_{hdrext,srcext}.
580 * src/lex.c (percent_table): Remove {header,source}_extension entries.
581 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
583 2001-09-10 Akim Demaille <akim@epita.fr>
585 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
586 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
587 (AT_CHECK_OUTPUT): this.
588 Merely check ls' exit status, its output is useless.
590 2001-09-10 Akim Demaille <akim@epita.fr>
592 * tests/calc.at: Use m4_match.
593 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
595 2001-09-10 Marc Autret <autret_m@epita.fr>,
596 Akim Demaille <akim@epita.fr>
598 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
600 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
602 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
603 * src/lex.h: Adjust prototype.
604 (token_t): Add `tok_undef'.
605 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
606 (parse_percent_token): Now returns token_t.
607 Add default statement in switch.
608 (lex): Separate `c' as an input variable, from the token_t result
610 (unlexed): Is a token_t.
612 2001-09-10 Akim Demaille <akim@epita.fr>
614 * configure.in: Bump to 1.29a.
616 2001-09-07 Akim Demaille <akim@epita.fr>
620 2001-08-30 Akim Demaille <akim@epita.fr>
622 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
623 * m4/atconfig.m4: Remove.
624 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
626 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
627 m4_if, m4_patsubst, and m4_regexp.
628 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
629 `input' file instead of echo.
631 2001-08-29 Akim Demaille <akim@epita.fr>
635 2001-08-29 Akim Demaille <akim@epita.fr>
639 2001-08-29 Paul Eggert <eggert@twinsun.com>
641 * src/bison.simple (yyparse): Don't take the address of an
642 item before the start of an array, as that doesn't conform to
645 2001-08-29 Robert Anisko <anisko_r@epita.fr>
647 * doc/bison.texinfo (Location Tracking Calc): New node.
649 2001-08-29 Paul Eggert <eggert@twinsun.com>
651 * src/output.c (output): Do not define const, as this now
652 causes more problems than it cures.
654 2001-08-29 Akim Demaille <akim@epita.fr>
656 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
658 Be sure to tag the `detailmenu'.
660 2001-08-29 Akim Demaille <akim@epita.fr>
662 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
663 download in a tmp dir.
665 2001-08-28 Marc Autret <autret_m@epita.fr>
667 * config/depcomp: New file.
669 2001-08-28 Marc Autret <autret_m@epita.fr>
671 * doc/bison.1 (mandoc): Adjust.
672 From Juan Manuel Guerrero.
674 2001-08-28 Marc Autret <autret_m@epita.fr>
676 * src/print_graph.c (print_state): Fix.
678 2001-08-27 Marc Autret <autret_m@epita.fr>
680 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
682 Echo modifications to the functions prototypes.
683 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
685 2001-08-27 Marc Autret <autret_m@epita.fr>
687 * src/vcg.c: Include `xalloc.h'.
688 (add_colorentry): New.
689 (add_classname): New.
691 * src/vcg.h: Add new prototypes.
693 2001-08-27 Akim Demaille <akim@epita.fr>
695 * Makefile.maint: Sync. again with CVS Autoconf.
697 2001-08-27 Akim Demaille <akim@epita.fr>
699 * Makefile.maint: Formatting changes.
700 (po-update, cvs-update, update): New targets.
703 2001-08-27 Akim Demaille <akim@epita.fr>
705 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
706 * Makefile.maint: Sync. with CVS Autoconf.
708 2001-08-27 Marc Autret <autret_m@epita.fr>
710 * src/vcg.h (struct infoname_s): New.
711 (struct colorentry_s): New.
712 (graph_s): New fields {vertical,horizontal}_order in structure.
713 Add `infoname' field.
714 Add `colorentry' field;
715 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
716 (G_HORIZONTAL_ORDER): New.
719 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
720 Add output of `infoname'.
721 Add output of `colorentry'.
723 2001-08-27 Marc Autret <autret_m@epita.fr>
725 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
726 This one shadowed a global parameter.
728 2001-08-24 Marc Autret <autret_m@epita.fr>
730 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
731 instead of `unsigned'.
732 (print_state): Do not call obstack_object_size () in obstack_grow ()
733 to avoid macro variables shadowing.
735 2001-08-23 Marc Autret <autret_m@epita.fr>
737 * src/lex.c (percent_table): Typo: s/naem/name/.
739 Normalize new options declarations.
741 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
743 * tests/suite.at: Exercise %header_extension and %source_extension.
745 2001-08-16 Marc Autret <autret_m@epita.fr>
747 * src/reader.c (parse_dquoted_param): New.
748 (parse_header_extension_decl): Use it.
749 (parse_source_extension_decl): Likewise.
751 2001-08-16 Marc Autret <autret_m@epita.fr>
753 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
754 (get_xxxx_str): Use assert () instead of complain ().
755 Remove return invokations in default cases.
756 (get_decision_str): Modify default behaviour. Remove second argument.
757 Echo modifications on calls.
760 2001-08-16 Marc Autret <autret_m@epita.fr>
762 * src/getargs.c (usage): Update with ``-g, --graph''.
764 2001-08-16 Marc Autret <autret_m@epita.fr>
766 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
767 (Option Cross Key): Likewise.
768 * doc/bison.1: Update.
770 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
772 * src/output.c (output_master_parser): Don't finish action_obstack.
773 (output_parser): Don't care about the muscle action, here.
774 (prepare): Copy the action_obstack in the action muscle.
775 (output): Free action_obstack.
777 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
779 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
780 will contain `%union' declaration.
781 (parse_union_decl): Delete #line directive output.
782 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
783 informations about %union.
784 (parse_union_decl): Copy the union_obstack in the muscle stype.
785 * src/bison.simple: Add new #line directive.
786 Add typdef %%stype YYSTYPE.
788 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
790 * src/bison.simple: Add new `#line' directive.
792 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
794 * src/bison.simple: New `#line' directive.
795 * src/output.c (output_parser): Support new dynamic muscle input_line.
797 2001-09-22 Marc Autret <autret_m@epita.fr>
799 * src/output.c (output_master_parser): New.
800 (output_parser): Be more re-entrant.
802 2001-09-21 Marc Autret <autret_m@epita.fr>
804 * src/reader.c (copy_definition, parse_union_decl): Update and use
806 (copy_action): Likewise.
807 Use obstack_1grow ().
808 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
810 2001-09-21 Marc Autret <autret_m@epita.fr>
812 * src/options.c (option_table): Adjust.
813 * src/lex.c (parse_percent_token): Fix.
815 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
817 * src/options.c (symtab.h): Include it, need by lex.h.
819 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
821 * src/lex.c (parse_percent_token): Change type of variable `tx', which
822 is now an option_table_struct*.
823 (option_strcmp): New function option_strcmp.
824 (parse_percent_token): Call option_strcmp.
825 * src/getargs.c (xalloc.h, options.h): Include it.
826 (getargs): Call create_long_option_table.
827 (getargs): Free longopts at the end of the function.
828 (shortopts): Move in options.c.
829 * src/options.c (create_long_option_table): New function. Convert
830 information from option_table to option structure.
831 * src/reader.c (options.h): Include it.
833 * src/Makefile.am: Adjust.
834 * src/options.c (option_table): Create from longopts and percent_table.
835 * src/getargs.c (longopts): Delete.
836 * src/lex.c (struct percent_table_struct): Delete.
837 (percent_table): Delete.
838 (options.h): Include it.
839 * src/options.c: Create.
840 * src/options.h: Create.
841 Declare enum opt_access_e.
842 Define struct option_table_struct.
844 2001-09-20 Marc Autret <autret_m@epita.fr>
846 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
849 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
851 * src/bison.simple: s/%%filename/%%skeleton.
852 * src/muscle_tab.c (getargs.h): Include it.
853 (muscle_init): Insert new muscle skeleton.
855 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
857 * src/output.c (output_parser): Delete unused variable actions_dumped.
859 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
861 * src/output.c (output): Delete call to reader_output_yylsp.
862 * src/reader.c (reader): Likewise.
863 * src/reader.h: Delete declaration of reader_output_yylsp.
865 2001-09-02 Marc Autret <autret_m@epita.fr>
867 * src/reader.c: Include muscle_tab.h.
868 (parse_union_decl): Update.
869 (parse_macro_decl): Rename parse_muscle_decl.
870 Update to use renamed functions and variable.
871 (read_declarations, copy_action, read_additionnal_code, : Updated
872 with correct variables and functions names.
873 (packsymbols, reader): Likewise.
875 * src/reader.h (muscle_obstack): Extern declaration update.
877 * src/output.c: Include muscle_tab.h
878 In all functions using macro_insert, change by using muscle_insert ().
879 (macro_obstack): Rename muscle_obstack.
880 Echo modifications in the whole file.
881 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
882 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
883 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
885 * src/muscle_tab.h: Update double inclusion macros.
886 (macro_entry_s): Rename muscle_entry_s.
889 * src/muscle_tab.c: Include muscle_tab.h.
890 Rename macro_tabble to muscle_table.
891 (mhash1, mhash2, mcmp): Use muscle_entry.
892 (macro_init): Rename muscle_init. Update.
893 (macro_insert): Rename muscle_insert. Update.
894 (macro_find): Rename muscle_find. Update.
896 * src/main.c: Include muscle_tab.h.
897 (main): Call muscle_init ().
898 * src/Makefile.am (bison_SOURCES): Echo modifications.
900 2001-09-02 Marc Autret <autret_m@epita.fr>
902 Now the files macro_tab.[ch] are named muscle_tab.[ch].
904 * src/muscle_tab.c, src/muscle_tab.h: Add files.
906 2001-09-02 Marc Autret <autret_m@epita.fr>
908 * src/macrotab.c, src/macrotab.h: Remove.
910 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
912 * src/reader.c (copy_guard): Use muscle to specify the `#line'
915 2001-09-01 Marc Autret <autret_m@epita.fr>
917 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
918 to an explicit value to activate the feature. We do it here.
920 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
922 * src/output.c (prepare): Delete the `filename' muscule insertion.
923 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
924 (parse_union_decl): Likewise.
925 * src/macrotab.c (macro_init): Initialize filename by infile.
927 2001-08-31 Marc Autret <autret_m@epita.fr>
929 * src/bison.simple (YYLSP_NEEDED): New definition.
930 * src/output.c (prepare): Add macro insertion of `locations_flag'
932 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
934 * src/output.c (prepare): Delete insertion of previous muscles,
935 and insert the `prefix' muscles.
936 * src/macrotab.c (macro_init): Likewise.
937 (macro_init): Initialization prefix directive by `yy'.
938 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
939 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
940 yylval, yydebug, yyerror, yynerrs and yyparse.
941 New directive `#define' to substitute yydebug, ... with option
944 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
946 * src/main.c (main): Standardize.
947 * src/output.c (output_table_data, output_parser): Likewise.
948 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
950 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
952 * src/reader.c (read_additionnal_code): Rename %%user_code to
954 * src/output.c (output): Rename %%declarations to %%prologue.
955 * src/bison.simple: Echo modifications.
957 2001-08-31 Marc Autret <autret_m@epita.fr>
959 * src/reader.c (readgram): CleanUp.
960 (output_token_defines): Likewise.
961 (packsymbols): Likewise.
963 * src/output.c (output): CPP-out useless code.
965 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
967 * src/reader.c (reader): Delete obsolete call to function
968 output_trailers and output_headers.
969 * src/output.h: Remove obsolete functions prototypes of output_headers
972 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
974 * src/main.c: Include macrotab.h.
975 * src/macrotab.h (macro_entry_s): Constify fields.
976 Adjust functions prototypes.
977 * src/macrotab.c (macro_insert): Constify key and value.
978 (macro_find): Constify key.
979 (macro_insert): Include 'xalloc.h'
980 (macro_insert): Use XMALLOC.
981 (macro_find): Constify return value.
982 * src/output.c (output_table_data): Rename table to table_data.
983 (output_parser): Constify macro_key, macro_value.
985 2001-08-30 Marc Autret <autret_m@epita.fr>
987 * src/reader.c (parse_skel_decl): New.
988 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
989 * src/lex.h (token_t): New token `tok_skel'.
990 * src/lex.c (percent_table): Add skeleton option entry.
993 2001-08-29 Marc Autret <autret_m@epita.fr>
995 * src/bison.simple: Add %%user_code directive at the end.
996 * src/reader.c (read_additionnal_code): New.
998 * src/output.c (output_program): Remove.
1001 2001-08-28 Marc Autret <autret_m@epita.fr>
1003 * src/output.c (output_actions): Clean up.
1004 (output_gram): CPP-out useless code.
1005 * src/reader.c (reader): Clean up, CPP-out useless code.
1007 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1009 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1011 * src/bison.simple: Add `%%definitions'.
1013 2001-08-28 Marc Autret <autret_m@epita.fr>
1015 * config/depcomp: New file.
1017 2001-08-27 Paul Eggert <eggert@twinsun.com>
1019 * src/bison.simple (yyparse): Don't take the address of an
1020 item before the start of an array, as that doesn't conform to
1023 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1025 * src/output.c (output): Remove the initialization of the macro
1026 obstack. It was done too late here.
1028 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1030 (reader): Initialize the macro obstack here, since we need it to grow
1031 '%define' directives.
1033 * src/reader.h: Declare the macro obstack as extern.
1035 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1037 * src/output.c (output_parser): Fix. Store single '%' characters in
1038 the output obstack instead of throwing them away.
1040 2001-08-27 Akim Demaille <akim@epita.fr>
1042 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1044 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1046 * lib/Makefile.am: Adjust.
1048 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1050 * src/bison.simple: Update and add '%%' directives.
1052 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1054 * src/reader.c (reader): Remove calls to 'output_headers' and
1055 'output_trailers'. Remove some C output.
1056 (readgram): Disable a piece of code that was writing a default
1057 definition for 'YYSTYPE'.
1058 (reader_output_yylsp): Remove.
1059 (packsymbols): Output token defintions to a macro.
1060 (copy_definition): Disable C output.
1062 * src/reader.c (parse_macro_decl): New function used to parse macro
1064 (copy_string2): Put the body of copy_string into this new function.
1065 Add a parameter to let the caller choose whether he wants to copy the
1066 string delimiters or not.
1067 (copy_string): Be a simple call to copy_string2 with the last argument
1069 (read_declarations): Add case for macro definition.
1070 (copy_identifier): New.
1071 (parse_macro_decl): Read macro identifiers using copy_identifier
1074 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1076 * src/output.c (prepare): Add prefixed names.
1077 (output_parser): Output semantic actions.
1078 (output_parser): Fix bug on '%%line' directives.
1080 * src/output.c (output_headers): Remove. The C code printed by this
1081 function should now be in the skeletons.
1082 (output_trailers): Remove.
1083 (output): Disable call to 'reader_output_yylsp'.
1084 (output_rule_data): Do not output tables to the table obstack.
1086 * src/output.c: Remove some C dedicated output.
1087 Improve the use of macro and output obstacks.
1088 (output_defines): Remove.
1090 * src/output.c (output_token_translations): Associate 'translate'
1091 table with a macro. No output to the table obstack.
1092 (output_gram): Same for 'rhs' and 'prhs'.
1093 (output_stos): Same for 'stos'.
1094 (output_rule_data): Same for 'r1' and 'r2'.
1095 (token_actions): Same for 'defact'.
1096 (goto_actions): Same for 'defgoto'.
1097 (output_base): Same for 'pact' and 'pgoto'.
1098 (output_table): Same for 'table'.
1099 (output_check): Same for 'check'.
1101 * src/output.c (output_table_data): New function.
1102 (output_short_table): Remove.
1103 (output_short_or_char_table): Remove.
1105 * src/output.c (output_parser): Replace most of the skeleton copy code
1106 with something new. Skeletons are now processed character by character
1107 rather than line by line, and Bison looks for '%%' macros. This is the
1108 first step in making Bison's output process (a lot) more flexible.
1109 (output_parser): Use the macro table.
1111 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1113 * src/main.c (main): Initialize the macro table.
1115 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1117 * src/lex.c (percent_table): Add tok_define.
1118 * src/lex.h: Add tok_define.
1120 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1122 * src/macrotab.c: New file.
1123 * src/macrotab.h: New file.
1124 * src/Makefile.am: Update.
1126 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1128 * lib/hash.c: New file.
1129 * lib/hash.h: New file.
1130 * lib/Makefile.am: Update.
1132 2001-08-15 Akim Demaille <akim@epita.fr>
1136 2001-08-15 Marc Autret <autret_m@epita.fr>
1138 * src/reader.c (readgram): Indent output macro YYSTYPE.
1139 (packsymbols): Likewise.
1140 (output_token_defines): Likewise.
1141 * src/files.c: Standardize.
1142 (compute_header_macro): New.
1143 (defines_obstack_save): New. Use compute_header_macro.
1144 (output_files): Update. Use defines_obstack_save.
1146 2001-08-15 Akim Demaille <akim@epita.fr>
1148 * doc/bison.texinfo (Table of Symbols): Document
1151 2001-08-15 Akim Demaille <akim@epita.fr>
1153 * missing: Update from CVS Automake.
1154 * config/config.guess, config/config.sub, config/texinfo.tex:
1155 Update from gnu.org.
1157 2001-08-15 Akim Demaille <akim@epita.fr>
1159 * Makefile.maint: Sync with CVS Autoconf.
1161 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1163 * doc/bison.texinfo: Include GNU Free Documentation License from
1165 * doc/fdl.texi: Add to package.
1167 2001-08-14 Marc Autret <autret_m@epita.fr>
1169 Turn on %{source,header}_extension features.
1171 * src/lex.c (percent_table): Un-CPP out header_extension and
1173 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1174 (compute_exts_from_src): Remove conditions. It restores priorities
1177 2001-08-14 Marc Autret <autret_m@epita.fr>
1179 * src/files.c (compute_base_names): Add extensions computing when
1180 `--file-prefix' used.
1181 Standardize function calls.
1183 2001-08-13 Marc Autret <autret_m@epita.fr>
1185 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1186 defining it (defined but null disables alloca).
1188 2001-08-13 Marc Autret <autret_m@epita.fr>
1190 * src/bison.simple (_yy_memcpy): CPP reformat.
1192 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1194 * tests/atconfig.in (CPPFLAGS): Fix.
1196 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1198 * doc/bison.texinfo: Include GNU General Public License from
1200 * doc/gpl.texi: Add to package.
1202 2001-08-10 Marc Autret <autret_m@epita.fr>
1204 * src/print_graph.h: Fix.
1205 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1207 2001-08-10 Akim Demaille <akim@epita.fr>
1209 * src/system.h: Provide default declarations for stpcpy, strndup,
1212 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1214 * doc/bison.texinfo (Locations): Update @$ stuff.
1216 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1218 * src/bison.simple (YYLLOC_DEFAULT): Update.
1221 2001-08-08 Marc Autret <autret_m@epita.fr>
1223 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1224 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1225 Reported by Fabrice Bauzac.
1227 2001-08-08 Marc Autret <autret_m@epita.fr>
1229 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1230 * src/vcg.c (output_node): Fix.
1231 * src/vcg.h: Cleanup.
1232 * src/print_graph.c: Add comments.
1233 (node_output_size): New global variable. Simplify the formatting of
1234 the VCG graph output.
1235 (print_actions): Unused code is now used. It notifies the final state
1236 and no action states in the VCG graph. It also give the reduce actions.
1237 The `shift and goto' edges are red and the `go to state' edges are
1239 Get the current node name and node_obstack by argument.
1240 (node_obstack): New variable.
1241 (print_state): Manage node_obstack.
1242 (print_core): Use node_obstack given by argument.
1243 A node is not only computed here but in print_actions also.
1244 (print_graph): CPP out useless code instead of commenting it.
1246 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1248 * tests/atconfig.in (CPPFLAGS): Fix.
1250 2001-08-07 Akim Demaille <akim@epita.fr>
1252 * src/print_graph.c (quote): New.
1253 (print_core): Use it.
1255 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1257 * src/vcg.c (complain.h): Include it.
1258 Unepitaize `return' invocations.
1259 [NDEBUG] (main): Remove.
1260 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1261 * src/files.c (open_files): Initialize graph_obstack.
1262 * src/print_graph.c (print_actions): CPP out useless code.
1263 (print_core): Don't output the last `\n' in labels.
1265 * src/files.c (output_files): Output the VCG file.
1266 * src/main.c (main): Invoke print_graph ();
1268 2001-08-06 Marc Autret <autret_m@epita.fr>
1270 Automaton VCG graph output.
1271 Using option ``-g'' or long option ``--graph'', you can generate
1272 a gram_filename.vcg file containing a VCG description of the LALR (1)
1273 automaton of your grammar.
1275 * src/main.c: Call to print_graph() function.
1276 * src/getargs.h: Update.
1277 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1278 (graph_flag): New flag.
1280 (getargs): Add case `g'.
1281 * src/files.c (graph_obstack): New obstack struct.
1282 (open_files): Initialize new obstack.
1283 (output_files): Saves graph_obstack if required.
1284 * src/files.h (graph_obstack): New extern declaration.
1285 * src/Makefile.am: Add new source files.
1287 2001-08-06 Marc Autret <autret_m@epita.fr>
1289 * src/print_graph.c, src/print_graph.h (graph): New.
1290 * src/vcg.h: New file.
1291 * src/vcg.c: New file, VCG graph handling.
1293 2001-08-06 Marc Autret <autret_m@epita.fr>
1295 Add of %source_extension and %header_extension which specify
1296 the source or/and the header output file extension.
1298 * src/files.c (compute_base_names): Remove initialisation of
1299 src_extension and header_extension.
1300 (compute_exts_from_gf): Update.
1301 (compute_exts_from_src): Update.
1302 (output_files): Update.
1303 * src/reader.c (parse_header_extension_decl): New.
1304 (parse_source_extension_decl): New.
1305 (read_declarations): New case statements for the new tokens.
1306 * src/lex.c (percent_table): Add entries for %source_extension
1307 and %header_extension.
1308 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1310 2001-08-06 Marc Autret <autret_m@epita.fr>
1312 * configure.in: Bump to 1.28c.
1313 * doc/bison.texinfo: Texinfo thingies.
1315 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1317 * tests/atconfig.in (CPPFLAGS): Add.
1318 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1320 2001-08-03 Akim Demaille <akim@epita.fr>
1324 2001-08-03 Akim Demaille <akim@epita.fr>
1326 * tests/Makefile.am (check-local): Ship testsuite.
1327 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1330 2001-08-03 Akim Demaille <akim@epita.fr>
1332 * configure.in: Try using -Wformat when compiling.
1334 2001-08-03 Akim Demaille <akim@epita.fr>
1336 * configure.in: Bump to 1.28b.
1338 2001-08-03 Akim Demaille <akim@epita.fr>
1340 * src/complain.c: Adjust strerror_r portability issues.
1342 2001-08-03 Akim Demaille <akim@epita.fr>
1346 2001-08-03 Akim Demaille <akim@epita.fr>
1348 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1349 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1350 * src/getargs.c: Include complain.h.
1351 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1352 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1354 2001-08-03 Akim Demaille <akim@epita.fr>
1356 * src/reader.c (readgram): Display hidden chars in error messages.
1358 2001-08-03 Akim Demaille <akim@epita.fr>
1360 Update to gettext 0.10.39.
1362 2001-08-03 Akim Demaille <akim@epita.fr>
1364 * lib/strspn.c: New.
1366 2001-08-01 Marc Autret <autret_m@epita.fr>
1368 * doc/bison.texinfo: Update.
1369 * doc/bison.1 (mandoc): Update.
1370 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1371 * src/files.c: Support output files extensions computing.
1372 (src_extension): New static variable.
1373 (header_extension): New static variable.
1375 (get_extension_index): New function, gets the index of an extension
1376 filename in a string.
1377 (compute_exts_from_gf): New function, computes extensions from the
1378 grammar file extension.
1379 (compute_exts_from_src): New functions, computes extensions from the
1380 C source file extension, file given by ``-o'' option.
1381 (compute_base_names): Update.
1382 (output_files): Update.
1384 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1386 * doc/bison.texi: Document @$.
1387 (Locations): New section.
1389 2001-07-18 Akim Demaille <akim@epita.fr>
1391 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1392 * config/prev-version.txt, config/move-if-change: New.
1393 * Makefile.am: Adjust.
1395 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1397 * src/bison.simple (yyparse): Suppress warning `comparaison
1398 between signed and unsigned'.
1400 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1402 * src/getargs.h (raw_flag): Remove.
1403 * src/getargs.c: Die on `-r'/`--raw'.
1404 * src/lex.c (parse_percent_token): Die on `%raw'.
1405 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1406 * tests/calc.at: Suppress test with option `--raw'.
1408 2001-07-14 Akim Demaille <akim@epita.fr>
1411 * configure.in: Require Autoconf 2.50.
1412 Update to gettext 0.10.38.
1414 2001-03-16 Akim Demaille <akim@epita.fr>
1416 * doc/bison.texinfo: ANSIfy the examples.
1418 2001-03-16 Akim Demaille <akim@epita.fr>
1420 * getargs.c (skeleton): New variable.
1421 (longopts): --skeleton is a new option.
1422 (shortopts, getargs): -S is a new option.
1423 * getargs.h: Declare skeleton.
1424 * output.c (output_parser): Use it.
1426 2001-03-16 Akim Demaille <akim@epita.fr>
1428 * m4/strerror_r.m4: New.
1429 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1430 * lib/error.h, lib/error.c: Update.
1432 2001-03-16 Akim Demaille <akim@epita.fr>
1434 * src/getargs.c (longopts): Clean up.
1436 2001-02-21 Akim Demaille <akim@epita.fr>
1438 * src/reader.c (gensym): `gensym_count' is your own.
1439 Use a static buf to create the symbol name, as token_buffer is no
1442 2001-02-08 Akim Demaille <akim@epita.fr>
1444 * src/conflicts.c (conflict_report): Be sure not to append to res
1445 between two calls, which could happen if both first sprintf were
1446 skipped, but not the first cp += strlen.
1448 2001-02-08 Akim Demaille <akim@epita.fr>
1450 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1451 New, from fileutils 4.0.37.
1452 * configure.in: Require Autoconf 2.49c. I took some time before
1453 making this decision. This is the only way out for portability
1454 issues in Bison, it would mean way too much duplicate effort to
1455 import in Bison features implemented in 2.49c since 2.13.
1456 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1458 2001-02-02 Akim Demaille <akim@epita.fr>
1460 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1461 * lib/xalloc.h, lib/xmalloc.c: Update.
1463 2001-01-19 Akim Demaille <akim@epita.fr>
1465 Get rid of the ad hoc handling of token_buffer in the scanner: use
1468 * src/lex.c (token_obstack): New.
1469 (init_lex): Initialize it. No longer call...
1470 (grow_token_buffer): this. Remove it.
1471 Adjust all the places which used it to use the obstack.
1473 2001-01-19 Akim Demaille <akim@epita.fr>
1475 * src/lex.h: Rename all the tokens:
1476 s/\bENDFILE\b/tok_eof/g;
1477 s/\bIDENTIFIER\b/tok_identifier/g;
1479 Let them be enums, not #define, to ease debugging.
1480 Adjust all the code.
1482 2001-01-18 Akim Demaille <akim@epita.fr>
1484 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1485 * src/lex.c (maxtoken, grow_token_buffer): Static.
1487 2001-01-18 Akim Demaille <akim@epita.fr>
1489 Since we now use obstacks, more % directives can be enabled.
1491 * src/lex.c (percent_table): Also accept `%yacc',
1492 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1494 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1495 instead of returning a token.
1496 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1497 * src/reader.c (read_declarations): Adjust.
1498 * src/files.c (open_files): Don't call `compute_base_names', don't
1499 compute `attrsfile' since they depend upon data which might be
1500 *in* the input file now.
1501 (output_files): Do it here.
1502 * src/output.c (output_headers): Document the fact that this patch
1503 introduces a guaranteed SEGV for semantic parsers.
1504 * doc/bison.texinfo: Document them.
1505 * tests/suite.at: Exercise these %options.
1507 2000-12-20 Akim Demaille <akim@epita.fr>
1509 Also handle the output file (--verbose) with obstacks.
1511 * files.c (foutput): Remove.
1512 (output_obstack): New.
1513 Adjust all dependencies.
1514 * src/conflicts.c: Return a string.
1515 * src/system.h (obstack_grow_string): Rename as...
1516 (obstack_sgrow): this. Be ready to work with non literals.
1517 (obstack_fgrow4): New.
1519 2000-12-20 Akim Demaille <akim@epita.fr>
1521 * src/files.c (open_files): Fix the computation of short_base_name
1522 in the case of `-o foo.tab.c'.
1524 2000-12-20 Akim Demaille <akim@epita.fr>
1526 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1527 (copy_dollar): Now that everything uses obstacks, get rid of the
1530 2000-12-20 Akim Demaille <akim@epita.fr>
1532 * src/files.c (open_files): Actually the `.output' file is based
1533 on the short_base_name, not base_name.
1534 * tests/suite.at (Checking output file names): Adjust.
1536 2000-12-20 Akim Demaille <akim@epita.fr>
1538 * src/bison.s1: Remove, we now use directly...
1539 * src/bison.simple: this.
1540 * src/Makefile.am: Use pkgdata instead of data.
1542 2000-12-20 Akim Demaille <akim@epita.fr>
1544 * src/files.c (guard_obstack): New.
1545 (open_files): Initialize it.
1546 (output_files): Dump it...
1547 * src/files.h: Export it.
1548 * src/reader.c (copy_guard): Use it.
1550 2000-12-19 Akim Demaille <akim@epita.fr>
1552 * src/files.c (outfile, defsfile, actfile): Removed as global
1554 (open_files): Don't compute them.
1555 (output_files): Adjust.
1556 (base_name, short_base_name): Be global.
1557 Adjust dependencies.
1559 2000-12-19 Akim Demaille <akim@epita.fr>
1561 * src/files.c (strsuffix): New.
1562 (stringappend): Be just like strcat but allocate.
1563 (base_names): Eve out from open_files.
1564 Try to simplify the rather hairy computation of base_name and
1566 (open_files): Use it.
1567 * tests/suite.at (Checking output file names): New test.
1569 2000-12-19 Akim Demaille <akim@epita.fr>
1571 * src/system.h (obstack_grow_literal_string): Rename as...
1572 (obstack_grow_string): this.
1573 * src/output.c (output_parser): Recognize `%% actions' instead of
1575 * src/bison.s1: s/$/%% actions/.
1576 * src/bison.hairy: Likewise.
1578 2000-12-19 Akim Demaille <akim@epita.fr>
1580 * src/output.c (output_parser): Compute the `#line' lines when
1582 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1583 Suggested by Hans Aberg.
1585 2000-12-19 Akim Demaille <akim@epita.fr>
1587 Let the handling of the skeleton files be local to the procedures
1590 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1592 (fparser, open_extra_files): Remove.
1593 (open_files, output_files): Don't take care of fparser.
1594 * src/files.h: Adjust.
1595 * src/output.c (output_parser): Open and close the file to the
1597 * src/reader.c (read_declarations): When %semantic_parser, open
1600 2000-12-19 Akim Demaille <akim@epita.fr>
1602 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1603 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1605 2000-12-19 Akim Demaille <akim@epita.fr>
1607 * src/files.c (open_files): Yipee! We no longer need all the code
1608 looking for `/tmp' since we have no tmp file.
1610 2000-12-19 Akim Demaille <akim@epita.fr>
1612 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1614 * src/files.c (open_files): Less dependency on MSDOS etc.
1616 2000-12-14 Akim Demaille <akim@epita.fr>
1618 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1619 Provide a default definition.
1620 Use it when executing the default @ action.
1621 * src/reader.c (reader_output_yylsp): No longer include
1622 `timestamp' and `text' in the default YYLTYPE.
1624 2000-12-12 Akim Demaille <akim@epita.fr>
1626 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1627 (copy_guard): Quote the file names.
1628 Reported by Laurent Mascherpa.
1630 2000-12-12 Akim Demaille <akim@epita.fr>
1632 * src/output.c (output_headers, output_program, output): Be sure
1633 to escape special characters when outputting filenames.
1634 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1635 (output_headers): Don't depend on them, Use ACTSTR.
1637 2000-11-17 Akim Demaille <akim@epita.fr>
1639 * lib/obstack.h: Formatting changes.
1640 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1641 prevents type checking.
1642 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1643 cast the value to (void *): assigning a `foo *' to a `void *'
1645 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1646 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1649 2000-11-17 Akim Demaille <akim@epita.fr>
1651 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1653 (suite.m4, regression.m4, calc.m4): these.
1654 * tests/atgeneral.m4: Update from CVS Autoconf.
1656 2000-11-17 Akim Demaille <akim@epita.fr>
1658 * tests/regression.m4 (%union and --defines): New test,
1659 demonstrating a current bug in the obstack implementation.
1661 2000-11-17 Akim Demaille <akim@epita.fr>
1663 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1665 Use them to declare the variables which are global or local to
1668 2000-11-17 Akim Demaille <akim@epita.fr>
1670 * acconfig.h: Remove, no longer used.
1672 2000-11-07 Akim Demaille <akim@epita.fr>
1674 * src: s/Copyright (C)/Copyright/g.
1676 2000-11-07 Akim Demaille <akim@epita.fr>
1678 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1680 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1682 2000-11-07 Akim Demaille <akim@epita.fr>
1684 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1685 Merge in a single CPP if/else.
1687 2000-11-07 Akim Demaille <akim@epita.fr>
1689 * src/output.c (output): Remove useless variables.
1690 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1691 argument `data' for consistency with the prototypes.
1693 (obstack_copy, obstack_copy0): Rename the second argument as
1694 `address' for consistency. Qualify it `const'.
1695 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1696 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1697 `const' their input argument (`data' or `address').
1698 Adjust the corresponding macros to include `const' in casts.
1700 2000-11-03 Akim Demaille <akim@epita.fr>
1702 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1703 s/PFILE1/BISON_HAIRY/.
1704 Adjust dependencies.
1706 2000-11-03 Akim Demaille <akim@epita.fr>
1708 For some reason, this was not applied.
1710 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1711 `unlink': it's no longer used.
1713 2000-11-03 Akim Demaille <akim@epita.fr>
1715 * src/files.c (skeleton_find): New function, eved out of...
1716 (open_files, open_extra_files): here.
1718 2000-11-03 Akim Demaille <akim@epita.fr>
1722 * src/files.c (obstack_save): New function.
1723 (done): Rename as...
1724 (output_files): this.
1726 * src/main.c (main): Don't use `atexit' to register `done', since
1727 it no longer has to remove tmp files, just call `output_files'
1728 when there are no errors.
1730 2000-11-02 Akim Demaille <akim@epita.fr>
1732 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1733 `unlink': it's no longer used.
1734 * src/files.h: Formatting changes.
1736 2000-11-02 Akim Demaille <akim@epita.fr>
1738 Remove the last uses of mktemp and unlink/delete.
1740 * src/files.c (fdefines, ftable): Removed.
1741 (defines_ostack, table_obstack): New.
1742 Adjust dependencies of the former into uses of the latter.
1743 * src/output.c (output_short_or_char_table, output_short_table):
1744 Convert to using obstacks.
1745 * src/reader.c (copy_comment2): Accept one FILE * and two
1747 (output_token_defines, reader_output_yylsp): Use obstacks.
1748 * src/system.h (obstack_fgrow3): New.
1750 2000-11-01 Akim Demaille <akim@epita.fr>
1752 Change each use of `fattrs' into a use of `attrs_obstack'.
1754 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1755 * src/files.c (fattrs): Remove.
1756 (attrs_obstack): New.
1757 Adjust all dependencies.
1758 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1760 2000-11-01 Akim Demaille <akim@epita.fr>
1763 Change each use of `faction' into a use of `action_obstack'.
1765 * lib/obstack.h, lib/obstack.c: New files.
1766 * src/files.c (faction): Remove.
1767 (action_obstack): New.
1768 Adjust all dependencies.
1770 2000-10-20 Akim Demaille <akim@epita.fr>
1772 * lib/quote.h (PARAMS): New macro. Use it.
1774 2000-10-16 Akim Demaille <akim@epita.fr>
1776 * src/output.c (output_short_or_char_table): New function.
1777 (output_short_table, output_token_translations): Use it.
1778 (goto_actions): Use output_short_table.
1780 2000-10-16 Akim Demaille <akim@epita.fr>
1782 * src/symtab.c (bucket_new): New function.
1785 * src/output.c (output_short_table): New argument to display the
1786 comment associated with the table.
1787 Adjust dependencies.
1788 (output_gram): Use it.
1789 (output_rule_data): Nicer output layout for YYTNAME.
1791 2000-10-16 Akim Demaille <akim@epita.fr>
1793 * src/lex.c (read_typename): New function.
1795 * src/reader.c (copy_dollar): Likewise.
1797 2000-10-16 Akim Demaille <akim@epita.fr>
1799 * src/reader.c (copy_comment2): Expect the input stream to be on
1800 the `/' which is suspected to open a comment, instead of being
1801 called after `//' or `/*' was read.
1802 (copy_comment, copy_definition, parse_union_decl, copy_action)
1803 (copy_guard): Adjust.
1805 2000-10-16 Akim Demaille <akim@epita.fr>
1807 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1808 `read_signed_integer'.
1810 2000-10-16 Akim Demaille <akim@epita.fr>
1812 * src/reader.c (copy_dollar): New function.
1813 (copy_guard, copy_action): Use it.
1815 2000-10-16 Akim Demaille <akim@epita.fr>
1817 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1818 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1819 New files, from Fileutils 4.0.27.
1820 * src/main.c (printable_version): Remove.
1821 * src/lex.c, src/reader.c: Use `quote'.
1823 2000-10-04 Akim Demaille <akim@epita.fr>
1825 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1827 2000-10-04 Akim Demaille <akim@epita.fr>
1829 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1831 2000-10-04 Akim Demaille <akim@epita.fr>
1833 When a literal string is used to define two different tokens,
1834 `bison -v' segfaults.
1835 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1837 * tests/regression.m4: New file.
1838 Include the core of the sample provided by Piotr Gackiewicz.
1839 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1842 2000-10-04 Akim Demaille <akim@epita.fr>
1844 * src/reader.c (parse_expect_decl): Keep `count' within the size
1848 2000-10-02 Paul Eggert <eggert@twinsun.com>
1850 * bison.s1 (yyparse): Assign the default value
1851 unconditionally, to avoid a GCC warning and make the parser a
1854 2000-10-02 Akim Demaille <akim@epita.fr>
1856 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1859 2000-10-02 Akim Demaille <akim@epita.fr>
1861 * src/derives.c, src/print.c, src/reduce.c: To ease the
1862 translation, move some `\n' out of the translated strings.
1864 2000-10-02 Akim Demaille <akim@epita.fr>
1866 The location tracking mechanism is precious for parse error
1867 messages. Nevertheless, it is enabled only when `@n' is used in
1868 the grammar, which is a different issue (you can use it in error
1869 message, but not in the grammar per se). Therefore, there should
1870 be another means to enable it.
1872 * src/getargs.c (getargs): Support `--locations'.
1874 * src/getargs.h (locationsflag): Export it.
1875 * src/lex.c (percent_table): Support `%locations'.
1876 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1877 with `locationsflag'.
1878 * doc/bison.texinfo: Document `--locations' and `%locations'.
1880 * tests/calc.m4: Test it.
1882 For regularity of the names, replace each
1883 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1884 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1885 In addition replace each `flag' with `_flag'.
1887 2000-10-02 Akim Demaille <akim@epita.fr>
1889 Also test parse error messages, including with YYERROR_VERBOSE.
1891 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1893 Use it to check the computations.
1894 Use it to check `nonassoc' is honored.
1895 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1896 `--yyerror-verbose'.
1897 (_AT_CHECK_CALC): Adjust to this option.
1898 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1900 2000-10-02 Akim Demaille <akim@epita.fr>
1902 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1903 the latter demonstrates a flaw in the handling of non debugging
1904 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1905 was used in order to simplify:
1921 unfortunately this leads to a CPP conflict when
1922 `--name-prefix=foo' is used since it produces `#define yydebug
1925 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1926 (YYDPRINTF): New macro.
1928 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1930 Also test `--verbose', `--defines' and `--name-prefix'.
1932 2000-10-02 Akim Demaille <akim@epita.fr>
1934 Improve the readability of the produced parsers.
1936 * src/bison.s1: Formatting changes.
1937 Improve the comment related to the `$' mark.
1938 (yydefault): Don't fall through to `yyresume': `goto' there.
1939 * src/output.c (output_parser): When the `$' is met, skip the end
1941 New variable, `number_of_dollar_signs', to check there's exactly
1942 one `$' in the parser skeleton.
1944 2000-10-02 Akim Demaille <akim@epita.fr>
1946 * lib/xstrdup.c: New file, from the fileutils.
1947 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1948 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1949 instead of strlen + xmalloc + strcpy.
1950 * src/symtab.c (copys): Remove, use xstrdup instead.
1952 2000-10-02 Akim Demaille <akim@epita.fr>
1954 * src/gram.h (associativity): New enum type which replaces the
1955 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1956 `right_assoc', `left_assoc' and `non_assoc'.
1957 Adjust all dependencies.
1958 * src/reader.c: Formatting changes.
1959 (LTYPESTR): Don't define it, use it as a literal in
1960 `reader_output_yylsp'.
1961 * src/symtab.h (symbol_class): New enum type which replaces the
1962 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1963 `sunknown', `stoken and `snterm'.
1965 2000-10-02 Akim Demaille <akim@epita.fr>
1967 * src/getargs.c (fixed_outfiles): Rename as...
1968 (yaccflag): for consistency and accuracy.
1969 Adjust dependencies.
1971 2000-10-02 Akim Demaille <akim@epita.fr>
1973 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1974 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1975 difficult and introduced a lot of core dump. It turns out that
1976 Bison used an implementation of `xmalloc' based on `calloc', and
1977 at various places it does depend upon the initialization to 0. I
1978 have not tried to isolate the pertinent places, and all the former
1979 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1980 someone should address this issue.
1982 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1983 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1985 Adjust dependencies.
1986 * src/warshall.h: New file.
1989 2000-10-02 Akim Demaille <akim@epita.fr>
1991 Various anti-`extern in *.c' changes.
1993 * src/system.h: Include `assert.h'.
1995 2000-10-02 Akim Demaille <akim@epita.fr>
1997 * src/state.h (nstates, final_state, first_state, first_shift)
1998 (first_reduction): Move their exportation from here...
1999 * src/LR0.h: to here.
2000 Adjust dependencies.
2001 * src/getargs.c (statisticsflag): New variable.
2002 Add support for `--statistics'.
2003 Adjust dependencies.
2005 Remove a lot of now useless `extern' statements in most files.
2007 2000-10-02 Akim Demaille <akim@epita.fr>
2009 * src/LR0.h: New file.
2012 2000-10-02 Akim Demaille <akim@epita.fr>
2014 * src/print.h: New file.
2016 * src/print.c: Formatting and ordering changes.
2017 (verbose, terse): Replace with...
2018 (print_results): this new function.
2019 Adjust dependencies.
2021 2000-10-02 Akim Demaille <akim@epita.fr>
2023 * src/conflicts.c (conflict_report): New function.
2024 (conflict_log, verbose_conflict_log): Replace with...
2025 (print_conflicts): this function.
2026 Adjust dependencies.
2027 * src/conflicts.h: New file.
2028 Propagate its inclusion.
2030 2000-10-02 Akim Demaille <akim@epita.fr>
2032 * src/nullable.h: New file.
2033 Propagate its inclusion.
2034 * src/nullable.c: Formatting changes.
2036 2000-10-02 Akim Demaille <akim@epita.fr>
2038 * src/reduce.h: New file.
2039 Propagate its inclusion.
2040 * src/reduce.c: Topological sort and other formatting changes.
2041 (bool, TRUE, FALSE): Move their definition to...
2042 * src/system.h: here.
2044 2000-10-02 Akim Demaille <akim@epita.fr>
2046 * src/files.c: Formatting changes.
2047 (tryopen, tryclose, openfiles): Rename as...
2048 (xfopen, xfclose, open_files): this.
2049 (stringappend): static.
2050 * src/files.h: Complete the list of exported symbols.
2053 2000-10-02 Akim Demaille <akim@epita.fr>
2055 * src/reader.h: New file.
2056 Propagate its use instead of tedious list of `extern' and
2058 * src/reader.c: Formatting changes, topological sort,
2061 2000-10-02 Akim Demaille <akim@epita.fr>
2063 * src/lex.h: Prototype `lex.c' exported functions.
2064 * src/reader.c: Adjust.
2065 * src/lex.c: Formatting changes.
2066 (safegetc): Rename as...
2069 2000-10-02 Akim Demaille <akim@epita.fr>
2071 * src/lalr.h: New file.
2072 Propagate its inclusion instead of prototypes and `extern'.
2073 * src/lalr.c: Formatting changes, topological sorting etc.
2075 2000-10-02 Akim Demaille <akim@epita.fr>
2077 * src/output.c (token_actions): Introduce a temporary array,
2078 YYDEFACT, that makes it possible for this function to use
2081 2000-10-02 Akim Demaille <akim@epita.fr>
2083 `user_toknums' is output as a `short[]' in `output.c', while it is
2084 defined as a `int[]' in `reader.c'. For consistency with the
2085 other output tables, `user_toknums' is now defined as a table of
2088 * src/reader.c (user_toknums): Be a short table instead of an int
2090 Adjust dependencies.
2092 Factor the short table outputs.
2094 * src/output.c (output_short_table): New function.
2095 * src/output.c (output_gram, output_stos, output_rule_data)
2096 (output_base, output_table, output_check): Use it.
2098 2000-10-02 Akim Demaille <akim@epita.fr>
2100 * src/output.c (output): Topological sort of the functions, in
2101 order to get rid of the `static' prototypes.
2102 No longer use `register'.
2103 * src/output.h: New file.
2104 Propagate its inclusion in files explicitly prototyping functions
2107 2000-09-21 Akim Demaille <akim@epita.fr>
2109 * src/atgeneral.m4: Update from Autoconf.
2111 2000-09-21 Akim Demaille <akim@epita.fr>
2113 * src/closure.h: New file.
2114 * src/closure.c: Formatting changes, topological sort over the
2115 functions, use of closure.h.
2116 (initialize_closure, finalize_closure): Rename as...
2117 (new_closure, free_closure): these. Adjust dependencies.
2118 * src/LR0.c: Formatting changes, topological sort, use of
2120 (initialize_states): Rename as...
2122 * src/Makefile.am (noinst_HEADERS): Adjust.
2124 2000-09-20 Akim Demaille <akim@epita.fr>
2126 * src/acconfig.h: Don't protect config.h against multiple
2128 Don't define PARAMS.
2129 * src/system.h: Define PARAMS.
2130 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2131 purpose of config.h. system.h must not try to fix wrong
2132 definitions in config.h.
2134 2000-09-20 Akim Demaille <akim@epita.fr>
2136 * src/derives.h: New file.
2137 * src/main.c, src/derives.h: Use it.
2139 * src/Makefile.am (noinst_HEADERS): Adjust.
2141 2000-09-20 Akim Demaille <akim@epita.fr>
2143 * tests/atgeneral.m4: Update from Autoconf.
2144 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2145 (AT_CHECK_CALC): New macros.
2146 Use these macros to test bison with options `', `--raw',
2147 `--debug', `--yacc', `--yacc --debug'.
2149 2000-09-19 Akim Demaille <akim@epita.fr>
2151 * src/output.c: Formatting changes.
2152 * src/machine.h: Remove, leaving its contents in...
2153 * src/system.h: here.
2155 Adjust all dependencies on stdio.h and machine.h.
2156 * src/getargs.h: New file.
2157 Let all `extern' declarations about getargs.c be replaced with
2158 inclusion of `getargs.h'.
2159 * src/Makefile.am (noinst_HEADERS): Adjust.
2161 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2163 (yyerror): Returns void, not int.
2164 * doc/bison.texinfo: Formatting changes.
2166 2000-09-19 Akim Demaille <akim@epita.fr>
2168 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2171 2000-09-18 Akim Demaille <akim@epita.fr>
2173 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2174 * src/Makefile.am (INCLUDES): Don't.
2175 Be ready to fetch headers in lib/.
2177 2000-09-18 Akim Demaille <akim@epita.fr>
2179 * doc/bison.texinfo: Update the copyright.
2180 ANSIfy and GNUify the examples.
2181 Remove the old menu.
2183 2000-09-18 Akim Demaille <akim@epita.fr>
2185 First set of tests: use the `calc' example from the documentation.
2187 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2188 is defined only when YYDEBUG is.
2189 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2190 * src/files.c (tryopen, tryclose): Formatting changes.
2191 Move to the top and be static.
2192 * src/reader.c (read_signed_integer): Likewise.
2193 * tests/calc.m4: New file.
2194 * Makefile.am, suite.m4: Adjust.
2195 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2197 2000-09-18 Akim Demaille <akim@epita.fr>
2199 Add support for an Autotest test suite for Bison.
2201 * m4/m4.m4, m4/atconfig.m4: New files.
2202 * m4/Makefile.am (EXTRA_DIST): Adjust.
2203 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2205 * src/getargs.c: Display a more standard --version message.
2206 * src/reader.c (reader): Formatting changes.
2207 No longer depend upon VERSION_STRING.
2208 * configure.in: No longer use `dnl'.
2209 Set up the test suite and the new directory `tests/.
2210 (VERSION_STRING): Remove.
2212 2000-04-14 Akim Demaille <akim@epita.fr>
2214 * src/reader.c (copy_comment2): New function, same as former
2215 `copy_comment', but outputs into two FILE *.
2216 (copy_comment): Use it.
2217 (parse_union_decl): Use it.
2218 (get_type, parse_start_decl): Use the same `invalid' message.
2219 (parse_start_decl, parse_union_decl): Use the same `multiple'
2221 (parse_union_decl, copy_guard, copy_action): Use the same
2222 `unmatched' message.
2223 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2225 2000-03-31 Akim Demaille <akim@epita.fr>
2227 * src/files.c (tryopen, tryclose): Move to the top.
2230 2000-03-31 Akim Demaille <akim@epita.fr>
2232 * src/main.c (main): Don't call `done', exit does it.
2234 2000-03-31 Akim Demaille <akim@epita.fr>
2236 * allocate.c: s/return (foo)/return foo/.
2239 * output.c: Likewise.
2240 * reader.c: Likewise.
2241 * symtab.c: Likewise.
2242 * vmsgetargs.c: Likewise.
2244 2000-03-31 Akim Demaille <akim@epita.fr>
2246 Clean up the error reporting functions.
2248 * src/report.c: New file.
2249 * src/report.h: Likewise.
2250 * src/Makefile.am: Adjust.
2251 * m4/error.m4: New file.
2252 * m4/Makefile.am: Adjust.
2253 * configure.in (jm_PREREQ_ERROR): Call it.
2254 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2256 (fatal, fatals): Remove. All callers use complain.c::fatal.
2257 (warn, warni, warns, warnss, warnss): Remove. All callers use
2258 complain.c::complain.
2259 (toomany): Remove, use fatal instead.
2260 * src/files.c (done): No argument, use complain_message_count.
2261 * src/main.c (main): Register `done' to `atexit'.
2263 * src/getargs.c (usage): More `fputs', less `fprintf'.
2265 2000-03-28 Akim Demaille <akim@epita.fr>
2267 * lib/: New directory.
2268 * Makefile.am (SUBDIRS): Adjust.
2269 * configure.in: Adjust.
2270 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2272 * src/alloca.c: Moved to lib/.
2273 * src/getopt.c: Likewise.
2274 * src/getopt1.c: Likewise.
2275 * src/getopt.h: Likewise.
2276 * src/ansi2knr.c: Likewise.
2277 * src/ansi2knr.1: Likewise.
2278 * src/Makefile.am: Adjust.
2279 * lib/Makefile.am: New file.
2281 2000-03-28 Akim Demaille <akim@epita.fr>
2283 * src/getargs.c (usage): Refresh the help message.
2285 2000-03-17 Akim Demaille <akim@epita.fr>
2287 * src/getopt1.c: Updated from textutils 2.0e
2288 * src/getopt.c: Likewise.
2289 * src/getopt.h: Likewise.
2291 2000-03-17 Akim Demaille <akim@epita.fr>
2293 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2294 the file name, not the whole `#line LINE FILE'.
2296 2000-03-17 Akim Demaille <akim@epita.fr>
2298 On syntax errors, report the token on which we choked.
2300 * src/bison.s1 (yyparse): In the label yyerrlab, when
2301 YYERROR_VERBOSE, add yychar in msg.
2303 2000-03-17 Akim Demaille <akim@epita.fr>
2305 * src/reader.c (copy_at): New function.
2306 (copy_guard): Use it.
2307 (copy_action): Use it.
2309 2000-03-17 Akim Demaille <akim@epita.fr>
2311 Be kind to translators, save some useless translations.
2313 * src/main.c (banner): New function.
2314 (fatal_banner): Use it.
2315 (warn_banner): Use it.
2317 2000-03-17 Akim Demaille <akim@epita.fr>
2319 * src/reader.c (copy_definition): Use copy_string and
2320 copy_comment. Removed now unused `match', `ended',
2322 (copy_comment, copy_string): Moved, to be visible from
2325 2000-03-17 Akim Demaille <akim@epita.fr>
2327 * src/reader.c (copy_string): Declare `static inline'. No
2328 problems with inline, since it is checked by configure.
2329 (copy_comment): Likewise.
2331 2000-03-17 Akim Demaille <akim@epita.fr>
2333 * src/reader.c (packsymbols): Formatting changes.
2335 2000-03-17 Akim Demaille <akim@epita.fr>
2337 * src/reader.c (copy_comment): New function, factored out from:
2338 (copy_action): Use it. Removed now unused `match', `ended',
2340 (copy_guard): Likewise.
2342 2000-03-17 Akim Demaille <akim@epita.fr>
2344 * src/reader.c (copy_string): New function, factored out from:
2345 (copy_action): Use it.
2346 (copy_guard): Likewise.
2348 2000-03-17 Akim Demaille <akim@epita.fr>
2350 Change the handling of @s so that they behave exactly like $s.
2351 There is now a pseudo variable @$ (readble and writable), location
2352 of the lhs of the rule (by default ranging from the location of
2353 the first symbol of the rhs, to the location of the last symbol,
2354 or, if the rhs is empty, YYLLOC).
2356 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2358 (yyparse): When providing a default semantic action, provide a
2359 default location action.
2360 (after the $): No longer change `*YYLSP', just stack YYLOC the
2361 same way you stack YYVAL.
2362 * src/reader.c (read_declarations): Use warns.
2363 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2364 (copy_action, case '@'): Likewise.
2365 Use a standard error message, to save useless work from
2368 2000-03-17 Akim Demaille <akim@epita.fr>
2370 * src/bison.s1: Formatting and cosmetics changes.
2371 * src/reader.c: Likewise.
2372 Update the Copyright notice.
2374 2000-03-17 Akim Demaille <akim@epita.fr>
2376 * src/bison.s1 (#line): All set to `#line' only, since the
2377 Makefile now handles them.
2379 2000-03-16 Akim Demaille <akim@epita.fr>
2381 * src/output.c (output_rule_data): Output the documentation of
2383 (Copyright notice): Update.
2386 2000-03-16 Akim Demaille <akim@epita.fr>
2388 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2389 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2390 One `#if YYDEBUG' remains, since it uses variables which are
2391 defined only if `YYDEBUG != 0'.
2393 2000-03-16 Akim Demaille <akim@epita.fr>
2395 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2396 and related variables so that the similarities are highlighted.
2398 2000-03-16 Akim Demaille <akim@epita.fr>
2400 * src/bison.s1: Properly indent CPP directives.
2402 2000-03-16 Akim Demaille <akim@epita.fr>
2404 * src/bison.s1: Properly indent the `alloca' CPP section.
2406 2000-03-16 Akim Demaille <akim@epita.fr>
2408 Do not hard code values of directories in `configure.in'.
2409 Update the `configure' tool chain.
2411 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2413 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2414 (AC_OUTPUT): Add m4/Makefile.
2415 Bump to bison 1.28a, 1.29 has never been released.
2416 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2417 handled via src/Makefile.am.
2418 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2419 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2421 * Makefile.am (SUBDIRS): Add m4.
2422 (ACLOCAL_AM_FLAGS): New variable.
2423 (AUTOMAKE_OPTIONS): Add check-news.
2424 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2425 the proper line number and file name.
2426 (DEFS): Propagate the location of bison library files and of the
2428 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2430 * acinclude.m4: Remove, replaced by the directory m4.
2431 * m4/Makefile.am (EXTRA_DIST): New variable.
2432 * m4/gettext.m4: New file, from the fileutils.
2433 * m4/lcmessage.m4: Likewise
2434 * m4/progtest.m4: Likewise.
2435 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2437 2000-03-10 Akim Demaille <akim@epita.fr>
2440 Formatting changes of various comments.
2441 Respect the GNU coding standards at various places.
2442 Don't use `_()' when no translation is needed.
2444 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2447 OS/2 honors TMPDIR environment variable.
2449 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2451 * doc/bison.texinfo: Tweaked spelling and grammar.
2453 Removed reference to price of printed copy.
2454 Mention BISON_SIMPLE and BISON_HAIRY.
2456 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2458 * configure.in, NEWS:
2459 Bison 1.29 released.
2461 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2463 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2464 Added reference card.
2466 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2468 * po/ru.po: Added Russian translation.
2470 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2472 * configure.in: Added Russian translation.
2474 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2476 * configure.in, NEWS, README:
2477 Released version 1.28.
2479 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2482 Squashed redefinition warning on some systems.
2484 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2485 Have configure build version string instead of relying on ANSI string
2488 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2490 * po/POTFILES.in: Got rid of version.c.
2492 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2494 * acconfig.h, configure.in:
2495 Have configure build version string instead of relying on ANSI string
2498 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2501 Dropped mention of `+' for long-named options.
2503 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2505 * src/files.c: Added <unistd.h> for unlink().
2507 * src/Makefile.am, src/system.h:
2510 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2512 * README: Added a FAQ list.
2514 * configure.in, acconfig.h:
2517 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2519 * doc/FAQ, doc/Makefile.am:
2522 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2524 * src/alloc.h, src/symtab.h, src/version.c:
2525 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2527 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2529 * src/.cvsignore, src/Makefile.am:
2530 Reorganized: sources in `src', documentation in `doc'.
2532 * src/lex.c (literalchar):
2533 fixed the code for escaping double quotes (thanks
2536 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2538 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2539 Adjusted paths to reflect directory reorganization.
2541 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2543 * doc/.cvsignore, doc/Makefile.am:
2544 Reorganized: sources in `src', documentation in `doc'.
2546 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2549 Updated AC_INIT file to reflect directory reorganization.
2551 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2552 Reorganized: sources in `src', documentation in `doc'.
2554 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2557 Don't declare calloc() and realloc() if not necessary.
2559 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2561 * configure.in, acconfig.h, acinclude.m4:
2562 Don't declare calloc() and realloc() if not necessary.
2564 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2566 * po/.cvsignore: Added i18n support.
2568 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2570 * acconfig.h, configure.in, Makefile.am:
2573 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2575 * src/bison.s1: Fixed #line numbers.
2577 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2579 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2580 Added PO files from Translation Project.
2582 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2585 Added support for non-ANSI compilers (ansi2knr).
2587 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2589 * configure.in: Bumped version number to 1.27.
2592 Added `bison.simple' to list of files removed by `make distclean'.
2594 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2596 * src/files.c, src/files.h:
2597 Defined locations of parser files in config.h instead of Makefile.
2599 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2601 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2602 Defined locations of parser files in config.h instead of Makefile.
2604 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2607 Removed inappropriate use of $< macro.
2609 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2611 * po/Makefile.in.in, po/POTFILES.in:
2612 Add `po' directory skeleton.
2614 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2616 * README: Document help-bison list.
2618 * configure.in: Add check for mkstemp().
2620 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2622 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2623 Hush a few compiler warnings.
2626 Add tryclose(), which verifies that fclose was successful.
2627 Hush a couple of compiler warnings.
2629 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2631 * Makefile.am, OChangeLog:
2632 ChangeLog is now automatically generated. Include the old version as
2635 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2637 * 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:
2640 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2642 * doc/bison.texinfo: Fix formatting glitch.
2644 * doc/bison.texinfo: Update FSF address.
2646 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2648 * acconfig.h: Update FSF address.
2650 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2653 Don't define PACKAGE here, since config.h defines it.
2655 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2657 * src/reader.c: Update copyright date.
2660 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2661 favor of output directly to stderr (avoids buffer overruns).
2663 * src/reader.c: Some checks for premature EOF.
2665 * 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:
2666 Use prototypes if the compiler understands them.
2668 * src/files.c: Honor TMPDIR on Unix hosts.
2669 Use prototypes if the compiler understands them.
2672 Fix a couple of buffer overrun bugs.
2673 Use prototypes if the compiler understands them.
2675 * src/system.h: Include unistd.h and ctype.h.
2676 Use #ifdef instead of #if for NLS symbols.
2678 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2680 * doc/bison.texinfo:
2681 Delete comment "consider using @set for edition number, etc..." since
2682 we now are doing so.
2684 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2687 Use prototypes if the compiler understands them.
2689 * NEWS: Document 1.26 highlights.
2691 * Makefile.am: Require Automake 1.3 or later.
2694 Use prototypes if the compiler understands them.
2696 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2699 Use VERSION symbol from automake for version number.
2701 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2703 * acconfig.h, configure.in, version.cin:
2704 Use VERSION symbol from automake for version number.
2706 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2709 Distribute original version of simple parser (bison.s1), not built
2710 version (bison.simple).
2712 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2714 * doc/bison.texinfo: Add info dir entry.
2716 * doc/bison.texinfo:
2717 Let automake put version number into documentation.
2719 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2721 * src/bison.cld, src/build.com, src/vmshlp.mar:
2722 Add non-RCS files from /gd/gnu/bison.
2724 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2727 Document the BISON_HAIRY and BISON_SIMPLE variables.
2729 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2731 * src/version.c: Build version.c automatically.
2734 Fix token numbering (used to start at 258, not 257).
2736 * src/system.h: Include config.h.
2738 * src/getargs.c: Update bug report address.
2740 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2741 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2743 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2746 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2748 * configure.in, version.cin:
2749 Build version.c automatically.
2751 * AUTHORS: Add AUTHORS file.
2753 * README: Update bug report address.
2756 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2758 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2761 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2763 * doc/bison.texinfo: Clean up some formatting.
2765 1998-05-05 Richard Stallman <rms@gnu.org>
2767 * doc/bison.texinfo:
2768 Explain better why to make a pure parser.
2770 1998-01-05 Richard Stallman <rms@gnu.org>
2772 * src/files.c (openfiles):
2773 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2774 find a temporary directory, if possible. Do not unlink files while
2777 1997-08-25 Richard Stallman <rms@gnu.org>
2779 * src/reader.c (stack_offset;):
2780 Change some warni to warns.
2782 * src/lex.c (literalchar): Use warns, not warni.
2784 1997-06-28 Richard Stallman <rms@gnu.org>
2786 * src/bison.s1: Add a Bison version comment.
2788 * src/main.c (fatal, warn, berror):
2791 1997-06-28 Richard Stallman <rms@gnu.org>
2793 * Makefile.in (bison_version): New variable.
2794 (dist): Use that variable.
2795 (bison.s1): Substitute the Bison version into bison.simple.
2797 * bison.simple: Add a Bison version comment.
2799 1997-06-18 Richard Stallman <rms@gnu.org>
2801 * src/main.c (fatal, warn, berror):
2802 Make error messages standard.
2803 (toomany): Improve error message text.
2805 * 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:
2806 new.h renamed to alloc.h.
2808 1997-06-18 Richard Stallman <rms@gnu.org>
2810 * Makefile.in: new.h renamed to alloc.h.
2812 1997-05-24 Richard Stallman <rms@gnu.org>
2814 * src/lex.c (literalchar):
2815 Fix the code for escaping \, " and '.
2817 (lex): Avoid trouble when there are many chars
2818 to discard in a char literal with just several chars in it.
2820 1997-05-17 Richard Stallman <rms@gnu.org>
2823 Use malloc, if using alloca is troublesome.
2824 (YYSTACK_USE_ALLOCA): New flag macro.
2825 Define it for some systems and compilers.
2826 (YYSTACK_ALLOC): New macro.
2827 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2828 If it was malloc'd, free it.
2830 1997-05-17 Richard Stallman <rms@gnu.org>
2833 Use malloc, if using alloca is troublesome.
2834 (YYSTACK_USE_ALLOCA): New flag macro.
2835 Define it for some systems and compilers.
2836 (YYSTACK_ALLOC): New macro.
2837 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2838 If it was malloc'd, free it.
2840 1997-04-23 Richard Stallman <rms@gnu.org>
2843 (alloca) [__hpux]: Always define as __builtin_alloca.
2845 1997-04-23 Richard Stallman <rms@gnu.org>
2848 (alloca) [__hpux]: Always define as __builtin_alloca.
2850 1997-04-22 Richard Stallman <rms@gnu.org>
2853 [__hpux]: Include alloca.h (right for HPUX 10)
2854 instead of declaring alloca (right for HPUX 9).
2856 * src/bison.s1 (__yy_memcpy):
2857 Declare arg `count' as unsigned int.
2858 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2860 1997-04-22 Richard Stallman <rms@gnu.org>
2863 [__hpux]: Include alloca.h (right for HPUX 10)
2864 instead of declaring alloca (right for HPUX 9).
2866 * bison.simple (__yy_memcpy):
2867 Declare arg `count' as unsigned int.
2868 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2870 1997-01-03 Richard Stallman <rms@gnu.org>
2872 * src/allocate.c: [__STDC__ or _MSC_VER]:
2873 Declare calloc and realloc to return void *.
2875 1997-01-02 Richard Stallman <rms@gnu.org>
2878 [_MSC_VER]: Include stdlib.h and process.h.
2879 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2881 * src/main.c (main): Return FAILURE as a value.
2882 (printable_version): Declare arg as int, not char.
2884 1997-01-02 Richard Stallman <rms@gnu.org>
2886 * Makefile.in (dist):
2887 Explicitly check for symlinks, and copy them.
2889 1996-12-19 Richard Stallman <rms@gnu.org>
2892 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2894 1996-12-18 Paul Eggert <eggert@gnu.org>
2896 * src/bison.s1 (yyparse):
2897 If __GNUC__ and YYPARSE_PARAM are both defined,
2898 declare yyparse to have a void * argument.
2900 1996-12-18 Paul Eggert <eggert@gnu.org>
2902 * bison.simple (yyparse):
2903 If __GNUC__ and YYPARSE_PARAM are both defined,
2904 declare yyparse to have a void * argument.
2906 1996-12-17 Richard Stallman <rms@gnu.org>
2908 * src/reduce.c (nbits): Add some casts.
2910 1996-08-12 Richard Stallman <rms@gnu.org>
2912 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2914 1996-08-12 Richard Stallman <rms@gnu.org>
2916 * bison.simple: Test _MSDOS as well as _MSDOS_.
2918 1996-07-31 Richard Stallman <rms@gnu.org>
2921 [__sun && __i386]: Include alloca.h.
2923 1996-07-31 Richard Stallman <rms@gnu.org>
2926 [__sun && __i386]: Include alloca.h.
2928 1996-07-30 Richard Stallman <rms@gnu.org>
2930 * src/bison.s1: Comment change.
2932 * src/bison.s1: Test _MSDOS_, not MSDOS.
2934 1996-07-30 Richard Stallman <rms@gnu.org>
2936 * bison.simple: Comment change.
2938 * bison.simple: Test _MSDOS_, not MSDOS.
2940 1996-06-01 Richard Stallman <rms@gnu.org>
2942 * 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:
2943 Insert `_' macro around many string constants.
2946 Insert `_' macro around many string constants.
2948 (main): Call setlocale, bindtextdomain and textdomain.
2950 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2951 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2952 [ENABLE_NLS]: Include libintl.h.
2953 [ENABLE_NLS] (gettext): Define.
2954 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2955 (N_, PACKAGE, LOCALEDIR): New macros.
2957 1996-06-01 Richard Stallman <rms@gnu.org>
2959 * POTFILES.in: New file.
2961 * Makefile.in (allocate.o):
2962 Define target explicitly.
2964 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2965 (LDFLAGS): Set to @LDFLAGS@.
2966 (configure): Run autoconf only if preceding `cd' succeeds.
2967 (bison.s1): Redirect output to temporary file then move the
2968 temporary to the target, rather than redirecting directly to bison.s1.
2969 (clean): Remove config.status and config.log.
2970 (distclean): Don't remove config.status here.
2972 1996-05-12 Richard Stallman <rms@gnu.org>
2975 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2977 1996-05-12 Richard Stallman <rms@gnu.org>
2980 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2982 1996-05-11 Richard Stallman <rms@gnu.org>
2984 * src/bison.s1 (__yy_memcpy):
2985 Really reorder the args, as was supposedly done on Feb 14 1995.
2986 (yyparse): Calls changed accordingly.
2988 1996-05-11 Richard Stallman <rms@gnu.org>
2990 * Makefile.in (dist): Don't use $(srcdir).
2992 * bison.simple (__yy_memcpy):
2993 Really reorder the args, as was supposedly done on Feb 14 1995.
2994 (yyparse): Calls changed accordingly.
2996 1996-01-27 Richard Stallman <rms@gnu.org>
2998 * src/output.c (output_rule_data):
2999 Test YYERROR_VERBOSE in the conditional
3000 around the definition of ttyname.
3002 1995-12-29 Richard Stallman <rms@gnu.org>
3005 Fix line numbers in #line commands.
3007 1995-12-29 Richard Stallman <rms@gnu.org>
3010 Fix line numbers in #line commands.
3012 1995-12-27 Richard Stallman <rms@gnu.org>
3014 * src/bison.s1 (YYPARSE_PARAM_DECL):
3015 In C++, make it always null.
3016 (YYPARSE_PARAM_ARG): New macro.
3017 (yyparse): Use YYPARSE_PARAM_ARG.
3019 1995-12-27 Richard Stallman <rms@gnu.org>
3021 * bison.simple (YYPARSE_PARAM_DECL):
3022 In C++, make it always null.
3023 (YYPARSE_PARAM_ARG): New macro.
3024 (yyparse): Use YYPARSE_PARAM_ARG.
3026 1995-11-29 Richard Stallman <rms@gnu.org>
3028 * doc/bison.texinfo:
3029 Describe literal string tokens, %raw, %no_lines, %token_table.
3031 1995-11-29 Daniel Hagerty <hag@gnu.org>
3033 * doc/bison.texinfo: Fixed update date
3035 1995-10-16 Richard Stallman <rms@gnu.org>
3037 * src/version.c: Version 1.25.
3039 1995-10-16 Richard Stallman <rms@gnu.org>
3041 * NEWS: *** empty log message ***
3043 1995-10-16 Richard Stallman <rms@gnu.org>
3045 * doc/bison.1, doc/bison.rnh:
3048 1995-10-15 Richard Stallman <rms@gnu.org>
3050 * src/vmsgetargs.c, src/getargs.c:
3051 Added -n, -k, and -raw switches.
3052 (noparserflag, toknumflag, rawtoknumflag): New variables.
3054 * src/symtab.h (SALIAS):
3055 New #define for adding aliases to %token.
3056 (struct bucket): Added `alias' field.
3058 * src/reduce.c (reduce_grammar):
3059 Revise error message.
3060 (print_notices): Remove final `.' from error message.
3062 * src/reader.c (reader_output_yylsp):
3064 (readgram): Use `#if 0' around code that accepted %command
3065 inside grammar rules: The documentation doesn't allow it,
3066 and it will fail since the %command processors scan for the next %.
3067 (parse_token_decl): Extended the %token
3068 declaration to allow a multi-character symbol as an alias.
3069 (parse_thong_decl): New function.
3070 (read_declarations): Added %thong declarations.
3071 (read_declarations): Handle NOOP to deal with allowing
3072 % declarations as another means to specify the flags.
3073 (readgram): Allow %prec prior to semantics embedded in a rule.
3074 (skip_to_char, read_declarations, copy_definition)
3075 (parse_token_decl, parse_start_decl, parse_type_decl)
3076 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3077 (get_type_name, copy_guard, copy_action, readgram)
3078 (get_type, packsymbols): Revised most error messages.
3079 Changed `fatal' to `warnxxx' to avoid aborting for error.
3080 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3081 (read_declarations): Improve the error message for
3082 an invalid character. Do not abort.
3083 (read_declarations, copy_guard, copy_action): Use
3084 printable_version to avoid unprintable characters in printed output.
3085 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3086 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3087 Allow the type of a non-terminal can be given
3088 more than once, as long as all specifications give the same type.
3091 (output_headers, output_trailers, output, output_gram)
3092 (output_rule_data): Implement noparserflag variable.
3093 Implement toknumflag variable.
3094 (output): Call reader_output_yylsp to output LTYPESTR.
3096 * src/main.c (main):
3097 If reader sees an error, don't process the grammar.
3098 (fatals): Updated to not use VARARGS1.
3099 (printable_version, int_to_string, warn, warni, warns, warnss)
3100 (warnsss): New error reporting functions. Avoid abort for error.
3103 Added THONG and NOOP for alias processing.
3104 Added SETOPT for the new code that allows setting options with %flags.
3107 Include getopt.h. Add some extern decls.
3108 (safegetc): New function to deal with EOF gracefully.
3109 (literalchar); new function to deal with reading \ escapes.
3110 (lex): Use literalchar.
3111 (lex): Implemented "..." tokens.
3112 (literalchar, lex, parse_percent_token): Made tokenbuffer
3113 always contain the token. This includes growing the token
3114 buffer while reading an integer.
3115 (parse_percent_token): Replaced if-else statement with percent_table.
3116 (parse_percent_token): Added % declarations as another
3117 way to specify the flags -n, -l, and -r. Also added hooks for
3118 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3119 major changes to files.c.
3120 (lex) Retain in the incoming stream a character following
3122 (skip_white_space, lex): Revised most error messages
3123 and changed fatal to warn to avoid aborting.
3124 (percent_table): Added %thong declarations.
3126 * src/gram.h: Comment changes.
3128 * src/files.c (openfiles, open_extra_files, done):
3130 and actfile file. Handle noparserflag. Both for -n switch.
3132 * src/conflicts.c (resolve_sr_conflict):
3133 Remove use of alloca.
3135 1995-06-01 Jim Meyering <meyering@gnu.org>
3137 * doc/bison.texinfo: *** empty log message ***
3139 1995-05-06 Richard Stallman <rms@gnu.org>
3141 * src/bison.s1: Comment change.
3143 1995-05-06 Richard Stallman <rms@gnu.org>
3145 * bison.simple: Comment change.
3147 1995-05-03 Richard Stallman <rms@gnu.org>
3149 * src/version.c: Version now 1.24.
3151 * src/bison.s1: Change distribution terms.
3153 * src/version.c: Version now 1.23.
3155 1995-05-03 Richard Stallman <rms@gnu.org>
3157 * doc/bison.texinfo:
3158 Rewrite "Conditions for Using Bison".
3159 Update version to 1.24.
3161 1995-05-03 Richard Stallman <rms@gnu.org>
3163 * bison.simple: Change distribution terms.
3165 1995-02-23 Richard Stallman <rms@gnu.org>
3167 * src/files.c: Test __VMS_POSIX as well as VMS.
3169 1995-02-14 Jim Meyering <meyering@gnu.org>
3171 * src/bison.s1 (__yy_memcpy):
3172 Renamed from __yy_bcopy to avoid
3173 confusion. Reverse FROM and TO arguments to be consistent with
3176 1995-02-14 Jim Meyering <meyering@gnu.org>
3178 * bison.simple (__yy_memcpy):
3179 Renamed from __yy_bcopy to avoid
3180 confusion. Reverse FROM and TO arguments to be consistent with
3183 1994-11-10 David J. MacKenzie <djm@gnu.org>
3189 * Makefile.in (DISTFILES): Include NEWS.
3191 * Makefile.in (DISTFILES):
3192 Include install-sh, not install.sh.
3194 * configure.in: Update to Autoconf v2 macro names.
3196 1994-10-05 David J. MacKenzie <djm@gnu.org>
3198 * Makefile.in: fix typo
3200 * Makefile.in (prefix, exec_prefix):
3201 Let configure set them.
3203 1994-09-28 David J. MacKenzie <djm@gnu.org>
3205 * Makefile.in: Set datadir to $(prefix)/share.
3207 1994-09-15 Richard Stallman <rms@gnu.org>
3210 Update copyright notice and GPL version.
3212 1994-09-15 Richard Stallman <rms@gnu.org>
3215 Update copyright notice and GPL version.
3217 1994-07-12 Richard Stallman <rms@gnu.org>
3219 * src/reduce.c, src/reader.c:
3222 1994-05-05 David J. MacKenzie <djm@gnu.org>
3224 * Makefile.in: entered into RCS
3226 1994-03-26 Richard Stallman <rms@gnu.org>
3228 * src/bison.s1: entered into RCS
3230 1994-03-26 Richard Stallman <rms@gnu.org>
3232 * bison.simple: entered into RCS
3234 1994-03-25 Richard Stallman <rms@gnu.org>
3236 * src/main.c: entered into RCS
3238 1994-03-24 Richard Stallman <rms@gnu.org>
3240 * src/conflicts.c: entered into RCS
3242 1994-01-02 Richard Stallman <rms@gnu.org>
3244 * Makefile.in: *** empty log message ***
3246 1993-11-21 Richard Stallman <rms@gnu.org>
3248 * src/bison.s1: *** empty log message ***
3250 1993-11-21 Richard Stallman <rms@gnu.org>
3252 * doc/bison.texinfo: entered into RCS
3254 * doc/bison.texinfo: *** empty log message ***
3256 1993-11-21 Richard Stallman <rms@gnu.org>
3258 * bison.simple: *** empty log message ***
3260 1993-10-25 David J. MacKenzie <djm@gnu.org>
3262 * doc/bison.texinfo: *** empty log message ***
3264 1993-10-19 Richard Stallman <rms@gnu.org>
3266 * src/bison.s1: *** empty log message ***
3268 1993-10-19 Richard Stallman <rms@gnu.org>
3270 * bison.simple: *** empty log message ***
3272 1993-10-14 Richard Stallman <rms@gnu.org>
3274 * src/bison.s1: *** empty log message ***
3276 1993-10-14 Richard Stallman <rms@gnu.org>
3278 * bison.simple: *** empty log message ***
3280 1993-09-14 David J. MacKenzie <djm@gnu.org>
3282 * doc/bison.texinfo: *** empty log message ***
3284 1993-09-13 Noah Friedman <friedman@gnu.org>
3286 * Makefile.in: *** empty log message ***
3288 1993-09-10 Richard Stallman <rms@gnu.org>
3290 * src/conflicts.c: *** empty log message ***
3292 * src/system.h: entered into RCS
3294 1993-09-10 Richard Stallman <rms@gnu.org>
3296 * doc/bison.1: entered into RCS
3298 1993-09-06 Noah Friedman <friedman@gnu.org>
3300 * src/version.c: entered into RCS
3302 1993-09-06 Noah Friedman <friedman@gnu.org>
3304 * Makefile.in: *** empty log message ***
3306 1993-07-30 David J. MacKenzie <djm@gnu.org>
3308 * Makefile.in: *** empty log message ***
3310 1993-07-24 Richard Stallman <rms@gnu.org>
3312 * src/bison.s1: *** empty log message ***
3314 1993-07-24 Richard Stallman <rms@gnu.org>
3316 * bison.simple: *** empty log message ***
3318 1993-07-08 David J. MacKenzie <djm@gnu.org>
3320 * Makefile.in: *** empty log message ***
3322 1993-07-04 Richard Stallman <rms@gnu.org>
3324 * src/bison.s1: *** empty log message ***
3326 1993-07-04 Richard Stallman <rms@gnu.org>
3328 * bison.simple: *** empty log message ***
3330 1993-06-26 David J. MacKenzie <djm@gnu.org>
3332 * src/getargs.c: entered into RCS
3334 1993-06-26 David J. MacKenzie <djm@gnu.org>
3336 * doc/bison.texinfo: *** empty log message ***
3338 * doc/bison.1: New file.
3340 1993-06-25 Richard Stallman <rms@gnu.org>
3342 * src/getargs.c: New file.
3344 1993-06-16 Richard Stallman <rms@gnu.org>
3346 * src/bison.s1: *** empty log message ***
3348 1993-06-16 Richard Stallman <rms@gnu.org>
3350 * bison.simple: *** empty log message ***
3352 1993-06-03 Richard Stallman <rms@gnu.org>
3354 * src/bison.s1: New file.
3356 1993-06-03 Richard Stallman <rms@gnu.org>
3358 * doc/bison.texinfo: *** empty log message ***
3360 1993-06-03 Richard Stallman <rms@gnu.org>
3362 * bison.simple: New file.
3364 1993-05-19 Richard Stallman <rms@gnu.org>
3366 * doc/bison.texinfo: New file.
3368 1993-05-07 Noah Friedman <friedman@gnu.org>
3370 * Makefile.in: *** empty log message ***
3372 1993-04-28 Noah Friedman <friedman@gnu.org>
3374 * src/reader.c: *** empty log message ***
3376 1993-04-23 Noah Friedman <friedman@gnu.org>
3378 * src/alloc.h: entered into RCS
3380 1993-04-20 David J. MacKenzie <djm@gnu.org>
3382 * src/version.c: *** empty log message ***
3384 * src/files.c, src/allocate.c:
3387 * src/reader.c: *** empty log message ***
3389 * src/lex.c: entered into RCS
3391 * src/conflicts.c: New file.
3393 * src/symtab.c: entered into RCS
3395 * src/alloc.h: New file.
3397 * src/LR0.c: entered into RCS
3399 1993-04-18 Noah Friedman <friedman@gnu.org>
3401 * src/reader.c: New file.
3403 * src/version.c: *** empty log message ***
3405 1993-04-18 Noah Friedman <friedman@gnu.org>
3407 * Makefile.in: *** empty log message ***
3409 1993-04-17 Noah Friedman <friedman@gnu.org>
3411 * Makefile.in: *** empty log message ***
3413 1993-04-15 Richard Stallman <rms@gnu.org>
3415 * src/main.c, src/files.c:
3418 1993-04-15 Noah Friedman <friedman@gnu.org>
3420 * configure.in: entered into RCS
3422 * configure.in: *** empty log message ***
3424 * configure.in: New file.
3426 1993-04-14 Richard Stallman <rms@gnu.org>
3428 * Makefile.in: New file.
3430 1993-04-13 Richard Stallman <rms@gnu.org>
3432 * src/version.c: New file.
3434 1993-03-25 Richard Stallman <rms@gnu.org>
3436 * src/output.c: entered into RCS
3438 1992-09-25 Richard Stallman <rms@gnu.org>
3440 * configure.bat: entered into RCS
3442 1992-06-22 Richard Stallman <rms@gnu.org>
3444 * src/vmsgetargs.c: entered into RCS
3446 1992-06-22 Richard Stallman <rms@gnu.org>
3448 * doc/bison.rnh: entered into RCS
3450 1992-04-20 David J. MacKenzie <djm@gnu.org>
3452 * README: entered into RCS
3454 1992-01-22 Richard Stallman <rms@gnu.org>
3456 * src/machine.h: entered into RCS
3458 1991-12-21 Richard Stallman <rms@gnu.org>
3460 * src/lalr.c, src/closure.c:
3463 1991-12-20 Richard Stallman <rms@gnu.org>
3465 * src/state.h: entered into RCS
3467 1991-12-18 Richard Stallman <rms@gnu.org>
3469 * src/print.c, src/nullable.c, src/derives.c:
3472 1991-11-03 David J. MacKenzie <djm@gnu.org>
3474 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3477 1988-09-09 Richard Stallman <rms@gnu.org>
3479 * src/bison.hairy: entered into RCS
3481 1987-12-16 Richard Stallman <rms@gnu.org>
3483 * REFERENCES: entered into RCS