1 2001-11-20 Akim Demaille <akim@epita.fr>
4 * configure.in (ALL_LINGUAS): Adjust.
5 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
6 longer contains strings to translate.
8 2001-11-19 Akim Demaille <akim@epita.fr>
10 * src/conflicts.c (conflicts_print): Add a missing \n.
12 2001-11-19 Akim Demaille <akim@epita.fr>
14 * src/nullable.c (nullable_print): New.
15 (set_nullable): Call it when tracing.
16 Better locality of variables.
18 2001-11-19 Akim Demaille <akim@epita.fr>
20 * src/print.c (print_actions): Better locality of variables.
22 2001-11-19 Akim Demaille <akim@epita.fr>
24 * src/derives.c (print_derives): Fix and enrich.
25 * src/closure.c (print_fderives): Likewise.
27 2001-11-19 Akim Demaille <akim@epita.fr>
29 * src/closure.c (itemsetend): Remove, replaced with...
32 2001-11-19 Akim Demaille <akim@epita.fr>
34 * src/LR0.c (kernel_end): Remove, replaced with...
37 2001-11-19 Akim Demaille <akim@epita.fr>
39 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
42 2001-11-19 Akim Demaille <akim@epita.fr>
44 * src/closure.c (closure): Use arrays instead of pointers to clarify.
46 2001-11-19 Akim Demaille <akim@epita.fr>
48 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
50 * src/LR0.c: Likewise.
51 (allocate_itemsets): Use arrays instead of pointers to clarify.
53 2001-11-19 Akim Demaille <akim@epita.fr>
55 * src/getargs.c (statistics_flag): Replace with...
57 (longopts): Accept --trace instead of --statistics.
58 * src/getargs.h, src/options.c: Adjust.
59 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
60 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
62 2001-11-19 Akim Demaille <akim@epita.fr>
64 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
65 pointers to clarify the code.
66 (save_reductions, save_shifts): Factor common parts of alternatives.
68 2001-11-19 Akim Demaille <akim@epita.fr>
70 * src/LR0.c (new_state, get_state): Complete TRACE code.
71 * src/closure.c: Include `reader.h' to get `tags', needed by the
73 Rename the conditional DEBUG as TRACE.
74 Output consistently TRACEs to stderr, not stdout.
75 * src/derives.c: Likewise.
76 * src/reduce.c: (inaccessable_symbols): Using if is better style
78 Use `#if TRACE' instead of `#if 0' for tracing code.
80 2001-11-19 Akim Demaille <akim@epita.fr>
82 * src/system.h (LIST_FREE, shortcpy): New.
83 * src/LR0.c: Use them.
84 * src/output.c (free_itemsets, free_reductions, free_shifts):
85 Remove, replaced by LIST_FREE.
87 2001-11-19 Akim Demaille <akim@epita.fr>
89 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
90 (REDUCTIONS_ALLOC): New.
91 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
94 2001-11-19 Akim Demaille <akim@epita.fr>
96 * src/LR0.c (new_state): Complete trace code.
97 * src/nullable.c (set_nullable): Don't translate traces.
99 2001-11-19 Akim Demaille <akim@epita.fr>
101 * src/print_graph.c (print_core): Better locality of variables.
102 * src/print.c (print_core): Likewise.
104 2001-11-19 Akim Demaille <akim@epita.fr>
106 * src/vcg.c: You do the output, so you are responsible of the
107 handling of VCG syntax, in particular: use quotearg.
108 * src/print_graph.c: Don't.
109 (print_actions): Don't output the actions as part of the nodes,
110 since that's the job of the edges.
111 (print_state): Don't output by hand: fill the node description,
112 and ask for its output.
114 2001-11-19 Akim Demaille <akim@epita.fr>
116 * src/bison.simple (yyparse): When verbosely reporting an error,
117 no longer put additional quotes around token names.
118 * tests/calc.at: Adjust.
120 2001-11-19 Akim Demaille <akim@epita.fr>
122 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
123 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
124 * src/output.c: Adjust.
126 2001-11-19 Akim Demaille <akim@epita.fr>
128 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
130 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
132 2001-11-19 Akim Demaille <akim@epita.fr>
134 * src/gram.h (rule_t): New.
136 (rrhs, rlhs): Remove, part of state_t.
137 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
138 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
139 * src/reader.c, src/reduce.c: Adjust.
141 2001-11-19 Akim Demaille <akim@epita.fr>
143 * src/reader.c (symbols_output): New, extracted from...
147 2001-11-19 Akim Demaille <akim@epita.fr>
149 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
150 (maxrhs): this new function.
152 2001-11-19 Akim Demaille <akim@epita.fr>
154 * src/lalr.c (F): New macro to access the variable F.
157 2001-11-19 Akim Demaille <akim@epita.fr>
159 * src/lalr.h (LA): New macro to access the variable LA.
160 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
161 * src/lalr.c: Adjust.
163 2001-11-19 Akim Demaille <akim@epita.fr>
165 * src/lalr.c (initialize_LA): Only initialize LA. Let...
166 (set_state_table): handle the `lookaheads' members.
168 2001-11-19 Akim Demaille <akim@epita.fr>
170 * src/lalr.h (lookaheads): Removed array, whose contents is now
172 (state_t): this structure.
173 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
176 2001-11-19 Akim Demaille <akim@epita.fr>
178 * src/lalr.h (consistent): Removed array, whose contents is now
180 (state_t): this structure.
181 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
184 2001-11-19 Akim Demaille <akim@epita.fr>
186 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
187 contents are now members of...
188 (state_t): this structure.
189 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
192 2001-11-19 Akim Demaille <akim@epita.fr>
194 * src/lalr.h (state_t): New.
195 (state_table): Be a state_t * instead of a core **.
196 (accessing_symbol): Remove, part of state_t.
197 * src/lalr.c: Adjust.
198 (set_accessing_symbol): Merge into...
199 (set_state_table): this.
200 * src/print_graph.c, src/conflicts.c: Adjust.
202 2001-11-14 Akim Demaille <akim@epita.fr>
204 * tests/calc.at, tests/output.at, tests/regression.at,
205 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
206 now the tests are run in private dirs, therefore AC_CLEANUP and
207 family can be simplified to 0-ary.
208 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
209 use abs. path to find config.h.
210 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
211 stderr, there can be way too much random noise.
212 Instead pass -Werror to GCC and rely on the exit status.
213 Reported by Wolfram Wagner.
215 2001-11-14 Akim Demaille <akim@epita.fr>
217 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
218 defined only if yyoverflow is defined, to avoid `warning: unused
220 Reported by The Test Suite.
222 2001-11-14 Akim Demaille <akim@epita.fr>
224 * src/print.c: Include reduce.h.
225 Reported by Hans Aberg.
227 2001-11-14 Akim Demaille <akim@epita.fr>
229 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
230 Revert a previous patch: these are really const.
231 * src/conflicts.c (conflict_report): Additional useless pair of
232 braces to pacify GCC's warnings for `if () if () {} else {}'.
233 * src/lex.c (parse_percent_token): Replace equal_offset with
236 Be sure to strdup `arg' when used, since there is no reason for
237 token_buffer not to change.
239 2001-11-14 Akim Demaille <akim@epita.fr>
241 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
243 * src/main.c (main): Use them.
244 Suggested by Hans Aberg.
246 2001-11-12 Akim Demaille <akim@epita.fr>
248 * src/system.h (ngettext): Now that we use ngettext, be sure to
249 provide a default definition when NLS are not used.
251 2001-11-12 Akim Demaille <akim@epita.fr>
253 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
254 Use @kbd to denote user input.
255 (Language and Grammar): ANSIfy the example.
256 Adjust its layout for info/notinfo.
257 (Location Tracking Calc): Output error messages to stderr.
258 Output locations in a more GNUtically correct way.
259 Fix a couple of Englishos.
260 Adjust @group/@end group pairs.
262 2001-11-12 Akim Demaille <akim@epita.fr>
264 %expext was not functioning at all.
266 * src/conflicts.c (expected_conflicts): Set to -1.
267 (conflict_report): Use ngettext.
268 (conflicts_print): Check %expect and make its violation an error.
269 * doc/bison.texinfo (Expect Decl): Adjust.
270 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
271 * tests/regression.at (%expect not enough, %expect right)
272 (%expect too much): New.
274 2001-11-12 Akim Demaille <akim@epita.fr>
276 * tests/regression.at (Conflicts): Rename as...
277 (Unresolved SR Conflicts): this.
278 (Solved SR Conflicts): New.
280 2001-11-12 Akim Demaille <akim@epita.fr>
282 * src/reduce.c (print_results): Rename as...
283 (reduce_output): This.
284 Output to OUT, passed as argument, instead of output_obstack.
285 (dump_grammar): Likewise.
288 (reduce_grammar): No longer call reduce_output, since...
289 * src/print.c (print_results): do it.
290 * src/main.c (main): Call reduce_free;
292 2001-11-12 Akim Demaille <akim@epita.fr>
294 * src/conflicts.c (print_reductions): Accept OUT as argument.
295 Output to it, not to output_obstack.
296 * src/print.c (print_actions): Adjust.
298 2001-11-12 Akim Demaille <akim@epita.fr>
300 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
301 the result instead of using...
302 (src_total, rrc_total, src_count, rrc_count): Remove.
303 (any_conflicts): Remove.
304 (print_conflicts): Split into...
305 (conflicts_print, conflicts_output): New.
306 * src/conflicts.h: Adjust.
307 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
308 * src/print.c (print_grammar): Issue `\n' between two rules.
309 * tests/regression.at (Conflicts): New.
310 Reported by Tom Lane.
312 2001-11-12 Akim Demaille <akim@epita.fr>
314 * tests/regression.at (Invalid input): Remove, duplicate with
315 ``Invalid input: 1''.
317 2001-11-12 Akim Demaille <akim@epita.fr>
319 * tests/torture.at (AT_DATA_STACK_TORTURE)
320 (Exploding the Stack Size with Alloca)
321 (Exploding the Stack Size with Malloc): New.
323 2001-11-12 Akim Demaille <akim@epita.fr>
325 * src/bison.simple (YYSTACK_REALLOC): New.
326 (yyparse) [!yyoverflow]: Use it and free the old stack.
327 Reported by Per Allansson.
329 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
331 * src/bison.simple: Define type yystype instead of YYSTYPE, and
332 define CPP macro, which substitute YYSTYPE by yystype.
333 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
334 with yyltype/YYLTYPE. This allows inclusion of the generated
335 header within the parser if the compiler, such as GGC, accepts
336 multiple equivalent #defines.
339 2001-11-05 Akim Demaille <akim@epita.fr>
341 * src/reader.c (symbols_output): New, extracted from...
345 2001-11-05 Akim Demaille <akim@epita.fr>
347 * src/lex.c (parse_percent_token): s/quotearg/quote/.
349 2001-11-05 Akim Demaille <akim@epita.fr>
351 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
354 2001-11-05 Akim Demaille <akim@epita.fr>
356 * src/options.h (struct option_table_struct): set_flags is void*.
357 * src/options.c (longopts): Support `--output' and `%output'.
359 * src/lex.h (tok_setopt): Remove, replaced with...
360 (tok_intopt, tok_stropt): these new guys.
361 * src/lex.c (getopt.h): Not needed.
362 (token_buffer, unlexed_token_buffer): Not const.
363 (percent_table): Promote `-' over `_' in directive names.
364 Active `%name-prefix', `file-prefix', and `output'.
365 (parse_percent_token): Accept possible arguments to directives.
366 Promote `-' over `_' in directive names.
368 2001-11-04 Akim Demaille <akim@epita.fr>
370 * doc/bison.texinfo (Decl Summary): Split the list into
371 `directives for grammars' and `directives for bison'.
373 Add description of `%name-prefix', `file-prefix', and `output'.
374 Promote `-' over `_' in directive names.
375 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
376 Simplify the description of `--name-prefix'.
377 Promote `-' over `_' in directive names.
378 Promote `--output' over `--output-file'.
379 Fix the description of `--defines'.
380 * tests/output.at: Exercise %file-prefix and %output.
382 2001-11-02 Akim Demaille <akim@epita.fr>
384 * doc/refcard.tex: Update.
386 2001-11-02 Akim Demaille <akim@epita.fr>
388 * src/symtab.h (SUNDEF): New.
389 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
390 stand for `uninitialized', instead of 0.
391 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
392 * src/lex.c (lex): Adjust.
394 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
396 Let yylex return it instead of a plain 0.
397 Reported by Dick Streefland.
399 2001-11-02 Akim Demaille <akim@epita.fr>
401 * tests/regression.at (Mixing %token styles): New test.
403 2001-11-02 Akim Demaille <akim@epita.fr>
405 * src/reader.c (parse_thong_decl): Formatting changes.
406 (token_translations_init): New, extracted from...
410 2001-11-01 Akim Demaille <akim@epita.fr>
412 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
413 Check that `9foo.y' produces correct cpp guards.
414 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
418 2001-11-01 Akim Demaille <akim@epita.fr>
420 * tests/regression.at (Invalid input: 2): New.
421 * src/lex.c (unlexed_token_buffer): New.
422 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
426 2001-11-01 Akim Demaille <akim@epita.fr>
428 * tests/calc.at: Catch up with 1.30.
429 * configure.in: Bump to 1.49a.
430 Adjust to newer Autotest.
432 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
434 * src/conflicts.c: Move global variables rrc_total and src_total ...
435 (print_conflicts): here.
436 * src/output.c (output): Free global variable user_toknums.
437 * src/lex.c (token_obstack): Become static.
439 2001-10-18 Akim Demaille <akim@epita.fr>
441 * tests/atlocal.in (GCC): Add.
442 * tests/calc.at: s/m4_match/m4_bmatch/.
443 s/m4_patsubst/m4_bpatsubst/.
444 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
445 * configure.in: AC_SUBST(GCC).
447 2001-10-14 Marc Autret <autret_m@epita.fr>
449 * src/options.c (create_long_option_table): Fix.
451 2001-10-10 Akim Demaille <akim@epita.fr>
453 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
455 2001-10-04 Akim Demaille <akim@epita.fr>
457 * src/reader.c (parse_union_decl): Push the caracters in
458 union_obstack, not attrs_obstack.
460 2001-10-04 Akim Demaille <akim@epita.fr>
462 Merge in the branch 1.29.
464 * src/reader.c (packsymbols): Use a temporary obstack for
465 `%%tokendef', since output_stack is already used elsewhere.
467 2001-10-02 Akim Demaille <akim@epita.fr>
471 2001-10-02 Akim Demaille <akim@epita.fr>
475 2001-10-02 Akim Demaille <akim@epita.fr>
477 * tests/regression.at (Invalid CPP headers): New.
478 From Alexander Belopolsky.
479 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
481 2001-10-02 Akim Demaille <akim@epita.fr>
483 * tests/regression.at (Invalid input): New.
484 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
487 2001-10-02 Akim Demaille <akim@epita.fr>
489 * tests/calc.at: Now that --debug works, the tests must be adjusted.
491 2001-10-02 Akim Demaille <akim@epita.fr>
493 * src/output.c (output_parser): Assert `skeleton'.
494 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
498 2001-10-01 Marc Autret <autret_m@epita.fr>
500 * src/lex.h: Echo modifications.
501 * src/lex.c (unlex): Parameter is now token_t.
504 2001-10-01 Marc Autret <autret_m@epita.fr>
506 * src/main.c: Include lex.h.
509 2001-09-29 Akim Demaille <akim@epita.fr>
511 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
513 2001-09-28 Akim Demaille <akim@epita.fr>
515 * tests/testsuite.at: Update to newer Autotest.
516 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
518 2001-09-27 Akim Demaille <akim@epita.fr>
520 Position independent wrapper.
522 * tests/bison: Remove.
523 * tests/bison.in: New.
524 * configure.in: Adjust.
526 2001-09-27 Paul Eggert <eggert@twinsun.com>
528 Port quotearg fixes from tar 1.13.24.
530 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
532 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
533 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
535 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
536 * m4/mbrtowc.m4: New file.
537 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
538 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
540 2001-09-27 Akim Demaille <akim@epita.fr>
544 2001-09-27 Akim Demaille <akim@epita.fr>
548 2001-09-25 Akim Demaille <akim@epita.fr>
550 * src/system.h: Include `xalloc.h'.
551 Remove it from the C files.
552 * src/files.c (output_files): Free the obstacks.
553 * src/lex.c (init_lex): Rename as...
556 * src/main.c (main): Use it.
558 2001-09-24 Marc Autret <autret_m@epita.fr>
560 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
561 to output informations in fout (FILE*).
562 (open_graph, close_graph): Likewise.
563 (output_graph, output_edge, output_node): Likewise.
564 * src/vcg.h: Update function prototypes.
565 * src/print_graph.c (print_graph): Open output graph file.
566 (print_actions): Adjust.
567 * src/files.h: Remove extern declaration.
568 * src/files.c: Remove graph_obstack declaration.
569 (open_files): Remove graph_obstack initialization.
570 (output_files): Remove graph_obstack saving.
572 2001-09-24 Marc Autret <autret_m@epita.fr>
574 * src/files.c (compute_output_file_names): Fix.
576 2001-09-24 Marc Autret <autret_m@epita.fr>,
577 Akim Demaille <akim@epita.fr>
579 * src/reader.c (reader): Remove call to free_symtab ().
580 * src/main.c (main): Call it here.
582 * src/conflicts.c (initialize_conflicts): Rename as...
583 (solve_conflicts): this.
584 * src/print.c (print_core, print_actions, print_state)
585 (print_grammar): Dump to a file instead a `output_obstack'.
586 (print_results): Dump `output_obstack', and then proceed with the
588 * src/files.c (compute_output_file_names, close_files): New.
589 (output_files): Adjust.
590 * src/main.c (main): Adjust.
592 2001-09-23 Marc Autret <autret_m@epita.fr>
594 * src/files.c (compute_header_macro): Computes header macro name
595 from spec_defines_file when given.
597 2001-09-23 Marc Autret <autret_m@epita.fr>
599 * src/files.c (output_files): Add default extensions.
601 2001-09-22 Akim Demaille <akim@epita.fr>
603 * src/conflicts.c (finalize_conflicts): Rename as...
604 (free_conflicts): this.
606 2001-09-22 Akim Demaille <akim@epita.fr>
608 * src/gram.c (gram_free): Rename back as...
610 (output_token_translations): Free `token_translations'.
611 * src/symtab.c (free_symtab): Free the tag field.
613 2001-09-22 Akim Demaille <akim@epita.fr>
615 Remove `translations' as it is always set to true.
617 * src/gram.h: Adjust.
618 * src/reader.c (packsymbols, parse_token_decl): Adjust
619 * src/print.c (print_grammar): Adjust.
620 * src/output.c (output_token_translations): Adjust.
621 * src/lex.c (lex): Adjust.
622 * src/gram.c: Be sure the set pointers to NULL.
623 (dummy): Rename as...
626 2001-09-22 Akim Demaille <akim@epita.fr>
628 * configure.in: Invoke AM_LIB_DMALLOC.
629 * src/system.h: Use dmalloc.
630 * src/LR0.c: Be sure to have pointers initialized to NULL.
631 (allocate_itemsets): Allocate kernel_items only if needed.
633 2001-09-22 Akim Demaille <akim@epita.fr>
635 * configure.in: Bump to 1.29b.
636 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
637 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
638 need xmalloc.c in calc.y.
641 2001-09-21 Akim Demaille <akim@epita.fr>
644 * Makefile.maint, config/config.guess, config/config.sub,
645 * config/missing: Update from masters.
646 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
648 * configure.in (ALL_LINGUAS): Add `tr'.
650 2001-09-21 Akim Demaille <akim@epita.fr>
652 * tests/Makefile.am (package.m4): Move to...
653 ($(srcdir)/$(TESTSUITE)): here.
655 2001-09-20 Akim Demaille <akim@epita.fr>
657 * src/complain.c: No longer try to be standalone: use system.h.
658 Don't assume __STDC__ is defined to 1. Just test if it is defined.
659 * src/complain.h: Likewise.
660 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
661 Remove the unused variable `n'.
662 From Albert Chin-A-Young.
664 2001-09-18 Marc Autret <autret_m@epita.fr>
666 * doc/bison.1: Update.
667 * doc/bison.texinfo (Bison Options): Update --defines and --graph
669 (Option Cross Key): Update.
672 2001-09-18 Marc Autret <autret_m@epita.fr>
674 * tests/regression.at: New test (comment in %union).
676 2001-09-18 Marc Autret <autret_m@epita.fr>
678 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
680 Reported by Keith Browne.
682 2001-09-18 Marc Autret <autret_m@epita.fr>
684 * tests/output.at: Add tests for --defines and --graph.
686 2001-09-18 Marc Autret <autret_m@epita.fr>
688 * tests/output.at: Removes tests of %{header,src}_extension features.
690 2001-09-18 Akim Demaille <akim@epita.fr>
692 * tests/Makefile.am (package.m4): New.
693 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
694 (_AT_CHECK_CALC_ERROR): Likewise.
695 Factor the `, ' part of verbose error messages.
697 2001-09-18 Marc Autret <autret_m@epita.fr>
699 * src/getargs.c (longopts): Declare --defines and --graph as options
700 with optional arguments.
701 * src/files.h: Add extern declarations.
702 * src/files.c (spec_graph_file, spec_defines_file): New.
703 (output_files): Update.
704 Remove CPP-outed code.
706 2001-09-18 Marc Autret <autret_m@epita.fr>
708 Turn off %{source,header}_extension feature.
710 * src/files.c (compute_exts_from_gf): Update.
711 (compute_exts_from_src): Update.
712 (output_files): CPP-out useless code.
713 * src/files.h: Remove {header,source}_extension extern declarations.
714 * src/reader.c (parse_dquoted_param): CPP-out.
715 (parse_header_extension_decl): Remove.
716 (parse_source_extension_decl): Remove.
717 (read_declarations): Remove cases tok_{hdrext,srcext}.
718 * src/lex.c (percent_table): Remove {header,source}_extension entries.
719 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
721 2001-09-10 Akim Demaille <akim@epita.fr>
723 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
724 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
725 (AT_CHECK_OUTPUT): this.
726 Merely check ls' exit status, its output is useless.
728 2001-09-10 Akim Demaille <akim@epita.fr>
730 * tests/calc.at: Use m4_match.
731 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
733 2001-09-10 Marc Autret <autret_m@epita.fr>,
734 Akim Demaille <akim@epita.fr>
736 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
738 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
740 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
741 * src/lex.h: Adjust prototype.
742 (token_t): Add `tok_undef'.
743 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
744 (parse_percent_token): Now returns token_t.
745 Add default statement in switch.
746 (lex): Separate `c' as an input variable, from the token_t result
748 (unlexed): Is a token_t.
750 2001-09-10 Akim Demaille <akim@epita.fr>
752 * configure.in: Bump to 1.29a.
754 2001-09-07 Akim Demaille <akim@epita.fr>
758 2001-08-30 Akim Demaille <akim@epita.fr>
760 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
761 * m4/atconfig.m4: Remove.
762 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
764 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
765 m4_if, m4_patsubst, and m4_regexp.
766 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
767 `input' file instead of echo.
769 2001-08-29 Akim Demaille <akim@epita.fr>
773 2001-08-29 Akim Demaille <akim@epita.fr>
777 2001-08-29 Paul Eggert <eggert@twinsun.com>
779 * src/bison.simple (yyparse): Don't take the address of an
780 item before the start of an array, as that doesn't conform to
783 2001-08-29 Robert Anisko <anisko_r@epita.fr>
785 * doc/bison.texinfo (Location Tracking Calc): New node.
787 2001-08-29 Paul Eggert <eggert@twinsun.com>
789 * src/output.c (output): Do not define const, as this now
790 causes more problems than it cures.
792 2001-08-29 Akim Demaille <akim@epita.fr>
794 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
796 Be sure to tag the `detailmenu'.
798 2001-08-29 Akim Demaille <akim@epita.fr>
800 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
801 download in a tmp dir.
803 2001-08-28 Marc Autret <autret_m@epita.fr>
805 * config/depcomp: New file.
807 2001-08-28 Marc Autret <autret_m@epita.fr>
809 * doc/bison.1 (mandoc): Adjust.
810 From Juan Manuel Guerrero.
812 2001-08-28 Marc Autret <autret_m@epita.fr>
814 * src/print_graph.c (print_state): Fix.
816 2001-08-27 Marc Autret <autret_m@epita.fr>
818 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
820 Echo modifications to the functions prototypes.
821 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
823 2001-08-27 Marc Autret <autret_m@epita.fr>
825 * src/vcg.c: Include `xalloc.h'.
826 (add_colorentry): New.
827 (add_classname): New.
829 * src/vcg.h: Add new prototypes.
831 2001-08-27 Akim Demaille <akim@epita.fr>
833 * Makefile.maint: Sync. again with CVS Autoconf.
835 2001-08-27 Akim Demaille <akim@epita.fr>
837 * Makefile.maint: Formatting changes.
838 (po-update, cvs-update, update): New targets.
841 2001-08-27 Akim Demaille <akim@epita.fr>
843 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
844 * Makefile.maint: Sync. with CVS Autoconf.
846 2001-08-27 Marc Autret <autret_m@epita.fr>
848 * src/vcg.h (struct infoname_s): New.
849 (struct colorentry_s): New.
850 (graph_s): New fields {vertical,horizontal}_order in structure.
851 Add `infoname' field.
852 Add `colorentry' field;
853 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
854 (G_HORIZONTAL_ORDER): New.
857 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
858 Add output of `infoname'.
859 Add output of `colorentry'.
861 2001-08-27 Marc Autret <autret_m@epita.fr>
863 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
864 This one shadowed a global parameter.
866 2001-08-24 Marc Autret <autret_m@epita.fr>
868 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
869 instead of `unsigned'.
870 (print_state): Do not call obstack_object_size () in obstack_grow ()
871 to avoid macro variables shadowing.
873 2001-08-23 Marc Autret <autret_m@epita.fr>
875 * src/lex.c (percent_table): Typo: s/naem/name/.
877 Normalize new options declarations.
879 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
881 * tests/suite.at: Exercise %header_extension and %source_extension.
883 2001-08-16 Marc Autret <autret_m@epita.fr>
885 * src/reader.c (parse_dquoted_param): New.
886 (parse_header_extension_decl): Use it.
887 (parse_source_extension_decl): Likewise.
889 2001-08-16 Marc Autret <autret_m@epita.fr>
891 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
892 (get_xxxx_str): Use assert () instead of complain ().
893 Remove return invokations in default cases.
894 (get_decision_str): Modify default behaviour. Remove second argument.
895 Echo modifications on calls.
898 2001-08-16 Marc Autret <autret_m@epita.fr>
900 * src/getargs.c (usage): Update with ``-g, --graph''.
902 2001-08-16 Marc Autret <autret_m@epita.fr>
904 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
905 (Option Cross Key): Likewise.
906 * doc/bison.1: Update.
908 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
910 * src/output.c (output_master_parser): Don't finish action_obstack.
911 (output_parser): Don't care about the muscle action, here.
912 (prepare): Copy the action_obstack in the action muscle.
913 (output): Free action_obstack.
915 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
917 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
918 will contain `%union' declaration.
919 (parse_union_decl): Delete #line directive output.
920 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
921 informations about %union.
922 (parse_union_decl): Copy the union_obstack in the muscle stype.
923 * src/bison.simple: Add new #line directive.
924 Add typdef %%stype YYSTYPE.
926 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
928 * src/bison.simple: Add new `#line' directive.
930 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
932 * src/bison.simple: New `#line' directive.
933 * src/output.c (output_parser): Support new dynamic muscle input_line.
935 2001-09-22 Marc Autret <autret_m@epita.fr>
937 * src/output.c (output_master_parser): New.
938 (output_parser): Be more re-entrant.
940 2001-09-21 Marc Autret <autret_m@epita.fr>
942 * src/reader.c (copy_definition, parse_union_decl): Update and use
944 (copy_action): Likewise.
945 Use obstack_1grow ().
946 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
948 2001-09-21 Marc Autret <autret_m@epita.fr>
950 * src/options.c (option_table): Adjust.
951 * src/lex.c (parse_percent_token): Fix.
953 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
955 * src/options.c (symtab.h): Include it, need by lex.h.
957 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
959 * src/lex.c (parse_percent_token): Change type of variable `tx', which
960 is now an option_table_struct*.
961 (option_strcmp): New function option_strcmp.
962 (parse_percent_token): Call option_strcmp.
963 * src/getargs.c (xalloc.h, options.h): Include it.
964 (getargs): Call create_long_option_table.
965 (getargs): Free longopts at the end of the function.
966 (shortopts): Move in options.c.
967 * src/options.c (create_long_option_table): New function. Convert
968 information from option_table to option structure.
969 * src/reader.c (options.h): Include it.
971 * src/Makefile.am: Adjust.
972 * src/options.c (option_table): Create from longopts and percent_table.
973 * src/getargs.c (longopts): Delete.
974 * src/lex.c (struct percent_table_struct): Delete.
975 (percent_table): Delete.
976 (options.h): Include it.
977 * src/options.c: Create.
978 * src/options.h: Create.
979 Declare enum opt_access_e.
980 Define struct option_table_struct.
982 2001-09-20 Marc Autret <autret_m@epita.fr>
984 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
987 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
989 * src/bison.simple: s/%%filename/%%skeleton.
990 * src/muscle_tab.c (getargs.h): Include it.
991 (muscle_init): Insert new muscle skeleton.
993 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
995 * src/output.c (output_parser): Delete unused variable actions_dumped.
997 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
999 * src/output.c (output): Delete call to reader_output_yylsp.
1000 * src/reader.c (reader): Likewise.
1001 * src/reader.h: Delete declaration of reader_output_yylsp.
1003 2001-09-02 Marc Autret <autret_m@epita.fr>
1005 * src/reader.c: Include muscle_tab.h.
1006 (parse_union_decl): Update.
1007 (parse_macro_decl): Rename parse_muscle_decl.
1008 Update to use renamed functions and variable.
1009 (read_declarations, copy_action, read_additionnal_code, : Updated
1010 with correct variables and functions names.
1011 (packsymbols, reader): Likewise.
1013 * src/reader.h (muscle_obstack): Extern declaration update.
1015 * src/output.c: Include muscle_tab.h
1016 In all functions using macro_insert, change by using muscle_insert ().
1017 (macro_obstack): Rename muscle_obstack.
1018 Echo modifications in the whole file.
1019 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1020 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1021 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1023 * src/muscle_tab.h: Update double inclusion macros.
1024 (macro_entry_s): Rename muscle_entry_s.
1027 * src/muscle_tab.c: Include muscle_tab.h.
1028 Rename macro_tabble to muscle_table.
1029 (mhash1, mhash2, mcmp): Use muscle_entry.
1030 (macro_init): Rename muscle_init. Update.
1031 (macro_insert): Rename muscle_insert. Update.
1032 (macro_find): Rename muscle_find. Update.
1034 * src/main.c: Include muscle_tab.h.
1035 (main): Call muscle_init ().
1036 * src/Makefile.am (bison_SOURCES): Echo modifications.
1038 2001-09-02 Marc Autret <autret_m@epita.fr>
1040 Now the files macro_tab.[ch] are named muscle_tab.[ch].
1042 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1044 2001-09-02 Marc Autret <autret_m@epita.fr>
1046 * src/macrotab.c, src/macrotab.h: Remove.
1048 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
1050 * src/reader.c (copy_guard): Use muscle to specify the `#line'
1053 2001-09-01 Marc Autret <autret_m@epita.fr>
1055 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1056 to an explicit value to activate the feature. We do it here.
1058 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1060 * src/output.c (prepare): Delete the `filename' muscule insertion.
1061 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1062 (parse_union_decl): Likewise.
1063 * src/macrotab.c (macro_init): Initialize filename by infile.
1065 2001-08-31 Marc Autret <autret_m@epita.fr>
1067 * src/bison.simple (YYLSP_NEEDED): New definition.
1068 * src/output.c (prepare): Add macro insertion of `locations_flag'
1070 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1072 * src/output.c (prepare): Delete insertion of previous muscles,
1073 and insert the `prefix' muscles.
1074 * src/macrotab.c (macro_init): Likewise.
1075 (macro_init): Initialization prefix directive by `yy'.
1076 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
1077 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1078 yylval, yydebug, yyerror, yynerrs and yyparse.
1079 New directive `#define' to substitute yydebug, ... with option
1082 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1084 * src/main.c (main): Standardize.
1085 * src/output.c (output_table_data, output_parser): Likewise.
1086 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1088 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1090 * src/reader.c (read_additionnal_code): Rename %%user_code to
1092 * src/output.c (output): Rename %%declarations to %%prologue.
1093 * src/bison.simple: Echo modifications.
1095 2001-08-31 Marc Autret <autret_m@epita.fr>
1097 * src/reader.c (readgram): CleanUp.
1098 (output_token_defines): Likewise.
1099 (packsymbols): Likewise.
1101 * src/output.c (output): CPP-out useless code.
1103 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1105 * src/reader.c (reader): Delete obsolete call to function
1106 output_trailers and output_headers.
1107 * src/output.h: Remove obsolete functions prototypes of output_headers
1108 and output_trailers.
1110 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
1112 * src/main.c: Include macrotab.h.
1113 * src/macrotab.h (macro_entry_s): Constify fields.
1114 Adjust functions prototypes.
1115 * src/macrotab.c (macro_insert): Constify key and value.
1116 (macro_find): Constify key.
1117 (macro_insert): Include 'xalloc.h'
1118 (macro_insert): Use XMALLOC.
1119 (macro_find): Constify return value.
1120 * src/output.c (output_table_data): Rename table to table_data.
1121 (output_parser): Constify macro_key, macro_value.
1123 2001-08-30 Marc Autret <autret_m@epita.fr>
1125 * src/reader.c (parse_skel_decl): New.
1126 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
1127 * src/lex.h (token_t): New token `tok_skel'.
1128 * src/lex.c (percent_table): Add skeleton option entry.
1131 2001-08-29 Marc Autret <autret_m@epita.fr>
1133 * src/bison.simple: Add %%user_code directive at the end.
1134 * src/reader.c (read_additionnal_code): New.
1136 * src/output.c (output_program): Remove.
1139 2001-08-28 Marc Autret <autret_m@epita.fr>
1141 * src/output.c (output_actions): Clean up.
1142 (output_gram): CPP-out useless code.
1143 * src/reader.c (reader): Clean up, CPP-out useless code.
1145 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1147 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1149 * src/bison.simple: Add `%%definitions'.
1151 2001-08-28 Marc Autret <autret_m@epita.fr>
1153 * config/depcomp: New file.
1155 2001-08-27 Paul Eggert <eggert@twinsun.com>
1157 * src/bison.simple (yyparse): Don't take the address of an
1158 item before the start of an array, as that doesn't conform to
1161 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1163 * src/output.c (output): Remove the initialization of the macro
1164 obstack. It was done too late here.
1166 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1168 (reader): Initialize the macro obstack here, since we need it to grow
1169 '%define' directives.
1171 * src/reader.h: Declare the macro obstack as extern.
1173 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1175 * src/output.c (output_parser): Fix. Store single '%' characters in
1176 the output obstack instead of throwing them away.
1178 2001-08-27 Akim Demaille <akim@epita.fr>
1180 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1182 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1184 * lib/Makefile.am: Adjust.
1186 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1188 * src/bison.simple: Update and add '%%' directives.
1190 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1192 * src/reader.c (reader): Remove calls to 'output_headers' and
1193 'output_trailers'. Remove some C output.
1194 (readgram): Disable a piece of code that was writing a default
1195 definition for 'YYSTYPE'.
1196 (reader_output_yylsp): Remove.
1197 (packsymbols): Output token defintions to a macro.
1198 (copy_definition): Disable C output.
1200 * src/reader.c (parse_macro_decl): New function used to parse macro
1202 (copy_string2): Put the body of copy_string into this new function.
1203 Add a parameter to let the caller choose whether he wants to copy the
1204 string delimiters or not.
1205 (copy_string): Be a simple call to copy_string2 with the last argument
1207 (read_declarations): Add case for macro definition.
1208 (copy_identifier): New.
1209 (parse_macro_decl): Read macro identifiers using copy_identifier
1212 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1214 * src/output.c (prepare): Add prefixed names.
1215 (output_parser): Output semantic actions.
1216 (output_parser): Fix bug on '%%line' directives.
1218 * src/output.c (output_headers): Remove. The C code printed by this
1219 function should now be in the skeletons.
1220 (output_trailers): Remove.
1221 (output): Disable call to 'reader_output_yylsp'.
1222 (output_rule_data): Do not output tables to the table obstack.
1224 * src/output.c: Remove some C dedicated output.
1225 Improve the use of macro and output obstacks.
1226 (output_defines): Remove.
1228 * src/output.c (output_token_translations): Associate 'translate'
1229 table with a macro. No output to the table obstack.
1230 (output_gram): Same for 'rhs' and 'prhs'.
1231 (output_stos): Same for 'stos'.
1232 (output_rule_data): Same for 'r1' and 'r2'.
1233 (token_actions): Same for 'defact'.
1234 (goto_actions): Same for 'defgoto'.
1235 (output_base): Same for 'pact' and 'pgoto'.
1236 (output_table): Same for 'table'.
1237 (output_check): Same for 'check'.
1239 * src/output.c (output_table_data): New function.
1240 (output_short_table): Remove.
1241 (output_short_or_char_table): Remove.
1243 * src/output.c (output_parser): Replace most of the skeleton copy code
1244 with something new. Skeletons are now processed character by character
1245 rather than line by line, and Bison looks for '%%' macros. This is the
1246 first step in making Bison's output process (a lot) more flexible.
1247 (output_parser): Use the macro table.
1249 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1251 * src/main.c (main): Initialize the macro table.
1253 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1255 * src/lex.c (percent_table): Add tok_define.
1256 * src/lex.h: Add tok_define.
1258 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1260 * src/macrotab.c: New file.
1261 * src/macrotab.h: New file.
1262 * src/Makefile.am: Update.
1264 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1266 * lib/hash.c: New file.
1267 * lib/hash.h: New file.
1268 * lib/Makefile.am: Update.
1270 2001-08-15 Akim Demaille <akim@epita.fr>
1274 2001-08-15 Marc Autret <autret_m@epita.fr>
1276 * src/reader.c (readgram): Indent output macro YYSTYPE.
1277 (packsymbols): Likewise.
1278 (output_token_defines): Likewise.
1279 * src/files.c: Standardize.
1280 (compute_header_macro): New.
1281 (defines_obstack_save): New. Use compute_header_macro.
1282 (output_files): Update. Use defines_obstack_save.
1284 2001-08-15 Akim Demaille <akim@epita.fr>
1286 * doc/bison.texinfo (Table of Symbols): Document
1289 2001-08-15 Akim Demaille <akim@epita.fr>
1291 * missing: Update from CVS Automake.
1292 * config/config.guess, config/config.sub, config/texinfo.tex:
1293 Update from gnu.org.
1295 2001-08-15 Akim Demaille <akim@epita.fr>
1297 * Makefile.maint: Sync with CVS Autoconf.
1299 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1301 * doc/bison.texinfo: Include GNU Free Documentation License from
1303 * doc/fdl.texi: Add to package.
1305 2001-08-14 Marc Autret <autret_m@epita.fr>
1307 Turn on %{source,header}_extension features.
1309 * src/lex.c (percent_table): Un-CPP out header_extension and
1311 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1312 (compute_exts_from_src): Remove conditions. It restores priorities
1315 2001-08-14 Marc Autret <autret_m@epita.fr>
1317 * src/files.c (compute_base_names): Add extensions computing when
1318 `--file-prefix' used.
1319 Standardize function calls.
1321 2001-08-13 Marc Autret <autret_m@epita.fr>
1323 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1324 defining it (defined but null disables alloca).
1326 2001-08-13 Marc Autret <autret_m@epita.fr>
1328 * src/bison.simple (_yy_memcpy): CPP reformat.
1330 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1332 * tests/atconfig.in (CPPFLAGS): Fix.
1334 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1336 * doc/bison.texinfo: Include GNU General Public License from
1338 * doc/gpl.texi: Add to package.
1340 2001-08-10 Marc Autret <autret_m@epita.fr>
1342 * src/print_graph.h: Fix.
1343 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1345 2001-08-10 Akim Demaille <akim@epita.fr>
1347 * src/system.h: Provide default declarations for stpcpy, strndup,
1350 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1352 * doc/bison.texinfo (Locations): Update @$ stuff.
1354 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1356 * src/bison.simple (YYLLOC_DEFAULT): Update.
1359 2001-08-08 Marc Autret <autret_m@epita.fr>
1361 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1362 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1363 Reported by Fabrice Bauzac.
1365 2001-08-08 Marc Autret <autret_m@epita.fr>
1367 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1368 * src/vcg.c (output_node): Fix.
1369 * src/vcg.h: Cleanup.
1370 * src/print_graph.c: Add comments.
1371 (node_output_size): New global variable. Simplify the formatting of
1372 the VCG graph output.
1373 (print_actions): Unused code is now used. It notifies the final state
1374 and no action states in the VCG graph. It also give the reduce actions.
1375 The `shift and goto' edges are red and the `go to state' edges are
1377 Get the current node name and node_obstack by argument.
1378 (node_obstack): New variable.
1379 (print_state): Manage node_obstack.
1380 (print_core): Use node_obstack given by argument.
1381 A node is not only computed here but in print_actions also.
1382 (print_graph): CPP out useless code instead of commenting it.
1384 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1386 * tests/atconfig.in (CPPFLAGS): Fix.
1388 2001-08-07 Akim Demaille <akim@epita.fr>
1390 * src/print_graph.c (quote): New.
1391 (print_core): Use it.
1393 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1395 * src/vcg.c (complain.h): Include it.
1396 Unepitaize `return' invocations.
1397 [NDEBUG] (main): Remove.
1398 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1399 * src/files.c (open_files): Initialize graph_obstack.
1400 * src/print_graph.c (print_actions): CPP out useless code.
1401 (print_core): Don't output the last `\n' in labels.
1403 * src/files.c (output_files): Output the VCG file.
1404 * src/main.c (main): Invoke print_graph ();
1406 2001-08-06 Marc Autret <autret_m@epita.fr>
1408 Automaton VCG graph output.
1409 Using option ``-g'' or long option ``--graph'', you can generate
1410 a gram_filename.vcg file containing a VCG description of the LALR (1)
1411 automaton of your grammar.
1413 * src/main.c: Call to print_graph() function.
1414 * src/getargs.h: Update.
1415 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1416 (graph_flag): New flag.
1418 (getargs): Add case `g'.
1419 * src/files.c (graph_obstack): New obstack struct.
1420 (open_files): Initialize new obstack.
1421 (output_files): Saves graph_obstack if required.
1422 * src/files.h (graph_obstack): New extern declaration.
1423 * src/Makefile.am: Add new source files.
1425 2001-08-06 Marc Autret <autret_m@epita.fr>
1427 * src/print_graph.c, src/print_graph.h (graph): New.
1428 * src/vcg.h: New file.
1429 * src/vcg.c: New file, VCG graph handling.
1431 2001-08-06 Marc Autret <autret_m@epita.fr>
1433 Add of %source_extension and %header_extension which specify
1434 the source or/and the header output file extension.
1436 * src/files.c (compute_base_names): Remove initialisation of
1437 src_extension and header_extension.
1438 (compute_exts_from_gf): Update.
1439 (compute_exts_from_src): Update.
1440 (output_files): Update.
1441 * src/reader.c (parse_header_extension_decl): New.
1442 (parse_source_extension_decl): New.
1443 (read_declarations): New case statements for the new tokens.
1444 * src/lex.c (percent_table): Add entries for %source_extension
1445 and %header_extension.
1446 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1448 2001-08-06 Marc Autret <autret_m@epita.fr>
1450 * configure.in: Bump to 1.28c.
1451 * doc/bison.texinfo: Texinfo thingies.
1453 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1455 * tests/atconfig.in (CPPFLAGS): Add.
1456 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1458 2001-08-03 Akim Demaille <akim@epita.fr>
1462 2001-08-03 Akim Demaille <akim@epita.fr>
1464 * tests/Makefile.am (check-local): Ship testsuite.
1465 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1468 2001-08-03 Akim Demaille <akim@epita.fr>
1470 * configure.in: Try using -Wformat when compiling.
1472 2001-08-03 Akim Demaille <akim@epita.fr>
1474 * configure.in: Bump to 1.28b.
1476 2001-08-03 Akim Demaille <akim@epita.fr>
1478 * src/complain.c: Adjust strerror_r portability issues.
1480 2001-08-03 Akim Demaille <akim@epita.fr>
1484 2001-08-03 Akim Demaille <akim@epita.fr>
1486 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1487 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1488 * src/getargs.c: Include complain.h.
1489 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1490 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1492 2001-08-03 Akim Demaille <akim@epita.fr>
1494 * src/reader.c (readgram): Display hidden chars in error messages.
1496 2001-08-03 Akim Demaille <akim@epita.fr>
1498 Update to gettext 0.10.39.
1500 2001-08-03 Akim Demaille <akim@epita.fr>
1502 * lib/strspn.c: New.
1504 2001-08-01 Marc Autret <autret_m@epita.fr>
1506 * doc/bison.texinfo: Update.
1507 * doc/bison.1 (mandoc): Update.
1508 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1509 * src/files.c: Support output files extensions computing.
1510 (src_extension): New static variable.
1511 (header_extension): New static variable.
1513 (get_extension_index): New function, gets the index of an extension
1514 filename in a string.
1515 (compute_exts_from_gf): New function, computes extensions from the
1516 grammar file extension.
1517 (compute_exts_from_src): New functions, computes extensions from the
1518 C source file extension, file given by ``-o'' option.
1519 (compute_base_names): Update.
1520 (output_files): Update.
1522 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1524 * doc/bison.texi: Document @$.
1525 (Locations): New section.
1527 2001-07-18 Akim Demaille <akim@epita.fr>
1529 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1530 * config/prev-version.txt, config/move-if-change: New.
1531 * Makefile.am: Adjust.
1533 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1535 * src/bison.simple (yyparse): Suppress warning `comparaison
1536 between signed and unsigned'.
1538 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1540 * src/getargs.h (raw_flag): Remove.
1541 * src/getargs.c: Die on `-r'/`--raw'.
1542 * src/lex.c (parse_percent_token): Die on `%raw'.
1543 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1544 * tests/calc.at: Suppress test with option `--raw'.
1546 2001-07-14 Akim Demaille <akim@epita.fr>
1549 * configure.in: Require Autoconf 2.50.
1550 Update to gettext 0.10.38.
1552 2001-03-16 Akim Demaille <akim@epita.fr>
1554 * doc/bison.texinfo: ANSIfy the examples.
1556 2001-03-16 Akim Demaille <akim@epita.fr>
1558 * getargs.c (skeleton): New variable.
1559 (longopts): --skeleton is a new option.
1560 (shortopts, getargs): -S is a new option.
1561 * getargs.h: Declare skeleton.
1562 * output.c (output_parser): Use it.
1564 2001-03-16 Akim Demaille <akim@epita.fr>
1566 * m4/strerror_r.m4: New.
1567 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1568 * lib/error.h, lib/error.c: Update.
1570 2001-03-16 Akim Demaille <akim@epita.fr>
1572 * src/getargs.c (longopts): Clean up.
1574 2001-02-21 Akim Demaille <akim@epita.fr>
1576 * src/reader.c (gensym): `gensym_count' is your own.
1577 Use a static buf to create the symbol name, as token_buffer is no
1580 2001-02-08 Akim Demaille <akim@epita.fr>
1582 * src/conflicts.c (conflict_report): Be sure not to append to res
1583 between two calls, which could happen if both first sprintf were
1584 skipped, but not the first cp += strlen.
1586 2001-02-08 Akim Demaille <akim@epita.fr>
1588 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1589 New, from fileutils 4.0.37.
1590 * configure.in: Require Autoconf 2.49c. I took some time before
1591 making this decision. This is the only way out for portability
1592 issues in Bison, it would mean way too much duplicate effort to
1593 import in Bison features implemented in 2.49c since 2.13.
1594 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1596 2001-02-02 Akim Demaille <akim@epita.fr>
1598 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1599 * lib/xalloc.h, lib/xmalloc.c: Update.
1601 2001-01-19 Akim Demaille <akim@epita.fr>
1603 Get rid of the ad hoc handling of token_buffer in the scanner: use
1606 * src/lex.c (token_obstack): New.
1607 (init_lex): Initialize it. No longer call...
1608 (grow_token_buffer): this. Remove it.
1609 Adjust all the places which used it to use the obstack.
1611 2001-01-19 Akim Demaille <akim@epita.fr>
1613 * src/lex.h: Rename all the tokens:
1614 s/\bENDFILE\b/tok_eof/g;
1615 s/\bIDENTIFIER\b/tok_identifier/g;
1617 Let them be enums, not #define, to ease debugging.
1618 Adjust all the code.
1620 2001-01-18 Akim Demaille <akim@epita.fr>
1622 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1623 * src/lex.c (maxtoken, grow_token_buffer): Static.
1625 2001-01-18 Akim Demaille <akim@epita.fr>
1627 Since we now use obstacks, more % directives can be enabled.
1629 * src/lex.c (percent_table): Also accept `%yacc',
1630 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1632 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1633 instead of returning a token.
1634 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1635 * src/reader.c (read_declarations): Adjust.
1636 * src/files.c (open_files): Don't call `compute_base_names', don't
1637 compute `attrsfile' since they depend upon data which might be
1638 *in* the input file now.
1639 (output_files): Do it here.
1640 * src/output.c (output_headers): Document the fact that this patch
1641 introduces a guaranteed SEGV for semantic parsers.
1642 * doc/bison.texinfo: Document them.
1643 * tests/suite.at: Exercise these %options.
1645 2000-12-20 Akim Demaille <akim@epita.fr>
1647 Also handle the output file (--verbose) with obstacks.
1649 * files.c (foutput): Remove.
1650 (output_obstack): New.
1651 Adjust all dependencies.
1652 * src/conflicts.c: Return a string.
1653 * src/system.h (obstack_grow_string): Rename as...
1654 (obstack_sgrow): this. Be ready to work with non literals.
1655 (obstack_fgrow4): New.
1657 2000-12-20 Akim Demaille <akim@epita.fr>
1659 * src/files.c (open_files): Fix the computation of short_base_name
1660 in the case of `-o foo.tab.c'.
1662 2000-12-20 Akim Demaille <akim@epita.fr>
1664 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1665 (copy_dollar): Now that everything uses obstacks, get rid of the
1668 2000-12-20 Akim Demaille <akim@epita.fr>
1670 * src/files.c (open_files): Actually the `.output' file is based
1671 on the short_base_name, not base_name.
1672 * tests/suite.at (Checking output file names): Adjust.
1674 2000-12-20 Akim Demaille <akim@epita.fr>
1676 * src/bison.s1: Remove, we now use directly...
1677 * src/bison.simple: this.
1678 * src/Makefile.am: Use pkgdata instead of data.
1680 2000-12-20 Akim Demaille <akim@epita.fr>
1682 * src/files.c (guard_obstack): New.
1683 (open_files): Initialize it.
1684 (output_files): Dump it...
1685 * src/files.h: Export it.
1686 * src/reader.c (copy_guard): Use it.
1688 2000-12-19 Akim Demaille <akim@epita.fr>
1690 * src/files.c (outfile, defsfile, actfile): Removed as global
1692 (open_files): Don't compute them.
1693 (output_files): Adjust.
1694 (base_name, short_base_name): Be global.
1695 Adjust dependencies.
1697 2000-12-19 Akim Demaille <akim@epita.fr>
1699 * src/files.c (strsuffix): New.
1700 (stringappend): Be just like strcat but allocate.
1701 (base_names): Eve out from open_files.
1702 Try to simplify the rather hairy computation of base_name and
1704 (open_files): Use it.
1705 * tests/suite.at (Checking output file names): New test.
1707 2000-12-19 Akim Demaille <akim@epita.fr>
1709 * src/system.h (obstack_grow_literal_string): Rename as...
1710 (obstack_grow_string): this.
1711 * src/output.c (output_parser): Recognize `%% actions' instead of
1713 * src/bison.s1: s/$/%% actions/.
1714 * src/bison.hairy: Likewise.
1716 2000-12-19 Akim Demaille <akim@epita.fr>
1718 * src/output.c (output_parser): Compute the `#line' lines when
1720 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1721 Suggested by Hans Aberg.
1723 2000-12-19 Akim Demaille <akim@epita.fr>
1725 Let the handling of the skeleton files be local to the procedures
1728 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1730 (fparser, open_extra_files): Remove.
1731 (open_files, output_files): Don't take care of fparser.
1732 * src/files.h: Adjust.
1733 * src/output.c (output_parser): Open and close the file to the
1735 * src/reader.c (read_declarations): When %semantic_parser, open
1738 2000-12-19 Akim Demaille <akim@epita.fr>
1740 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1741 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1743 2000-12-19 Akim Demaille <akim@epita.fr>
1745 * src/files.c (open_files): Yipee! We no longer need all the code
1746 looking for `/tmp' since we have no tmp file.
1748 2000-12-19 Akim Demaille <akim@epita.fr>
1750 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1752 * src/files.c (open_files): Less dependency on MSDOS etc.
1754 2000-12-14 Akim Demaille <akim@epita.fr>
1756 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1757 Provide a default definition.
1758 Use it when executing the default @ action.
1759 * src/reader.c (reader_output_yylsp): No longer include
1760 `timestamp' and `text' in the default YYLTYPE.
1762 2000-12-12 Akim Demaille <akim@epita.fr>
1764 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1765 (copy_guard): Quote the file names.
1766 Reported by Laurent Mascherpa.
1768 2000-12-12 Akim Demaille <akim@epita.fr>
1770 * src/output.c (output_headers, output_program, output): Be sure
1771 to escape special characters when outputting filenames.
1772 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1773 (output_headers): Don't depend on them, Use ACTSTR.
1775 2000-11-17 Akim Demaille <akim@epita.fr>
1777 * lib/obstack.h: Formatting changes.
1778 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1779 prevents type checking.
1780 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1781 cast the value to (void *): assigning a `foo *' to a `void *'
1783 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1784 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1787 2000-11-17 Akim Demaille <akim@epita.fr>
1789 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1791 (suite.m4, regression.m4, calc.m4): these.
1792 * tests/atgeneral.m4: Update from CVS Autoconf.
1794 2000-11-17 Akim Demaille <akim@epita.fr>
1796 * tests/regression.m4 (%union and --defines): New test,
1797 demonstrating a current bug in the obstack implementation.
1799 2000-11-17 Akim Demaille <akim@epita.fr>
1801 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1803 Use them to declare the variables which are global or local to
1806 2000-11-17 Akim Demaille <akim@epita.fr>
1808 * acconfig.h: Remove, no longer used.
1810 2000-11-07 Akim Demaille <akim@epita.fr>
1812 * src: s/Copyright (C)/Copyright/g.
1814 2000-11-07 Akim Demaille <akim@epita.fr>
1816 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1818 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1820 2000-11-07 Akim Demaille <akim@epita.fr>
1822 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1823 Merge in a single CPP if/else.
1825 2000-11-07 Akim Demaille <akim@epita.fr>
1827 * src/output.c (output): Remove useless variables.
1828 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1829 argument `data' for consistency with the prototypes.
1831 (obstack_copy, obstack_copy0): Rename the second argument as
1832 `address' for consistency. Qualify it `const'.
1833 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1834 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1835 `const' their input argument (`data' or `address').
1836 Adjust the corresponding macros to include `const' in casts.
1838 2000-11-03 Akim Demaille <akim@epita.fr>
1840 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1841 s/PFILE1/BISON_HAIRY/.
1842 Adjust dependencies.
1844 2000-11-03 Akim Demaille <akim@epita.fr>
1846 For some reason, this was not applied.
1848 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1849 `unlink': it's no longer used.
1851 2000-11-03 Akim Demaille <akim@epita.fr>
1853 * src/files.c (skeleton_find): New function, eved out of...
1854 (open_files, open_extra_files): here.
1856 2000-11-03 Akim Demaille <akim@epita.fr>
1860 * src/files.c (obstack_save): New function.
1861 (done): Rename as...
1862 (output_files): this.
1864 * src/main.c (main): Don't use `atexit' to register `done', since
1865 it no longer has to remove tmp files, just call `output_files'
1866 when there are no errors.
1868 2000-11-02 Akim Demaille <akim@epita.fr>
1870 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1871 `unlink': it's no longer used.
1872 * src/files.h: Formatting changes.
1874 2000-11-02 Akim Demaille <akim@epita.fr>
1876 Remove the last uses of mktemp and unlink/delete.
1878 * src/files.c (fdefines, ftable): Removed.
1879 (defines_ostack, table_obstack): New.
1880 Adjust dependencies of the former into uses of the latter.
1881 * src/output.c (output_short_or_char_table, output_short_table):
1882 Convert to using obstacks.
1883 * src/reader.c (copy_comment2): Accept one FILE * and two
1885 (output_token_defines, reader_output_yylsp): Use obstacks.
1886 * src/system.h (obstack_fgrow3): New.
1888 2000-11-01 Akim Demaille <akim@epita.fr>
1890 Change each use of `fattrs' into a use of `attrs_obstack'.
1892 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1893 * src/files.c (fattrs): Remove.
1894 (attrs_obstack): New.
1895 Adjust all dependencies.
1896 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1898 2000-11-01 Akim Demaille <akim@epita.fr>
1901 Change each use of `faction' into a use of `action_obstack'.
1903 * lib/obstack.h, lib/obstack.c: New files.
1904 * src/files.c (faction): Remove.
1905 (action_obstack): New.
1906 Adjust all dependencies.
1908 2000-10-20 Akim Demaille <akim@epita.fr>
1910 * lib/quote.h (PARAMS): New macro. Use it.
1912 2000-10-16 Akim Demaille <akim@epita.fr>
1914 * src/output.c (output_short_or_char_table): New function.
1915 (output_short_table, output_token_translations): Use it.
1916 (goto_actions): Use output_short_table.
1918 2000-10-16 Akim Demaille <akim@epita.fr>
1920 * src/symtab.c (bucket_new): New function.
1923 * src/output.c (output_short_table): New argument to display the
1924 comment associated with the table.
1925 Adjust dependencies.
1926 (output_gram): Use it.
1927 (output_rule_data): Nicer output layout for YYTNAME.
1929 2000-10-16 Akim Demaille <akim@epita.fr>
1931 * src/lex.c (read_typename): New function.
1933 * src/reader.c (copy_dollar): Likewise.
1935 2000-10-16 Akim Demaille <akim@epita.fr>
1937 * src/reader.c (copy_comment2): Expect the input stream to be on
1938 the `/' which is suspected to open a comment, instead of being
1939 called after `//' or `/*' was read.
1940 (copy_comment, copy_definition, parse_union_decl, copy_action)
1941 (copy_guard): Adjust.
1943 2000-10-16 Akim Demaille <akim@epita.fr>
1945 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1946 `read_signed_integer'.
1948 2000-10-16 Akim Demaille <akim@epita.fr>
1950 * src/reader.c (copy_dollar): New function.
1951 (copy_guard, copy_action): Use it.
1953 2000-10-16 Akim Demaille <akim@epita.fr>
1955 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1956 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1957 New files, from Fileutils 4.0.27.
1958 * src/main.c (printable_version): Remove.
1959 * src/lex.c, src/reader.c: Use `quote'.
1961 2000-10-04 Akim Demaille <akim@epita.fr>
1963 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1965 2000-10-04 Akim Demaille <akim@epita.fr>
1967 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1969 2000-10-04 Akim Demaille <akim@epita.fr>
1971 When a literal string is used to define two different tokens,
1972 `bison -v' segfaults.
1973 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1975 * tests/regression.m4: New file.
1976 Include the core of the sample provided by Piotr Gackiewicz.
1977 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1980 2000-10-04 Akim Demaille <akim@epita.fr>
1982 * src/reader.c (parse_expect_decl): Keep `count' within the size
1986 2000-10-02 Paul Eggert <eggert@twinsun.com>
1988 * bison.s1 (yyparse): Assign the default value
1989 unconditionally, to avoid a GCC warning and make the parser a
1992 2000-10-02 Akim Demaille <akim@epita.fr>
1994 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1997 2000-10-02 Akim Demaille <akim@epita.fr>
1999 * src/derives.c, src/print.c, src/reduce.c: To ease the
2000 translation, move some `\n' out of the translated strings.
2002 2000-10-02 Akim Demaille <akim@epita.fr>
2004 The location tracking mechanism is precious for parse error
2005 messages. Nevertheless, it is enabled only when `@n' is used in
2006 the grammar, which is a different issue (you can use it in error
2007 message, but not in the grammar per se). Therefore, there should
2008 be another means to enable it.
2010 * src/getargs.c (getargs): Support `--locations'.
2012 * src/getargs.h (locationsflag): Export it.
2013 * src/lex.c (percent_table): Support `%locations'.
2014 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2015 with `locationsflag'.
2016 * doc/bison.texinfo: Document `--locations' and `%locations'.
2018 * tests/calc.m4: Test it.
2020 For regularity of the names, replace each
2021 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2022 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2023 In addition replace each `flag' with `_flag'.
2025 2000-10-02 Akim Demaille <akim@epita.fr>
2027 Also test parse error messages, including with YYERROR_VERBOSE.
2029 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2031 Use it to check the computations.
2032 Use it to check `nonassoc' is honored.
2033 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2034 `--yyerror-verbose'.
2035 (_AT_CHECK_CALC): Adjust to this option.
2036 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2038 2000-10-02 Akim Demaille <akim@epita.fr>
2040 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2041 the latter demonstrates a flaw in the handling of non debugging
2042 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2043 was used in order to simplify:
2059 unfortunately this leads to a CPP conflict when
2060 `--name-prefix=foo' is used since it produces `#define yydebug
2063 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2064 (YYDPRINTF): New macro.
2066 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2068 Also test `--verbose', `--defines' and `--name-prefix'.
2070 2000-10-02 Akim Demaille <akim@epita.fr>
2072 Improve the readability of the produced parsers.
2074 * src/bison.s1: Formatting changes.
2075 Improve the comment related to the `$' mark.
2076 (yydefault): Don't fall through to `yyresume': `goto' there.
2077 * src/output.c (output_parser): When the `$' is met, skip the end
2079 New variable, `number_of_dollar_signs', to check there's exactly
2080 one `$' in the parser skeleton.
2082 2000-10-02 Akim Demaille <akim@epita.fr>
2084 * lib/xstrdup.c: New file, from the fileutils.
2085 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2086 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2087 instead of strlen + xmalloc + strcpy.
2088 * src/symtab.c (copys): Remove, use xstrdup instead.
2090 2000-10-02 Akim Demaille <akim@epita.fr>
2092 * src/gram.h (associativity): New enum type which replaces the
2093 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2094 `right_assoc', `left_assoc' and `non_assoc'.
2095 Adjust all dependencies.
2096 * src/reader.c: Formatting changes.
2097 (LTYPESTR): Don't define it, use it as a literal in
2098 `reader_output_yylsp'.
2099 * src/symtab.h (symbol_class): New enum type which replaces the
2100 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2101 `sunknown', `stoken and `snterm'.
2103 2000-10-02 Akim Demaille <akim@epita.fr>
2105 * src/getargs.c (fixed_outfiles): Rename as...
2106 (yaccflag): for consistency and accuracy.
2107 Adjust dependencies.
2109 2000-10-02 Akim Demaille <akim@epita.fr>
2111 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2112 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2113 difficult and introduced a lot of core dump. It turns out that
2114 Bison used an implementation of `xmalloc' based on `calloc', and
2115 at various places it does depend upon the initialization to 0. I
2116 have not tried to isolate the pertinent places, and all the former
2117 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2118 someone should address this issue.
2120 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2121 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2123 Adjust dependencies.
2124 * src/warshall.h: New file.
2127 2000-10-02 Akim Demaille <akim@epita.fr>
2129 Various anti-`extern in *.c' changes.
2131 * src/system.h: Include `assert.h'.
2133 2000-10-02 Akim Demaille <akim@epita.fr>
2135 * src/state.h (nstates, final_state, first_state, first_shift)
2136 (first_reduction): Move their exportation from here...
2137 * src/LR0.h: to here.
2138 Adjust dependencies.
2139 * src/getargs.c (statisticsflag): New variable.
2140 Add support for `--statistics'.
2141 Adjust dependencies.
2143 Remove a lot of now useless `extern' statements in most files.
2145 2000-10-02 Akim Demaille <akim@epita.fr>
2147 * src/LR0.h: New file.
2150 2000-10-02 Akim Demaille <akim@epita.fr>
2152 * src/print.h: New file.
2154 * src/print.c: Formatting and ordering changes.
2155 (verbose, terse): Replace with...
2156 (print_results): this new function.
2157 Adjust dependencies.
2159 2000-10-02 Akim Demaille <akim@epita.fr>
2161 * src/conflicts.c (conflict_report): New function.
2162 (conflict_log, verbose_conflict_log): Replace with...
2163 (print_conflicts): this function.
2164 Adjust dependencies.
2165 * src/conflicts.h: New file.
2166 Propagate its inclusion.
2168 2000-10-02 Akim Demaille <akim@epita.fr>
2170 * src/nullable.h: New file.
2171 Propagate its inclusion.
2172 * src/nullable.c: Formatting changes.
2174 2000-10-02 Akim Demaille <akim@epita.fr>
2176 * src/reduce.h: New file.
2177 Propagate its inclusion.
2178 * src/reduce.c: Topological sort and other formatting changes.
2179 (bool, TRUE, FALSE): Move their definition to...
2180 * src/system.h: here.
2182 2000-10-02 Akim Demaille <akim@epita.fr>
2184 * src/files.c: Formatting changes.
2185 (tryopen, tryclose, openfiles): Rename as...
2186 (xfopen, xfclose, open_files): this.
2187 (stringappend): static.
2188 * src/files.h: Complete the list of exported symbols.
2191 2000-10-02 Akim Demaille <akim@epita.fr>
2193 * src/reader.h: New file.
2194 Propagate its use instead of tedious list of `extern' and
2196 * src/reader.c: Formatting changes, topological sort,
2199 2000-10-02 Akim Demaille <akim@epita.fr>
2201 * src/lex.h: Prototype `lex.c' exported functions.
2202 * src/reader.c: Adjust.
2203 * src/lex.c: Formatting changes.
2204 (safegetc): Rename as...
2207 2000-10-02 Akim Demaille <akim@epita.fr>
2209 * src/lalr.h: New file.
2210 Propagate its inclusion instead of prototypes and `extern'.
2211 * src/lalr.c: Formatting changes, topological sorting etc.
2213 2000-10-02 Akim Demaille <akim@epita.fr>
2215 * src/output.c (token_actions): Introduce a temporary array,
2216 YYDEFACT, that makes it possible for this function to use
2219 2000-10-02 Akim Demaille <akim@epita.fr>
2221 `user_toknums' is output as a `short[]' in `output.c', while it is
2222 defined as a `int[]' in `reader.c'. For consistency with the
2223 other output tables, `user_toknums' is now defined as a table of
2226 * src/reader.c (user_toknums): Be a short table instead of an int
2228 Adjust dependencies.
2230 Factor the short table outputs.
2232 * src/output.c (output_short_table): New function.
2233 * src/output.c (output_gram, output_stos, output_rule_data)
2234 (output_base, output_table, output_check): Use it.
2236 2000-10-02 Akim Demaille <akim@epita.fr>
2238 * src/output.c (output): Topological sort of the functions, in
2239 order to get rid of the `static' prototypes.
2240 No longer use `register'.
2241 * src/output.h: New file.
2242 Propagate its inclusion in files explicitly prototyping functions
2245 2000-09-21 Akim Demaille <akim@epita.fr>
2247 * src/atgeneral.m4: Update from Autoconf.
2249 2000-09-21 Akim Demaille <akim@epita.fr>
2251 * src/closure.h: New file.
2252 * src/closure.c: Formatting changes, topological sort over the
2253 functions, use of closure.h.
2254 (initialize_closure, finalize_closure): Rename as...
2255 (new_closure, free_closure): these. Adjust dependencies.
2256 * src/LR0.c: Formatting changes, topological sort, use of
2258 (initialize_states): Rename as...
2260 * src/Makefile.am (noinst_HEADERS): Adjust.
2262 2000-09-20 Akim Demaille <akim@epita.fr>
2264 * src/acconfig.h: Don't protect config.h against multiple
2266 Don't define PARAMS.
2267 * src/system.h: Define PARAMS.
2268 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2269 purpose of config.h. system.h must not try to fix wrong
2270 definitions in config.h.
2272 2000-09-20 Akim Demaille <akim@epita.fr>
2274 * src/derives.h: New file.
2275 * src/main.c, src/derives.h: Use it.
2277 * src/Makefile.am (noinst_HEADERS): Adjust.
2279 2000-09-20 Akim Demaille <akim@epita.fr>
2281 * tests/atgeneral.m4: Update from Autoconf.
2282 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2283 (AT_CHECK_CALC): New macros.
2284 Use these macros to test bison with options `', `--raw',
2285 `--debug', `--yacc', `--yacc --debug'.
2287 2000-09-19 Akim Demaille <akim@epita.fr>
2289 * src/output.c: Formatting changes.
2290 * src/machine.h: Remove, leaving its contents in...
2291 * src/system.h: here.
2293 Adjust all dependencies on stdio.h and machine.h.
2294 * src/getargs.h: New file.
2295 Let all `extern' declarations about getargs.c be replaced with
2296 inclusion of `getargs.h'.
2297 * src/Makefile.am (noinst_HEADERS): Adjust.
2299 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2301 (yyerror): Returns void, not int.
2302 * doc/bison.texinfo: Formatting changes.
2304 2000-09-19 Akim Demaille <akim@epita.fr>
2306 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2309 2000-09-18 Akim Demaille <akim@epita.fr>
2311 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2312 * src/Makefile.am (INCLUDES): Don't.
2313 Be ready to fetch headers in lib/.
2315 2000-09-18 Akim Demaille <akim@epita.fr>
2317 * doc/bison.texinfo: Update the copyright.
2318 ANSIfy and GNUify the examples.
2319 Remove the old menu.
2321 2000-09-18 Akim Demaille <akim@epita.fr>
2323 First set of tests: use the `calc' example from the documentation.
2325 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2326 is defined only when YYDEBUG is.
2327 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2328 * src/files.c (tryopen, tryclose): Formatting changes.
2329 Move to the top and be static.
2330 * src/reader.c (read_signed_integer): Likewise.
2331 * tests/calc.m4: New file.
2332 * Makefile.am, suite.m4: Adjust.
2333 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2335 2000-09-18 Akim Demaille <akim@epita.fr>
2337 Add support for an Autotest test suite for Bison.
2339 * m4/m4.m4, m4/atconfig.m4: New files.
2340 * m4/Makefile.am (EXTRA_DIST): Adjust.
2341 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2343 * src/getargs.c: Display a more standard --version message.
2344 * src/reader.c (reader): Formatting changes.
2345 No longer depend upon VERSION_STRING.
2346 * configure.in: No longer use `dnl'.
2347 Set up the test suite and the new directory `tests/.
2348 (VERSION_STRING): Remove.
2350 2000-04-14 Akim Demaille <akim@epita.fr>
2352 * src/reader.c (copy_comment2): New function, same as former
2353 `copy_comment', but outputs into two FILE *.
2354 (copy_comment): Use it.
2355 (parse_union_decl): Use it.
2356 (get_type, parse_start_decl): Use the same `invalid' message.
2357 (parse_start_decl, parse_union_decl): Use the same `multiple'
2359 (parse_union_decl, copy_guard, copy_action): Use the same
2360 `unmatched' message.
2361 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2363 2000-03-31 Akim Demaille <akim@epita.fr>
2365 * src/files.c (tryopen, tryclose): Move to the top.
2368 2000-03-31 Akim Demaille <akim@epita.fr>
2370 * src/main.c (main): Don't call `done', exit does it.
2372 2000-03-31 Akim Demaille <akim@epita.fr>
2374 * allocate.c: s/return (foo)/return foo/.
2377 * output.c: Likewise.
2378 * reader.c: Likewise.
2379 * symtab.c: Likewise.
2380 * vmsgetargs.c: Likewise.
2382 2000-03-31 Akim Demaille <akim@epita.fr>
2384 Clean up the error reporting functions.
2386 * src/report.c: New file.
2387 * src/report.h: Likewise.
2388 * src/Makefile.am: Adjust.
2389 * m4/error.m4: New file.
2390 * m4/Makefile.am: Adjust.
2391 * configure.in (jm_PREREQ_ERROR): Call it.
2392 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2394 (fatal, fatals): Remove. All callers use complain.c::fatal.
2395 (warn, warni, warns, warnss, warnss): Remove. All callers use
2396 complain.c::complain.
2397 (toomany): Remove, use fatal instead.
2398 * src/files.c (done): No argument, use complain_message_count.
2399 * src/main.c (main): Register `done' to `atexit'.
2401 * src/getargs.c (usage): More `fputs', less `fprintf'.
2403 2000-03-28 Akim Demaille <akim@epita.fr>
2405 * lib/: New directory.
2406 * Makefile.am (SUBDIRS): Adjust.
2407 * configure.in: Adjust.
2408 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2410 * src/alloca.c: Moved to lib/.
2411 * src/getopt.c: Likewise.
2412 * src/getopt1.c: Likewise.
2413 * src/getopt.h: Likewise.
2414 * src/ansi2knr.c: Likewise.
2415 * src/ansi2knr.1: Likewise.
2416 * src/Makefile.am: Adjust.
2417 * lib/Makefile.am: New file.
2419 2000-03-28 Akim Demaille <akim@epita.fr>
2421 * src/getargs.c (usage): Refresh the help message.
2423 2000-03-17 Akim Demaille <akim@epita.fr>
2425 * src/getopt1.c: Updated from textutils 2.0e
2426 * src/getopt.c: Likewise.
2427 * src/getopt.h: Likewise.
2429 2000-03-17 Akim Demaille <akim@epita.fr>
2431 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2432 the file name, not the whole `#line LINE FILE'.
2434 2000-03-17 Akim Demaille <akim@epita.fr>
2436 On syntax errors, report the token on which we choked.
2438 * src/bison.s1 (yyparse): In the label yyerrlab, when
2439 YYERROR_VERBOSE, add yychar in msg.
2441 2000-03-17 Akim Demaille <akim@epita.fr>
2443 * src/reader.c (copy_at): New function.
2444 (copy_guard): Use it.
2445 (copy_action): Use it.
2447 2000-03-17 Akim Demaille <akim@epita.fr>
2449 Be kind to translators, save some useless translations.
2451 * src/main.c (banner): New function.
2452 (fatal_banner): Use it.
2453 (warn_banner): Use it.
2455 2000-03-17 Akim Demaille <akim@epita.fr>
2457 * src/reader.c (copy_definition): Use copy_string and
2458 copy_comment. Removed now unused `match', `ended',
2460 (copy_comment, copy_string): Moved, to be visible from
2463 2000-03-17 Akim Demaille <akim@epita.fr>
2465 * src/reader.c (copy_string): Declare `static inline'. No
2466 problems with inline, since it is checked by configure.
2467 (copy_comment): Likewise.
2469 2000-03-17 Akim Demaille <akim@epita.fr>
2471 * src/reader.c (packsymbols): Formatting changes.
2473 2000-03-17 Akim Demaille <akim@epita.fr>
2475 * src/reader.c (copy_comment): New function, factored out from:
2476 (copy_action): Use it. Removed now unused `match', `ended',
2478 (copy_guard): Likewise.
2480 2000-03-17 Akim Demaille <akim@epita.fr>
2482 * src/reader.c (copy_string): New function, factored out from:
2483 (copy_action): Use it.
2484 (copy_guard): Likewise.
2486 2000-03-17 Akim Demaille <akim@epita.fr>
2488 Change the handling of @s so that they behave exactly like $s.
2489 There is now a pseudo variable @$ (readble and writable), location
2490 of the lhs of the rule (by default ranging from the location of
2491 the first symbol of the rhs, to the location of the last symbol,
2492 or, if the rhs is empty, YYLLOC).
2494 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2496 (yyparse): When providing a default semantic action, provide a
2497 default location action.
2498 (after the $): No longer change `*YYLSP', just stack YYLOC the
2499 same way you stack YYVAL.
2500 * src/reader.c (read_declarations): Use warns.
2501 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2502 (copy_action, case '@'): Likewise.
2503 Use a standard error message, to save useless work from
2506 2000-03-17 Akim Demaille <akim@epita.fr>
2508 * src/bison.s1: Formatting and cosmetics changes.
2509 * src/reader.c: Likewise.
2510 Update the Copyright notice.
2512 2000-03-17 Akim Demaille <akim@epita.fr>
2514 * src/bison.s1 (#line): All set to `#line' only, since the
2515 Makefile now handles them.
2517 2000-03-16 Akim Demaille <akim@epita.fr>
2519 * src/output.c (output_rule_data): Output the documentation of
2521 (Copyright notice): Update.
2524 2000-03-16 Akim Demaille <akim@epita.fr>
2526 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2527 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2528 One `#if YYDEBUG' remains, since it uses variables which are
2529 defined only if `YYDEBUG != 0'.
2531 2000-03-16 Akim Demaille <akim@epita.fr>
2533 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2534 and related variables so that the similarities are highlighted.
2536 2000-03-16 Akim Demaille <akim@epita.fr>
2538 * src/bison.s1: Properly indent CPP directives.
2540 2000-03-16 Akim Demaille <akim@epita.fr>
2542 * src/bison.s1: Properly indent the `alloca' CPP section.
2544 2000-03-16 Akim Demaille <akim@epita.fr>
2546 Do not hard code values of directories in `configure.in'.
2547 Update the `configure' tool chain.
2549 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2551 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2552 (AC_OUTPUT): Add m4/Makefile.
2553 Bump to bison 1.28a, 1.29 has never been released.
2554 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2555 handled via src/Makefile.am.
2556 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2557 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2559 * Makefile.am (SUBDIRS): Add m4.
2560 (ACLOCAL_AM_FLAGS): New variable.
2561 (AUTOMAKE_OPTIONS): Add check-news.
2562 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2563 the proper line number and file name.
2564 (DEFS): Propagate the location of bison library files and of the
2566 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2568 * acinclude.m4: Remove, replaced by the directory m4.
2569 * m4/Makefile.am (EXTRA_DIST): New variable.
2570 * m4/gettext.m4: New file, from the fileutils.
2571 * m4/lcmessage.m4: Likewise
2572 * m4/progtest.m4: Likewise.
2573 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2575 2000-03-10 Akim Demaille <akim@epita.fr>
2578 Formatting changes of various comments.
2579 Respect the GNU coding standards at various places.
2580 Don't use `_()' when no translation is needed.
2582 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2585 OS/2 honors TMPDIR environment variable.
2587 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2589 * doc/bison.texinfo: Tweaked spelling and grammar.
2591 Removed reference to price of printed copy.
2592 Mention BISON_SIMPLE and BISON_HAIRY.
2594 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2596 * configure.in, NEWS:
2597 Bison 1.29 released.
2599 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2601 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2602 Added reference card.
2604 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2606 * po/ru.po: Added Russian translation.
2608 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2610 * configure.in: Added Russian translation.
2612 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2614 * configure.in, NEWS, README:
2615 Released version 1.28.
2617 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2620 Squashed redefinition warning on some systems.
2622 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2623 Have configure build version string instead of relying on ANSI string
2626 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2628 * po/POTFILES.in: Got rid of version.c.
2630 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2632 * acconfig.h, configure.in:
2633 Have configure build version string instead of relying on ANSI string
2636 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2639 Dropped mention of `+' for long-named options.
2641 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2643 * src/files.c: Added <unistd.h> for unlink().
2645 * src/Makefile.am, src/system.h:
2648 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2650 * README: Added a FAQ list.
2652 * configure.in, acconfig.h:
2655 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2657 * doc/FAQ, doc/Makefile.am:
2660 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2662 * src/alloc.h, src/symtab.h, src/version.c:
2663 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2665 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2667 * src/.cvsignore, src/Makefile.am:
2668 Reorganized: sources in `src', documentation in `doc'.
2670 * src/lex.c (literalchar):
2671 fixed the code for escaping double quotes (thanks
2674 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2676 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2677 Adjusted paths to reflect directory reorganization.
2679 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2681 * doc/.cvsignore, doc/Makefile.am:
2682 Reorganized: sources in `src', documentation in `doc'.
2684 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2687 Updated AC_INIT file to reflect directory reorganization.
2689 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2690 Reorganized: sources in `src', documentation in `doc'.
2692 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2695 Don't declare calloc() and realloc() if not necessary.
2697 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2699 * configure.in, acconfig.h, acinclude.m4:
2700 Don't declare calloc() and realloc() if not necessary.
2702 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2704 * po/.cvsignore: Added i18n support.
2706 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2708 * acconfig.h, configure.in, Makefile.am:
2711 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2713 * src/bison.s1: Fixed #line numbers.
2715 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2717 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2718 Added PO files from Translation Project.
2720 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2723 Added support for non-ANSI compilers (ansi2knr).
2725 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2727 * configure.in: Bumped version number to 1.27.
2730 Added `bison.simple' to list of files removed by `make distclean'.
2732 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2734 * src/files.c, src/files.h:
2735 Defined locations of parser files in config.h instead of Makefile.
2737 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2739 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2740 Defined locations of parser files in config.h instead of Makefile.
2742 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2745 Removed inappropriate use of $< macro.
2747 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2749 * po/Makefile.in.in, po/POTFILES.in:
2750 Add `po' directory skeleton.
2752 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2754 * README: Document help-bison list.
2756 * configure.in: Add check for mkstemp().
2758 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2760 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2761 Hush a few compiler warnings.
2764 Add tryclose(), which verifies that fclose was successful.
2765 Hush a couple of compiler warnings.
2767 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2769 * Makefile.am, OChangeLog:
2770 ChangeLog is now automatically generated. Include the old version as
2773 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2775 * 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:
2778 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2780 * doc/bison.texinfo: Fix formatting glitch.
2782 * doc/bison.texinfo: Update FSF address.
2784 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2786 * acconfig.h: Update FSF address.
2788 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2791 Don't define PACKAGE here, since config.h defines it.
2793 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2795 * src/reader.c: Update copyright date.
2798 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2799 favor of output directly to stderr (avoids buffer overruns).
2801 * src/reader.c: Some checks for premature EOF.
2803 * 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:
2804 Use prototypes if the compiler understands them.
2806 * src/files.c: Honor TMPDIR on Unix hosts.
2807 Use prototypes if the compiler understands them.
2810 Fix a couple of buffer overrun bugs.
2811 Use prototypes if the compiler understands them.
2813 * src/system.h: Include unistd.h and ctype.h.
2814 Use #ifdef instead of #if for NLS symbols.
2816 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2818 * doc/bison.texinfo:
2819 Delete comment "consider using @set for edition number, etc..." since
2820 we now are doing so.
2822 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2825 Use prototypes if the compiler understands them.
2827 * NEWS: Document 1.26 highlights.
2829 * Makefile.am: Require Automake 1.3 or later.
2832 Use prototypes if the compiler understands them.
2834 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2837 Use VERSION symbol from automake for version number.
2839 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2841 * acconfig.h, configure.in, version.cin:
2842 Use VERSION symbol from automake for version number.
2844 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2847 Distribute original version of simple parser (bison.s1), not built
2848 version (bison.simple).
2850 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2852 * doc/bison.texinfo: Add info dir entry.
2854 * doc/bison.texinfo:
2855 Let automake put version number into documentation.
2857 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2859 * src/bison.cld, src/build.com, src/vmshlp.mar:
2860 Add non-RCS files from /gd/gnu/bison.
2862 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2865 Document the BISON_HAIRY and BISON_SIMPLE variables.
2867 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2869 * src/version.c: Build version.c automatically.
2872 Fix token numbering (used to start at 258, not 257).
2874 * src/system.h: Include config.h.
2876 * src/getargs.c: Update bug report address.
2878 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2879 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2881 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2884 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2886 * configure.in, version.cin:
2887 Build version.c automatically.
2889 * AUTHORS: Add AUTHORS file.
2891 * README: Update bug report address.
2894 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2896 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2899 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2901 * doc/bison.texinfo: Clean up some formatting.
2903 1998-05-05 Richard Stallman <rms@gnu.org>
2905 * doc/bison.texinfo:
2906 Explain better why to make a pure parser.
2908 1998-01-05 Richard Stallman <rms@gnu.org>
2910 * src/files.c (openfiles):
2911 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2912 find a temporary directory, if possible. Do not unlink files while
2915 1997-08-25 Richard Stallman <rms@gnu.org>
2917 * src/reader.c (stack_offset;):
2918 Change some warni to warns.
2920 * src/lex.c (literalchar): Use warns, not warni.
2922 1997-06-28 Richard Stallman <rms@gnu.org>
2924 * src/bison.s1: Add a Bison version comment.
2926 * src/main.c (fatal, warn, berror):
2929 1997-06-28 Richard Stallman <rms@gnu.org>
2931 * Makefile.in (bison_version): New variable.
2932 (dist): Use that variable.
2933 (bison.s1): Substitute the Bison version into bison.simple.
2935 * bison.simple: Add a Bison version comment.
2937 1997-06-18 Richard Stallman <rms@gnu.org>
2939 * src/main.c (fatal, warn, berror):
2940 Make error messages standard.
2941 (toomany): Improve error message text.
2943 * 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:
2944 new.h renamed to alloc.h.
2946 1997-06-18 Richard Stallman <rms@gnu.org>
2948 * Makefile.in: new.h renamed to alloc.h.
2950 1997-05-24 Richard Stallman <rms@gnu.org>
2952 * src/lex.c (literalchar):
2953 Fix the code for escaping \, " and '.
2955 (lex): Avoid trouble when there are many chars
2956 to discard in a char literal with just several chars in it.
2958 1997-05-17 Richard Stallman <rms@gnu.org>
2961 Use malloc, if using alloca is troublesome.
2962 (YYSTACK_USE_ALLOCA): New flag macro.
2963 Define it for some systems and compilers.
2964 (YYSTACK_ALLOC): New macro.
2965 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2966 If it was malloc'd, free it.
2968 1997-05-17 Richard Stallman <rms@gnu.org>
2971 Use malloc, if using alloca is troublesome.
2972 (YYSTACK_USE_ALLOCA): New flag macro.
2973 Define it for some systems and compilers.
2974 (YYSTACK_ALLOC): New macro.
2975 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2976 If it was malloc'd, free it.
2978 1997-04-23 Richard Stallman <rms@gnu.org>
2981 (alloca) [__hpux]: Always define as __builtin_alloca.
2983 1997-04-23 Richard Stallman <rms@gnu.org>
2986 (alloca) [__hpux]: Always define as __builtin_alloca.
2988 1997-04-22 Richard Stallman <rms@gnu.org>
2991 [__hpux]: Include alloca.h (right for HPUX 10)
2992 instead of declaring alloca (right for HPUX 9).
2994 * src/bison.s1 (__yy_memcpy):
2995 Declare arg `count' as unsigned int.
2996 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2998 1997-04-22 Richard Stallman <rms@gnu.org>
3001 [__hpux]: Include alloca.h (right for HPUX 10)
3002 instead of declaring alloca (right for HPUX 9).
3004 * bison.simple (__yy_memcpy):
3005 Declare arg `count' as unsigned int.
3006 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3008 1997-01-03 Richard Stallman <rms@gnu.org>
3010 * src/allocate.c: [__STDC__ or _MSC_VER]:
3011 Declare calloc and realloc to return void *.
3013 1997-01-02 Richard Stallman <rms@gnu.org>
3016 [_MSC_VER]: Include stdlib.h and process.h.
3017 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3019 * src/main.c (main): Return FAILURE as a value.
3020 (printable_version): Declare arg as int, not char.
3022 1997-01-02 Richard Stallman <rms@gnu.org>
3024 * Makefile.in (dist):
3025 Explicitly check for symlinks, and copy them.
3027 1996-12-19 Richard Stallman <rms@gnu.org>
3030 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3032 1996-12-18 Paul Eggert <eggert@gnu.org>
3034 * src/bison.s1 (yyparse):
3035 If __GNUC__ and YYPARSE_PARAM are both defined,
3036 declare yyparse to have a void * argument.
3038 1996-12-18 Paul Eggert <eggert@gnu.org>
3040 * bison.simple (yyparse):
3041 If __GNUC__ and YYPARSE_PARAM are both defined,
3042 declare yyparse to have a void * argument.
3044 1996-12-17 Richard Stallman <rms@gnu.org>
3046 * src/reduce.c (nbits): Add some casts.
3048 1996-08-12 Richard Stallman <rms@gnu.org>
3050 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3052 1996-08-12 Richard Stallman <rms@gnu.org>
3054 * bison.simple: Test _MSDOS as well as _MSDOS_.
3056 1996-07-31 Richard Stallman <rms@gnu.org>
3059 [__sun && __i386]: Include alloca.h.
3061 1996-07-31 Richard Stallman <rms@gnu.org>
3064 [__sun && __i386]: Include alloca.h.
3066 1996-07-30 Richard Stallman <rms@gnu.org>
3068 * src/bison.s1: Comment change.
3070 * src/bison.s1: Test _MSDOS_, not MSDOS.
3072 1996-07-30 Richard Stallman <rms@gnu.org>
3074 * bison.simple: Comment change.
3076 * bison.simple: Test _MSDOS_, not MSDOS.
3078 1996-06-01 Richard Stallman <rms@gnu.org>
3080 * 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:
3081 Insert `_' macro around many string constants.
3084 Insert `_' macro around many string constants.
3086 (main): Call setlocale, bindtextdomain and textdomain.
3088 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3089 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3090 [ENABLE_NLS]: Include libintl.h.
3091 [ENABLE_NLS] (gettext): Define.
3092 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3093 (N_, PACKAGE, LOCALEDIR): New macros.
3095 1996-06-01 Richard Stallman <rms@gnu.org>
3097 * POTFILES.in: New file.
3099 * Makefile.in (allocate.o):
3100 Define target explicitly.
3102 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3103 (LDFLAGS): Set to @LDFLAGS@.
3104 (configure): Run autoconf only if preceding `cd' succeeds.
3105 (bison.s1): Redirect output to temporary file then move the
3106 temporary to the target, rather than redirecting directly to bison.s1.
3107 (clean): Remove config.status and config.log.
3108 (distclean): Don't remove config.status here.
3110 1996-05-12 Richard Stallman <rms@gnu.org>
3113 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3115 1996-05-12 Richard Stallman <rms@gnu.org>
3118 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3120 1996-05-11 Richard Stallman <rms@gnu.org>
3122 * src/bison.s1 (__yy_memcpy):
3123 Really reorder the args, as was supposedly done on Feb 14 1995.
3124 (yyparse): Calls changed accordingly.
3126 1996-05-11 Richard Stallman <rms@gnu.org>
3128 * Makefile.in (dist): Don't use $(srcdir).
3130 * bison.simple (__yy_memcpy):
3131 Really reorder the args, as was supposedly done on Feb 14 1995.
3132 (yyparse): Calls changed accordingly.
3134 1996-01-27 Richard Stallman <rms@gnu.org>
3136 * src/output.c (output_rule_data):
3137 Test YYERROR_VERBOSE in the conditional
3138 around the definition of ttyname.
3140 1995-12-29 Richard Stallman <rms@gnu.org>
3143 Fix line numbers in #line commands.
3145 1995-12-29 Richard Stallman <rms@gnu.org>
3148 Fix line numbers in #line commands.
3150 1995-12-27 Richard Stallman <rms@gnu.org>
3152 * src/bison.s1 (YYPARSE_PARAM_DECL):
3153 In C++, make it always null.
3154 (YYPARSE_PARAM_ARG): New macro.
3155 (yyparse): Use YYPARSE_PARAM_ARG.
3157 1995-12-27 Richard Stallman <rms@gnu.org>
3159 * bison.simple (YYPARSE_PARAM_DECL):
3160 In C++, make it always null.
3161 (YYPARSE_PARAM_ARG): New macro.
3162 (yyparse): Use YYPARSE_PARAM_ARG.
3164 1995-11-29 Richard Stallman <rms@gnu.org>
3166 * doc/bison.texinfo:
3167 Describe literal string tokens, %raw, %no_lines, %token_table.
3169 1995-11-29 Daniel Hagerty <hag@gnu.org>
3171 * doc/bison.texinfo: Fixed update date
3173 1995-10-16 Richard Stallman <rms@gnu.org>
3175 * src/version.c: Version 1.25.
3177 1995-10-16 Richard Stallman <rms@gnu.org>
3179 * NEWS: *** empty log message ***
3181 1995-10-16 Richard Stallman <rms@gnu.org>
3183 * doc/bison.1, doc/bison.rnh:
3186 1995-10-15 Richard Stallman <rms@gnu.org>
3188 * src/vmsgetargs.c, src/getargs.c:
3189 Added -n, -k, and -raw switches.
3190 (noparserflag, toknumflag, rawtoknumflag): New variables.
3192 * src/symtab.h (SALIAS):
3193 New #define for adding aliases to %token.
3194 (struct bucket): Added `alias' field.
3196 * src/reduce.c (reduce_grammar):
3197 Revise error message.
3198 (print_notices): Remove final `.' from error message.
3200 * src/reader.c (reader_output_yylsp):
3202 (readgram): Use `#if 0' around code that accepted %command
3203 inside grammar rules: The documentation doesn't allow it,
3204 and it will fail since the %command processors scan for the next %.
3205 (parse_token_decl): Extended the %token
3206 declaration to allow a multi-character symbol as an alias.
3207 (parse_thong_decl): New function.
3208 (read_declarations): Added %thong declarations.
3209 (read_declarations): Handle NOOP to deal with allowing
3210 % declarations as another means to specify the flags.
3211 (readgram): Allow %prec prior to semantics embedded in a rule.
3212 (skip_to_char, read_declarations, copy_definition)
3213 (parse_token_decl, parse_start_decl, parse_type_decl)
3214 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3215 (get_type_name, copy_guard, copy_action, readgram)
3216 (get_type, packsymbols): Revised most error messages.
3217 Changed `fatal' to `warnxxx' to avoid aborting for error.
3218 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3219 (read_declarations): Improve the error message for
3220 an invalid character. Do not abort.
3221 (read_declarations, copy_guard, copy_action): Use
3222 printable_version to avoid unprintable characters in printed output.
3223 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3224 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3225 Allow the type of a non-terminal can be given
3226 more than once, as long as all specifications give the same type.
3229 (output_headers, output_trailers, output, output_gram)
3230 (output_rule_data): Implement noparserflag variable.
3231 Implement toknumflag variable.
3232 (output): Call reader_output_yylsp to output LTYPESTR.
3234 * src/main.c (main):
3235 If reader sees an error, don't process the grammar.
3236 (fatals): Updated to not use VARARGS1.
3237 (printable_version, int_to_string, warn, warni, warns, warnss)
3238 (warnsss): New error reporting functions. Avoid abort for error.
3241 Added THONG and NOOP for alias processing.
3242 Added SETOPT for the new code that allows setting options with %flags.
3245 Include getopt.h. Add some extern decls.
3246 (safegetc): New function to deal with EOF gracefully.
3247 (literalchar); new function to deal with reading \ escapes.
3248 (lex): Use literalchar.
3249 (lex): Implemented "..." tokens.
3250 (literalchar, lex, parse_percent_token): Made tokenbuffer
3251 always contain the token. This includes growing the token
3252 buffer while reading an integer.
3253 (parse_percent_token): Replaced if-else statement with percent_table.
3254 (parse_percent_token): Added % declarations as another
3255 way to specify the flags -n, -l, and -r. Also added hooks for
3256 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3257 major changes to files.c.
3258 (lex) Retain in the incoming stream a character following
3260 (skip_white_space, lex): Revised most error messages
3261 and changed fatal to warn to avoid aborting.
3262 (percent_table): Added %thong declarations.
3264 * src/gram.h: Comment changes.
3266 * src/files.c (openfiles, open_extra_files, done):
3268 and actfile file. Handle noparserflag. Both for -n switch.
3270 * src/conflicts.c (resolve_sr_conflict):
3271 Remove use of alloca.
3273 1995-06-01 Jim Meyering <meyering@gnu.org>
3275 * doc/bison.texinfo: *** empty log message ***
3277 1995-05-06 Richard Stallman <rms@gnu.org>
3279 * src/bison.s1: Comment change.
3281 1995-05-06 Richard Stallman <rms@gnu.org>
3283 * bison.simple: Comment change.
3285 1995-05-03 Richard Stallman <rms@gnu.org>
3287 * src/version.c: Version now 1.24.
3289 * src/bison.s1: Change distribution terms.
3291 * src/version.c: Version now 1.23.
3293 1995-05-03 Richard Stallman <rms@gnu.org>
3295 * doc/bison.texinfo:
3296 Rewrite "Conditions for Using Bison".
3297 Update version to 1.24.
3299 1995-05-03 Richard Stallman <rms@gnu.org>
3301 * bison.simple: Change distribution terms.
3303 1995-02-23 Richard Stallman <rms@gnu.org>
3305 * src/files.c: Test __VMS_POSIX as well as VMS.
3307 1995-02-14 Jim Meyering <meyering@gnu.org>
3309 * src/bison.s1 (__yy_memcpy):
3310 Renamed from __yy_bcopy to avoid
3311 confusion. Reverse FROM and TO arguments to be consistent with
3314 1995-02-14 Jim Meyering <meyering@gnu.org>
3316 * bison.simple (__yy_memcpy):
3317 Renamed from __yy_bcopy to avoid
3318 confusion. Reverse FROM and TO arguments to be consistent with
3321 1994-11-10 David J. MacKenzie <djm@gnu.org>
3327 * Makefile.in (DISTFILES): Include NEWS.
3329 * Makefile.in (DISTFILES):
3330 Include install-sh, not install.sh.
3332 * configure.in: Update to Autoconf v2 macro names.
3334 1994-10-05 David J. MacKenzie <djm@gnu.org>
3336 * Makefile.in: fix typo
3338 * Makefile.in (prefix, exec_prefix):
3339 Let configure set them.
3341 1994-09-28 David J. MacKenzie <djm@gnu.org>
3343 * Makefile.in: Set datadir to $(prefix)/share.
3345 1994-09-15 Richard Stallman <rms@gnu.org>
3348 Update copyright notice and GPL version.
3350 1994-09-15 Richard Stallman <rms@gnu.org>
3353 Update copyright notice and GPL version.
3355 1994-07-12 Richard Stallman <rms@gnu.org>
3357 * src/reduce.c, src/reader.c:
3360 1994-05-05 David J. MacKenzie <djm@gnu.org>
3362 * Makefile.in: entered into RCS
3364 1994-03-26 Richard Stallman <rms@gnu.org>
3366 * src/bison.s1: entered into RCS
3368 1994-03-26 Richard Stallman <rms@gnu.org>
3370 * bison.simple: entered into RCS
3372 1994-03-25 Richard Stallman <rms@gnu.org>
3374 * src/main.c: entered into RCS
3376 1994-03-24 Richard Stallman <rms@gnu.org>
3378 * src/conflicts.c: entered into RCS
3380 1994-01-02 Richard Stallman <rms@gnu.org>
3382 * Makefile.in: *** empty log message ***
3384 1993-11-21 Richard Stallman <rms@gnu.org>
3386 * src/bison.s1: *** empty log message ***
3388 1993-11-21 Richard Stallman <rms@gnu.org>
3390 * doc/bison.texinfo: entered into RCS
3392 * doc/bison.texinfo: *** empty log message ***
3394 1993-11-21 Richard Stallman <rms@gnu.org>
3396 * bison.simple: *** empty log message ***
3398 1993-10-25 David J. MacKenzie <djm@gnu.org>
3400 * doc/bison.texinfo: *** empty log message ***
3402 1993-10-19 Richard Stallman <rms@gnu.org>
3404 * src/bison.s1: *** empty log message ***
3406 1993-10-19 Richard Stallman <rms@gnu.org>
3408 * bison.simple: *** empty log message ***
3410 1993-10-14 Richard Stallman <rms@gnu.org>
3412 * src/bison.s1: *** empty log message ***
3414 1993-10-14 Richard Stallman <rms@gnu.org>
3416 * bison.simple: *** empty log message ***
3418 1993-09-14 David J. MacKenzie <djm@gnu.org>
3420 * doc/bison.texinfo: *** empty log message ***
3422 1993-09-13 Noah Friedman <friedman@gnu.org>
3424 * Makefile.in: *** empty log message ***
3426 1993-09-10 Richard Stallman <rms@gnu.org>
3428 * src/conflicts.c: *** empty log message ***
3430 * src/system.h: entered into RCS
3432 1993-09-10 Richard Stallman <rms@gnu.org>
3434 * doc/bison.1: entered into RCS
3436 1993-09-06 Noah Friedman <friedman@gnu.org>
3438 * src/version.c: entered into RCS
3440 1993-09-06 Noah Friedman <friedman@gnu.org>
3442 * Makefile.in: *** empty log message ***
3444 1993-07-30 David J. MacKenzie <djm@gnu.org>
3446 * Makefile.in: *** empty log message ***
3448 1993-07-24 Richard Stallman <rms@gnu.org>
3450 * src/bison.s1: *** empty log message ***
3452 1993-07-24 Richard Stallman <rms@gnu.org>
3454 * bison.simple: *** empty log message ***
3456 1993-07-08 David J. MacKenzie <djm@gnu.org>
3458 * Makefile.in: *** empty log message ***
3460 1993-07-04 Richard Stallman <rms@gnu.org>
3462 * src/bison.s1: *** empty log message ***
3464 1993-07-04 Richard Stallman <rms@gnu.org>
3466 * bison.simple: *** empty log message ***
3468 1993-06-26 David J. MacKenzie <djm@gnu.org>
3470 * src/getargs.c: entered into RCS
3472 1993-06-26 David J. MacKenzie <djm@gnu.org>
3474 * doc/bison.texinfo: *** empty log message ***
3476 * doc/bison.1: New file.
3478 1993-06-25 Richard Stallman <rms@gnu.org>
3480 * src/getargs.c: New file.
3482 1993-06-16 Richard Stallman <rms@gnu.org>
3484 * src/bison.s1: *** empty log message ***
3486 1993-06-16 Richard Stallman <rms@gnu.org>
3488 * bison.simple: *** empty log message ***
3490 1993-06-03 Richard Stallman <rms@gnu.org>
3492 * src/bison.s1: New file.
3494 1993-06-03 Richard Stallman <rms@gnu.org>
3496 * doc/bison.texinfo: *** empty log message ***
3498 1993-06-03 Richard Stallman <rms@gnu.org>
3500 * bison.simple: New file.
3502 1993-05-19 Richard Stallman <rms@gnu.org>
3504 * doc/bison.texinfo: New file.
3506 1993-05-07 Noah Friedman <friedman@gnu.org>
3508 * Makefile.in: *** empty log message ***
3510 1993-04-28 Noah Friedman <friedman@gnu.org>
3512 * src/reader.c: *** empty log message ***
3514 1993-04-23 Noah Friedman <friedman@gnu.org>
3516 * src/alloc.h: entered into RCS
3518 1993-04-20 David J. MacKenzie <djm@gnu.org>
3520 * src/version.c: *** empty log message ***
3522 * src/files.c, src/allocate.c:
3525 * src/reader.c: *** empty log message ***
3527 * src/lex.c: entered into RCS
3529 * src/conflicts.c: New file.
3531 * src/symtab.c: entered into RCS
3533 * src/alloc.h: New file.
3535 * src/LR0.c: entered into RCS
3537 1993-04-18 Noah Friedman <friedman@gnu.org>
3539 * src/reader.c: New file.
3541 * src/version.c: *** empty log message ***
3543 1993-04-18 Noah Friedman <friedman@gnu.org>
3545 * Makefile.in: *** empty log message ***
3547 1993-04-17 Noah Friedman <friedman@gnu.org>
3549 * Makefile.in: *** empty log message ***
3551 1993-04-15 Richard Stallman <rms@gnu.org>
3553 * src/main.c, src/files.c:
3556 1993-04-15 Noah Friedman <friedman@gnu.org>
3558 * configure.in: entered into RCS
3560 * configure.in: *** empty log message ***
3562 * configure.in: New file.
3564 1993-04-14 Richard Stallman <rms@gnu.org>
3566 * Makefile.in: New file.
3568 1993-04-13 Richard Stallman <rms@gnu.org>
3570 * src/version.c: New file.
3572 1993-03-25 Richard Stallman <rms@gnu.org>
3574 * src/output.c: entered into RCS
3576 1992-09-25 Richard Stallman <rms@gnu.org>
3578 * configure.bat: entered into RCS
3580 1992-06-22 Richard Stallman <rms@gnu.org>
3582 * src/vmsgetargs.c: entered into RCS
3584 1992-06-22 Richard Stallman <rms@gnu.org>
3586 * doc/bison.rnh: entered into RCS
3588 1992-04-20 David J. MacKenzie <djm@gnu.org>
3590 * README: entered into RCS
3592 1992-01-22 Richard Stallman <rms@gnu.org>
3594 * src/machine.h: entered into RCS
3596 1991-12-21 Richard Stallman <rms@gnu.org>
3598 * src/lalr.c, src/closure.c:
3601 1991-12-20 Richard Stallman <rms@gnu.org>
3603 * src/state.h: entered into RCS
3605 1991-12-18 Richard Stallman <rms@gnu.org>
3607 * src/print.c, src/nullable.c, src/derives.c:
3610 1991-11-03 David J. MacKenzie <djm@gnu.org>
3612 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3615 1988-09-09 Richard Stallman <rms@gnu.org>
3617 * src/bison.hairy: entered into RCS
3619 1987-12-16 Richard Stallman <rms@gnu.org>
3621 * REFERENCES: entered into RCS