1 2001-10-26 Akim Demaille <akim@epita.fr>
5 2001-10-26 Paul Eggert <eggert@twinsun.com>
7 * lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
8 lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
9 lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
10 m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
11 m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
12 Sync with fileutils 4.1.1.
14 2001-10-18 Akim Demaille <akim@epita.fr>
17 * tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
18 avoid spurious failures.
20 2001-10-18 Akim Demaille <akim@epita.fr>
24 2001-10-18 Akim Demaille <akim@epita.fr>
26 * tests/atlocal.in (GCC): Add.
27 * tests/calc.at: s/m4_match/m4_bmatch/.
28 s/m4_patsubst/m4_bpatsubst/.
29 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
30 * configure.in: AC_SUBST(GCC).
32 2001-10-10 Akim Demaille <akim@epita.fr>
35 * configure.in: M4 is no longer needed, but autom4te is.
36 * tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
39 2001-10-10 Akim Demaille <akim@epita.fr>
43 2001-10-10 Akim Demaille <akim@epita.fr>
46 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
47 Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
48 Reported by Airy Andre.
50 2001-10-10 Akim Demaille <akim@epita.fr>
52 * INSTALL, config/config.guess, config/config.sub, config/mdate-sh
53 * config/mkinstalldirs, lib/ansi2knr.c: Update.
55 2001-10-02 Akim Demaille <akim@epita.fr>
59 2001-10-02 Akim Demaille <akim@epita.fr>
63 2001-10-02 Akim Demaille <akim@epita.fr>
65 * tests/regression.at (Invalid CPP headers): New.
66 From Alexander Belopolsky.
67 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
69 2001-10-02 Akim Demaille <akim@epita.fr>
71 * tests/regression.at (Invalid input): New.
72 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
75 2001-10-02 Akim Demaille <akim@epita.fr>
77 * tests/calc.at: Now that --debug works, the tests must be adjusted.
79 2001-10-02 Akim Demaille <akim@epita.fr>
81 * src/output.c (output_parser): Assert `skeleton'.
82 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
86 2001-10-01 Marc Autret <autret_m@epita.fr>
88 * src/lex.h: Echo modifications.
89 * src/lex.c (unlex): Parameter is now token_t.
92 2001-10-01 Marc Autret <autret_m@epita.fr>
94 * src/main.c: Include lex.h.
97 2001-09-29 Akim Demaille <akim@epita.fr>
99 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
101 2001-09-28 Akim Demaille <akim@epita.fr>
103 * tests/testsuite.at: Update to newer Autotest.
104 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
106 2001-09-27 Akim Demaille <akim@epita.fr>
108 Position independent wrapper.
110 * tests/bison: Remove.
111 * tests/bison.in: New.
112 * configure.in: Adjust.
114 2001-09-27 Paul Eggert <eggert@twinsun.com>
116 Port quotearg fixes from tar 1.13.24.
118 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
120 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
121 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
123 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
124 * m4/mbrtowc.m4: New file.
125 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
126 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
128 2001-09-27 Akim Demaille <akim@epita.fr>
132 2001-09-27 Akim Demaille <akim@epita.fr>
136 2001-09-25 Akim Demaille <akim@epita.fr>
138 * src/system.h: Include `xalloc.h'.
139 Remove it from the C files.
140 * src/files.c (output_files): Free the obstacks.
141 * src/lex.c (init_lex): Rename as...
144 * src/main.c (main): Use it.
146 2001-09-24 Marc Autret <autret_m@epita.fr>
148 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
149 to output informations in fout (FILE*).
150 (open_graph, close_graph): Likewise.
151 (output_graph, output_edge, output_node): Likewise.
152 * src/vcg.h: Update function prototypes.
153 * src/print_graph.c (print_graph): Open output graph file.
154 (print_actions): Adjust.
155 * src/files.h: Remove extern declaration.
156 * src/files.c: Remove graph_obstack declaration.
157 (open_files): Remove graph_obstack initialization.
158 (output_files): Remove graph_obstack saving.
160 2001-09-24 Marc Autret <autret_m@epita.fr>
162 * src/files.c (compute_output_file_names): Fix.
164 2001-09-24 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
166 * src/reader.c (reader): Remove call to free_symtab ().
167 * src/main.c (main): Call it here.
169 * src/conflicts.c (initialize_conflicts): Rename as...
170 (solve_conflicts): this.
171 * src/print.c (print_core, print_actions, print_state)
172 (print_grammar): Dump to a file instead a `output_obstack'.
173 (print_results): Dump `output_obstack', and then proceed with the
175 * src/files.c (compute_output_file_names, close_files): New.
176 (output_files): Adjust.
177 * src/main.c (main): Adjust.
179 2001-09-23 Marc Autret <autret_m@epita.fr>
181 * src/files.c (compute_header_macro): Computes header macro name
182 from spec_defines_file when given.
184 2001-09-23 Marc Autret <autret_m@epita.fr>
186 * src/files.c (output_files): Add default extensions.
188 2001-09-22 Akim Demaille <akim@epita.fr>
190 * src/conflicts.c (finalize_conflicts): Rename as...
191 (free_conflicts): this.
193 2001-09-22 Akim Demaille <akim@epita.fr>
195 * src/gram.c (gram_free): Rename back as...
197 (output_token_translations): Free `token_translations'.
198 * src/symtab.c (free_symtab): Free the tag field.
200 2001-09-22 Akim Demaille <akim@epita.fr>
202 Remove `translations' as it is always set to true.
204 * src/gram.h: Adjust.
205 * src/reader.c (packsymbols, parse_token_decl): Adjust
206 * src/print.c (print_grammar): Adjust.
207 * src/output.c (output_token_translations): Adjust.
208 * src/lex.c (lex): Adjust.
209 * src/gram.c: Be sure the set pointers to NULL.
210 (dummy): Rename as...
213 2001-09-22 Akim Demaille <akim@epita.fr>
215 * configure.in: Invoke AM_LIB_DMALLOC.
216 * src/system.h: Use dmalloc.
217 * src/LR0.c: Be sure to have pointers initialized to NULL.
218 (allocate_itemsets): Allocate kernel_items only if needed.
220 2001-09-22 Akim Demaille <akim@epita.fr>
222 * configure.in: Bump to 1.29b.
223 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
224 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
225 need xmalloc.c in calc.y.
228 2001-09-21 Akim Demaille <akim@epita.fr>
231 * Makefile.maint, config/config.guess, config/config.sub,
232 * config/missing: Update from masters.
233 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
235 * configure.in (ALL_LINGUAS): Add `tr'.
237 2001-09-21 Akim Demaille <akim@epita.fr>
239 * tests/Makefile.am (package.m4): Move to...
240 ($(srcdir)/$(TESTSUITE)): here.
242 2001-09-20 Akim Demaille <akim@epita.fr>
244 * src/complain.c: No longer try to be standalone: use system.h.
245 Don't assume __STDC__ is defined to 1. Just test if it is defined.
246 * src/complain.h: Likewise.
247 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
248 Remove the unused variable `n'.
249 From Albert Chin-A-Young.
251 2001-09-18 Marc Autret <autret_m@epita.fr>
253 * doc/bison.1: Update.
254 * doc/bison.texinfo (Bison Options): Update --defines and --graph
256 (Option Cross Key): Update.
259 2001-09-18 Marc Autret <autret_m@epita.fr>
261 * tests/regression.at: New test (comment in %union).
263 2001-09-18 Marc Autret <autret_m@epita.fr>
265 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
267 Reported by Keith Browne.
269 2001-09-18 Marc Autret <autret_m@epita.fr>
271 * tests/output.at: Add tests for --defines and --graph.
273 2001-09-18 Marc Autret <autret_m@epita.fr>
275 * tests/output.at: Removes tests of %{header,src}_extension features.
277 2001-09-18 Akim Demaille <akim@epita.fr>
279 * tests/Makefile.am (package.m4): New.
280 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
281 (_AT_CHECK_CALC_ERROR): Likewise.
282 Factor the `, ' part of verbose error messages.
284 2001-09-18 Marc Autret <autret_m@epita.fr>
286 * src/getargs.c (longopts): Declare --defines and --graph as options
287 with optional arguments.
288 * src/files.h: Add extern declarations.
289 * src/files.c (spec_graph_file, spec_defines_file): New.
290 (output_files): Update.
291 Remove CPP-outed code.
293 2001-09-18 Marc Autret <autret_m@epita.fr>
295 Turn off %{source,header}_extension feature.
297 * src/files.c (compute_exts_from_gf): Update.
298 (compute_exts_from_src): Update.
299 (output_files): CPP-out useless code.
300 * src/files.h: Remove {header,source}_extension extern declarations.
301 * src/reader.c (parse_dquoted_param): CPP-out.
302 (parse_header_extension_decl): Remove.
303 (parse_source_extension_decl): Remove.
304 (read_declarations): Remove cases tok_{hdrext,srcext}.
305 * src/lex.c (percent_table): Remove {header,source}_extension entries.
306 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
308 2001-09-10 Akim Demaille <akim@epita.fr>
310 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
311 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
312 (AT_CHECK_OUTPUT): this.
313 Merely check ls' exit status, its output is useless.
315 2001-09-10 Akim Demaille <akim@epita.fr>
317 * tests/calc.at: Use m4_match.
318 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
320 2001-09-10 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
322 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
324 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
326 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
327 * src/lex.h: Adjust prototype.
328 (token_t): Add `tok_undef'.
329 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
330 (parse_percent_token): Now returns token_t.
331 Add default statement in switch.
332 (lex): Separate `c' as an input variable, from the token_t result
334 (unlexed): Is a token_t.
336 2001-09-10 Akim Demaille <akim@epita.fr>
338 * configure.in: Bump to 1.29a.
340 2001-09-07 Akim Demaille <akim@epita.fr>
344 2001-08-30 Akim Demaille <akim@epita.fr>
346 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
347 * m4/atconfig.m4: Remove.
348 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
350 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
351 m4_if, m4_patsubst, and m4_regexp.
352 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
353 `input' file instead of echo.
355 2001-08-29 Akim Demaille <akim@epita.fr>
359 2001-08-29 Akim Demaille <akim@epita.fr>
363 2001-08-29 Paul Eggert <eggert@twinsun.com>
365 * src/bison.simple (yyparse): Don't take the address of an
366 item before the start of an array, as that doesn't conform to
369 2001-08-29 Robert Anisko <anisko_r@epita.fr>
371 * doc/bison.texinfo (Location Tracking Calc): New node.
373 2001-08-29 Paul Eggert <eggert@twinsun.com>
375 * src/output.c (output): Do not define const, as this now
376 causes more problems than it cures.
378 2001-08-29 Akim Demaille <akim@epita.fr>
380 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
382 Be sure to tag the `detailmenu'.
384 2001-08-29 Akim Demaille <akim@epita.fr>
386 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
387 download in a tmp dir.
389 2001-08-28 Marc Autret <autret_m@epita.fr>
391 * config/depcomp: New file.
393 2001-08-28 Marc Autret <autret_m@epita.fr>
395 * doc/bison.1 (mandoc): Adjust.
396 From Juan Manuel Guerrero.
398 2001-08-28 Marc Autret <autret_m@epita.fr>
400 * src/print_graph.c (print_state): Fix.
402 2001-08-27 Marc Autret <autret_m@epita.fr>
404 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
406 Echo modifications to the functions prototypes.
407 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
409 2001-08-27 Marc Autret <autret_m@epita.fr>
411 * src/vcg.c: Include `xalloc.h'.
412 (add_colorentry): New.
413 (add_classname): New.
415 * src/vcg.h: Add new prototypes.
417 2001-08-27 Akim Demaille <akim@epita.fr>
419 * Makefile.maint: Sync. again with CVS Autoconf.
421 2001-08-27 Akim Demaille <akim@epita.fr>
423 * Makefile.maint: Formatting changes.
424 (po-update, cvs-update, update): New targets.
427 2001-08-27 Akim Demaille <akim@epita.fr>
429 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
430 * Makefile.maint: Sync. with CVS Autoconf.
432 2001-08-27 Marc Autret <autret_m@epita.fr>
434 * src/vcg.h (struct infoname_s): New.
435 (struct colorentry_s): New.
436 (graph_s): New fields {vertical,horizontal}_order in structure.
437 Add `infoname' field.
438 Add `colorentry' field;
439 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
440 (G_HORIZONTAL_ORDER): New.
443 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
444 Add output of `infoname'.
445 Add output of `colorentry'.
447 2001-08-27 Marc Autret <autret_m@epita.fr>
449 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
450 This one shadowed a global parameter.
452 2001-08-24 Marc Autret <autret_m@epita.fr>
454 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
455 instead of `unsigned'.
456 (print_state): Do not call obstack_object_size () in obstack_grow ()
457 to avoid macro variables shadowing.
459 2001-08-23 Marc Autret <autret_m@epita.fr>
461 * src/lex.c (percent_table): Typo: s/naem/name/.
463 Normalize new options declarations.
465 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
467 * tests/suite.at: Exercise %header_extension and %source_extension.
469 2001-08-16 Marc Autret <autret_m@epita.fr>
471 * src/reader.c (parse_dquoted_param): New.
472 (parse_header_extension_decl): Use it.
473 (parse_source_extension_decl): Likewise.
475 2001-08-16 Marc Autret <autret_m@epita.fr>
477 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
478 (get_xxxx_str): Use assert () instead of complain ().
479 Remove return invokations in default cases.
480 (get_decision_str): Modify default behaviour. Remove second argument.
481 Echo modifications on calls.
484 2001-08-16 Marc Autret <autret_m@epita.fr>
486 * src/getargs.c (usage): Update with ``-g, --graph''.
488 2001-08-16 Marc Autret <autret_m@epita.fr>
490 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
491 (Option Cross Key): Likewise.
492 * doc/bison.1: Update.
494 2001-08-15 Akim Demaille <akim@epita.fr>
498 2001-08-15 Marc Autret <autret_m@epita.fr>
500 * src/reader.c (readgram): Indent output macro YYSTYPE.
501 (packsymbols): Likewise.
502 (output_token_defines): Likewise.
503 * src/files.c: Standardize.
504 (compute_header_macro): New.
505 (defines_obstack_save): New. Use compute_header_macro.
506 (output_files): Update. Use defines_obstack_save.
508 2001-08-15 Akim Demaille <akim@epita.fr>
510 * doc/bison.texinfo (Table of Symbols): Document
513 2001-08-15 Akim Demaille <akim@epita.fr>
515 * missing: Update from CVS Automake.
516 * config/config.guess, config/config.sub, config/texinfo.tex:
519 2001-08-15 Akim Demaille <akim@epita.fr>
521 * Makefile.maint: Sync with CVS Autoconf.
523 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
525 * doc/bison.texinfo: Include GNU Free Documentation License from
527 * doc/fdl.texi: Add to package.
529 2001-08-14 Marc Autret <autret_m@epita.fr>
531 Turn on %{source,header}_extension features.
533 * src/lex.c (percent_table): Un-CPP out header_extension and
535 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
536 (compute_exts_from_src): Remove conditions. It restores priorities
539 2001-08-14 Marc Autret <autret_m@epita.fr>
541 * src/files.c (compute_base_names): Add extensions computing when
542 `--file-prefix' used.
543 Standardize function calls.
545 2001-08-13 Marc Autret <autret_m@epita.fr>
547 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
548 defining it (defined but null disables alloca).
550 2001-08-13 Marc Autret <autret_m@epita.fr>
552 * src/bison.simple (_yy_memcpy): CPP reformat.
554 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
556 * tests/atconfig.in (CPPFLAGS): Fix.
558 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
560 * doc/bison.texinfo: Include GNU General Public License from
562 * doc/gpl.texi: Add to package.
564 2001-08-10 Marc Autret <autret_m@epita.fr>
566 * src/print_graph.h: Fix.
567 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
569 2001-08-10 Akim Demaille <akim@epita.fr>
571 * src/system.h: Provide default declarations for stpcpy, strndup,
574 2001-08-10 Robert Anisko <anisko_r@epita.fr>
576 * doc/bison.texinfo (Locations): Update @$ stuff.
578 2001-08-09 Robert Anisko <anisko_r@epita.fr>
580 * src/bison.simple (YYLLOC_DEFAULT): Update.
583 2001-08-08 Marc Autret <autret_m@epita.fr>
585 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
586 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
587 Reported by Fabrice Bauzac.
589 2001-08-08 Marc Autret <autret_m@epita.fr>
591 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
592 * src/vcg.c (output_node): Fix.
593 * src/vcg.h: Cleanup.
594 * src/print_graph.c: Add comments.
595 (node_output_size): New global variable. Simplify the formatting of
596 the VCG graph output.
597 (print_actions): Unused code is now used. It notifies the final state
598 and no action states in the VCG graph. It also give the reduce actions.
599 The `shift and goto' edges are red and the `go to state' edges are
601 Get the current node name and node_obstack by argument.
602 (node_obstack): New variable.
603 (print_state): Manage node_obstack.
604 (print_core): Use node_obstack given by argument.
605 A node is not only computed here but in print_actions also.
606 (print_graph): CPP out useless code instead of commenting it.
608 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
610 * tests/atconfig.in (CPPFLAGS): Fix.
612 2001-08-07 Akim Demaille <akim@epita.fr>
614 * src/print_graph.c (quote): New.
615 (print_core): Use it.
617 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
619 * src/vcg.c (complain.h): Include it.
620 Unepitaize `return' invocations.
621 [NDEBUG] (main): Remove.
622 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
623 * src/files.c (open_files): Initialize graph_obstack.
624 * src/print_graph.c (print_actions): CPP out useless code.
625 (print_core): Don't output the last `\n' in labels.
627 * src/files.c (output_files): Output the VCG file.
628 * src/main.c (main): Invoke print_graph ();
630 2001-08-06 Marc Autret <autret_m@epita.fr>
632 Automaton VCG graph output.
633 Using option ``-g'' or long option ``--graph'', you can generate
634 a gram_filename.vcg file containing a VCG description of the LALR (1)
635 automaton of your grammar.
637 * src/main.c: Call to print_graph() function.
638 * src/getargs.h: Update.
639 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
640 (graph_flag): New flag.
642 (getargs): Add case `g'.
643 * src/files.c (graph_obstack): New obstack struct.
644 (open_files): Initialize new obstack.
645 (output_files): Saves graph_obstack if required.
646 * src/files.h (graph_obstack): New extern declaration.
647 * src/Makefile.am: Add new source files.
649 2001-08-06 Marc Autret <autret_m@epita.fr>
651 * src/print_graph.c, src/print_graph.h (graph): New.
652 * src/vcg.h: New file.
653 * src/vcg.c: New file, VCG graph handling.
655 2001-08-06 Marc Autret <autret_m@epita.fr>
657 Add of %source_extension and %header_extension which specify
658 the source or/and the header output file extension.
660 * src/files.c (compute_base_names): Remove initialisation of
661 src_extension and header_extension.
662 (compute_exts_from_gf): Update.
663 (compute_exts_from_src): Update.
664 (output_files): Update.
665 * src/reader.c (parse_header_extension_decl): New.
666 (parse_source_extension_decl): New.
667 (read_declarations): New case statements for the new tokens.
668 * src/lex.c (percent_table): Add entries for %source_extension
669 and %header_extension.
670 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
672 2001-08-06 Marc Autret <autret_m@epita.fr>
674 * configure.in: Bump to 1.28c.
675 * doc/bison.texinfo: Texinfo thingies.
677 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
679 * tests/atconfig.in (CPPFLAGS): Add.
680 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
682 2001-08-03 Akim Demaille <akim@epita.fr>
686 2001-08-03 Akim Demaille <akim@epita.fr>
688 * tests/Makefile.am (check-local): Ship testsuite.
689 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
692 2001-08-03 Akim Demaille <akim@epita.fr>
694 * configure.in: Try using -Wformat when compiling.
696 2001-08-03 Akim Demaille <akim@epita.fr>
698 * configure.in: Bump to 1.28b.
700 2001-08-03 Akim Demaille <akim@epita.fr>
702 * src/complain.c: Adjust strerror_r portability issues.
704 2001-08-03 Akim Demaille <akim@epita.fr>
708 2001-08-03 Akim Demaille <akim@epita.fr>
710 * src/getargs.c, src/getarg.h (skeleton)): Constify.
711 * src/lex.c (literalchar): Avoid name clashes on `buf'.
712 * src/getargs.c: Include complain.h.
713 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
714 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
716 2001-08-03 Akim Demaille <akim@epita.fr>
718 * src/reader.c (readgram): Display hidden chars in error messages.
720 2001-08-03 Akim Demaille <akim@epita.fr>
722 Update to gettext 0.10.39.
724 2001-08-03 Akim Demaille <akim@epita.fr>
728 2001-08-01 Marc Autret <autret_m@epita.fr>
730 * doc/bison.texinfo: Update.
731 * doc/bison.1 (mandoc): Update.
732 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
733 * src/files.c: Support output files extensions computing.
734 (src_extension): New static variable.
735 (header_extension): New static variable.
737 (get_extension_index): New function, gets the index of an extension
738 filename in a string.
739 (compute_exts_from_gf): New function, computes extensions from the
740 grammar file extension.
741 (compute_exts_from_src): New functions, computes extensions from the
742 C source file extension, file given by ``-o'' option.
743 (compute_base_names): Update.
744 (output_files): Update.
746 2001-08-01 Robert Anisko <anisko_r@epita.fr>
748 * doc/bison.texi: Document @$.
749 (Locations): New section.
751 2001-07-18 Akim Demaille <akim@epita.fr>
753 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
754 * config/prev-version.txt, config/move-if-change: New.
755 * Makefile.am: Adjust.
757 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
759 * src/bison.simple (yyparse): Suppress warning `comparaison
760 between signed and unsigned'.
762 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
764 * src/getargs.h (raw_flag): Remove.
765 * src/getargs.c: Die on `-r'/`--raw'.
766 * src/lex.c (parse_percent_token): Die on `%raw'.
767 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
768 * tests/calc.at: Suppress test with option `--raw'.
770 2001-07-14 Akim Demaille <akim@epita.fr>
773 * configure.in: Require Autoconf 2.50.
774 Update to gettext 0.10.38.
776 2001-03-16 Akim Demaille <akim@epita.fr>
778 * doc/bison.texinfo: ANSIfy the examples.
780 2001-03-16 Akim Demaille <akim@epita.fr>
782 * getargs.c (skeleton): New variable.
783 (longopts): --skeleton is a new option.
784 (shortopts, getargs): -S is a new option.
785 * getargs.h: Declare skeleton.
786 * output.c (output_parser): Use it.
788 2001-03-16 Akim Demaille <akim@epita.fr>
790 * m4/strerror_r.m4: New.
791 * m4/error.m4: Run AC_FUNC_STRERROR_R.
792 * lib/error.h, lib/error.c: Update.
794 2001-03-16 Akim Demaille <akim@epita.fr>
796 * src/getargs.c (longopts): Clean up.
798 2001-02-21 Akim Demaille <akim@epita.fr>
800 * src/reader.c (gensym): `gensym_count' is your own.
801 Use a static buf to create the symbol name, as token_buffer is no
804 2001-02-08 Akim Demaille <akim@epita.fr>
806 * src/conflicts.c (conflict_report): Be sure not to append to res
807 between two calls, which could happen if both first sprintf were
808 skipped, but not the first cp += strlen.
810 2001-02-08 Akim Demaille <akim@epita.fr>
812 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
813 New, from fileutils 4.0.37.
814 * configure.in: Require Autoconf 2.49c. I took some time before
815 making this decision. This is the only way out for portability
816 issues in Bison, it would mean way too much duplicate effort to
817 import in Bison features implemented in 2.49c since 2.13.
818 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
820 2001-02-02 Akim Demaille <akim@epita.fr>
822 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
823 * lib/xalloc.h, lib/xmalloc.c: Update.
825 2001-01-19 Akim Demaille <akim@epita.fr>
827 Get rid of the ad hoc handling of token_buffer in the scanner: use
830 * src/lex.c (token_obstack): New.
831 (init_lex): Initialize it. No longer call...
832 (grow_token_buffer): this. Remove it.
833 Adjust all the places which used it to use the obstack.
835 2001-01-19 Akim Demaille <akim@epita.fr>
837 * src/lex.h: Rename all the tokens:
838 s/\bENDFILE\b/tok_eof/g;
839 s/\bIDENTIFIER\b/tok_identifier/g;
841 Let them be enums, not #define, to ease debugging.
844 2001-01-18 Akim Demaille <akim@epita.fr>
846 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
847 * src/lex.c (maxtoken, grow_token_buffer): Static.
849 2001-01-18 Akim Demaille <akim@epita.fr>
851 Since we now use obstacks, more % directives can be enabled.
853 * src/lex.c (percent_table): Also accept `%yacc',
854 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
856 Handle the actions for `%semantic_parser' and `%pure_parser' here,
857 instead of returning a token.
858 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
859 * src/reader.c (read_declarations): Adjust.
860 * src/files.c (open_files): Don't call `compute_base_names', don't
861 compute `attrsfile' since they depend upon data which might be
862 *in* the input file now.
863 (output_files): Do it here.
864 * src/output.c (output_headers): Document the fact that this patch
865 introduces a guaranteed SEGV for semantic parsers.
866 * doc/bison.texinfo: Document them.
867 * tests/suite.at: Exercise these %options.
869 2000-12-20 Akim Demaille <akim@epita.fr>
871 Also handle the output file (--verbose) with obstacks.
873 * files.c (foutput): Remove.
874 (output_obstack): New.
875 Adjust all dependencies.
876 * src/conflicts.c: Return a string.
877 * src/system.h (obstack_grow_string): Rename as...
878 (obstack_sgrow): this. Be ready to work with non literals.
879 (obstack_fgrow4): New.
881 2000-12-20 Akim Demaille <akim@epita.fr>
883 * src/files.c (open_files): Fix the computation of short_base_name
884 in the case of `-o foo.tab.c'.
886 2000-12-20 Akim Demaille <akim@epita.fr>
888 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
889 (copy_dollar): Now that everything uses obstacks, get rid of the
892 2000-12-20 Akim Demaille <akim@epita.fr>
894 * src/files.c (open_files): Actually the `.output' file is based
895 on the short_base_name, not base_name.
896 * tests/suite.at (Checking output file names): Adjust.
898 2000-12-20 Akim Demaille <akim@epita.fr>
900 * src/bison.s1: Remove, we now use directly...
901 * src/bison.simple: this.
902 * src/Makefile.am: Use pkgdata instead of data.
904 2000-12-20 Akim Demaille <akim@epita.fr>
906 * src/files.c (guard_obstack): New.
907 (open_files): Initialize it.
908 (output_files): Dump it...
909 * src/files.h: Export it.
910 * src/reader.c (copy_guard): Use it.
912 2000-12-19 Akim Demaille <akim@epita.fr>
914 * src/files.c (outfile, defsfile, actfile): Removed as global
916 (open_files): Don't compute them.
917 (output_files): Adjust.
918 (base_name, short_base_name): Be global.
921 2000-12-19 Akim Demaille <akim@epita.fr>
923 * src/files.c (strsuffix): New.
924 (stringappend): Be just like strcat but allocate.
925 (base_names): Eve out from open_files.
926 Try to simplify the rather hairy computation of base_name and
928 (open_files): Use it.
929 * tests/suite.at (Checking output file names): New test.
931 2000-12-19 Akim Demaille <akim@epita.fr>
933 * src/system.h (obstack_grow_literal_string): Rename as...
934 (obstack_grow_string): this.
935 * src/output.c (output_parser): Recognize `%% actions' instead of
937 * src/bison.s1: s/$/%% actions/.
938 * src/bison.hairy: Likewise.
940 2000-12-19 Akim Demaille <akim@epita.fr>
942 * src/output.c (output_parser): Compute the `#line' lines when
944 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
945 Suggested by Hans Aberg.
947 2000-12-19 Akim Demaille <akim@epita.fr>
949 Let the handling of the skeleton files be local to the procedures
952 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
954 (fparser, open_extra_files): Remove.
955 (open_files, output_files): Don't take care of fparser.
956 * src/files.h: Adjust.
957 * src/output.c (output_parser): Open and close the file to the
959 * src/reader.c (read_declarations): When %semantic_parser, open
962 2000-12-19 Akim Demaille <akim@epita.fr>
964 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
965 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
967 2000-12-19 Akim Demaille <akim@epita.fr>
969 * src/files.c (open_files): Yipee! We no longer need all the code
970 looking for `/tmp' since we have no tmp file.
972 2000-12-19 Akim Demaille <akim@epita.fr>
974 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
976 * src/files.c (open_files): Less dependency on MSDOS etc.
978 2000-12-14 Akim Demaille <akim@epita.fr>
980 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
981 Provide a default definition.
982 Use it when executing the default @ action.
983 * src/reader.c (reader_output_yylsp): No longer include
984 `timestamp' and `text' in the default YYLTYPE.
986 2000-12-12 Akim Demaille <akim@epita.fr>
988 * src/reader.c (copy_definition, parse_union_decl, copy_action)
989 (copy_guard): Quote the file names.
990 Reported by Laurent Mascherpa.
992 2000-12-12 Akim Demaille <akim@epita.fr>
994 * src/output.c (output_headers, output_program, output): Be sure
995 to escape special characters when outputting filenames.
996 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
997 (output_headers): Don't depend on them, Use ACTSTR.
999 2000-11-17 Akim Demaille <akim@epita.fr>
1001 * lib/obstack.h: Formatting changes.
1002 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1003 prevents type checking.
1004 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1005 cast the value to (void *): assigning a `foo *' to a `void *'
1007 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1008 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1011 2000-11-17 Akim Demaille <akim@epita.fr>
1013 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1015 (suite.m4, regression.m4, calc.m4): these.
1016 * tests/atgeneral.m4: Update from CVS Autoconf.
1018 2000-11-17 Akim Demaille <akim@epita.fr>
1020 * tests/regression.m4 (%union and --defines): New test,
1021 demonstrating a current bug in the obstack implementation.
1023 2000-11-17 Akim Demaille <akim@epita.fr>
1025 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1027 Use them to declare the variables which are global or local to
1030 2000-11-17 Akim Demaille <akim@epita.fr>
1032 * acconfig.h: Remove, no longer used.
1034 2000-11-07 Akim Demaille <akim@epita.fr>
1036 * src: s/Copyright (C)/Copyright/g.
1038 2000-11-07 Akim Demaille <akim@epita.fr>
1040 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1042 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1044 2000-11-07 Akim Demaille <akim@epita.fr>
1046 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1047 Merge in a single CPP if/else.
1049 2000-11-07 Akim Demaille <akim@epita.fr>
1051 * src/output.c (output): Remove useless variables.
1052 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1053 argument `data' for consistency with the prototypes.
1055 (obstack_copy, obstack_copy0): Rename the second argument as
1056 `address' for consistency. Qualify it `const'.
1057 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1058 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1059 `const' their input argument (`data' or `address').
1060 Adjust the corresponding macros to include `const' in casts.
1062 2000-11-03 Akim Demaille <akim@epita.fr>
1064 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1065 s/PFILE1/BISON_HAIRY/.
1066 Adjust dependencies.
1068 2000-11-03 Akim Demaille <akim@epita.fr>
1070 For some reason, this was not applied.
1072 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1073 `unlink': it's no longer used.
1075 2000-11-03 Akim Demaille <akim@epita.fr>
1077 * src/files.c (skeleton_find): New function, eved out of...
1078 (open_files, open_extra_files): here.
1080 2000-11-03 Akim Demaille <akim@epita.fr>
1084 * src/files.c (obstack_save): New function.
1085 (done): Rename as...
1086 (output_files): this.
1088 * src/main.c (main): Don't use `atexit' to register `done', since
1089 it no longer has to remove tmp files, just call `output_files'
1090 when there are no errors.
1092 2000-11-02 Akim Demaille <akim@epita.fr>
1094 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1095 `unlink': it's no longer used.
1096 * src/files.h: Formatting changes.
1098 2000-11-02 Akim Demaille <akim@epita.fr>
1100 Remove the last uses of mktemp and unlink/delete.
1102 * src/files.c (fdefines, ftable): Removed.
1103 (defines_ostack, table_obstack): New.
1104 Adjust dependencies of the former into uses of the latter.
1105 * src/output.c (output_short_or_char_table, output_short_table):
1106 Convert to using obstacks.
1107 * src/reader.c (copy_comment2): Accept one FILE * and two
1109 (output_token_defines, reader_output_yylsp): Use obstacks.
1110 * src/system.h (obstack_fgrow3): New.
1112 2000-11-01 Akim Demaille <akim@epita.fr>
1114 Change each use of `fattrs' into a use of `attrs_obstack'.
1116 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1117 * src/files.c (fattrs): Remove.
1118 (attrs_obstack): New.
1119 Adjust all dependencies.
1120 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1122 2000-11-01 Akim Demaille <akim@epita.fr>
1125 Change each use of `faction' into a use of `action_obstack'.
1127 * lib/obstack.h, lib/obstack.c: New files.
1128 * src/files.c (faction): Remove.
1129 (action_obstack): New.
1130 Adjust all dependencies.
1132 2000-10-20 Akim Demaille <akim@epita.fr>
1134 * lib/quote.h (PARAMS): New macro. Use it.
1136 2000-10-16 Akim Demaille <akim@epita.fr>
1138 * src/output.c (output_short_or_char_table): New function.
1139 (output_short_table, output_token_translations): Use it.
1140 (goto_actions): Use output_short_table.
1142 2000-10-16 Akim Demaille <akim@epita.fr>
1144 * src/symtab.c (bucket_new): New function.
1147 * src/output.c (output_short_table): New argument to display the
1148 comment associated with the table.
1149 Adjust dependencies.
1150 (output_gram): Use it.
1151 (output_rule_data): Nicer output layout for YYTNAME.
1153 2000-10-16 Akim Demaille <akim@epita.fr>
1155 * src/lex.c (read_typename): New function.
1157 * src/reader.c (copy_dollar): Likewise.
1159 2000-10-16 Akim Demaille <akim@epita.fr>
1161 * src/reader.c (copy_comment2): Expect the input stream to be on
1162 the `/' which is suspected to open a comment, instead of being
1163 called after `//' or `/*' was read.
1164 (copy_comment, copy_definition, parse_union_decl, copy_action)
1165 (copy_guard): Adjust.
1167 2000-10-16 Akim Demaille <akim@epita.fr>
1169 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1170 `read_signed_integer'.
1172 2000-10-16 Akim Demaille <akim@epita.fr>
1174 * src/reader.c (copy_dollar): New function.
1175 (copy_guard, copy_action): Use it.
1177 2000-10-16 Akim Demaille <akim@epita.fr>
1179 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1180 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1181 New files, from Fileutils 4.0.27.
1182 * src/main.c (printable_version): Remove.
1183 * src/lex.c, src/reader.c: Use `quote'.
1185 2000-10-04 Akim Demaille <akim@epita.fr>
1187 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1189 2000-10-04 Akim Demaille <akim@epita.fr>
1191 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1193 2000-10-04 Akim Demaille <akim@epita.fr>
1195 When a literal string is used to define two different tokens,
1196 `bison -v' segfaults.
1197 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1199 * tests/regression.m4: New file.
1200 Include the core of the sample provided by Piotr Gackiewicz.
1201 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1204 2000-10-04 Akim Demaille <akim@epita.fr>
1206 * src/reader.c (parse_expect_decl): Keep `count' within the size
1210 2000-10-02 Paul Eggert <eggert@twinsun.com>
1212 * bison.s1 (yyparse): Assign the default value
1213 unconditionally, to avoid a GCC warning and make the parser a
1216 2000-10-02 Akim Demaille <akim@epita.fr>
1218 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1221 2000-10-02 Akim Demaille <akim@epita.fr>
1223 * src/derives.c, src/print.c, src/reduce.c: To ease the
1224 translation, move some `\n' out of the translated strings.
1226 2000-10-02 Akim Demaille <akim@epita.fr>
1228 The location tracking mechanism is precious for parse error
1229 messages. Nevertheless, it is enabled only when `@n' is used in
1230 the grammar, which is a different issue (you can use it in error
1231 message, but not in the grammar per se). Therefore, there should
1232 be another means to enable it.
1234 * src/getargs.c (getargs): Support `--locations'.
1236 * src/getargs.h (locationsflag): Export it.
1237 * src/lex.c (percent_table): Support `%locations'.
1238 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1239 with `locationsflag'.
1240 * doc/bison.texinfo: Document `--locations' and `%locations'.
1242 * tests/calc.m4: Test it.
1244 For regularity of the names, replace each
1245 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1246 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1247 In addition replace each `flag' with `_flag'.
1249 2000-10-02 Akim Demaille <akim@epita.fr>
1251 Also test parse error messages, including with YYERROR_VERBOSE.
1253 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1255 Use it to check the computations.
1256 Use it to check `nonassoc' is honored.
1257 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1258 `--yyerror-verbose'.
1259 (_AT_CHECK_CALC): Adjust to this option.
1260 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1262 2000-10-02 Akim Demaille <akim@epita.fr>
1264 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1265 the latter demonstrates a flaw in the handling of non debugging
1266 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1267 was used in order to simplify:
1283 unfortunately this leads to a CPP conflict when
1284 `--name-prefix=foo' is used since it produces `#define yydebug
1287 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1288 (YYDPRINTF): New macro.
1290 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1292 Also test `--verbose', `--defines' and `--name-prefix'.
1294 2000-10-02 Akim Demaille <akim@epita.fr>
1296 Improve the readability of the produced parsers.
1298 * src/bison.s1: Formatting changes.
1299 Improve the comment related to the `$' mark.
1300 (yydefault): Don't fall through to `yyresume': `goto' there.
1301 * src/output.c (output_parser): When the `$' is met, skip the end
1303 New variable, `number_of_dollar_signs', to check there's exactly
1304 one `$' in the parser skeleton.
1306 2000-10-02 Akim Demaille <akim@epita.fr>
1308 * lib/xstrdup.c: New file, from the fileutils.
1309 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1310 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1311 instead of strlen + xmalloc + strcpy.
1312 * src/symtab.c (copys): Remove, use xstrdup instead.
1314 2000-10-02 Akim Demaille <akim@epita.fr>
1316 * src/gram.h (associativity): New enum type which replaces the
1317 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1318 `right_assoc', `left_assoc' and `non_assoc'.
1319 Adjust all dependencies.
1320 * src/reader.c: Formatting changes.
1321 (LTYPESTR): Don't define it, use it as a literal in
1322 `reader_output_yylsp'.
1323 * src/symtab.h (symbol_class): New enum type which replaces the
1324 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1325 `sunknown', `stoken and `snterm'.
1327 2000-10-02 Akim Demaille <akim@epita.fr>
1329 * src/getargs.c (fixed_outfiles): Rename as...
1330 (yaccflag): for consistency and accuracy.
1331 Adjust dependencies.
1333 2000-10-02 Akim Demaille <akim@epita.fr>
1335 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1336 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1337 difficult and introduced a lot of core dump. It turns out that
1338 Bison used an implementation of `xmalloc' based on `calloc', and
1339 at various places it does depend upon the initialization to 0. I
1340 have not tried to isolate the pertinent places, and all the former
1341 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1342 someone should address this issue.
1344 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1345 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1347 Adjust dependencies.
1348 * src/warshall.h: New file.
1351 2000-10-02 Akim Demaille <akim@epita.fr>
1353 Various anti-`extern in *.c' changes.
1355 * src/system.h: Include `assert.h'.
1357 2000-10-02 Akim Demaille <akim@epita.fr>
1359 * src/state.h (nstates, final_state, first_state, first_shift)
1360 (first_reduction): Move their exportation from here...
1361 * src/LR0.h: to here.
1362 Adjust dependencies.
1363 * src/getargs.c (statisticsflag): New variable.
1364 Add support for `--statistics'.
1365 Adjust dependencies.
1367 Remove a lot of now useless `extern' statements in most files.
1369 2000-10-02 Akim Demaille <akim@epita.fr>
1371 * src/LR0.h: New file.
1374 2000-10-02 Akim Demaille <akim@epita.fr>
1376 * src/print.h: New file.
1378 * src/print.c: Formatting and ordering changes.
1379 (verbose, terse): Replace with...
1380 (print_results): this new function.
1381 Adjust dependencies.
1383 2000-10-02 Akim Demaille <akim@epita.fr>
1385 * src/conflicts.c (conflict_report): New function.
1386 (conflict_log, verbose_conflict_log): Replace with...
1387 (print_conflicts): this function.
1388 Adjust dependencies.
1389 * src/conflicts.h: New file.
1390 Propagate its inclusion.
1392 2000-10-02 Akim Demaille <akim@epita.fr>
1394 * src/nullable.h: New file.
1395 Propagate its inclusion.
1396 * src/nullable.c: Formatting changes.
1398 2000-10-02 Akim Demaille <akim@epita.fr>
1400 * src/reduce.h: New file.
1401 Propagate its inclusion.
1402 * src/reduce.c: Topological sort and other formatting changes.
1403 (bool, TRUE, FALSE): Move their definition to...
1404 * src/system.h: here.
1406 2000-10-02 Akim Demaille <akim@epita.fr>
1408 * src/files.c: Formatting changes.
1409 (tryopen, tryclose, openfiles): Rename as...
1410 (xfopen, xfclose, open_files): this.
1411 (stringappend): static.
1412 * src/files.h: Complete the list of exported symbols.
1415 2000-10-02 Akim Demaille <akim@epita.fr>
1417 * src/reader.h: New file.
1418 Propagate its use instead of tedious list of `extern' and
1420 * src/reader.c: Formatting changes, topological sort,
1423 2000-10-02 Akim Demaille <akim@epita.fr>
1425 * src/lex.h: Prototype `lex.c' exported functions.
1426 * src/reader.c: Adjust.
1427 * src/lex.c: Formatting changes.
1428 (safegetc): Rename as...
1431 2000-10-02 Akim Demaille <akim@epita.fr>
1433 * src/lalr.h: New file.
1434 Propagate its inclusion instead of prototypes and `extern'.
1435 * src/lalr.c: Formatting changes, topological sorting etc.
1437 2000-10-02 Akim Demaille <akim@epita.fr>
1439 * src/output.c (token_actions): Introduce a temporary array,
1440 YYDEFACT, that makes it possible for this function to use
1443 2000-10-02 Akim Demaille <akim@epita.fr>
1445 `user_toknums' is output as a `short[]' in `output.c', while it is
1446 defined as a `int[]' in `reader.c'. For consistency with the
1447 other output tables, `user_toknums' is now defined as a table of
1450 * src/reader.c (user_toknums): Be a short table instead of an int
1452 Adjust dependencies.
1454 Factor the short table outputs.
1456 * src/output.c (output_short_table): New function.
1457 * src/output.c (output_gram, output_stos, output_rule_data)
1458 (output_base, output_table, output_check): Use it.
1460 2000-10-02 Akim Demaille <akim@epita.fr>
1462 * src/output.c (output): Topological sort of the functions, in
1463 order to get rid of the `static' prototypes.
1464 No longer use `register'.
1465 * src/output.h: New file.
1466 Propagate its inclusion in files explicitly prototyping functions
1469 2000-09-21 Akim Demaille <akim@epita.fr>
1471 * src/atgeneral.m4: Update from Autoconf.
1473 2000-09-21 Akim Demaille <akim@epita.fr>
1475 * src/closure.h: New file.
1476 * src/closure.c: Formatting changes, topological sort over the
1477 functions, use of closure.h.
1478 (initialize_closure, finalize_closure): Rename as...
1479 (new_closure, free_closure): these. Adjust dependencies.
1480 * src/LR0.c: Formatting changes, topological sort, use of
1482 (initialize_states): Rename as...
1484 * src/Makefile.am (noinst_HEADERS): Adjust.
1486 2000-09-20 Akim Demaille <akim@epita.fr>
1488 * src/acconfig.h: Don't protect config.h against multiple
1490 Don't define PARAMS.
1491 * src/system.h: Define PARAMS.
1492 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1493 purpose of config.h. system.h must not try to fix wrong
1494 definitions in config.h.
1496 2000-09-20 Akim Demaille <akim@epita.fr>
1498 * src/derives.h: New file.
1499 * src/main.c, src/derives.h: Use it.
1501 * src/Makefile.am (noinst_HEADERS): Adjust.
1503 2000-09-20 Akim Demaille <akim@epita.fr>
1505 * tests/atgeneral.m4: Update from Autoconf.
1506 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1507 (AT_CHECK_CALC): New macros.
1508 Use these macros to test bison with options `', `--raw',
1509 `--debug', `--yacc', `--yacc --debug'.
1511 2000-09-19 Akim Demaille <akim@epita.fr>
1513 * src/output.c: Formatting changes.
1514 * src/machine.h: Remove, leaving its contents in...
1515 * src/system.h: here.
1517 Adjust all dependencies on stdio.h and machine.h.
1518 * src/getargs.h: New file.
1519 Let all `extern' declarations about getargs.c be replaced with
1520 inclusion of `getargs.h'.
1521 * src/Makefile.am (noinst_HEADERS): Adjust.
1523 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1525 (yyerror): Returns void, not int.
1526 * doc/bison.texinfo: Formatting changes.
1528 2000-09-19 Akim Demaille <akim@epita.fr>
1530 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1533 2000-09-18 Akim Demaille <akim@epita.fr>
1535 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1536 * src/Makefile.am (INCLUDES): Don't.
1537 Be ready to fetch headers in lib/.
1539 2000-09-18 Akim Demaille <akim@epita.fr>
1541 * doc/bison.texinfo: Update the copyright.
1542 ANSIfy and GNUify the examples.
1543 Remove the old menu.
1545 2000-09-18 Akim Demaille <akim@epita.fr>
1547 First set of tests: use the `calc' example from the documentation.
1549 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1550 is defined only when YYDEBUG is.
1551 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1552 * src/files.c (tryopen, tryclose): Formatting changes.
1553 Move to the top and be static.
1554 * src/reader.c (read_signed_integer): Likewise.
1555 * tests/calc.m4: New file.
1556 * Makefile.am, suite.m4: Adjust.
1557 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1559 2000-09-18 Akim Demaille <akim@epita.fr>
1561 Add support for an Autotest test suite for Bison.
1563 * m4/m4.m4, m4/atconfig.m4: New files.
1564 * m4/Makefile.am (EXTRA_DIST): Adjust.
1565 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1567 * src/getargs.c: Display a more standard --version message.
1568 * src/reader.c (reader): Formatting changes.
1569 No longer depend upon VERSION_STRING.
1570 * configure.in: No longer use `dnl'.
1571 Set up the test suite and the new directory `tests/.
1572 (VERSION_STRING): Remove.
1574 2000-04-14 Akim Demaille <akim@epita.fr>
1576 * src/reader.c (copy_comment2): New function, same as former
1577 `copy_comment', but outputs into two FILE *.
1578 (copy_comment): Use it.
1579 (parse_union_decl): Use it.
1580 (get_type, parse_start_decl): Use the same `invalid' message.
1581 (parse_start_decl, parse_union_decl): Use the same `multiple'
1583 (parse_union_decl, copy_guard, copy_action): Use the same
1584 `unmatched' message.
1585 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1587 2000-03-31 Akim Demaille <akim@epita.fr>
1589 * src/files.c (tryopen, tryclose): Move to the top.
1592 2000-03-31 Akim Demaille <akim@epita.fr>
1594 * src/main.c (main): Don't call `done', exit does it.
1596 2000-03-31 Akim Demaille <akim@epita.fr>
1598 * allocate.c: s/return (foo)/return foo/.
1601 * output.c: Likewise.
1602 * reader.c: Likewise.
1603 * symtab.c: Likewise.
1604 * vmsgetargs.c: Likewise.
1606 2000-03-31 Akim Demaille <akim@epita.fr>
1608 Clean up the error reporting functions.
1610 * src/report.c: New file.
1611 * src/report.h: Likewise.
1612 * src/Makefile.am: Adjust.
1613 * m4/error.m4: New file.
1614 * m4/Makefile.am: Adjust.
1615 * configure.in (jm_PREREQ_ERROR): Call it.
1616 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1618 (fatal, fatals): Remove. All callers use complain.c::fatal.
1619 (warn, warni, warns, warnss, warnss): Remove. All callers use
1620 complain.c::complain.
1621 (toomany): Remove, use fatal instead.
1622 * src/files.c (done): No argument, use complain_message_count.
1623 * src/main.c (main): Register `done' to `atexit'.
1625 * src/getargs.c (usage): More `fputs', less `fprintf'.
1627 2000-03-28 Akim Demaille <akim@epita.fr>
1629 * lib/: New directory.
1630 * Makefile.am (SUBDIRS): Adjust.
1631 * configure.in: Adjust.
1632 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1634 * src/alloca.c: Moved to lib/.
1635 * src/getopt.c: Likewise.
1636 * src/getopt1.c: Likewise.
1637 * src/getopt.h: Likewise.
1638 * src/ansi2knr.c: Likewise.
1639 * src/ansi2knr.1: Likewise.
1640 * src/Makefile.am: Adjust.
1641 * lib/Makefile.am: New file.
1643 2000-03-28 Akim Demaille <akim@epita.fr>
1645 * src/getargs.c (usage): Refresh the help message.
1647 2000-03-17 Akim Demaille <akim@epita.fr>
1649 * src/getopt1.c: Updated from textutils 2.0e
1650 * src/getopt.c: Likewise.
1651 * src/getopt.h: Likewise.
1653 2000-03-17 Akim Demaille <akim@epita.fr>
1655 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1656 the file name, not the whole `#line LINE FILE'.
1658 2000-03-17 Akim Demaille <akim@epita.fr>
1660 On syntax errors, report the token on which we choked.
1662 * src/bison.s1 (yyparse): In the label yyerrlab, when
1663 YYERROR_VERBOSE, add yychar in msg.
1665 2000-03-17 Akim Demaille <akim@epita.fr>
1667 * src/reader.c (copy_at): New function.
1668 (copy_guard): Use it.
1669 (copy_action): Use it.
1671 2000-03-17 Akim Demaille <akim@epita.fr>
1673 Be kind to translators, save some useless translations.
1675 * src/main.c (banner): New function.
1676 (fatal_banner): Use it.
1677 (warn_banner): Use it.
1679 2000-03-17 Akim Demaille <akim@epita.fr>
1681 * src/reader.c (copy_definition): Use copy_string and
1682 copy_comment. Removed now unused `match', `ended',
1684 (copy_comment, copy_string): Moved, to be visible from
1687 2000-03-17 Akim Demaille <akim@epita.fr>
1689 * src/reader.c (copy_string): Declare `static inline'. No
1690 problems with inline, since it is checked by configure.
1691 (copy_comment): Likewise.
1693 2000-03-17 Akim Demaille <akim@epita.fr>
1695 * src/reader.c (packsymbols): Formatting changes.
1697 2000-03-17 Akim Demaille <akim@epita.fr>
1699 * src/reader.c (copy_comment): New function, factored out from:
1700 (copy_action): Use it. Removed now unused `match', `ended',
1702 (copy_guard): Likewise.
1704 2000-03-17 Akim Demaille <akim@epita.fr>
1706 * src/reader.c (copy_string): New function, factored out from:
1707 (copy_action): Use it.
1708 (copy_guard): Likewise.
1710 2000-03-17 Akim Demaille <akim@epita.fr>
1712 Change the handling of @s so that they behave exactly like $s.
1713 There is now a pseudo variable @$ (readble and writable), location
1714 of the lhs of the rule (by default ranging from the location of
1715 the first symbol of the rhs, to the location of the last symbol,
1716 or, if the rhs is empty, YYLLOC).
1718 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1720 (yyparse): When providing a default semantic action, provide a
1721 default location action.
1722 (after the $): No longer change `*YYLSP', just stack YYLOC the
1723 same way you stack YYVAL.
1724 * src/reader.c (read_declarations): Use warns.
1725 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1726 (copy_action, case '@'): Likewise.
1727 Use a standard error message, to save useless work from
1730 2000-03-17 Akim Demaille <akim@epita.fr>
1732 * src/bison.s1: Formatting and cosmetics changes.
1733 * src/reader.c: Likewise.
1734 Update the Copyright notice.
1736 2000-03-17 Akim Demaille <akim@epita.fr>
1738 * src/bison.s1 (#line): All set to `#line' only, since the
1739 Makefile now handles them.
1741 2000-03-16 Akim Demaille <akim@epita.fr>
1743 * src/output.c (output_rule_data): Output the documentation of
1745 (Copyright notice): Update.
1748 2000-03-16 Akim Demaille <akim@epita.fr>
1750 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1751 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1752 One `#if YYDEBUG' remains, since it uses variables which are
1753 defined only if `YYDEBUG != 0'.
1755 2000-03-16 Akim Demaille <akim@epita.fr>
1757 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1758 and related variables so that the similarities are highlighted.
1760 2000-03-16 Akim Demaille <akim@epita.fr>
1762 * src/bison.s1: Properly indent CPP directives.
1764 2000-03-16 Akim Demaille <akim@epita.fr>
1766 * src/bison.s1: Properly indent the `alloca' CPP section.
1768 2000-03-16 Akim Demaille <akim@epita.fr>
1770 Do not hard code values of directories in `configure.in'.
1771 Update the `configure' tool chain.
1773 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1775 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1776 (AC_OUTPUT): Add m4/Makefile.
1777 Bump to bison 1.28a, 1.29 has never been released.
1778 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1779 handled via src/Makefile.am.
1780 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1781 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1783 * Makefile.am (SUBDIRS): Add m4.
1784 (ACLOCAL_AM_FLAGS): New variable.
1785 (AUTOMAKE_OPTIONS): Add check-news.
1786 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1787 the proper line number and file name.
1788 (DEFS): Propagate the location of bison library files and of the
1790 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1792 * acinclude.m4: Remove, replaced by the directory m4.
1793 * m4/Makefile.am (EXTRA_DIST): New variable.
1794 * m4/gettext.m4: New file, from the fileutils.
1795 * m4/lcmessage.m4: Likewise
1796 * m4/progtest.m4: Likewise.
1797 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1799 2000-03-10 Akim Demaille <akim@epita.fr>
1802 Formatting changes of various comments.
1803 Respect the GNU coding standards at various places.
1804 Don't use `_()' when no translation is needed.
1806 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1809 OS/2 honors TMPDIR environment variable.
1811 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1813 * doc/bison.texinfo: Tweaked spelling and grammar.
1815 Removed reference to price of printed copy.
1816 Mention BISON_SIMPLE and BISON_HAIRY.
1818 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1820 * configure.in, NEWS:
1821 Bison 1.29 released.
1823 1999-10-27 Jesse Thilo <jthilo@gnu.org>
1825 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1826 Added reference card.
1828 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1830 * po/ru.po: Added Russian translation.
1832 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1834 * configure.in: Added Russian translation.
1836 1999-07-06 Jesse Thilo <jthilo@gnu.org>
1838 * configure.in, NEWS, README:
1839 Released version 1.28.
1841 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1844 Squashed redefinition warning on some systems.
1846 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1847 Have configure build version string instead of relying on ANSI string
1850 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1852 * po/POTFILES.in: Got rid of version.c.
1854 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1856 * acconfig.h, configure.in:
1857 Have configure build version string instead of relying on ANSI string
1860 1999-06-08 Jesse Thilo <jthilo@gnu.org>
1863 Dropped mention of `+' for long-named options.
1865 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1867 * src/files.c: Added <unistd.h> for unlink().
1869 * src/Makefile.am, src/system.h:
1872 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1874 * README: Added a FAQ list.
1876 * configure.in, acconfig.h:
1879 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1881 * doc/FAQ, doc/Makefile.am:
1884 1999-05-19 Jesse Thilo <jthilo@gnu.org>
1886 * src/alloc.h, src/symtab.h, src/version.c:
1887 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1889 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1891 * src/.cvsignore, src/Makefile.am:
1892 Reorganized: sources in `src', documentation in `doc'.
1894 * src/lex.c (literalchar):
1895 fixed the code for escaping double quotes (thanks
1898 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1900 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1901 Adjusted paths to reflect directory reorganization.
1903 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1905 * doc/.cvsignore, doc/Makefile.am:
1906 Reorganized: sources in `src', documentation in `doc'.
1908 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1911 Updated AC_INIT file to reflect directory reorganization.
1913 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1914 Reorganized: sources in `src', documentation in `doc'.
1916 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1919 Don't declare calloc() and realloc() if not necessary.
1921 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1923 * configure.in, acconfig.h, acinclude.m4:
1924 Don't declare calloc() and realloc() if not necessary.
1926 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1928 * po/.cvsignore: Added i18n support.
1930 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1932 * acconfig.h, configure.in, Makefile.am:
1935 1999-03-22 Jesse Thilo <jthilo@gnu.org>
1937 * src/bison.s1: Fixed #line numbers.
1939 1999-03-15 Jesse Thilo <jthilo@gnu.org>
1941 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1942 Added PO files from Translation Project.
1944 1999-03-03 Jesse Thilo <jthilo@gnu.org>
1947 Added support for non-ANSI compilers (ansi2knr).
1949 1999-02-16 Jesse Thilo <jthilo@gnu.org>
1951 * configure.in: Bumped version number to 1.27.
1954 Added `bison.simple' to list of files removed by `make distclean'.
1956 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1958 * src/files.c, src/files.h:
1959 Defined locations of parser files in config.h instead of Makefile.
1961 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1963 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1964 Defined locations of parser files in config.h instead of Makefile.
1966 1999-02-09 Jesse Thilo <jthilo@gnu.org>
1969 Removed inappropriate use of $< macro.
1971 1999-02-05 Jesse Thilo <jthilo@gnu.org>
1973 * po/Makefile.in.in, po/POTFILES.in:
1974 Add `po' directory skeleton.
1976 1999-01-27 Jesse Thilo <jthilo@gnu.org>
1978 * README: Document help-bison list.
1980 * configure.in: Add check for mkstemp().
1982 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1984 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1985 Hush a few compiler warnings.
1988 Add tryclose(), which verifies that fclose was successful.
1989 Hush a couple of compiler warnings.
1991 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1993 * Makefile.am, OChangeLog:
1994 ChangeLog is now automatically generated. Include the old version as
1997 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1999 * 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:
2002 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2004 * doc/bison.texinfo: Fix formatting glitch.
2006 * doc/bison.texinfo: Update FSF address.
2008 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2010 * acconfig.h: Update FSF address.
2012 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2015 Don't define PACKAGE here, since config.h defines it.
2017 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2019 * src/reader.c: Update copyright date.
2022 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2023 favor of output directly to stderr (avoids buffer overruns).
2025 * src/reader.c: Some checks for premature EOF.
2027 * 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:
2028 Use prototypes if the compiler understands them.
2030 * src/files.c: Honor TMPDIR on Unix hosts.
2031 Use prototypes if the compiler understands them.
2034 Fix a couple of buffer overrun bugs.
2035 Use prototypes if the compiler understands them.
2037 * src/system.h: Include unistd.h and ctype.h.
2038 Use #ifdef instead of #if for NLS symbols.
2040 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2042 * doc/bison.texinfo:
2043 Delete comment "consider using @set for edition number, etc..." since
2044 we now are doing so.
2046 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2049 Use prototypes if the compiler understands them.
2051 * NEWS: Document 1.26 highlights.
2053 * Makefile.am: Require Automake 1.3 or later.
2056 Use prototypes if the compiler understands them.
2058 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2061 Use VERSION symbol from automake for version number.
2063 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2065 * acconfig.h, configure.in, version.cin:
2066 Use VERSION symbol from automake for version number.
2068 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2071 Distribute original version of simple parser (bison.s1), not built
2072 version (bison.simple).
2074 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2076 * doc/bison.texinfo: Add info dir entry.
2078 * doc/bison.texinfo:
2079 Let automake put version number into documentation.
2081 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2083 * src/bison.cld, src/build.com, src/vmshlp.mar:
2084 Add non-RCS files from /gd/gnu/bison.
2086 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2089 Document the BISON_HAIRY and BISON_SIMPLE variables.
2091 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2093 * src/version.c: Build version.c automatically.
2096 Fix token numbering (used to start at 258, not 257).
2098 * src/system.h: Include config.h.
2100 * src/getargs.c: Update bug report address.
2102 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2103 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2105 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2108 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2110 * configure.in, version.cin:
2111 Build version.c automatically.
2113 * AUTHORS: Add AUTHORS file.
2115 * README: Update bug report address.
2118 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2120 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2123 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2125 * doc/bison.texinfo: Clean up some formatting.
2127 1998-05-05 Richard Stallman <rms@gnu.org>
2129 * doc/bison.texinfo:
2130 Explain better why to make a pure parser.
2132 1998-01-05 Richard Stallman <rms@gnu.org>
2134 * src/files.c (openfiles):
2135 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2136 find a temporary directory, if possible. Do not unlink files while
2139 1997-08-25 Richard Stallman <rms@gnu.org>
2141 * src/reader.c (stack_offset;):
2142 Change some warni to warns.
2144 * src/lex.c (literalchar): Use warns, not warni.
2146 1997-06-28 Richard Stallman <rms@gnu.org>
2148 * src/bison.s1: Add a Bison version comment.
2150 * src/main.c (fatal, warn, berror):
2153 1997-06-28 Richard Stallman <rms@gnu.org>
2155 * Makefile.in (bison_version): New variable.
2156 (dist): Use that variable.
2157 (bison.s1): Substitute the Bison version into bison.simple.
2159 * bison.simple: Add a Bison version comment.
2161 1997-06-18 Richard Stallman <rms@gnu.org>
2163 * src/main.c (fatal, warn, berror):
2164 Make error messages standard.
2165 (toomany): Improve error message text.
2167 * 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:
2168 new.h renamed to alloc.h.
2170 1997-06-18 Richard Stallman <rms@gnu.org>
2172 * Makefile.in: new.h renamed to alloc.h.
2174 1997-05-24 Richard Stallman <rms@gnu.org>
2176 * src/lex.c (literalchar):
2177 Fix the code for escaping \, " and '.
2179 (lex): Avoid trouble when there are many chars
2180 to discard in a char literal with just several chars in it.
2182 1997-05-17 Richard Stallman <rms@gnu.org>
2185 Use malloc, if using alloca is troublesome.
2186 (YYSTACK_USE_ALLOCA): New flag macro.
2187 Define it for some systems and compilers.
2188 (YYSTACK_ALLOC): New macro.
2189 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2190 If it was malloc'd, free it.
2192 1997-05-17 Richard Stallman <rms@gnu.org>
2195 Use malloc, if using alloca is troublesome.
2196 (YYSTACK_USE_ALLOCA): New flag macro.
2197 Define it for some systems and compilers.
2198 (YYSTACK_ALLOC): New macro.
2199 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2200 If it was malloc'd, free it.
2202 1997-04-23 Richard Stallman <rms@gnu.org>
2205 (alloca) [__hpux]: Always define as __builtin_alloca.
2207 1997-04-23 Richard Stallman <rms@gnu.org>
2210 (alloca) [__hpux]: Always define as __builtin_alloca.
2212 1997-04-22 Richard Stallman <rms@gnu.org>
2215 [__hpux]: Include alloca.h (right for HPUX 10)
2216 instead of declaring alloca (right for HPUX 9).
2218 * src/bison.s1 (__yy_memcpy):
2219 Declare arg `count' as unsigned int.
2220 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2222 1997-04-22 Richard Stallman <rms@gnu.org>
2225 [__hpux]: Include alloca.h (right for HPUX 10)
2226 instead of declaring alloca (right for HPUX 9).
2228 * bison.simple (__yy_memcpy):
2229 Declare arg `count' as unsigned int.
2230 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2232 1997-01-03 Richard Stallman <rms@gnu.org>
2234 * src/allocate.c: [__STDC__ or _MSC_VER]:
2235 Declare calloc and realloc to return void *.
2237 1997-01-02 Richard Stallman <rms@gnu.org>
2240 [_MSC_VER]: Include stdlib.h and process.h.
2241 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2243 * src/main.c (main): Return FAILURE as a value.
2244 (printable_version): Declare arg as int, not char.
2246 1997-01-02 Richard Stallman <rms@gnu.org>
2248 * Makefile.in (dist):
2249 Explicitly check for symlinks, and copy them.
2251 1996-12-19 Richard Stallman <rms@gnu.org>
2254 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2256 1996-12-18 Paul Eggert <eggert@gnu.org>
2258 * src/bison.s1 (yyparse):
2259 If __GNUC__ and YYPARSE_PARAM are both defined,
2260 declare yyparse to have a void * argument.
2262 1996-12-18 Paul Eggert <eggert@gnu.org>
2264 * bison.simple (yyparse):
2265 If __GNUC__ and YYPARSE_PARAM are both defined,
2266 declare yyparse to have a void * argument.
2268 1996-12-17 Richard Stallman <rms@gnu.org>
2270 * src/reduce.c (nbits): Add some casts.
2272 1996-08-12 Richard Stallman <rms@gnu.org>
2274 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2276 1996-08-12 Richard Stallman <rms@gnu.org>
2278 * bison.simple: Test _MSDOS as well as _MSDOS_.
2280 1996-07-31 Richard Stallman <rms@gnu.org>
2283 [__sun && __i386]: Include alloca.h.
2285 1996-07-31 Richard Stallman <rms@gnu.org>
2288 [__sun && __i386]: Include alloca.h.
2290 1996-07-30 Richard Stallman <rms@gnu.org>
2292 * src/bison.s1: Comment change.
2294 * src/bison.s1: Test _MSDOS_, not MSDOS.
2296 1996-07-30 Richard Stallman <rms@gnu.org>
2298 * bison.simple: Comment change.
2300 * bison.simple: Test _MSDOS_, not MSDOS.
2302 1996-06-01 Richard Stallman <rms@gnu.org>
2304 * 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:
2305 Insert `_' macro around many string constants.
2308 Insert `_' macro around many string constants.
2310 (main): Call setlocale, bindtextdomain and textdomain.
2312 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2313 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2314 [ENABLE_NLS]: Include libintl.h.
2315 [ENABLE_NLS] (gettext): Define.
2316 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2317 (N_, PACKAGE, LOCALEDIR): New macros.
2319 1996-06-01 Richard Stallman <rms@gnu.org>
2321 * POTFILES.in: New file.
2323 * Makefile.in (allocate.o):
2324 Define target explicitly.
2326 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2327 (LDFLAGS): Set to @LDFLAGS@.
2328 (configure): Run autoconf only if preceding `cd' succeeds.
2329 (bison.s1): Redirect output to temporary file then move the
2330 temporary to the target, rather than redirecting directly to bison.s1.
2331 (clean): Remove config.status and config.log.
2332 (distclean): Don't remove config.status here.
2334 1996-05-12 Richard Stallman <rms@gnu.org>
2337 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2339 1996-05-12 Richard Stallman <rms@gnu.org>
2342 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2344 1996-05-11 Richard Stallman <rms@gnu.org>
2346 * src/bison.s1 (__yy_memcpy):
2347 Really reorder the args, as was supposedly done on Feb 14 1995.
2348 (yyparse): Calls changed accordingly.
2350 1996-05-11 Richard Stallman <rms@gnu.org>
2352 * Makefile.in (dist): Don't use $(srcdir).
2354 * bison.simple (__yy_memcpy):
2355 Really reorder the args, as was supposedly done on Feb 14 1995.
2356 (yyparse): Calls changed accordingly.
2358 1996-01-27 Richard Stallman <rms@gnu.org>
2360 * src/output.c (output_rule_data):
2361 Test YYERROR_VERBOSE in the conditional
2362 around the definition of ttyname.
2364 1995-12-29 Richard Stallman <rms@gnu.org>
2367 Fix line numbers in #line commands.
2369 1995-12-29 Richard Stallman <rms@gnu.org>
2372 Fix line numbers in #line commands.
2374 1995-12-27 Richard Stallman <rms@gnu.org>
2376 * src/bison.s1 (YYPARSE_PARAM_DECL):
2377 In C++, make it always null.
2378 (YYPARSE_PARAM_ARG): New macro.
2379 (yyparse): Use YYPARSE_PARAM_ARG.
2381 1995-12-27 Richard Stallman <rms@gnu.org>
2383 * bison.simple (YYPARSE_PARAM_DECL):
2384 In C++, make it always null.
2385 (YYPARSE_PARAM_ARG): New macro.
2386 (yyparse): Use YYPARSE_PARAM_ARG.
2388 1995-11-29 Richard Stallman <rms@gnu.org>
2390 * doc/bison.texinfo:
2391 Describe literal string tokens, %raw, %no_lines, %token_table.
2393 1995-11-29 Daniel Hagerty <hag@gnu.org>
2395 * doc/bison.texinfo: Fixed update date
2397 1995-10-16 Richard Stallman <rms@gnu.org>
2399 * src/version.c: Version 1.25.
2401 1995-10-16 Richard Stallman <rms@gnu.org>
2403 * NEWS: *** empty log message ***
2405 1995-10-16 Richard Stallman <rms@gnu.org>
2407 * doc/bison.1, doc/bison.rnh:
2410 1995-10-15 Richard Stallman <rms@gnu.org>
2412 * src/vmsgetargs.c, src/getargs.c:
2413 Added -n, -k, and -raw switches.
2414 (noparserflag, toknumflag, rawtoknumflag): New variables.
2416 * src/symtab.h (SALIAS):
2417 New #define for adding aliases to %token.
2418 (struct bucket): Added `alias' field.
2420 * src/reduce.c (reduce_grammar):
2421 Revise error message.
2422 (print_notices): Remove final `.' from error message.
2424 * src/reader.c (reader_output_yylsp):
2426 (readgram): Use `#if 0' around code that accepted %command
2427 inside grammar rules: The documentation doesn't allow it,
2428 and it will fail since the %command processors scan for the next %.
2429 (parse_token_decl): Extended the %token
2430 declaration to allow a multi-character symbol as an alias.
2431 (parse_thong_decl): New function.
2432 (read_declarations): Added %thong declarations.
2433 (read_declarations): Handle NOOP to deal with allowing
2434 % declarations as another means to specify the flags.
2435 (readgram): Allow %prec prior to semantics embedded in a rule.
2436 (skip_to_char, read_declarations, copy_definition)
2437 (parse_token_decl, parse_start_decl, parse_type_decl)
2438 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2439 (get_type_name, copy_guard, copy_action, readgram)
2440 (get_type, packsymbols): Revised most error messages.
2441 Changed `fatal' to `warnxxx' to avoid aborting for error.
2442 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2443 (read_declarations): Improve the error message for
2444 an invalid character. Do not abort.
2445 (read_declarations, copy_guard, copy_action): Use
2446 printable_version to avoid unprintable characters in printed output.
2447 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2448 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2449 Allow the type of a non-terminal can be given
2450 more than once, as long as all specifications give the same type.
2453 (output_headers, output_trailers, output, output_gram)
2454 (output_rule_data): Implement noparserflag variable.
2455 Implement toknumflag variable.
2456 (output): Call reader_output_yylsp to output LTYPESTR.
2458 * src/main.c (main):
2459 If reader sees an error, don't process the grammar.
2460 (fatals): Updated to not use VARARGS1.
2461 (printable_version, int_to_string, warn, warni, warns, warnss)
2462 (warnsss): New error reporting functions. Avoid abort for error.
2465 Added THONG and NOOP for alias processing.
2466 Added SETOPT for the new code that allows setting options with %flags.
2469 Include getopt.h. Add some extern decls.
2470 (safegetc): New function to deal with EOF gracefully.
2471 (literalchar); new function to deal with reading \ escapes.
2472 (lex): Use literalchar.
2473 (lex): Implemented "..." tokens.
2474 (literalchar, lex, parse_percent_token): Made tokenbuffer
2475 always contain the token. This includes growing the token
2476 buffer while reading an integer.
2477 (parse_percent_token): Replaced if-else statement with percent_table.
2478 (parse_percent_token): Added % declarations as another
2479 way to specify the flags -n, -l, and -r. Also added hooks for
2480 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2481 major changes to files.c.
2482 (lex) Retain in the incoming stream a character following
2484 (skip_white_space, lex): Revised most error messages
2485 and changed fatal to warn to avoid aborting.
2486 (percent_table): Added %thong declarations.
2488 * src/gram.h: Comment changes.
2490 * src/files.c (openfiles, open_extra_files, done):
2492 and actfile file. Handle noparserflag. Both for -n switch.
2494 * src/conflicts.c (resolve_sr_conflict):
2495 Remove use of alloca.
2497 1995-06-01 Jim Meyering <meyering@gnu.org>
2499 * doc/bison.texinfo: *** empty log message ***
2501 1995-05-06 Richard Stallman <rms@gnu.org>
2503 * src/bison.s1: Comment change.
2505 1995-05-06 Richard Stallman <rms@gnu.org>
2507 * bison.simple: Comment change.
2509 1995-05-03 Richard Stallman <rms@gnu.org>
2511 * src/version.c: Version now 1.24.
2513 * src/bison.s1: Change distribution terms.
2515 * src/version.c: Version now 1.23.
2517 1995-05-03 Richard Stallman <rms@gnu.org>
2519 * doc/bison.texinfo:
2520 Rewrite "Conditions for Using Bison".
2521 Update version to 1.24.
2523 1995-05-03 Richard Stallman <rms@gnu.org>
2525 * bison.simple: Change distribution terms.
2527 1995-02-23 Richard Stallman <rms@gnu.org>
2529 * src/files.c: Test __VMS_POSIX as well as VMS.
2531 1995-02-14 Jim Meyering <meyering@gnu.org>
2533 * src/bison.s1 (__yy_memcpy):
2534 Renamed from __yy_bcopy to avoid
2535 confusion. Reverse FROM and TO arguments to be consistent with
2538 1995-02-14 Jim Meyering <meyering@gnu.org>
2540 * bison.simple (__yy_memcpy):
2541 Renamed from __yy_bcopy to avoid
2542 confusion. Reverse FROM and TO arguments to be consistent with
2545 1994-11-10 David J. MacKenzie <djm@gnu.org>
2551 * Makefile.in (DISTFILES): Include NEWS.
2553 * Makefile.in (DISTFILES):
2554 Include install-sh, not install.sh.
2556 * configure.in: Update to Autoconf v2 macro names.
2558 1994-10-05 David J. MacKenzie <djm@gnu.org>
2560 * Makefile.in: fix typo
2562 * Makefile.in (prefix, exec_prefix):
2563 Let configure set them.
2565 1994-09-28 David J. MacKenzie <djm@gnu.org>
2567 * Makefile.in: Set datadir to $(prefix)/share.
2569 1994-09-15 Richard Stallman <rms@gnu.org>
2572 Update copyright notice and GPL version.
2574 1994-09-15 Richard Stallman <rms@gnu.org>
2577 Update copyright notice and GPL version.
2579 1994-07-12 Richard Stallman <rms@gnu.org>
2581 * src/reduce.c, src/reader.c:
2584 1994-05-05 David J. MacKenzie <djm@gnu.org>
2586 * Makefile.in: entered into RCS
2588 1994-03-26 Richard Stallman <rms@gnu.org>
2590 * src/bison.s1: entered into RCS
2592 1994-03-26 Richard Stallman <rms@gnu.org>
2594 * bison.simple: entered into RCS
2596 1994-03-25 Richard Stallman <rms@gnu.org>
2598 * src/main.c: entered into RCS
2600 1994-03-24 Richard Stallman <rms@gnu.org>
2602 * src/conflicts.c: entered into RCS
2604 1994-01-02 Richard Stallman <rms@gnu.org>
2606 * Makefile.in: *** empty log message ***
2608 1993-11-21 Richard Stallman <rms@gnu.org>
2610 * src/bison.s1: *** empty log message ***
2612 1993-11-21 Richard Stallman <rms@gnu.org>
2614 * doc/bison.texinfo: entered into RCS
2616 * doc/bison.texinfo: *** empty log message ***
2618 1993-11-21 Richard Stallman <rms@gnu.org>
2620 * bison.simple: *** empty log message ***
2622 1993-10-25 David J. MacKenzie <djm@gnu.org>
2624 * doc/bison.texinfo: *** empty log message ***
2626 1993-10-19 Richard Stallman <rms@gnu.org>
2628 * src/bison.s1: *** empty log message ***
2630 1993-10-19 Richard Stallman <rms@gnu.org>
2632 * bison.simple: *** empty log message ***
2634 1993-10-14 Richard Stallman <rms@gnu.org>
2636 * src/bison.s1: *** empty log message ***
2638 1993-10-14 Richard Stallman <rms@gnu.org>
2640 * bison.simple: *** empty log message ***
2642 1993-09-14 David J. MacKenzie <djm@gnu.org>
2644 * doc/bison.texinfo: *** empty log message ***
2646 1993-09-13 Noah Friedman <friedman@gnu.org>
2648 * Makefile.in: *** empty log message ***
2650 1993-09-10 Richard Stallman <rms@gnu.org>
2652 * src/conflicts.c: *** empty log message ***
2654 * src/system.h: entered into RCS
2656 1993-09-10 Richard Stallman <rms@gnu.org>
2658 * doc/bison.1: entered into RCS
2660 1993-09-06 Noah Friedman <friedman@gnu.org>
2662 * src/version.c: entered into RCS
2664 1993-09-06 Noah Friedman <friedman@gnu.org>
2666 * Makefile.in: *** empty log message ***
2668 1993-07-30 David J. MacKenzie <djm@gnu.org>
2670 * Makefile.in: *** empty log message ***
2672 1993-07-24 Richard Stallman <rms@gnu.org>
2674 * src/bison.s1: *** empty log message ***
2676 1993-07-24 Richard Stallman <rms@gnu.org>
2678 * bison.simple: *** empty log message ***
2680 1993-07-08 David J. MacKenzie <djm@gnu.org>
2682 * Makefile.in: *** empty log message ***
2684 1993-07-04 Richard Stallman <rms@gnu.org>
2686 * src/bison.s1: *** empty log message ***
2688 1993-07-04 Richard Stallman <rms@gnu.org>
2690 * bison.simple: *** empty log message ***
2692 1993-06-26 David J. MacKenzie <djm@gnu.org>
2694 * src/getargs.c: entered into RCS
2696 1993-06-26 David J. MacKenzie <djm@gnu.org>
2698 * doc/bison.texinfo: *** empty log message ***
2700 * doc/bison.1: New file.
2702 1993-06-25 Richard Stallman <rms@gnu.org>
2704 * src/getargs.c: New file.
2706 1993-06-16 Richard Stallman <rms@gnu.org>
2708 * src/bison.s1: *** empty log message ***
2710 1993-06-16 Richard Stallman <rms@gnu.org>
2712 * bison.simple: *** empty log message ***
2714 1993-06-03 Richard Stallman <rms@gnu.org>
2716 * src/bison.s1: New file.
2718 1993-06-03 Richard Stallman <rms@gnu.org>
2720 * doc/bison.texinfo: *** empty log message ***
2722 1993-06-03 Richard Stallman <rms@gnu.org>
2724 * bison.simple: New file.
2726 1993-05-19 Richard Stallman <rms@gnu.org>
2728 * doc/bison.texinfo: New file.
2730 1993-05-07 Noah Friedman <friedman@gnu.org>
2732 * Makefile.in: *** empty log message ***
2734 1993-04-28 Noah Friedman <friedman@gnu.org>
2736 * src/reader.c: *** empty log message ***
2738 1993-04-23 Noah Friedman <friedman@gnu.org>
2740 * src/alloc.h: entered into RCS
2742 1993-04-20 David J. MacKenzie <djm@gnu.org>
2744 * src/version.c: *** empty log message ***
2746 * src/files.c, src/allocate.c:
2749 * src/reader.c: *** empty log message ***
2751 * src/lex.c: entered into RCS
2753 * src/conflicts.c: New file.
2755 * src/symtab.c: entered into RCS
2757 * src/alloc.h: New file.
2759 * src/LR0.c: entered into RCS
2761 1993-04-18 Noah Friedman <friedman@gnu.org>
2763 * src/reader.c: New file.
2765 * src/version.c: *** empty log message ***
2767 1993-04-18 Noah Friedman <friedman@gnu.org>
2769 * Makefile.in: *** empty log message ***
2771 1993-04-17 Noah Friedman <friedman@gnu.org>
2773 * Makefile.in: *** empty log message ***
2775 1993-04-15 Richard Stallman <rms@gnu.org>
2777 * src/main.c, src/files.c:
2780 1993-04-15 Noah Friedman <friedman@gnu.org>
2782 * configure.in: entered into RCS
2784 * configure.in: *** empty log message ***
2786 * configure.in: New file.
2788 1993-04-14 Richard Stallman <rms@gnu.org>
2790 * Makefile.in: New file.
2792 1993-04-13 Richard Stallman <rms@gnu.org>
2794 * src/version.c: New file.
2796 1993-03-25 Richard Stallman <rms@gnu.org>
2798 * src/output.c: entered into RCS
2800 1992-09-25 Richard Stallman <rms@gnu.org>
2802 * configure.bat: entered into RCS
2804 1992-06-22 Richard Stallman <rms@gnu.org>
2806 * src/vmsgetargs.c: entered into RCS
2808 1992-06-22 Richard Stallman <rms@gnu.org>
2810 * doc/bison.rnh: entered into RCS
2812 1992-04-20 David J. MacKenzie <djm@gnu.org>
2814 * README: entered into RCS
2816 1992-01-22 Richard Stallman <rms@gnu.org>
2818 * src/machine.h: entered into RCS
2820 1991-12-21 Richard Stallman <rms@gnu.org>
2822 * src/lalr.c, src/closure.c:
2825 1991-12-20 Richard Stallman <rms@gnu.org>
2827 * src/state.h: entered into RCS
2829 1991-12-18 Richard Stallman <rms@gnu.org>
2831 * src/print.c, src/nullable.c, src/derives.c:
2834 1991-11-03 David J. MacKenzie <djm@gnu.org>
2836 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2839 1988-09-09 Richard Stallman <rms@gnu.org>
2841 * src/bison.hairy: entered into RCS
2843 1987-12-16 Richard Stallman <rms@gnu.org>
2845 * REFERENCES: entered into RCS