1 2001-11-19 Akim Demaille <akim@epita.fr>
3 * src/vcg.c: You do the output, so you are responsible of the
4 handling of VCG syntax, in particular: use quotearg.
5 * src/print_graph.c: Don't.
6 (print_actions): Don't output the actions as part of the nodes,
7 since that's the job of the edges.
8 (print_state): Don't output by hand: fill the node description,
9 and ask for its output.
11 2001-11-19 Akim Demaille <akim@epita.fr>
13 * src/bison.simple (yyparse): When reporting verbosely an error,
14 no longer issue additional quotes around token names.
15 * tests/calc.at: Adjust.
17 2001-11-19 Akim Demaille <akim@epita.fr>
19 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
20 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
21 * src/output.c: Adjust.
24 2001-11-19 Akim Demaille <akim@epita.fr>
26 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
28 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
30 2001-11-19 Akim Demaille <akim@epita.fr>
32 * src/gram.h (rule_t): New.
34 (rrhs, rlhs): Remove, part of state_t.
35 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
36 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
37 * src/reader.c, src/reduce.c: Adjust.
40 2001-11-19 Akim Demaille <akim@epita.fr>
42 * src/reader.c (symbols_output): New, extracted from...
46 2001-11-19 Akim Demaille <akim@epita.fr>
48 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
49 (maxrhs): this new function.
51 2001-11-19 Akim Demaille <akim@epita.fr>
53 * src/lalr.c (F): New macro to access to the variable F.
56 2001-11-19 Akim Demaille <akim@epita.fr>
58 * src/lalr.h (LA): New macro to access to the variable LA.
59 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
62 2001-11-19 Akim Demaille <akim@epita.fr>
64 * src/lalr.c (initialize_LA): Only initialize LA. Let...
65 (set_state_table): handle the `lookaheads' members.
68 2001-11-19 Akim Demaille <akim@epita.fr>
70 * src/lalr.h (lookaheads): Removed array, which contents is now
72 (state_t): this structure.
73 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
76 2001-11-19 Akim Demaille <akim@epita.fr>
78 * src/lalr.h (consistent): Removed array, which contents is now
80 (state_t): this structure.
81 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
84 2001-11-19 Akim Demaille <akim@epita.fr>
86 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
87 contents is now members of...
88 (state_t): this structure.
89 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
93 2001-11-19 Akim Demaille <akim@epita.fr>
95 * src/lalr.h (state_t): New.
96 (state_table): Be a state_t * instead of a core **.
97 (accessing_symbol): Remove, part of state_t.
99 (set_accessing_symbol): Merge into...
100 (set_state_table): this.
101 * src/print_graph.c, src/conflicts.c: Adjust.
103 2001-11-14 Akim Demaille <akim@epita.fr>
105 * tests/calc.at, tests/output.at, tests/regression.at,
106 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
107 now the tests are run in private dirs, therefore AC_CLEANUP and
108 family can be simplified to 0-ary.
109 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
110 use abs. path to find config.h.
111 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
112 stderr, there can be way too much random noise.
113 Instead pass -Werror to GCC and rely on the exit status.
114 Reported by Wolfram Wagner.
116 2001-11-14 Akim Demaille <akim@epita.fr>
118 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
119 defined only if yyoverflow is defined, to avoid `warning: unused
121 Reported by The Test Suite.
123 2001-11-14 Akim Demaille <akim@epita.fr>
125 * src/print.c: Include reduce.h.
126 Reported by Hans Aberg.
128 2001-11-14 Akim Demaille <akim@epita.fr>
130 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
131 Revert a previous patch: these are really const.
132 * src/conflicts.c (conflict_report): Additional useless pair of
133 braces to pacify GCC's warnings for `if () if () {} else {}'.
134 * src/lex.c (parse_percent_token): Replace equal_offset with
137 Be sure to strdup `arg' when used, since there is no reason for
138 token_buffer not to change.
140 2001-11-14 Akim Demaille <akim@epita.fr>
142 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
144 * src/main.c (main): Use them.
145 Suggested by Hans Aberg.
147 2001-11-12 Akim Demaille <akim@epita.fr>
149 * src/system.h (ngettext): Now that we use ngettext, be sure to
150 provide a default definition when NLS are not used.
152 2001-11-12 Akim Demaille <akim@epita.fr>
154 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
155 Use @kbd to denote user input.
156 (Language and Grammar): ANSIfy the example.
157 Adjust its layout for info/notinfo.
158 (Location Tracking Calc): Output error messages to stderr.
159 Output locations in a more GNUtically correct way.
160 Fix a couple of Englishos.
161 Adjust @group/@end group pairs.
163 2001-11-12 Akim Demaille <akim@epita.fr>
165 %expext was not functioning at all.
167 * src/conflicts.c (expected_conflicts): Set to -1.
168 (conflict_report): Use ngettext.
169 (conflicts_print): Check %expect and make its violation an error.
170 * doc/bison.texinfo (Expect Decl): Adjust.
171 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
172 * tests/regression.at (%expect not enough, %expect right)
173 (%expect too much): New.
175 2001-11-12 Akim Demaille <akim@epita.fr>
177 * tests/regression.at (Conflicts): Rename as...
178 (Unresolved SR Conflicts): this.
179 (Solved SR Conflicts): New.
181 2001-11-12 Akim Demaille <akim@epita.fr>
183 * src/reduce.c (print_results): Rename as...
184 (reduce_output): This.
185 Output to OUT, passed as argument, instead of output_obstack.
186 (dump_grammar): Likewise.
189 (reduce_grammar): No longer call reduce_output, since...
190 * src/print.c (print_results): do it.
191 * src/main.c (main): Call reduce_free;
193 2001-11-12 Akim Demaille <akim@epita.fr>
195 * src/conflicts.c (print_reductions): Accept OUT as argument.
196 Output to it, not to output_obstack.
197 * src/print.c (print_actions): Adjust.
199 2001-11-12 Akim Demaille <akim@epita.fr>
201 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
202 the result instead of using...
203 (src_total, rrc_total, src_count, rrc_count): Remove.
204 (any_conflicts): Remove.
205 (print_conflicts): Split into...
206 (conflicts_print, conflicts_output): New.
207 * src/conflicts.h: Adjust.
208 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
209 * src/print.c (print_grammar): Issue `\n' between two rules.
210 * tests/regression.at (Conflicts): New.
211 Reported by Tom Lane.
213 2001-11-12 Akim Demaille <akim@epita.fr>
215 * tests/regression.at (Invalid input): Remove, duplicate with
216 ``Invalid input: 1''.
218 2001-11-12 Akim Demaille <akim@epita.fr>
220 * tests/torture.at (AT_DATA_STACK_TORTURE)
221 (Exploding the Stack Size with Alloca)
222 (Exploding the Stack Size with Malloc): New.
224 2001-11-12 Akim Demaille <akim@epita.fr>
226 * src/bison.simple (YYSTACK_REALLOC): New.
227 (yyparse) [!yyoverflow]: Use it and free the old stack.
228 Reported by Per Allansson.
230 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
232 * src/bison.simple: Define type yystype instead of YYSTYPE, and
233 define CPP macro, which substitute YYSTYPE by yystype.
234 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
235 with yyltype/YYLTYPE. This allows inclusion of the generated
236 header within the parser if the compiler, such as GGC, accepts
237 multiple equivalent #defines.
240 2001-11-05 Akim Demaille <akim@epita.fr>
242 * src/reader.c (symbols_output): New, extracted from...
246 2001-11-05 Akim Demaille <akim@epita.fr>
248 * src/lex.c (parse_percent_token): s/quotearg/quote/.
250 2001-11-05 Akim Demaille <akim@epita.fr>
252 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
255 2001-11-05 Akim Demaille <akim@epita.fr>
257 * src/options.h (struct option_table_struct): set_flags is void*.
258 * src/options.c (longopts): Support `--output' and `%output'.
260 * src/lex.h (tok_setopt): Remove, replaced with...
261 (tok_intopt, tok_stropt): these new guys.
262 * src/lex.c (getopt.h): Not needed.
263 (token_buffer, unlexed_token_buffer): Not const.
264 (percent_table): Promote `-' over `_' in directive names.
265 Active `%name-prefix', `file-prefix', and `output'.
266 (parse_percent_token): Accept possible arguments to directives.
267 Promote `-' over `_' in directive names.
269 2001-11-04 Akim Demaille <akim@epita.fr>
271 * doc/bison.texinfo (Decl Summary): Split the list into
272 `directives for grammars' and `directives for bison'.
274 Add description of `%name-prefix', `file-prefix', and `output'.
275 Promote `-' over `_' in directive names.
276 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
277 Simplify the description of `--name-prefix'.
278 Promote `-' over `_' in directive names.
279 Promote `--output' over `--output-file'.
280 Fix the description of `--defines'.
281 * tests/output.at: Exercise %file-prefix and %output.
283 2001-11-02 Akim Demaille <akim@epita.fr>
285 * doc/refcard.tex: Update.
287 2001-11-02 Akim Demaille <akim@epita.fr>
289 * src/symtab.h (SUNDEF): New.
290 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
291 stand for `uninitialized', instead of 0.
292 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
293 * src/lex.c (lex): Adjust.
295 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
297 Let yylex return it instead of a plain 0.
298 Reported by Dick Streefland.
300 2001-11-02 Akim Demaille <akim@epita.fr>
302 * tests/regression.at (Mixing %token styles): New test.
304 2001-11-02 Akim Demaille <akim@epita.fr>
306 * src/reader.c (parse_thong_decl): Formatting changes.
307 (token_translations_init): New, extracted from...
311 2001-11-01 Akim Demaille <akim@epita.fr>
313 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
314 Check that `9foo.y' produces correct cpp guards.
315 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
319 2001-11-01 Akim Demaille <akim@epita.fr>
321 * tests/regression.at (Invalid input: 2): New.
322 * src/lex.c (unlexed_token_buffer): New.
323 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
327 2001-11-01 Akim Demaille <akim@epita.fr>
329 * tests/calc.at: Catch up with 1.30.
330 * configure.in: Bump to 1.49a.
331 Adjust to newer Autotest.
333 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
335 * src/conflicts.c: Move global variables rrc_total and src_total ...
336 (print_conflicts): here.
337 * src/output.c (output): Free global variable user_toknums.
338 * src/lex.c (token_obstack): Become static.
340 2001-10-18 Akim Demaille <akim@epita.fr>
342 * tests/atlocal.in (GCC): Add.
343 * tests/calc.at: s/m4_match/m4_bmatch/.
344 s/m4_patsubst/m4_bpatsubst/.
345 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
346 * configure.in: AC_SUBST(GCC).
348 2001-10-14 Marc Autret <autret_m@epita.fr>
350 * src/options.c (create_long_option_table): Fix.
352 2001-10-10 Akim Demaille <akim@epita.fr>
354 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
356 2001-10-04 Akim Demaille <akim@epita.fr>
358 * src/reader.c (parse_union_decl): Push the caracters in
359 union_obstack, not attrs_obstack.
361 2001-10-04 Akim Demaille <akim@epita.fr>
363 Merge in the branch 1.29.
365 * src/reader.c (packsymbols): Use a temporary obstack for
366 `%%tokendef', since output_stack is already used elsewhere.
368 2001-10-02 Akim Demaille <akim@epita.fr>
372 2001-10-02 Akim Demaille <akim@epita.fr>
376 2001-10-02 Akim Demaille <akim@epita.fr>
378 * tests/regression.at (Invalid CPP headers): New.
379 From Alexander Belopolsky.
380 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
382 2001-10-02 Akim Demaille <akim@epita.fr>
384 * tests/regression.at (Invalid input): New.
385 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
388 2001-10-02 Akim Demaille <akim@epita.fr>
390 * tests/calc.at: Now that --debug works, the tests must be adjusted.
392 2001-10-02 Akim Demaille <akim@epita.fr>
394 * src/output.c (output_parser): Assert `skeleton'.
395 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
399 2001-10-01 Marc Autret <autret_m@epita.fr>
401 * src/lex.h: Echo modifications.
402 * src/lex.c (unlex): Parameter is now token_t.
405 2001-10-01 Marc Autret <autret_m@epita.fr>
407 * src/main.c: Include lex.h.
410 2001-09-29 Akim Demaille <akim@epita.fr>
412 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
414 2001-09-28 Akim Demaille <akim@epita.fr>
416 * tests/testsuite.at: Update to newer Autotest.
417 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
419 2001-09-27 Akim Demaille <akim@epita.fr>
421 Position independent wrapper.
423 * tests/bison: Remove.
424 * tests/bison.in: New.
425 * configure.in: Adjust.
427 2001-09-27 Paul Eggert <eggert@twinsun.com>
429 Port quotearg fixes from tar 1.13.24.
431 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
433 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
434 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
436 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
437 * m4/mbrtowc.m4: New file.
438 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
439 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
441 2001-09-27 Akim Demaille <akim@epita.fr>
445 2001-09-27 Akim Demaille <akim@epita.fr>
449 2001-09-25 Akim Demaille <akim@epita.fr>
451 * src/system.h: Include `xalloc.h'.
452 Remove it from the C files.
453 * src/files.c (output_files): Free the obstacks.
454 * src/lex.c (init_lex): Rename as...
457 * src/main.c (main): Use it.
459 2001-09-24 Marc Autret <autret_m@epita.fr>
461 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
462 to output informations in fout (FILE*).
463 (open_graph, close_graph): Likewise.
464 (output_graph, output_edge, output_node): Likewise.
465 * src/vcg.h: Update function prototypes.
466 * src/print_graph.c (print_graph): Open output graph file.
467 (print_actions): Adjust.
468 * src/files.h: Remove extern declaration.
469 * src/files.c: Remove graph_obstack declaration.
470 (open_files): Remove graph_obstack initialization.
471 (output_files): Remove graph_obstack saving.
473 2001-09-24 Marc Autret <autret_m@epita.fr>
475 * src/files.c (compute_output_file_names): Fix.
477 2001-09-24 Marc Autret <autret_m@epita.fr>,
478 Akim Demaille <akim@epita.fr>
480 * src/reader.c (reader): Remove call to free_symtab ().
481 * src/main.c (main): Call it here.
483 * src/conflicts.c (initialize_conflicts): Rename as...
484 (solve_conflicts): this.
485 * src/print.c (print_core, print_actions, print_state)
486 (print_grammar): Dump to a file instead a `output_obstack'.
487 (print_results): Dump `output_obstack', and then proceed with the
489 * src/files.c (compute_output_file_names, close_files): New.
490 (output_files): Adjust.
491 * src/main.c (main): Adjust.
493 2001-09-23 Marc Autret <autret_m@epita.fr>
495 * src/files.c (compute_header_macro): Computes header macro name
496 from spec_defines_file when given.
498 2001-09-23 Marc Autret <autret_m@epita.fr>
500 * src/files.c (output_files): Add default extensions.
502 2001-09-22 Akim Demaille <akim@epita.fr>
504 * src/conflicts.c (finalize_conflicts): Rename as...
505 (free_conflicts): this.
507 2001-09-22 Akim Demaille <akim@epita.fr>
509 * src/gram.c (gram_free): Rename back as...
511 (output_token_translations): Free `token_translations'.
512 * src/symtab.c (free_symtab): Free the tag field.
514 2001-09-22 Akim Demaille <akim@epita.fr>
516 Remove `translations' as it is always set to true.
518 * src/gram.h: Adjust.
519 * src/reader.c (packsymbols, parse_token_decl): Adjust
520 * src/print.c (print_grammar): Adjust.
521 * src/output.c (output_token_translations): Adjust.
522 * src/lex.c (lex): Adjust.
523 * src/gram.c: Be sure the set pointers to NULL.
524 (dummy): Rename as...
527 2001-09-22 Akim Demaille <akim@epita.fr>
529 * configure.in: Invoke AM_LIB_DMALLOC.
530 * src/system.h: Use dmalloc.
531 * src/LR0.c: Be sure to have pointers initialized to NULL.
532 (allocate_itemsets): Allocate kernel_items only if needed.
534 2001-09-22 Akim Demaille <akim@epita.fr>
536 * configure.in: Bump to 1.29b.
537 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
538 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
539 need xmalloc.c in calc.y.
542 2001-09-21 Akim Demaille <akim@epita.fr>
545 * Makefile.maint, config/config.guess, config/config.sub,
546 * config/missing: Update from masters.
547 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
549 * configure.in (ALL_LINGUAS): Add `tr'.
551 2001-09-21 Akim Demaille <akim@epita.fr>
553 * tests/Makefile.am (package.m4): Move to...
554 ($(srcdir)/$(TESTSUITE)): here.
556 2001-09-20 Akim Demaille <akim@epita.fr>
558 * src/complain.c: No longer try to be standalone: use system.h.
559 Don't assume __STDC__ is defined to 1. Just test if it is defined.
560 * src/complain.h: Likewise.
561 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
562 Remove the unused variable `n'.
563 From Albert Chin-A-Young.
565 2001-09-18 Marc Autret <autret_m@epita.fr>
567 * doc/bison.1: Update.
568 * doc/bison.texinfo (Bison Options): Update --defines and --graph
570 (Option Cross Key): Update.
573 2001-09-18 Marc Autret <autret_m@epita.fr>
575 * tests/regression.at: New test (comment in %union).
577 2001-09-18 Marc Autret <autret_m@epita.fr>
579 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
581 Reported by Keith Browne.
583 2001-09-18 Marc Autret <autret_m@epita.fr>
585 * tests/output.at: Add tests for --defines and --graph.
587 2001-09-18 Marc Autret <autret_m@epita.fr>
589 * tests/output.at: Removes tests of %{header,src}_extension features.
591 2001-09-18 Akim Demaille <akim@epita.fr>
593 * tests/Makefile.am (package.m4): New.
594 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
595 (_AT_CHECK_CALC_ERROR): Likewise.
596 Factor the `, ' part of verbose error messages.
598 2001-09-18 Marc Autret <autret_m@epita.fr>
600 * src/getargs.c (longopts): Declare --defines and --graph as options
601 with optional arguments.
602 * src/files.h: Add extern declarations.
603 * src/files.c (spec_graph_file, spec_defines_file): New.
604 (output_files): Update.
605 Remove CPP-outed code.
607 2001-09-18 Marc Autret <autret_m@epita.fr>
609 Turn off %{source,header}_extension feature.
611 * src/files.c (compute_exts_from_gf): Update.
612 (compute_exts_from_src): Update.
613 (output_files): CPP-out useless code.
614 * src/files.h: Remove {header,source}_extension extern declarations.
615 * src/reader.c (parse_dquoted_param): CPP-out.
616 (parse_header_extension_decl): Remove.
617 (parse_source_extension_decl): Remove.
618 (read_declarations): Remove cases tok_{hdrext,srcext}.
619 * src/lex.c (percent_table): Remove {header,source}_extension entries.
620 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
622 2001-09-10 Akim Demaille <akim@epita.fr>
624 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
625 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
626 (AT_CHECK_OUTPUT): this.
627 Merely check ls' exit status, its output is useless.
629 2001-09-10 Akim Demaille <akim@epita.fr>
631 * tests/calc.at: Use m4_match.
632 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
634 2001-09-10 Marc Autret <autret_m@epita.fr>,
635 Akim Demaille <akim@epita.fr>
637 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
639 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
641 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
642 * src/lex.h: Adjust prototype.
643 (token_t): Add `tok_undef'.
644 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
645 (parse_percent_token): Now returns token_t.
646 Add default statement in switch.
647 (lex): Separate `c' as an input variable, from the token_t result
649 (unlexed): Is a token_t.
651 2001-09-10 Akim Demaille <akim@epita.fr>
653 * configure.in: Bump to 1.29a.
655 2001-09-07 Akim Demaille <akim@epita.fr>
659 2001-08-30 Akim Demaille <akim@epita.fr>
661 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
662 * m4/atconfig.m4: Remove.
663 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
665 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
666 m4_if, m4_patsubst, and m4_regexp.
667 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
668 `input' file instead of echo.
670 2001-08-29 Akim Demaille <akim@epita.fr>
674 2001-08-29 Akim Demaille <akim@epita.fr>
678 2001-08-29 Paul Eggert <eggert@twinsun.com>
680 * src/bison.simple (yyparse): Don't take the address of an
681 item before the start of an array, as that doesn't conform to
684 2001-08-29 Robert Anisko <anisko_r@epita.fr>
686 * doc/bison.texinfo (Location Tracking Calc): New node.
688 2001-08-29 Paul Eggert <eggert@twinsun.com>
690 * src/output.c (output): Do not define const, as this now
691 causes more problems than it cures.
693 2001-08-29 Akim Demaille <akim@epita.fr>
695 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
697 Be sure to tag the `detailmenu'.
699 2001-08-29 Akim Demaille <akim@epita.fr>
701 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
702 download in a tmp dir.
704 2001-08-28 Marc Autret <autret_m@epita.fr>
706 * config/depcomp: New file.
708 2001-08-28 Marc Autret <autret_m@epita.fr>
710 * doc/bison.1 (mandoc): Adjust.
711 From Juan Manuel Guerrero.
713 2001-08-28 Marc Autret <autret_m@epita.fr>
715 * src/print_graph.c (print_state): Fix.
717 2001-08-27 Marc Autret <autret_m@epita.fr>
719 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
721 Echo modifications to the functions prototypes.
722 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
724 2001-08-27 Marc Autret <autret_m@epita.fr>
726 * src/vcg.c: Include `xalloc.h'.
727 (add_colorentry): New.
728 (add_classname): New.
730 * src/vcg.h: Add new prototypes.
732 2001-08-27 Akim Demaille <akim@epita.fr>
734 * Makefile.maint: Sync. again with CVS Autoconf.
736 2001-08-27 Akim Demaille <akim@epita.fr>
738 * Makefile.maint: Formatting changes.
739 (po-update, cvs-update, update): New targets.
742 2001-08-27 Akim Demaille <akim@epita.fr>
744 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
745 * Makefile.maint: Sync. with CVS Autoconf.
747 2001-08-27 Marc Autret <autret_m@epita.fr>
749 * src/vcg.h (struct infoname_s): New.
750 (struct colorentry_s): New.
751 (graph_s): New fields {vertical,horizontal}_order in structure.
752 Add `infoname' field.
753 Add `colorentry' field;
754 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
755 (G_HORIZONTAL_ORDER): New.
758 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
759 Add output of `infoname'.
760 Add output of `colorentry'.
762 2001-08-27 Marc Autret <autret_m@epita.fr>
764 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
765 This one shadowed a global parameter.
767 2001-08-24 Marc Autret <autret_m@epita.fr>
769 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
770 instead of `unsigned'.
771 (print_state): Do not call obstack_object_size () in obstack_grow ()
772 to avoid macro variables shadowing.
774 2001-08-23 Marc Autret <autret_m@epita.fr>
776 * src/lex.c (percent_table): Typo: s/naem/name/.
778 Normalize new options declarations.
780 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
782 * tests/suite.at: Exercise %header_extension and %source_extension.
784 2001-08-16 Marc Autret <autret_m@epita.fr>
786 * src/reader.c (parse_dquoted_param): New.
787 (parse_header_extension_decl): Use it.
788 (parse_source_extension_decl): Likewise.
790 2001-08-16 Marc Autret <autret_m@epita.fr>
792 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
793 (get_xxxx_str): Use assert () instead of complain ().
794 Remove return invokations in default cases.
795 (get_decision_str): Modify default behaviour. Remove second argument.
796 Echo modifications on calls.
799 2001-08-16 Marc Autret <autret_m@epita.fr>
801 * src/getargs.c (usage): Update with ``-g, --graph''.
803 2001-08-16 Marc Autret <autret_m@epita.fr>
805 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
806 (Option Cross Key): Likewise.
807 * doc/bison.1: Update.
809 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
811 * src/output.c (output_master_parser): Don't finish action_obstack.
812 (output_parser): Don't care about the muscle action, here.
813 (prepare): Copy the action_obstack in the action muscle.
814 (output): Free action_obstack.
816 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
818 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
819 will contain `%union' declaration.
820 (parse_union_decl): Delete #line directive output.
821 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
822 informations about %union.
823 (parse_union_decl): Copy the union_obstack in the muscle stype.
824 * src/bison.simple: Add new #line directive.
825 Add typdef %%stype YYSTYPE.
827 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
829 * src/bison.simple: Add new `#line' directive.
831 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
833 * src/bison.simple: New `#line' directive.
834 * src/output.c (output_parser): Support new dynamic muscle input_line.
836 2001-09-22 Marc Autret <autret_m@epita.fr>
838 * src/output.c (output_master_parser): New.
839 (output_parser): Be more re-entrant.
841 2001-09-21 Marc Autret <autret_m@epita.fr>
843 * src/reader.c (copy_definition, parse_union_decl): Update and use
845 (copy_action): Likewise.
846 Use obstack_1grow ().
847 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
849 2001-09-21 Marc Autret <autret_m@epita.fr>
851 * src/options.c (option_table): Adjust.
852 * src/lex.c (parse_percent_token): Fix.
854 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
856 * src/options.c (symtab.h): Include it, need by lex.h.
858 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
860 * src/lex.c (parse_percent_token): Change type of variable `tx', which
861 is now an option_table_struct*.
862 (option_strcmp): New function option_strcmp.
863 (parse_percent_token): Call option_strcmp.
864 * src/getargs.c (xalloc.h, options.h): Include it.
865 (getargs): Call create_long_option_table.
866 (getargs): Free longopts at the end of the function.
867 (shortopts): Move in options.c.
868 * src/options.c (create_long_option_table): New function. Convert
869 information from option_table to option structure.
870 * src/reader.c (options.h): Include it.
872 * src/Makefile.am: Adjust.
873 * src/options.c (option_table): Create from longopts and percent_table.
874 * src/getargs.c (longopts): Delete.
875 * src/lex.c (struct percent_table_struct): Delete.
876 (percent_table): Delete.
877 (options.h): Include it.
878 * src/options.c: Create.
879 * src/options.h: Create.
880 Declare enum opt_access_e.
881 Define struct option_table_struct.
883 2001-09-20 Marc Autret <autret_m@epita.fr>
885 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
888 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
890 * src/bison.simple: s/%%filename/%%skeleton.
891 * src/muscle_tab.c (getargs.h): Include it.
892 (muscle_init): Insert new muscle skeleton.
894 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
896 * src/output.c (output_parser): Delete unused variable actions_dumped.
898 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
900 * src/output.c (output): Delete call to reader_output_yylsp.
901 * src/reader.c (reader): Likewise.
902 * src/reader.h: Delete declaration of reader_output_yylsp.
904 2001-09-02 Marc Autret <autret_m@epita.fr>
906 * src/reader.c: Include muscle_tab.h.
907 (parse_union_decl): Update.
908 (parse_macro_decl): Rename parse_muscle_decl.
909 Update to use renamed functions and variable.
910 (read_declarations, copy_action, read_additionnal_code, : Updated
911 with correct variables and functions names.
912 (packsymbols, reader): Likewise.
914 * src/reader.h (muscle_obstack): Extern declaration update.
916 * src/output.c: Include muscle_tab.h
917 In all functions using macro_insert, change by using muscle_insert ().
918 (macro_obstack): Rename muscle_obstack.
919 Echo modifications in the whole file.
920 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
921 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
922 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
924 * src/muscle_tab.h: Update double inclusion macros.
925 (macro_entry_s): Rename muscle_entry_s.
928 * src/muscle_tab.c: Include muscle_tab.h.
929 Rename macro_tabble to muscle_table.
930 (mhash1, mhash2, mcmp): Use muscle_entry.
931 (macro_init): Rename muscle_init. Update.
932 (macro_insert): Rename muscle_insert. Update.
933 (macro_find): Rename muscle_find. Update.
935 * src/main.c: Include muscle_tab.h.
936 (main): Call muscle_init ().
937 * src/Makefile.am (bison_SOURCES): Echo modifications.
939 2001-09-02 Marc Autret <autret_m@epita.fr>
941 Now the files macro_tab.[ch] are named muscle_tab.[ch].
943 * src/muscle_tab.c, src/muscle_tab.h: Add files.
945 2001-09-02 Marc Autret <autret_m@epita.fr>
947 * src/macrotab.c, src/macrotab.h: Remove.
949 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
951 * src/reader.c (copy_guard): Use muscle to specify the `#line'
954 2001-09-01 Marc Autret <autret_m@epita.fr>
956 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
957 to an explicit value to activate the feature. We do it here.
959 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
961 * src/output.c (prepare): Delete the `filename' muscule insertion.
962 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
963 (parse_union_decl): Likewise.
964 * src/macrotab.c (macro_init): Initialize filename by infile.
966 2001-08-31 Marc Autret <autret_m@epita.fr>
968 * src/bison.simple (YYLSP_NEEDED): New definition.
969 * src/output.c (prepare): Add macro insertion of `locations_flag'
971 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
973 * src/output.c (prepare): Delete insertion of previous muscles,
974 and insert the `prefix' muscles.
975 * src/macrotab.c (macro_init): Likewise.
976 (macro_init): Initialization prefix directive by `yy'.
977 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
978 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
979 yylval, yydebug, yyerror, yynerrs and yyparse.
980 New directive `#define' to substitute yydebug, ... with option
983 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
985 * src/main.c (main): Standardize.
986 * src/output.c (output_table_data, output_parser): Likewise.
987 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
989 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
991 * src/reader.c (read_additionnal_code): Rename %%user_code to
993 * src/output.c (output): Rename %%declarations to %%prologue.
994 * src/bison.simple: Echo modifications.
996 2001-08-31 Marc Autret <autret_m@epita.fr>
998 * src/reader.c (readgram): CleanUp.
999 (output_token_defines): Likewise.
1000 (packsymbols): Likewise.
1002 * src/output.c (output): CPP-out useless code.
1004 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1006 * src/reader.c (reader): Delete obsolete call to function
1007 output_trailers and output_headers.
1008 * src/output.h: Remove obsolete functions prototypes of output_headers
1009 and output_trailers.
1011 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
1013 * src/main.c: Include macrotab.h.
1014 * src/macrotab.h (macro_entry_s): Constify fields.
1015 Adjust functions prototypes.
1016 * src/macrotab.c (macro_insert): Constify key and value.
1017 (macro_find): Constify key.
1018 (macro_insert): Include 'xalloc.h'
1019 (macro_insert): Use XMALLOC.
1020 (macro_find): Constify return value.
1021 * src/output.c (output_table_data): Rename table to table_data.
1022 (output_parser): Constify macro_key, macro_value.
1024 2001-08-30 Marc Autret <autret_m@epita.fr>
1026 * src/reader.c (parse_skel_decl): New.
1027 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
1028 * src/lex.h (token_t): New token `tok_skel'.
1029 * src/lex.c (percent_table): Add skeleton option entry.
1032 2001-08-29 Marc Autret <autret_m@epita.fr>
1034 * src/bison.simple: Add %%user_code directive at the end.
1035 * src/reader.c (read_additionnal_code): New.
1037 * src/output.c (output_program): Remove.
1040 2001-08-28 Marc Autret <autret_m@epita.fr>
1042 * src/output.c (output_actions): Clean up.
1043 (output_gram): CPP-out useless code.
1044 * src/reader.c (reader): Clean up, CPP-out useless code.
1046 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1048 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1050 * src/bison.simple: Add `%%definitions'.
1052 2001-08-28 Marc Autret <autret_m@epita.fr>
1054 * config/depcomp: New file.
1056 2001-08-27 Paul Eggert <eggert@twinsun.com>
1058 * src/bison.simple (yyparse): Don't take the address of an
1059 item before the start of an array, as that doesn't conform to
1062 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1064 * src/output.c (output): Remove the initialization of the macro
1065 obstack. It was done too late here.
1067 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1069 (reader): Initialize the macro obstack here, since we need it to grow
1070 '%define' directives.
1072 * src/reader.h: Declare the macro obstack as extern.
1074 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1076 * src/output.c (output_parser): Fix. Store single '%' characters in
1077 the output obstack instead of throwing them away.
1079 2001-08-27 Akim Demaille <akim@epita.fr>
1081 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1083 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1085 * lib/Makefile.am: Adjust.
1087 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1089 * src/bison.simple: Update and add '%%' directives.
1091 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1093 * src/reader.c (reader): Remove calls to 'output_headers' and
1094 'output_trailers'. Remove some C output.
1095 (readgram): Disable a piece of code that was writing a default
1096 definition for 'YYSTYPE'.
1097 (reader_output_yylsp): Remove.
1098 (packsymbols): Output token defintions to a macro.
1099 (copy_definition): Disable C output.
1101 * src/reader.c (parse_macro_decl): New function used to parse macro
1103 (copy_string2): Put the body of copy_string into this new function.
1104 Add a parameter to let the caller choose whether he wants to copy the
1105 string delimiters or not.
1106 (copy_string): Be a simple call to copy_string2 with the last argument
1108 (read_declarations): Add case for macro definition.
1109 (copy_identifier): New.
1110 (parse_macro_decl): Read macro identifiers using copy_identifier
1113 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1115 * src/output.c (prepare): Add prefixed names.
1116 (output_parser): Output semantic actions.
1117 (output_parser): Fix bug on '%%line' directives.
1119 * src/output.c (output_headers): Remove. The C code printed by this
1120 function should now be in the skeletons.
1121 (output_trailers): Remove.
1122 (output): Disable call to 'reader_output_yylsp'.
1123 (output_rule_data): Do not output tables to the table obstack.
1125 * src/output.c: Remove some C dedicated output.
1126 Improve the use of macro and output obstacks.
1127 (output_defines): Remove.
1129 * src/output.c (output_token_translations): Associate 'translate'
1130 table with a macro. No output to the table obstack.
1131 (output_gram): Same for 'rhs' and 'prhs'.
1132 (output_stos): Same for 'stos'.
1133 (output_rule_data): Same for 'r1' and 'r2'.
1134 (token_actions): Same for 'defact'.
1135 (goto_actions): Same for 'defgoto'.
1136 (output_base): Same for 'pact' and 'pgoto'.
1137 (output_table): Same for 'table'.
1138 (output_check): Same for 'check'.
1140 * src/output.c (output_table_data): New function.
1141 (output_short_table): Remove.
1142 (output_short_or_char_table): Remove.
1144 * src/output.c (output_parser): Replace most of the skeleton copy code
1145 with something new. Skeletons are now processed character by character
1146 rather than line by line, and Bison looks for '%%' macros. This is the
1147 first step in making Bison's output process (a lot) more flexible.
1148 (output_parser): Use the macro table.
1150 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1152 * src/main.c (main): Initialize the macro table.
1154 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1156 * src/lex.c (percent_table): Add tok_define.
1157 * src/lex.h: Add tok_define.
1159 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1161 * src/macrotab.c: New file.
1162 * src/macrotab.h: New file.
1163 * src/Makefile.am: Update.
1165 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1167 * lib/hash.c: New file.
1168 * lib/hash.h: New file.
1169 * lib/Makefile.am: Update.
1171 2001-08-15 Akim Demaille <akim@epita.fr>
1175 2001-08-15 Marc Autret <autret_m@epita.fr>
1177 * src/reader.c (readgram): Indent output macro YYSTYPE.
1178 (packsymbols): Likewise.
1179 (output_token_defines): Likewise.
1180 * src/files.c: Standardize.
1181 (compute_header_macro): New.
1182 (defines_obstack_save): New. Use compute_header_macro.
1183 (output_files): Update. Use defines_obstack_save.
1185 2001-08-15 Akim Demaille <akim@epita.fr>
1187 * doc/bison.texinfo (Table of Symbols): Document
1190 2001-08-15 Akim Demaille <akim@epita.fr>
1192 * missing: Update from CVS Automake.
1193 * config/config.guess, config/config.sub, config/texinfo.tex:
1194 Update from gnu.org.
1196 2001-08-15 Akim Demaille <akim@epita.fr>
1198 * Makefile.maint: Sync with CVS Autoconf.
1200 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1202 * doc/bison.texinfo: Include GNU Free Documentation License from
1204 * doc/fdl.texi: Add to package.
1206 2001-08-14 Marc Autret <autret_m@epita.fr>
1208 Turn on %{source,header}_extension features.
1210 * src/lex.c (percent_table): Un-CPP out header_extension and
1212 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1213 (compute_exts_from_src): Remove conditions. It restores priorities
1216 2001-08-14 Marc Autret <autret_m@epita.fr>
1218 * src/files.c (compute_base_names): Add extensions computing when
1219 `--file-prefix' used.
1220 Standardize function calls.
1222 2001-08-13 Marc Autret <autret_m@epita.fr>
1224 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1225 defining it (defined but null disables alloca).
1227 2001-08-13 Marc Autret <autret_m@epita.fr>
1229 * src/bison.simple (_yy_memcpy): CPP reformat.
1231 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1233 * tests/atconfig.in (CPPFLAGS): Fix.
1235 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1237 * doc/bison.texinfo: Include GNU General Public License from
1239 * doc/gpl.texi: Add to package.
1241 2001-08-10 Marc Autret <autret_m@epita.fr>
1243 * src/print_graph.h: Fix.
1244 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1246 2001-08-10 Akim Demaille <akim@epita.fr>
1248 * src/system.h: Provide default declarations for stpcpy, strndup,
1251 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1253 * doc/bison.texinfo (Locations): Update @$ stuff.
1255 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1257 * src/bison.simple (YYLLOC_DEFAULT): Update.
1260 2001-08-08 Marc Autret <autret_m@epita.fr>
1262 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1263 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1264 Reported by Fabrice Bauzac.
1266 2001-08-08 Marc Autret <autret_m@epita.fr>
1268 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1269 * src/vcg.c (output_node): Fix.
1270 * src/vcg.h: Cleanup.
1271 * src/print_graph.c: Add comments.
1272 (node_output_size): New global variable. Simplify the formatting of
1273 the VCG graph output.
1274 (print_actions): Unused code is now used. It notifies the final state
1275 and no action states in the VCG graph. It also give the reduce actions.
1276 The `shift and goto' edges are red and the `go to state' edges are
1278 Get the current node name and node_obstack by argument.
1279 (node_obstack): New variable.
1280 (print_state): Manage node_obstack.
1281 (print_core): Use node_obstack given by argument.
1282 A node is not only computed here but in print_actions also.
1283 (print_graph): CPP out useless code instead of commenting it.
1285 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1287 * tests/atconfig.in (CPPFLAGS): Fix.
1289 2001-08-07 Akim Demaille <akim@epita.fr>
1291 * src/print_graph.c (quote): New.
1292 (print_core): Use it.
1294 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1296 * src/vcg.c (complain.h): Include it.
1297 Unepitaize `return' invocations.
1298 [NDEBUG] (main): Remove.
1299 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1300 * src/files.c (open_files): Initialize graph_obstack.
1301 * src/print_graph.c (print_actions): CPP out useless code.
1302 (print_core): Don't output the last `\n' in labels.
1304 * src/files.c (output_files): Output the VCG file.
1305 * src/main.c (main): Invoke print_graph ();
1307 2001-08-06 Marc Autret <autret_m@epita.fr>
1309 Automaton VCG graph output.
1310 Using option ``-g'' or long option ``--graph'', you can generate
1311 a gram_filename.vcg file containing a VCG description of the LALR (1)
1312 automaton of your grammar.
1314 * src/main.c: Call to print_graph() function.
1315 * src/getargs.h: Update.
1316 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1317 (graph_flag): New flag.
1319 (getargs): Add case `g'.
1320 * src/files.c (graph_obstack): New obstack struct.
1321 (open_files): Initialize new obstack.
1322 (output_files): Saves graph_obstack if required.
1323 * src/files.h (graph_obstack): New extern declaration.
1324 * src/Makefile.am: Add new source files.
1326 2001-08-06 Marc Autret <autret_m@epita.fr>
1328 * src/print_graph.c, src/print_graph.h (graph): New.
1329 * src/vcg.h: New file.
1330 * src/vcg.c: New file, VCG graph handling.
1332 2001-08-06 Marc Autret <autret_m@epita.fr>
1334 Add of %source_extension and %header_extension which specify
1335 the source or/and the header output file extension.
1337 * src/files.c (compute_base_names): Remove initialisation of
1338 src_extension and header_extension.
1339 (compute_exts_from_gf): Update.
1340 (compute_exts_from_src): Update.
1341 (output_files): Update.
1342 * src/reader.c (parse_header_extension_decl): New.
1343 (parse_source_extension_decl): New.
1344 (read_declarations): New case statements for the new tokens.
1345 * src/lex.c (percent_table): Add entries for %source_extension
1346 and %header_extension.
1347 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1349 2001-08-06 Marc Autret <autret_m@epita.fr>
1351 * configure.in: Bump to 1.28c.
1352 * doc/bison.texinfo: Texinfo thingies.
1354 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1356 * tests/atconfig.in (CPPFLAGS): Add.
1357 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1359 2001-08-03 Akim Demaille <akim@epita.fr>
1363 2001-08-03 Akim Demaille <akim@epita.fr>
1365 * tests/Makefile.am (check-local): Ship testsuite.
1366 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1369 2001-08-03 Akim Demaille <akim@epita.fr>
1371 * configure.in: Try using -Wformat when compiling.
1373 2001-08-03 Akim Demaille <akim@epita.fr>
1375 * configure.in: Bump to 1.28b.
1377 2001-08-03 Akim Demaille <akim@epita.fr>
1379 * src/complain.c: Adjust strerror_r portability issues.
1381 2001-08-03 Akim Demaille <akim@epita.fr>
1385 2001-08-03 Akim Demaille <akim@epita.fr>
1387 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1388 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1389 * src/getargs.c: Include complain.h.
1390 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1391 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1393 2001-08-03 Akim Demaille <akim@epita.fr>
1395 * src/reader.c (readgram): Display hidden chars in error messages.
1397 2001-08-03 Akim Demaille <akim@epita.fr>
1399 Update to gettext 0.10.39.
1401 2001-08-03 Akim Demaille <akim@epita.fr>
1403 * lib/strspn.c: New.
1405 2001-08-01 Marc Autret <autret_m@epita.fr>
1407 * doc/bison.texinfo: Update.
1408 * doc/bison.1 (mandoc): Update.
1409 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1410 * src/files.c: Support output files extensions computing.
1411 (src_extension): New static variable.
1412 (header_extension): New static variable.
1414 (get_extension_index): New function, gets the index of an extension
1415 filename in a string.
1416 (compute_exts_from_gf): New function, computes extensions from the
1417 grammar file extension.
1418 (compute_exts_from_src): New functions, computes extensions from the
1419 C source file extension, file given by ``-o'' option.
1420 (compute_base_names): Update.
1421 (output_files): Update.
1423 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1425 * doc/bison.texi: Document @$.
1426 (Locations): New section.
1428 2001-07-18 Akim Demaille <akim@epita.fr>
1430 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1431 * config/prev-version.txt, config/move-if-change: New.
1432 * Makefile.am: Adjust.
1434 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1436 * src/bison.simple (yyparse): Suppress warning `comparaison
1437 between signed and unsigned'.
1439 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1441 * src/getargs.h (raw_flag): Remove.
1442 * src/getargs.c: Die on `-r'/`--raw'.
1443 * src/lex.c (parse_percent_token): Die on `%raw'.
1444 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1445 * tests/calc.at: Suppress test with option `--raw'.
1447 2001-07-14 Akim Demaille <akim@epita.fr>
1450 * configure.in: Require Autoconf 2.50.
1451 Update to gettext 0.10.38.
1453 2001-03-16 Akim Demaille <akim@epita.fr>
1455 * doc/bison.texinfo: ANSIfy the examples.
1457 2001-03-16 Akim Demaille <akim@epita.fr>
1459 * getargs.c (skeleton): New variable.
1460 (longopts): --skeleton is a new option.
1461 (shortopts, getargs): -S is a new option.
1462 * getargs.h: Declare skeleton.
1463 * output.c (output_parser): Use it.
1465 2001-03-16 Akim Demaille <akim@epita.fr>
1467 * m4/strerror_r.m4: New.
1468 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1469 * lib/error.h, lib/error.c: Update.
1471 2001-03-16 Akim Demaille <akim@epita.fr>
1473 * src/getargs.c (longopts): Clean up.
1475 2001-02-21 Akim Demaille <akim@epita.fr>
1477 * src/reader.c (gensym): `gensym_count' is your own.
1478 Use a static buf to create the symbol name, as token_buffer is no
1481 2001-02-08 Akim Demaille <akim@epita.fr>
1483 * src/conflicts.c (conflict_report): Be sure not to append to res
1484 between two calls, which could happen if both first sprintf were
1485 skipped, but not the first cp += strlen.
1487 2001-02-08 Akim Demaille <akim@epita.fr>
1489 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1490 New, from fileutils 4.0.37.
1491 * configure.in: Require Autoconf 2.49c. I took some time before
1492 making this decision. This is the only way out for portability
1493 issues in Bison, it would mean way too much duplicate effort to
1494 import in Bison features implemented in 2.49c since 2.13.
1495 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1497 2001-02-02 Akim Demaille <akim@epita.fr>
1499 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1500 * lib/xalloc.h, lib/xmalloc.c: Update.
1502 2001-01-19 Akim Demaille <akim@epita.fr>
1504 Get rid of the ad hoc handling of token_buffer in the scanner: use
1507 * src/lex.c (token_obstack): New.
1508 (init_lex): Initialize it. No longer call...
1509 (grow_token_buffer): this. Remove it.
1510 Adjust all the places which used it to use the obstack.
1512 2001-01-19 Akim Demaille <akim@epita.fr>
1514 * src/lex.h: Rename all the tokens:
1515 s/\bENDFILE\b/tok_eof/g;
1516 s/\bIDENTIFIER\b/tok_identifier/g;
1518 Let them be enums, not #define, to ease debugging.
1519 Adjust all the code.
1521 2001-01-18 Akim Demaille <akim@epita.fr>
1523 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1524 * src/lex.c (maxtoken, grow_token_buffer): Static.
1526 2001-01-18 Akim Demaille <akim@epita.fr>
1528 Since we now use obstacks, more % directives can be enabled.
1530 * src/lex.c (percent_table): Also accept `%yacc',
1531 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1533 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1534 instead of returning a token.
1535 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1536 * src/reader.c (read_declarations): Adjust.
1537 * src/files.c (open_files): Don't call `compute_base_names', don't
1538 compute `attrsfile' since they depend upon data which might be
1539 *in* the input file now.
1540 (output_files): Do it here.
1541 * src/output.c (output_headers): Document the fact that this patch
1542 introduces a guaranteed SEGV for semantic parsers.
1543 * doc/bison.texinfo: Document them.
1544 * tests/suite.at: Exercise these %options.
1546 2000-12-20 Akim Demaille <akim@epita.fr>
1548 Also handle the output file (--verbose) with obstacks.
1550 * files.c (foutput): Remove.
1551 (output_obstack): New.
1552 Adjust all dependencies.
1553 * src/conflicts.c: Return a string.
1554 * src/system.h (obstack_grow_string): Rename as...
1555 (obstack_sgrow): this. Be ready to work with non literals.
1556 (obstack_fgrow4): New.
1558 2000-12-20 Akim Demaille <akim@epita.fr>
1560 * src/files.c (open_files): Fix the computation of short_base_name
1561 in the case of `-o foo.tab.c'.
1563 2000-12-20 Akim Demaille <akim@epita.fr>
1565 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1566 (copy_dollar): Now that everything uses obstacks, get rid of the
1569 2000-12-20 Akim Demaille <akim@epita.fr>
1571 * src/files.c (open_files): Actually the `.output' file is based
1572 on the short_base_name, not base_name.
1573 * tests/suite.at (Checking output file names): Adjust.
1575 2000-12-20 Akim Demaille <akim@epita.fr>
1577 * src/bison.s1: Remove, we now use directly...
1578 * src/bison.simple: this.
1579 * src/Makefile.am: Use pkgdata instead of data.
1581 2000-12-20 Akim Demaille <akim@epita.fr>
1583 * src/files.c (guard_obstack): New.
1584 (open_files): Initialize it.
1585 (output_files): Dump it...
1586 * src/files.h: Export it.
1587 * src/reader.c (copy_guard): Use it.
1589 2000-12-19 Akim Demaille <akim@epita.fr>
1591 * src/files.c (outfile, defsfile, actfile): Removed as global
1593 (open_files): Don't compute them.
1594 (output_files): Adjust.
1595 (base_name, short_base_name): Be global.
1596 Adjust dependencies.
1598 2000-12-19 Akim Demaille <akim@epita.fr>
1600 * src/files.c (strsuffix): New.
1601 (stringappend): Be just like strcat but allocate.
1602 (base_names): Eve out from open_files.
1603 Try to simplify the rather hairy computation of base_name and
1605 (open_files): Use it.
1606 * tests/suite.at (Checking output file names): New test.
1608 2000-12-19 Akim Demaille <akim@epita.fr>
1610 * src/system.h (obstack_grow_literal_string): Rename as...
1611 (obstack_grow_string): this.
1612 * src/output.c (output_parser): Recognize `%% actions' instead of
1614 * src/bison.s1: s/$/%% actions/.
1615 * src/bison.hairy: Likewise.
1617 2000-12-19 Akim Demaille <akim@epita.fr>
1619 * src/output.c (output_parser): Compute the `#line' lines when
1621 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1622 Suggested by Hans Aberg.
1624 2000-12-19 Akim Demaille <akim@epita.fr>
1626 Let the handling of the skeleton files be local to the procedures
1629 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1631 (fparser, open_extra_files): Remove.
1632 (open_files, output_files): Don't take care of fparser.
1633 * src/files.h: Adjust.
1634 * src/output.c (output_parser): Open and close the file to the
1636 * src/reader.c (read_declarations): When %semantic_parser, open
1639 2000-12-19 Akim Demaille <akim@epita.fr>
1641 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1642 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1644 2000-12-19 Akim Demaille <akim@epita.fr>
1646 * src/files.c (open_files): Yipee! We no longer need all the code
1647 looking for `/tmp' since we have no tmp file.
1649 2000-12-19 Akim Demaille <akim@epita.fr>
1651 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1653 * src/files.c (open_files): Less dependency on MSDOS etc.
1655 2000-12-14 Akim Demaille <akim@epita.fr>
1657 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1658 Provide a default definition.
1659 Use it when executing the default @ action.
1660 * src/reader.c (reader_output_yylsp): No longer include
1661 `timestamp' and `text' in the default YYLTYPE.
1663 2000-12-12 Akim Demaille <akim@epita.fr>
1665 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1666 (copy_guard): Quote the file names.
1667 Reported by Laurent Mascherpa.
1669 2000-12-12 Akim Demaille <akim@epita.fr>
1671 * src/output.c (output_headers, output_program, output): Be sure
1672 to escape special characters when outputting filenames.
1673 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1674 (output_headers): Don't depend on them, Use ACTSTR.
1676 2000-11-17 Akim Demaille <akim@epita.fr>
1678 * lib/obstack.h: Formatting changes.
1679 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1680 prevents type checking.
1681 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1682 cast the value to (void *): assigning a `foo *' to a `void *'
1684 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1685 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1688 2000-11-17 Akim Demaille <akim@epita.fr>
1690 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1692 (suite.m4, regression.m4, calc.m4): these.
1693 * tests/atgeneral.m4: Update from CVS Autoconf.
1695 2000-11-17 Akim Demaille <akim@epita.fr>
1697 * tests/regression.m4 (%union and --defines): New test,
1698 demonstrating a current bug in the obstack implementation.
1700 2000-11-17 Akim Demaille <akim@epita.fr>
1702 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1704 Use them to declare the variables which are global or local to
1707 2000-11-17 Akim Demaille <akim@epita.fr>
1709 * acconfig.h: Remove, no longer used.
1711 2000-11-07 Akim Demaille <akim@epita.fr>
1713 * src: s/Copyright (C)/Copyright/g.
1715 2000-11-07 Akim Demaille <akim@epita.fr>
1717 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1719 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1721 2000-11-07 Akim Demaille <akim@epita.fr>
1723 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1724 Merge in a single CPP if/else.
1726 2000-11-07 Akim Demaille <akim@epita.fr>
1728 * src/output.c (output): Remove useless variables.
1729 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1730 argument `data' for consistency with the prototypes.
1732 (obstack_copy, obstack_copy0): Rename the second argument as
1733 `address' for consistency. Qualify it `const'.
1734 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1735 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1736 `const' their input argument (`data' or `address').
1737 Adjust the corresponding macros to include `const' in casts.
1739 2000-11-03 Akim Demaille <akim@epita.fr>
1741 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1742 s/PFILE1/BISON_HAIRY/.
1743 Adjust dependencies.
1745 2000-11-03 Akim Demaille <akim@epita.fr>
1747 For some reason, this was not applied.
1749 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1750 `unlink': it's no longer used.
1752 2000-11-03 Akim Demaille <akim@epita.fr>
1754 * src/files.c (skeleton_find): New function, eved out of...
1755 (open_files, open_extra_files): here.
1757 2000-11-03 Akim Demaille <akim@epita.fr>
1761 * src/files.c (obstack_save): New function.
1762 (done): Rename as...
1763 (output_files): this.
1765 * src/main.c (main): Don't use `atexit' to register `done', since
1766 it no longer has to remove tmp files, just call `output_files'
1767 when there are no errors.
1769 2000-11-02 Akim Demaille <akim@epita.fr>
1771 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1772 `unlink': it's no longer used.
1773 * src/files.h: Formatting changes.
1775 2000-11-02 Akim Demaille <akim@epita.fr>
1777 Remove the last uses of mktemp and unlink/delete.
1779 * src/files.c (fdefines, ftable): Removed.
1780 (defines_ostack, table_obstack): New.
1781 Adjust dependencies of the former into uses of the latter.
1782 * src/output.c (output_short_or_char_table, output_short_table):
1783 Convert to using obstacks.
1784 * src/reader.c (copy_comment2): Accept one FILE * and two
1786 (output_token_defines, reader_output_yylsp): Use obstacks.
1787 * src/system.h (obstack_fgrow3): New.
1789 2000-11-01 Akim Demaille <akim@epita.fr>
1791 Change each use of `fattrs' into a use of `attrs_obstack'.
1793 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1794 * src/files.c (fattrs): Remove.
1795 (attrs_obstack): New.
1796 Adjust all dependencies.
1797 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1799 2000-11-01 Akim Demaille <akim@epita.fr>
1802 Change each use of `faction' into a use of `action_obstack'.
1804 * lib/obstack.h, lib/obstack.c: New files.
1805 * src/files.c (faction): Remove.
1806 (action_obstack): New.
1807 Adjust all dependencies.
1809 2000-10-20 Akim Demaille <akim@epita.fr>
1811 * lib/quote.h (PARAMS): New macro. Use it.
1813 2000-10-16 Akim Demaille <akim@epita.fr>
1815 * src/output.c (output_short_or_char_table): New function.
1816 (output_short_table, output_token_translations): Use it.
1817 (goto_actions): Use output_short_table.
1819 2000-10-16 Akim Demaille <akim@epita.fr>
1821 * src/symtab.c (bucket_new): New function.
1824 * src/output.c (output_short_table): New argument to display the
1825 comment associated with the table.
1826 Adjust dependencies.
1827 (output_gram): Use it.
1828 (output_rule_data): Nicer output layout for YYTNAME.
1830 2000-10-16 Akim Demaille <akim@epita.fr>
1832 * src/lex.c (read_typename): New function.
1834 * src/reader.c (copy_dollar): Likewise.
1836 2000-10-16 Akim Demaille <akim@epita.fr>
1838 * src/reader.c (copy_comment2): Expect the input stream to be on
1839 the `/' which is suspected to open a comment, instead of being
1840 called after `//' or `/*' was read.
1841 (copy_comment, copy_definition, parse_union_decl, copy_action)
1842 (copy_guard): Adjust.
1844 2000-10-16 Akim Demaille <akim@epita.fr>
1846 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1847 `read_signed_integer'.
1849 2000-10-16 Akim Demaille <akim@epita.fr>
1851 * src/reader.c (copy_dollar): New function.
1852 (copy_guard, copy_action): Use it.
1854 2000-10-16 Akim Demaille <akim@epita.fr>
1856 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1857 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1858 New files, from Fileutils 4.0.27.
1859 * src/main.c (printable_version): Remove.
1860 * src/lex.c, src/reader.c: Use `quote'.
1862 2000-10-04 Akim Demaille <akim@epita.fr>
1864 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1866 2000-10-04 Akim Demaille <akim@epita.fr>
1868 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1870 2000-10-04 Akim Demaille <akim@epita.fr>
1872 When a literal string is used to define two different tokens,
1873 `bison -v' segfaults.
1874 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1876 * tests/regression.m4: New file.
1877 Include the core of the sample provided by Piotr Gackiewicz.
1878 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1881 2000-10-04 Akim Demaille <akim@epita.fr>
1883 * src/reader.c (parse_expect_decl): Keep `count' within the size
1887 2000-10-02 Paul Eggert <eggert@twinsun.com>
1889 * bison.s1 (yyparse): Assign the default value
1890 unconditionally, to avoid a GCC warning and make the parser a
1893 2000-10-02 Akim Demaille <akim@epita.fr>
1895 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1898 2000-10-02 Akim Demaille <akim@epita.fr>
1900 * src/derives.c, src/print.c, src/reduce.c: To ease the
1901 translation, move some `\n' out of the translated strings.
1903 2000-10-02 Akim Demaille <akim@epita.fr>
1905 The location tracking mechanism is precious for parse error
1906 messages. Nevertheless, it is enabled only when `@n' is used in
1907 the grammar, which is a different issue (you can use it in error
1908 message, but not in the grammar per se). Therefore, there should
1909 be another means to enable it.
1911 * src/getargs.c (getargs): Support `--locations'.
1913 * src/getargs.h (locationsflag): Export it.
1914 * src/lex.c (percent_table): Support `%locations'.
1915 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1916 with `locationsflag'.
1917 * doc/bison.texinfo: Document `--locations' and `%locations'.
1919 * tests/calc.m4: Test it.
1921 For regularity of the names, replace each
1922 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1923 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1924 In addition replace each `flag' with `_flag'.
1926 2000-10-02 Akim Demaille <akim@epita.fr>
1928 Also test parse error messages, including with YYERROR_VERBOSE.
1930 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1932 Use it to check the computations.
1933 Use it to check `nonassoc' is honored.
1934 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1935 `--yyerror-verbose'.
1936 (_AT_CHECK_CALC): Adjust to this option.
1937 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1939 2000-10-02 Akim Demaille <akim@epita.fr>
1941 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1942 the latter demonstrates a flaw in the handling of non debugging
1943 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1944 was used in order to simplify:
1960 unfortunately this leads to a CPP conflict when
1961 `--name-prefix=foo' is used since it produces `#define yydebug
1964 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1965 (YYDPRINTF): New macro.
1967 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1969 Also test `--verbose', `--defines' and `--name-prefix'.
1971 2000-10-02 Akim Demaille <akim@epita.fr>
1973 Improve the readability of the produced parsers.
1975 * src/bison.s1: Formatting changes.
1976 Improve the comment related to the `$' mark.
1977 (yydefault): Don't fall through to `yyresume': `goto' there.
1978 * src/output.c (output_parser): When the `$' is met, skip the end
1980 New variable, `number_of_dollar_signs', to check there's exactly
1981 one `$' in the parser skeleton.
1983 2000-10-02 Akim Demaille <akim@epita.fr>
1985 * lib/xstrdup.c: New file, from the fileutils.
1986 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1987 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1988 instead of strlen + xmalloc + strcpy.
1989 * src/symtab.c (copys): Remove, use xstrdup instead.
1991 2000-10-02 Akim Demaille <akim@epita.fr>
1993 * src/gram.h (associativity): New enum type which replaces the
1994 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1995 `right_assoc', `left_assoc' and `non_assoc'.
1996 Adjust all dependencies.
1997 * src/reader.c: Formatting changes.
1998 (LTYPESTR): Don't define it, use it as a literal in
1999 `reader_output_yylsp'.
2000 * src/symtab.h (symbol_class): New enum type which replaces the
2001 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2002 `sunknown', `stoken and `snterm'.
2004 2000-10-02 Akim Demaille <akim@epita.fr>
2006 * src/getargs.c (fixed_outfiles): Rename as...
2007 (yaccflag): for consistency and accuracy.
2008 Adjust dependencies.
2010 2000-10-02 Akim Demaille <akim@epita.fr>
2012 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2013 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2014 difficult and introduced a lot of core dump. It turns out that
2015 Bison used an implementation of `xmalloc' based on `calloc', and
2016 at various places it does depend upon the initialization to 0. I
2017 have not tried to isolate the pertinent places, and all the former
2018 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2019 someone should address this issue.
2021 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2022 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2024 Adjust dependencies.
2025 * src/warshall.h: New file.
2028 2000-10-02 Akim Demaille <akim@epita.fr>
2030 Various anti-`extern in *.c' changes.
2032 * src/system.h: Include `assert.h'.
2034 2000-10-02 Akim Demaille <akim@epita.fr>
2036 * src/state.h (nstates, final_state, first_state, first_shift)
2037 (first_reduction): Move their exportation from here...
2038 * src/LR0.h: to here.
2039 Adjust dependencies.
2040 * src/getargs.c (statisticsflag): New variable.
2041 Add support for `--statistics'.
2042 Adjust dependencies.
2044 Remove a lot of now useless `extern' statements in most files.
2046 2000-10-02 Akim Demaille <akim@epita.fr>
2048 * src/LR0.h: New file.
2051 2000-10-02 Akim Demaille <akim@epita.fr>
2053 * src/print.h: New file.
2055 * src/print.c: Formatting and ordering changes.
2056 (verbose, terse): Replace with...
2057 (print_results): this new function.
2058 Adjust dependencies.
2060 2000-10-02 Akim Demaille <akim@epita.fr>
2062 * src/conflicts.c (conflict_report): New function.
2063 (conflict_log, verbose_conflict_log): Replace with...
2064 (print_conflicts): this function.
2065 Adjust dependencies.
2066 * src/conflicts.h: New file.
2067 Propagate its inclusion.
2069 2000-10-02 Akim Demaille <akim@epita.fr>
2071 * src/nullable.h: New file.
2072 Propagate its inclusion.
2073 * src/nullable.c: Formatting changes.
2075 2000-10-02 Akim Demaille <akim@epita.fr>
2077 * src/reduce.h: New file.
2078 Propagate its inclusion.
2079 * src/reduce.c: Topological sort and other formatting changes.
2080 (bool, TRUE, FALSE): Move their definition to...
2081 * src/system.h: here.
2083 2000-10-02 Akim Demaille <akim@epita.fr>
2085 * src/files.c: Formatting changes.
2086 (tryopen, tryclose, openfiles): Rename as...
2087 (xfopen, xfclose, open_files): this.
2088 (stringappend): static.
2089 * src/files.h: Complete the list of exported symbols.
2092 2000-10-02 Akim Demaille <akim@epita.fr>
2094 * src/reader.h: New file.
2095 Propagate its use instead of tedious list of `extern' and
2097 * src/reader.c: Formatting changes, topological sort,
2100 2000-10-02 Akim Demaille <akim@epita.fr>
2102 * src/lex.h: Prototype `lex.c' exported functions.
2103 * src/reader.c: Adjust.
2104 * src/lex.c: Formatting changes.
2105 (safegetc): Rename as...
2108 2000-10-02 Akim Demaille <akim@epita.fr>
2110 * src/lalr.h: New file.
2111 Propagate its inclusion instead of prototypes and `extern'.
2112 * src/lalr.c: Formatting changes, topological sorting etc.
2114 2000-10-02 Akim Demaille <akim@epita.fr>
2116 * src/output.c (token_actions): Introduce a temporary array,
2117 YYDEFACT, that makes it possible for this function to use
2120 2000-10-02 Akim Demaille <akim@epita.fr>
2122 `user_toknums' is output as a `short[]' in `output.c', while it is
2123 defined as a `int[]' in `reader.c'. For consistency with the
2124 other output tables, `user_toknums' is now defined as a table of
2127 * src/reader.c (user_toknums): Be a short table instead of an int
2129 Adjust dependencies.
2131 Factor the short table outputs.
2133 * src/output.c (output_short_table): New function.
2134 * src/output.c (output_gram, output_stos, output_rule_data)
2135 (output_base, output_table, output_check): Use it.
2137 2000-10-02 Akim Demaille <akim@epita.fr>
2139 * src/output.c (output): Topological sort of the functions, in
2140 order to get rid of the `static' prototypes.
2141 No longer use `register'.
2142 * src/output.h: New file.
2143 Propagate its inclusion in files explicitly prototyping functions
2146 2000-09-21 Akim Demaille <akim@epita.fr>
2148 * src/atgeneral.m4: Update from Autoconf.
2150 2000-09-21 Akim Demaille <akim@epita.fr>
2152 * src/closure.h: New file.
2153 * src/closure.c: Formatting changes, topological sort over the
2154 functions, use of closure.h.
2155 (initialize_closure, finalize_closure): Rename as...
2156 (new_closure, free_closure): these. Adjust dependencies.
2157 * src/LR0.c: Formatting changes, topological sort, use of
2159 (initialize_states): Rename as...
2161 * src/Makefile.am (noinst_HEADERS): Adjust.
2163 2000-09-20 Akim Demaille <akim@epita.fr>
2165 * src/acconfig.h: Don't protect config.h against multiple
2167 Don't define PARAMS.
2168 * src/system.h: Define PARAMS.
2169 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2170 purpose of config.h. system.h must not try to fix wrong
2171 definitions in config.h.
2173 2000-09-20 Akim Demaille <akim@epita.fr>
2175 * src/derives.h: New file.
2176 * src/main.c, src/derives.h: Use it.
2178 * src/Makefile.am (noinst_HEADERS): Adjust.
2180 2000-09-20 Akim Demaille <akim@epita.fr>
2182 * tests/atgeneral.m4: Update from Autoconf.
2183 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2184 (AT_CHECK_CALC): New macros.
2185 Use these macros to test bison with options `', `--raw',
2186 `--debug', `--yacc', `--yacc --debug'.
2188 2000-09-19 Akim Demaille <akim@epita.fr>
2190 * src/output.c: Formatting changes.
2191 * src/machine.h: Remove, leaving its contents in...
2192 * src/system.h: here.
2194 Adjust all dependencies on stdio.h and machine.h.
2195 * src/getargs.h: New file.
2196 Let all `extern' declarations about getargs.c be replaced with
2197 inclusion of `getargs.h'.
2198 * src/Makefile.am (noinst_HEADERS): Adjust.
2200 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2202 (yyerror): Returns void, not int.
2203 * doc/bison.texinfo: Formatting changes.
2205 2000-09-19 Akim Demaille <akim@epita.fr>
2207 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2210 2000-09-18 Akim Demaille <akim@epita.fr>
2212 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2213 * src/Makefile.am (INCLUDES): Don't.
2214 Be ready to fetch headers in lib/.
2216 2000-09-18 Akim Demaille <akim@epita.fr>
2218 * doc/bison.texinfo: Update the copyright.
2219 ANSIfy and GNUify the examples.
2220 Remove the old menu.
2222 2000-09-18 Akim Demaille <akim@epita.fr>
2224 First set of tests: use the `calc' example from the documentation.
2226 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2227 is defined only when YYDEBUG is.
2228 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2229 * src/files.c (tryopen, tryclose): Formatting changes.
2230 Move to the top and be static.
2231 * src/reader.c (read_signed_integer): Likewise.
2232 * tests/calc.m4: New file.
2233 * Makefile.am, suite.m4: Adjust.
2234 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2236 2000-09-18 Akim Demaille <akim@epita.fr>
2238 Add support for an Autotest test suite for Bison.
2240 * m4/m4.m4, m4/atconfig.m4: New files.
2241 * m4/Makefile.am (EXTRA_DIST): Adjust.
2242 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2244 * src/getargs.c: Display a more standard --version message.
2245 * src/reader.c (reader): Formatting changes.
2246 No longer depend upon VERSION_STRING.
2247 * configure.in: No longer use `dnl'.
2248 Set up the test suite and the new directory `tests/.
2249 (VERSION_STRING): Remove.
2251 2000-04-14 Akim Demaille <akim@epita.fr>
2253 * src/reader.c (copy_comment2): New function, same as former
2254 `copy_comment', but outputs into two FILE *.
2255 (copy_comment): Use it.
2256 (parse_union_decl): Use it.
2257 (get_type, parse_start_decl): Use the same `invalid' message.
2258 (parse_start_decl, parse_union_decl): Use the same `multiple'
2260 (parse_union_decl, copy_guard, copy_action): Use the same
2261 `unmatched' message.
2262 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2264 2000-03-31 Akim Demaille <akim@epita.fr>
2266 * src/files.c (tryopen, tryclose): Move to the top.
2269 2000-03-31 Akim Demaille <akim@epita.fr>
2271 * src/main.c (main): Don't call `done', exit does it.
2273 2000-03-31 Akim Demaille <akim@epita.fr>
2275 * allocate.c: s/return (foo)/return foo/.
2278 * output.c: Likewise.
2279 * reader.c: Likewise.
2280 * symtab.c: Likewise.
2281 * vmsgetargs.c: Likewise.
2283 2000-03-31 Akim Demaille <akim@epita.fr>
2285 Clean up the error reporting functions.
2287 * src/report.c: New file.
2288 * src/report.h: Likewise.
2289 * src/Makefile.am: Adjust.
2290 * m4/error.m4: New file.
2291 * m4/Makefile.am: Adjust.
2292 * configure.in (jm_PREREQ_ERROR): Call it.
2293 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2295 (fatal, fatals): Remove. All callers use complain.c::fatal.
2296 (warn, warni, warns, warnss, warnss): Remove. All callers use
2297 complain.c::complain.
2298 (toomany): Remove, use fatal instead.
2299 * src/files.c (done): No argument, use complain_message_count.
2300 * src/main.c (main): Register `done' to `atexit'.
2302 * src/getargs.c (usage): More `fputs', less `fprintf'.
2304 2000-03-28 Akim Demaille <akim@epita.fr>
2306 * lib/: New directory.
2307 * Makefile.am (SUBDIRS): Adjust.
2308 * configure.in: Adjust.
2309 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2311 * src/alloca.c: Moved to lib/.
2312 * src/getopt.c: Likewise.
2313 * src/getopt1.c: Likewise.
2314 * src/getopt.h: Likewise.
2315 * src/ansi2knr.c: Likewise.
2316 * src/ansi2knr.1: Likewise.
2317 * src/Makefile.am: Adjust.
2318 * lib/Makefile.am: New file.
2320 2000-03-28 Akim Demaille <akim@epita.fr>
2322 * src/getargs.c (usage): Refresh the help message.
2324 2000-03-17 Akim Demaille <akim@epita.fr>
2326 * src/getopt1.c: Updated from textutils 2.0e
2327 * src/getopt.c: Likewise.
2328 * src/getopt.h: Likewise.
2330 2000-03-17 Akim Demaille <akim@epita.fr>
2332 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2333 the file name, not the whole `#line LINE FILE'.
2335 2000-03-17 Akim Demaille <akim@epita.fr>
2337 On syntax errors, report the token on which we choked.
2339 * src/bison.s1 (yyparse): In the label yyerrlab, when
2340 YYERROR_VERBOSE, add yychar in msg.
2342 2000-03-17 Akim Demaille <akim@epita.fr>
2344 * src/reader.c (copy_at): New function.
2345 (copy_guard): Use it.
2346 (copy_action): Use it.
2348 2000-03-17 Akim Demaille <akim@epita.fr>
2350 Be kind to translators, save some useless translations.
2352 * src/main.c (banner): New function.
2353 (fatal_banner): Use it.
2354 (warn_banner): Use it.
2356 2000-03-17 Akim Demaille <akim@epita.fr>
2358 * src/reader.c (copy_definition): Use copy_string and
2359 copy_comment. Removed now unused `match', `ended',
2361 (copy_comment, copy_string): Moved, to be visible from
2364 2000-03-17 Akim Demaille <akim@epita.fr>
2366 * src/reader.c (copy_string): Declare `static inline'. No
2367 problems with inline, since it is checked by configure.
2368 (copy_comment): Likewise.
2370 2000-03-17 Akim Demaille <akim@epita.fr>
2372 * src/reader.c (packsymbols): Formatting changes.
2374 2000-03-17 Akim Demaille <akim@epita.fr>
2376 * src/reader.c (copy_comment): New function, factored out from:
2377 (copy_action): Use it. Removed now unused `match', `ended',
2379 (copy_guard): Likewise.
2381 2000-03-17 Akim Demaille <akim@epita.fr>
2383 * src/reader.c (copy_string): New function, factored out from:
2384 (copy_action): Use it.
2385 (copy_guard): Likewise.
2387 2000-03-17 Akim Demaille <akim@epita.fr>
2389 Change the handling of @s so that they behave exactly like $s.
2390 There is now a pseudo variable @$ (readble and writable), location
2391 of the lhs of the rule (by default ranging from the location of
2392 the first symbol of the rhs, to the location of the last symbol,
2393 or, if the rhs is empty, YYLLOC).
2395 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2397 (yyparse): When providing a default semantic action, provide a
2398 default location action.
2399 (after the $): No longer change `*YYLSP', just stack YYLOC the
2400 same way you stack YYVAL.
2401 * src/reader.c (read_declarations): Use warns.
2402 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2403 (copy_action, case '@'): Likewise.
2404 Use a standard error message, to save useless work from
2407 2000-03-17 Akim Demaille <akim@epita.fr>
2409 * src/bison.s1: Formatting and cosmetics changes.
2410 * src/reader.c: Likewise.
2411 Update the Copyright notice.
2413 2000-03-17 Akim Demaille <akim@epita.fr>
2415 * src/bison.s1 (#line): All set to `#line' only, since the
2416 Makefile now handles them.
2418 2000-03-16 Akim Demaille <akim@epita.fr>
2420 * src/output.c (output_rule_data): Output the documentation of
2422 (Copyright notice): Update.
2425 2000-03-16 Akim Demaille <akim@epita.fr>
2427 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2428 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2429 One `#if YYDEBUG' remains, since it uses variables which are
2430 defined only if `YYDEBUG != 0'.
2432 2000-03-16 Akim Demaille <akim@epita.fr>
2434 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2435 and related variables so that the similarities are highlighted.
2437 2000-03-16 Akim Demaille <akim@epita.fr>
2439 * src/bison.s1: Properly indent CPP directives.
2441 2000-03-16 Akim Demaille <akim@epita.fr>
2443 * src/bison.s1: Properly indent the `alloca' CPP section.
2445 2000-03-16 Akim Demaille <akim@epita.fr>
2447 Do not hard code values of directories in `configure.in'.
2448 Update the `configure' tool chain.
2450 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2452 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2453 (AC_OUTPUT): Add m4/Makefile.
2454 Bump to bison 1.28a, 1.29 has never been released.
2455 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2456 handled via src/Makefile.am.
2457 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2458 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2460 * Makefile.am (SUBDIRS): Add m4.
2461 (ACLOCAL_AM_FLAGS): New variable.
2462 (AUTOMAKE_OPTIONS): Add check-news.
2463 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2464 the proper line number and file name.
2465 (DEFS): Propagate the location of bison library files and of the
2467 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2469 * acinclude.m4: Remove, replaced by the directory m4.
2470 * m4/Makefile.am (EXTRA_DIST): New variable.
2471 * m4/gettext.m4: New file, from the fileutils.
2472 * m4/lcmessage.m4: Likewise
2473 * m4/progtest.m4: Likewise.
2474 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2476 2000-03-10 Akim Demaille <akim@epita.fr>
2479 Formatting changes of various comments.
2480 Respect the GNU coding standards at various places.
2481 Don't use `_()' when no translation is needed.
2483 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2486 OS/2 honors TMPDIR environment variable.
2488 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2490 * doc/bison.texinfo: Tweaked spelling and grammar.
2492 Removed reference to price of printed copy.
2493 Mention BISON_SIMPLE and BISON_HAIRY.
2495 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2497 * configure.in, NEWS:
2498 Bison 1.29 released.
2500 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2502 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2503 Added reference card.
2505 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2507 * po/ru.po: Added Russian translation.
2509 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2511 * configure.in: Added Russian translation.
2513 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2515 * configure.in, NEWS, README:
2516 Released version 1.28.
2518 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2521 Squashed redefinition warning on some systems.
2523 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2524 Have configure build version string instead of relying on ANSI string
2527 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2529 * po/POTFILES.in: Got rid of version.c.
2531 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2533 * acconfig.h, configure.in:
2534 Have configure build version string instead of relying on ANSI string
2537 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2540 Dropped mention of `+' for long-named options.
2542 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2544 * src/files.c: Added <unistd.h> for unlink().
2546 * src/Makefile.am, src/system.h:
2549 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2551 * README: Added a FAQ list.
2553 * configure.in, acconfig.h:
2556 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2558 * doc/FAQ, doc/Makefile.am:
2561 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2563 * src/alloc.h, src/symtab.h, src/version.c:
2564 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2566 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2568 * src/.cvsignore, src/Makefile.am:
2569 Reorganized: sources in `src', documentation in `doc'.
2571 * src/lex.c (literalchar):
2572 fixed the code for escaping double quotes (thanks
2575 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2577 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2578 Adjusted paths to reflect directory reorganization.
2580 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2582 * doc/.cvsignore, doc/Makefile.am:
2583 Reorganized: sources in `src', documentation in `doc'.
2585 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2588 Updated AC_INIT file to reflect directory reorganization.
2590 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2591 Reorganized: sources in `src', documentation in `doc'.
2593 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2596 Don't declare calloc() and realloc() if not necessary.
2598 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2600 * configure.in, acconfig.h, acinclude.m4:
2601 Don't declare calloc() and realloc() if not necessary.
2603 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2605 * po/.cvsignore: Added i18n support.
2607 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2609 * acconfig.h, configure.in, Makefile.am:
2612 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2614 * src/bison.s1: Fixed #line numbers.
2616 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2618 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2619 Added PO files from Translation Project.
2621 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2624 Added support for non-ANSI compilers (ansi2knr).
2626 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2628 * configure.in: Bumped version number to 1.27.
2631 Added `bison.simple' to list of files removed by `make distclean'.
2633 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2635 * src/files.c, src/files.h:
2636 Defined locations of parser files in config.h instead of Makefile.
2638 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2640 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2641 Defined locations of parser files in config.h instead of Makefile.
2643 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2646 Removed inappropriate use of $< macro.
2648 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2650 * po/Makefile.in.in, po/POTFILES.in:
2651 Add `po' directory skeleton.
2653 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2655 * README: Document help-bison list.
2657 * configure.in: Add check for mkstemp().
2659 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2661 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2662 Hush a few compiler warnings.
2665 Add tryclose(), which verifies that fclose was successful.
2666 Hush a couple of compiler warnings.
2668 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2670 * Makefile.am, OChangeLog:
2671 ChangeLog is now automatically generated. Include the old version as
2674 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2676 * 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:
2679 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2681 * doc/bison.texinfo: Fix formatting glitch.
2683 * doc/bison.texinfo: Update FSF address.
2685 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2687 * acconfig.h: Update FSF address.
2689 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2692 Don't define PACKAGE here, since config.h defines it.
2694 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2696 * src/reader.c: Update copyright date.
2699 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2700 favor of output directly to stderr (avoids buffer overruns).
2702 * src/reader.c: Some checks for premature EOF.
2704 * 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:
2705 Use prototypes if the compiler understands them.
2707 * src/files.c: Honor TMPDIR on Unix hosts.
2708 Use prototypes if the compiler understands them.
2711 Fix a couple of buffer overrun bugs.
2712 Use prototypes if the compiler understands them.
2714 * src/system.h: Include unistd.h and ctype.h.
2715 Use #ifdef instead of #if for NLS symbols.
2717 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2719 * doc/bison.texinfo:
2720 Delete comment "consider using @set for edition number, etc..." since
2721 we now are doing so.
2723 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2726 Use prototypes if the compiler understands them.
2728 * NEWS: Document 1.26 highlights.
2730 * Makefile.am: Require Automake 1.3 or later.
2733 Use prototypes if the compiler understands them.
2735 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2738 Use VERSION symbol from automake for version number.
2740 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2742 * acconfig.h, configure.in, version.cin:
2743 Use VERSION symbol from automake for version number.
2745 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2748 Distribute original version of simple parser (bison.s1), not built
2749 version (bison.simple).
2751 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2753 * doc/bison.texinfo: Add info dir entry.
2755 * doc/bison.texinfo:
2756 Let automake put version number into documentation.
2758 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2760 * src/bison.cld, src/build.com, src/vmshlp.mar:
2761 Add non-RCS files from /gd/gnu/bison.
2763 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2766 Document the BISON_HAIRY and BISON_SIMPLE variables.
2768 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2770 * src/version.c: Build version.c automatically.
2773 Fix token numbering (used to start at 258, not 257).
2775 * src/system.h: Include config.h.
2777 * src/getargs.c: Update bug report address.
2779 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2780 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2782 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2785 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2787 * configure.in, version.cin:
2788 Build version.c automatically.
2790 * AUTHORS: Add AUTHORS file.
2792 * README: Update bug report address.
2795 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2797 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2800 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2802 * doc/bison.texinfo: Clean up some formatting.
2804 1998-05-05 Richard Stallman <rms@gnu.org>
2806 * doc/bison.texinfo:
2807 Explain better why to make a pure parser.
2809 1998-01-05 Richard Stallman <rms@gnu.org>
2811 * src/files.c (openfiles):
2812 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2813 find a temporary directory, if possible. Do not unlink files while
2816 1997-08-25 Richard Stallman <rms@gnu.org>
2818 * src/reader.c (stack_offset;):
2819 Change some warni to warns.
2821 * src/lex.c (literalchar): Use warns, not warni.
2823 1997-06-28 Richard Stallman <rms@gnu.org>
2825 * src/bison.s1: Add a Bison version comment.
2827 * src/main.c (fatal, warn, berror):
2830 1997-06-28 Richard Stallman <rms@gnu.org>
2832 * Makefile.in (bison_version): New variable.
2833 (dist): Use that variable.
2834 (bison.s1): Substitute the Bison version into bison.simple.
2836 * bison.simple: Add a Bison version comment.
2838 1997-06-18 Richard Stallman <rms@gnu.org>
2840 * src/main.c (fatal, warn, berror):
2841 Make error messages standard.
2842 (toomany): Improve error message text.
2844 * 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:
2845 new.h renamed to alloc.h.
2847 1997-06-18 Richard Stallman <rms@gnu.org>
2849 * Makefile.in: new.h renamed to alloc.h.
2851 1997-05-24 Richard Stallman <rms@gnu.org>
2853 * src/lex.c (literalchar):
2854 Fix the code for escaping \, " and '.
2856 (lex): Avoid trouble when there are many chars
2857 to discard in a char literal with just several chars in it.
2859 1997-05-17 Richard Stallman <rms@gnu.org>
2862 Use malloc, if using alloca is troublesome.
2863 (YYSTACK_USE_ALLOCA): New flag macro.
2864 Define it for some systems and compilers.
2865 (YYSTACK_ALLOC): New macro.
2866 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2867 If it was malloc'd, free it.
2869 1997-05-17 Richard Stallman <rms@gnu.org>
2872 Use malloc, if using alloca is troublesome.
2873 (YYSTACK_USE_ALLOCA): New flag macro.
2874 Define it for some systems and compilers.
2875 (YYSTACK_ALLOC): New macro.
2876 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2877 If it was malloc'd, free it.
2879 1997-04-23 Richard Stallman <rms@gnu.org>
2882 (alloca) [__hpux]: Always define as __builtin_alloca.
2884 1997-04-23 Richard Stallman <rms@gnu.org>
2887 (alloca) [__hpux]: Always define as __builtin_alloca.
2889 1997-04-22 Richard Stallman <rms@gnu.org>
2892 [__hpux]: Include alloca.h (right for HPUX 10)
2893 instead of declaring alloca (right for HPUX 9).
2895 * src/bison.s1 (__yy_memcpy):
2896 Declare arg `count' as unsigned int.
2897 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2899 1997-04-22 Richard Stallman <rms@gnu.org>
2902 [__hpux]: Include alloca.h (right for HPUX 10)
2903 instead of declaring alloca (right for HPUX 9).
2905 * bison.simple (__yy_memcpy):
2906 Declare arg `count' as unsigned int.
2907 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2909 1997-01-03 Richard Stallman <rms@gnu.org>
2911 * src/allocate.c: [__STDC__ or _MSC_VER]:
2912 Declare calloc and realloc to return void *.
2914 1997-01-02 Richard Stallman <rms@gnu.org>
2917 [_MSC_VER]: Include stdlib.h and process.h.
2918 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2920 * src/main.c (main): Return FAILURE as a value.
2921 (printable_version): Declare arg as int, not char.
2923 1997-01-02 Richard Stallman <rms@gnu.org>
2925 * Makefile.in (dist):
2926 Explicitly check for symlinks, and copy them.
2928 1996-12-19 Richard Stallman <rms@gnu.org>
2931 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2933 1996-12-18 Paul Eggert <eggert@gnu.org>
2935 * src/bison.s1 (yyparse):
2936 If __GNUC__ and YYPARSE_PARAM are both defined,
2937 declare yyparse to have a void * argument.
2939 1996-12-18 Paul Eggert <eggert@gnu.org>
2941 * bison.simple (yyparse):
2942 If __GNUC__ and YYPARSE_PARAM are both defined,
2943 declare yyparse to have a void * argument.
2945 1996-12-17 Richard Stallman <rms@gnu.org>
2947 * src/reduce.c (nbits): Add some casts.
2949 1996-08-12 Richard Stallman <rms@gnu.org>
2951 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2953 1996-08-12 Richard Stallman <rms@gnu.org>
2955 * bison.simple: Test _MSDOS as well as _MSDOS_.
2957 1996-07-31 Richard Stallman <rms@gnu.org>
2960 [__sun && __i386]: Include alloca.h.
2962 1996-07-31 Richard Stallman <rms@gnu.org>
2965 [__sun && __i386]: Include alloca.h.
2967 1996-07-30 Richard Stallman <rms@gnu.org>
2969 * src/bison.s1: Comment change.
2971 * src/bison.s1: Test _MSDOS_, not MSDOS.
2973 1996-07-30 Richard Stallman <rms@gnu.org>
2975 * bison.simple: Comment change.
2977 * bison.simple: Test _MSDOS_, not MSDOS.
2979 1996-06-01 Richard Stallman <rms@gnu.org>
2981 * 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:
2982 Insert `_' macro around many string constants.
2985 Insert `_' macro around many string constants.
2987 (main): Call setlocale, bindtextdomain and textdomain.
2989 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2990 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2991 [ENABLE_NLS]: Include libintl.h.
2992 [ENABLE_NLS] (gettext): Define.
2993 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2994 (N_, PACKAGE, LOCALEDIR): New macros.
2996 1996-06-01 Richard Stallman <rms@gnu.org>
2998 * POTFILES.in: New file.
3000 * Makefile.in (allocate.o):
3001 Define target explicitly.
3003 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3004 (LDFLAGS): Set to @LDFLAGS@.
3005 (configure): Run autoconf only if preceding `cd' succeeds.
3006 (bison.s1): Redirect output to temporary file then move the
3007 temporary to the target, rather than redirecting directly to bison.s1.
3008 (clean): Remove config.status and config.log.
3009 (distclean): Don't remove config.status here.
3011 1996-05-12 Richard Stallman <rms@gnu.org>
3014 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3016 1996-05-12 Richard Stallman <rms@gnu.org>
3019 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3021 1996-05-11 Richard Stallman <rms@gnu.org>
3023 * src/bison.s1 (__yy_memcpy):
3024 Really reorder the args, as was supposedly done on Feb 14 1995.
3025 (yyparse): Calls changed accordingly.
3027 1996-05-11 Richard Stallman <rms@gnu.org>
3029 * Makefile.in (dist): Don't use $(srcdir).
3031 * bison.simple (__yy_memcpy):
3032 Really reorder the args, as was supposedly done on Feb 14 1995.
3033 (yyparse): Calls changed accordingly.
3035 1996-01-27 Richard Stallman <rms@gnu.org>
3037 * src/output.c (output_rule_data):
3038 Test YYERROR_VERBOSE in the conditional
3039 around the definition of ttyname.
3041 1995-12-29 Richard Stallman <rms@gnu.org>
3044 Fix line numbers in #line commands.
3046 1995-12-29 Richard Stallman <rms@gnu.org>
3049 Fix line numbers in #line commands.
3051 1995-12-27 Richard Stallman <rms@gnu.org>
3053 * src/bison.s1 (YYPARSE_PARAM_DECL):
3054 In C++, make it always null.
3055 (YYPARSE_PARAM_ARG): New macro.
3056 (yyparse): Use YYPARSE_PARAM_ARG.
3058 1995-12-27 Richard Stallman <rms@gnu.org>
3060 * bison.simple (YYPARSE_PARAM_DECL):
3061 In C++, make it always null.
3062 (YYPARSE_PARAM_ARG): New macro.
3063 (yyparse): Use YYPARSE_PARAM_ARG.
3065 1995-11-29 Richard Stallman <rms@gnu.org>
3067 * doc/bison.texinfo:
3068 Describe literal string tokens, %raw, %no_lines, %token_table.
3070 1995-11-29 Daniel Hagerty <hag@gnu.org>
3072 * doc/bison.texinfo: Fixed update date
3074 1995-10-16 Richard Stallman <rms@gnu.org>
3076 * src/version.c: Version 1.25.
3078 1995-10-16 Richard Stallman <rms@gnu.org>
3080 * NEWS: *** empty log message ***
3082 1995-10-16 Richard Stallman <rms@gnu.org>
3084 * doc/bison.1, doc/bison.rnh:
3087 1995-10-15 Richard Stallman <rms@gnu.org>
3089 * src/vmsgetargs.c, src/getargs.c:
3090 Added -n, -k, and -raw switches.
3091 (noparserflag, toknumflag, rawtoknumflag): New variables.
3093 * src/symtab.h (SALIAS):
3094 New #define for adding aliases to %token.
3095 (struct bucket): Added `alias' field.
3097 * src/reduce.c (reduce_grammar):
3098 Revise error message.
3099 (print_notices): Remove final `.' from error message.
3101 * src/reader.c (reader_output_yylsp):
3103 (readgram): Use `#if 0' around code that accepted %command
3104 inside grammar rules: The documentation doesn't allow it,
3105 and it will fail since the %command processors scan for the next %.
3106 (parse_token_decl): Extended the %token
3107 declaration to allow a multi-character symbol as an alias.
3108 (parse_thong_decl): New function.
3109 (read_declarations): Added %thong declarations.
3110 (read_declarations): Handle NOOP to deal with allowing
3111 % declarations as another means to specify the flags.
3112 (readgram): Allow %prec prior to semantics embedded in a rule.
3113 (skip_to_char, read_declarations, copy_definition)
3114 (parse_token_decl, parse_start_decl, parse_type_decl)
3115 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3116 (get_type_name, copy_guard, copy_action, readgram)
3117 (get_type, packsymbols): Revised most error messages.
3118 Changed `fatal' to `warnxxx' to avoid aborting for error.
3119 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3120 (read_declarations): Improve the error message for
3121 an invalid character. Do not abort.
3122 (read_declarations, copy_guard, copy_action): Use
3123 printable_version to avoid unprintable characters in printed output.
3124 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3125 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3126 Allow the type of a non-terminal can be given
3127 more than once, as long as all specifications give the same type.
3130 (output_headers, output_trailers, output, output_gram)
3131 (output_rule_data): Implement noparserflag variable.
3132 Implement toknumflag variable.
3133 (output): Call reader_output_yylsp to output LTYPESTR.
3135 * src/main.c (main):
3136 If reader sees an error, don't process the grammar.
3137 (fatals): Updated to not use VARARGS1.
3138 (printable_version, int_to_string, warn, warni, warns, warnss)
3139 (warnsss): New error reporting functions. Avoid abort for error.
3142 Added THONG and NOOP for alias processing.
3143 Added SETOPT for the new code that allows setting options with %flags.
3146 Include getopt.h. Add some extern decls.
3147 (safegetc): New function to deal with EOF gracefully.
3148 (literalchar); new function to deal with reading \ escapes.
3149 (lex): Use literalchar.
3150 (lex): Implemented "..." tokens.
3151 (literalchar, lex, parse_percent_token): Made tokenbuffer
3152 always contain the token. This includes growing the token
3153 buffer while reading an integer.
3154 (parse_percent_token): Replaced if-else statement with percent_table.
3155 (parse_percent_token): Added % declarations as another
3156 way to specify the flags -n, -l, and -r. Also added hooks for
3157 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3158 major changes to files.c.
3159 (lex) Retain in the incoming stream a character following
3161 (skip_white_space, lex): Revised most error messages
3162 and changed fatal to warn to avoid aborting.
3163 (percent_table): Added %thong declarations.
3165 * src/gram.h: Comment changes.
3167 * src/files.c (openfiles, open_extra_files, done):
3169 and actfile file. Handle noparserflag. Both for -n switch.
3171 * src/conflicts.c (resolve_sr_conflict):
3172 Remove use of alloca.
3174 1995-06-01 Jim Meyering <meyering@gnu.org>
3176 * doc/bison.texinfo: *** empty log message ***
3178 1995-05-06 Richard Stallman <rms@gnu.org>
3180 * src/bison.s1: Comment change.
3182 1995-05-06 Richard Stallman <rms@gnu.org>
3184 * bison.simple: Comment change.
3186 1995-05-03 Richard Stallman <rms@gnu.org>
3188 * src/version.c: Version now 1.24.
3190 * src/bison.s1: Change distribution terms.
3192 * src/version.c: Version now 1.23.
3194 1995-05-03 Richard Stallman <rms@gnu.org>
3196 * doc/bison.texinfo:
3197 Rewrite "Conditions for Using Bison".
3198 Update version to 1.24.
3200 1995-05-03 Richard Stallman <rms@gnu.org>
3202 * bison.simple: Change distribution terms.
3204 1995-02-23 Richard Stallman <rms@gnu.org>
3206 * src/files.c: Test __VMS_POSIX as well as VMS.
3208 1995-02-14 Jim Meyering <meyering@gnu.org>
3210 * src/bison.s1 (__yy_memcpy):
3211 Renamed from __yy_bcopy to avoid
3212 confusion. Reverse FROM and TO arguments to be consistent with
3215 1995-02-14 Jim Meyering <meyering@gnu.org>
3217 * bison.simple (__yy_memcpy):
3218 Renamed from __yy_bcopy to avoid
3219 confusion. Reverse FROM and TO arguments to be consistent with
3222 1994-11-10 David J. MacKenzie <djm@gnu.org>
3228 * Makefile.in (DISTFILES): Include NEWS.
3230 * Makefile.in (DISTFILES):
3231 Include install-sh, not install.sh.
3233 * configure.in: Update to Autoconf v2 macro names.
3235 1994-10-05 David J. MacKenzie <djm@gnu.org>
3237 * Makefile.in: fix typo
3239 * Makefile.in (prefix, exec_prefix):
3240 Let configure set them.
3242 1994-09-28 David J. MacKenzie <djm@gnu.org>
3244 * Makefile.in: Set datadir to $(prefix)/share.
3246 1994-09-15 Richard Stallman <rms@gnu.org>
3249 Update copyright notice and GPL version.
3251 1994-09-15 Richard Stallman <rms@gnu.org>
3254 Update copyright notice and GPL version.
3256 1994-07-12 Richard Stallman <rms@gnu.org>
3258 * src/reduce.c, src/reader.c:
3261 1994-05-05 David J. MacKenzie <djm@gnu.org>
3263 * Makefile.in: entered into RCS
3265 1994-03-26 Richard Stallman <rms@gnu.org>
3267 * src/bison.s1: entered into RCS
3269 1994-03-26 Richard Stallman <rms@gnu.org>
3271 * bison.simple: entered into RCS
3273 1994-03-25 Richard Stallman <rms@gnu.org>
3275 * src/main.c: entered into RCS
3277 1994-03-24 Richard Stallman <rms@gnu.org>
3279 * src/conflicts.c: entered into RCS
3281 1994-01-02 Richard Stallman <rms@gnu.org>
3283 * Makefile.in: *** empty log message ***
3285 1993-11-21 Richard Stallman <rms@gnu.org>
3287 * src/bison.s1: *** empty log message ***
3289 1993-11-21 Richard Stallman <rms@gnu.org>
3291 * doc/bison.texinfo: entered into RCS
3293 * doc/bison.texinfo: *** empty log message ***
3295 1993-11-21 Richard Stallman <rms@gnu.org>
3297 * bison.simple: *** empty log message ***
3299 1993-10-25 David J. MacKenzie <djm@gnu.org>
3301 * doc/bison.texinfo: *** empty log message ***
3303 1993-10-19 Richard Stallman <rms@gnu.org>
3305 * src/bison.s1: *** empty log message ***
3307 1993-10-19 Richard Stallman <rms@gnu.org>
3309 * bison.simple: *** empty log message ***
3311 1993-10-14 Richard Stallman <rms@gnu.org>
3313 * src/bison.s1: *** empty log message ***
3315 1993-10-14 Richard Stallman <rms@gnu.org>
3317 * bison.simple: *** empty log message ***
3319 1993-09-14 David J. MacKenzie <djm@gnu.org>
3321 * doc/bison.texinfo: *** empty log message ***
3323 1993-09-13 Noah Friedman <friedman@gnu.org>
3325 * Makefile.in: *** empty log message ***
3327 1993-09-10 Richard Stallman <rms@gnu.org>
3329 * src/conflicts.c: *** empty log message ***
3331 * src/system.h: entered into RCS
3333 1993-09-10 Richard Stallman <rms@gnu.org>
3335 * doc/bison.1: entered into RCS
3337 1993-09-06 Noah Friedman <friedman@gnu.org>
3339 * src/version.c: entered into RCS
3341 1993-09-06 Noah Friedman <friedman@gnu.org>
3343 * Makefile.in: *** empty log message ***
3345 1993-07-30 David J. MacKenzie <djm@gnu.org>
3347 * Makefile.in: *** empty log message ***
3349 1993-07-24 Richard Stallman <rms@gnu.org>
3351 * src/bison.s1: *** empty log message ***
3353 1993-07-24 Richard Stallman <rms@gnu.org>
3355 * bison.simple: *** empty log message ***
3357 1993-07-08 David J. MacKenzie <djm@gnu.org>
3359 * Makefile.in: *** empty log message ***
3361 1993-07-04 Richard Stallman <rms@gnu.org>
3363 * src/bison.s1: *** empty log message ***
3365 1993-07-04 Richard Stallman <rms@gnu.org>
3367 * bison.simple: *** empty log message ***
3369 1993-06-26 David J. MacKenzie <djm@gnu.org>
3371 * src/getargs.c: entered into RCS
3373 1993-06-26 David J. MacKenzie <djm@gnu.org>
3375 * doc/bison.texinfo: *** empty log message ***
3377 * doc/bison.1: New file.
3379 1993-06-25 Richard Stallman <rms@gnu.org>
3381 * src/getargs.c: New file.
3383 1993-06-16 Richard Stallman <rms@gnu.org>
3385 * src/bison.s1: *** empty log message ***
3387 1993-06-16 Richard Stallman <rms@gnu.org>
3389 * bison.simple: *** empty log message ***
3391 1993-06-03 Richard Stallman <rms@gnu.org>
3393 * src/bison.s1: New file.
3395 1993-06-03 Richard Stallman <rms@gnu.org>
3397 * doc/bison.texinfo: *** empty log message ***
3399 1993-06-03 Richard Stallman <rms@gnu.org>
3401 * bison.simple: New file.
3403 1993-05-19 Richard Stallman <rms@gnu.org>
3405 * doc/bison.texinfo: New file.
3407 1993-05-07 Noah Friedman <friedman@gnu.org>
3409 * Makefile.in: *** empty log message ***
3411 1993-04-28 Noah Friedman <friedman@gnu.org>
3413 * src/reader.c: *** empty log message ***
3415 1993-04-23 Noah Friedman <friedman@gnu.org>
3417 * src/alloc.h: entered into RCS
3419 1993-04-20 David J. MacKenzie <djm@gnu.org>
3421 * src/version.c: *** empty log message ***
3423 * src/files.c, src/allocate.c:
3426 * src/reader.c: *** empty log message ***
3428 * src/lex.c: entered into RCS
3430 * src/conflicts.c: New file.
3432 * src/symtab.c: entered into RCS
3434 * src/alloc.h: New file.
3436 * src/LR0.c: entered into RCS
3438 1993-04-18 Noah Friedman <friedman@gnu.org>
3440 * src/reader.c: New file.
3442 * src/version.c: *** empty log message ***
3444 1993-04-18 Noah Friedman <friedman@gnu.org>
3446 * Makefile.in: *** empty log message ***
3448 1993-04-17 Noah Friedman <friedman@gnu.org>
3450 * Makefile.in: *** empty log message ***
3452 1993-04-15 Richard Stallman <rms@gnu.org>
3454 * src/main.c, src/files.c:
3457 1993-04-15 Noah Friedman <friedman@gnu.org>
3459 * configure.in: entered into RCS
3461 * configure.in: *** empty log message ***
3463 * configure.in: New file.
3465 1993-04-14 Richard Stallman <rms@gnu.org>
3467 * Makefile.in: New file.
3469 1993-04-13 Richard Stallman <rms@gnu.org>
3471 * src/version.c: New file.
3473 1993-03-25 Richard Stallman <rms@gnu.org>
3475 * src/output.c: entered into RCS
3477 1992-09-25 Richard Stallman <rms@gnu.org>
3479 * configure.bat: entered into RCS
3481 1992-06-22 Richard Stallman <rms@gnu.org>
3483 * src/vmsgetargs.c: entered into RCS
3485 1992-06-22 Richard Stallman <rms@gnu.org>
3487 * doc/bison.rnh: entered into RCS
3489 1992-04-20 David J. MacKenzie <djm@gnu.org>
3491 * README: entered into RCS
3493 1992-01-22 Richard Stallman <rms@gnu.org>
3495 * src/machine.h: entered into RCS
3497 1991-12-21 Richard Stallman <rms@gnu.org>
3499 * src/lalr.c, src/closure.c:
3502 1991-12-20 Richard Stallman <rms@gnu.org>
3504 * src/state.h: entered into RCS
3506 1991-12-18 Richard Stallman <rms@gnu.org>
3508 * src/print.c, src/nullable.c, src/derives.c:
3511 1991-11-03 David J. MacKenzie <djm@gnu.org>
3513 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3516 1988-09-09 Richard Stallman <rms@gnu.org>
3518 * src/bison.hairy: entered into RCS
3520 1987-12-16 Richard Stallman <rms@gnu.org>
3522 * REFERENCES: entered into RCS