1 2001-08-27 Akim Demaille <akim@epita.fr>
3 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
4 * Makefile.maint: Sync. with CVS Autoconf.
6 2001-08-27 Marc Autret <autret_m@epita.fr>
8 * src/vcg.h (struct infoname_s): New.
9 (struct colorentry_s): New.
10 (graph_s): New fields {vertical,horizontal}_order in structure.
12 Add `colorentry' field;
13 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
14 (G_HORIZONTAL_ORDER): New.
17 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
18 Add output of `infoname'.
19 Add output of `colorentry'.
21 2001-08-27 Marc Autret <autret_m@epita.fr>
23 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
24 This one shadowed a global parameter.
26 2001-08-24 Marc Autret <autret_m@epita.fr>
28 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
29 instead of `unsigned'.
30 (print_state): Do not call obstack_object_size () in obstack_grow ()
31 to avoid macro variables shadowing.
33 2001-08-23 Marc Autret <autret_m@epita.fr>
35 * src/lex.c (percent_table): Typo: s/naem/name/.
37 Normalize new options declarations.
39 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
41 * tests/suite.at: Exercise %header_extension and %source_extension.
43 2001-08-16 Marc Autret <autret_m@epita.fr>
45 * src/reader.c (parse_dquoted_param): New.
46 (parse_header_extension_decl): Use it.
47 (parse_source_extension_decl): Likewise.
49 2001-08-16 Marc Autret <autret_m@epita.fr>
51 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
52 (get_xxxx_str): Use assert () instead of complain ().
53 Remove return invokations in default cases.
54 (get_decision_str): Modify default behaviour. Remove second argument.
55 Echo modifications on calls.
58 2001-08-16 Marc Autret <autret_m@epita.fr>
60 * src/getargs.c (usage): Update with ``-g, --graph''.
62 2001-08-16 Marc Autret <autret_m@epita.fr>
64 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
65 (Option Cross Key): Likewise.
66 * doc/bison.1: Update.
68 2001-08-15 Akim Demaille <akim@epita.fr>
72 2001-08-15 Marc Autret <autret_m@epita.fr>
74 * src/reader.c (readgram): Indent output macro YYSTYPE.
75 (packsymbols): Likewise.
76 (output_token_defines): Likewise.
77 * src/files.c: Standardize.
78 (compute_header_macro): New.
79 (defines_obstack_save): New. Use compute_header_macro.
80 (output_files): Update. Use defines_obstack_save.
82 2001-08-15 Akim Demaille <akim@epita.fr>
84 * doc/bison.texinfo (Table of Symbols): Document
87 2001-08-15 Akim Demaille <akim@epita.fr>
89 * missing: Update from CVS Automake.
90 * config/config.guess, config/config.sub, config/texinfo.tex:
93 2001-08-15 Akim Demaille <akim@epita.fr>
95 * Makefile.maint: Sync with CVS Autoconf.
97 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
99 * doc/bison.texinfo: Include GNU Free Documentation License from
101 * doc/fdl.texi: Add to package.
103 2001-08-14 Marc Autret <autret_m@epita.fr>
105 Turn on %{source,header}_extension features.
107 * src/lex.c (percent_table): Un-CPP out header_extension and
109 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
110 (compute_exts_from_src): Remove conditions. It restores priorities
113 2001-08-14 Marc Autret <autret_m@epita.fr>
115 * src/files.c (compute_base_names): Add extensions computing when
116 `--file-prefix' used.
117 Standardize function calls.
119 2001-08-13 Marc Autret <autret_m@epita.fr>
121 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
122 defining it (defined but null disables alloca).
124 2001-08-13 Marc Autret <autret_m@epita.fr>
126 * src/bison.simple (_yy_memcpy): CPP reformat.
128 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
130 * tests/atconfig.in (CPPFLAGS): Fix.
132 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
134 * doc/bison.texinfo: Include GNU General Public License from
136 * doc/gpl.texi: Add to package.
138 2001-08-10 Marc Autret <autret_m@epita.fr>
140 * src/print_graph.h: Fix.
141 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
143 2001-08-10 Akim Demaille <akim@epita.fr>
145 * src/system.h: Provide default declarations for stpcpy, strndup,
148 2001-08-10 Robert Anisko <anisko_r@epita.fr>
150 * doc/bison.texinfo (Locations): Update @$ stuff.
152 2001-08-09 Robert Anisko <anisko_r@epita.fr>
154 * src/bison.simple (YYLLOC_DEFAULT): Update.
157 2001-08-08 Marc Autret <autret_m@epita.fr>
159 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
160 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
161 Reported by Fabrice Bauzac.
163 2001-08-08 Marc Autret <autret_m@epita.fr>
165 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
166 * src/vcg.c (output_node): Fix.
167 * src/vcg.h: Cleanup.
168 * src/print_graph.c: Add comments.
169 (node_output_size): New global variable. Simplify the formatting of
170 the VCG graph output.
171 (print_actions): Unused code is now used. It notifies the final state
172 and no action states in the VCG graph. It also give the reduce actions.
173 The `shift and goto' edges are red and the `go to state' edges are
175 Get the current node name and node_obstack by argument.
176 (node_obstack): New variable.
177 (print_state): Manage node_obstack.
178 (print_core): Use node_obstack given by argument.
179 A node is not only computed here but in print_actions also.
180 (print_graph): CPP out useless code instead of commenting it.
182 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
184 * tests/atconfig.in (CPPFLAGS): Fix.
186 2001-08-07 Akim Demaille <akim@epita.fr>
188 * src/print_graph.c (quote): New.
189 (print_core): Use it.
191 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
193 * src/vcg.c (complain.h): Include it.
194 Unepitaize `return' invocations.
195 [NDEBUG] (main): Remove.
196 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
197 * src/files.c (open_files): Initialize graph_obstack.
198 * src/print_graph.c (print_actions): CPP out useless code.
199 (print_core): Don't output the last `\n' in labels.
201 * src/files.c (output_files): Output the VCG file.
202 * src/main.c (main): Invoke print_graph ();
204 2001-08-06 Marc Autret <autret_m@epita.fr>
206 Automaton VCG graph output.
207 Using option ``-g'' or long option ``--graph'', you can generate
208 a gram_filename.vcg file containing a VCG description of the LALR (1)
209 automaton of your grammar.
211 * src/main.c: Call to print_graph() function.
212 * src/getargs.h: Update.
213 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
214 (graph_flag): New flag.
216 (getargs): Add case `g'.
217 * src/files.c (graph_obstack): New obstack struct.
218 (open_files): Initialize new obstack.
219 (output_files): Saves graph_obstack if required.
220 * src/files.h (graph_obstack): New extern declaration.
221 * src/Makefile.am: Add new source files.
223 2001-08-06 Marc Autret <autret_m@epita.fr>
225 * src/print_graph.c, src/print_graph.h (graph): New.
226 * src/vcg.h: New file.
227 * src/vcg.c: New file, VCG graph handling.
229 2001-08-06 Marc Autret <autret_m@epita.fr>
231 Add of %source_extension and %header_extension which specify
232 the source or/and the header output file extension.
234 * src/files.c (compute_base_names): Remove initialisation of
235 src_extension and header_extension.
236 (compute_exts_from_gf): Update.
237 (compute_exts_from_src): Update.
238 (output_files): Update.
239 * src/reader.c (parse_header_extension_decl): New.
240 (parse_source_extension_decl): New.
241 (read_declarations): New case statements for the new tokens.
242 * src/lex.c (percent_table): Add entries for %source_extension
243 and %header_extension.
244 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
246 2001-08-06 Marc Autret <autret_m@epita.fr>
248 * configure.in: Bump to 1.28c.
249 * doc/bison.texinfo: Texinfo thingies.
251 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
253 * tests/atconfig.in (CPPFLAGS): Add.
254 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
256 2001-08-03 Akim Demaille <akim@epita.fr>
260 2001-08-03 Akim Demaille <akim@epita.fr>
262 * tests/Makefile.am (check-local): Ship testsuite.
263 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
266 2001-08-03 Akim Demaille <akim@epita.fr>
268 * configure.in: Try using -Wformat when compiling.
270 2001-08-03 Akim Demaille <akim@epita.fr>
272 * configure.in: Bump to 1.28b.
274 2001-08-03 Akim Demaille <akim@epita.fr>
276 * src/complain.c: Adjust strerror_r portability issues.
278 2001-08-03 Akim Demaille <akim@epita.fr>
282 2001-08-03 Akim Demaille <akim@epita.fr>
284 * src/getargs.c, src/getarg.h (skeleton)): Constify.
285 * src/lex.c (literalchar): Avoid name clashes on `buf'.
286 * src/getargs.c: Include complain.h.
287 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
288 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
290 2001-08-03 Akim Demaille <akim@epita.fr>
292 * src/reader.c (readgram): Display hidden chars in error messages.
294 2001-08-03 Akim Demaille <akim@epita.fr>
296 Update to gettext 0.10.39.
298 2001-08-03 Akim Demaille <akim@epita.fr>
302 2001-08-01 Marc Autret <autret_m@epita.fr>
304 * doc/bison.texinfo: Update.
305 * doc/bison.1 (mandoc): Update.
306 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
307 * src/files.c: Support output files extensions computing.
308 (src_extension): New static variable.
309 (header_extension): New static variable.
311 (get_extension_index): New function, gets the index of an extension
312 filename in a string.
313 (compute_exts_from_gf): New function, computes extensions from the
314 grammar file extension.
315 (compute_exts_from_src): New functions, computes extensions from the
316 C source file extension, file given by ``-o'' option.
317 (compute_base_names): Update.
318 (output_files): Update.
320 2001-08-01 Robert Anisko <anisko_r@epita.fr>
322 * doc/bison.texi: Document @$.
323 (Locations): New section.
325 2001-07-18 Akim Demaille <akim@epita.fr>
327 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
328 * config/prev-version.txt, config/move-if-change: New.
329 * Makefile.am: Adjust.
331 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
333 * src/bison.simple (yyparse): Suppress warning `comparaison
334 between signed and unsigned'.
336 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
338 * src/getargs.h (raw_flag): Remove.
339 * src/getargs.c: Die on `-r'/`--raw'.
340 * src/lex.c (parse_percent_token): Die on `%raw'.
341 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
342 * tests/calc.at: Suppress test with option `--raw'.
344 2001-07-14 Akim Demaille <akim@epita.fr>
347 * configure.in: Require Autoconf 2.50.
348 Update to gettext 0.10.38.
350 2001-03-16 Akim Demaille <akim@epita.fr>
352 * doc/bison.texinfo: ANSIfy the examples.
354 2001-03-16 Akim Demaille <akim@epita.fr>
356 * getargs.c (skeleton): New variable.
357 (longopts): --skeleton is a new option.
358 (shortopts, getargs): -S is a new option.
359 * getargs.h: Declare skeleton.
360 * output.c (output_parser): Use it.
362 2001-03-16 Akim Demaille <akim@epita.fr>
364 * m4/strerror_r.m4: New.
365 * m4/error.m4: Run AC_FUNC_STRERROR_R.
366 * lib/error.h, lib/error.c: Update.
368 2001-03-16 Akim Demaille <akim@epita.fr>
370 * src/getargs.c (longopts): Clean up.
372 2001-02-21 Akim Demaille <akim@epita.fr>
374 * src/reader.c (gensym): `gensym_count' is your own.
375 Use a static buf to create the symbol name, as token_buffer is no
378 2001-02-08 Akim Demaille <akim@epita.fr>
380 * src/conflicts.c (conflict_report): Be sure not to append to res
381 between two calls, which could happen if both first sprintf were
382 skipped, but not the first cp += strlen.
384 2001-02-08 Akim Demaille <akim@epita.fr>
386 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
387 New, from fileutils 4.0.37.
388 * configure.in: Require Autoconf 2.49c. I took some time before
389 making this decision. This is the only way out for portability
390 issues in Bison, it would mean way too much duplicate effort to
391 import in Bison features implemented in 2.49c since 2.13.
392 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
394 2001-02-02 Akim Demaille <akim@epita.fr>
396 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
397 * lib/xalloc.h, lib/xmalloc.c: Update.
399 2001-01-19 Akim Demaille <akim@epita.fr>
401 Get rid of the ad hoc handling of token_buffer in the scanner: use
404 * src/lex.c (token_obstack): New.
405 (init_lex): Initialize it. No longer call...
406 (grow_token_buffer): this. Remove it.
407 Adjust all the places which used it to use the obstack.
409 2001-01-19 Akim Demaille <akim@epita.fr>
411 * src/lex.h: Rename all the tokens:
412 s/\bENDFILE\b/tok_eof/g;
413 s/\bIDENTIFIER\b/tok_identifier/g;
415 Let them be enums, not #define, to ease debugging.
418 2001-01-18 Akim Demaille <akim@epita.fr>
420 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
421 * src/lex.c (maxtoken, grow_token_buffer): Static.
423 2001-01-18 Akim Demaille <akim@epita.fr>
425 Since we now use obstacks, more % directives can be enabled.
427 * src/lex.c (percent_table): Also accept `%yacc',
428 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
430 Handle the actions for `%semantic_parser' and `%pure_parser' here,
431 instead of returning a token.
432 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
433 * src/reader.c (read_declarations): Adjust.
434 * src/files.c (open_files): Don't call `compute_base_names', don't
435 compute `attrsfile' since they depend upon data which might be
436 *in* the input file now.
437 (output_files): Do it here.
438 * src/output.c (output_headers): Document the fact that this patch
439 introduces a guaranteed SEGV for semantic parsers.
440 * doc/bison.texinfo: Document them.
441 * tests/suite.at: Exercise these %options.
443 2000-12-20 Akim Demaille <akim@epita.fr>
445 Also handle the output file (--verbose) with obstacks.
447 * files.c (foutput): Remove.
448 (output_obstack): New.
449 Adjust all dependencies.
450 * src/conflicts.c: Return a string.
451 * src/system.h (obstack_grow_string): Rename as...
452 (obstack_sgrow): this. Be ready to work with non literals.
453 (obstack_fgrow4): New.
455 2000-12-20 Akim Demaille <akim@epita.fr>
457 * src/files.c (open_files): Fix the computation of short_base_name
458 in the case of `-o foo.tab.c'.
460 2000-12-20 Akim Demaille <akim@epita.fr>
462 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
463 (copy_dollar): Now that everything uses obstacks, get rid of the
466 2000-12-20 Akim Demaille <akim@epita.fr>
468 * src/files.c (open_files): Actually the `.output' file is based
469 on the short_base_name, not base_name.
470 * tests/suite.at (Checking output file names): Adjust.
472 2000-12-20 Akim Demaille <akim@epita.fr>
474 * src/bison.s1: Remove, we now use directly...
475 * src/bison.simple: this.
476 * src/Makefile.am: Use pkgdata instead of data.
478 2000-12-20 Akim Demaille <akim@epita.fr>
480 * src/files.c (guard_obstack): New.
481 (open_files): Initialize it.
482 (output_files): Dump it...
483 * src/files.h: Export it.
484 * src/reader.c (copy_guard): Use it.
486 2000-12-19 Akim Demaille <akim@epita.fr>
488 * src/files.c (outfile, defsfile, actfile): Removed as global
490 (open_files): Don't compute them.
491 (output_files): Adjust.
492 (base_name, short_base_name): Be global.
495 2000-12-19 Akim Demaille <akim@epita.fr>
497 * src/files.c (strsuffix): New.
498 (stringappend): Be just like strcat but allocate.
499 (base_names): Eve out from open_files.
500 Try to simplify the rather hairy computation of base_name and
502 (open_files): Use it.
503 * tests/suite.at (Checking output file names): New test.
505 2000-12-19 Akim Demaille <akim@epita.fr>
507 * src/system.h (obstack_grow_literal_string): Rename as...
508 (obstack_grow_string): this.
509 * src/output.c (output_parser): Recognize `%% actions' instead of
511 * src/bison.s1: s/$/%% actions/.
512 * src/bison.hairy: Likewise.
514 2000-12-19 Akim Demaille <akim@epita.fr>
516 * src/output.c (output_parser): Compute the `#line' lines when
518 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
519 Suggested by Hans Aberg.
521 2000-12-19 Akim Demaille <akim@epita.fr>
523 Let the handling of the skeleton files be local to the procedures
526 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
528 (fparser, open_extra_files): Remove.
529 (open_files, output_files): Don't take care of fparser.
530 * src/files.h: Adjust.
531 * src/output.c (output_parser): Open and close the file to the
533 * src/reader.c (read_declarations): When %semantic_parser, open
536 2000-12-19 Akim Demaille <akim@epita.fr>
538 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
539 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
541 2000-12-19 Akim Demaille <akim@epita.fr>
543 * src/files.c (open_files): Yipee! We no longer need all the code
544 looking for `/tmp' since we have no tmp file.
546 2000-12-19 Akim Demaille <akim@epita.fr>
548 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
550 * src/files.c (open_files): Less dependency on MSDOS etc.
552 2000-12-14 Akim Demaille <akim@epita.fr>
554 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
555 Provide a default definition.
556 Use it when executing the default @ action.
557 * src/reader.c (reader_output_yylsp): No longer include
558 `timestamp' and `text' in the default YYLTYPE.
560 2000-12-12 Akim Demaille <akim@epita.fr>
562 * src/reader.c (copy_definition, parse_union_decl, copy_action)
563 (copy_guard): Quote the file names.
564 Reported by Laurent Mascherpa.
566 2000-12-12 Akim Demaille <akim@epita.fr>
568 * src/output.c (output_headers, output_program, output): Be sure
569 to escape special characters when outputting filenames.
570 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
571 (output_headers): Don't depend on them, Use ACTSTR.
573 2000-11-17 Akim Demaille <akim@epita.fr>
575 * lib/obstack.h: Formatting changes.
576 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
577 prevents type checking.
578 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
579 cast the value to (void *): assigning a `foo *' to a `void *'
581 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
582 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
585 2000-11-17 Akim Demaille <akim@epita.fr>
587 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
589 (suite.m4, regression.m4, calc.m4): these.
590 * tests/atgeneral.m4: Update from CVS Autoconf.
592 2000-11-17 Akim Demaille <akim@epita.fr>
594 * tests/regression.m4 (%union and --defines): New test,
595 demonstrating a current bug in the obstack implementation.
597 2000-11-17 Akim Demaille <akim@epita.fr>
599 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
601 Use them to declare the variables which are global or local to
604 2000-11-17 Akim Demaille <akim@epita.fr>
606 * acconfig.h: Remove, no longer used.
608 2000-11-07 Akim Demaille <akim@epita.fr>
610 * src: s/Copyright (C)/Copyright/g.
612 2000-11-07 Akim Demaille <akim@epita.fr>
614 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
616 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
618 2000-11-07 Akim Demaille <akim@epita.fr>
620 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
621 Merge in a single CPP if/else.
623 2000-11-07 Akim Demaille <akim@epita.fr>
625 * src/output.c (output): Remove useless variables.
626 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
627 argument `data' for consistency with the prototypes.
629 (obstack_copy, obstack_copy0): Rename the second argument as
630 `address' for consistency. Qualify it `const'.
631 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
632 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
633 `const' their input argument (`data' or `address').
634 Adjust the corresponding macros to include `const' in casts.
636 2000-11-03 Akim Demaille <akim@epita.fr>
638 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
639 s/PFILE1/BISON_HAIRY/.
642 2000-11-03 Akim Demaille <akim@epita.fr>
644 For some reason, this was not applied.
646 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
647 `unlink': it's no longer used.
649 2000-11-03 Akim Demaille <akim@epita.fr>
651 * src/files.c (skeleton_find): New function, eved out of...
652 (open_files, open_extra_files): here.
654 2000-11-03 Akim Demaille <akim@epita.fr>
658 * src/files.c (obstack_save): New function.
660 (output_files): this.
662 * src/main.c (main): Don't use `atexit' to register `done', since
663 it no longer has to remove tmp files, just call `output_files'
664 when there are no errors.
666 2000-11-02 Akim Demaille <akim@epita.fr>
668 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
669 `unlink': it's no longer used.
670 * src/files.h: Formatting changes.
672 2000-11-02 Akim Demaille <akim@epita.fr>
674 Remove the last uses of mktemp and unlink/delete.
676 * src/files.c (fdefines, ftable): Removed.
677 (defines_ostack, table_obstack): New.
678 Adjust dependencies of the former into uses of the latter.
679 * src/output.c (output_short_or_char_table, output_short_table):
680 Convert to using obstacks.
681 * src/reader.c (copy_comment2): Accept one FILE * and two
683 (output_token_defines, reader_output_yylsp): Use obstacks.
684 * src/system.h (obstack_fgrow3): New.
686 2000-11-01 Akim Demaille <akim@epita.fr>
688 Change each use of `fattrs' into a use of `attrs_obstack'.
690 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
691 * src/files.c (fattrs): Remove.
692 (attrs_obstack): New.
693 Adjust all dependencies.
694 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
696 2000-11-01 Akim Demaille <akim@epita.fr>
699 Change each use of `faction' into a use of `action_obstack'.
701 * lib/obstack.h, lib/obstack.c: New files.
702 * src/files.c (faction): Remove.
703 (action_obstack): New.
704 Adjust all dependencies.
706 2000-10-20 Akim Demaille <akim@epita.fr>
708 * lib/quote.h (PARAMS): New macro. Use it.
710 2000-10-16 Akim Demaille <akim@epita.fr>
712 * src/output.c (output_short_or_char_table): New function.
713 (output_short_table, output_token_translations): Use it.
714 (goto_actions): Use output_short_table.
716 2000-10-16 Akim Demaille <akim@epita.fr>
718 * src/symtab.c (bucket_new): New function.
721 * src/output.c (output_short_table): New argument to display the
722 comment associated with the table.
724 (output_gram): Use it.
725 (output_rule_data): Nicer output layout for YYTNAME.
727 2000-10-16 Akim Demaille <akim@epita.fr>
729 * src/lex.c (read_typename): New function.
731 * src/reader.c (copy_dollar): Likewise.
733 2000-10-16 Akim Demaille <akim@epita.fr>
735 * src/reader.c (copy_comment2): Expect the input stream to be on
736 the `/' which is suspected to open a comment, instead of being
737 called after `//' or `/*' was read.
738 (copy_comment, copy_definition, parse_union_decl, copy_action)
739 (copy_guard): Adjust.
741 2000-10-16 Akim Demaille <akim@epita.fr>
743 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
744 `read_signed_integer'.
746 2000-10-16 Akim Demaille <akim@epita.fr>
748 * src/reader.c (copy_dollar): New function.
749 (copy_guard, copy_action): Use it.
751 2000-10-16 Akim Demaille <akim@epita.fr>
753 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
754 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
755 New files, from Fileutils 4.0.27.
756 * src/main.c (printable_version): Remove.
757 * src/lex.c, src/reader.c: Use `quote'.
759 2000-10-04 Akim Demaille <akim@epita.fr>
761 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
763 2000-10-04 Akim Demaille <akim@epita.fr>
765 * doc/bison.texinfo: Various typos spotted by Neil Booth.
767 2000-10-04 Akim Demaille <akim@epita.fr>
769 When a literal string is used to define two different tokens,
770 `bison -v' segfaults.
771 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
773 * tests/regression.m4: New file.
774 Include the core of the sample provided by Piotr Gackiewicz.
775 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
778 2000-10-04 Akim Demaille <akim@epita.fr>
780 * src/reader.c (parse_expect_decl): Keep `count' within the size
784 2000-10-02 Paul Eggert <eggert@twinsun.com>
786 * bison.s1 (yyparse): Assign the default value
787 unconditionally, to avoid a GCC warning and make the parser a
790 2000-10-02 Akim Demaille <akim@epita.fr>
792 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
795 2000-10-02 Akim Demaille <akim@epita.fr>
797 * src/derives.c, src/print.c, src/reduce.c: To ease the
798 translation, move some `\n' out of the translated strings.
800 2000-10-02 Akim Demaille <akim@epita.fr>
802 The location tracking mechanism is precious for parse error
803 messages. Nevertheless, it is enabled only when `@n' is used in
804 the grammar, which is a different issue (you can use it in error
805 message, but not in the grammar per se). Therefore, there should
806 be another means to enable it.
808 * src/getargs.c (getargs): Support `--locations'.
810 * src/getargs.h (locationsflag): Export it.
811 * src/lex.c (percent_table): Support `%locations'.
812 * src/reader.c (yylsp_needed): Remove this variable, now replaced
813 with `locationsflag'.
814 * doc/bison.texinfo: Document `--locations' and `%locations'.
816 * tests/calc.m4: Test it.
818 For regularity of the names, replace each
819 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
820 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
821 In addition replace each `flag' with `_flag'.
823 2000-10-02 Akim Demaille <akim@epita.fr>
825 Also test parse error messages, including with YYERROR_VERBOSE.
827 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
829 Use it to check the computations.
830 Use it to check `nonassoc' is honored.
831 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
833 (_AT_CHECK_CALC): Adjust to this option.
834 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
836 2000-10-02 Akim Demaille <akim@epita.fr>
838 Test also `--verbose', `--defines' and `--name-prefix'. Testing
839 the latter demonstrates a flaw in the handling of non debugging
840 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
841 was used in order to simplify:
857 unfortunately this leads to a CPP conflict when
858 `--name-prefix=foo' is used since it produces `#define yydebug
861 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
862 (YYDPRINTF): New macro.
864 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
866 Also test `--verbose', `--defines' and `--name-prefix'.
868 2000-10-02 Akim Demaille <akim@epita.fr>
870 Improve the readability of the produced parsers.
872 * src/bison.s1: Formatting changes.
873 Improve the comment related to the `$' mark.
874 (yydefault): Don't fall through to `yyresume': `goto' there.
875 * src/output.c (output_parser): When the `$' is met, skip the end
877 New variable, `number_of_dollar_signs', to check there's exactly
878 one `$' in the parser skeleton.
880 2000-10-02 Akim Demaille <akim@epita.fr>
882 * lib/xstrdup.c: New file, from the fileutils.
883 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
884 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
885 instead of strlen + xmalloc + strcpy.
886 * src/symtab.c (copys): Remove, use xstrdup instead.
888 2000-10-02 Akim Demaille <akim@epita.fr>
890 * src/gram.h (associativity): New enum type which replaces the
891 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
892 `right_assoc', `left_assoc' and `non_assoc'.
893 Adjust all dependencies.
894 * src/reader.c: Formatting changes.
895 (LTYPESTR): Don't define it, use it as a literal in
896 `reader_output_yylsp'.
897 * src/symtab.h (symbol_class): New enum type which replaces the
898 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
899 `sunknown', `stoken and `snterm'.
901 2000-10-02 Akim Demaille <akim@epita.fr>
903 * src/getargs.c (fixed_outfiles): Rename as...
904 (yaccflag): for consistency and accuracy.
907 2000-10-02 Akim Demaille <akim@epita.fr>
909 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
910 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
911 difficult and introduced a lot of core dump. It turns out that
912 Bison used an implementation of `xmalloc' based on `calloc', and
913 at various places it does depend upon the initialization to 0. I
914 have not tried to isolate the pertinent places, and all the former
915 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
916 someone should address this issue.
918 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
919 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
922 * src/warshall.h: New file.
925 2000-10-02 Akim Demaille <akim@epita.fr>
927 Various anti-`extern in *.c' changes.
929 * src/system.h: Include `assert.h'.
931 2000-10-02 Akim Demaille <akim@epita.fr>
933 * src/state.h (nstates, final_state, first_state, first_shift)
934 (first_reduction): Move their exportation from here...
935 * src/LR0.h: to here.
937 * src/getargs.c (statisticsflag): New variable.
938 Add support for `--statistics'.
941 Remove a lot of now useless `extern' statements in most files.
943 2000-10-02 Akim Demaille <akim@epita.fr>
945 * src/LR0.h: New file.
948 2000-10-02 Akim Demaille <akim@epita.fr>
950 * src/print.h: New file.
952 * src/print.c: Formatting and ordering changes.
953 (verbose, terse): Replace with...
954 (print_results): this new function.
957 2000-10-02 Akim Demaille <akim@epita.fr>
959 * src/conflicts.c (conflict_report): New function.
960 (conflict_log, verbose_conflict_log): Replace with...
961 (print_conflicts): this function.
963 * src/conflicts.h: New file.
964 Propagate its inclusion.
966 2000-10-02 Akim Demaille <akim@epita.fr>
968 * src/nullable.h: New file.
969 Propagate its inclusion.
970 * src/nullable.c: Formatting changes.
972 2000-10-02 Akim Demaille <akim@epita.fr>
974 * src/reduce.h: New file.
975 Propagate its inclusion.
976 * src/reduce.c: Topological sort and other formatting changes.
977 (bool, TRUE, FALSE): Move their definition to...
978 * src/system.h: here.
980 2000-10-02 Akim Demaille <akim@epita.fr>
982 * src/files.c: Formatting changes.
983 (tryopen, tryclose, openfiles): Rename as...
984 (xfopen, xfclose, open_files): this.
985 (stringappend): static.
986 * src/files.h: Complete the list of exported symbols.
989 2000-10-02 Akim Demaille <akim@epita.fr>
991 * src/reader.h: New file.
992 Propagate its use instead of tedious list of `extern' and
994 * src/reader.c: Formatting changes, topological sort,
997 2000-10-02 Akim Demaille <akim@epita.fr>
999 * src/lex.h: Prototype `lex.c' exported functions.
1000 * src/reader.c: Adjust.
1001 * src/lex.c: Formatting changes.
1002 (safegetc): Rename as...
1005 2000-10-02 Akim Demaille <akim@epita.fr>
1007 * src/lalr.h: New file.
1008 Propagate its inclusion instead of prototypes and `extern'.
1009 * src/lalr.c: Formatting changes, topological sorting etc.
1011 2000-10-02 Akim Demaille <akim@epita.fr>
1013 * src/output.c (token_actions): Introduce a temporary array,
1014 YYDEFACT, that makes it possible for this function to use
1017 2000-10-02 Akim Demaille <akim@epita.fr>
1019 `user_toknums' is output as a `short[]' in `output.c', while it is
1020 defined as a `int[]' in `reader.c'. For consistency with the
1021 other output tables, `user_toknums' is now defined as a table of
1024 * src/reader.c (user_toknums): Be a short table instead of an int
1026 Adjust dependencies.
1028 Factor the short table outputs.
1030 * src/output.c (output_short_table): New function.
1031 * src/output.c (output_gram, output_stos, output_rule_data)
1032 (output_base, output_table, output_check): Use it.
1034 2000-10-02 Akim Demaille <akim@epita.fr>
1036 * src/output.c (output): Topological sort of the functions, in
1037 order to get rid of the `static' prototypes.
1038 No longer use `register'.
1039 * src/output.h: New file.
1040 Propagate its inclusion in files explicitly prototyping functions
1043 2000-09-21 Akim Demaille <akim@epita.fr>
1045 * src/atgeneral.m4: Update from Autoconf.
1047 2000-09-21 Akim Demaille <akim@epita.fr>
1049 * src/closure.h: New file.
1050 * src/closure.c: Formatting changes, topological sort over the
1051 functions, use of closure.h.
1052 (initialize_closure, finalize_closure): Rename as...
1053 (new_closure, free_closure): these. Adjust dependencies.
1054 * src/LR0.c: Formatting changes, topological sort, use of
1056 (initialize_states): Rename as...
1058 * src/Makefile.am (noinst_HEADERS): Adjust.
1060 2000-09-20 Akim Demaille <akim@epita.fr>
1062 * src/acconfig.h: Don't protect config.h against multiple
1064 Don't define PARAMS.
1065 * src/system.h: Define PARAMS.
1066 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1067 purpose of config.h. system.h must not try to fix wrong
1068 definitions in config.h.
1070 2000-09-20 Akim Demaille <akim@epita.fr>
1072 * src/derives.h: New file.
1073 * src/main.c, src/derives.h: Use it.
1075 * src/Makefile.am (noinst_HEADERS): Adjust.
1077 2000-09-20 Akim Demaille <akim@epita.fr>
1079 * tests/atgeneral.m4: Update from Autoconf.
1080 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1081 (AT_CHECK_CALC): New macros.
1082 Use these macros to test bison with options `', `--raw',
1083 `--debug', `--yacc', `--yacc --debug'.
1085 2000-09-19 Akim Demaille <akim@epita.fr>
1087 * src/output.c: Formatting changes.
1088 * src/machine.h: Remove, leaving its contents in...
1089 * src/system.h: here.
1091 Adjust all dependencies on stdio.h and machine.h.
1092 * src/getargs.h: New file.
1093 Let all `extern' declarations about getargs.c be replaced with
1094 inclusion of `getargs.h'.
1095 * src/Makefile.am (noinst_HEADERS): Adjust.
1097 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1099 (yyerror): Returns void, not int.
1100 * doc/bison.texinfo: Formatting changes.
1102 2000-09-19 Akim Demaille <akim@epita.fr>
1104 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1107 2000-09-18 Akim Demaille <akim@epita.fr>
1109 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1110 * src/Makefile.am (INCLUDES): Don't.
1111 Be ready to fetch headers in lib/.
1113 2000-09-18 Akim Demaille <akim@epita.fr>
1115 * doc/bison.texinfo: Update the copyright.
1116 ANSIfy and GNUify the examples.
1117 Remove the old menu.
1119 2000-09-18 Akim Demaille <akim@epita.fr>
1121 First set of tests: use the `calc' example from the documentation.
1123 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1124 is defined only when YYDEBUG is.
1125 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1126 * src/files.c (tryopen, tryclose): Formatting changes.
1127 Move to the top and be static.
1128 * src/reader.c (read_signed_integer): Likewise.
1129 * tests/calc.m4: New file.
1130 * Makefile.am, suite.m4: Adjust.
1131 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1133 2000-09-18 Akim Demaille <akim@epita.fr>
1135 Add support for an Autotest test suite for Bison.
1137 * m4/m4.m4, m4/atconfig.m4: New files.
1138 * m4/Makefile.am (EXTRA_DIST): Adjust.
1139 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1141 * src/getargs.c: Display a more standard --version message.
1142 * src/reader.c (reader): Formatting changes.
1143 No longer depend upon VERSION_STRING.
1144 * configure.in: No longer use `dnl'.
1145 Set up the test suite and the new directory `tests/.
1146 (VERSION_STRING): Remove.
1148 2000-04-14 Akim Demaille <akim@epita.fr>
1150 * src/reader.c (copy_comment2): New function, same as former
1151 `copy_comment', but outputs into two FILE *.
1152 (copy_comment): Use it.
1153 (parse_union_decl): Use it.
1154 (get_type, parse_start_decl): Use the same `invalid' message.
1155 (parse_start_decl, parse_union_decl): Use the same `multiple'
1157 (parse_union_decl, copy_guard, copy_action): Use the same
1158 `unmatched' message.
1159 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1161 2000-03-31 Akim Demaille <akim@epita.fr>
1163 * src/files.c (tryopen, tryclose): Move to the top.
1166 2000-03-31 Akim Demaille <akim@epita.fr>
1168 * src/main.c (main): Don't call `done', exit does it.
1170 2000-03-31 Akim Demaille <akim@epita.fr>
1172 * allocate.c: s/return (foo)/return foo/.
1175 * output.c: Likewise.
1176 * reader.c: Likewise.
1177 * symtab.c: Likewise.
1178 * vmsgetargs.c: Likewise.
1180 2000-03-31 Akim Demaille <akim@epita.fr>
1182 Clean up the error reporting functions.
1184 * src/report.c: New file.
1185 * src/report.h: Likewise.
1186 * src/Makefile.am: Adjust.
1187 * m4/error.m4: New file.
1188 * m4/Makefile.am: Adjust.
1189 * configure.in (jm_PREREQ_ERROR): Call it.
1190 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1192 (fatal, fatals): Remove. All callers use complain.c::fatal.
1193 (warn, warni, warns, warnss, warnss): Remove. All callers use
1194 complain.c::complain.
1195 (toomany): Remove, use fatal instead.
1196 * src/files.c (done): No argument, use complain_message_count.
1197 * src/main.c (main): Register `done' to `atexit'.
1199 * src/getargs.c (usage): More `fputs', less `fprintf'.
1201 2000-03-28 Akim Demaille <akim@epita.fr>
1203 * lib/: New directory.
1204 * Makefile.am (SUBDIRS): Adjust.
1205 * configure.in: Adjust.
1206 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1208 * src/alloca.c: Moved to lib/.
1209 * src/getopt.c: Likewise.
1210 * src/getopt1.c: Likewise.
1211 * src/getopt.h: Likewise.
1212 * src/ansi2knr.c: Likewise.
1213 * src/ansi2knr.1: Likewise.
1214 * src/Makefile.am: Adjust.
1215 * lib/Makefile.am: New file.
1217 2000-03-28 Akim Demaille <akim@epita.fr>
1219 * src/getargs.c (usage): Refresh the help message.
1221 2000-03-17 Akim Demaille <akim@epita.fr>
1223 * src/getopt1.c: Updated from textutils 2.0e
1224 * src/getopt.c: Likewise.
1225 * src/getopt.h: Likewise.
1227 2000-03-17 Akim Demaille <akim@epita.fr>
1229 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1230 the file name, not the whole `#line LINE FILE'.
1232 2000-03-17 Akim Demaille <akim@epita.fr>
1234 On syntax errors, report the token on which we choked.
1236 * src/bison.s1 (yyparse): In the label yyerrlab, when
1237 YYERROR_VERBOSE, add yychar in msg.
1239 2000-03-17 Akim Demaille <akim@epita.fr>
1241 * src/reader.c (copy_at): New function.
1242 (copy_guard): Use it.
1243 (copy_action): Use it.
1245 2000-03-17 Akim Demaille <akim@epita.fr>
1247 Be kind to translators, save some useless translations.
1249 * src/main.c (banner): New function.
1250 (fatal_banner): Use it.
1251 (warn_banner): Use it.
1253 2000-03-17 Akim Demaille <akim@epita.fr>
1255 * src/reader.c (copy_definition): Use copy_string and
1256 copy_comment. Removed now unused `match', `ended',
1258 (copy_comment, copy_string): Moved, to be visible from
1261 2000-03-17 Akim Demaille <akim@epita.fr>
1263 * src/reader.c (copy_string): Declare `static inline'. No
1264 problems with inline, since it is checked by configure.
1265 (copy_comment): Likewise.
1267 2000-03-17 Akim Demaille <akim@epita.fr>
1269 * src/reader.c (packsymbols): Formatting changes.
1271 2000-03-17 Akim Demaille <akim@epita.fr>
1273 * src/reader.c (copy_comment): New function, factored out from:
1274 (copy_action): Use it. Removed now unused `match', `ended',
1276 (copy_guard): Likewise.
1278 2000-03-17 Akim Demaille <akim@epita.fr>
1280 * src/reader.c (copy_string): New function, factored out from:
1281 (copy_action): Use it.
1282 (copy_guard): Likewise.
1284 2000-03-17 Akim Demaille <akim@epita.fr>
1286 Change the handling of @s so that they behave exactly like $s.
1287 There is now a pseudo variable @$ (readble and writable), location
1288 of the lhs of the rule (by default ranging from the location of
1289 the first symbol of the rhs, to the location of the last symbol,
1290 or, if the rhs is empty, YYLLOC).
1292 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1294 (yyparse): When providing a default semantic action, provide a
1295 default location action.
1296 (after the $): No longer change `*YYLSP', just stack YYLOC the
1297 same way you stack YYVAL.
1298 * src/reader.c (read_declarations): Use warns.
1299 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1300 (copy_action, case '@'): Likewise.
1301 Use a standard error message, to save useless work from
1304 2000-03-17 Akim Demaille <akim@epita.fr>
1306 * src/bison.s1: Formatting and cosmetics changes.
1307 * src/reader.c: Likewise.
1308 Update the Copyright notice.
1310 2000-03-17 Akim Demaille <akim@epita.fr>
1312 * src/bison.s1 (#line): All set to `#line' only, since the
1313 Makefile now handles them.
1315 2000-03-16 Akim Demaille <akim@epita.fr>
1317 * src/output.c (output_rule_data): Output the documentation of
1319 (Copyright notice): Update.
1322 2000-03-16 Akim Demaille <akim@epita.fr>
1324 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1325 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1326 One `#if YYDEBUG' remains, since it uses variables which are
1327 defined only if `YYDEBUG != 0'.
1329 2000-03-16 Akim Demaille <akim@epita.fr>
1331 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1332 and related variables so that the similarities are highlighted.
1334 2000-03-16 Akim Demaille <akim@epita.fr>
1336 * src/bison.s1: Properly indent CPP directives.
1338 2000-03-16 Akim Demaille <akim@epita.fr>
1340 * src/bison.s1: Properly indent the `alloca' CPP section.
1342 2000-03-16 Akim Demaille <akim@epita.fr>
1344 Do not hard code values of directories in `configure.in'.
1345 Update the `configure' tool chain.
1347 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1349 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1350 (AC_OUTPUT): Add m4/Makefile.
1351 Bump to bison 1.28a, 1.29 has never been released.
1352 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1353 handled via src/Makefile.am.
1354 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1355 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1357 * Makefile.am (SUBDIRS): Add m4.
1358 (ACLOCAL_AM_FLAGS): New variable.
1359 (AUTOMAKE_OPTIONS): Add check-news.
1360 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1361 the proper line number and file name.
1362 (DEFS): Propagate the location of bison library files and of the
1364 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1366 * acinclude.m4: Remove, replaced by the directory m4.
1367 * m4/Makefile.am (EXTRA_DIST): New variable.
1368 * m4/gettext.m4: New file, from the fileutils.
1369 * m4/lcmessage.m4: Likewise
1370 * m4/progtest.m4: Likewise.
1371 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1373 2000-03-10 Akim Demaille <akim@epita.fr>
1376 Formatting changes of various comments.
1377 Respect the GNU coding standards at various places.
1378 Don't use `_()' when no translation is needed.
1380 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1383 OS/2 honors TMPDIR environment variable.
1385 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1387 * doc/bison.texinfo: Tweaked spelling and grammar.
1389 Removed reference to price of printed copy.
1390 Mention BISON_SIMPLE and BISON_HAIRY.
1392 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1394 * configure.in, NEWS:
1395 Bison 1.29 released.
1397 1999-10-27 Jesse Thilo <jthilo@gnu.org>
1399 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1400 Added reference card.
1402 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1404 * po/ru.po: Added Russian translation.
1406 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1408 * configure.in: Added Russian translation.
1410 1999-07-06 Jesse Thilo <jthilo@gnu.org>
1412 * configure.in, NEWS, README:
1413 Released version 1.28.
1415 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1418 Squashed redefinition warning on some systems.
1420 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1421 Have configure build version string instead of relying on ANSI string
1424 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1426 * po/POTFILES.in: Got rid of version.c.
1428 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1430 * acconfig.h, configure.in:
1431 Have configure build version string instead of relying on ANSI string
1434 1999-06-08 Jesse Thilo <jthilo@gnu.org>
1437 Dropped mention of `+' for long-named options.
1439 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1441 * src/files.c: Added <unistd.h> for unlink().
1443 * src/Makefile.am, src/system.h:
1446 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1448 * README: Added a FAQ list.
1450 * configure.in, acconfig.h:
1453 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1455 * doc/FAQ, doc/Makefile.am:
1458 1999-05-19 Jesse Thilo <jthilo@gnu.org>
1460 * src/alloc.h, src/symtab.h, src/version.c:
1461 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1463 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1465 * src/.cvsignore, src/Makefile.am:
1466 Reorganized: sources in `src', documentation in `doc'.
1468 * src/lex.c (literalchar):
1469 fixed the code for escaping double quotes (thanks
1472 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1474 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1475 Adjusted paths to reflect directory reorganization.
1477 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1479 * doc/.cvsignore, doc/Makefile.am:
1480 Reorganized: sources in `src', documentation in `doc'.
1482 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1485 Updated AC_INIT file to reflect directory reorganization.
1487 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1488 Reorganized: sources in `src', documentation in `doc'.
1490 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1493 Don't declare calloc() and realloc() if not necessary.
1495 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1497 * configure.in, acconfig.h, acinclude.m4:
1498 Don't declare calloc() and realloc() if not necessary.
1500 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1502 * po/.cvsignore: Added i18n support.
1504 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1506 * acconfig.h, configure.in, Makefile.am:
1509 1999-03-22 Jesse Thilo <jthilo@gnu.org>
1511 * src/bison.s1: Fixed #line numbers.
1513 1999-03-15 Jesse Thilo <jthilo@gnu.org>
1515 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1516 Added PO files from Translation Project.
1518 1999-03-03 Jesse Thilo <jthilo@gnu.org>
1521 Added support for non-ANSI compilers (ansi2knr).
1523 1999-02-16 Jesse Thilo <jthilo@gnu.org>
1525 * configure.in: Bumped version number to 1.27.
1528 Added `bison.simple' to list of files removed by `make distclean'.
1530 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1532 * src/files.c, src/files.h:
1533 Defined locations of parser files in config.h instead of Makefile.
1535 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1537 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1538 Defined locations of parser files in config.h instead of Makefile.
1540 1999-02-09 Jesse Thilo <jthilo@gnu.org>
1543 Removed inappropriate use of $< macro.
1545 1999-02-05 Jesse Thilo <jthilo@gnu.org>
1547 * po/Makefile.in.in, po/POTFILES.in:
1548 Add `po' directory skeleton.
1550 1999-01-27 Jesse Thilo <jthilo@gnu.org>
1552 * README: Document help-bison list.
1554 * configure.in: Add check for mkstemp().
1556 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1558 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1559 Hush a few compiler warnings.
1562 Add tryclose(), which verifies that fclose was successful.
1563 Hush a couple of compiler warnings.
1565 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1567 * Makefile.am, OChangeLog:
1568 ChangeLog is now automatically generated. Include the old version as
1571 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1573 * 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:
1576 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1578 * doc/bison.texinfo: Fix formatting glitch.
1580 * doc/bison.texinfo: Update FSF address.
1582 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1584 * acconfig.h: Update FSF address.
1586 1999-01-08 Jesse Thilo <jthilo@gnu.org>
1589 Don't define PACKAGE here, since config.h defines it.
1591 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1593 * src/reader.c: Update copyright date.
1596 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1597 favor of output directly to stderr (avoids buffer overruns).
1599 * src/reader.c: Some checks for premature EOF.
1601 * 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:
1602 Use prototypes if the compiler understands them.
1604 * src/files.c: Honor TMPDIR on Unix hosts.
1605 Use prototypes if the compiler understands them.
1608 Fix a couple of buffer overrun bugs.
1609 Use prototypes if the compiler understands them.
1611 * src/system.h: Include unistd.h and ctype.h.
1612 Use #ifdef instead of #if for NLS symbols.
1614 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1616 * doc/bison.texinfo:
1617 Delete comment "consider using @set for edition number, etc..." since
1618 we now are doing so.
1620 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1623 Use prototypes if the compiler understands them.
1625 * NEWS: Document 1.26 highlights.
1627 * Makefile.am: Require Automake 1.3 or later.
1630 Use prototypes if the compiler understands them.
1632 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1635 Use VERSION symbol from automake for version number.
1637 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1639 * acconfig.h, configure.in, version.cin:
1640 Use VERSION symbol from automake for version number.
1642 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1645 Distribute original version of simple parser (bison.s1), not built
1646 version (bison.simple).
1648 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1650 * doc/bison.texinfo: Add info dir entry.
1652 * doc/bison.texinfo:
1653 Let automake put version number into documentation.
1655 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1657 * src/bison.cld, src/build.com, src/vmshlp.mar:
1658 Add non-RCS files from /gd/gnu/bison.
1660 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1663 Document the BISON_HAIRY and BISON_SIMPLE variables.
1665 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1667 * src/version.c: Build version.c automatically.
1670 Fix token numbering (used to start at 258, not 257).
1672 * src/system.h: Include config.h.
1674 * src/getargs.c: Update bug report address.
1676 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1677 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1679 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1682 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1684 * configure.in, version.cin:
1685 Build version.c automatically.
1687 * AUTHORS: Add AUTHORS file.
1689 * README: Update bug report address.
1692 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1694 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1697 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1699 * doc/bison.texinfo: Clean up some formatting.
1701 1998-05-05 Richard Stallman <rms@gnu.org>
1703 * doc/bison.texinfo:
1704 Explain better why to make a pure parser.
1706 1998-01-05 Richard Stallman <rms@gnu.org>
1708 * src/files.c (openfiles):
1709 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1710 find a temporary directory, if possible. Do not unlink files while
1713 1997-08-25 Richard Stallman <rms@gnu.org>
1715 * src/reader.c (stack_offset;):
1716 Change some warni to warns.
1718 * src/lex.c (literalchar): Use warns, not warni.
1720 1997-06-28 Richard Stallman <rms@gnu.org>
1722 * src/bison.s1: Add a Bison version comment.
1724 * src/main.c (fatal, warn, berror):
1727 1997-06-28 Richard Stallman <rms@gnu.org>
1729 * Makefile.in (bison_version): New variable.
1730 (dist): Use that variable.
1731 (bison.s1): Substitute the Bison version into bison.simple.
1733 * bison.simple: Add a Bison version comment.
1735 1997-06-18 Richard Stallman <rms@gnu.org>
1737 * src/main.c (fatal, warn, berror):
1738 Make error messages standard.
1739 (toomany): Improve error message text.
1741 * 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:
1742 new.h renamed to alloc.h.
1744 1997-06-18 Richard Stallman <rms@gnu.org>
1746 * Makefile.in: new.h renamed to alloc.h.
1748 1997-05-24 Richard Stallman <rms@gnu.org>
1750 * src/lex.c (literalchar):
1751 Fix the code for escaping \, " and '.
1753 (lex): Avoid trouble when there are many chars
1754 to discard in a char literal with just several chars in it.
1756 1997-05-17 Richard Stallman <rms@gnu.org>
1759 Use malloc, if using alloca is troublesome.
1760 (YYSTACK_USE_ALLOCA): New flag macro.
1761 Define it for some systems and compilers.
1762 (YYSTACK_ALLOC): New macro.
1763 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1764 If it was malloc'd, free it.
1766 1997-05-17 Richard Stallman <rms@gnu.org>
1769 Use malloc, if using alloca is troublesome.
1770 (YYSTACK_USE_ALLOCA): New flag macro.
1771 Define it for some systems and compilers.
1772 (YYSTACK_ALLOC): New macro.
1773 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1774 If it was malloc'd, free it.
1776 1997-04-23 Richard Stallman <rms@gnu.org>
1779 (alloca) [__hpux]: Always define as __builtin_alloca.
1781 1997-04-23 Richard Stallman <rms@gnu.org>
1784 (alloca) [__hpux]: Always define as __builtin_alloca.
1786 1997-04-22 Richard Stallman <rms@gnu.org>
1789 [__hpux]: Include alloca.h (right for HPUX 10)
1790 instead of declaring alloca (right for HPUX 9).
1792 * src/bison.s1 (__yy_memcpy):
1793 Declare arg `count' as unsigned int.
1794 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1796 1997-04-22 Richard Stallman <rms@gnu.org>
1799 [__hpux]: Include alloca.h (right for HPUX 10)
1800 instead of declaring alloca (right for HPUX 9).
1802 * bison.simple (__yy_memcpy):
1803 Declare arg `count' as unsigned int.
1804 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1806 1997-01-03 Richard Stallman <rms@gnu.org>
1808 * src/allocate.c: [__STDC__ or _MSC_VER]:
1809 Declare calloc and realloc to return void *.
1811 1997-01-02 Richard Stallman <rms@gnu.org>
1814 [_MSC_VER]: Include stdlib.h and process.h.
1815 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1817 * src/main.c (main): Return FAILURE as a value.
1818 (printable_version): Declare arg as int, not char.
1820 1997-01-02 Richard Stallman <rms@gnu.org>
1822 * Makefile.in (dist):
1823 Explicitly check for symlinks, and copy them.
1825 1996-12-19 Richard Stallman <rms@gnu.org>
1828 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1830 1996-12-18 Paul Eggert <eggert@gnu.org>
1832 * src/bison.s1 (yyparse):
1833 If __GNUC__ and YYPARSE_PARAM are both defined,
1834 declare yyparse to have a void * argument.
1836 1996-12-18 Paul Eggert <eggert@gnu.org>
1838 * bison.simple (yyparse):
1839 If __GNUC__ and YYPARSE_PARAM are both defined,
1840 declare yyparse to have a void * argument.
1842 1996-12-17 Richard Stallman <rms@gnu.org>
1844 * src/reduce.c (nbits): Add some casts.
1846 1996-08-12 Richard Stallman <rms@gnu.org>
1848 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1850 1996-08-12 Richard Stallman <rms@gnu.org>
1852 * bison.simple: Test _MSDOS as well as _MSDOS_.
1854 1996-07-31 Richard Stallman <rms@gnu.org>
1857 [__sun && __i386]: Include alloca.h.
1859 1996-07-31 Richard Stallman <rms@gnu.org>
1862 [__sun && __i386]: Include alloca.h.
1864 1996-07-30 Richard Stallman <rms@gnu.org>
1866 * src/bison.s1: Comment change.
1868 * src/bison.s1: Test _MSDOS_, not MSDOS.
1870 1996-07-30 Richard Stallman <rms@gnu.org>
1872 * bison.simple: Comment change.
1874 * bison.simple: Test _MSDOS_, not MSDOS.
1876 1996-06-01 Richard Stallman <rms@gnu.org>
1878 * 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:
1879 Insert `_' macro around many string constants.
1882 Insert `_' macro around many string constants.
1884 (main): Call setlocale, bindtextdomain and textdomain.
1886 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1887 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1888 [ENABLE_NLS]: Include libintl.h.
1889 [ENABLE_NLS] (gettext): Define.
1890 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1891 (N_, PACKAGE, LOCALEDIR): New macros.
1893 1996-06-01 Richard Stallman <rms@gnu.org>
1895 * POTFILES.in: New file.
1897 * Makefile.in (allocate.o):
1898 Define target explicitly.
1900 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1901 (LDFLAGS): Set to @LDFLAGS@.
1902 (configure): Run autoconf only if preceding `cd' succeeds.
1903 (bison.s1): Redirect output to temporary file then move the
1904 temporary to the target, rather than redirecting directly to bison.s1.
1905 (clean): Remove config.status and config.log.
1906 (distclean): Don't remove config.status here.
1908 1996-05-12 Richard Stallman <rms@gnu.org>
1911 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1913 1996-05-12 Richard Stallman <rms@gnu.org>
1916 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1918 1996-05-11 Richard Stallman <rms@gnu.org>
1920 * src/bison.s1 (__yy_memcpy):
1921 Really reorder the args, as was supposedly done on Feb 14 1995.
1922 (yyparse): Calls changed accordingly.
1924 1996-05-11 Richard Stallman <rms@gnu.org>
1926 * Makefile.in (dist): Don't use $(srcdir).
1928 * bison.simple (__yy_memcpy):
1929 Really reorder the args, as was supposedly done on Feb 14 1995.
1930 (yyparse): Calls changed accordingly.
1932 1996-01-27 Richard Stallman <rms@gnu.org>
1934 * src/output.c (output_rule_data):
1935 Test YYERROR_VERBOSE in the conditional
1936 around the definition of ttyname.
1938 1995-12-29 Richard Stallman <rms@gnu.org>
1941 Fix line numbers in #line commands.
1943 1995-12-29 Richard Stallman <rms@gnu.org>
1946 Fix line numbers in #line commands.
1948 1995-12-27 Richard Stallman <rms@gnu.org>
1950 * src/bison.s1 (YYPARSE_PARAM_DECL):
1951 In C++, make it always null.
1952 (YYPARSE_PARAM_ARG): New macro.
1953 (yyparse): Use YYPARSE_PARAM_ARG.
1955 1995-12-27 Richard Stallman <rms@gnu.org>
1957 * bison.simple (YYPARSE_PARAM_DECL):
1958 In C++, make it always null.
1959 (YYPARSE_PARAM_ARG): New macro.
1960 (yyparse): Use YYPARSE_PARAM_ARG.
1962 1995-11-29 Richard Stallman <rms@gnu.org>
1964 * doc/bison.texinfo:
1965 Describe literal string tokens, %raw, %no_lines, %token_table.
1967 1995-11-29 Daniel Hagerty <hag@gnu.org>
1969 * doc/bison.texinfo: Fixed update date
1971 1995-10-16 Richard Stallman <rms@gnu.org>
1973 * src/version.c: Version 1.25.
1975 1995-10-16 Richard Stallman <rms@gnu.org>
1977 * NEWS: *** empty log message ***
1979 1995-10-16 Richard Stallman <rms@gnu.org>
1981 * doc/bison.1, doc/bison.rnh:
1984 1995-10-15 Richard Stallman <rms@gnu.org>
1986 * src/vmsgetargs.c, src/getargs.c:
1987 Added -n, -k, and -raw switches.
1988 (noparserflag, toknumflag, rawtoknumflag): New variables.
1990 * src/symtab.h (SALIAS):
1991 New #define for adding aliases to %token.
1992 (struct bucket): Added `alias' field.
1994 * src/reduce.c (reduce_grammar):
1995 Revise error message.
1996 (print_notices): Remove final `.' from error message.
1998 * src/reader.c (reader_output_yylsp):
2000 (readgram): Use `#if 0' around code that accepted %command
2001 inside grammar rules: The documentation doesn't allow it,
2002 and it will fail since the %command processors scan for the next %.
2003 (parse_token_decl): Extended the %token
2004 declaration to allow a multi-character symbol as an alias.
2005 (parse_thong_decl): New function.
2006 (read_declarations): Added %thong declarations.
2007 (read_declarations): Handle NOOP to deal with allowing
2008 % declarations as another means to specify the flags.
2009 (readgram): Allow %prec prior to semantics embedded in a rule.
2010 (skip_to_char, read_declarations, copy_definition)
2011 (parse_token_decl, parse_start_decl, parse_type_decl)
2012 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2013 (get_type_name, copy_guard, copy_action, readgram)
2014 (get_type, packsymbols): Revised most error messages.
2015 Changed `fatal' to `warnxxx' to avoid aborting for error.
2016 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2017 (read_declarations): Improve the error message for
2018 an invalid character. Do not abort.
2019 (read_declarations, copy_guard, copy_action): Use
2020 printable_version to avoid unprintable characters in printed output.
2021 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2022 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2023 Allow the type of a non-terminal can be given
2024 more than once, as long as all specifications give the same type.
2027 (output_headers, output_trailers, output, output_gram)
2028 (output_rule_data): Implement noparserflag variable.
2029 Implement toknumflag variable.
2030 (output): Call reader_output_yylsp to output LTYPESTR.
2032 * src/main.c (main):
2033 If reader sees an error, don't process the grammar.
2034 (fatals): Updated to not use VARARGS1.
2035 (printable_version, int_to_string, warn, warni, warns, warnss)
2036 (warnsss): New error reporting functions. Avoid abort for error.
2039 Added THONG and NOOP for alias processing.
2040 Added SETOPT for the new code that allows setting options with %flags.
2043 Include getopt.h. Add some extern decls.
2044 (safegetc): New function to deal with EOF gracefully.
2045 (literalchar); new function to deal with reading \ escapes.
2046 (lex): Use literalchar.
2047 (lex): Implemented "..." tokens.
2048 (literalchar, lex, parse_percent_token): Made tokenbuffer
2049 always contain the token. This includes growing the token
2050 buffer while reading an integer.
2051 (parse_percent_token): Replaced if-else statement with percent_table.
2052 (parse_percent_token): Added % declarations as another
2053 way to specify the flags -n, -l, and -r. Also added hooks for
2054 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2055 major changes to files.c.
2056 (lex) Retain in the incoming stream a character following
2058 (skip_white_space, lex): Revised most error messages
2059 and changed fatal to warn to avoid aborting.
2060 (percent_table): Added %thong declarations.
2062 * src/gram.h: Comment changes.
2064 * src/files.c (openfiles, open_extra_files, done):
2066 and actfile file. Handle noparserflag. Both for -n switch.
2068 * src/conflicts.c (resolve_sr_conflict):
2069 Remove use of alloca.
2071 1995-06-01 Jim Meyering <meyering@gnu.org>
2073 * doc/bison.texinfo: *** empty log message ***
2075 1995-05-06 Richard Stallman <rms@gnu.org>
2077 * src/bison.s1: Comment change.
2079 1995-05-06 Richard Stallman <rms@gnu.org>
2081 * bison.simple: Comment change.
2083 1995-05-03 Richard Stallman <rms@gnu.org>
2085 * src/version.c: Version now 1.24.
2087 * src/bison.s1: Change distribution terms.
2089 * src/version.c: Version now 1.23.
2091 1995-05-03 Richard Stallman <rms@gnu.org>
2093 * doc/bison.texinfo:
2094 Rewrite "Conditions for Using Bison".
2095 Update version to 1.24.
2097 1995-05-03 Richard Stallman <rms@gnu.org>
2099 * bison.simple: Change distribution terms.
2101 1995-02-23 Richard Stallman <rms@gnu.org>
2103 * src/files.c: Test __VMS_POSIX as well as VMS.
2105 1995-02-14 Jim Meyering <meyering@gnu.org>
2107 * src/bison.s1 (__yy_memcpy):
2108 Renamed from __yy_bcopy to avoid
2109 confusion. Reverse FROM and TO arguments to be consistent with
2112 1995-02-14 Jim Meyering <meyering@gnu.org>
2114 * bison.simple (__yy_memcpy):
2115 Renamed from __yy_bcopy to avoid
2116 confusion. Reverse FROM and TO arguments to be consistent with
2119 1994-11-10 David J. MacKenzie <djm@gnu.org>
2125 * Makefile.in (DISTFILES): Include NEWS.
2127 * Makefile.in (DISTFILES):
2128 Include install-sh, not install.sh.
2130 * configure.in: Update to Autoconf v2 macro names.
2132 1994-10-05 David J. MacKenzie <djm@gnu.org>
2134 * Makefile.in: fix typo
2136 * Makefile.in (prefix, exec_prefix):
2137 Let configure set them.
2139 1994-09-28 David J. MacKenzie <djm@gnu.org>
2141 * Makefile.in: Set datadir to $(prefix)/share.
2143 1994-09-15 Richard Stallman <rms@gnu.org>
2146 Update copyright notice and GPL version.
2148 1994-09-15 Richard Stallman <rms@gnu.org>
2151 Update copyright notice and GPL version.
2153 1994-07-12 Richard Stallman <rms@gnu.org>
2155 * src/reduce.c, src/reader.c:
2158 1994-05-05 David J. MacKenzie <djm@gnu.org>
2160 * Makefile.in: entered into RCS
2162 1994-03-26 Richard Stallman <rms@gnu.org>
2164 * src/bison.s1: entered into RCS
2166 1994-03-26 Richard Stallman <rms@gnu.org>
2168 * bison.simple: entered into RCS
2170 1994-03-25 Richard Stallman <rms@gnu.org>
2172 * src/main.c: entered into RCS
2174 1994-03-24 Richard Stallman <rms@gnu.org>
2176 * src/conflicts.c: entered into RCS
2178 1994-01-02 Richard Stallman <rms@gnu.org>
2180 * Makefile.in: *** empty log message ***
2182 1993-11-21 Richard Stallman <rms@gnu.org>
2184 * src/bison.s1: *** empty log message ***
2186 1993-11-21 Richard Stallman <rms@gnu.org>
2188 * doc/bison.texinfo: entered into RCS
2190 * doc/bison.texinfo: *** empty log message ***
2192 1993-11-21 Richard Stallman <rms@gnu.org>
2194 * bison.simple: *** empty log message ***
2196 1993-10-25 David J. MacKenzie <djm@gnu.org>
2198 * doc/bison.texinfo: *** empty log message ***
2200 1993-10-19 Richard Stallman <rms@gnu.org>
2202 * src/bison.s1: *** empty log message ***
2204 1993-10-19 Richard Stallman <rms@gnu.org>
2206 * bison.simple: *** empty log message ***
2208 1993-10-14 Richard Stallman <rms@gnu.org>
2210 * src/bison.s1: *** empty log message ***
2212 1993-10-14 Richard Stallman <rms@gnu.org>
2214 * bison.simple: *** empty log message ***
2216 1993-09-14 David J. MacKenzie <djm@gnu.org>
2218 * doc/bison.texinfo: *** empty log message ***
2220 1993-09-13 Noah Friedman <friedman@gnu.org>
2222 * Makefile.in: *** empty log message ***
2224 1993-09-10 Richard Stallman <rms@gnu.org>
2226 * src/conflicts.c: *** empty log message ***
2228 * src/system.h: entered into RCS
2230 1993-09-10 Richard Stallman <rms@gnu.org>
2232 * doc/bison.1: entered into RCS
2234 1993-09-06 Noah Friedman <friedman@gnu.org>
2236 * src/version.c: entered into RCS
2238 1993-09-06 Noah Friedman <friedman@gnu.org>
2240 * Makefile.in: *** empty log message ***
2242 1993-07-30 David J. MacKenzie <djm@gnu.org>
2244 * Makefile.in: *** empty log message ***
2246 1993-07-24 Richard Stallman <rms@gnu.org>
2248 * src/bison.s1: *** empty log message ***
2250 1993-07-24 Richard Stallman <rms@gnu.org>
2252 * bison.simple: *** empty log message ***
2254 1993-07-08 David J. MacKenzie <djm@gnu.org>
2256 * Makefile.in: *** empty log message ***
2258 1993-07-04 Richard Stallman <rms@gnu.org>
2260 * src/bison.s1: *** empty log message ***
2262 1993-07-04 Richard Stallman <rms@gnu.org>
2264 * bison.simple: *** empty log message ***
2266 1993-06-26 David J. MacKenzie <djm@gnu.org>
2268 * src/getargs.c: entered into RCS
2270 1993-06-26 David J. MacKenzie <djm@gnu.org>
2272 * doc/bison.texinfo: *** empty log message ***
2274 * doc/bison.1: New file.
2276 1993-06-25 Richard Stallman <rms@gnu.org>
2278 * src/getargs.c: New file.
2280 1993-06-16 Richard Stallman <rms@gnu.org>
2282 * src/bison.s1: *** empty log message ***
2284 1993-06-16 Richard Stallman <rms@gnu.org>
2286 * bison.simple: *** empty log message ***
2288 1993-06-03 Richard Stallman <rms@gnu.org>
2290 * src/bison.s1: New file.
2292 1993-06-03 Richard Stallman <rms@gnu.org>
2294 * doc/bison.texinfo: *** empty log message ***
2296 1993-06-03 Richard Stallman <rms@gnu.org>
2298 * bison.simple: New file.
2300 1993-05-19 Richard Stallman <rms@gnu.org>
2302 * doc/bison.texinfo: New file.
2304 1993-05-07 Noah Friedman <friedman@gnu.org>
2306 * Makefile.in: *** empty log message ***
2308 1993-04-28 Noah Friedman <friedman@gnu.org>
2310 * src/reader.c: *** empty log message ***
2312 1993-04-23 Noah Friedman <friedman@gnu.org>
2314 * src/alloc.h: entered into RCS
2316 1993-04-20 David J. MacKenzie <djm@gnu.org>
2318 * src/version.c: *** empty log message ***
2320 * src/files.c, src/allocate.c:
2323 * src/reader.c: *** empty log message ***
2325 * src/lex.c: entered into RCS
2327 * src/conflicts.c: New file.
2329 * src/symtab.c: entered into RCS
2331 * src/alloc.h: New file.
2333 * src/LR0.c: entered into RCS
2335 1993-04-18 Noah Friedman <friedman@gnu.org>
2337 * src/reader.c: New file.
2339 * src/version.c: *** empty log message ***
2341 1993-04-18 Noah Friedman <friedman@gnu.org>
2343 * Makefile.in: *** empty log message ***
2345 1993-04-17 Noah Friedman <friedman@gnu.org>
2347 * Makefile.in: *** empty log message ***
2349 1993-04-15 Richard Stallman <rms@gnu.org>
2351 * src/main.c, src/files.c:
2354 1993-04-15 Noah Friedman <friedman@gnu.org>
2356 * configure.in: entered into RCS
2358 * configure.in: *** empty log message ***
2360 * configure.in: New file.
2362 1993-04-14 Richard Stallman <rms@gnu.org>
2364 * Makefile.in: New file.
2366 1993-04-13 Richard Stallman <rms@gnu.org>
2368 * src/version.c: New file.
2370 1993-03-25 Richard Stallman <rms@gnu.org>
2372 * src/output.c: entered into RCS
2374 1992-09-25 Richard Stallman <rms@gnu.org>
2376 * configure.bat: entered into RCS
2378 1992-06-22 Richard Stallman <rms@gnu.org>
2380 * src/vmsgetargs.c: entered into RCS
2382 1992-06-22 Richard Stallman <rms@gnu.org>
2384 * doc/bison.rnh: entered into RCS
2386 1992-04-20 David J. MacKenzie <djm@gnu.org>
2388 * README: entered into RCS
2390 1992-01-22 Richard Stallman <rms@gnu.org>
2392 * src/machine.h: entered into RCS
2394 1991-12-21 Richard Stallman <rms@gnu.org>
2396 * src/lalr.c, src/closure.c:
2399 1991-12-20 Richard Stallman <rms@gnu.org>
2401 * src/state.h: entered into RCS
2403 1991-12-18 Richard Stallman <rms@gnu.org>
2405 * src/print.c, src/nullable.c, src/derives.c:
2408 1991-11-03 David J. MacKenzie <djm@gnu.org>
2410 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2413 1988-09-09 Richard Stallman <rms@gnu.org>
2415 * src/bison.hairy: entered into RCS
2417 1987-12-16 Richard Stallman <rms@gnu.org>
2419 * REFERENCES: entered into RCS