1 2001-11-19 Akim Demaille <akim@epita.fr>
3 * src/getargs.c (statistics_flag): Replace with...
5 (longopts): Accept --trace instead of --statistics.
6 * src/getargs.h, src/options.c: Adjust.
7 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
8 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
10 2001-11-19 Akim Demaille <akim@epita.fr>
12 * src/LR0.c (new_itemsets, get_state): Use more arrays and less
13 pointers to clarify the code.
14 (save_reductions, save_shifts): Factor common parts of alternatives.
16 2001-11-19 Akim Demaille <akim@epita.fr>
18 * src/LR0.c (new_state, get_state): Complete TRACE code.
19 * src/closure.c: Include `reader.h' to get `tags', needed by the
21 Rename the conditional DEBUG as TRACE.
22 Output consistently TRACEs to stderr, not stdout.
23 * src/derives.c: Likewise.
24 * src/reduce.c: (inaccessable_symbols): Using if is better style
26 Use `#if TRACE' instead of `#if 0' for tracing code.
28 2001-11-19 Akim Demaille <akim@epita.fr>
30 * src/system.h (LIST_FREE, shortcpy): New.
31 * src/LR0.c: Use them.
32 * src/output.c (free_itemsets, free_reductions, free_shifts):
33 Remove, replaced by LIST_FREE.
36 2001-11-19 Akim Demaille <akim@epita.fr>
38 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
39 (REDUCTIONS_ALLOC): New.
40 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
44 2001-11-19 Akim Demaille <akim@epita.fr>
46 * src/LR0.c (new_state): Complete trace code.
47 * src/nullable.c (set_nullable): Don't translate traces.
50 2001-11-19 Akim Demaille <akim@epita.fr>
52 * src/print_graph.c (print_core): Better locality of variables.
53 * src/print.c (print_core): Likewise.
55 2001-11-19 Akim Demaille <akim@epita.fr>
57 * src/vcg.c: You do the output, so you are responsible of the
58 handling of VCG syntax, in particular: use quotearg.
59 * src/print_graph.c: Don't.
60 (print_actions): Don't output the actions as part of the nodes,
61 since that's the job of the edges.
62 (print_state): Don't output by hand: fill the node description,
63 and ask for its output.
65 2001-11-19 Akim Demaille <akim@epita.fr>
67 * src/bison.simple (yyparse): When reporting verbosely an error,
68 no longer issue additional quotes around token names.
69 * tests/calc.at: Adjust.
71 2001-11-19 Akim Demaille <akim@epita.fr>
73 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
74 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
75 * src/output.c: Adjust.
78 2001-11-19 Akim Demaille <akim@epita.fr>
80 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
82 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
84 2001-11-19 Akim Demaille <akim@epita.fr>
86 * src/gram.h (rule_t): New.
88 (rrhs, rlhs): Remove, part of state_t.
89 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
90 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
91 * src/reader.c, src/reduce.c: Adjust.
94 2001-11-19 Akim Demaille <akim@epita.fr>
96 * src/reader.c (symbols_output): New, extracted from...
100 2001-11-19 Akim Demaille <akim@epita.fr>
102 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
103 (maxrhs): this new function.
105 2001-11-19 Akim Demaille <akim@epita.fr>
107 * src/lalr.c (F): New macro to access to the variable F.
110 2001-11-19 Akim Demaille <akim@epita.fr>
112 * src/lalr.h (LA): New macro to access to the variable LA.
113 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
114 * src/lalr.c: Adjust.
116 2001-11-19 Akim Demaille <akim@epita.fr>
118 * src/lalr.c (initialize_LA): Only initialize LA. Let...
119 (set_state_table): handle the `lookaheads' members.
122 2001-11-19 Akim Demaille <akim@epita.fr>
124 * src/lalr.h (lookaheads): Removed array, which contents is now
126 (state_t): this structure.
127 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
130 2001-11-19 Akim Demaille <akim@epita.fr>
132 * src/lalr.h (consistent): Removed array, which contents is now
134 (state_t): this structure.
135 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
138 2001-11-19 Akim Demaille <akim@epita.fr>
140 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
141 contents is now members of...
142 (state_t): this structure.
143 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
147 2001-11-19 Akim Demaille <akim@epita.fr>
149 * src/lalr.h (state_t): New.
150 (state_table): Be a state_t * instead of a core **.
151 (accessing_symbol): Remove, part of state_t.
152 * src/lalr.c: Adjust.
153 (set_accessing_symbol): Merge into...
154 (set_state_table): this.
155 * src/print_graph.c, src/conflicts.c: Adjust.
157 2001-11-14 Akim Demaille <akim@epita.fr>
159 * tests/calc.at, tests/output.at, tests/regression.at,
160 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
161 now the tests are run in private dirs, therefore AC_CLEANUP and
162 family can be simplified to 0-ary.
163 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
164 use abs. path to find config.h.
165 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
166 stderr, there can be way too much random noise.
167 Instead pass -Werror to GCC and rely on the exit status.
168 Reported by Wolfram Wagner.
170 2001-11-14 Akim Demaille <akim@epita.fr>
172 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
173 defined only if yyoverflow is defined, to avoid `warning: unused
175 Reported by The Test Suite.
177 2001-11-14 Akim Demaille <akim@epita.fr>
179 * src/print.c: Include reduce.h.
180 Reported by Hans Aberg.
182 2001-11-14 Akim Demaille <akim@epita.fr>
184 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
185 Revert a previous patch: these are really const.
186 * src/conflicts.c (conflict_report): Additional useless pair of
187 braces to pacify GCC's warnings for `if () if () {} else {}'.
188 * src/lex.c (parse_percent_token): Replace equal_offset with
191 Be sure to strdup `arg' when used, since there is no reason for
192 token_buffer not to change.
194 2001-11-14 Akim Demaille <akim@epita.fr>
196 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
198 * src/main.c (main): Use them.
199 Suggested by Hans Aberg.
201 2001-11-12 Akim Demaille <akim@epita.fr>
203 * src/system.h (ngettext): Now that we use ngettext, be sure to
204 provide a default definition when NLS are not used.
206 2001-11-12 Akim Demaille <akim@epita.fr>
208 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
209 Use @kbd to denote user input.
210 (Language and Grammar): ANSIfy the example.
211 Adjust its layout for info/notinfo.
212 (Location Tracking Calc): Output error messages to stderr.
213 Output locations in a more GNUtically correct way.
214 Fix a couple of Englishos.
215 Adjust @group/@end group pairs.
217 2001-11-12 Akim Demaille <akim@epita.fr>
219 %expext was not functioning at all.
221 * src/conflicts.c (expected_conflicts): Set to -1.
222 (conflict_report): Use ngettext.
223 (conflicts_print): Check %expect and make its violation an error.
224 * doc/bison.texinfo (Expect Decl): Adjust.
225 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
226 * tests/regression.at (%expect not enough, %expect right)
227 (%expect too much): New.
229 2001-11-12 Akim Demaille <akim@epita.fr>
231 * tests/regression.at (Conflicts): Rename as...
232 (Unresolved SR Conflicts): this.
233 (Solved SR Conflicts): New.
235 2001-11-12 Akim Demaille <akim@epita.fr>
237 * src/reduce.c (print_results): Rename as...
238 (reduce_output): This.
239 Output to OUT, passed as argument, instead of output_obstack.
240 (dump_grammar): Likewise.
243 (reduce_grammar): No longer call reduce_output, since...
244 * src/print.c (print_results): do it.
245 * src/main.c (main): Call reduce_free;
247 2001-11-12 Akim Demaille <akim@epita.fr>
249 * src/conflicts.c (print_reductions): Accept OUT as argument.
250 Output to it, not to output_obstack.
251 * src/print.c (print_actions): Adjust.
253 2001-11-12 Akim Demaille <akim@epita.fr>
255 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
256 the result instead of using...
257 (src_total, rrc_total, src_count, rrc_count): Remove.
258 (any_conflicts): Remove.
259 (print_conflicts): Split into...
260 (conflicts_print, conflicts_output): New.
261 * src/conflicts.h: Adjust.
262 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
263 * src/print.c (print_grammar): Issue `\n' between two rules.
264 * tests/regression.at (Conflicts): New.
265 Reported by Tom Lane.
267 2001-11-12 Akim Demaille <akim@epita.fr>
269 * tests/regression.at (Invalid input): Remove, duplicate with
270 ``Invalid input: 1''.
272 2001-11-12 Akim Demaille <akim@epita.fr>
274 * tests/torture.at (AT_DATA_STACK_TORTURE)
275 (Exploding the Stack Size with Alloca)
276 (Exploding the Stack Size with Malloc): New.
278 2001-11-12 Akim Demaille <akim@epita.fr>
280 * src/bison.simple (YYSTACK_REALLOC): New.
281 (yyparse) [!yyoverflow]: Use it and free the old stack.
282 Reported by Per Allansson.
284 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
286 * src/bison.simple: Define type yystype instead of YYSTYPE, and
287 define CPP macro, which substitute YYSTYPE by yystype.
288 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
289 with yyltype/YYLTYPE. This allows inclusion of the generated
290 header within the parser if the compiler, such as GGC, accepts
291 multiple equivalent #defines.
294 2001-11-05 Akim Demaille <akim@epita.fr>
296 * src/reader.c (symbols_output): New, extracted from...
300 2001-11-05 Akim Demaille <akim@epita.fr>
302 * src/lex.c (parse_percent_token): s/quotearg/quote/.
304 2001-11-05 Akim Demaille <akim@epita.fr>
306 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
309 2001-11-05 Akim Demaille <akim@epita.fr>
311 * src/options.h (struct option_table_struct): set_flags is void*.
312 * src/options.c (longopts): Support `--output' and `%output'.
314 * src/lex.h (tok_setopt): Remove, replaced with...
315 (tok_intopt, tok_stropt): these new guys.
316 * src/lex.c (getopt.h): Not needed.
317 (token_buffer, unlexed_token_buffer): Not const.
318 (percent_table): Promote `-' over `_' in directive names.
319 Active `%name-prefix', `file-prefix', and `output'.
320 (parse_percent_token): Accept possible arguments to directives.
321 Promote `-' over `_' in directive names.
323 2001-11-04 Akim Demaille <akim@epita.fr>
325 * doc/bison.texinfo (Decl Summary): Split the list into
326 `directives for grammars' and `directives for bison'.
328 Add description of `%name-prefix', `file-prefix', and `output'.
329 Promote `-' over `_' in directive names.
330 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
331 Simplify the description of `--name-prefix'.
332 Promote `-' over `_' in directive names.
333 Promote `--output' over `--output-file'.
334 Fix the description of `--defines'.
335 * tests/output.at: Exercise %file-prefix and %output.
337 2001-11-02 Akim Demaille <akim@epita.fr>
339 * doc/refcard.tex: Update.
341 2001-11-02 Akim Demaille <akim@epita.fr>
343 * src/symtab.h (SUNDEF): New.
344 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
345 stand for `uninitialized', instead of 0.
346 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
347 * src/lex.c (lex): Adjust.
349 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
351 Let yylex return it instead of a plain 0.
352 Reported by Dick Streefland.
354 2001-11-02 Akim Demaille <akim@epita.fr>
356 * tests/regression.at (Mixing %token styles): New test.
358 2001-11-02 Akim Demaille <akim@epita.fr>
360 * src/reader.c (parse_thong_decl): Formatting changes.
361 (token_translations_init): New, extracted from...
365 2001-11-01 Akim Demaille <akim@epita.fr>
367 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
368 Check that `9foo.y' produces correct cpp guards.
369 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
373 2001-11-01 Akim Demaille <akim@epita.fr>
375 * tests/regression.at (Invalid input: 2): New.
376 * src/lex.c (unlexed_token_buffer): New.
377 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
381 2001-11-01 Akim Demaille <akim@epita.fr>
383 * tests/calc.at: Catch up with 1.30.
384 * configure.in: Bump to 1.49a.
385 Adjust to newer Autotest.
387 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
389 * src/conflicts.c: Move global variables rrc_total and src_total ...
390 (print_conflicts): here.
391 * src/output.c (output): Free global variable user_toknums.
392 * src/lex.c (token_obstack): Become static.
394 2001-10-18 Akim Demaille <akim@epita.fr>
396 * tests/atlocal.in (GCC): Add.
397 * tests/calc.at: s/m4_match/m4_bmatch/.
398 s/m4_patsubst/m4_bpatsubst/.
399 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
400 * configure.in: AC_SUBST(GCC).
402 2001-10-14 Marc Autret <autret_m@epita.fr>
404 * src/options.c (create_long_option_table): Fix.
406 2001-10-10 Akim Demaille <akim@epita.fr>
408 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
410 2001-10-04 Akim Demaille <akim@epita.fr>
412 * src/reader.c (parse_union_decl): Push the caracters in
413 union_obstack, not attrs_obstack.
415 2001-10-04 Akim Demaille <akim@epita.fr>
417 Merge in the branch 1.29.
419 * src/reader.c (packsymbols): Use a temporary obstack for
420 `%%tokendef', since output_stack is already used elsewhere.
422 2001-10-02 Akim Demaille <akim@epita.fr>
426 2001-10-02 Akim Demaille <akim@epita.fr>
430 2001-10-02 Akim Demaille <akim@epita.fr>
432 * tests/regression.at (Invalid CPP headers): New.
433 From Alexander Belopolsky.
434 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
436 2001-10-02 Akim Demaille <akim@epita.fr>
438 * tests/regression.at (Invalid input): New.
439 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
442 2001-10-02 Akim Demaille <akim@epita.fr>
444 * tests/calc.at: Now that --debug works, the tests must be adjusted.
446 2001-10-02 Akim Demaille <akim@epita.fr>
448 * src/output.c (output_parser): Assert `skeleton'.
449 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
453 2001-10-01 Marc Autret <autret_m@epita.fr>
455 * src/lex.h: Echo modifications.
456 * src/lex.c (unlex): Parameter is now token_t.
459 2001-10-01 Marc Autret <autret_m@epita.fr>
461 * src/main.c: Include lex.h.
464 2001-09-29 Akim Demaille <akim@epita.fr>
466 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
468 2001-09-28 Akim Demaille <akim@epita.fr>
470 * tests/testsuite.at: Update to newer Autotest.
471 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
473 2001-09-27 Akim Demaille <akim@epita.fr>
475 Position independent wrapper.
477 * tests/bison: Remove.
478 * tests/bison.in: New.
479 * configure.in: Adjust.
481 2001-09-27 Paul Eggert <eggert@twinsun.com>
483 Port quotearg fixes from tar 1.13.24.
485 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
487 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
488 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
490 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
491 * m4/mbrtowc.m4: New file.
492 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
493 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
495 2001-09-27 Akim Demaille <akim@epita.fr>
499 2001-09-27 Akim Demaille <akim@epita.fr>
503 2001-09-25 Akim Demaille <akim@epita.fr>
505 * src/system.h: Include `xalloc.h'.
506 Remove it from the C files.
507 * src/files.c (output_files): Free the obstacks.
508 * src/lex.c (init_lex): Rename as...
511 * src/main.c (main): Use it.
513 2001-09-24 Marc Autret <autret_m@epita.fr>
515 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
516 to output informations in fout (FILE*).
517 (open_graph, close_graph): Likewise.
518 (output_graph, output_edge, output_node): Likewise.
519 * src/vcg.h: Update function prototypes.
520 * src/print_graph.c (print_graph): Open output graph file.
521 (print_actions): Adjust.
522 * src/files.h: Remove extern declaration.
523 * src/files.c: Remove graph_obstack declaration.
524 (open_files): Remove graph_obstack initialization.
525 (output_files): Remove graph_obstack saving.
527 2001-09-24 Marc Autret <autret_m@epita.fr>
529 * src/files.c (compute_output_file_names): Fix.
531 2001-09-24 Marc Autret <autret_m@epita.fr>,
532 Akim Demaille <akim@epita.fr>
534 * src/reader.c (reader): Remove call to free_symtab ().
535 * src/main.c (main): Call it here.
537 * src/conflicts.c (initialize_conflicts): Rename as...
538 (solve_conflicts): this.
539 * src/print.c (print_core, print_actions, print_state)
540 (print_grammar): Dump to a file instead a `output_obstack'.
541 (print_results): Dump `output_obstack', and then proceed with the
543 * src/files.c (compute_output_file_names, close_files): New.
544 (output_files): Adjust.
545 * src/main.c (main): Adjust.
547 2001-09-23 Marc Autret <autret_m@epita.fr>
549 * src/files.c (compute_header_macro): Computes header macro name
550 from spec_defines_file when given.
552 2001-09-23 Marc Autret <autret_m@epita.fr>
554 * src/files.c (output_files): Add default extensions.
556 2001-09-22 Akim Demaille <akim@epita.fr>
558 * src/conflicts.c (finalize_conflicts): Rename as...
559 (free_conflicts): this.
561 2001-09-22 Akim Demaille <akim@epita.fr>
563 * src/gram.c (gram_free): Rename back as...
565 (output_token_translations): Free `token_translations'.
566 * src/symtab.c (free_symtab): Free the tag field.
568 2001-09-22 Akim Demaille <akim@epita.fr>
570 Remove `translations' as it is always set to true.
572 * src/gram.h: Adjust.
573 * src/reader.c (packsymbols, parse_token_decl): Adjust
574 * src/print.c (print_grammar): Adjust.
575 * src/output.c (output_token_translations): Adjust.
576 * src/lex.c (lex): Adjust.
577 * src/gram.c: Be sure the set pointers to NULL.
578 (dummy): Rename as...
581 2001-09-22 Akim Demaille <akim@epita.fr>
583 * configure.in: Invoke AM_LIB_DMALLOC.
584 * src/system.h: Use dmalloc.
585 * src/LR0.c: Be sure to have pointers initialized to NULL.
586 (allocate_itemsets): Allocate kernel_items only if needed.
588 2001-09-22 Akim Demaille <akim@epita.fr>
590 * configure.in: Bump to 1.29b.
591 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
592 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
593 need xmalloc.c in calc.y.
596 2001-09-21 Akim Demaille <akim@epita.fr>
599 * Makefile.maint, config/config.guess, config/config.sub,
600 * config/missing: Update from masters.
601 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
603 * configure.in (ALL_LINGUAS): Add `tr'.
605 2001-09-21 Akim Demaille <akim@epita.fr>
607 * tests/Makefile.am (package.m4): Move to...
608 ($(srcdir)/$(TESTSUITE)): here.
610 2001-09-20 Akim Demaille <akim@epita.fr>
612 * src/complain.c: No longer try to be standalone: use system.h.
613 Don't assume __STDC__ is defined to 1. Just test if it is defined.
614 * src/complain.h: Likewise.
615 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
616 Remove the unused variable `n'.
617 From Albert Chin-A-Young.
619 2001-09-18 Marc Autret <autret_m@epita.fr>
621 * doc/bison.1: Update.
622 * doc/bison.texinfo (Bison Options): Update --defines and --graph
624 (Option Cross Key): Update.
627 2001-09-18 Marc Autret <autret_m@epita.fr>
629 * tests/regression.at: New test (comment in %union).
631 2001-09-18 Marc Autret <autret_m@epita.fr>
633 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
635 Reported by Keith Browne.
637 2001-09-18 Marc Autret <autret_m@epita.fr>
639 * tests/output.at: Add tests for --defines and --graph.
641 2001-09-18 Marc Autret <autret_m@epita.fr>
643 * tests/output.at: Removes tests of %{header,src}_extension features.
645 2001-09-18 Akim Demaille <akim@epita.fr>
647 * tests/Makefile.am (package.m4): New.
648 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
649 (_AT_CHECK_CALC_ERROR): Likewise.
650 Factor the `, ' part of verbose error messages.
652 2001-09-18 Marc Autret <autret_m@epita.fr>
654 * src/getargs.c (longopts): Declare --defines and --graph as options
655 with optional arguments.
656 * src/files.h: Add extern declarations.
657 * src/files.c (spec_graph_file, spec_defines_file): New.
658 (output_files): Update.
659 Remove CPP-outed code.
661 2001-09-18 Marc Autret <autret_m@epita.fr>
663 Turn off %{source,header}_extension feature.
665 * src/files.c (compute_exts_from_gf): Update.
666 (compute_exts_from_src): Update.
667 (output_files): CPP-out useless code.
668 * src/files.h: Remove {header,source}_extension extern declarations.
669 * src/reader.c (parse_dquoted_param): CPP-out.
670 (parse_header_extension_decl): Remove.
671 (parse_source_extension_decl): Remove.
672 (read_declarations): Remove cases tok_{hdrext,srcext}.
673 * src/lex.c (percent_table): Remove {header,source}_extension entries.
674 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
676 2001-09-10 Akim Demaille <akim@epita.fr>
678 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
679 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
680 (AT_CHECK_OUTPUT): this.
681 Merely check ls' exit status, its output is useless.
683 2001-09-10 Akim Demaille <akim@epita.fr>
685 * tests/calc.at: Use m4_match.
686 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
688 2001-09-10 Marc Autret <autret_m@epita.fr>,
689 Akim Demaille <akim@epita.fr>
691 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
693 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
695 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
696 * src/lex.h: Adjust prototype.
697 (token_t): Add `tok_undef'.
698 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
699 (parse_percent_token): Now returns token_t.
700 Add default statement in switch.
701 (lex): Separate `c' as an input variable, from the token_t result
703 (unlexed): Is a token_t.
705 2001-09-10 Akim Demaille <akim@epita.fr>
707 * configure.in: Bump to 1.29a.
709 2001-09-07 Akim Demaille <akim@epita.fr>
713 2001-08-30 Akim Demaille <akim@epita.fr>
715 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
716 * m4/atconfig.m4: Remove.
717 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
719 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
720 m4_if, m4_patsubst, and m4_regexp.
721 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
722 `input' file instead of echo.
724 2001-08-29 Akim Demaille <akim@epita.fr>
728 2001-08-29 Akim Demaille <akim@epita.fr>
732 2001-08-29 Paul Eggert <eggert@twinsun.com>
734 * src/bison.simple (yyparse): Don't take the address of an
735 item before the start of an array, as that doesn't conform to
738 2001-08-29 Robert Anisko <anisko_r@epita.fr>
740 * doc/bison.texinfo (Location Tracking Calc): New node.
742 2001-08-29 Paul Eggert <eggert@twinsun.com>
744 * src/output.c (output): Do not define const, as this now
745 causes more problems than it cures.
747 2001-08-29 Akim Demaille <akim@epita.fr>
749 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
751 Be sure to tag the `detailmenu'.
753 2001-08-29 Akim Demaille <akim@epita.fr>
755 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
756 download in a tmp dir.
758 2001-08-28 Marc Autret <autret_m@epita.fr>
760 * config/depcomp: New file.
762 2001-08-28 Marc Autret <autret_m@epita.fr>
764 * doc/bison.1 (mandoc): Adjust.
765 From Juan Manuel Guerrero.
767 2001-08-28 Marc Autret <autret_m@epita.fr>
769 * src/print_graph.c (print_state): Fix.
771 2001-08-27 Marc Autret <autret_m@epita.fr>
773 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
775 Echo modifications to the functions prototypes.
776 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
778 2001-08-27 Marc Autret <autret_m@epita.fr>
780 * src/vcg.c: Include `xalloc.h'.
781 (add_colorentry): New.
782 (add_classname): New.
784 * src/vcg.h: Add new prototypes.
786 2001-08-27 Akim Demaille <akim@epita.fr>
788 * Makefile.maint: Sync. again with CVS Autoconf.
790 2001-08-27 Akim Demaille <akim@epita.fr>
792 * Makefile.maint: Formatting changes.
793 (po-update, cvs-update, update): New targets.
796 2001-08-27 Akim Demaille <akim@epita.fr>
798 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
799 * Makefile.maint: Sync. with CVS Autoconf.
801 2001-08-27 Marc Autret <autret_m@epita.fr>
803 * src/vcg.h (struct infoname_s): New.
804 (struct colorentry_s): New.
805 (graph_s): New fields {vertical,horizontal}_order in structure.
806 Add `infoname' field.
807 Add `colorentry' field;
808 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
809 (G_HORIZONTAL_ORDER): New.
812 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
813 Add output of `infoname'.
814 Add output of `colorentry'.
816 2001-08-27 Marc Autret <autret_m@epita.fr>
818 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
819 This one shadowed a global parameter.
821 2001-08-24 Marc Autret <autret_m@epita.fr>
823 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
824 instead of `unsigned'.
825 (print_state): Do not call obstack_object_size () in obstack_grow ()
826 to avoid macro variables shadowing.
828 2001-08-23 Marc Autret <autret_m@epita.fr>
830 * src/lex.c (percent_table): Typo: s/naem/name/.
832 Normalize new options declarations.
834 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
836 * tests/suite.at: Exercise %header_extension and %source_extension.
838 2001-08-16 Marc Autret <autret_m@epita.fr>
840 * src/reader.c (parse_dquoted_param): New.
841 (parse_header_extension_decl): Use it.
842 (parse_source_extension_decl): Likewise.
844 2001-08-16 Marc Autret <autret_m@epita.fr>
846 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
847 (get_xxxx_str): Use assert () instead of complain ().
848 Remove return invokations in default cases.
849 (get_decision_str): Modify default behaviour. Remove second argument.
850 Echo modifications on calls.
853 2001-08-16 Marc Autret <autret_m@epita.fr>
855 * src/getargs.c (usage): Update with ``-g, --graph''.
857 2001-08-16 Marc Autret <autret_m@epita.fr>
859 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
860 (Option Cross Key): Likewise.
861 * doc/bison.1: Update.
863 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
865 * src/output.c (output_master_parser): Don't finish action_obstack.
866 (output_parser): Don't care about the muscle action, here.
867 (prepare): Copy the action_obstack in the action muscle.
868 (output): Free action_obstack.
870 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
872 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
873 will contain `%union' declaration.
874 (parse_union_decl): Delete #line directive output.
875 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
876 informations about %union.
877 (parse_union_decl): Copy the union_obstack in the muscle stype.
878 * src/bison.simple: Add new #line directive.
879 Add typdef %%stype YYSTYPE.
881 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
883 * src/bison.simple: Add new `#line' directive.
885 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
887 * src/bison.simple: New `#line' directive.
888 * src/output.c (output_parser): Support new dynamic muscle input_line.
890 2001-09-22 Marc Autret <autret_m@epita.fr>
892 * src/output.c (output_master_parser): New.
893 (output_parser): Be more re-entrant.
895 2001-09-21 Marc Autret <autret_m@epita.fr>
897 * src/reader.c (copy_definition, parse_union_decl): Update and use
899 (copy_action): Likewise.
900 Use obstack_1grow ().
901 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
903 2001-09-21 Marc Autret <autret_m@epita.fr>
905 * src/options.c (option_table): Adjust.
906 * src/lex.c (parse_percent_token): Fix.
908 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
910 * src/options.c (symtab.h): Include it, need by lex.h.
912 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
914 * src/lex.c (parse_percent_token): Change type of variable `tx', which
915 is now an option_table_struct*.
916 (option_strcmp): New function option_strcmp.
917 (parse_percent_token): Call option_strcmp.
918 * src/getargs.c (xalloc.h, options.h): Include it.
919 (getargs): Call create_long_option_table.
920 (getargs): Free longopts at the end of the function.
921 (shortopts): Move in options.c.
922 * src/options.c (create_long_option_table): New function. Convert
923 information from option_table to option structure.
924 * src/reader.c (options.h): Include it.
926 * src/Makefile.am: Adjust.
927 * src/options.c (option_table): Create from longopts and percent_table.
928 * src/getargs.c (longopts): Delete.
929 * src/lex.c (struct percent_table_struct): Delete.
930 (percent_table): Delete.
931 (options.h): Include it.
932 * src/options.c: Create.
933 * src/options.h: Create.
934 Declare enum opt_access_e.
935 Define struct option_table_struct.
937 2001-09-20 Marc Autret <autret_m@epita.fr>
939 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
942 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
944 * src/bison.simple: s/%%filename/%%skeleton.
945 * src/muscle_tab.c (getargs.h): Include it.
946 (muscle_init): Insert new muscle skeleton.
948 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
950 * src/output.c (output_parser): Delete unused variable actions_dumped.
952 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
954 * src/output.c (output): Delete call to reader_output_yylsp.
955 * src/reader.c (reader): Likewise.
956 * src/reader.h: Delete declaration of reader_output_yylsp.
958 2001-09-02 Marc Autret <autret_m@epita.fr>
960 * src/reader.c: Include muscle_tab.h.
961 (parse_union_decl): Update.
962 (parse_macro_decl): Rename parse_muscle_decl.
963 Update to use renamed functions and variable.
964 (read_declarations, copy_action, read_additionnal_code, : Updated
965 with correct variables and functions names.
966 (packsymbols, reader): Likewise.
968 * src/reader.h (muscle_obstack): Extern declaration update.
970 * src/output.c: Include muscle_tab.h
971 In all functions using macro_insert, change by using muscle_insert ().
972 (macro_obstack): Rename muscle_obstack.
973 Echo modifications in the whole file.
974 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
975 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
976 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
978 * src/muscle_tab.h: Update double inclusion macros.
979 (macro_entry_s): Rename muscle_entry_s.
982 * src/muscle_tab.c: Include muscle_tab.h.
983 Rename macro_tabble to muscle_table.
984 (mhash1, mhash2, mcmp): Use muscle_entry.
985 (macro_init): Rename muscle_init. Update.
986 (macro_insert): Rename muscle_insert. Update.
987 (macro_find): Rename muscle_find. Update.
989 * src/main.c: Include muscle_tab.h.
990 (main): Call muscle_init ().
991 * src/Makefile.am (bison_SOURCES): Echo modifications.
993 2001-09-02 Marc Autret <autret_m@epita.fr>
995 Now the files macro_tab.[ch] are named muscle_tab.[ch].
997 * src/muscle_tab.c, src/muscle_tab.h: Add files.
999 2001-09-02 Marc Autret <autret_m@epita.fr>
1001 * src/macrotab.c, src/macrotab.h: Remove.
1003 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
1005 * src/reader.c (copy_guard): Use muscle to specify the `#line'
1008 2001-09-01 Marc Autret <autret_m@epita.fr>
1010 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1011 to an explicit value to activate the feature. We do it here.
1013 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1015 * src/output.c (prepare): Delete the `filename' muscule insertion.
1016 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1017 (parse_union_decl): Likewise.
1018 * src/macrotab.c (macro_init): Initialize filename by infile.
1020 2001-08-31 Marc Autret <autret_m@epita.fr>
1022 * src/bison.simple (YYLSP_NEEDED): New definition.
1023 * src/output.c (prepare): Add macro insertion of `locations_flag'
1025 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1027 * src/output.c (prepare): Delete insertion of previous muscles,
1028 and insert the `prefix' muscles.
1029 * src/macrotab.c (macro_init): Likewise.
1030 (macro_init): Initialization prefix directive by `yy'.
1031 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
1032 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1033 yylval, yydebug, yyerror, yynerrs and yyparse.
1034 New directive `#define' to substitute yydebug, ... with option
1037 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1039 * src/main.c (main): Standardize.
1040 * src/output.c (output_table_data, output_parser): Likewise.
1041 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1043 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1045 * src/reader.c (read_additionnal_code): Rename %%user_code to
1047 * src/output.c (output): Rename %%declarations to %%prologue.
1048 * src/bison.simple: Echo modifications.
1050 2001-08-31 Marc Autret <autret_m@epita.fr>
1052 * src/reader.c (readgram): CleanUp.
1053 (output_token_defines): Likewise.
1054 (packsymbols): Likewise.
1056 * src/output.c (output): CPP-out useless code.
1058 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1060 * src/reader.c (reader): Delete obsolete call to function
1061 output_trailers and output_headers.
1062 * src/output.h: Remove obsolete functions prototypes of output_headers
1063 and output_trailers.
1065 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
1067 * src/main.c: Include macrotab.h.
1068 * src/macrotab.h (macro_entry_s): Constify fields.
1069 Adjust functions prototypes.
1070 * src/macrotab.c (macro_insert): Constify key and value.
1071 (macro_find): Constify key.
1072 (macro_insert): Include 'xalloc.h'
1073 (macro_insert): Use XMALLOC.
1074 (macro_find): Constify return value.
1075 * src/output.c (output_table_data): Rename table to table_data.
1076 (output_parser): Constify macro_key, macro_value.
1078 2001-08-30 Marc Autret <autret_m@epita.fr>
1080 * src/reader.c (parse_skel_decl): New.
1081 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
1082 * src/lex.h (token_t): New token `tok_skel'.
1083 * src/lex.c (percent_table): Add skeleton option entry.
1086 2001-08-29 Marc Autret <autret_m@epita.fr>
1088 * src/bison.simple: Add %%user_code directive at the end.
1089 * src/reader.c (read_additionnal_code): New.
1091 * src/output.c (output_program): Remove.
1094 2001-08-28 Marc Autret <autret_m@epita.fr>
1096 * src/output.c (output_actions): Clean up.
1097 (output_gram): CPP-out useless code.
1098 * src/reader.c (reader): Clean up, CPP-out useless code.
1100 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1102 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1104 * src/bison.simple: Add `%%definitions'.
1106 2001-08-28 Marc Autret <autret_m@epita.fr>
1108 * config/depcomp: New file.
1110 2001-08-27 Paul Eggert <eggert@twinsun.com>
1112 * src/bison.simple (yyparse): Don't take the address of an
1113 item before the start of an array, as that doesn't conform to
1116 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1118 * src/output.c (output): Remove the initialization of the macro
1119 obstack. It was done too late here.
1121 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1123 (reader): Initialize the macro obstack here, since we need it to grow
1124 '%define' directives.
1126 * src/reader.h: Declare the macro obstack as extern.
1128 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1130 * src/output.c (output_parser): Fix. Store single '%' characters in
1131 the output obstack instead of throwing them away.
1133 2001-08-27 Akim Demaille <akim@epita.fr>
1135 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1137 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1139 * lib/Makefile.am: Adjust.
1141 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1143 * src/bison.simple: Update and add '%%' directives.
1145 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1147 * src/reader.c (reader): Remove calls to 'output_headers' and
1148 'output_trailers'. Remove some C output.
1149 (readgram): Disable a piece of code that was writing a default
1150 definition for 'YYSTYPE'.
1151 (reader_output_yylsp): Remove.
1152 (packsymbols): Output token defintions to a macro.
1153 (copy_definition): Disable C output.
1155 * src/reader.c (parse_macro_decl): New function used to parse macro
1157 (copy_string2): Put the body of copy_string into this new function.
1158 Add a parameter to let the caller choose whether he wants to copy the
1159 string delimiters or not.
1160 (copy_string): Be a simple call to copy_string2 with the last argument
1162 (read_declarations): Add case for macro definition.
1163 (copy_identifier): New.
1164 (parse_macro_decl): Read macro identifiers using copy_identifier
1167 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1169 * src/output.c (prepare): Add prefixed names.
1170 (output_parser): Output semantic actions.
1171 (output_parser): Fix bug on '%%line' directives.
1173 * src/output.c (output_headers): Remove. The C code printed by this
1174 function should now be in the skeletons.
1175 (output_trailers): Remove.
1176 (output): Disable call to 'reader_output_yylsp'.
1177 (output_rule_data): Do not output tables to the table obstack.
1179 * src/output.c: Remove some C dedicated output.
1180 Improve the use of macro and output obstacks.
1181 (output_defines): Remove.
1183 * src/output.c (output_token_translations): Associate 'translate'
1184 table with a macro. No output to the table obstack.
1185 (output_gram): Same for 'rhs' and 'prhs'.
1186 (output_stos): Same for 'stos'.
1187 (output_rule_data): Same for 'r1' and 'r2'.
1188 (token_actions): Same for 'defact'.
1189 (goto_actions): Same for 'defgoto'.
1190 (output_base): Same for 'pact' and 'pgoto'.
1191 (output_table): Same for 'table'.
1192 (output_check): Same for 'check'.
1194 * src/output.c (output_table_data): New function.
1195 (output_short_table): Remove.
1196 (output_short_or_char_table): Remove.
1198 * src/output.c (output_parser): Replace most of the skeleton copy code
1199 with something new. Skeletons are now processed character by character
1200 rather than line by line, and Bison looks for '%%' macros. This is the
1201 first step in making Bison's output process (a lot) more flexible.
1202 (output_parser): Use the macro table.
1204 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1206 * src/main.c (main): Initialize the macro table.
1208 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1210 * src/lex.c (percent_table): Add tok_define.
1211 * src/lex.h: Add tok_define.
1213 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1215 * src/macrotab.c: New file.
1216 * src/macrotab.h: New file.
1217 * src/Makefile.am: Update.
1219 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1221 * lib/hash.c: New file.
1222 * lib/hash.h: New file.
1223 * lib/Makefile.am: Update.
1225 2001-08-15 Akim Demaille <akim@epita.fr>
1229 2001-08-15 Marc Autret <autret_m@epita.fr>
1231 * src/reader.c (readgram): Indent output macro YYSTYPE.
1232 (packsymbols): Likewise.
1233 (output_token_defines): Likewise.
1234 * src/files.c: Standardize.
1235 (compute_header_macro): New.
1236 (defines_obstack_save): New. Use compute_header_macro.
1237 (output_files): Update. Use defines_obstack_save.
1239 2001-08-15 Akim Demaille <akim@epita.fr>
1241 * doc/bison.texinfo (Table of Symbols): Document
1244 2001-08-15 Akim Demaille <akim@epita.fr>
1246 * missing: Update from CVS Automake.
1247 * config/config.guess, config/config.sub, config/texinfo.tex:
1248 Update from gnu.org.
1250 2001-08-15 Akim Demaille <akim@epita.fr>
1252 * Makefile.maint: Sync with CVS Autoconf.
1254 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1256 * doc/bison.texinfo: Include GNU Free Documentation License from
1258 * doc/fdl.texi: Add to package.
1260 2001-08-14 Marc Autret <autret_m@epita.fr>
1262 Turn on %{source,header}_extension features.
1264 * src/lex.c (percent_table): Un-CPP out header_extension and
1266 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1267 (compute_exts_from_src): Remove conditions. It restores priorities
1270 2001-08-14 Marc Autret <autret_m@epita.fr>
1272 * src/files.c (compute_base_names): Add extensions computing when
1273 `--file-prefix' used.
1274 Standardize function calls.
1276 2001-08-13 Marc Autret <autret_m@epita.fr>
1278 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1279 defining it (defined but null disables alloca).
1281 2001-08-13 Marc Autret <autret_m@epita.fr>
1283 * src/bison.simple (_yy_memcpy): CPP reformat.
1285 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1287 * tests/atconfig.in (CPPFLAGS): Fix.
1289 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1291 * doc/bison.texinfo: Include GNU General Public License from
1293 * doc/gpl.texi: Add to package.
1295 2001-08-10 Marc Autret <autret_m@epita.fr>
1297 * src/print_graph.h: Fix.
1298 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1300 2001-08-10 Akim Demaille <akim@epita.fr>
1302 * src/system.h: Provide default declarations for stpcpy, strndup,
1305 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1307 * doc/bison.texinfo (Locations): Update @$ stuff.
1309 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1311 * src/bison.simple (YYLLOC_DEFAULT): Update.
1314 2001-08-08 Marc Autret <autret_m@epita.fr>
1316 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1317 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1318 Reported by Fabrice Bauzac.
1320 2001-08-08 Marc Autret <autret_m@epita.fr>
1322 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1323 * src/vcg.c (output_node): Fix.
1324 * src/vcg.h: Cleanup.
1325 * src/print_graph.c: Add comments.
1326 (node_output_size): New global variable. Simplify the formatting of
1327 the VCG graph output.
1328 (print_actions): Unused code is now used. It notifies the final state
1329 and no action states in the VCG graph. It also give the reduce actions.
1330 The `shift and goto' edges are red and the `go to state' edges are
1332 Get the current node name and node_obstack by argument.
1333 (node_obstack): New variable.
1334 (print_state): Manage node_obstack.
1335 (print_core): Use node_obstack given by argument.
1336 A node is not only computed here but in print_actions also.
1337 (print_graph): CPP out useless code instead of commenting it.
1339 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1341 * tests/atconfig.in (CPPFLAGS): Fix.
1343 2001-08-07 Akim Demaille <akim@epita.fr>
1345 * src/print_graph.c (quote): New.
1346 (print_core): Use it.
1348 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1350 * src/vcg.c (complain.h): Include it.
1351 Unepitaize `return' invocations.
1352 [NDEBUG] (main): Remove.
1353 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1354 * src/files.c (open_files): Initialize graph_obstack.
1355 * src/print_graph.c (print_actions): CPP out useless code.
1356 (print_core): Don't output the last `\n' in labels.
1358 * src/files.c (output_files): Output the VCG file.
1359 * src/main.c (main): Invoke print_graph ();
1361 2001-08-06 Marc Autret <autret_m@epita.fr>
1363 Automaton VCG graph output.
1364 Using option ``-g'' or long option ``--graph'', you can generate
1365 a gram_filename.vcg file containing a VCG description of the LALR (1)
1366 automaton of your grammar.
1368 * src/main.c: Call to print_graph() function.
1369 * src/getargs.h: Update.
1370 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1371 (graph_flag): New flag.
1373 (getargs): Add case `g'.
1374 * src/files.c (graph_obstack): New obstack struct.
1375 (open_files): Initialize new obstack.
1376 (output_files): Saves graph_obstack if required.
1377 * src/files.h (graph_obstack): New extern declaration.
1378 * src/Makefile.am: Add new source files.
1380 2001-08-06 Marc Autret <autret_m@epita.fr>
1382 * src/print_graph.c, src/print_graph.h (graph): New.
1383 * src/vcg.h: New file.
1384 * src/vcg.c: New file, VCG graph handling.
1386 2001-08-06 Marc Autret <autret_m@epita.fr>
1388 Add of %source_extension and %header_extension which specify
1389 the source or/and the header output file extension.
1391 * src/files.c (compute_base_names): Remove initialisation of
1392 src_extension and header_extension.
1393 (compute_exts_from_gf): Update.
1394 (compute_exts_from_src): Update.
1395 (output_files): Update.
1396 * src/reader.c (parse_header_extension_decl): New.
1397 (parse_source_extension_decl): New.
1398 (read_declarations): New case statements for the new tokens.
1399 * src/lex.c (percent_table): Add entries for %source_extension
1400 and %header_extension.
1401 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1403 2001-08-06 Marc Autret <autret_m@epita.fr>
1405 * configure.in: Bump to 1.28c.
1406 * doc/bison.texinfo: Texinfo thingies.
1408 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1410 * tests/atconfig.in (CPPFLAGS): Add.
1411 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1413 2001-08-03 Akim Demaille <akim@epita.fr>
1417 2001-08-03 Akim Demaille <akim@epita.fr>
1419 * tests/Makefile.am (check-local): Ship testsuite.
1420 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1423 2001-08-03 Akim Demaille <akim@epita.fr>
1425 * configure.in: Try using -Wformat when compiling.
1427 2001-08-03 Akim Demaille <akim@epita.fr>
1429 * configure.in: Bump to 1.28b.
1431 2001-08-03 Akim Demaille <akim@epita.fr>
1433 * src/complain.c: Adjust strerror_r portability issues.
1435 2001-08-03 Akim Demaille <akim@epita.fr>
1439 2001-08-03 Akim Demaille <akim@epita.fr>
1441 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1442 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1443 * src/getargs.c: Include complain.h.
1444 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1445 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1447 2001-08-03 Akim Demaille <akim@epita.fr>
1449 * src/reader.c (readgram): Display hidden chars in error messages.
1451 2001-08-03 Akim Demaille <akim@epita.fr>
1453 Update to gettext 0.10.39.
1455 2001-08-03 Akim Demaille <akim@epita.fr>
1457 * lib/strspn.c: New.
1459 2001-08-01 Marc Autret <autret_m@epita.fr>
1461 * doc/bison.texinfo: Update.
1462 * doc/bison.1 (mandoc): Update.
1463 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1464 * src/files.c: Support output files extensions computing.
1465 (src_extension): New static variable.
1466 (header_extension): New static variable.
1468 (get_extension_index): New function, gets the index of an extension
1469 filename in a string.
1470 (compute_exts_from_gf): New function, computes extensions from the
1471 grammar file extension.
1472 (compute_exts_from_src): New functions, computes extensions from the
1473 C source file extension, file given by ``-o'' option.
1474 (compute_base_names): Update.
1475 (output_files): Update.
1477 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1479 * doc/bison.texi: Document @$.
1480 (Locations): New section.
1482 2001-07-18 Akim Demaille <akim@epita.fr>
1484 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1485 * config/prev-version.txt, config/move-if-change: New.
1486 * Makefile.am: Adjust.
1488 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1490 * src/bison.simple (yyparse): Suppress warning `comparaison
1491 between signed and unsigned'.
1493 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1495 * src/getargs.h (raw_flag): Remove.
1496 * src/getargs.c: Die on `-r'/`--raw'.
1497 * src/lex.c (parse_percent_token): Die on `%raw'.
1498 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1499 * tests/calc.at: Suppress test with option `--raw'.
1501 2001-07-14 Akim Demaille <akim@epita.fr>
1504 * configure.in: Require Autoconf 2.50.
1505 Update to gettext 0.10.38.
1507 2001-03-16 Akim Demaille <akim@epita.fr>
1509 * doc/bison.texinfo: ANSIfy the examples.
1511 2001-03-16 Akim Demaille <akim@epita.fr>
1513 * getargs.c (skeleton): New variable.
1514 (longopts): --skeleton is a new option.
1515 (shortopts, getargs): -S is a new option.
1516 * getargs.h: Declare skeleton.
1517 * output.c (output_parser): Use it.
1519 2001-03-16 Akim Demaille <akim@epita.fr>
1521 * m4/strerror_r.m4: New.
1522 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1523 * lib/error.h, lib/error.c: Update.
1525 2001-03-16 Akim Demaille <akim@epita.fr>
1527 * src/getargs.c (longopts): Clean up.
1529 2001-02-21 Akim Demaille <akim@epita.fr>
1531 * src/reader.c (gensym): `gensym_count' is your own.
1532 Use a static buf to create the symbol name, as token_buffer is no
1535 2001-02-08 Akim Demaille <akim@epita.fr>
1537 * src/conflicts.c (conflict_report): Be sure not to append to res
1538 between two calls, which could happen if both first sprintf were
1539 skipped, but not the first cp += strlen.
1541 2001-02-08 Akim Demaille <akim@epita.fr>
1543 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1544 New, from fileutils 4.0.37.
1545 * configure.in: Require Autoconf 2.49c. I took some time before
1546 making this decision. This is the only way out for portability
1547 issues in Bison, it would mean way too much duplicate effort to
1548 import in Bison features implemented in 2.49c since 2.13.
1549 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1551 2001-02-02 Akim Demaille <akim@epita.fr>
1553 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1554 * lib/xalloc.h, lib/xmalloc.c: Update.
1556 2001-01-19 Akim Demaille <akim@epita.fr>
1558 Get rid of the ad hoc handling of token_buffer in the scanner: use
1561 * src/lex.c (token_obstack): New.
1562 (init_lex): Initialize it. No longer call...
1563 (grow_token_buffer): this. Remove it.
1564 Adjust all the places which used it to use the obstack.
1566 2001-01-19 Akim Demaille <akim@epita.fr>
1568 * src/lex.h: Rename all the tokens:
1569 s/\bENDFILE\b/tok_eof/g;
1570 s/\bIDENTIFIER\b/tok_identifier/g;
1572 Let them be enums, not #define, to ease debugging.
1573 Adjust all the code.
1575 2001-01-18 Akim Demaille <akim@epita.fr>
1577 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1578 * src/lex.c (maxtoken, grow_token_buffer): Static.
1580 2001-01-18 Akim Demaille <akim@epita.fr>
1582 Since we now use obstacks, more % directives can be enabled.
1584 * src/lex.c (percent_table): Also accept `%yacc',
1585 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1587 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1588 instead of returning a token.
1589 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1590 * src/reader.c (read_declarations): Adjust.
1591 * src/files.c (open_files): Don't call `compute_base_names', don't
1592 compute `attrsfile' since they depend upon data which might be
1593 *in* the input file now.
1594 (output_files): Do it here.
1595 * src/output.c (output_headers): Document the fact that this patch
1596 introduces a guaranteed SEGV for semantic parsers.
1597 * doc/bison.texinfo: Document them.
1598 * tests/suite.at: Exercise these %options.
1600 2000-12-20 Akim Demaille <akim@epita.fr>
1602 Also handle the output file (--verbose) with obstacks.
1604 * files.c (foutput): Remove.
1605 (output_obstack): New.
1606 Adjust all dependencies.
1607 * src/conflicts.c: Return a string.
1608 * src/system.h (obstack_grow_string): Rename as...
1609 (obstack_sgrow): this. Be ready to work with non literals.
1610 (obstack_fgrow4): New.
1612 2000-12-20 Akim Demaille <akim@epita.fr>
1614 * src/files.c (open_files): Fix the computation of short_base_name
1615 in the case of `-o foo.tab.c'.
1617 2000-12-20 Akim Demaille <akim@epita.fr>
1619 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1620 (copy_dollar): Now that everything uses obstacks, get rid of the
1623 2000-12-20 Akim Demaille <akim@epita.fr>
1625 * src/files.c (open_files): Actually the `.output' file is based
1626 on the short_base_name, not base_name.
1627 * tests/suite.at (Checking output file names): Adjust.
1629 2000-12-20 Akim Demaille <akim@epita.fr>
1631 * src/bison.s1: Remove, we now use directly...
1632 * src/bison.simple: this.
1633 * src/Makefile.am: Use pkgdata instead of data.
1635 2000-12-20 Akim Demaille <akim@epita.fr>
1637 * src/files.c (guard_obstack): New.
1638 (open_files): Initialize it.
1639 (output_files): Dump it...
1640 * src/files.h: Export it.
1641 * src/reader.c (copy_guard): Use it.
1643 2000-12-19 Akim Demaille <akim@epita.fr>
1645 * src/files.c (outfile, defsfile, actfile): Removed as global
1647 (open_files): Don't compute them.
1648 (output_files): Adjust.
1649 (base_name, short_base_name): Be global.
1650 Adjust dependencies.
1652 2000-12-19 Akim Demaille <akim@epita.fr>
1654 * src/files.c (strsuffix): New.
1655 (stringappend): Be just like strcat but allocate.
1656 (base_names): Eve out from open_files.
1657 Try to simplify the rather hairy computation of base_name and
1659 (open_files): Use it.
1660 * tests/suite.at (Checking output file names): New test.
1662 2000-12-19 Akim Demaille <akim@epita.fr>
1664 * src/system.h (obstack_grow_literal_string): Rename as...
1665 (obstack_grow_string): this.
1666 * src/output.c (output_parser): Recognize `%% actions' instead of
1668 * src/bison.s1: s/$/%% actions/.
1669 * src/bison.hairy: Likewise.
1671 2000-12-19 Akim Demaille <akim@epita.fr>
1673 * src/output.c (output_parser): Compute the `#line' lines when
1675 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1676 Suggested by Hans Aberg.
1678 2000-12-19 Akim Demaille <akim@epita.fr>
1680 Let the handling of the skeleton files be local to the procedures
1683 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1685 (fparser, open_extra_files): Remove.
1686 (open_files, output_files): Don't take care of fparser.
1687 * src/files.h: Adjust.
1688 * src/output.c (output_parser): Open and close the file to the
1690 * src/reader.c (read_declarations): When %semantic_parser, open
1693 2000-12-19 Akim Demaille <akim@epita.fr>
1695 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1696 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1698 2000-12-19 Akim Demaille <akim@epita.fr>
1700 * src/files.c (open_files): Yipee! We no longer need all the code
1701 looking for `/tmp' since we have no tmp file.
1703 2000-12-19 Akim Demaille <akim@epita.fr>
1705 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1707 * src/files.c (open_files): Less dependency on MSDOS etc.
1709 2000-12-14 Akim Demaille <akim@epita.fr>
1711 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1712 Provide a default definition.
1713 Use it when executing the default @ action.
1714 * src/reader.c (reader_output_yylsp): No longer include
1715 `timestamp' and `text' in the default YYLTYPE.
1717 2000-12-12 Akim Demaille <akim@epita.fr>
1719 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1720 (copy_guard): Quote the file names.
1721 Reported by Laurent Mascherpa.
1723 2000-12-12 Akim Demaille <akim@epita.fr>
1725 * src/output.c (output_headers, output_program, output): Be sure
1726 to escape special characters when outputting filenames.
1727 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1728 (output_headers): Don't depend on them, Use ACTSTR.
1730 2000-11-17 Akim Demaille <akim@epita.fr>
1732 * lib/obstack.h: Formatting changes.
1733 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1734 prevents type checking.
1735 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1736 cast the value to (void *): assigning a `foo *' to a `void *'
1738 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1739 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1742 2000-11-17 Akim Demaille <akim@epita.fr>
1744 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1746 (suite.m4, regression.m4, calc.m4): these.
1747 * tests/atgeneral.m4: Update from CVS Autoconf.
1749 2000-11-17 Akim Demaille <akim@epita.fr>
1751 * tests/regression.m4 (%union and --defines): New test,
1752 demonstrating a current bug in the obstack implementation.
1754 2000-11-17 Akim Demaille <akim@epita.fr>
1756 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1758 Use them to declare the variables which are global or local to
1761 2000-11-17 Akim Demaille <akim@epita.fr>
1763 * acconfig.h: Remove, no longer used.
1765 2000-11-07 Akim Demaille <akim@epita.fr>
1767 * src: s/Copyright (C)/Copyright/g.
1769 2000-11-07 Akim Demaille <akim@epita.fr>
1771 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1773 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1775 2000-11-07 Akim Demaille <akim@epita.fr>
1777 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1778 Merge in a single CPP if/else.
1780 2000-11-07 Akim Demaille <akim@epita.fr>
1782 * src/output.c (output): Remove useless variables.
1783 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1784 argument `data' for consistency with the prototypes.
1786 (obstack_copy, obstack_copy0): Rename the second argument as
1787 `address' for consistency. Qualify it `const'.
1788 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1789 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1790 `const' their input argument (`data' or `address').
1791 Adjust the corresponding macros to include `const' in casts.
1793 2000-11-03 Akim Demaille <akim@epita.fr>
1795 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1796 s/PFILE1/BISON_HAIRY/.
1797 Adjust dependencies.
1799 2000-11-03 Akim Demaille <akim@epita.fr>
1801 For some reason, this was not applied.
1803 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1804 `unlink': it's no longer used.
1806 2000-11-03 Akim Demaille <akim@epita.fr>
1808 * src/files.c (skeleton_find): New function, eved out of...
1809 (open_files, open_extra_files): here.
1811 2000-11-03 Akim Demaille <akim@epita.fr>
1815 * src/files.c (obstack_save): New function.
1816 (done): Rename as...
1817 (output_files): this.
1819 * src/main.c (main): Don't use `atexit' to register `done', since
1820 it no longer has to remove tmp files, just call `output_files'
1821 when there are no errors.
1823 2000-11-02 Akim Demaille <akim@epita.fr>
1825 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1826 `unlink': it's no longer used.
1827 * src/files.h: Formatting changes.
1829 2000-11-02 Akim Demaille <akim@epita.fr>
1831 Remove the last uses of mktemp and unlink/delete.
1833 * src/files.c (fdefines, ftable): Removed.
1834 (defines_ostack, table_obstack): New.
1835 Adjust dependencies of the former into uses of the latter.
1836 * src/output.c (output_short_or_char_table, output_short_table):
1837 Convert to using obstacks.
1838 * src/reader.c (copy_comment2): Accept one FILE * and two
1840 (output_token_defines, reader_output_yylsp): Use obstacks.
1841 * src/system.h (obstack_fgrow3): New.
1843 2000-11-01 Akim Demaille <akim@epita.fr>
1845 Change each use of `fattrs' into a use of `attrs_obstack'.
1847 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1848 * src/files.c (fattrs): Remove.
1849 (attrs_obstack): New.
1850 Adjust all dependencies.
1851 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1853 2000-11-01 Akim Demaille <akim@epita.fr>
1856 Change each use of `faction' into a use of `action_obstack'.
1858 * lib/obstack.h, lib/obstack.c: New files.
1859 * src/files.c (faction): Remove.
1860 (action_obstack): New.
1861 Adjust all dependencies.
1863 2000-10-20 Akim Demaille <akim@epita.fr>
1865 * lib/quote.h (PARAMS): New macro. Use it.
1867 2000-10-16 Akim Demaille <akim@epita.fr>
1869 * src/output.c (output_short_or_char_table): New function.
1870 (output_short_table, output_token_translations): Use it.
1871 (goto_actions): Use output_short_table.
1873 2000-10-16 Akim Demaille <akim@epita.fr>
1875 * src/symtab.c (bucket_new): New function.
1878 * src/output.c (output_short_table): New argument to display the
1879 comment associated with the table.
1880 Adjust dependencies.
1881 (output_gram): Use it.
1882 (output_rule_data): Nicer output layout for YYTNAME.
1884 2000-10-16 Akim Demaille <akim@epita.fr>
1886 * src/lex.c (read_typename): New function.
1888 * src/reader.c (copy_dollar): Likewise.
1890 2000-10-16 Akim Demaille <akim@epita.fr>
1892 * src/reader.c (copy_comment2): Expect the input stream to be on
1893 the `/' which is suspected to open a comment, instead of being
1894 called after `//' or `/*' was read.
1895 (copy_comment, copy_definition, parse_union_decl, copy_action)
1896 (copy_guard): Adjust.
1898 2000-10-16 Akim Demaille <akim@epita.fr>
1900 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1901 `read_signed_integer'.
1903 2000-10-16 Akim Demaille <akim@epita.fr>
1905 * src/reader.c (copy_dollar): New function.
1906 (copy_guard, copy_action): Use it.
1908 2000-10-16 Akim Demaille <akim@epita.fr>
1910 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1911 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1912 New files, from Fileutils 4.0.27.
1913 * src/main.c (printable_version): Remove.
1914 * src/lex.c, src/reader.c: Use `quote'.
1916 2000-10-04 Akim Demaille <akim@epita.fr>
1918 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1920 2000-10-04 Akim Demaille <akim@epita.fr>
1922 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1924 2000-10-04 Akim Demaille <akim@epita.fr>
1926 When a literal string is used to define two different tokens,
1927 `bison -v' segfaults.
1928 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1930 * tests/regression.m4: New file.
1931 Include the core of the sample provided by Piotr Gackiewicz.
1932 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1935 2000-10-04 Akim Demaille <akim@epita.fr>
1937 * src/reader.c (parse_expect_decl): Keep `count' within the size
1941 2000-10-02 Paul Eggert <eggert@twinsun.com>
1943 * bison.s1 (yyparse): Assign the default value
1944 unconditionally, to avoid a GCC warning and make the parser a
1947 2000-10-02 Akim Demaille <akim@epita.fr>
1949 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1952 2000-10-02 Akim Demaille <akim@epita.fr>
1954 * src/derives.c, src/print.c, src/reduce.c: To ease the
1955 translation, move some `\n' out of the translated strings.
1957 2000-10-02 Akim Demaille <akim@epita.fr>
1959 The location tracking mechanism is precious for parse error
1960 messages. Nevertheless, it is enabled only when `@n' is used in
1961 the grammar, which is a different issue (you can use it in error
1962 message, but not in the grammar per se). Therefore, there should
1963 be another means to enable it.
1965 * src/getargs.c (getargs): Support `--locations'.
1967 * src/getargs.h (locationsflag): Export it.
1968 * src/lex.c (percent_table): Support `%locations'.
1969 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1970 with `locationsflag'.
1971 * doc/bison.texinfo: Document `--locations' and `%locations'.
1973 * tests/calc.m4: Test it.
1975 For regularity of the names, replace each
1976 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1977 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1978 In addition replace each `flag' with `_flag'.
1980 2000-10-02 Akim Demaille <akim@epita.fr>
1982 Also test parse error messages, including with YYERROR_VERBOSE.
1984 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1986 Use it to check the computations.
1987 Use it to check `nonassoc' is honored.
1988 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1989 `--yyerror-verbose'.
1990 (_AT_CHECK_CALC): Adjust to this option.
1991 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1993 2000-10-02 Akim Demaille <akim@epita.fr>
1995 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1996 the latter demonstrates a flaw in the handling of non debugging
1997 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1998 was used in order to simplify:
2014 unfortunately this leads to a CPP conflict when
2015 `--name-prefix=foo' is used since it produces `#define yydebug
2018 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2019 (YYDPRINTF): New macro.
2021 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2023 Also test `--verbose', `--defines' and `--name-prefix'.
2025 2000-10-02 Akim Demaille <akim@epita.fr>
2027 Improve the readability of the produced parsers.
2029 * src/bison.s1: Formatting changes.
2030 Improve the comment related to the `$' mark.
2031 (yydefault): Don't fall through to `yyresume': `goto' there.
2032 * src/output.c (output_parser): When the `$' is met, skip the end
2034 New variable, `number_of_dollar_signs', to check there's exactly
2035 one `$' in the parser skeleton.
2037 2000-10-02 Akim Demaille <akim@epita.fr>
2039 * lib/xstrdup.c: New file, from the fileutils.
2040 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2041 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2042 instead of strlen + xmalloc + strcpy.
2043 * src/symtab.c (copys): Remove, use xstrdup instead.
2045 2000-10-02 Akim Demaille <akim@epita.fr>
2047 * src/gram.h (associativity): New enum type which replaces the
2048 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2049 `right_assoc', `left_assoc' and `non_assoc'.
2050 Adjust all dependencies.
2051 * src/reader.c: Formatting changes.
2052 (LTYPESTR): Don't define it, use it as a literal in
2053 `reader_output_yylsp'.
2054 * src/symtab.h (symbol_class): New enum type which replaces the
2055 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2056 `sunknown', `stoken and `snterm'.
2058 2000-10-02 Akim Demaille <akim@epita.fr>
2060 * src/getargs.c (fixed_outfiles): Rename as...
2061 (yaccflag): for consistency and accuracy.
2062 Adjust dependencies.
2064 2000-10-02 Akim Demaille <akim@epita.fr>
2066 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2067 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2068 difficult and introduced a lot of core dump. It turns out that
2069 Bison used an implementation of `xmalloc' based on `calloc', and
2070 at various places it does depend upon the initialization to 0. I
2071 have not tried to isolate the pertinent places, and all the former
2072 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2073 someone should address this issue.
2075 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2076 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2078 Adjust dependencies.
2079 * src/warshall.h: New file.
2082 2000-10-02 Akim Demaille <akim@epita.fr>
2084 Various anti-`extern in *.c' changes.
2086 * src/system.h: Include `assert.h'.
2088 2000-10-02 Akim Demaille <akim@epita.fr>
2090 * src/state.h (nstates, final_state, first_state, first_shift)
2091 (first_reduction): Move their exportation from here...
2092 * src/LR0.h: to here.
2093 Adjust dependencies.
2094 * src/getargs.c (statisticsflag): New variable.
2095 Add support for `--statistics'.
2096 Adjust dependencies.
2098 Remove a lot of now useless `extern' statements in most files.
2100 2000-10-02 Akim Demaille <akim@epita.fr>
2102 * src/LR0.h: New file.
2105 2000-10-02 Akim Demaille <akim@epita.fr>
2107 * src/print.h: New file.
2109 * src/print.c: Formatting and ordering changes.
2110 (verbose, terse): Replace with...
2111 (print_results): this new function.
2112 Adjust dependencies.
2114 2000-10-02 Akim Demaille <akim@epita.fr>
2116 * src/conflicts.c (conflict_report): New function.
2117 (conflict_log, verbose_conflict_log): Replace with...
2118 (print_conflicts): this function.
2119 Adjust dependencies.
2120 * src/conflicts.h: New file.
2121 Propagate its inclusion.
2123 2000-10-02 Akim Demaille <akim@epita.fr>
2125 * src/nullable.h: New file.
2126 Propagate its inclusion.
2127 * src/nullable.c: Formatting changes.
2129 2000-10-02 Akim Demaille <akim@epita.fr>
2131 * src/reduce.h: New file.
2132 Propagate its inclusion.
2133 * src/reduce.c: Topological sort and other formatting changes.
2134 (bool, TRUE, FALSE): Move their definition to...
2135 * src/system.h: here.
2137 2000-10-02 Akim Demaille <akim@epita.fr>
2139 * src/files.c: Formatting changes.
2140 (tryopen, tryclose, openfiles): Rename as...
2141 (xfopen, xfclose, open_files): this.
2142 (stringappend): static.
2143 * src/files.h: Complete the list of exported symbols.
2146 2000-10-02 Akim Demaille <akim@epita.fr>
2148 * src/reader.h: New file.
2149 Propagate its use instead of tedious list of `extern' and
2151 * src/reader.c: Formatting changes, topological sort,
2154 2000-10-02 Akim Demaille <akim@epita.fr>
2156 * src/lex.h: Prototype `lex.c' exported functions.
2157 * src/reader.c: Adjust.
2158 * src/lex.c: Formatting changes.
2159 (safegetc): Rename as...
2162 2000-10-02 Akim Demaille <akim@epita.fr>
2164 * src/lalr.h: New file.
2165 Propagate its inclusion instead of prototypes and `extern'.
2166 * src/lalr.c: Formatting changes, topological sorting etc.
2168 2000-10-02 Akim Demaille <akim@epita.fr>
2170 * src/output.c (token_actions): Introduce a temporary array,
2171 YYDEFACT, that makes it possible for this function to use
2174 2000-10-02 Akim Demaille <akim@epita.fr>
2176 `user_toknums' is output as a `short[]' in `output.c', while it is
2177 defined as a `int[]' in `reader.c'. For consistency with the
2178 other output tables, `user_toknums' is now defined as a table of
2181 * src/reader.c (user_toknums): Be a short table instead of an int
2183 Adjust dependencies.
2185 Factor the short table outputs.
2187 * src/output.c (output_short_table): New function.
2188 * src/output.c (output_gram, output_stos, output_rule_data)
2189 (output_base, output_table, output_check): Use it.
2191 2000-10-02 Akim Demaille <akim@epita.fr>
2193 * src/output.c (output): Topological sort of the functions, in
2194 order to get rid of the `static' prototypes.
2195 No longer use `register'.
2196 * src/output.h: New file.
2197 Propagate its inclusion in files explicitly prototyping functions
2200 2000-09-21 Akim Demaille <akim@epita.fr>
2202 * src/atgeneral.m4: Update from Autoconf.
2204 2000-09-21 Akim Demaille <akim@epita.fr>
2206 * src/closure.h: New file.
2207 * src/closure.c: Formatting changes, topological sort over the
2208 functions, use of closure.h.
2209 (initialize_closure, finalize_closure): Rename as...
2210 (new_closure, free_closure): these. Adjust dependencies.
2211 * src/LR0.c: Formatting changes, topological sort, use of
2213 (initialize_states): Rename as...
2215 * src/Makefile.am (noinst_HEADERS): Adjust.
2217 2000-09-20 Akim Demaille <akim@epita.fr>
2219 * src/acconfig.h: Don't protect config.h against multiple
2221 Don't define PARAMS.
2222 * src/system.h: Define PARAMS.
2223 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2224 purpose of config.h. system.h must not try to fix wrong
2225 definitions in config.h.
2227 2000-09-20 Akim Demaille <akim@epita.fr>
2229 * src/derives.h: New file.
2230 * src/main.c, src/derives.h: Use it.
2232 * src/Makefile.am (noinst_HEADERS): Adjust.
2234 2000-09-20 Akim Demaille <akim@epita.fr>
2236 * tests/atgeneral.m4: Update from Autoconf.
2237 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2238 (AT_CHECK_CALC): New macros.
2239 Use these macros to test bison with options `', `--raw',
2240 `--debug', `--yacc', `--yacc --debug'.
2242 2000-09-19 Akim Demaille <akim@epita.fr>
2244 * src/output.c: Formatting changes.
2245 * src/machine.h: Remove, leaving its contents in...
2246 * src/system.h: here.
2248 Adjust all dependencies on stdio.h and machine.h.
2249 * src/getargs.h: New file.
2250 Let all `extern' declarations about getargs.c be replaced with
2251 inclusion of `getargs.h'.
2252 * src/Makefile.am (noinst_HEADERS): Adjust.
2254 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2256 (yyerror): Returns void, not int.
2257 * doc/bison.texinfo: Formatting changes.
2259 2000-09-19 Akim Demaille <akim@epita.fr>
2261 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2264 2000-09-18 Akim Demaille <akim@epita.fr>
2266 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2267 * src/Makefile.am (INCLUDES): Don't.
2268 Be ready to fetch headers in lib/.
2270 2000-09-18 Akim Demaille <akim@epita.fr>
2272 * doc/bison.texinfo: Update the copyright.
2273 ANSIfy and GNUify the examples.
2274 Remove the old menu.
2276 2000-09-18 Akim Demaille <akim@epita.fr>
2278 First set of tests: use the `calc' example from the documentation.
2280 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2281 is defined only when YYDEBUG is.
2282 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2283 * src/files.c (tryopen, tryclose): Formatting changes.
2284 Move to the top and be static.
2285 * src/reader.c (read_signed_integer): Likewise.
2286 * tests/calc.m4: New file.
2287 * Makefile.am, suite.m4: Adjust.
2288 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2290 2000-09-18 Akim Demaille <akim@epita.fr>
2292 Add support for an Autotest test suite for Bison.
2294 * m4/m4.m4, m4/atconfig.m4: New files.
2295 * m4/Makefile.am (EXTRA_DIST): Adjust.
2296 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2298 * src/getargs.c: Display a more standard --version message.
2299 * src/reader.c (reader): Formatting changes.
2300 No longer depend upon VERSION_STRING.
2301 * configure.in: No longer use `dnl'.
2302 Set up the test suite and the new directory `tests/.
2303 (VERSION_STRING): Remove.
2305 2000-04-14 Akim Demaille <akim@epita.fr>
2307 * src/reader.c (copy_comment2): New function, same as former
2308 `copy_comment', but outputs into two FILE *.
2309 (copy_comment): Use it.
2310 (parse_union_decl): Use it.
2311 (get_type, parse_start_decl): Use the same `invalid' message.
2312 (parse_start_decl, parse_union_decl): Use the same `multiple'
2314 (parse_union_decl, copy_guard, copy_action): Use the same
2315 `unmatched' message.
2316 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2318 2000-03-31 Akim Demaille <akim@epita.fr>
2320 * src/files.c (tryopen, tryclose): Move to the top.
2323 2000-03-31 Akim Demaille <akim@epita.fr>
2325 * src/main.c (main): Don't call `done', exit does it.
2327 2000-03-31 Akim Demaille <akim@epita.fr>
2329 * allocate.c: s/return (foo)/return foo/.
2332 * output.c: Likewise.
2333 * reader.c: Likewise.
2334 * symtab.c: Likewise.
2335 * vmsgetargs.c: Likewise.
2337 2000-03-31 Akim Demaille <akim@epita.fr>
2339 Clean up the error reporting functions.
2341 * src/report.c: New file.
2342 * src/report.h: Likewise.
2343 * src/Makefile.am: Adjust.
2344 * m4/error.m4: New file.
2345 * m4/Makefile.am: Adjust.
2346 * configure.in (jm_PREREQ_ERROR): Call it.
2347 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2349 (fatal, fatals): Remove. All callers use complain.c::fatal.
2350 (warn, warni, warns, warnss, warnss): Remove. All callers use
2351 complain.c::complain.
2352 (toomany): Remove, use fatal instead.
2353 * src/files.c (done): No argument, use complain_message_count.
2354 * src/main.c (main): Register `done' to `atexit'.
2356 * src/getargs.c (usage): More `fputs', less `fprintf'.
2358 2000-03-28 Akim Demaille <akim@epita.fr>
2360 * lib/: New directory.
2361 * Makefile.am (SUBDIRS): Adjust.
2362 * configure.in: Adjust.
2363 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2365 * src/alloca.c: Moved to lib/.
2366 * src/getopt.c: Likewise.
2367 * src/getopt1.c: Likewise.
2368 * src/getopt.h: Likewise.
2369 * src/ansi2knr.c: Likewise.
2370 * src/ansi2knr.1: Likewise.
2371 * src/Makefile.am: Adjust.
2372 * lib/Makefile.am: New file.
2374 2000-03-28 Akim Demaille <akim@epita.fr>
2376 * src/getargs.c (usage): Refresh the help message.
2378 2000-03-17 Akim Demaille <akim@epita.fr>
2380 * src/getopt1.c: Updated from textutils 2.0e
2381 * src/getopt.c: Likewise.
2382 * src/getopt.h: Likewise.
2384 2000-03-17 Akim Demaille <akim@epita.fr>
2386 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2387 the file name, not the whole `#line LINE FILE'.
2389 2000-03-17 Akim Demaille <akim@epita.fr>
2391 On syntax errors, report the token on which we choked.
2393 * src/bison.s1 (yyparse): In the label yyerrlab, when
2394 YYERROR_VERBOSE, add yychar in msg.
2396 2000-03-17 Akim Demaille <akim@epita.fr>
2398 * src/reader.c (copy_at): New function.
2399 (copy_guard): Use it.
2400 (copy_action): Use it.
2402 2000-03-17 Akim Demaille <akim@epita.fr>
2404 Be kind to translators, save some useless translations.
2406 * src/main.c (banner): New function.
2407 (fatal_banner): Use it.
2408 (warn_banner): Use it.
2410 2000-03-17 Akim Demaille <akim@epita.fr>
2412 * src/reader.c (copy_definition): Use copy_string and
2413 copy_comment. Removed now unused `match', `ended',
2415 (copy_comment, copy_string): Moved, to be visible from
2418 2000-03-17 Akim Demaille <akim@epita.fr>
2420 * src/reader.c (copy_string): Declare `static inline'. No
2421 problems with inline, since it is checked by configure.
2422 (copy_comment): Likewise.
2424 2000-03-17 Akim Demaille <akim@epita.fr>
2426 * src/reader.c (packsymbols): Formatting changes.
2428 2000-03-17 Akim Demaille <akim@epita.fr>
2430 * src/reader.c (copy_comment): New function, factored out from:
2431 (copy_action): Use it. Removed now unused `match', `ended',
2433 (copy_guard): Likewise.
2435 2000-03-17 Akim Demaille <akim@epita.fr>
2437 * src/reader.c (copy_string): New function, factored out from:
2438 (copy_action): Use it.
2439 (copy_guard): Likewise.
2441 2000-03-17 Akim Demaille <akim@epita.fr>
2443 Change the handling of @s so that they behave exactly like $s.
2444 There is now a pseudo variable @$ (readble and writable), location
2445 of the lhs of the rule (by default ranging from the location of
2446 the first symbol of the rhs, to the location of the last symbol,
2447 or, if the rhs is empty, YYLLOC).
2449 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2451 (yyparse): When providing a default semantic action, provide a
2452 default location action.
2453 (after the $): No longer change `*YYLSP', just stack YYLOC the
2454 same way you stack YYVAL.
2455 * src/reader.c (read_declarations): Use warns.
2456 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2457 (copy_action, case '@'): Likewise.
2458 Use a standard error message, to save useless work from
2461 2000-03-17 Akim Demaille <akim@epita.fr>
2463 * src/bison.s1: Formatting and cosmetics changes.
2464 * src/reader.c: Likewise.
2465 Update the Copyright notice.
2467 2000-03-17 Akim Demaille <akim@epita.fr>
2469 * src/bison.s1 (#line): All set to `#line' only, since the
2470 Makefile now handles them.
2472 2000-03-16 Akim Demaille <akim@epita.fr>
2474 * src/output.c (output_rule_data): Output the documentation of
2476 (Copyright notice): Update.
2479 2000-03-16 Akim Demaille <akim@epita.fr>
2481 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2482 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2483 One `#if YYDEBUG' remains, since it uses variables which are
2484 defined only if `YYDEBUG != 0'.
2486 2000-03-16 Akim Demaille <akim@epita.fr>
2488 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2489 and related variables so that the similarities are highlighted.
2491 2000-03-16 Akim Demaille <akim@epita.fr>
2493 * src/bison.s1: Properly indent CPP directives.
2495 2000-03-16 Akim Demaille <akim@epita.fr>
2497 * src/bison.s1: Properly indent the `alloca' CPP section.
2499 2000-03-16 Akim Demaille <akim@epita.fr>
2501 Do not hard code values of directories in `configure.in'.
2502 Update the `configure' tool chain.
2504 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2506 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2507 (AC_OUTPUT): Add m4/Makefile.
2508 Bump to bison 1.28a, 1.29 has never been released.
2509 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2510 handled via src/Makefile.am.
2511 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2512 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2514 * Makefile.am (SUBDIRS): Add m4.
2515 (ACLOCAL_AM_FLAGS): New variable.
2516 (AUTOMAKE_OPTIONS): Add check-news.
2517 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2518 the proper line number and file name.
2519 (DEFS): Propagate the location of bison library files and of the
2521 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2523 * acinclude.m4: Remove, replaced by the directory m4.
2524 * m4/Makefile.am (EXTRA_DIST): New variable.
2525 * m4/gettext.m4: New file, from the fileutils.
2526 * m4/lcmessage.m4: Likewise
2527 * m4/progtest.m4: Likewise.
2528 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2530 2000-03-10 Akim Demaille <akim@epita.fr>
2533 Formatting changes of various comments.
2534 Respect the GNU coding standards at various places.
2535 Don't use `_()' when no translation is needed.
2537 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2540 OS/2 honors TMPDIR environment variable.
2542 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2544 * doc/bison.texinfo: Tweaked spelling and grammar.
2546 Removed reference to price of printed copy.
2547 Mention BISON_SIMPLE and BISON_HAIRY.
2549 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2551 * configure.in, NEWS:
2552 Bison 1.29 released.
2554 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2556 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2557 Added reference card.
2559 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2561 * po/ru.po: Added Russian translation.
2563 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2565 * configure.in: Added Russian translation.
2567 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2569 * configure.in, NEWS, README:
2570 Released version 1.28.
2572 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2575 Squashed redefinition warning on some systems.
2577 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2578 Have configure build version string instead of relying on ANSI string
2581 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2583 * po/POTFILES.in: Got rid of version.c.
2585 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2587 * acconfig.h, configure.in:
2588 Have configure build version string instead of relying on ANSI string
2591 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2594 Dropped mention of `+' for long-named options.
2596 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2598 * src/files.c: Added <unistd.h> for unlink().
2600 * src/Makefile.am, src/system.h:
2603 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2605 * README: Added a FAQ list.
2607 * configure.in, acconfig.h:
2610 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2612 * doc/FAQ, doc/Makefile.am:
2615 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2617 * src/alloc.h, src/symtab.h, src/version.c:
2618 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2620 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2622 * src/.cvsignore, src/Makefile.am:
2623 Reorganized: sources in `src', documentation in `doc'.
2625 * src/lex.c (literalchar):
2626 fixed the code for escaping double quotes (thanks
2629 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2631 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2632 Adjusted paths to reflect directory reorganization.
2634 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2636 * doc/.cvsignore, doc/Makefile.am:
2637 Reorganized: sources in `src', documentation in `doc'.
2639 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2642 Updated AC_INIT file to reflect directory reorganization.
2644 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2645 Reorganized: sources in `src', documentation in `doc'.
2647 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2650 Don't declare calloc() and realloc() if not necessary.
2652 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2654 * configure.in, acconfig.h, acinclude.m4:
2655 Don't declare calloc() and realloc() if not necessary.
2657 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2659 * po/.cvsignore: Added i18n support.
2661 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2663 * acconfig.h, configure.in, Makefile.am:
2666 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2668 * src/bison.s1: Fixed #line numbers.
2670 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2672 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2673 Added PO files from Translation Project.
2675 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2678 Added support for non-ANSI compilers (ansi2knr).
2680 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2682 * configure.in: Bumped version number to 1.27.
2685 Added `bison.simple' to list of files removed by `make distclean'.
2687 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2689 * src/files.c, src/files.h:
2690 Defined locations of parser files in config.h instead of Makefile.
2692 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2694 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2695 Defined locations of parser files in config.h instead of Makefile.
2697 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2700 Removed inappropriate use of $< macro.
2702 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2704 * po/Makefile.in.in, po/POTFILES.in:
2705 Add `po' directory skeleton.
2707 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2709 * README: Document help-bison list.
2711 * configure.in: Add check for mkstemp().
2713 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2715 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2716 Hush a few compiler warnings.
2719 Add tryclose(), which verifies that fclose was successful.
2720 Hush a couple of compiler warnings.
2722 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2724 * Makefile.am, OChangeLog:
2725 ChangeLog is now automatically generated. Include the old version as
2728 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2730 * 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:
2733 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2735 * doc/bison.texinfo: Fix formatting glitch.
2737 * doc/bison.texinfo: Update FSF address.
2739 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2741 * acconfig.h: Update FSF address.
2743 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2746 Don't define PACKAGE here, since config.h defines it.
2748 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2750 * src/reader.c: Update copyright date.
2753 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2754 favor of output directly to stderr (avoids buffer overruns).
2756 * src/reader.c: Some checks for premature EOF.
2758 * 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:
2759 Use prototypes if the compiler understands them.
2761 * src/files.c: Honor TMPDIR on Unix hosts.
2762 Use prototypes if the compiler understands them.
2765 Fix a couple of buffer overrun bugs.
2766 Use prototypes if the compiler understands them.
2768 * src/system.h: Include unistd.h and ctype.h.
2769 Use #ifdef instead of #if for NLS symbols.
2771 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2773 * doc/bison.texinfo:
2774 Delete comment "consider using @set for edition number, etc..." since
2775 we now are doing so.
2777 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2780 Use prototypes if the compiler understands them.
2782 * NEWS: Document 1.26 highlights.
2784 * Makefile.am: Require Automake 1.3 or later.
2787 Use prototypes if the compiler understands them.
2789 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2792 Use VERSION symbol from automake for version number.
2794 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2796 * acconfig.h, configure.in, version.cin:
2797 Use VERSION symbol from automake for version number.
2799 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2802 Distribute original version of simple parser (bison.s1), not built
2803 version (bison.simple).
2805 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2807 * doc/bison.texinfo: Add info dir entry.
2809 * doc/bison.texinfo:
2810 Let automake put version number into documentation.
2812 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2814 * src/bison.cld, src/build.com, src/vmshlp.mar:
2815 Add non-RCS files from /gd/gnu/bison.
2817 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2820 Document the BISON_HAIRY and BISON_SIMPLE variables.
2822 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2824 * src/version.c: Build version.c automatically.
2827 Fix token numbering (used to start at 258, not 257).
2829 * src/system.h: Include config.h.
2831 * src/getargs.c: Update bug report address.
2833 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2834 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2836 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2839 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2841 * configure.in, version.cin:
2842 Build version.c automatically.
2844 * AUTHORS: Add AUTHORS file.
2846 * README: Update bug report address.
2849 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2851 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2854 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2856 * doc/bison.texinfo: Clean up some formatting.
2858 1998-05-05 Richard Stallman <rms@gnu.org>
2860 * doc/bison.texinfo:
2861 Explain better why to make a pure parser.
2863 1998-01-05 Richard Stallman <rms@gnu.org>
2865 * src/files.c (openfiles):
2866 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2867 find a temporary directory, if possible. Do not unlink files while
2870 1997-08-25 Richard Stallman <rms@gnu.org>
2872 * src/reader.c (stack_offset;):
2873 Change some warni to warns.
2875 * src/lex.c (literalchar): Use warns, not warni.
2877 1997-06-28 Richard Stallman <rms@gnu.org>
2879 * src/bison.s1: Add a Bison version comment.
2881 * src/main.c (fatal, warn, berror):
2884 1997-06-28 Richard Stallman <rms@gnu.org>
2886 * Makefile.in (bison_version): New variable.
2887 (dist): Use that variable.
2888 (bison.s1): Substitute the Bison version into bison.simple.
2890 * bison.simple: Add a Bison version comment.
2892 1997-06-18 Richard Stallman <rms@gnu.org>
2894 * src/main.c (fatal, warn, berror):
2895 Make error messages standard.
2896 (toomany): Improve error message text.
2898 * 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:
2899 new.h renamed to alloc.h.
2901 1997-06-18 Richard Stallman <rms@gnu.org>
2903 * Makefile.in: new.h renamed to alloc.h.
2905 1997-05-24 Richard Stallman <rms@gnu.org>
2907 * src/lex.c (literalchar):
2908 Fix the code for escaping \, " and '.
2910 (lex): Avoid trouble when there are many chars
2911 to discard in a char literal with just several chars in it.
2913 1997-05-17 Richard Stallman <rms@gnu.org>
2916 Use malloc, if using alloca is troublesome.
2917 (YYSTACK_USE_ALLOCA): New flag macro.
2918 Define it for some systems and compilers.
2919 (YYSTACK_ALLOC): New macro.
2920 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2921 If it was malloc'd, free it.
2923 1997-05-17 Richard Stallman <rms@gnu.org>
2926 Use malloc, if using alloca is troublesome.
2927 (YYSTACK_USE_ALLOCA): New flag macro.
2928 Define it for some systems and compilers.
2929 (YYSTACK_ALLOC): New macro.
2930 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2931 If it was malloc'd, free it.
2933 1997-04-23 Richard Stallman <rms@gnu.org>
2936 (alloca) [__hpux]: Always define as __builtin_alloca.
2938 1997-04-23 Richard Stallman <rms@gnu.org>
2941 (alloca) [__hpux]: Always define as __builtin_alloca.
2943 1997-04-22 Richard Stallman <rms@gnu.org>
2946 [__hpux]: Include alloca.h (right for HPUX 10)
2947 instead of declaring alloca (right for HPUX 9).
2949 * src/bison.s1 (__yy_memcpy):
2950 Declare arg `count' as unsigned int.
2951 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2953 1997-04-22 Richard Stallman <rms@gnu.org>
2956 [__hpux]: Include alloca.h (right for HPUX 10)
2957 instead of declaring alloca (right for HPUX 9).
2959 * bison.simple (__yy_memcpy):
2960 Declare arg `count' as unsigned int.
2961 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2963 1997-01-03 Richard Stallman <rms@gnu.org>
2965 * src/allocate.c: [__STDC__ or _MSC_VER]:
2966 Declare calloc and realloc to return void *.
2968 1997-01-02 Richard Stallman <rms@gnu.org>
2971 [_MSC_VER]: Include stdlib.h and process.h.
2972 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2974 * src/main.c (main): Return FAILURE as a value.
2975 (printable_version): Declare arg as int, not char.
2977 1997-01-02 Richard Stallman <rms@gnu.org>
2979 * Makefile.in (dist):
2980 Explicitly check for symlinks, and copy them.
2982 1996-12-19 Richard Stallman <rms@gnu.org>
2985 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2987 1996-12-18 Paul Eggert <eggert@gnu.org>
2989 * src/bison.s1 (yyparse):
2990 If __GNUC__ and YYPARSE_PARAM are both defined,
2991 declare yyparse to have a void * argument.
2993 1996-12-18 Paul Eggert <eggert@gnu.org>
2995 * bison.simple (yyparse):
2996 If __GNUC__ and YYPARSE_PARAM are both defined,
2997 declare yyparse to have a void * argument.
2999 1996-12-17 Richard Stallman <rms@gnu.org>
3001 * src/reduce.c (nbits): Add some casts.
3003 1996-08-12 Richard Stallman <rms@gnu.org>
3005 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3007 1996-08-12 Richard Stallman <rms@gnu.org>
3009 * bison.simple: Test _MSDOS as well as _MSDOS_.
3011 1996-07-31 Richard Stallman <rms@gnu.org>
3014 [__sun && __i386]: Include alloca.h.
3016 1996-07-31 Richard Stallman <rms@gnu.org>
3019 [__sun && __i386]: Include alloca.h.
3021 1996-07-30 Richard Stallman <rms@gnu.org>
3023 * src/bison.s1: Comment change.
3025 * src/bison.s1: Test _MSDOS_, not MSDOS.
3027 1996-07-30 Richard Stallman <rms@gnu.org>
3029 * bison.simple: Comment change.
3031 * bison.simple: Test _MSDOS_, not MSDOS.
3033 1996-06-01 Richard Stallman <rms@gnu.org>
3035 * 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:
3036 Insert `_' macro around many string constants.
3039 Insert `_' macro around many string constants.
3041 (main): Call setlocale, bindtextdomain and textdomain.
3043 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3044 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3045 [ENABLE_NLS]: Include libintl.h.
3046 [ENABLE_NLS] (gettext): Define.
3047 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3048 (N_, PACKAGE, LOCALEDIR): New macros.
3050 1996-06-01 Richard Stallman <rms@gnu.org>
3052 * POTFILES.in: New file.
3054 * Makefile.in (allocate.o):
3055 Define target explicitly.
3057 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3058 (LDFLAGS): Set to @LDFLAGS@.
3059 (configure): Run autoconf only if preceding `cd' succeeds.
3060 (bison.s1): Redirect output to temporary file then move the
3061 temporary to the target, rather than redirecting directly to bison.s1.
3062 (clean): Remove config.status and config.log.
3063 (distclean): Don't remove config.status here.
3065 1996-05-12 Richard Stallman <rms@gnu.org>
3068 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3070 1996-05-12 Richard Stallman <rms@gnu.org>
3073 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3075 1996-05-11 Richard Stallman <rms@gnu.org>
3077 * src/bison.s1 (__yy_memcpy):
3078 Really reorder the args, as was supposedly done on Feb 14 1995.
3079 (yyparse): Calls changed accordingly.
3081 1996-05-11 Richard Stallman <rms@gnu.org>
3083 * Makefile.in (dist): Don't use $(srcdir).
3085 * bison.simple (__yy_memcpy):
3086 Really reorder the args, as was supposedly done on Feb 14 1995.
3087 (yyparse): Calls changed accordingly.
3089 1996-01-27 Richard Stallman <rms@gnu.org>
3091 * src/output.c (output_rule_data):
3092 Test YYERROR_VERBOSE in the conditional
3093 around the definition of ttyname.
3095 1995-12-29 Richard Stallman <rms@gnu.org>
3098 Fix line numbers in #line commands.
3100 1995-12-29 Richard Stallman <rms@gnu.org>
3103 Fix line numbers in #line commands.
3105 1995-12-27 Richard Stallman <rms@gnu.org>
3107 * src/bison.s1 (YYPARSE_PARAM_DECL):
3108 In C++, make it always null.
3109 (YYPARSE_PARAM_ARG): New macro.
3110 (yyparse): Use YYPARSE_PARAM_ARG.
3112 1995-12-27 Richard Stallman <rms@gnu.org>
3114 * bison.simple (YYPARSE_PARAM_DECL):
3115 In C++, make it always null.
3116 (YYPARSE_PARAM_ARG): New macro.
3117 (yyparse): Use YYPARSE_PARAM_ARG.
3119 1995-11-29 Richard Stallman <rms@gnu.org>
3121 * doc/bison.texinfo:
3122 Describe literal string tokens, %raw, %no_lines, %token_table.
3124 1995-11-29 Daniel Hagerty <hag@gnu.org>
3126 * doc/bison.texinfo: Fixed update date
3128 1995-10-16 Richard Stallman <rms@gnu.org>
3130 * src/version.c: Version 1.25.
3132 1995-10-16 Richard Stallman <rms@gnu.org>
3134 * NEWS: *** empty log message ***
3136 1995-10-16 Richard Stallman <rms@gnu.org>
3138 * doc/bison.1, doc/bison.rnh:
3141 1995-10-15 Richard Stallman <rms@gnu.org>
3143 * src/vmsgetargs.c, src/getargs.c:
3144 Added -n, -k, and -raw switches.
3145 (noparserflag, toknumflag, rawtoknumflag): New variables.
3147 * src/symtab.h (SALIAS):
3148 New #define for adding aliases to %token.
3149 (struct bucket): Added `alias' field.
3151 * src/reduce.c (reduce_grammar):
3152 Revise error message.
3153 (print_notices): Remove final `.' from error message.
3155 * src/reader.c (reader_output_yylsp):
3157 (readgram): Use `#if 0' around code that accepted %command
3158 inside grammar rules: The documentation doesn't allow it,
3159 and it will fail since the %command processors scan for the next %.
3160 (parse_token_decl): Extended the %token
3161 declaration to allow a multi-character symbol as an alias.
3162 (parse_thong_decl): New function.
3163 (read_declarations): Added %thong declarations.
3164 (read_declarations): Handle NOOP to deal with allowing
3165 % declarations as another means to specify the flags.
3166 (readgram): Allow %prec prior to semantics embedded in a rule.
3167 (skip_to_char, read_declarations, copy_definition)
3168 (parse_token_decl, parse_start_decl, parse_type_decl)
3169 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3170 (get_type_name, copy_guard, copy_action, readgram)
3171 (get_type, packsymbols): Revised most error messages.
3172 Changed `fatal' to `warnxxx' to avoid aborting for error.
3173 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3174 (read_declarations): Improve the error message for
3175 an invalid character. Do not abort.
3176 (read_declarations, copy_guard, copy_action): Use
3177 printable_version to avoid unprintable characters in printed output.
3178 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3179 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3180 Allow the type of a non-terminal can be given
3181 more than once, as long as all specifications give the same type.
3184 (output_headers, output_trailers, output, output_gram)
3185 (output_rule_data): Implement noparserflag variable.
3186 Implement toknumflag variable.
3187 (output): Call reader_output_yylsp to output LTYPESTR.
3189 * src/main.c (main):
3190 If reader sees an error, don't process the grammar.
3191 (fatals): Updated to not use VARARGS1.
3192 (printable_version, int_to_string, warn, warni, warns, warnss)
3193 (warnsss): New error reporting functions. Avoid abort for error.
3196 Added THONG and NOOP for alias processing.
3197 Added SETOPT for the new code that allows setting options with %flags.
3200 Include getopt.h. Add some extern decls.
3201 (safegetc): New function to deal with EOF gracefully.
3202 (literalchar); new function to deal with reading \ escapes.
3203 (lex): Use literalchar.
3204 (lex): Implemented "..." tokens.
3205 (literalchar, lex, parse_percent_token): Made tokenbuffer
3206 always contain the token. This includes growing the token
3207 buffer while reading an integer.
3208 (parse_percent_token): Replaced if-else statement with percent_table.
3209 (parse_percent_token): Added % declarations as another
3210 way to specify the flags -n, -l, and -r. Also added hooks for
3211 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3212 major changes to files.c.
3213 (lex) Retain in the incoming stream a character following
3215 (skip_white_space, lex): Revised most error messages
3216 and changed fatal to warn to avoid aborting.
3217 (percent_table): Added %thong declarations.
3219 * src/gram.h: Comment changes.
3221 * src/files.c (openfiles, open_extra_files, done):
3223 and actfile file. Handle noparserflag. Both for -n switch.
3225 * src/conflicts.c (resolve_sr_conflict):
3226 Remove use of alloca.
3228 1995-06-01 Jim Meyering <meyering@gnu.org>
3230 * doc/bison.texinfo: *** empty log message ***
3232 1995-05-06 Richard Stallman <rms@gnu.org>
3234 * src/bison.s1: Comment change.
3236 1995-05-06 Richard Stallman <rms@gnu.org>
3238 * bison.simple: Comment change.
3240 1995-05-03 Richard Stallman <rms@gnu.org>
3242 * src/version.c: Version now 1.24.
3244 * src/bison.s1: Change distribution terms.
3246 * src/version.c: Version now 1.23.
3248 1995-05-03 Richard Stallman <rms@gnu.org>
3250 * doc/bison.texinfo:
3251 Rewrite "Conditions for Using Bison".
3252 Update version to 1.24.
3254 1995-05-03 Richard Stallman <rms@gnu.org>
3256 * bison.simple: Change distribution terms.
3258 1995-02-23 Richard Stallman <rms@gnu.org>
3260 * src/files.c: Test __VMS_POSIX as well as VMS.
3262 1995-02-14 Jim Meyering <meyering@gnu.org>
3264 * src/bison.s1 (__yy_memcpy):
3265 Renamed from __yy_bcopy to avoid
3266 confusion. Reverse FROM and TO arguments to be consistent with
3269 1995-02-14 Jim Meyering <meyering@gnu.org>
3271 * bison.simple (__yy_memcpy):
3272 Renamed from __yy_bcopy to avoid
3273 confusion. Reverse FROM and TO arguments to be consistent with
3276 1994-11-10 David J. MacKenzie <djm@gnu.org>
3282 * Makefile.in (DISTFILES): Include NEWS.
3284 * Makefile.in (DISTFILES):
3285 Include install-sh, not install.sh.
3287 * configure.in: Update to Autoconf v2 macro names.
3289 1994-10-05 David J. MacKenzie <djm@gnu.org>
3291 * Makefile.in: fix typo
3293 * Makefile.in (prefix, exec_prefix):
3294 Let configure set them.
3296 1994-09-28 David J. MacKenzie <djm@gnu.org>
3298 * Makefile.in: Set datadir to $(prefix)/share.
3300 1994-09-15 Richard Stallman <rms@gnu.org>
3303 Update copyright notice and GPL version.
3305 1994-09-15 Richard Stallman <rms@gnu.org>
3308 Update copyright notice and GPL version.
3310 1994-07-12 Richard Stallman <rms@gnu.org>
3312 * src/reduce.c, src/reader.c:
3315 1994-05-05 David J. MacKenzie <djm@gnu.org>
3317 * Makefile.in: entered into RCS
3319 1994-03-26 Richard Stallman <rms@gnu.org>
3321 * src/bison.s1: entered into RCS
3323 1994-03-26 Richard Stallman <rms@gnu.org>
3325 * bison.simple: entered into RCS
3327 1994-03-25 Richard Stallman <rms@gnu.org>
3329 * src/main.c: entered into RCS
3331 1994-03-24 Richard Stallman <rms@gnu.org>
3333 * src/conflicts.c: entered into RCS
3335 1994-01-02 Richard Stallman <rms@gnu.org>
3337 * Makefile.in: *** empty log message ***
3339 1993-11-21 Richard Stallman <rms@gnu.org>
3341 * src/bison.s1: *** empty log message ***
3343 1993-11-21 Richard Stallman <rms@gnu.org>
3345 * doc/bison.texinfo: entered into RCS
3347 * doc/bison.texinfo: *** empty log message ***
3349 1993-11-21 Richard Stallman <rms@gnu.org>
3351 * bison.simple: *** empty log message ***
3353 1993-10-25 David J. MacKenzie <djm@gnu.org>
3355 * doc/bison.texinfo: *** empty log message ***
3357 1993-10-19 Richard Stallman <rms@gnu.org>
3359 * src/bison.s1: *** empty log message ***
3361 1993-10-19 Richard Stallman <rms@gnu.org>
3363 * bison.simple: *** empty log message ***
3365 1993-10-14 Richard Stallman <rms@gnu.org>
3367 * src/bison.s1: *** empty log message ***
3369 1993-10-14 Richard Stallman <rms@gnu.org>
3371 * bison.simple: *** empty log message ***
3373 1993-09-14 David J. MacKenzie <djm@gnu.org>
3375 * doc/bison.texinfo: *** empty log message ***
3377 1993-09-13 Noah Friedman <friedman@gnu.org>
3379 * Makefile.in: *** empty log message ***
3381 1993-09-10 Richard Stallman <rms@gnu.org>
3383 * src/conflicts.c: *** empty log message ***
3385 * src/system.h: entered into RCS
3387 1993-09-10 Richard Stallman <rms@gnu.org>
3389 * doc/bison.1: entered into RCS
3391 1993-09-06 Noah Friedman <friedman@gnu.org>
3393 * src/version.c: entered into RCS
3395 1993-09-06 Noah Friedman <friedman@gnu.org>
3397 * Makefile.in: *** empty log message ***
3399 1993-07-30 David J. MacKenzie <djm@gnu.org>
3401 * Makefile.in: *** empty log message ***
3403 1993-07-24 Richard Stallman <rms@gnu.org>
3405 * src/bison.s1: *** empty log message ***
3407 1993-07-24 Richard Stallman <rms@gnu.org>
3409 * bison.simple: *** empty log message ***
3411 1993-07-08 David J. MacKenzie <djm@gnu.org>
3413 * Makefile.in: *** empty log message ***
3415 1993-07-04 Richard Stallman <rms@gnu.org>
3417 * src/bison.s1: *** empty log message ***
3419 1993-07-04 Richard Stallman <rms@gnu.org>
3421 * bison.simple: *** empty log message ***
3423 1993-06-26 David J. MacKenzie <djm@gnu.org>
3425 * src/getargs.c: entered into RCS
3427 1993-06-26 David J. MacKenzie <djm@gnu.org>
3429 * doc/bison.texinfo: *** empty log message ***
3431 * doc/bison.1: New file.
3433 1993-06-25 Richard Stallman <rms@gnu.org>
3435 * src/getargs.c: New file.
3437 1993-06-16 Richard Stallman <rms@gnu.org>
3439 * src/bison.s1: *** empty log message ***
3441 1993-06-16 Richard Stallman <rms@gnu.org>
3443 * bison.simple: *** empty log message ***
3445 1993-06-03 Richard Stallman <rms@gnu.org>
3447 * src/bison.s1: New file.
3449 1993-06-03 Richard Stallman <rms@gnu.org>
3451 * doc/bison.texinfo: *** empty log message ***
3453 1993-06-03 Richard Stallman <rms@gnu.org>
3455 * bison.simple: New file.
3457 1993-05-19 Richard Stallman <rms@gnu.org>
3459 * doc/bison.texinfo: New file.
3461 1993-05-07 Noah Friedman <friedman@gnu.org>
3463 * Makefile.in: *** empty log message ***
3465 1993-04-28 Noah Friedman <friedman@gnu.org>
3467 * src/reader.c: *** empty log message ***
3469 1993-04-23 Noah Friedman <friedman@gnu.org>
3471 * src/alloc.h: entered into RCS
3473 1993-04-20 David J. MacKenzie <djm@gnu.org>
3475 * src/version.c: *** empty log message ***
3477 * src/files.c, src/allocate.c:
3480 * src/reader.c: *** empty log message ***
3482 * src/lex.c: entered into RCS
3484 * src/conflicts.c: New file.
3486 * src/symtab.c: entered into RCS
3488 * src/alloc.h: New file.
3490 * src/LR0.c: entered into RCS
3492 1993-04-18 Noah Friedman <friedman@gnu.org>
3494 * src/reader.c: New file.
3496 * src/version.c: *** empty log message ***
3498 1993-04-18 Noah Friedman <friedman@gnu.org>
3500 * Makefile.in: *** empty log message ***
3502 1993-04-17 Noah Friedman <friedman@gnu.org>
3504 * Makefile.in: *** empty log message ***
3506 1993-04-15 Richard Stallman <rms@gnu.org>
3508 * src/main.c, src/files.c:
3511 1993-04-15 Noah Friedman <friedman@gnu.org>
3513 * configure.in: entered into RCS
3515 * configure.in: *** empty log message ***
3517 * configure.in: New file.
3519 1993-04-14 Richard Stallman <rms@gnu.org>
3521 * Makefile.in: New file.
3523 1993-04-13 Richard Stallman <rms@gnu.org>
3525 * src/version.c: New file.
3527 1993-03-25 Richard Stallman <rms@gnu.org>
3529 * src/output.c: entered into RCS
3531 1992-09-25 Richard Stallman <rms@gnu.org>
3533 * configure.bat: entered into RCS
3535 1992-06-22 Richard Stallman <rms@gnu.org>
3537 * src/vmsgetargs.c: entered into RCS
3539 1992-06-22 Richard Stallman <rms@gnu.org>
3541 * doc/bison.rnh: entered into RCS
3543 1992-04-20 David J. MacKenzie <djm@gnu.org>
3545 * README: entered into RCS
3547 1992-01-22 Richard Stallman <rms@gnu.org>
3549 * src/machine.h: entered into RCS
3551 1991-12-21 Richard Stallman <rms@gnu.org>
3553 * src/lalr.c, src/closure.c:
3556 1991-12-20 Richard Stallman <rms@gnu.org>
3558 * src/state.h: entered into RCS
3560 1991-12-18 Richard Stallman <rms@gnu.org>
3562 * src/print.c, src/nullable.c, src/derives.c:
3565 1991-11-03 David J. MacKenzie <djm@gnu.org>
3567 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3570 1988-09-09 Richard Stallman <rms@gnu.org>
3572 * src/bison.hairy: entered into RCS
3574 1987-12-16 Richard Stallman <rms@gnu.org>
3576 * REFERENCES: entered into RCS