1 2001-11-19 Akim Demaille <akim@epita.fr>
3 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
4 (maxrhs): this new function.
6 2001-11-19 Akim Demaille <akim@epita.fr>
8 * src/lalr.c (F): New macro to access to the variable F.
11 2001-11-19 Akim Demaille <akim@epita.fr>
13 * src/lalr.h (LA): New macro to access to the variable LA.
14 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
17 2001-11-19 Akim Demaille <akim@epita.fr>
19 * src/lalr.c (initialize_LA): Only initialize LA. Let...
20 (set_state_table): handle the `lookaheads' members.
23 2001-11-19 Akim Demaille <akim@epita.fr>
25 * src/lalr.h (lookaheads): Removed array, which contents is now
27 (state_t): this structure.
28 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
31 2001-11-19 Akim Demaille <akim@epita.fr>
33 * src/lalr.h (consistent): Removed array, which contents is now
35 (state_t): this structure.
36 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
39 2001-11-19 Akim Demaille <akim@epita.fr>
41 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
42 contents is now members of...
43 (state_t): this structure.
44 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
48 2001-11-19 Akim Demaille <akim@epita.fr>
50 * src/lalr.h (state_t): New.
51 (state_table): Be a state_t * instead of a core **.
52 (accessing_symbol): Remove, part of state_t.
54 (set_accessing_symbol): Merge into...
55 (set_state_table): this.
56 * src/print_graph.c, src/conflicts.c: Adjust.
58 2001-11-14 Akim Demaille <akim@epita.fr>
60 * tests/calc.at, tests/output.at, tests/regression.at,
61 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
62 now the tests are run in private dirs, therefore AC_CLEANUP and
63 family can be simplified to 0-ary.
64 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
65 use abs. path to find config.h.
66 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
67 stderr, there can be way too much random noise.
68 Instead pass -Werror to GCC and rely on the exit status.
69 Reported by Wolfram Wagner.
71 2001-11-14 Akim Demaille <akim@epita.fr>
73 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
74 defined only if yyoverflow is defined, to avoid `warning: unused
76 Reported by The Test Suite.
78 2001-11-14 Akim Demaille <akim@epita.fr>
80 * src/print.c: Include reduce.h.
81 Reported by Hans Aberg.
83 2001-11-14 Akim Demaille <akim@epita.fr>
85 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
86 Revert a previous patch: these are really const.
87 * src/conflicts.c (conflict_report): Additional useless pair of
88 braces to pacify GCC's warnings for `if () if () {} else {}'.
89 * src/lex.c (parse_percent_token): Replace equal_offset with
92 Be sure to strdup `arg' when used, since there is no reason for
93 token_buffer not to change.
95 2001-11-14 Akim Demaille <akim@epita.fr>
97 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
99 * src/main.c (main): Use them.
100 Suggested by Hans Aberg.
102 2001-11-12 Akim Demaille <akim@epita.fr>
104 * src/system.h (ngettext): Now that we use ngettext, be sure to
105 provide a default definition when NLS are not used.
107 2001-11-12 Akim Demaille <akim@epita.fr>
109 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
110 Use @kbd to denote user input.
111 (Language and Grammar): ANSIfy the example.
112 Adjust its layout for info/notinfo.
113 (Location Tracking Calc): Output error messages to stderr.
114 Output locations in a more GNUtically correct way.
115 Fix a couple of Englishos.
116 Adjust @group/@end group pairs.
118 2001-11-12 Akim Demaille <akim@epita.fr>
120 %expext was not functioning at all.
122 * src/conflicts.c (expected_conflicts): Set to -1.
123 (conflict_report): Use ngettext.
124 (conflicts_print): Check %expect and make its violation an error.
125 * doc/bison.texinfo (Expect Decl): Adjust.
126 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
127 * tests/regression.at (%expect not enough, %expect right)
128 (%expect too much): New.
130 2001-11-12 Akim Demaille <akim@epita.fr>
132 * tests/regression.at (Conflicts): Rename as...
133 (Unresolved SR Conflicts): this.
134 (Solved SR Conflicts): New.
136 2001-11-12 Akim Demaille <akim@epita.fr>
138 * src/reduce.c (print_results): Rename as...
139 (reduce_output): This.
140 Output to OUT, passed as argument, instead of output_obstack.
141 (dump_grammar): Likewise.
144 (reduce_grammar): No longer call reduce_output, since...
145 * src/print.c (print_results): do it.
146 * src/main.c (main): Call reduce_free;
148 2001-11-12 Akim Demaille <akim@epita.fr>
150 * src/conflicts.c (print_reductions): Accept OUT as argument.
151 Output to it, not to output_obstack.
152 * src/print.c (print_actions): Adjust.
154 2001-11-12 Akim Demaille <akim@epita.fr>
156 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
157 the result instead of using...
158 (src_total, rrc_total, src_count, rrc_count): Remove.
159 (any_conflicts): Remove.
160 (print_conflicts): Split into...
161 (conflicts_print, conflicts_output): New.
162 * src/conflicts.h: Adjust.
163 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
164 * src/print.c (print_grammar): Issue `\n' between two rules.
165 * tests/regression.at (Conflicts): New.
166 Reported by Tom Lane.
168 2001-11-12 Akim Demaille <akim@epita.fr>
170 * tests/regression.at (Invalid input): Remove, duplicate with
171 ``Invalid input: 1''.
173 2001-11-12 Akim Demaille <akim@epita.fr>
175 * tests/torture.at (AT_DATA_STACK_TORTURE)
176 (Exploding the Stack Size with Alloca)
177 (Exploding the Stack Size with Malloc): New.
179 2001-11-12 Akim Demaille <akim@epita.fr>
181 * src/bison.simple (YYSTACK_REALLOC): New.
182 (yyparse) [!yyoverflow]: Use it and free the old stack.
183 Reported by Per Allansson.
185 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
187 * src/bison.simple: Define type yystype instead of YYSTYPE, and
188 define CPP macro, which substitute YYSTYPE by yystype.
189 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
190 with yyltype/YYLTYPE. This allows inclusion of the generated
191 header within the parser if the compiler, such as GGC, accepts
192 multiple equivalent #defines.
195 2001-11-05 Akim Demaille <akim@epita.fr>
197 * src/reader.c (symbols_output): New, extracted from...
201 2001-11-05 Akim Demaille <akim@epita.fr>
203 * src/lex.c (parse_percent_token): s/quotearg/quote/.
205 2001-11-05 Akim Demaille <akim@epita.fr>
207 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
210 2001-11-05 Akim Demaille <akim@epita.fr>
212 * src/options.h (struct option_table_struct): set_flags is void*.
213 * src/options.c (longopts): Support `--output' and `%output'.
215 * src/lex.h (tok_setopt): Remove, replaced with...
216 (tok_intopt, tok_stropt): these new guys.
217 * src/lex.c (getopt.h): Not needed.
218 (token_buffer, unlexed_token_buffer): Not const.
219 (percent_table): Promote `-' over `_' in directive names.
220 Active `%name-prefix', `file-prefix', and `output'.
221 (parse_percent_token): Accept possible arguments to directives.
222 Promote `-' over `_' in directive names.
224 2001-11-04 Akim Demaille <akim@epita.fr>
226 * doc/bison.texinfo (Decl Summary): Split the list into
227 `directives for grammars' and `directives for bison'.
229 Add description of `%name-prefix', `file-prefix', and `output'.
230 Promote `-' over `_' in directive names.
231 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
232 Simplify the description of `--name-prefix'.
233 Promote `-' over `_' in directive names.
234 Promote `--output' over `--output-file'.
235 Fix the description of `--defines'.
236 * tests/output.at: Exercise %file-prefix and %output.
238 2001-11-02 Akim Demaille <akim@epita.fr>
240 * doc/refcard.tex: Update.
242 2001-11-02 Akim Demaille <akim@epita.fr>
244 * src/symtab.h (SUNDEF): New.
245 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
246 stand for `uninitialized', instead of 0.
247 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
248 * src/lex.c (lex): Adjust.
250 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
252 Let yylex return it instead of a plain 0.
253 Reported by Dick Streefland.
255 2001-11-02 Akim Demaille <akim@epita.fr>
257 * tests/regression.at (Mixing %token styles): New test.
259 2001-11-02 Akim Demaille <akim@epita.fr>
261 * src/reader.c (parse_thong_decl): Formatting changes.
262 (token_translations_init): New, extracted from...
266 2001-11-01 Akim Demaille <akim@epita.fr>
268 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
269 Check that `9foo.y' produces correct cpp guards.
270 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
274 2001-11-01 Akim Demaille <akim@epita.fr>
276 * tests/regression.at (Invalid input: 2): New.
277 * src/lex.c (unlexed_token_buffer): New.
278 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
282 2001-11-01 Akim Demaille <akim@epita.fr>
284 * tests/calc.at: Catch up with 1.30.
285 * configure.in: Bump to 1.49a.
286 Adjust to newer Autotest.
288 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
290 * src/conflicts.c: Move global variables rrc_total and src_total ...
291 (print_conflicts): here.
292 * src/output.c (output): Free global variable user_toknums.
293 * src/lex.c (token_obstack): Become static.
295 2001-10-18 Akim Demaille <akim@epita.fr>
297 * tests/atlocal.in (GCC): Add.
298 * tests/calc.at: s/m4_match/m4_bmatch/.
299 s/m4_patsubst/m4_bpatsubst/.
300 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
301 * configure.in: AC_SUBST(GCC).
303 2001-10-14 Marc Autret <autret_m@epita.fr>
305 * src/options.c (create_long_option_table): Fix.
307 2001-10-10 Akim Demaille <akim@epita.fr>
309 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
311 2001-10-04 Akim Demaille <akim@epita.fr>
313 * src/reader.c (parse_union_decl): Push the caracters in
314 union_obstack, not attrs_obstack.
316 2001-10-04 Akim Demaille <akim@epita.fr>
318 Merge in the branch 1.29.
320 * src/reader.c (packsymbols): Use a temporary obstack for
321 `%%tokendef', since output_stack is already used elsewhere.
323 2001-10-02 Akim Demaille <akim@epita.fr>
327 2001-10-02 Akim Demaille <akim@epita.fr>
331 2001-10-02 Akim Demaille <akim@epita.fr>
333 * tests/regression.at (Invalid CPP headers): New.
334 From Alexander Belopolsky.
335 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
337 2001-10-02 Akim Demaille <akim@epita.fr>
339 * tests/regression.at (Invalid input): New.
340 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
343 2001-10-02 Akim Demaille <akim@epita.fr>
345 * tests/calc.at: Now that --debug works, the tests must be adjusted.
347 2001-10-02 Akim Demaille <akim@epita.fr>
349 * src/output.c (output_parser): Assert `skeleton'.
350 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
354 2001-10-01 Marc Autret <autret_m@epita.fr>
356 * src/lex.h: Echo modifications.
357 * src/lex.c (unlex): Parameter is now token_t.
360 2001-10-01 Marc Autret <autret_m@epita.fr>
362 * src/main.c: Include lex.h.
365 2001-09-29 Akim Demaille <akim@epita.fr>
367 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
369 2001-09-28 Akim Demaille <akim@epita.fr>
371 * tests/testsuite.at: Update to newer Autotest.
372 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
374 2001-09-27 Akim Demaille <akim@epita.fr>
376 Position independent wrapper.
378 * tests/bison: Remove.
379 * tests/bison.in: New.
380 * configure.in: Adjust.
382 2001-09-27 Paul Eggert <eggert@twinsun.com>
384 Port quotearg fixes from tar 1.13.24.
386 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
388 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
389 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
391 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
392 * m4/mbrtowc.m4: New file.
393 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
394 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
396 2001-09-27 Akim Demaille <akim@epita.fr>
400 2001-09-27 Akim Demaille <akim@epita.fr>
404 2001-09-25 Akim Demaille <akim@epita.fr>
406 * src/system.h: Include `xalloc.h'.
407 Remove it from the C files.
408 * src/files.c (output_files): Free the obstacks.
409 * src/lex.c (init_lex): Rename as...
412 * src/main.c (main): Use it.
414 2001-09-24 Marc Autret <autret_m@epita.fr>
416 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
417 to output informations in fout (FILE*).
418 (open_graph, close_graph): Likewise.
419 (output_graph, output_edge, output_node): Likewise.
420 * src/vcg.h: Update function prototypes.
421 * src/print_graph.c (print_graph): Open output graph file.
422 (print_actions): Adjust.
423 * src/files.h: Remove extern declaration.
424 * src/files.c: Remove graph_obstack declaration.
425 (open_files): Remove graph_obstack initialization.
426 (output_files): Remove graph_obstack saving.
428 2001-09-24 Marc Autret <autret_m@epita.fr>
430 * src/files.c (compute_output_file_names): Fix.
432 2001-09-24 Marc Autret <autret_m@epita.fr>,
433 Akim Demaille <akim@epita.fr>
435 * src/reader.c (reader): Remove call to free_symtab ().
436 * src/main.c (main): Call it here.
438 * src/conflicts.c (initialize_conflicts): Rename as...
439 (solve_conflicts): this.
440 * src/print.c (print_core, print_actions, print_state)
441 (print_grammar): Dump to a file instead a `output_obstack'.
442 (print_results): Dump `output_obstack', and then proceed with the
444 * src/files.c (compute_output_file_names, close_files): New.
445 (output_files): Adjust.
446 * src/main.c (main): Adjust.
448 2001-09-23 Marc Autret <autret_m@epita.fr>
450 * src/files.c (compute_header_macro): Computes header macro name
451 from spec_defines_file when given.
453 2001-09-23 Marc Autret <autret_m@epita.fr>
455 * src/files.c (output_files): Add default extensions.
457 2001-09-22 Akim Demaille <akim@epita.fr>
459 * src/conflicts.c (finalize_conflicts): Rename as...
460 (free_conflicts): this.
462 2001-09-22 Akim Demaille <akim@epita.fr>
464 * src/gram.c (gram_free): Rename back as...
466 (output_token_translations): Free `token_translations'.
467 * src/symtab.c (free_symtab): Free the tag field.
469 2001-09-22 Akim Demaille <akim@epita.fr>
471 Remove `translations' as it is always set to true.
473 * src/gram.h: Adjust.
474 * src/reader.c (packsymbols, parse_token_decl): Adjust
475 * src/print.c (print_grammar): Adjust.
476 * src/output.c (output_token_translations): Adjust.
477 * src/lex.c (lex): Adjust.
478 * src/gram.c: Be sure the set pointers to NULL.
479 (dummy): Rename as...
482 2001-09-22 Akim Demaille <akim@epita.fr>
484 * configure.in: Invoke AM_LIB_DMALLOC.
485 * src/system.h: Use dmalloc.
486 * src/LR0.c: Be sure to have pointers initialized to NULL.
487 (allocate_itemsets): Allocate kernel_items only if needed.
489 2001-09-22 Akim Demaille <akim@epita.fr>
491 * configure.in: Bump to 1.29b.
492 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
493 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
494 need xmalloc.c in calc.y.
497 2001-09-21 Akim Demaille <akim@epita.fr>
500 * Makefile.maint, config/config.guess, config/config.sub,
501 * config/missing: Update from masters.
502 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
504 * configure.in (ALL_LINGUAS): Add `tr'.
506 2001-09-21 Akim Demaille <akim@epita.fr>
508 * tests/Makefile.am (package.m4): Move to...
509 ($(srcdir)/$(TESTSUITE)): here.
511 2001-09-20 Akim Demaille <akim@epita.fr>
513 * src/complain.c: No longer try to be standalone: use system.h.
514 Don't assume __STDC__ is defined to 1. Just test if it is defined.
515 * src/complain.h: Likewise.
516 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
517 Remove the unused variable `n'.
518 From Albert Chin-A-Young.
520 2001-09-18 Marc Autret <autret_m@epita.fr>
522 * doc/bison.1: Update.
523 * doc/bison.texinfo (Bison Options): Update --defines and --graph
525 (Option Cross Key): Update.
528 2001-09-18 Marc Autret <autret_m@epita.fr>
530 * tests/regression.at: New test (comment in %union).
532 2001-09-18 Marc Autret <autret_m@epita.fr>
534 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
536 Reported by Keith Browne.
538 2001-09-18 Marc Autret <autret_m@epita.fr>
540 * tests/output.at: Add tests for --defines and --graph.
542 2001-09-18 Marc Autret <autret_m@epita.fr>
544 * tests/output.at: Removes tests of %{header,src}_extension features.
546 2001-09-18 Akim Demaille <akim@epita.fr>
548 * tests/Makefile.am (package.m4): New.
549 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
550 (_AT_CHECK_CALC_ERROR): Likewise.
551 Factor the `, ' part of verbose error messages.
553 2001-09-18 Marc Autret <autret_m@epita.fr>
555 * src/getargs.c (longopts): Declare --defines and --graph as options
556 with optional arguments.
557 * src/files.h: Add extern declarations.
558 * src/files.c (spec_graph_file, spec_defines_file): New.
559 (output_files): Update.
560 Remove CPP-outed code.
562 2001-09-18 Marc Autret <autret_m@epita.fr>
564 Turn off %{source,header}_extension feature.
566 * src/files.c (compute_exts_from_gf): Update.
567 (compute_exts_from_src): Update.
568 (output_files): CPP-out useless code.
569 * src/files.h: Remove {header,source}_extension extern declarations.
570 * src/reader.c (parse_dquoted_param): CPP-out.
571 (parse_header_extension_decl): Remove.
572 (parse_source_extension_decl): Remove.
573 (read_declarations): Remove cases tok_{hdrext,srcext}.
574 * src/lex.c (percent_table): Remove {header,source}_extension entries.
575 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
577 2001-09-10 Akim Demaille <akim@epita.fr>
579 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
580 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
581 (AT_CHECK_OUTPUT): this.
582 Merely check ls' exit status, its output is useless.
584 2001-09-10 Akim Demaille <akim@epita.fr>
586 * tests/calc.at: Use m4_match.
587 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
589 2001-09-10 Marc Autret <autret_m@epita.fr>,
590 Akim Demaille <akim@epita.fr>
592 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
594 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
596 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
597 * src/lex.h: Adjust prototype.
598 (token_t): Add `tok_undef'.
599 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
600 (parse_percent_token): Now returns token_t.
601 Add default statement in switch.
602 (lex): Separate `c' as an input variable, from the token_t result
604 (unlexed): Is a token_t.
606 2001-09-10 Akim Demaille <akim@epita.fr>
608 * configure.in: Bump to 1.29a.
610 2001-09-07 Akim Demaille <akim@epita.fr>
614 2001-08-30 Akim Demaille <akim@epita.fr>
616 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
617 * m4/atconfig.m4: Remove.
618 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
620 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
621 m4_if, m4_patsubst, and m4_regexp.
622 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
623 `input' file instead of echo.
625 2001-08-29 Akim Demaille <akim@epita.fr>
629 2001-08-29 Akim Demaille <akim@epita.fr>
633 2001-08-29 Paul Eggert <eggert@twinsun.com>
635 * src/bison.simple (yyparse): Don't take the address of an
636 item before the start of an array, as that doesn't conform to
639 2001-08-29 Robert Anisko <anisko_r@epita.fr>
641 * doc/bison.texinfo (Location Tracking Calc): New node.
643 2001-08-29 Paul Eggert <eggert@twinsun.com>
645 * src/output.c (output): Do not define const, as this now
646 causes more problems than it cures.
648 2001-08-29 Akim Demaille <akim@epita.fr>
650 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
652 Be sure to tag the `detailmenu'.
654 2001-08-29 Akim Demaille <akim@epita.fr>
656 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
657 download in a tmp dir.
659 2001-08-28 Marc Autret <autret_m@epita.fr>
661 * config/depcomp: New file.
663 2001-08-28 Marc Autret <autret_m@epita.fr>
665 * doc/bison.1 (mandoc): Adjust.
666 From Juan Manuel Guerrero.
668 2001-08-28 Marc Autret <autret_m@epita.fr>
670 * src/print_graph.c (print_state): Fix.
672 2001-08-27 Marc Autret <autret_m@epita.fr>
674 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
676 Echo modifications to the functions prototypes.
677 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
679 2001-08-27 Marc Autret <autret_m@epita.fr>
681 * src/vcg.c: Include `xalloc.h'.
682 (add_colorentry): New.
683 (add_classname): New.
685 * src/vcg.h: Add new prototypes.
687 2001-08-27 Akim Demaille <akim@epita.fr>
689 * Makefile.maint: Sync. again with CVS Autoconf.
691 2001-08-27 Akim Demaille <akim@epita.fr>
693 * Makefile.maint: Formatting changes.
694 (po-update, cvs-update, update): New targets.
697 2001-08-27 Akim Demaille <akim@epita.fr>
699 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
700 * Makefile.maint: Sync. with CVS Autoconf.
702 2001-08-27 Marc Autret <autret_m@epita.fr>
704 * src/vcg.h (struct infoname_s): New.
705 (struct colorentry_s): New.
706 (graph_s): New fields {vertical,horizontal}_order in structure.
707 Add `infoname' field.
708 Add `colorentry' field;
709 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
710 (G_HORIZONTAL_ORDER): New.
713 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
714 Add output of `infoname'.
715 Add output of `colorentry'.
717 2001-08-27 Marc Autret <autret_m@epita.fr>
719 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
720 This one shadowed a global parameter.
722 2001-08-24 Marc Autret <autret_m@epita.fr>
724 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
725 instead of `unsigned'.
726 (print_state): Do not call obstack_object_size () in obstack_grow ()
727 to avoid macro variables shadowing.
729 2001-08-23 Marc Autret <autret_m@epita.fr>
731 * src/lex.c (percent_table): Typo: s/naem/name/.
733 Normalize new options declarations.
735 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
737 * tests/suite.at: Exercise %header_extension and %source_extension.
739 2001-08-16 Marc Autret <autret_m@epita.fr>
741 * src/reader.c (parse_dquoted_param): New.
742 (parse_header_extension_decl): Use it.
743 (parse_source_extension_decl): Likewise.
745 2001-08-16 Marc Autret <autret_m@epita.fr>
747 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
748 (get_xxxx_str): Use assert () instead of complain ().
749 Remove return invokations in default cases.
750 (get_decision_str): Modify default behaviour. Remove second argument.
751 Echo modifications on calls.
754 2001-08-16 Marc Autret <autret_m@epita.fr>
756 * src/getargs.c (usage): Update with ``-g, --graph''.
758 2001-08-16 Marc Autret <autret_m@epita.fr>
760 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
761 (Option Cross Key): Likewise.
762 * doc/bison.1: Update.
764 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
766 * src/output.c (output_master_parser): Don't finish action_obstack.
767 (output_parser): Don't care about the muscle action, here.
768 (prepare): Copy the action_obstack in the action muscle.
769 (output): Free action_obstack.
771 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
773 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
774 will contain `%union' declaration.
775 (parse_union_decl): Delete #line directive output.
776 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
777 informations about %union.
778 (parse_union_decl): Copy the union_obstack in the muscle stype.
779 * src/bison.simple: Add new #line directive.
780 Add typdef %%stype YYSTYPE.
782 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
784 * src/bison.simple: Add new `#line' directive.
786 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
788 * src/bison.simple: New `#line' directive.
789 * src/output.c (output_parser): Support new dynamic muscle input_line.
791 2001-09-22 Marc Autret <autret_m@epita.fr>
793 * src/output.c (output_master_parser): New.
794 (output_parser): Be more re-entrant.
796 2001-09-21 Marc Autret <autret_m@epita.fr>
798 * src/reader.c (copy_definition, parse_union_decl): Update and use
800 (copy_action): Likewise.
801 Use obstack_1grow ().
802 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
804 2001-09-21 Marc Autret <autret_m@epita.fr>
806 * src/options.c (option_table): Adjust.
807 * src/lex.c (parse_percent_token): Fix.
809 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
811 * src/options.c (symtab.h): Include it, need by lex.h.
813 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
815 * src/lex.c (parse_percent_token): Change type of variable `tx', which
816 is now an option_table_struct*.
817 (option_strcmp): New function option_strcmp.
818 (parse_percent_token): Call option_strcmp.
819 * src/getargs.c (xalloc.h, options.h): Include it.
820 (getargs): Call create_long_option_table.
821 (getargs): Free longopts at the end of the function.
822 (shortopts): Move in options.c.
823 * src/options.c (create_long_option_table): New function. Convert
824 information from option_table to option structure.
825 * src/reader.c (options.h): Include it.
827 * src/Makefile.am: Adjust.
828 * src/options.c (option_table): Create from longopts and percent_table.
829 * src/getargs.c (longopts): Delete.
830 * src/lex.c (struct percent_table_struct): Delete.
831 (percent_table): Delete.
832 (options.h): Include it.
833 * src/options.c: Create.
834 * src/options.h: Create.
835 Declare enum opt_access_e.
836 Define struct option_table_struct.
838 2001-09-20 Marc Autret <autret_m@epita.fr>
840 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
843 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
845 * src/bison.simple: s/%%filename/%%skeleton.
846 * src/muscle_tab.c (getargs.h): Include it.
847 (muscle_init): Insert new muscle skeleton.
849 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
851 * src/output.c (output_parser): Delete unused variable actions_dumped.
853 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
855 * src/output.c (output): Delete call to reader_output_yylsp.
856 * src/reader.c (reader): Likewise.
857 * src/reader.h: Delete declaration of reader_output_yylsp.
859 2001-09-02 Marc Autret <autret_m@epita.fr>
861 * src/reader.c: Include muscle_tab.h.
862 (parse_union_decl): Update.
863 (parse_macro_decl): Rename parse_muscle_decl.
864 Update to use renamed functions and variable.
865 (read_declarations, copy_action, read_additionnal_code, : Updated
866 with correct variables and functions names.
867 (packsymbols, reader): Likewise.
869 * src/reader.h (muscle_obstack): Extern declaration update.
871 * src/output.c: Include muscle_tab.h
872 In all functions using macro_insert, change by using muscle_insert ().
873 (macro_obstack): Rename muscle_obstack.
874 Echo modifications in the whole file.
875 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
876 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
877 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
879 * src/muscle_tab.h: Update double inclusion macros.
880 (macro_entry_s): Rename muscle_entry_s.
883 * src/muscle_tab.c: Include muscle_tab.h.
884 Rename macro_tabble to muscle_table.
885 (mhash1, mhash2, mcmp): Use muscle_entry.
886 (macro_init): Rename muscle_init. Update.
887 (macro_insert): Rename muscle_insert. Update.
888 (macro_find): Rename muscle_find. Update.
890 * src/main.c: Include muscle_tab.h.
891 (main): Call muscle_init ().
892 * src/Makefile.am (bison_SOURCES): Echo modifications.
894 2001-09-02 Marc Autret <autret_m@epita.fr>
896 Now the files macro_tab.[ch] are named muscle_tab.[ch].
898 * src/muscle_tab.c, src/muscle_tab.h: Add files.
900 2001-09-02 Marc Autret <autret_m@epita.fr>
902 * src/macrotab.c, src/macrotab.h: Remove.
904 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
906 * src/reader.c (copy_guard): Use muscle to specify the `#line'
909 2001-09-01 Marc Autret <autret_m@epita.fr>
911 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
912 to an explicit value to activate the feature. We do it here.
914 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
916 * src/output.c (prepare): Delete the `filename' muscule insertion.
917 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
918 (parse_union_decl): Likewise.
919 * src/macrotab.c (macro_init): Initialize filename by infile.
921 2001-08-31 Marc Autret <autret_m@epita.fr>
923 * src/bison.simple (YYLSP_NEEDED): New definition.
924 * src/output.c (prepare): Add macro insertion of `locations_flag'
926 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
928 * src/output.c (prepare): Delete insertion of previous muscles,
929 and insert the `prefix' muscles.
930 * src/macrotab.c (macro_init): Likewise.
931 (macro_init): Initialization prefix directive by `yy'.
932 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
933 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
934 yylval, yydebug, yyerror, yynerrs and yyparse.
935 New directive `#define' to substitute yydebug, ... with option
938 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
940 * src/main.c (main): Standardize.
941 * src/output.c (output_table_data, output_parser): Likewise.
942 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
944 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
946 * src/reader.c (read_additionnal_code): Rename %%user_code to
948 * src/output.c (output): Rename %%declarations to %%prologue.
949 * src/bison.simple: Echo modifications.
951 2001-08-31 Marc Autret <autret_m@epita.fr>
953 * src/reader.c (readgram): CleanUp.
954 (output_token_defines): Likewise.
955 (packsymbols): Likewise.
957 * src/output.c (output): CPP-out useless code.
959 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
961 * src/reader.c (reader): Delete obsolete call to function
962 output_trailers and output_headers.
963 * src/output.h: Remove obsolete functions prototypes of output_headers
966 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
968 * src/main.c: Include macrotab.h.
969 * src/macrotab.h (macro_entry_s): Constify fields.
970 Adjust functions prototypes.
971 * src/macrotab.c (macro_insert): Constify key and value.
972 (macro_find): Constify key.
973 (macro_insert): Include 'xalloc.h'
974 (macro_insert): Use XMALLOC.
975 (macro_find): Constify return value.
976 * src/output.c (output_table_data): Rename table to table_data.
977 (output_parser): Constify macro_key, macro_value.
979 2001-08-30 Marc Autret <autret_m@epita.fr>
981 * src/reader.c (parse_skel_decl): New.
982 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
983 * src/lex.h (token_t): New token `tok_skel'.
984 * src/lex.c (percent_table): Add skeleton option entry.
987 2001-08-29 Marc Autret <autret_m@epita.fr>
989 * src/bison.simple: Add %%user_code directive at the end.
990 * src/reader.c (read_additionnal_code): New.
992 * src/output.c (output_program): Remove.
995 2001-08-28 Marc Autret <autret_m@epita.fr>
997 * src/output.c (output_actions): Clean up.
998 (output_gram): CPP-out useless code.
999 * src/reader.c (reader): Clean up, CPP-out useless code.
1001 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1003 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1005 * src/bison.simple: Add `%%definitions'.
1007 2001-08-28 Marc Autret <autret_m@epita.fr>
1009 * config/depcomp: New file.
1011 2001-08-27 Paul Eggert <eggert@twinsun.com>
1013 * src/bison.simple (yyparse): Don't take the address of an
1014 item before the start of an array, as that doesn't conform to
1017 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1019 * src/output.c (output): Remove the initialization of the macro
1020 obstack. It was done too late here.
1022 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1024 (reader): Initialize the macro obstack here, since we need it to grow
1025 '%define' directives.
1027 * src/reader.h: Declare the macro obstack as extern.
1029 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1031 * src/output.c (output_parser): Fix. Store single '%' characters in
1032 the output obstack instead of throwing them away.
1034 2001-08-27 Akim Demaille <akim@epita.fr>
1036 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1038 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1040 * lib/Makefile.am: Adjust.
1042 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1044 * src/bison.simple: Update and add '%%' directives.
1046 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1048 * src/reader.c (reader): Remove calls to 'output_headers' and
1049 'output_trailers'. Remove some C output.
1050 (readgram): Disable a piece of code that was writing a default
1051 definition for 'YYSTYPE'.
1052 (reader_output_yylsp): Remove.
1053 (packsymbols): Output token defintions to a macro.
1054 (copy_definition): Disable C output.
1056 * src/reader.c (parse_macro_decl): New function used to parse macro
1058 (copy_string2): Put the body of copy_string into this new function.
1059 Add a parameter to let the caller choose whether he wants to copy the
1060 string delimiters or not.
1061 (copy_string): Be a simple call to copy_string2 with the last argument
1063 (read_declarations): Add case for macro definition.
1064 (copy_identifier): New.
1065 (parse_macro_decl): Read macro identifiers using copy_identifier
1068 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1070 * src/output.c (prepare): Add prefixed names.
1071 (output_parser): Output semantic actions.
1072 (output_parser): Fix bug on '%%line' directives.
1074 * src/output.c (output_headers): Remove. The C code printed by this
1075 function should now be in the skeletons.
1076 (output_trailers): Remove.
1077 (output): Disable call to 'reader_output_yylsp'.
1078 (output_rule_data): Do not output tables to the table obstack.
1080 * src/output.c: Remove some C dedicated output.
1081 Improve the use of macro and output obstacks.
1082 (output_defines): Remove.
1084 * src/output.c (output_token_translations): Associate 'translate'
1085 table with a macro. No output to the table obstack.
1086 (output_gram): Same for 'rhs' and 'prhs'.
1087 (output_stos): Same for 'stos'.
1088 (output_rule_data): Same for 'r1' and 'r2'.
1089 (token_actions): Same for 'defact'.
1090 (goto_actions): Same for 'defgoto'.
1091 (output_base): Same for 'pact' and 'pgoto'.
1092 (output_table): Same for 'table'.
1093 (output_check): Same for 'check'.
1095 * src/output.c (output_table_data): New function.
1096 (output_short_table): Remove.
1097 (output_short_or_char_table): Remove.
1099 * src/output.c (output_parser): Replace most of the skeleton copy code
1100 with something new. Skeletons are now processed character by character
1101 rather than line by line, and Bison looks for '%%' macros. This is the
1102 first step in making Bison's output process (a lot) more flexible.
1103 (output_parser): Use the macro table.
1105 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1107 * src/main.c (main): Initialize the macro table.
1109 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1111 * src/lex.c (percent_table): Add tok_define.
1112 * src/lex.h: Add tok_define.
1114 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1116 * src/macrotab.c: New file.
1117 * src/macrotab.h: New file.
1118 * src/Makefile.am: Update.
1120 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1122 * lib/hash.c: New file.
1123 * lib/hash.h: New file.
1124 * lib/Makefile.am: Update.
1126 2001-08-15 Akim Demaille <akim@epita.fr>
1130 2001-08-15 Marc Autret <autret_m@epita.fr>
1132 * src/reader.c (readgram): Indent output macro YYSTYPE.
1133 (packsymbols): Likewise.
1134 (output_token_defines): Likewise.
1135 * src/files.c: Standardize.
1136 (compute_header_macro): New.
1137 (defines_obstack_save): New. Use compute_header_macro.
1138 (output_files): Update. Use defines_obstack_save.
1140 2001-08-15 Akim Demaille <akim@epita.fr>
1142 * doc/bison.texinfo (Table of Symbols): Document
1145 2001-08-15 Akim Demaille <akim@epita.fr>
1147 * missing: Update from CVS Automake.
1148 * config/config.guess, config/config.sub, config/texinfo.tex:
1149 Update from gnu.org.
1151 2001-08-15 Akim Demaille <akim@epita.fr>
1153 * Makefile.maint: Sync with CVS Autoconf.
1155 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1157 * doc/bison.texinfo: Include GNU Free Documentation License from
1159 * doc/fdl.texi: Add to package.
1161 2001-08-14 Marc Autret <autret_m@epita.fr>
1163 Turn on %{source,header}_extension features.
1165 * src/lex.c (percent_table): Un-CPP out header_extension and
1167 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1168 (compute_exts_from_src): Remove conditions. It restores priorities
1171 2001-08-14 Marc Autret <autret_m@epita.fr>
1173 * src/files.c (compute_base_names): Add extensions computing when
1174 `--file-prefix' used.
1175 Standardize function calls.
1177 2001-08-13 Marc Autret <autret_m@epita.fr>
1179 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1180 defining it (defined but null disables alloca).
1182 2001-08-13 Marc Autret <autret_m@epita.fr>
1184 * src/bison.simple (_yy_memcpy): CPP reformat.
1186 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1188 * tests/atconfig.in (CPPFLAGS): Fix.
1190 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1192 * doc/bison.texinfo: Include GNU General Public License from
1194 * doc/gpl.texi: Add to package.
1196 2001-08-10 Marc Autret <autret_m@epita.fr>
1198 * src/print_graph.h: Fix.
1199 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1201 2001-08-10 Akim Demaille <akim@epita.fr>
1203 * src/system.h: Provide default declarations for stpcpy, strndup,
1206 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1208 * doc/bison.texinfo (Locations): Update @$ stuff.
1210 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1212 * src/bison.simple (YYLLOC_DEFAULT): Update.
1215 2001-08-08 Marc Autret <autret_m@epita.fr>
1217 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1218 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1219 Reported by Fabrice Bauzac.
1221 2001-08-08 Marc Autret <autret_m@epita.fr>
1223 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1224 * src/vcg.c (output_node): Fix.
1225 * src/vcg.h: Cleanup.
1226 * src/print_graph.c: Add comments.
1227 (node_output_size): New global variable. Simplify the formatting of
1228 the VCG graph output.
1229 (print_actions): Unused code is now used. It notifies the final state
1230 and no action states in the VCG graph. It also give the reduce actions.
1231 The `shift and goto' edges are red and the `go to state' edges are
1233 Get the current node name and node_obstack by argument.
1234 (node_obstack): New variable.
1235 (print_state): Manage node_obstack.
1236 (print_core): Use node_obstack given by argument.
1237 A node is not only computed here but in print_actions also.
1238 (print_graph): CPP out useless code instead of commenting it.
1240 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1242 * tests/atconfig.in (CPPFLAGS): Fix.
1244 2001-08-07 Akim Demaille <akim@epita.fr>
1246 * src/print_graph.c (quote): New.
1247 (print_core): Use it.
1249 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1251 * src/vcg.c (complain.h): Include it.
1252 Unepitaize `return' invocations.
1253 [NDEBUG] (main): Remove.
1254 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1255 * src/files.c (open_files): Initialize graph_obstack.
1256 * src/print_graph.c (print_actions): CPP out useless code.
1257 (print_core): Don't output the last `\n' in labels.
1259 * src/files.c (output_files): Output the VCG file.
1260 * src/main.c (main): Invoke print_graph ();
1262 2001-08-06 Marc Autret <autret_m@epita.fr>
1264 Automaton VCG graph output.
1265 Using option ``-g'' or long option ``--graph'', you can generate
1266 a gram_filename.vcg file containing a VCG description of the LALR (1)
1267 automaton of your grammar.
1269 * src/main.c: Call to print_graph() function.
1270 * src/getargs.h: Update.
1271 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1272 (graph_flag): New flag.
1274 (getargs): Add case `g'.
1275 * src/files.c (graph_obstack): New obstack struct.
1276 (open_files): Initialize new obstack.
1277 (output_files): Saves graph_obstack if required.
1278 * src/files.h (graph_obstack): New extern declaration.
1279 * src/Makefile.am: Add new source files.
1281 2001-08-06 Marc Autret <autret_m@epita.fr>
1283 * src/print_graph.c, src/print_graph.h (graph): New.
1284 * src/vcg.h: New file.
1285 * src/vcg.c: New file, VCG graph handling.
1287 2001-08-06 Marc Autret <autret_m@epita.fr>
1289 Add of %source_extension and %header_extension which specify
1290 the source or/and the header output file extension.
1292 * src/files.c (compute_base_names): Remove initialisation of
1293 src_extension and header_extension.
1294 (compute_exts_from_gf): Update.
1295 (compute_exts_from_src): Update.
1296 (output_files): Update.
1297 * src/reader.c (parse_header_extension_decl): New.
1298 (parse_source_extension_decl): New.
1299 (read_declarations): New case statements for the new tokens.
1300 * src/lex.c (percent_table): Add entries for %source_extension
1301 and %header_extension.
1302 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1304 2001-08-06 Marc Autret <autret_m@epita.fr>
1306 * configure.in: Bump to 1.28c.
1307 * doc/bison.texinfo: Texinfo thingies.
1309 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1311 * tests/atconfig.in (CPPFLAGS): Add.
1312 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1314 2001-08-03 Akim Demaille <akim@epita.fr>
1318 2001-08-03 Akim Demaille <akim@epita.fr>
1320 * tests/Makefile.am (check-local): Ship testsuite.
1321 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1324 2001-08-03 Akim Demaille <akim@epita.fr>
1326 * configure.in: Try using -Wformat when compiling.
1328 2001-08-03 Akim Demaille <akim@epita.fr>
1330 * configure.in: Bump to 1.28b.
1332 2001-08-03 Akim Demaille <akim@epita.fr>
1334 * src/complain.c: Adjust strerror_r portability issues.
1336 2001-08-03 Akim Demaille <akim@epita.fr>
1340 2001-08-03 Akim Demaille <akim@epita.fr>
1342 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1343 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1344 * src/getargs.c: Include complain.h.
1345 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1346 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1348 2001-08-03 Akim Demaille <akim@epita.fr>
1350 * src/reader.c (readgram): Display hidden chars in error messages.
1352 2001-08-03 Akim Demaille <akim@epita.fr>
1354 Update to gettext 0.10.39.
1356 2001-08-03 Akim Demaille <akim@epita.fr>
1358 * lib/strspn.c: New.
1360 2001-08-01 Marc Autret <autret_m@epita.fr>
1362 * doc/bison.texinfo: Update.
1363 * doc/bison.1 (mandoc): Update.
1364 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1365 * src/files.c: Support output files extensions computing.
1366 (src_extension): New static variable.
1367 (header_extension): New static variable.
1369 (get_extension_index): New function, gets the index of an extension
1370 filename in a string.
1371 (compute_exts_from_gf): New function, computes extensions from the
1372 grammar file extension.
1373 (compute_exts_from_src): New functions, computes extensions from the
1374 C source file extension, file given by ``-o'' option.
1375 (compute_base_names): Update.
1376 (output_files): Update.
1378 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1380 * doc/bison.texi: Document @$.
1381 (Locations): New section.
1383 2001-07-18 Akim Demaille <akim@epita.fr>
1385 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1386 * config/prev-version.txt, config/move-if-change: New.
1387 * Makefile.am: Adjust.
1389 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1391 * src/bison.simple (yyparse): Suppress warning `comparaison
1392 between signed and unsigned'.
1394 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1396 * src/getargs.h (raw_flag): Remove.
1397 * src/getargs.c: Die on `-r'/`--raw'.
1398 * src/lex.c (parse_percent_token): Die on `%raw'.
1399 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1400 * tests/calc.at: Suppress test with option `--raw'.
1402 2001-07-14 Akim Demaille <akim@epita.fr>
1405 * configure.in: Require Autoconf 2.50.
1406 Update to gettext 0.10.38.
1408 2001-03-16 Akim Demaille <akim@epita.fr>
1410 * doc/bison.texinfo: ANSIfy the examples.
1412 2001-03-16 Akim Demaille <akim@epita.fr>
1414 * getargs.c (skeleton): New variable.
1415 (longopts): --skeleton is a new option.
1416 (shortopts, getargs): -S is a new option.
1417 * getargs.h: Declare skeleton.
1418 * output.c (output_parser): Use it.
1420 2001-03-16 Akim Demaille <akim@epita.fr>
1422 * m4/strerror_r.m4: New.
1423 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1424 * lib/error.h, lib/error.c: Update.
1426 2001-03-16 Akim Demaille <akim@epita.fr>
1428 * src/getargs.c (longopts): Clean up.
1430 2001-02-21 Akim Demaille <akim@epita.fr>
1432 * src/reader.c (gensym): `gensym_count' is your own.
1433 Use a static buf to create the symbol name, as token_buffer is no
1436 2001-02-08 Akim Demaille <akim@epita.fr>
1438 * src/conflicts.c (conflict_report): Be sure not to append to res
1439 between two calls, which could happen if both first sprintf were
1440 skipped, but not the first cp += strlen.
1442 2001-02-08 Akim Demaille <akim@epita.fr>
1444 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1445 New, from fileutils 4.0.37.
1446 * configure.in: Require Autoconf 2.49c. I took some time before
1447 making this decision. This is the only way out for portability
1448 issues in Bison, it would mean way too much duplicate effort to
1449 import in Bison features implemented in 2.49c since 2.13.
1450 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1452 2001-02-02 Akim Demaille <akim@epita.fr>
1454 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1455 * lib/xalloc.h, lib/xmalloc.c: Update.
1457 2001-01-19 Akim Demaille <akim@epita.fr>
1459 Get rid of the ad hoc handling of token_buffer in the scanner: use
1462 * src/lex.c (token_obstack): New.
1463 (init_lex): Initialize it. No longer call...
1464 (grow_token_buffer): this. Remove it.
1465 Adjust all the places which used it to use the obstack.
1467 2001-01-19 Akim Demaille <akim@epita.fr>
1469 * src/lex.h: Rename all the tokens:
1470 s/\bENDFILE\b/tok_eof/g;
1471 s/\bIDENTIFIER\b/tok_identifier/g;
1473 Let them be enums, not #define, to ease debugging.
1474 Adjust all the code.
1476 2001-01-18 Akim Demaille <akim@epita.fr>
1478 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1479 * src/lex.c (maxtoken, grow_token_buffer): Static.
1481 2001-01-18 Akim Demaille <akim@epita.fr>
1483 Since we now use obstacks, more % directives can be enabled.
1485 * src/lex.c (percent_table): Also accept `%yacc',
1486 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1488 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1489 instead of returning a token.
1490 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1491 * src/reader.c (read_declarations): Adjust.
1492 * src/files.c (open_files): Don't call `compute_base_names', don't
1493 compute `attrsfile' since they depend upon data which might be
1494 *in* the input file now.
1495 (output_files): Do it here.
1496 * src/output.c (output_headers): Document the fact that this patch
1497 introduces a guaranteed SEGV for semantic parsers.
1498 * doc/bison.texinfo: Document them.
1499 * tests/suite.at: Exercise these %options.
1501 2000-12-20 Akim Demaille <akim@epita.fr>
1503 Also handle the output file (--verbose) with obstacks.
1505 * files.c (foutput): Remove.
1506 (output_obstack): New.
1507 Adjust all dependencies.
1508 * src/conflicts.c: Return a string.
1509 * src/system.h (obstack_grow_string): Rename as...
1510 (obstack_sgrow): this. Be ready to work with non literals.
1511 (obstack_fgrow4): New.
1513 2000-12-20 Akim Demaille <akim@epita.fr>
1515 * src/files.c (open_files): Fix the computation of short_base_name
1516 in the case of `-o foo.tab.c'.
1518 2000-12-20 Akim Demaille <akim@epita.fr>
1520 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1521 (copy_dollar): Now that everything uses obstacks, get rid of the
1524 2000-12-20 Akim Demaille <akim@epita.fr>
1526 * src/files.c (open_files): Actually the `.output' file is based
1527 on the short_base_name, not base_name.
1528 * tests/suite.at (Checking output file names): Adjust.
1530 2000-12-20 Akim Demaille <akim@epita.fr>
1532 * src/bison.s1: Remove, we now use directly...
1533 * src/bison.simple: this.
1534 * src/Makefile.am: Use pkgdata instead of data.
1536 2000-12-20 Akim Demaille <akim@epita.fr>
1538 * src/files.c (guard_obstack): New.
1539 (open_files): Initialize it.
1540 (output_files): Dump it...
1541 * src/files.h: Export it.
1542 * src/reader.c (copy_guard): Use it.
1544 2000-12-19 Akim Demaille <akim@epita.fr>
1546 * src/files.c (outfile, defsfile, actfile): Removed as global
1548 (open_files): Don't compute them.
1549 (output_files): Adjust.
1550 (base_name, short_base_name): Be global.
1551 Adjust dependencies.
1553 2000-12-19 Akim Demaille <akim@epita.fr>
1555 * src/files.c (strsuffix): New.
1556 (stringappend): Be just like strcat but allocate.
1557 (base_names): Eve out from open_files.
1558 Try to simplify the rather hairy computation of base_name and
1560 (open_files): Use it.
1561 * tests/suite.at (Checking output file names): New test.
1563 2000-12-19 Akim Demaille <akim@epita.fr>
1565 * src/system.h (obstack_grow_literal_string): Rename as...
1566 (obstack_grow_string): this.
1567 * src/output.c (output_parser): Recognize `%% actions' instead of
1569 * src/bison.s1: s/$/%% actions/.
1570 * src/bison.hairy: Likewise.
1572 2000-12-19 Akim Demaille <akim@epita.fr>
1574 * src/output.c (output_parser): Compute the `#line' lines when
1576 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1577 Suggested by Hans Aberg.
1579 2000-12-19 Akim Demaille <akim@epita.fr>
1581 Let the handling of the skeleton files be local to the procedures
1584 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1586 (fparser, open_extra_files): Remove.
1587 (open_files, output_files): Don't take care of fparser.
1588 * src/files.h: Adjust.
1589 * src/output.c (output_parser): Open and close the file to the
1591 * src/reader.c (read_declarations): When %semantic_parser, open
1594 2000-12-19 Akim Demaille <akim@epita.fr>
1596 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1597 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1599 2000-12-19 Akim Demaille <akim@epita.fr>
1601 * src/files.c (open_files): Yipee! We no longer need all the code
1602 looking for `/tmp' since we have no tmp file.
1604 2000-12-19 Akim Demaille <akim@epita.fr>
1606 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1608 * src/files.c (open_files): Less dependency on MSDOS etc.
1610 2000-12-14 Akim Demaille <akim@epita.fr>
1612 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1613 Provide a default definition.
1614 Use it when executing the default @ action.
1615 * src/reader.c (reader_output_yylsp): No longer include
1616 `timestamp' and `text' in the default YYLTYPE.
1618 2000-12-12 Akim Demaille <akim@epita.fr>
1620 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1621 (copy_guard): Quote the file names.
1622 Reported by Laurent Mascherpa.
1624 2000-12-12 Akim Demaille <akim@epita.fr>
1626 * src/output.c (output_headers, output_program, output): Be sure
1627 to escape special characters when outputting filenames.
1628 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1629 (output_headers): Don't depend on them, Use ACTSTR.
1631 2000-11-17 Akim Demaille <akim@epita.fr>
1633 * lib/obstack.h: Formatting changes.
1634 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1635 prevents type checking.
1636 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1637 cast the value to (void *): assigning a `foo *' to a `void *'
1639 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1640 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1643 2000-11-17 Akim Demaille <akim@epita.fr>
1645 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1647 (suite.m4, regression.m4, calc.m4): these.
1648 * tests/atgeneral.m4: Update from CVS Autoconf.
1650 2000-11-17 Akim Demaille <akim@epita.fr>
1652 * tests/regression.m4 (%union and --defines): New test,
1653 demonstrating a current bug in the obstack implementation.
1655 2000-11-17 Akim Demaille <akim@epita.fr>
1657 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1659 Use them to declare the variables which are global or local to
1662 2000-11-17 Akim Demaille <akim@epita.fr>
1664 * acconfig.h: Remove, no longer used.
1666 2000-11-07 Akim Demaille <akim@epita.fr>
1668 * src: s/Copyright (C)/Copyright/g.
1670 2000-11-07 Akim Demaille <akim@epita.fr>
1672 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1674 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1676 2000-11-07 Akim Demaille <akim@epita.fr>
1678 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1679 Merge in a single CPP if/else.
1681 2000-11-07 Akim Demaille <akim@epita.fr>
1683 * src/output.c (output): Remove useless variables.
1684 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1685 argument `data' for consistency with the prototypes.
1687 (obstack_copy, obstack_copy0): Rename the second argument as
1688 `address' for consistency. Qualify it `const'.
1689 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1690 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1691 `const' their input argument (`data' or `address').
1692 Adjust the corresponding macros to include `const' in casts.
1694 2000-11-03 Akim Demaille <akim@epita.fr>
1696 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1697 s/PFILE1/BISON_HAIRY/.
1698 Adjust dependencies.
1700 2000-11-03 Akim Demaille <akim@epita.fr>
1702 For some reason, this was not applied.
1704 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1705 `unlink': it's no longer used.
1707 2000-11-03 Akim Demaille <akim@epita.fr>
1709 * src/files.c (skeleton_find): New function, eved out of...
1710 (open_files, open_extra_files): here.
1712 2000-11-03 Akim Demaille <akim@epita.fr>
1716 * src/files.c (obstack_save): New function.
1717 (done): Rename as...
1718 (output_files): this.
1720 * src/main.c (main): Don't use `atexit' to register `done', since
1721 it no longer has to remove tmp files, just call `output_files'
1722 when there are no errors.
1724 2000-11-02 Akim Demaille <akim@epita.fr>
1726 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1727 `unlink': it's no longer used.
1728 * src/files.h: Formatting changes.
1730 2000-11-02 Akim Demaille <akim@epita.fr>
1732 Remove the last uses of mktemp and unlink/delete.
1734 * src/files.c (fdefines, ftable): Removed.
1735 (defines_ostack, table_obstack): New.
1736 Adjust dependencies of the former into uses of the latter.
1737 * src/output.c (output_short_or_char_table, output_short_table):
1738 Convert to using obstacks.
1739 * src/reader.c (copy_comment2): Accept one FILE * and two
1741 (output_token_defines, reader_output_yylsp): Use obstacks.
1742 * src/system.h (obstack_fgrow3): New.
1744 2000-11-01 Akim Demaille <akim@epita.fr>
1746 Change each use of `fattrs' into a use of `attrs_obstack'.
1748 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1749 * src/files.c (fattrs): Remove.
1750 (attrs_obstack): New.
1751 Adjust all dependencies.
1752 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1754 2000-11-01 Akim Demaille <akim@epita.fr>
1757 Change each use of `faction' into a use of `action_obstack'.
1759 * lib/obstack.h, lib/obstack.c: New files.
1760 * src/files.c (faction): Remove.
1761 (action_obstack): New.
1762 Adjust all dependencies.
1764 2000-10-20 Akim Demaille <akim@epita.fr>
1766 * lib/quote.h (PARAMS): New macro. Use it.
1768 2000-10-16 Akim Demaille <akim@epita.fr>
1770 * src/output.c (output_short_or_char_table): New function.
1771 (output_short_table, output_token_translations): Use it.
1772 (goto_actions): Use output_short_table.
1774 2000-10-16 Akim Demaille <akim@epita.fr>
1776 * src/symtab.c (bucket_new): New function.
1779 * src/output.c (output_short_table): New argument to display the
1780 comment associated with the table.
1781 Adjust dependencies.
1782 (output_gram): Use it.
1783 (output_rule_data): Nicer output layout for YYTNAME.
1785 2000-10-16 Akim Demaille <akim@epita.fr>
1787 * src/lex.c (read_typename): New function.
1789 * src/reader.c (copy_dollar): Likewise.
1791 2000-10-16 Akim Demaille <akim@epita.fr>
1793 * src/reader.c (copy_comment2): Expect the input stream to be on
1794 the `/' which is suspected to open a comment, instead of being
1795 called after `//' or `/*' was read.
1796 (copy_comment, copy_definition, parse_union_decl, copy_action)
1797 (copy_guard): Adjust.
1799 2000-10-16 Akim Demaille <akim@epita.fr>
1801 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1802 `read_signed_integer'.
1804 2000-10-16 Akim Demaille <akim@epita.fr>
1806 * src/reader.c (copy_dollar): New function.
1807 (copy_guard, copy_action): Use it.
1809 2000-10-16 Akim Demaille <akim@epita.fr>
1811 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1812 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1813 New files, from Fileutils 4.0.27.
1814 * src/main.c (printable_version): Remove.
1815 * src/lex.c, src/reader.c: Use `quote'.
1817 2000-10-04 Akim Demaille <akim@epita.fr>
1819 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1821 2000-10-04 Akim Demaille <akim@epita.fr>
1823 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1825 2000-10-04 Akim Demaille <akim@epita.fr>
1827 When a literal string is used to define two different tokens,
1828 `bison -v' segfaults.
1829 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1831 * tests/regression.m4: New file.
1832 Include the core of the sample provided by Piotr Gackiewicz.
1833 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1836 2000-10-04 Akim Demaille <akim@epita.fr>
1838 * src/reader.c (parse_expect_decl): Keep `count' within the size
1842 2000-10-02 Paul Eggert <eggert@twinsun.com>
1844 * bison.s1 (yyparse): Assign the default value
1845 unconditionally, to avoid a GCC warning and make the parser a
1848 2000-10-02 Akim Demaille <akim@epita.fr>
1850 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1853 2000-10-02 Akim Demaille <akim@epita.fr>
1855 * src/derives.c, src/print.c, src/reduce.c: To ease the
1856 translation, move some `\n' out of the translated strings.
1858 2000-10-02 Akim Demaille <akim@epita.fr>
1860 The location tracking mechanism is precious for parse error
1861 messages. Nevertheless, it is enabled only when `@n' is used in
1862 the grammar, which is a different issue (you can use it in error
1863 message, but not in the grammar per se). Therefore, there should
1864 be another means to enable it.
1866 * src/getargs.c (getargs): Support `--locations'.
1868 * src/getargs.h (locationsflag): Export it.
1869 * src/lex.c (percent_table): Support `%locations'.
1870 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1871 with `locationsflag'.
1872 * doc/bison.texinfo: Document `--locations' and `%locations'.
1874 * tests/calc.m4: Test it.
1876 For regularity of the names, replace each
1877 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1878 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1879 In addition replace each `flag' with `_flag'.
1881 2000-10-02 Akim Demaille <akim@epita.fr>
1883 Also test parse error messages, including with YYERROR_VERBOSE.
1885 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1887 Use it to check the computations.
1888 Use it to check `nonassoc' is honored.
1889 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1890 `--yyerror-verbose'.
1891 (_AT_CHECK_CALC): Adjust to this option.
1892 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1894 2000-10-02 Akim Demaille <akim@epita.fr>
1896 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1897 the latter demonstrates a flaw in the handling of non debugging
1898 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1899 was used in order to simplify:
1915 unfortunately this leads to a CPP conflict when
1916 `--name-prefix=foo' is used since it produces `#define yydebug
1919 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1920 (YYDPRINTF): New macro.
1922 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1924 Also test `--verbose', `--defines' and `--name-prefix'.
1926 2000-10-02 Akim Demaille <akim@epita.fr>
1928 Improve the readability of the produced parsers.
1930 * src/bison.s1: Formatting changes.
1931 Improve the comment related to the `$' mark.
1932 (yydefault): Don't fall through to `yyresume': `goto' there.
1933 * src/output.c (output_parser): When the `$' is met, skip the end
1935 New variable, `number_of_dollar_signs', to check there's exactly
1936 one `$' in the parser skeleton.
1938 2000-10-02 Akim Demaille <akim@epita.fr>
1940 * lib/xstrdup.c: New file, from the fileutils.
1941 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1942 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1943 instead of strlen + xmalloc + strcpy.
1944 * src/symtab.c (copys): Remove, use xstrdup instead.
1946 2000-10-02 Akim Demaille <akim@epita.fr>
1948 * src/gram.h (associativity): New enum type which replaces the
1949 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1950 `right_assoc', `left_assoc' and `non_assoc'.
1951 Adjust all dependencies.
1952 * src/reader.c: Formatting changes.
1953 (LTYPESTR): Don't define it, use it as a literal in
1954 `reader_output_yylsp'.
1955 * src/symtab.h (symbol_class): New enum type which replaces the
1956 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1957 `sunknown', `stoken and `snterm'.
1959 2000-10-02 Akim Demaille <akim@epita.fr>
1961 * src/getargs.c (fixed_outfiles): Rename as...
1962 (yaccflag): for consistency and accuracy.
1963 Adjust dependencies.
1965 2000-10-02 Akim Demaille <akim@epita.fr>
1967 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1968 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1969 difficult and introduced a lot of core dump. It turns out that
1970 Bison used an implementation of `xmalloc' based on `calloc', and
1971 at various places it does depend upon the initialization to 0. I
1972 have not tried to isolate the pertinent places, and all the former
1973 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1974 someone should address this issue.
1976 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1977 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1979 Adjust dependencies.
1980 * src/warshall.h: New file.
1983 2000-10-02 Akim Demaille <akim@epita.fr>
1985 Various anti-`extern in *.c' changes.
1987 * src/system.h: Include `assert.h'.
1989 2000-10-02 Akim Demaille <akim@epita.fr>
1991 * src/state.h (nstates, final_state, first_state, first_shift)
1992 (first_reduction): Move their exportation from here...
1993 * src/LR0.h: to here.
1994 Adjust dependencies.
1995 * src/getargs.c (statisticsflag): New variable.
1996 Add support for `--statistics'.
1997 Adjust dependencies.
1999 Remove a lot of now useless `extern' statements in most files.
2001 2000-10-02 Akim Demaille <akim@epita.fr>
2003 * src/LR0.h: New file.
2006 2000-10-02 Akim Demaille <akim@epita.fr>
2008 * src/print.h: New file.
2010 * src/print.c: Formatting and ordering changes.
2011 (verbose, terse): Replace with...
2012 (print_results): this new function.
2013 Adjust dependencies.
2015 2000-10-02 Akim Demaille <akim@epita.fr>
2017 * src/conflicts.c (conflict_report): New function.
2018 (conflict_log, verbose_conflict_log): Replace with...
2019 (print_conflicts): this function.
2020 Adjust dependencies.
2021 * src/conflicts.h: New file.
2022 Propagate its inclusion.
2024 2000-10-02 Akim Demaille <akim@epita.fr>
2026 * src/nullable.h: New file.
2027 Propagate its inclusion.
2028 * src/nullable.c: Formatting changes.
2030 2000-10-02 Akim Demaille <akim@epita.fr>
2032 * src/reduce.h: New file.
2033 Propagate its inclusion.
2034 * src/reduce.c: Topological sort and other formatting changes.
2035 (bool, TRUE, FALSE): Move their definition to...
2036 * src/system.h: here.
2038 2000-10-02 Akim Demaille <akim@epita.fr>
2040 * src/files.c: Formatting changes.
2041 (tryopen, tryclose, openfiles): Rename as...
2042 (xfopen, xfclose, open_files): this.
2043 (stringappend): static.
2044 * src/files.h: Complete the list of exported symbols.
2047 2000-10-02 Akim Demaille <akim@epita.fr>
2049 * src/reader.h: New file.
2050 Propagate its use instead of tedious list of `extern' and
2052 * src/reader.c: Formatting changes, topological sort,
2055 2000-10-02 Akim Demaille <akim@epita.fr>
2057 * src/lex.h: Prototype `lex.c' exported functions.
2058 * src/reader.c: Adjust.
2059 * src/lex.c: Formatting changes.
2060 (safegetc): Rename as...
2063 2000-10-02 Akim Demaille <akim@epita.fr>
2065 * src/lalr.h: New file.
2066 Propagate its inclusion instead of prototypes and `extern'.
2067 * src/lalr.c: Formatting changes, topological sorting etc.
2069 2000-10-02 Akim Demaille <akim@epita.fr>
2071 * src/output.c (token_actions): Introduce a temporary array,
2072 YYDEFACT, that makes it possible for this function to use
2075 2000-10-02 Akim Demaille <akim@epita.fr>
2077 `user_toknums' is output as a `short[]' in `output.c', while it is
2078 defined as a `int[]' in `reader.c'. For consistency with the
2079 other output tables, `user_toknums' is now defined as a table of
2082 * src/reader.c (user_toknums): Be a short table instead of an int
2084 Adjust dependencies.
2086 Factor the short table outputs.
2088 * src/output.c (output_short_table): New function.
2089 * src/output.c (output_gram, output_stos, output_rule_data)
2090 (output_base, output_table, output_check): Use it.
2092 2000-10-02 Akim Demaille <akim@epita.fr>
2094 * src/output.c (output): Topological sort of the functions, in
2095 order to get rid of the `static' prototypes.
2096 No longer use `register'.
2097 * src/output.h: New file.
2098 Propagate its inclusion in files explicitly prototyping functions
2101 2000-09-21 Akim Demaille <akim@epita.fr>
2103 * src/atgeneral.m4: Update from Autoconf.
2105 2000-09-21 Akim Demaille <akim@epita.fr>
2107 * src/closure.h: New file.
2108 * src/closure.c: Formatting changes, topological sort over the
2109 functions, use of closure.h.
2110 (initialize_closure, finalize_closure): Rename as...
2111 (new_closure, free_closure): these. Adjust dependencies.
2112 * src/LR0.c: Formatting changes, topological sort, use of
2114 (initialize_states): Rename as...
2116 * src/Makefile.am (noinst_HEADERS): Adjust.
2118 2000-09-20 Akim Demaille <akim@epita.fr>
2120 * src/acconfig.h: Don't protect config.h against multiple
2122 Don't define PARAMS.
2123 * src/system.h: Define PARAMS.
2124 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2125 purpose of config.h. system.h must not try to fix wrong
2126 definitions in config.h.
2128 2000-09-20 Akim Demaille <akim@epita.fr>
2130 * src/derives.h: New file.
2131 * src/main.c, src/derives.h: Use it.
2133 * src/Makefile.am (noinst_HEADERS): Adjust.
2135 2000-09-20 Akim Demaille <akim@epita.fr>
2137 * tests/atgeneral.m4: Update from Autoconf.
2138 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2139 (AT_CHECK_CALC): New macros.
2140 Use these macros to test bison with options `', `--raw',
2141 `--debug', `--yacc', `--yacc --debug'.
2143 2000-09-19 Akim Demaille <akim@epita.fr>
2145 * src/output.c: Formatting changes.
2146 * src/machine.h: Remove, leaving its contents in...
2147 * src/system.h: here.
2149 Adjust all dependencies on stdio.h and machine.h.
2150 * src/getargs.h: New file.
2151 Let all `extern' declarations about getargs.c be replaced with
2152 inclusion of `getargs.h'.
2153 * src/Makefile.am (noinst_HEADERS): Adjust.
2155 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2157 (yyerror): Returns void, not int.
2158 * doc/bison.texinfo: Formatting changes.
2160 2000-09-19 Akim Demaille <akim@epita.fr>
2162 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2165 2000-09-18 Akim Demaille <akim@epita.fr>
2167 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2168 * src/Makefile.am (INCLUDES): Don't.
2169 Be ready to fetch headers in lib/.
2171 2000-09-18 Akim Demaille <akim@epita.fr>
2173 * doc/bison.texinfo: Update the copyright.
2174 ANSIfy and GNUify the examples.
2175 Remove the old menu.
2177 2000-09-18 Akim Demaille <akim@epita.fr>
2179 First set of tests: use the `calc' example from the documentation.
2181 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2182 is defined only when YYDEBUG is.
2183 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2184 * src/files.c (tryopen, tryclose): Formatting changes.
2185 Move to the top and be static.
2186 * src/reader.c (read_signed_integer): Likewise.
2187 * tests/calc.m4: New file.
2188 * Makefile.am, suite.m4: Adjust.
2189 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2191 2000-09-18 Akim Demaille <akim@epita.fr>
2193 Add support for an Autotest test suite for Bison.
2195 * m4/m4.m4, m4/atconfig.m4: New files.
2196 * m4/Makefile.am (EXTRA_DIST): Adjust.
2197 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2199 * src/getargs.c: Display a more standard --version message.
2200 * src/reader.c (reader): Formatting changes.
2201 No longer depend upon VERSION_STRING.
2202 * configure.in: No longer use `dnl'.
2203 Set up the test suite and the new directory `tests/.
2204 (VERSION_STRING): Remove.
2206 2000-04-14 Akim Demaille <akim@epita.fr>
2208 * src/reader.c (copy_comment2): New function, same as former
2209 `copy_comment', but outputs into two FILE *.
2210 (copy_comment): Use it.
2211 (parse_union_decl): Use it.
2212 (get_type, parse_start_decl): Use the same `invalid' message.
2213 (parse_start_decl, parse_union_decl): Use the same `multiple'
2215 (parse_union_decl, copy_guard, copy_action): Use the same
2216 `unmatched' message.
2217 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2219 2000-03-31 Akim Demaille <akim@epita.fr>
2221 * src/files.c (tryopen, tryclose): Move to the top.
2224 2000-03-31 Akim Demaille <akim@epita.fr>
2226 * src/main.c (main): Don't call `done', exit does it.
2228 2000-03-31 Akim Demaille <akim@epita.fr>
2230 * allocate.c: s/return (foo)/return foo/.
2233 * output.c: Likewise.
2234 * reader.c: Likewise.
2235 * symtab.c: Likewise.
2236 * vmsgetargs.c: Likewise.
2238 2000-03-31 Akim Demaille <akim@epita.fr>
2240 Clean up the error reporting functions.
2242 * src/report.c: New file.
2243 * src/report.h: Likewise.
2244 * src/Makefile.am: Adjust.
2245 * m4/error.m4: New file.
2246 * m4/Makefile.am: Adjust.
2247 * configure.in (jm_PREREQ_ERROR): Call it.
2248 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2250 (fatal, fatals): Remove. All callers use complain.c::fatal.
2251 (warn, warni, warns, warnss, warnss): Remove. All callers use
2252 complain.c::complain.
2253 (toomany): Remove, use fatal instead.
2254 * src/files.c (done): No argument, use complain_message_count.
2255 * src/main.c (main): Register `done' to `atexit'.
2257 * src/getargs.c (usage): More `fputs', less `fprintf'.
2259 2000-03-28 Akim Demaille <akim@epita.fr>
2261 * lib/: New directory.
2262 * Makefile.am (SUBDIRS): Adjust.
2263 * configure.in: Adjust.
2264 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2266 * src/alloca.c: Moved to lib/.
2267 * src/getopt.c: Likewise.
2268 * src/getopt1.c: Likewise.
2269 * src/getopt.h: Likewise.
2270 * src/ansi2knr.c: Likewise.
2271 * src/ansi2knr.1: Likewise.
2272 * src/Makefile.am: Adjust.
2273 * lib/Makefile.am: New file.
2275 2000-03-28 Akim Demaille <akim@epita.fr>
2277 * src/getargs.c (usage): Refresh the help message.
2279 2000-03-17 Akim Demaille <akim@epita.fr>
2281 * src/getopt1.c: Updated from textutils 2.0e
2282 * src/getopt.c: Likewise.
2283 * src/getopt.h: Likewise.
2285 2000-03-17 Akim Demaille <akim@epita.fr>
2287 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2288 the file name, not the whole `#line LINE FILE'.
2290 2000-03-17 Akim Demaille <akim@epita.fr>
2292 On syntax errors, report the token on which we choked.
2294 * src/bison.s1 (yyparse): In the label yyerrlab, when
2295 YYERROR_VERBOSE, add yychar in msg.
2297 2000-03-17 Akim Demaille <akim@epita.fr>
2299 * src/reader.c (copy_at): New function.
2300 (copy_guard): Use it.
2301 (copy_action): Use it.
2303 2000-03-17 Akim Demaille <akim@epita.fr>
2305 Be kind to translators, save some useless translations.
2307 * src/main.c (banner): New function.
2308 (fatal_banner): Use it.
2309 (warn_banner): Use it.
2311 2000-03-17 Akim Demaille <akim@epita.fr>
2313 * src/reader.c (copy_definition): Use copy_string and
2314 copy_comment. Removed now unused `match', `ended',
2316 (copy_comment, copy_string): Moved, to be visible from
2319 2000-03-17 Akim Demaille <akim@epita.fr>
2321 * src/reader.c (copy_string): Declare `static inline'. No
2322 problems with inline, since it is checked by configure.
2323 (copy_comment): Likewise.
2325 2000-03-17 Akim Demaille <akim@epita.fr>
2327 * src/reader.c (packsymbols): Formatting changes.
2329 2000-03-17 Akim Demaille <akim@epita.fr>
2331 * src/reader.c (copy_comment): New function, factored out from:
2332 (copy_action): Use it. Removed now unused `match', `ended',
2334 (copy_guard): Likewise.
2336 2000-03-17 Akim Demaille <akim@epita.fr>
2338 * src/reader.c (copy_string): New function, factored out from:
2339 (copy_action): Use it.
2340 (copy_guard): Likewise.
2342 2000-03-17 Akim Demaille <akim@epita.fr>
2344 Change the handling of @s so that they behave exactly like $s.
2345 There is now a pseudo variable @$ (readble and writable), location
2346 of the lhs of the rule (by default ranging from the location of
2347 the first symbol of the rhs, to the location of the last symbol,
2348 or, if the rhs is empty, YYLLOC).
2350 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2352 (yyparse): When providing a default semantic action, provide a
2353 default location action.
2354 (after the $): No longer change `*YYLSP', just stack YYLOC the
2355 same way you stack YYVAL.
2356 * src/reader.c (read_declarations): Use warns.
2357 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2358 (copy_action, case '@'): Likewise.
2359 Use a standard error message, to save useless work from
2362 2000-03-17 Akim Demaille <akim@epita.fr>
2364 * src/bison.s1: Formatting and cosmetics changes.
2365 * src/reader.c: Likewise.
2366 Update the Copyright notice.
2368 2000-03-17 Akim Demaille <akim@epita.fr>
2370 * src/bison.s1 (#line): All set to `#line' only, since the
2371 Makefile now handles them.
2373 2000-03-16 Akim Demaille <akim@epita.fr>
2375 * src/output.c (output_rule_data): Output the documentation of
2377 (Copyright notice): Update.
2380 2000-03-16 Akim Demaille <akim@epita.fr>
2382 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2383 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2384 One `#if YYDEBUG' remains, since it uses variables which are
2385 defined only if `YYDEBUG != 0'.
2387 2000-03-16 Akim Demaille <akim@epita.fr>
2389 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2390 and related variables so that the similarities are highlighted.
2392 2000-03-16 Akim Demaille <akim@epita.fr>
2394 * src/bison.s1: Properly indent CPP directives.
2396 2000-03-16 Akim Demaille <akim@epita.fr>
2398 * src/bison.s1: Properly indent the `alloca' CPP section.
2400 2000-03-16 Akim Demaille <akim@epita.fr>
2402 Do not hard code values of directories in `configure.in'.
2403 Update the `configure' tool chain.
2405 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2407 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2408 (AC_OUTPUT): Add m4/Makefile.
2409 Bump to bison 1.28a, 1.29 has never been released.
2410 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2411 handled via src/Makefile.am.
2412 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2413 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2415 * Makefile.am (SUBDIRS): Add m4.
2416 (ACLOCAL_AM_FLAGS): New variable.
2417 (AUTOMAKE_OPTIONS): Add check-news.
2418 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2419 the proper line number and file name.
2420 (DEFS): Propagate the location of bison library files and of the
2422 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2424 * acinclude.m4: Remove, replaced by the directory m4.
2425 * m4/Makefile.am (EXTRA_DIST): New variable.
2426 * m4/gettext.m4: New file, from the fileutils.
2427 * m4/lcmessage.m4: Likewise
2428 * m4/progtest.m4: Likewise.
2429 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2431 2000-03-10 Akim Demaille <akim@epita.fr>
2434 Formatting changes of various comments.
2435 Respect the GNU coding standards at various places.
2436 Don't use `_()' when no translation is needed.
2438 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2441 OS/2 honors TMPDIR environment variable.
2443 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2445 * doc/bison.texinfo: Tweaked spelling and grammar.
2447 Removed reference to price of printed copy.
2448 Mention BISON_SIMPLE and BISON_HAIRY.
2450 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2452 * configure.in, NEWS:
2453 Bison 1.29 released.
2455 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2457 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2458 Added reference card.
2460 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2462 * po/ru.po: Added Russian translation.
2464 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2466 * configure.in: Added Russian translation.
2468 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2470 * configure.in, NEWS, README:
2471 Released version 1.28.
2473 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2476 Squashed redefinition warning on some systems.
2478 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2479 Have configure build version string instead of relying on ANSI string
2482 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2484 * po/POTFILES.in: Got rid of version.c.
2486 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2488 * acconfig.h, configure.in:
2489 Have configure build version string instead of relying on ANSI string
2492 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2495 Dropped mention of `+' for long-named options.
2497 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2499 * src/files.c: Added <unistd.h> for unlink().
2501 * src/Makefile.am, src/system.h:
2504 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2506 * README: Added a FAQ list.
2508 * configure.in, acconfig.h:
2511 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2513 * doc/FAQ, doc/Makefile.am:
2516 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2518 * src/alloc.h, src/symtab.h, src/version.c:
2519 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2521 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2523 * src/.cvsignore, src/Makefile.am:
2524 Reorganized: sources in `src', documentation in `doc'.
2526 * src/lex.c (literalchar):
2527 fixed the code for escaping double quotes (thanks
2530 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2532 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2533 Adjusted paths to reflect directory reorganization.
2535 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2537 * doc/.cvsignore, doc/Makefile.am:
2538 Reorganized: sources in `src', documentation in `doc'.
2540 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2543 Updated AC_INIT file to reflect directory reorganization.
2545 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2546 Reorganized: sources in `src', documentation in `doc'.
2548 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2551 Don't declare calloc() and realloc() if not necessary.
2553 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2555 * configure.in, acconfig.h, acinclude.m4:
2556 Don't declare calloc() and realloc() if not necessary.
2558 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2560 * po/.cvsignore: Added i18n support.
2562 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2564 * acconfig.h, configure.in, Makefile.am:
2567 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2569 * src/bison.s1: Fixed #line numbers.
2571 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2573 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2574 Added PO files from Translation Project.
2576 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2579 Added support for non-ANSI compilers (ansi2knr).
2581 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2583 * configure.in: Bumped version number to 1.27.
2586 Added `bison.simple' to list of files removed by `make distclean'.
2588 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2590 * src/files.c, src/files.h:
2591 Defined locations of parser files in config.h instead of Makefile.
2593 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2595 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2596 Defined locations of parser files in config.h instead of Makefile.
2598 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2601 Removed inappropriate use of $< macro.
2603 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2605 * po/Makefile.in.in, po/POTFILES.in:
2606 Add `po' directory skeleton.
2608 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2610 * README: Document help-bison list.
2612 * configure.in: Add check for mkstemp().
2614 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2616 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2617 Hush a few compiler warnings.
2620 Add tryclose(), which verifies that fclose was successful.
2621 Hush a couple of compiler warnings.
2623 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2625 * Makefile.am, OChangeLog:
2626 ChangeLog is now automatically generated. Include the old version as
2629 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2631 * 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:
2634 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2636 * doc/bison.texinfo: Fix formatting glitch.
2638 * doc/bison.texinfo: Update FSF address.
2640 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2642 * acconfig.h: Update FSF address.
2644 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2647 Don't define PACKAGE here, since config.h defines it.
2649 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2651 * src/reader.c: Update copyright date.
2654 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2655 favor of output directly to stderr (avoids buffer overruns).
2657 * src/reader.c: Some checks for premature EOF.
2659 * 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:
2660 Use prototypes if the compiler understands them.
2662 * src/files.c: Honor TMPDIR on Unix hosts.
2663 Use prototypes if the compiler understands them.
2666 Fix a couple of buffer overrun bugs.
2667 Use prototypes if the compiler understands them.
2669 * src/system.h: Include unistd.h and ctype.h.
2670 Use #ifdef instead of #if for NLS symbols.
2672 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2674 * doc/bison.texinfo:
2675 Delete comment "consider using @set for edition number, etc..." since
2676 we now are doing so.
2678 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2681 Use prototypes if the compiler understands them.
2683 * NEWS: Document 1.26 highlights.
2685 * Makefile.am: Require Automake 1.3 or later.
2688 Use prototypes if the compiler understands them.
2690 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2693 Use VERSION symbol from automake for version number.
2695 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2697 * acconfig.h, configure.in, version.cin:
2698 Use VERSION symbol from automake for version number.
2700 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2703 Distribute original version of simple parser (bison.s1), not built
2704 version (bison.simple).
2706 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2708 * doc/bison.texinfo: Add info dir entry.
2710 * doc/bison.texinfo:
2711 Let automake put version number into documentation.
2713 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2715 * src/bison.cld, src/build.com, src/vmshlp.mar:
2716 Add non-RCS files from /gd/gnu/bison.
2718 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2721 Document the BISON_HAIRY and BISON_SIMPLE variables.
2723 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2725 * src/version.c: Build version.c automatically.
2728 Fix token numbering (used to start at 258, not 257).
2730 * src/system.h: Include config.h.
2732 * src/getargs.c: Update bug report address.
2734 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2735 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2737 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2740 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2742 * configure.in, version.cin:
2743 Build version.c automatically.
2745 * AUTHORS: Add AUTHORS file.
2747 * README: Update bug report address.
2750 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2752 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2755 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2757 * doc/bison.texinfo: Clean up some formatting.
2759 1998-05-05 Richard Stallman <rms@gnu.org>
2761 * doc/bison.texinfo:
2762 Explain better why to make a pure parser.
2764 1998-01-05 Richard Stallman <rms@gnu.org>
2766 * src/files.c (openfiles):
2767 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2768 find a temporary directory, if possible. Do not unlink files while
2771 1997-08-25 Richard Stallman <rms@gnu.org>
2773 * src/reader.c (stack_offset;):
2774 Change some warni to warns.
2776 * src/lex.c (literalchar): Use warns, not warni.
2778 1997-06-28 Richard Stallman <rms@gnu.org>
2780 * src/bison.s1: Add a Bison version comment.
2782 * src/main.c (fatal, warn, berror):
2785 1997-06-28 Richard Stallman <rms@gnu.org>
2787 * Makefile.in (bison_version): New variable.
2788 (dist): Use that variable.
2789 (bison.s1): Substitute the Bison version into bison.simple.
2791 * bison.simple: Add a Bison version comment.
2793 1997-06-18 Richard Stallman <rms@gnu.org>
2795 * src/main.c (fatal, warn, berror):
2796 Make error messages standard.
2797 (toomany): Improve error message text.
2799 * 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:
2800 new.h renamed to alloc.h.
2802 1997-06-18 Richard Stallman <rms@gnu.org>
2804 * Makefile.in: new.h renamed to alloc.h.
2806 1997-05-24 Richard Stallman <rms@gnu.org>
2808 * src/lex.c (literalchar):
2809 Fix the code for escaping \, " and '.
2811 (lex): Avoid trouble when there are many chars
2812 to discard in a char literal with just several chars in it.
2814 1997-05-17 Richard Stallman <rms@gnu.org>
2817 Use malloc, if using alloca is troublesome.
2818 (YYSTACK_USE_ALLOCA): New flag macro.
2819 Define it for some systems and compilers.
2820 (YYSTACK_ALLOC): New macro.
2821 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2822 If it was malloc'd, free it.
2824 1997-05-17 Richard Stallman <rms@gnu.org>
2827 Use malloc, if using alloca is troublesome.
2828 (YYSTACK_USE_ALLOCA): New flag macro.
2829 Define it for some systems and compilers.
2830 (YYSTACK_ALLOC): New macro.
2831 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2832 If it was malloc'd, free it.
2834 1997-04-23 Richard Stallman <rms@gnu.org>
2837 (alloca) [__hpux]: Always define as __builtin_alloca.
2839 1997-04-23 Richard Stallman <rms@gnu.org>
2842 (alloca) [__hpux]: Always define as __builtin_alloca.
2844 1997-04-22 Richard Stallman <rms@gnu.org>
2847 [__hpux]: Include alloca.h (right for HPUX 10)
2848 instead of declaring alloca (right for HPUX 9).
2850 * src/bison.s1 (__yy_memcpy):
2851 Declare arg `count' as unsigned int.
2852 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2854 1997-04-22 Richard Stallman <rms@gnu.org>
2857 [__hpux]: Include alloca.h (right for HPUX 10)
2858 instead of declaring alloca (right for HPUX 9).
2860 * bison.simple (__yy_memcpy):
2861 Declare arg `count' as unsigned int.
2862 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2864 1997-01-03 Richard Stallman <rms@gnu.org>
2866 * src/allocate.c: [__STDC__ or _MSC_VER]:
2867 Declare calloc and realloc to return void *.
2869 1997-01-02 Richard Stallman <rms@gnu.org>
2872 [_MSC_VER]: Include stdlib.h and process.h.
2873 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2875 * src/main.c (main): Return FAILURE as a value.
2876 (printable_version): Declare arg as int, not char.
2878 1997-01-02 Richard Stallman <rms@gnu.org>
2880 * Makefile.in (dist):
2881 Explicitly check for symlinks, and copy them.
2883 1996-12-19 Richard Stallman <rms@gnu.org>
2886 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2888 1996-12-18 Paul Eggert <eggert@gnu.org>
2890 * src/bison.s1 (yyparse):
2891 If __GNUC__ and YYPARSE_PARAM are both defined,
2892 declare yyparse to have a void * argument.
2894 1996-12-18 Paul Eggert <eggert@gnu.org>
2896 * bison.simple (yyparse):
2897 If __GNUC__ and YYPARSE_PARAM are both defined,
2898 declare yyparse to have a void * argument.
2900 1996-12-17 Richard Stallman <rms@gnu.org>
2902 * src/reduce.c (nbits): Add some casts.
2904 1996-08-12 Richard Stallman <rms@gnu.org>
2906 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2908 1996-08-12 Richard Stallman <rms@gnu.org>
2910 * bison.simple: Test _MSDOS as well as _MSDOS_.
2912 1996-07-31 Richard Stallman <rms@gnu.org>
2915 [__sun && __i386]: Include alloca.h.
2917 1996-07-31 Richard Stallman <rms@gnu.org>
2920 [__sun && __i386]: Include alloca.h.
2922 1996-07-30 Richard Stallman <rms@gnu.org>
2924 * src/bison.s1: Comment change.
2926 * src/bison.s1: Test _MSDOS_, not MSDOS.
2928 1996-07-30 Richard Stallman <rms@gnu.org>
2930 * bison.simple: Comment change.
2932 * bison.simple: Test _MSDOS_, not MSDOS.
2934 1996-06-01 Richard Stallman <rms@gnu.org>
2936 * 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:
2937 Insert `_' macro around many string constants.
2940 Insert `_' macro around many string constants.
2942 (main): Call setlocale, bindtextdomain and textdomain.
2944 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2945 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2946 [ENABLE_NLS]: Include libintl.h.
2947 [ENABLE_NLS] (gettext): Define.
2948 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2949 (N_, PACKAGE, LOCALEDIR): New macros.
2951 1996-06-01 Richard Stallman <rms@gnu.org>
2953 * POTFILES.in: New file.
2955 * Makefile.in (allocate.o):
2956 Define target explicitly.
2958 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2959 (LDFLAGS): Set to @LDFLAGS@.
2960 (configure): Run autoconf only if preceding `cd' succeeds.
2961 (bison.s1): Redirect output to temporary file then move the
2962 temporary to the target, rather than redirecting directly to bison.s1.
2963 (clean): Remove config.status and config.log.
2964 (distclean): Don't remove config.status here.
2966 1996-05-12 Richard Stallman <rms@gnu.org>
2969 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2971 1996-05-12 Richard Stallman <rms@gnu.org>
2974 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2976 1996-05-11 Richard Stallman <rms@gnu.org>
2978 * src/bison.s1 (__yy_memcpy):
2979 Really reorder the args, as was supposedly done on Feb 14 1995.
2980 (yyparse): Calls changed accordingly.
2982 1996-05-11 Richard Stallman <rms@gnu.org>
2984 * Makefile.in (dist): Don't use $(srcdir).
2986 * bison.simple (__yy_memcpy):
2987 Really reorder the args, as was supposedly done on Feb 14 1995.
2988 (yyparse): Calls changed accordingly.
2990 1996-01-27 Richard Stallman <rms@gnu.org>
2992 * src/output.c (output_rule_data):
2993 Test YYERROR_VERBOSE in the conditional
2994 around the definition of ttyname.
2996 1995-12-29 Richard Stallman <rms@gnu.org>
2999 Fix line numbers in #line commands.
3001 1995-12-29 Richard Stallman <rms@gnu.org>
3004 Fix line numbers in #line commands.
3006 1995-12-27 Richard Stallman <rms@gnu.org>
3008 * src/bison.s1 (YYPARSE_PARAM_DECL):
3009 In C++, make it always null.
3010 (YYPARSE_PARAM_ARG): New macro.
3011 (yyparse): Use YYPARSE_PARAM_ARG.
3013 1995-12-27 Richard Stallman <rms@gnu.org>
3015 * bison.simple (YYPARSE_PARAM_DECL):
3016 In C++, make it always null.
3017 (YYPARSE_PARAM_ARG): New macro.
3018 (yyparse): Use YYPARSE_PARAM_ARG.
3020 1995-11-29 Richard Stallman <rms@gnu.org>
3022 * doc/bison.texinfo:
3023 Describe literal string tokens, %raw, %no_lines, %token_table.
3025 1995-11-29 Daniel Hagerty <hag@gnu.org>
3027 * doc/bison.texinfo: Fixed update date
3029 1995-10-16 Richard Stallman <rms@gnu.org>
3031 * src/version.c: Version 1.25.
3033 1995-10-16 Richard Stallman <rms@gnu.org>
3035 * NEWS: *** empty log message ***
3037 1995-10-16 Richard Stallman <rms@gnu.org>
3039 * doc/bison.1, doc/bison.rnh:
3042 1995-10-15 Richard Stallman <rms@gnu.org>
3044 * src/vmsgetargs.c, src/getargs.c:
3045 Added -n, -k, and -raw switches.
3046 (noparserflag, toknumflag, rawtoknumflag): New variables.
3048 * src/symtab.h (SALIAS):
3049 New #define for adding aliases to %token.
3050 (struct bucket): Added `alias' field.
3052 * src/reduce.c (reduce_grammar):
3053 Revise error message.
3054 (print_notices): Remove final `.' from error message.
3056 * src/reader.c (reader_output_yylsp):
3058 (readgram): Use `#if 0' around code that accepted %command
3059 inside grammar rules: The documentation doesn't allow it,
3060 and it will fail since the %command processors scan for the next %.
3061 (parse_token_decl): Extended the %token
3062 declaration to allow a multi-character symbol as an alias.
3063 (parse_thong_decl): New function.
3064 (read_declarations): Added %thong declarations.
3065 (read_declarations): Handle NOOP to deal with allowing
3066 % declarations as another means to specify the flags.
3067 (readgram): Allow %prec prior to semantics embedded in a rule.
3068 (skip_to_char, read_declarations, copy_definition)
3069 (parse_token_decl, parse_start_decl, parse_type_decl)
3070 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3071 (get_type_name, copy_guard, copy_action, readgram)
3072 (get_type, packsymbols): Revised most error messages.
3073 Changed `fatal' to `warnxxx' to avoid aborting for error.
3074 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3075 (read_declarations): Improve the error message for
3076 an invalid character. Do not abort.
3077 (read_declarations, copy_guard, copy_action): Use
3078 printable_version to avoid unprintable characters in printed output.
3079 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3080 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3081 Allow the type of a non-terminal can be given
3082 more than once, as long as all specifications give the same type.
3085 (output_headers, output_trailers, output, output_gram)
3086 (output_rule_data): Implement noparserflag variable.
3087 Implement toknumflag variable.
3088 (output): Call reader_output_yylsp to output LTYPESTR.
3090 * src/main.c (main):
3091 If reader sees an error, don't process the grammar.
3092 (fatals): Updated to not use VARARGS1.
3093 (printable_version, int_to_string, warn, warni, warns, warnss)
3094 (warnsss): New error reporting functions. Avoid abort for error.
3097 Added THONG and NOOP for alias processing.
3098 Added SETOPT for the new code that allows setting options with %flags.
3101 Include getopt.h. Add some extern decls.
3102 (safegetc): New function to deal with EOF gracefully.
3103 (literalchar); new function to deal with reading \ escapes.
3104 (lex): Use literalchar.
3105 (lex): Implemented "..." tokens.
3106 (literalchar, lex, parse_percent_token): Made tokenbuffer
3107 always contain the token. This includes growing the token
3108 buffer while reading an integer.
3109 (parse_percent_token): Replaced if-else statement with percent_table.
3110 (parse_percent_token): Added % declarations as another
3111 way to specify the flags -n, -l, and -r. Also added hooks for
3112 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3113 major changes to files.c.
3114 (lex) Retain in the incoming stream a character following
3116 (skip_white_space, lex): Revised most error messages
3117 and changed fatal to warn to avoid aborting.
3118 (percent_table): Added %thong declarations.
3120 * src/gram.h: Comment changes.
3122 * src/files.c (openfiles, open_extra_files, done):
3124 and actfile file. Handle noparserflag. Both for -n switch.
3126 * src/conflicts.c (resolve_sr_conflict):
3127 Remove use of alloca.
3129 1995-06-01 Jim Meyering <meyering@gnu.org>
3131 * doc/bison.texinfo: *** empty log message ***
3133 1995-05-06 Richard Stallman <rms@gnu.org>
3135 * src/bison.s1: Comment change.
3137 1995-05-06 Richard Stallman <rms@gnu.org>
3139 * bison.simple: Comment change.
3141 1995-05-03 Richard Stallman <rms@gnu.org>
3143 * src/version.c: Version now 1.24.
3145 * src/bison.s1: Change distribution terms.
3147 * src/version.c: Version now 1.23.
3149 1995-05-03 Richard Stallman <rms@gnu.org>
3151 * doc/bison.texinfo:
3152 Rewrite "Conditions for Using Bison".
3153 Update version to 1.24.
3155 1995-05-03 Richard Stallman <rms@gnu.org>
3157 * bison.simple: Change distribution terms.
3159 1995-02-23 Richard Stallman <rms@gnu.org>
3161 * src/files.c: Test __VMS_POSIX as well as VMS.
3163 1995-02-14 Jim Meyering <meyering@gnu.org>
3165 * src/bison.s1 (__yy_memcpy):
3166 Renamed from __yy_bcopy to avoid
3167 confusion. Reverse FROM and TO arguments to be consistent with
3170 1995-02-14 Jim Meyering <meyering@gnu.org>
3172 * bison.simple (__yy_memcpy):
3173 Renamed from __yy_bcopy to avoid
3174 confusion. Reverse FROM and TO arguments to be consistent with
3177 1994-11-10 David J. MacKenzie <djm@gnu.org>
3183 * Makefile.in (DISTFILES): Include NEWS.
3185 * Makefile.in (DISTFILES):
3186 Include install-sh, not install.sh.
3188 * configure.in: Update to Autoconf v2 macro names.
3190 1994-10-05 David J. MacKenzie <djm@gnu.org>
3192 * Makefile.in: fix typo
3194 * Makefile.in (prefix, exec_prefix):
3195 Let configure set them.
3197 1994-09-28 David J. MacKenzie <djm@gnu.org>
3199 * Makefile.in: Set datadir to $(prefix)/share.
3201 1994-09-15 Richard Stallman <rms@gnu.org>
3204 Update copyright notice and GPL version.
3206 1994-09-15 Richard Stallman <rms@gnu.org>
3209 Update copyright notice and GPL version.
3211 1994-07-12 Richard Stallman <rms@gnu.org>
3213 * src/reduce.c, src/reader.c:
3216 1994-05-05 David J. MacKenzie <djm@gnu.org>
3218 * Makefile.in: entered into RCS
3220 1994-03-26 Richard Stallman <rms@gnu.org>
3222 * src/bison.s1: entered into RCS
3224 1994-03-26 Richard Stallman <rms@gnu.org>
3226 * bison.simple: entered into RCS
3228 1994-03-25 Richard Stallman <rms@gnu.org>
3230 * src/main.c: entered into RCS
3232 1994-03-24 Richard Stallman <rms@gnu.org>
3234 * src/conflicts.c: entered into RCS
3236 1994-01-02 Richard Stallman <rms@gnu.org>
3238 * Makefile.in: *** empty log message ***
3240 1993-11-21 Richard Stallman <rms@gnu.org>
3242 * src/bison.s1: *** empty log message ***
3244 1993-11-21 Richard Stallman <rms@gnu.org>
3246 * doc/bison.texinfo: entered into RCS
3248 * doc/bison.texinfo: *** empty log message ***
3250 1993-11-21 Richard Stallman <rms@gnu.org>
3252 * bison.simple: *** empty log message ***
3254 1993-10-25 David J. MacKenzie <djm@gnu.org>
3256 * doc/bison.texinfo: *** empty log message ***
3258 1993-10-19 Richard Stallman <rms@gnu.org>
3260 * src/bison.s1: *** empty log message ***
3262 1993-10-19 Richard Stallman <rms@gnu.org>
3264 * bison.simple: *** empty log message ***
3266 1993-10-14 Richard Stallman <rms@gnu.org>
3268 * src/bison.s1: *** empty log message ***
3270 1993-10-14 Richard Stallman <rms@gnu.org>
3272 * bison.simple: *** empty log message ***
3274 1993-09-14 David J. MacKenzie <djm@gnu.org>
3276 * doc/bison.texinfo: *** empty log message ***
3278 1993-09-13 Noah Friedman <friedman@gnu.org>
3280 * Makefile.in: *** empty log message ***
3282 1993-09-10 Richard Stallman <rms@gnu.org>
3284 * src/conflicts.c: *** empty log message ***
3286 * src/system.h: entered into RCS
3288 1993-09-10 Richard Stallman <rms@gnu.org>
3290 * doc/bison.1: entered into RCS
3292 1993-09-06 Noah Friedman <friedman@gnu.org>
3294 * src/version.c: entered into RCS
3296 1993-09-06 Noah Friedman <friedman@gnu.org>
3298 * Makefile.in: *** empty log message ***
3300 1993-07-30 David J. MacKenzie <djm@gnu.org>
3302 * Makefile.in: *** empty log message ***
3304 1993-07-24 Richard Stallman <rms@gnu.org>
3306 * src/bison.s1: *** empty log message ***
3308 1993-07-24 Richard Stallman <rms@gnu.org>
3310 * bison.simple: *** empty log message ***
3312 1993-07-08 David J. MacKenzie <djm@gnu.org>
3314 * Makefile.in: *** empty log message ***
3316 1993-07-04 Richard Stallman <rms@gnu.org>
3318 * src/bison.s1: *** empty log message ***
3320 1993-07-04 Richard Stallman <rms@gnu.org>
3322 * bison.simple: *** empty log message ***
3324 1993-06-26 David J. MacKenzie <djm@gnu.org>
3326 * src/getargs.c: entered into RCS
3328 1993-06-26 David J. MacKenzie <djm@gnu.org>
3330 * doc/bison.texinfo: *** empty log message ***
3332 * doc/bison.1: New file.
3334 1993-06-25 Richard Stallman <rms@gnu.org>
3336 * src/getargs.c: New file.
3338 1993-06-16 Richard Stallman <rms@gnu.org>
3340 * src/bison.s1: *** empty log message ***
3342 1993-06-16 Richard Stallman <rms@gnu.org>
3344 * bison.simple: *** empty log message ***
3346 1993-06-03 Richard Stallman <rms@gnu.org>
3348 * src/bison.s1: New file.
3350 1993-06-03 Richard Stallman <rms@gnu.org>
3352 * doc/bison.texinfo: *** empty log message ***
3354 1993-06-03 Richard Stallman <rms@gnu.org>
3356 * bison.simple: New file.
3358 1993-05-19 Richard Stallman <rms@gnu.org>
3360 * doc/bison.texinfo: New file.
3362 1993-05-07 Noah Friedman <friedman@gnu.org>
3364 * Makefile.in: *** empty log message ***
3366 1993-04-28 Noah Friedman <friedman@gnu.org>
3368 * src/reader.c: *** empty log message ***
3370 1993-04-23 Noah Friedman <friedman@gnu.org>
3372 * src/alloc.h: entered into RCS
3374 1993-04-20 David J. MacKenzie <djm@gnu.org>
3376 * src/version.c: *** empty log message ***
3378 * src/files.c, src/allocate.c:
3381 * src/reader.c: *** empty log message ***
3383 * src/lex.c: entered into RCS
3385 * src/conflicts.c: New file.
3387 * src/symtab.c: entered into RCS
3389 * src/alloc.h: New file.
3391 * src/LR0.c: entered into RCS
3393 1993-04-18 Noah Friedman <friedman@gnu.org>
3395 * src/reader.c: New file.
3397 * src/version.c: *** empty log message ***
3399 1993-04-18 Noah Friedman <friedman@gnu.org>
3401 * Makefile.in: *** empty log message ***
3403 1993-04-17 Noah Friedman <friedman@gnu.org>
3405 * Makefile.in: *** empty log message ***
3407 1993-04-15 Richard Stallman <rms@gnu.org>
3409 * src/main.c, src/files.c:
3412 1993-04-15 Noah Friedman <friedman@gnu.org>
3414 * configure.in: entered into RCS
3416 * configure.in: *** empty log message ***
3418 * configure.in: New file.
3420 1993-04-14 Richard Stallman <rms@gnu.org>
3422 * Makefile.in: New file.
3424 1993-04-13 Richard Stallman <rms@gnu.org>
3426 * src/version.c: New file.
3428 1993-03-25 Richard Stallman <rms@gnu.org>
3430 * src/output.c: entered into RCS
3432 1992-09-25 Richard Stallman <rms@gnu.org>
3434 * configure.bat: entered into RCS
3436 1992-06-22 Richard Stallman <rms@gnu.org>
3438 * src/vmsgetargs.c: entered into RCS
3440 1992-06-22 Richard Stallman <rms@gnu.org>
3442 * doc/bison.rnh: entered into RCS
3444 1992-04-20 David J. MacKenzie <djm@gnu.org>
3446 * README: entered into RCS
3448 1992-01-22 Richard Stallman <rms@gnu.org>
3450 * src/machine.h: entered into RCS
3452 1991-12-21 Richard Stallman <rms@gnu.org>
3454 * src/lalr.c, src/closure.c:
3457 1991-12-20 Richard Stallman <rms@gnu.org>
3459 * src/state.h: entered into RCS
3461 1991-12-18 Richard Stallman <rms@gnu.org>
3463 * src/print.c, src/nullable.c, src/derives.c:
3466 1991-11-03 David J. MacKenzie <djm@gnu.org>
3468 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3471 1988-09-09 Richard Stallman <rms@gnu.org>
3473 * src/bison.hairy: entered into RCS
3475 1987-12-16 Richard Stallman <rms@gnu.org>
3477 * REFERENCES: entered into RCS