1 2001-08-28 Marc Autret <autret_m@epita.fr>
3 * config/depcomp: New file.
5 2001-08-27 Paul Eggert <eggert@twinsun.com>
7 * src/bison.simple (yyparse): Don't take the address of an
8 item before the start of an array, as that doesn't conform to
11 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
13 * src/output.c (output): Remove the initialization of the macro
14 obstack. It was done too late here.
16 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
18 (reader): Initialize the macro obstack here, since we need it to grow
21 * src/reader.h: Declare the macro obstack as extern.
23 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
25 * src/output.c (output_parser): Fix. Store single '%' characters in
26 the output obstack instead of throwing them away.
28 2001-08-27 Akim Demaille <akim@epita.fr>
30 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
32 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
34 * lib/Makefile.am: Adjust.
36 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
38 * src/bison.simple: Update and add '%%' directives.
40 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
42 * src/reader.c (reader): Remove calls to 'output_headers' and
43 'output_trailers'. Remove some C output.
44 (readgram): Disable a piece of code that was writing a default
45 definition for 'YYSTYPE'.
46 (reader_output_yylsp): Remove.
47 (packsymbols): Output token defintions to a macro.
48 (copy_definition): Disable C output.
50 * src/reader.c (parse_macro_decl): New function used to parse macro
52 (copy_string2): Put the body of copy_string into this new function.
53 Add a parameter to let the caller choose whether he wants to copy the
54 string delimiters or not.
55 (copy_string): Be a simple call to copy_string2 with the last argument
57 (read_declarations): Add case for macro definition.
58 (copy_identifier): New.
59 (parse_macro_decl): Read macro identifiers using copy_identifier
62 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
64 * src/output.c (prepare): Add prefixed names.
65 (output_parser): Output semantic actions.
66 (output_parser): Fix bug on '%%line' directives.
68 * src/output.c (output_headers): Remove. The C code printed by this
69 function should now be in the skeletons.
70 (output_trailers): Remove.
71 (output): Disable call to 'reader_output_yylsp'.
72 (output_rule_data): Do not output tables to the table obstack.
74 * src/output.c: Remove some C dedicated output.
75 Improve the use of macro and output obstacks.
76 (output_defines): Remove.
78 * src/output.c (output_token_translations): Associate 'translate'
79 table with a macro. No output to the table obstack.
80 (output_gram): Same for 'rhs' and 'prhs'.
81 (output_stos): Same for 'stos'.
82 (output_rule_data): Same for 'r1' and 'r2'.
83 (token_actions): Same for 'defact'.
84 (goto_actions): Same for 'defgoto'.
85 (output_base): Same for 'pact' and 'pgoto'.
86 (output_table): Same for 'table'.
87 (output_check): Same for 'check'.
89 * src/output.c (output_table_data): New function.
90 (output_short_table): Remove.
91 (output_short_or_char_table): Remove.
93 * src/output.c (output_parser): Replace most of the skeleton copy code
94 with something new. Skeletons are now processed character by character
95 rather than line by line, and Bison looks for '%%' macros. This is the
96 first step in making Bison's output process (a lot) more flexible.
97 (output_parser): Use the macro table.
99 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
101 * src/main.c (main): Initialize the macro table.
103 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
105 * src/lex.c (percent_table): Add tok_define.
106 * src/lex.h: Add tok_define.
108 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
110 * src/macrotab.c: New file.
111 * src/macrotab.h: New file.
112 * src/Makefile.am: Update.
114 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
116 * lib/hash.c: New file.
117 * lib/hash.h: New file.
118 * lib/Makefile.am: Update.
120 2001-08-15 Akim Demaille <akim@epita.fr>
124 2001-08-15 Marc Autret <autret_m@epita.fr>
126 * src/reader.c (readgram): Indent output macro YYSTYPE.
127 (packsymbols): Likewise.
128 (output_token_defines): Likewise.
129 * src/files.c: Standardize.
130 (compute_header_macro): New.
131 (defines_obstack_save): New. Use compute_header_macro.
132 (output_files): Update. Use defines_obstack_save.
134 2001-08-15 Akim Demaille <akim@epita.fr>
136 * doc/bison.texinfo (Table of Symbols): Document
139 2001-08-15 Akim Demaille <akim@epita.fr>
141 * missing: Update from CVS Automake.
142 * config/config.guess, config/config.sub, config/texinfo.tex:
145 2001-08-15 Akim Demaille <akim@epita.fr>
147 * Makefile.maint: Sync with CVS Autoconf.
149 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
151 * doc/bison.texinfo: Include GNU Free Documentation License from
153 * doc/fdl.texi: Add to package.
155 2001-08-14 Marc Autret <autret_m@epita.fr>
157 Turn on %{source,header}_extension features.
159 * src/lex.c (percent_table): Un-CPP out header_extension and
161 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
162 (compute_exts_from_src): Remove conditions. It restores priorities
165 2001-08-14 Marc Autret <autret_m@epita.fr>
167 * src/files.c (compute_base_names): Add extensions computing when
168 `--file-prefix' used.
169 Standardize function calls.
171 2001-08-13 Marc Autret <autret_m@epita.fr>
173 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
174 defining it (defined but null disables alloca).
176 2001-08-13 Marc Autret <autret_m@epita.fr>
178 * src/bison.simple (_yy_memcpy): CPP reformat.
180 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
182 * tests/atconfig.in (CPPFLAGS): Fix.
184 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
186 * doc/bison.texinfo: Include GNU General Public License from
188 * doc/gpl.texi: Add to package.
190 2001-08-10 Marc Autret <autret_m@epita.fr>
192 * src/print_graph.h: Fix.
193 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
195 2001-08-10 Akim Demaille <akim@epita.fr>
197 * src/system.h: Provide default declarations for stpcpy, strndup,
200 2001-08-10 Robert Anisko <anisko_r@epita.fr>
202 * doc/bison.texinfo (Locations): Update @$ stuff.
204 2001-08-09 Robert Anisko <anisko_r@epita.fr>
206 * src/bison.simple (YYLLOC_DEFAULT): Update.
209 2001-08-08 Marc Autret <autret_m@epita.fr>
211 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
212 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
213 Reported by Fabrice Bauzac.
215 2001-08-08 Marc Autret <autret_m@epita.fr>
217 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
218 * src/vcg.c (output_node): Fix.
219 * src/vcg.h: Cleanup.
220 * src/print_graph.c: Add comments.
221 (node_output_size): New global variable. Simplify the formatting of
222 the VCG graph output.
223 (print_actions): Unused code is now used. It notifies the final state
224 and no action states in the VCG graph. It also give the reduce actions.
225 The `shift and goto' edges are red and the `go to state' edges are
227 Get the current node name and node_obstack by argument.
228 (node_obstack): New variable.
229 (print_state): Manage node_obstack.
230 (print_core): Use node_obstack given by argument.
231 A node is not only computed here but in print_actions also.
232 (print_graph): CPP out useless code instead of commenting it.
234 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
236 * tests/atconfig.in (CPPFLAGS): Fix.
238 2001-08-07 Akim Demaille <akim@epita.fr>
240 * src/print_graph.c (quote): New.
241 (print_core): Use it.
243 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
245 * src/vcg.c (complain.h): Include it.
246 Unepitaize `return' invocations.
247 [NDEBUG] (main): Remove.
248 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
249 * src/files.c (open_files): Initialize graph_obstack.
250 * src/print_graph.c (print_actions): CPP out useless code.
251 (print_core): Don't output the last `\n' in labels.
253 * src/files.c (output_files): Output the VCG file.
254 * src/main.c (main): Invoke print_graph ();
256 2001-08-06 Marc Autret <autret_m@epita.fr>
258 Automaton VCG graph output.
259 Using option ``-g'' or long option ``--graph'', you can generate
260 a gram_filename.vcg file containing a VCG description of the LALR (1)
261 automaton of your grammar.
263 * src/main.c: Call to print_graph() function.
264 * src/getargs.h: Update.
265 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
266 (graph_flag): New flag.
268 (getargs): Add case `g'.
269 * src/files.c (graph_obstack): New obstack struct.
270 (open_files): Initialize new obstack.
271 (output_files): Saves graph_obstack if required.
272 * src/files.h (graph_obstack): New extern declaration.
273 * src/Makefile.am: Add new source files.
275 2001-08-06 Marc Autret <autret_m@epita.fr>
277 * src/print_graph.c, src/print_graph.h (graph): New.
278 * src/vcg.h: New file.
279 * src/vcg.c: New file, VCG graph handling.
281 2001-08-06 Marc Autret <autret_m@epita.fr>
283 Add of %source_extension and %header_extension which specify
284 the source or/and the header output file extension.
286 * src/files.c (compute_base_names): Remove initialisation of
287 src_extension and header_extension.
288 (compute_exts_from_gf): Update.
289 (compute_exts_from_src): Update.
290 (output_files): Update.
291 * src/reader.c (parse_header_extension_decl): New.
292 (parse_source_extension_decl): New.
293 (read_declarations): New case statements for the new tokens.
294 * src/lex.c (percent_table): Add entries for %source_extension
295 and %header_extension.
296 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
298 2001-08-06 Marc Autret <autret_m@epita.fr>
300 * configure.in: Bump to 1.28c.
301 * doc/bison.texinfo: Texinfo thingies.
303 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
305 * tests/atconfig.in (CPPFLAGS): Add.
306 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
308 2001-08-03 Akim Demaille <akim@epita.fr>
312 2001-08-03 Akim Demaille <akim@epita.fr>
314 * tests/Makefile.am (check-local): Ship testsuite.
315 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
318 2001-08-03 Akim Demaille <akim@epita.fr>
320 * configure.in: Try using -Wformat when compiling.
322 2001-08-03 Akim Demaille <akim@epita.fr>
324 * configure.in: Bump to 1.28b.
326 2001-08-03 Akim Demaille <akim@epita.fr>
328 * src/complain.c: Adjust strerror_r portability issues.
330 2001-08-03 Akim Demaille <akim@epita.fr>
334 2001-08-03 Akim Demaille <akim@epita.fr>
336 * src/getargs.c, src/getarg.h (skeleton)): Constify.
337 * src/lex.c (literalchar): Avoid name clashes on `buf'.
338 * src/getargs.c: Include complain.h.
339 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
340 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
342 2001-08-03 Akim Demaille <akim@epita.fr>
344 * src/reader.c (readgram): Display hidden chars in error messages.
346 2001-08-03 Akim Demaille <akim@epita.fr>
348 Update to gettext 0.10.39.
350 2001-08-03 Akim Demaille <akim@epita.fr>
354 2001-08-01 Marc Autret <autret_m@epita.fr>
356 * doc/bison.texinfo: Update.
357 * doc/bison.1 (mandoc): Update.
358 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
359 * src/files.c: Support output files extensions computing.
360 (src_extension): New static variable.
361 (header_extension): New static variable.
363 (get_extension_index): New function, gets the index of an extension
364 filename in a string.
365 (compute_exts_from_gf): New function, computes extensions from the
366 grammar file extension.
367 (compute_exts_from_src): New functions, computes extensions from the
368 C source file extension, file given by ``-o'' option.
369 (compute_base_names): Update.
370 (output_files): Update.
372 2001-08-01 Robert Anisko <anisko_r@epita.fr>
374 * doc/bison.texi: Document @$.
375 (Locations): New section.
377 2001-07-18 Akim Demaille <akim@epita.fr>
379 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
380 * config/prev-version.txt, config/move-if-change: New.
381 * Makefile.am: Adjust.
383 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
385 * src/bison.simple (yyparse): Suppress warning `comparaison
386 between signed and unsigned'.
388 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
390 * src/getargs.h (raw_flag): Remove.
391 * src/getargs.c: Die on `-r'/`--raw'.
392 * src/lex.c (parse_percent_token): Die on `%raw'.
393 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
394 * tests/calc.at: Suppress test with option `--raw'.
396 2001-07-14 Akim Demaille <akim@epita.fr>
399 * configure.in: Require Autoconf 2.50.
400 Update to gettext 0.10.38.
402 2001-03-16 Akim Demaille <akim@epita.fr>
404 * doc/bison.texinfo: ANSIfy the examples.
406 2001-03-16 Akim Demaille <akim@epita.fr>
408 * getargs.c (skeleton): New variable.
409 (longopts): --skeleton is a new option.
410 (shortopts, getargs): -S is a new option.
411 * getargs.h: Declare skeleton.
412 * output.c (output_parser): Use it.
414 2001-03-16 Akim Demaille <akim@epita.fr>
416 * m4/strerror_r.m4: New.
417 * m4/error.m4: Run AC_FUNC_STRERROR_R.
418 * lib/error.h, lib/error.c: Update.
420 2001-03-16 Akim Demaille <akim@epita.fr>
422 * src/getargs.c (longopts): Clean up.
424 2001-02-21 Akim Demaille <akim@epita.fr>
426 * src/reader.c (gensym): `gensym_count' is your own.
427 Use a static buf to create the symbol name, as token_buffer is no
430 2001-02-08 Akim Demaille <akim@epita.fr>
432 * src/conflicts.c (conflict_report): Be sure not to append to res
433 between two calls, which could happen if both first sprintf were
434 skipped, but not the first cp += strlen.
436 2001-02-08 Akim Demaille <akim@epita.fr>
438 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
439 New, from fileutils 4.0.37.
440 * configure.in: Require Autoconf 2.49c. I took some time before
441 making this decision. This is the only way out for portability
442 issues in Bison, it would mean way too much duplicate effort to
443 import in Bison features implemented in 2.49c since 2.13.
444 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
446 2001-02-02 Akim Demaille <akim@epita.fr>
448 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
449 * lib/xalloc.h, lib/xmalloc.c: Update.
451 2001-01-19 Akim Demaille <akim@epita.fr>
453 Get rid of the ad hoc handling of token_buffer in the scanner: use
456 * src/lex.c (token_obstack): New.
457 (init_lex): Initialize it. No longer call...
458 (grow_token_buffer): this. Remove it.
459 Adjust all the places which used it to use the obstack.
461 2001-01-19 Akim Demaille <akim@epita.fr>
463 * src/lex.h: Rename all the tokens:
464 s/\bENDFILE\b/tok_eof/g;
465 s/\bIDENTIFIER\b/tok_identifier/g;
467 Let them be enums, not #define, to ease debugging.
470 2001-01-18 Akim Demaille <akim@epita.fr>
472 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
473 * src/lex.c (maxtoken, grow_token_buffer): Static.
475 2001-01-18 Akim Demaille <akim@epita.fr>
477 Since we now use obstacks, more % directives can be enabled.
479 * src/lex.c (percent_table): Also accept `%yacc',
480 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
482 Handle the actions for `%semantic_parser' and `%pure_parser' here,
483 instead of returning a token.
484 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
485 * src/reader.c (read_declarations): Adjust.
486 * src/files.c (open_files): Don't call `compute_base_names', don't
487 compute `attrsfile' since they depend upon data which might be
488 *in* the input file now.
489 (output_files): Do it here.
490 * src/output.c (output_headers): Document the fact that this patch
491 introduces a guaranteed SEGV for semantic parsers.
492 * doc/bison.texinfo: Document them.
493 * tests/suite.at: Exercise these %options.
495 2000-12-20 Akim Demaille <akim@epita.fr>
497 Also handle the output file (--verbose) with obstacks.
499 * files.c (foutput): Remove.
500 (output_obstack): New.
501 Adjust all dependencies.
502 * src/conflicts.c: Return a string.
503 * src/system.h (obstack_grow_string): Rename as...
504 (obstack_sgrow): this. Be ready to work with non literals.
505 (obstack_fgrow4): New.
507 2000-12-20 Akim Demaille <akim@epita.fr>
509 * src/files.c (open_files): Fix the computation of short_base_name
510 in the case of `-o foo.tab.c'.
512 2000-12-20 Akim Demaille <akim@epita.fr>
514 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
515 (copy_dollar): Now that everything uses obstacks, get rid of the
518 2000-12-20 Akim Demaille <akim@epita.fr>
520 * src/files.c (open_files): Actually the `.output' file is based
521 on the short_base_name, not base_name.
522 * tests/suite.at (Checking output file names): Adjust.
524 2000-12-20 Akim Demaille <akim@epita.fr>
526 * src/bison.s1: Remove, we now use directly...
527 * src/bison.simple: this.
528 * src/Makefile.am: Use pkgdata instead of data.
530 2000-12-20 Akim Demaille <akim@epita.fr>
532 * src/files.c (guard_obstack): New.
533 (open_files): Initialize it.
534 (output_files): Dump it...
535 * src/files.h: Export it.
536 * src/reader.c (copy_guard): Use it.
538 2000-12-19 Akim Demaille <akim@epita.fr>
540 * src/files.c (outfile, defsfile, actfile): Removed as global
542 (open_files): Don't compute them.
543 (output_files): Adjust.
544 (base_name, short_base_name): Be global.
547 2000-12-19 Akim Demaille <akim@epita.fr>
549 * src/files.c (strsuffix): New.
550 (stringappend): Be just like strcat but allocate.
551 (base_names): Eve out from open_files.
552 Try to simplify the rather hairy computation of base_name and
554 (open_files): Use it.
555 * tests/suite.at (Checking output file names): New test.
557 2000-12-19 Akim Demaille <akim@epita.fr>
559 * src/system.h (obstack_grow_literal_string): Rename as...
560 (obstack_grow_string): this.
561 * src/output.c (output_parser): Recognize `%% actions' instead of
563 * src/bison.s1: s/$/%% actions/.
564 * src/bison.hairy: Likewise.
566 2000-12-19 Akim Demaille <akim@epita.fr>
568 * src/output.c (output_parser): Compute the `#line' lines when
570 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
571 Suggested by Hans Aberg.
573 2000-12-19 Akim Demaille <akim@epita.fr>
575 Let the handling of the skeleton files be local to the procedures
578 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
580 (fparser, open_extra_files): Remove.
581 (open_files, output_files): Don't take care of fparser.
582 * src/files.h: Adjust.
583 * src/output.c (output_parser): Open and close the file to the
585 * src/reader.c (read_declarations): When %semantic_parser, open
588 2000-12-19 Akim Demaille <akim@epita.fr>
590 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
591 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
593 2000-12-19 Akim Demaille <akim@epita.fr>
595 * src/files.c (open_files): Yipee! We no longer need all the code
596 looking for `/tmp' since we have no tmp file.
598 2000-12-19 Akim Demaille <akim@epita.fr>
600 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
602 * src/files.c (open_files): Less dependency on MSDOS etc.
604 2000-12-14 Akim Demaille <akim@epita.fr>
606 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
607 Provide a default definition.
608 Use it when executing the default @ action.
609 * src/reader.c (reader_output_yylsp): No longer include
610 `timestamp' and `text' in the default YYLTYPE.
612 2000-12-12 Akim Demaille <akim@epita.fr>
614 * src/reader.c (copy_definition, parse_union_decl, copy_action)
615 (copy_guard): Quote the file names.
616 Reported by Laurent Mascherpa.
618 2000-12-12 Akim Demaille <akim@epita.fr>
620 * src/output.c (output_headers, output_program, output): Be sure
621 to escape special characters when outputting filenames.
622 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
623 (output_headers): Don't depend on them, Use ACTSTR.
625 2000-11-17 Akim Demaille <akim@epita.fr>
627 * lib/obstack.h: Formatting changes.
628 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
629 prevents type checking.
630 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
631 cast the value to (void *): assigning a `foo *' to a `void *'
633 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
634 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
637 2000-11-17 Akim Demaille <akim@epita.fr>
639 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
641 (suite.m4, regression.m4, calc.m4): these.
642 * tests/atgeneral.m4: Update from CVS Autoconf.
644 2000-11-17 Akim Demaille <akim@epita.fr>
646 * tests/regression.m4 (%union and --defines): New test,
647 demonstrating a current bug in the obstack implementation.
649 2000-11-17 Akim Demaille <akim@epita.fr>
651 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
653 Use them to declare the variables which are global or local to
656 2000-11-17 Akim Demaille <akim@epita.fr>
658 * acconfig.h: Remove, no longer used.
660 2000-11-07 Akim Demaille <akim@epita.fr>
662 * src: s/Copyright (C)/Copyright/g.
664 2000-11-07 Akim Demaille <akim@epita.fr>
666 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
668 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
670 2000-11-07 Akim Demaille <akim@epita.fr>
672 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
673 Merge in a single CPP if/else.
675 2000-11-07 Akim Demaille <akim@epita.fr>
677 * src/output.c (output): Remove useless variables.
678 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
679 argument `data' for consistency with the prototypes.
681 (obstack_copy, obstack_copy0): Rename the second argument as
682 `address' for consistency. Qualify it `const'.
683 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
684 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
685 `const' their input argument (`data' or `address').
686 Adjust the corresponding macros to include `const' in casts.
688 2000-11-03 Akim Demaille <akim@epita.fr>
690 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
691 s/PFILE1/BISON_HAIRY/.
694 2000-11-03 Akim Demaille <akim@epita.fr>
696 For some reason, this was not applied.
698 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
699 `unlink': it's no longer used.
701 2000-11-03 Akim Demaille <akim@epita.fr>
703 * src/files.c (skeleton_find): New function, eved out of...
704 (open_files, open_extra_files): here.
706 2000-11-03 Akim Demaille <akim@epita.fr>
710 * src/files.c (obstack_save): New function.
712 (output_files): this.
714 * src/main.c (main): Don't use `atexit' to register `done', since
715 it no longer has to remove tmp files, just call `output_files'
716 when there are no errors.
718 2000-11-02 Akim Demaille <akim@epita.fr>
720 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
721 `unlink': it's no longer used.
722 * src/files.h: Formatting changes.
724 2000-11-02 Akim Demaille <akim@epita.fr>
726 Remove the last uses of mktemp and unlink/delete.
728 * src/files.c (fdefines, ftable): Removed.
729 (defines_ostack, table_obstack): New.
730 Adjust dependencies of the former into uses of the latter.
731 * src/output.c (output_short_or_char_table, output_short_table):
732 Convert to using obstacks.
733 * src/reader.c (copy_comment2): Accept one FILE * and two
735 (output_token_defines, reader_output_yylsp): Use obstacks.
736 * src/system.h (obstack_fgrow3): New.
738 2000-11-01 Akim Demaille <akim@epita.fr>
740 Change each use of `fattrs' into a use of `attrs_obstack'.
742 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
743 * src/files.c (fattrs): Remove.
744 (attrs_obstack): New.
745 Adjust all dependencies.
746 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
748 2000-11-01 Akim Demaille <akim@epita.fr>
751 Change each use of `faction' into a use of `action_obstack'.
753 * lib/obstack.h, lib/obstack.c: New files.
754 * src/files.c (faction): Remove.
755 (action_obstack): New.
756 Adjust all dependencies.
758 2000-10-20 Akim Demaille <akim@epita.fr>
760 * lib/quote.h (PARAMS): New macro. Use it.
762 2000-10-16 Akim Demaille <akim@epita.fr>
764 * src/output.c (output_short_or_char_table): New function.
765 (output_short_table, output_token_translations): Use it.
766 (goto_actions): Use output_short_table.
768 2000-10-16 Akim Demaille <akim@epita.fr>
770 * src/symtab.c (bucket_new): New function.
773 * src/output.c (output_short_table): New argument to display the
774 comment associated with the table.
776 (output_gram): Use it.
777 (output_rule_data): Nicer output layout for YYTNAME.
779 2000-10-16 Akim Demaille <akim@epita.fr>
781 * src/lex.c (read_typename): New function.
783 * src/reader.c (copy_dollar): Likewise.
785 2000-10-16 Akim Demaille <akim@epita.fr>
787 * src/reader.c (copy_comment2): Expect the input stream to be on
788 the `/' which is suspected to open a comment, instead of being
789 called after `//' or `/*' was read.
790 (copy_comment, copy_definition, parse_union_decl, copy_action)
791 (copy_guard): Adjust.
793 2000-10-16 Akim Demaille <akim@epita.fr>
795 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
796 `read_signed_integer'.
798 2000-10-16 Akim Demaille <akim@epita.fr>
800 * src/reader.c (copy_dollar): New function.
801 (copy_guard, copy_action): Use it.
803 2000-10-16 Akim Demaille <akim@epita.fr>
805 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
806 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
807 New files, from Fileutils 4.0.27.
808 * src/main.c (printable_version): Remove.
809 * src/lex.c, src/reader.c: Use `quote'.
811 2000-10-04 Akim Demaille <akim@epita.fr>
813 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
815 2000-10-04 Akim Demaille <akim@epita.fr>
817 * doc/bison.texinfo: Various typos spotted by Neil Booth.
819 2000-10-04 Akim Demaille <akim@epita.fr>
821 When a literal string is used to define two different tokens,
822 `bison -v' segfaults.
823 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
825 * tests/regression.m4: New file.
826 Include the core of the sample provided by Piotr Gackiewicz.
827 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
830 2000-10-04 Akim Demaille <akim@epita.fr>
832 * src/reader.c (parse_expect_decl): Keep `count' within the size
836 2000-10-02 Paul Eggert <eggert@twinsun.com>
838 * bison.s1 (yyparse): Assign the default value
839 unconditionally, to avoid a GCC warning and make the parser a
842 2000-10-02 Akim Demaille <akim@epita.fr>
844 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
847 2000-10-02 Akim Demaille <akim@epita.fr>
849 * src/derives.c, src/print.c, src/reduce.c: To ease the
850 translation, move some `\n' out of the translated strings.
852 2000-10-02 Akim Demaille <akim@epita.fr>
854 The location tracking mechanism is precious for parse error
855 messages. Nevertheless, it is enabled only when `@n' is used in
856 the grammar, which is a different issue (you can use it in error
857 message, but not in the grammar per se). Therefore, there should
858 be another means to enable it.
860 * src/getargs.c (getargs): Support `--locations'.
862 * src/getargs.h (locationsflag): Export it.
863 * src/lex.c (percent_table): Support `%locations'.
864 * src/reader.c (yylsp_needed): Remove this variable, now replaced
865 with `locationsflag'.
866 * doc/bison.texinfo: Document `--locations' and `%locations'.
868 * tests/calc.m4: Test it.
870 For regularity of the names, replace each
871 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
872 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
873 In addition replace each `flag' with `_flag'.
875 2000-10-02 Akim Demaille <akim@epita.fr>
877 Also test parse error messages, including with YYERROR_VERBOSE.
879 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
881 Use it to check the computations.
882 Use it to check `nonassoc' is honored.
883 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
885 (_AT_CHECK_CALC): Adjust to this option.
886 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
888 2000-10-02 Akim Demaille <akim@epita.fr>
890 Test also `--verbose', `--defines' and `--name-prefix'. Testing
891 the latter demonstrates a flaw in the handling of non debugging
892 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
893 was used in order to simplify:
909 unfortunately this leads to a CPP conflict when
910 `--name-prefix=foo' is used since it produces `#define yydebug
913 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
914 (YYDPRINTF): New macro.
916 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
918 Also test `--verbose', `--defines' and `--name-prefix'.
920 2000-10-02 Akim Demaille <akim@epita.fr>
922 Improve the readability of the produced parsers.
924 * src/bison.s1: Formatting changes.
925 Improve the comment related to the `$' mark.
926 (yydefault): Don't fall through to `yyresume': `goto' there.
927 * src/output.c (output_parser): When the `$' is met, skip the end
929 New variable, `number_of_dollar_signs', to check there's exactly
930 one `$' in the parser skeleton.
932 2000-10-02 Akim Demaille <akim@epita.fr>
934 * lib/xstrdup.c: New file, from the fileutils.
935 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
936 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
937 instead of strlen + xmalloc + strcpy.
938 * src/symtab.c (copys): Remove, use xstrdup instead.
940 2000-10-02 Akim Demaille <akim@epita.fr>
942 * src/gram.h (associativity): New enum type which replaces the
943 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
944 `right_assoc', `left_assoc' and `non_assoc'.
945 Adjust all dependencies.
946 * src/reader.c: Formatting changes.
947 (LTYPESTR): Don't define it, use it as a literal in
948 `reader_output_yylsp'.
949 * src/symtab.h (symbol_class): New enum type which replaces the
950 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
951 `sunknown', `stoken and `snterm'.
953 2000-10-02 Akim Demaille <akim@epita.fr>
955 * src/getargs.c (fixed_outfiles): Rename as...
956 (yaccflag): for consistency and accuracy.
959 2000-10-02 Akim Demaille <akim@epita.fr>
961 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
962 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
963 difficult and introduced a lot of core dump. It turns out that
964 Bison used an implementation of `xmalloc' based on `calloc', and
965 at various places it does depend upon the initialization to 0. I
966 have not tried to isolate the pertinent places, and all the former
967 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
968 someone should address this issue.
970 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
971 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
974 * src/warshall.h: New file.
977 2000-10-02 Akim Demaille <akim@epita.fr>
979 Various anti-`extern in *.c' changes.
981 * src/system.h: Include `assert.h'.
983 2000-10-02 Akim Demaille <akim@epita.fr>
985 * src/state.h (nstates, final_state, first_state, first_shift)
986 (first_reduction): Move their exportation from here...
987 * src/LR0.h: to here.
989 * src/getargs.c (statisticsflag): New variable.
990 Add support for `--statistics'.
993 Remove a lot of now useless `extern' statements in most files.
995 2000-10-02 Akim Demaille <akim@epita.fr>
997 * src/LR0.h: New file.
1000 2000-10-02 Akim Demaille <akim@epita.fr>
1002 * src/print.h: New file.
1004 * src/print.c: Formatting and ordering changes.
1005 (verbose, terse): Replace with...
1006 (print_results): this new function.
1007 Adjust dependencies.
1009 2000-10-02 Akim Demaille <akim@epita.fr>
1011 * src/conflicts.c (conflict_report): New function.
1012 (conflict_log, verbose_conflict_log): Replace with...
1013 (print_conflicts): this function.
1014 Adjust dependencies.
1015 * src/conflicts.h: New file.
1016 Propagate its inclusion.
1018 2000-10-02 Akim Demaille <akim@epita.fr>
1020 * src/nullable.h: New file.
1021 Propagate its inclusion.
1022 * src/nullable.c: Formatting changes.
1024 2000-10-02 Akim Demaille <akim@epita.fr>
1026 * src/reduce.h: New file.
1027 Propagate its inclusion.
1028 * src/reduce.c: Topological sort and other formatting changes.
1029 (bool, TRUE, FALSE): Move their definition to...
1030 * src/system.h: here.
1032 2000-10-02 Akim Demaille <akim@epita.fr>
1034 * src/files.c: Formatting changes.
1035 (tryopen, tryclose, openfiles): Rename as...
1036 (xfopen, xfclose, open_files): this.
1037 (stringappend): static.
1038 * src/files.h: Complete the list of exported symbols.
1041 2000-10-02 Akim Demaille <akim@epita.fr>
1043 * src/reader.h: New file.
1044 Propagate its use instead of tedious list of `extern' and
1046 * src/reader.c: Formatting changes, topological sort,
1049 2000-10-02 Akim Demaille <akim@epita.fr>
1051 * src/lex.h: Prototype `lex.c' exported functions.
1052 * src/reader.c: Adjust.
1053 * src/lex.c: Formatting changes.
1054 (safegetc): Rename as...
1057 2000-10-02 Akim Demaille <akim@epita.fr>
1059 * src/lalr.h: New file.
1060 Propagate its inclusion instead of prototypes and `extern'.
1061 * src/lalr.c: Formatting changes, topological sorting etc.
1063 2000-10-02 Akim Demaille <akim@epita.fr>
1065 * src/output.c (token_actions): Introduce a temporary array,
1066 YYDEFACT, that makes it possible for this function to use
1069 2000-10-02 Akim Demaille <akim@epita.fr>
1071 `user_toknums' is output as a `short[]' in `output.c', while it is
1072 defined as a `int[]' in `reader.c'. For consistency with the
1073 other output tables, `user_toknums' is now defined as a table of
1076 * src/reader.c (user_toknums): Be a short table instead of an int
1078 Adjust dependencies.
1080 Factor the short table outputs.
1082 * src/output.c (output_short_table): New function.
1083 * src/output.c (output_gram, output_stos, output_rule_data)
1084 (output_base, output_table, output_check): Use it.
1086 2000-10-02 Akim Demaille <akim@epita.fr>
1088 * src/output.c (output): Topological sort of the functions, in
1089 order to get rid of the `static' prototypes.
1090 No longer use `register'.
1091 * src/output.h: New file.
1092 Propagate its inclusion in files explicitly prototyping functions
1095 2000-09-21 Akim Demaille <akim@epita.fr>
1097 * src/atgeneral.m4: Update from Autoconf.
1099 2000-09-21 Akim Demaille <akim@epita.fr>
1101 * src/closure.h: New file.
1102 * src/closure.c: Formatting changes, topological sort over the
1103 functions, use of closure.h.
1104 (initialize_closure, finalize_closure): Rename as...
1105 (new_closure, free_closure): these. Adjust dependencies.
1106 * src/LR0.c: Formatting changes, topological sort, use of
1108 (initialize_states): Rename as...
1110 * src/Makefile.am (noinst_HEADERS): Adjust.
1112 2000-09-20 Akim Demaille <akim@epita.fr>
1114 * src/acconfig.h: Don't protect config.h against multiple
1116 Don't define PARAMS.
1117 * src/system.h: Define PARAMS.
1118 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1119 purpose of config.h. system.h must not try to fix wrong
1120 definitions in config.h.
1122 2000-09-20 Akim Demaille <akim@epita.fr>
1124 * src/derives.h: New file.
1125 * src/main.c, src/derives.h: Use it.
1127 * src/Makefile.am (noinst_HEADERS): Adjust.
1129 2000-09-20 Akim Demaille <akim@epita.fr>
1131 * tests/atgeneral.m4: Update from Autoconf.
1132 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1133 (AT_CHECK_CALC): New macros.
1134 Use these macros to test bison with options `', `--raw',
1135 `--debug', `--yacc', `--yacc --debug'.
1137 2000-09-19 Akim Demaille <akim@epita.fr>
1139 * src/output.c: Formatting changes.
1140 * src/machine.h: Remove, leaving its contents in...
1141 * src/system.h: here.
1143 Adjust all dependencies on stdio.h and machine.h.
1144 * src/getargs.h: New file.
1145 Let all `extern' declarations about getargs.c be replaced with
1146 inclusion of `getargs.h'.
1147 * src/Makefile.am (noinst_HEADERS): Adjust.
1149 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1151 (yyerror): Returns void, not int.
1152 * doc/bison.texinfo: Formatting changes.
1154 2000-09-19 Akim Demaille <akim@epita.fr>
1156 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1159 2000-09-18 Akim Demaille <akim@epita.fr>
1161 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1162 * src/Makefile.am (INCLUDES): Don't.
1163 Be ready to fetch headers in lib/.
1165 2000-09-18 Akim Demaille <akim@epita.fr>
1167 * doc/bison.texinfo: Update the copyright.
1168 ANSIfy and GNUify the examples.
1169 Remove the old menu.
1171 2000-09-18 Akim Demaille <akim@epita.fr>
1173 First set of tests: use the `calc' example from the documentation.
1175 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1176 is defined only when YYDEBUG is.
1177 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1178 * src/files.c (tryopen, tryclose): Formatting changes.
1179 Move to the top and be static.
1180 * src/reader.c (read_signed_integer): Likewise.
1181 * tests/calc.m4: New file.
1182 * Makefile.am, suite.m4: Adjust.
1183 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1185 2000-09-18 Akim Demaille <akim@epita.fr>
1187 Add support for an Autotest test suite for Bison.
1189 * m4/m4.m4, m4/atconfig.m4: New files.
1190 * m4/Makefile.am (EXTRA_DIST): Adjust.
1191 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1193 * src/getargs.c: Display a more standard --version message.
1194 * src/reader.c (reader): Formatting changes.
1195 No longer depend upon VERSION_STRING.
1196 * configure.in: No longer use `dnl'.
1197 Set up the test suite and the new directory `tests/.
1198 (VERSION_STRING): Remove.
1200 2000-04-14 Akim Demaille <akim@epita.fr>
1202 * src/reader.c (copy_comment2): New function, same as former
1203 `copy_comment', but outputs into two FILE *.
1204 (copy_comment): Use it.
1205 (parse_union_decl): Use it.
1206 (get_type, parse_start_decl): Use the same `invalid' message.
1207 (parse_start_decl, parse_union_decl): Use the same `multiple'
1209 (parse_union_decl, copy_guard, copy_action): Use the same
1210 `unmatched' message.
1211 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1213 2000-03-31 Akim Demaille <akim@epita.fr>
1215 * src/files.c (tryopen, tryclose): Move to the top.
1218 2000-03-31 Akim Demaille <akim@epita.fr>
1220 * src/main.c (main): Don't call `done', exit does it.
1222 2000-03-31 Akim Demaille <akim@epita.fr>
1224 * allocate.c: s/return (foo)/return foo/.
1227 * output.c: Likewise.
1228 * reader.c: Likewise.
1229 * symtab.c: Likewise.
1230 * vmsgetargs.c: Likewise.
1232 2000-03-31 Akim Demaille <akim@epita.fr>
1234 Clean up the error reporting functions.
1236 * src/report.c: New file.
1237 * src/report.h: Likewise.
1238 * src/Makefile.am: Adjust.
1239 * m4/error.m4: New file.
1240 * m4/Makefile.am: Adjust.
1241 * configure.in (jm_PREREQ_ERROR): Call it.
1242 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1244 (fatal, fatals): Remove. All callers use complain.c::fatal.
1245 (warn, warni, warns, warnss, warnss): Remove. All callers use
1246 complain.c::complain.
1247 (toomany): Remove, use fatal instead.
1248 * src/files.c (done): No argument, use complain_message_count.
1249 * src/main.c (main): Register `done' to `atexit'.
1251 * src/getargs.c (usage): More `fputs', less `fprintf'.
1253 2000-03-28 Akim Demaille <akim@epita.fr>
1255 * lib/: New directory.
1256 * Makefile.am (SUBDIRS): Adjust.
1257 * configure.in: Adjust.
1258 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1260 * src/alloca.c: Moved to lib/.
1261 * src/getopt.c: Likewise.
1262 * src/getopt1.c: Likewise.
1263 * src/getopt.h: Likewise.
1264 * src/ansi2knr.c: Likewise.
1265 * src/ansi2knr.1: Likewise.
1266 * src/Makefile.am: Adjust.
1267 * lib/Makefile.am: New file.
1269 2000-03-28 Akim Demaille <akim@epita.fr>
1271 * src/getargs.c (usage): Refresh the help message.
1273 2000-03-17 Akim Demaille <akim@epita.fr>
1275 * src/getopt1.c: Updated from textutils 2.0e
1276 * src/getopt.c: Likewise.
1277 * src/getopt.h: Likewise.
1279 2000-03-17 Akim Demaille <akim@epita.fr>
1281 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1282 the file name, not the whole `#line LINE FILE'.
1284 2000-03-17 Akim Demaille <akim@epita.fr>
1286 On syntax errors, report the token on which we choked.
1288 * src/bison.s1 (yyparse): In the label yyerrlab, when
1289 YYERROR_VERBOSE, add yychar in msg.
1291 2000-03-17 Akim Demaille <akim@epita.fr>
1293 * src/reader.c (copy_at): New function.
1294 (copy_guard): Use it.
1295 (copy_action): Use it.
1297 2000-03-17 Akim Demaille <akim@epita.fr>
1299 Be kind to translators, save some useless translations.
1301 * src/main.c (banner): New function.
1302 (fatal_banner): Use it.
1303 (warn_banner): Use it.
1305 2000-03-17 Akim Demaille <akim@epita.fr>
1307 * src/reader.c (copy_definition): Use copy_string and
1308 copy_comment. Removed now unused `match', `ended',
1310 (copy_comment, copy_string): Moved, to be visible from
1313 2000-03-17 Akim Demaille <akim@epita.fr>
1315 * src/reader.c (copy_string): Declare `static inline'. No
1316 problems with inline, since it is checked by configure.
1317 (copy_comment): Likewise.
1319 2000-03-17 Akim Demaille <akim@epita.fr>
1321 * src/reader.c (packsymbols): Formatting changes.
1323 2000-03-17 Akim Demaille <akim@epita.fr>
1325 * src/reader.c (copy_comment): New function, factored out from:
1326 (copy_action): Use it. Removed now unused `match', `ended',
1328 (copy_guard): Likewise.
1330 2000-03-17 Akim Demaille <akim@epita.fr>
1332 * src/reader.c (copy_string): New function, factored out from:
1333 (copy_action): Use it.
1334 (copy_guard): Likewise.
1336 2000-03-17 Akim Demaille <akim@epita.fr>
1338 Change the handling of @s so that they behave exactly like $s.
1339 There is now a pseudo variable @$ (readble and writable), location
1340 of the lhs of the rule (by default ranging from the location of
1341 the first symbol of the rhs, to the location of the last symbol,
1342 or, if the rhs is empty, YYLLOC).
1344 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1346 (yyparse): When providing a default semantic action, provide a
1347 default location action.
1348 (after the $): No longer change `*YYLSP', just stack YYLOC the
1349 same way you stack YYVAL.
1350 * src/reader.c (read_declarations): Use warns.
1351 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1352 (copy_action, case '@'): Likewise.
1353 Use a standard error message, to save useless work from
1356 2000-03-17 Akim Demaille <akim@epita.fr>
1358 * src/bison.s1: Formatting and cosmetics changes.
1359 * src/reader.c: Likewise.
1360 Update the Copyright notice.
1362 2000-03-17 Akim Demaille <akim@epita.fr>
1364 * src/bison.s1 (#line): All set to `#line' only, since the
1365 Makefile now handles them.
1367 2000-03-16 Akim Demaille <akim@epita.fr>
1369 * src/output.c (output_rule_data): Output the documentation of
1371 (Copyright notice): Update.
1374 2000-03-16 Akim Demaille <akim@epita.fr>
1376 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1377 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1378 One `#if YYDEBUG' remains, since it uses variables which are
1379 defined only if `YYDEBUG != 0'.
1381 2000-03-16 Akim Demaille <akim@epita.fr>
1383 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1384 and related variables so that the similarities are highlighted.
1386 2000-03-16 Akim Demaille <akim@epita.fr>
1388 * src/bison.s1: Properly indent CPP directives.
1390 2000-03-16 Akim Demaille <akim@epita.fr>
1392 * src/bison.s1: Properly indent the `alloca' CPP section.
1394 2000-03-16 Akim Demaille <akim@epita.fr>
1396 Do not hard code values of directories in `configure.in'.
1397 Update the `configure' tool chain.
1399 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1401 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1402 (AC_OUTPUT): Add m4/Makefile.
1403 Bump to bison 1.28a, 1.29 has never been released.
1404 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1405 handled via src/Makefile.am.
1406 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1407 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1409 * Makefile.am (SUBDIRS): Add m4.
1410 (ACLOCAL_AM_FLAGS): New variable.
1411 (AUTOMAKE_OPTIONS): Add check-news.
1412 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1413 the proper line number and file name.
1414 (DEFS): Propagate the location of bison library files and of the
1416 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1418 * acinclude.m4: Remove, replaced by the directory m4.
1419 * m4/Makefile.am (EXTRA_DIST): New variable.
1420 * m4/gettext.m4: New file, from the fileutils.
1421 * m4/lcmessage.m4: Likewise
1422 * m4/progtest.m4: Likewise.
1423 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1425 2000-03-10 Akim Demaille <akim@epita.fr>
1428 Formatting changes of various comments.
1429 Respect the GNU coding standards at various places.
1430 Don't use `_()' when no translation is needed.
1432 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1435 OS/2 honors TMPDIR environment variable.
1437 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1439 * doc/bison.texinfo: Tweaked spelling and grammar.
1441 Removed reference to price of printed copy.
1442 Mention BISON_SIMPLE and BISON_HAIRY.
1444 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1446 * configure.in, NEWS:
1447 Bison 1.29 released.
1449 1999-10-27 Jesse Thilo <jthilo@gnu.org>
1451 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1452 Added reference card.
1454 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1456 * po/ru.po: Added Russian translation.
1458 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1460 * configure.in: Added Russian translation.
1462 1999-07-06 Jesse Thilo <jthilo@gnu.org>
1464 * configure.in, NEWS, README:
1465 Released version 1.28.
1467 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1470 Squashed redefinition warning on some systems.
1472 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1473 Have configure build version string instead of relying on ANSI string
1476 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1478 * po/POTFILES.in: Got rid of version.c.
1480 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1482 * acconfig.h, configure.in:
1483 Have configure build version string instead of relying on ANSI string
1486 1999-06-08 Jesse Thilo <jthilo@gnu.org>
1489 Dropped mention of `+' for long-named options.
1491 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1493 * src/files.c: Added <unistd.h> for unlink().
1495 * src/Makefile.am, src/system.h:
1498 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1500 * README: Added a FAQ list.
1502 * configure.in, acconfig.h:
1505 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1507 * doc/FAQ, doc/Makefile.am:
1510 1999-05-19 Jesse Thilo <jthilo@gnu.org>
1512 * src/alloc.h, src/symtab.h, src/version.c:
1513 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1515 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1517 * src/.cvsignore, src/Makefile.am:
1518 Reorganized: sources in `src', documentation in `doc'.
1520 * src/lex.c (literalchar):
1521 fixed the code for escaping double quotes (thanks
1524 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1526 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1527 Adjusted paths to reflect directory reorganization.
1529 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1531 * doc/.cvsignore, doc/Makefile.am:
1532 Reorganized: sources in `src', documentation in `doc'.
1534 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1537 Updated AC_INIT file to reflect directory reorganization.
1539 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1540 Reorganized: sources in `src', documentation in `doc'.
1542 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1545 Don't declare calloc() and realloc() if not necessary.
1547 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1549 * configure.in, acconfig.h, acinclude.m4:
1550 Don't declare calloc() and realloc() if not necessary.
1552 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1554 * po/.cvsignore: Added i18n support.
1556 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1558 * acconfig.h, configure.in, Makefile.am:
1561 1999-03-22 Jesse Thilo <jthilo@gnu.org>
1563 * src/bison.s1: Fixed #line numbers.
1565 1999-03-15 Jesse Thilo <jthilo@gnu.org>
1567 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1568 Added PO files from Translation Project.
1570 1999-03-03 Jesse Thilo <jthilo@gnu.org>
1573 Added support for non-ANSI compilers (ansi2knr).
1575 1999-02-16 Jesse Thilo <jthilo@gnu.org>
1577 * configure.in: Bumped version number to 1.27.
1580 Added `bison.simple' to list of files removed by `make distclean'.
1582 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1584 * src/files.c, src/files.h:
1585 Defined locations of parser files in config.h instead of Makefile.
1587 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1589 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1590 Defined locations of parser files in config.h instead of Makefile.
1592 1999-02-09 Jesse Thilo <jthilo@gnu.org>
1595 Removed inappropriate use of $< macro.
1597 1999-02-05 Jesse Thilo <jthilo@gnu.org>
1599 * po/Makefile.in.in, po/POTFILES.in:
1600 Add `po' directory skeleton.
1602 1999-01-27 Jesse Thilo <jthilo@gnu.org>
1604 * README: Document help-bison list.
1606 * configure.in: Add check for mkstemp().
1608 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1610 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1611 Hush a few compiler warnings.
1614 Add tryclose(), which verifies that fclose was successful.
1615 Hush a couple of compiler warnings.
1617 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1619 * Makefile.am, OChangeLog:
1620 ChangeLog is now automatically generated. Include the old version as
1623 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1625 * 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:
1628 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1630 * doc/bison.texinfo: Fix formatting glitch.
1632 * doc/bison.texinfo: Update FSF address.
1634 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1636 * acconfig.h: Update FSF address.
1638 1999-01-08 Jesse Thilo <jthilo@gnu.org>
1641 Don't define PACKAGE here, since config.h defines it.
1643 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1645 * src/reader.c: Update copyright date.
1648 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1649 favor of output directly to stderr (avoids buffer overruns).
1651 * src/reader.c: Some checks for premature EOF.
1653 * 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:
1654 Use prototypes if the compiler understands them.
1656 * src/files.c: Honor TMPDIR on Unix hosts.
1657 Use prototypes if the compiler understands them.
1660 Fix a couple of buffer overrun bugs.
1661 Use prototypes if the compiler understands them.
1663 * src/system.h: Include unistd.h and ctype.h.
1664 Use #ifdef instead of #if for NLS symbols.
1666 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1668 * doc/bison.texinfo:
1669 Delete comment "consider using @set for edition number, etc..." since
1670 we now are doing so.
1672 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1675 Use prototypes if the compiler understands them.
1677 * NEWS: Document 1.26 highlights.
1679 * Makefile.am: Require Automake 1.3 or later.
1682 Use prototypes if the compiler understands them.
1684 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1687 Use VERSION symbol from automake for version number.
1689 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1691 * acconfig.h, configure.in, version.cin:
1692 Use VERSION symbol from automake for version number.
1694 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1697 Distribute original version of simple parser (bison.s1), not built
1698 version (bison.simple).
1700 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1702 * doc/bison.texinfo: Add info dir entry.
1704 * doc/bison.texinfo:
1705 Let automake put version number into documentation.
1707 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1709 * src/bison.cld, src/build.com, src/vmshlp.mar:
1710 Add non-RCS files from /gd/gnu/bison.
1712 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1715 Document the BISON_HAIRY and BISON_SIMPLE variables.
1717 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1719 * src/version.c: Build version.c automatically.
1722 Fix token numbering (used to start at 258, not 257).
1724 * src/system.h: Include config.h.
1726 * src/getargs.c: Update bug report address.
1728 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1729 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1731 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1734 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1736 * configure.in, version.cin:
1737 Build version.c automatically.
1739 * AUTHORS: Add AUTHORS file.
1741 * README: Update bug report address.
1744 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1746 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1749 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1751 * doc/bison.texinfo: Clean up some formatting.
1753 1998-05-05 Richard Stallman <rms@gnu.org>
1755 * doc/bison.texinfo:
1756 Explain better why to make a pure parser.
1758 1998-01-05 Richard Stallman <rms@gnu.org>
1760 * src/files.c (openfiles):
1761 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1762 find a temporary directory, if possible. Do not unlink files while
1765 1997-08-25 Richard Stallman <rms@gnu.org>
1767 * src/reader.c (stack_offset;):
1768 Change some warni to warns.
1770 * src/lex.c (literalchar): Use warns, not warni.
1772 1997-06-28 Richard Stallman <rms@gnu.org>
1774 * src/bison.s1: Add a Bison version comment.
1776 * src/main.c (fatal, warn, berror):
1779 1997-06-28 Richard Stallman <rms@gnu.org>
1781 * Makefile.in (bison_version): New variable.
1782 (dist): Use that variable.
1783 (bison.s1): Substitute the Bison version into bison.simple.
1785 * bison.simple: Add a Bison version comment.
1787 1997-06-18 Richard Stallman <rms@gnu.org>
1789 * src/main.c (fatal, warn, berror):
1790 Make error messages standard.
1791 (toomany): Improve error message text.
1793 * 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:
1794 new.h renamed to alloc.h.
1796 1997-06-18 Richard Stallman <rms@gnu.org>
1798 * Makefile.in: new.h renamed to alloc.h.
1800 1997-05-24 Richard Stallman <rms@gnu.org>
1802 * src/lex.c (literalchar):
1803 Fix the code for escaping \, " and '.
1805 (lex): Avoid trouble when there are many chars
1806 to discard in a char literal with just several chars in it.
1808 1997-05-17 Richard Stallman <rms@gnu.org>
1811 Use malloc, if using alloca is troublesome.
1812 (YYSTACK_USE_ALLOCA): New flag macro.
1813 Define it for some systems and compilers.
1814 (YYSTACK_ALLOC): New macro.
1815 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1816 If it was malloc'd, free it.
1818 1997-05-17 Richard Stallman <rms@gnu.org>
1821 Use malloc, if using alloca is troublesome.
1822 (YYSTACK_USE_ALLOCA): New flag macro.
1823 Define it for some systems and compilers.
1824 (YYSTACK_ALLOC): New macro.
1825 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1826 If it was malloc'd, free it.
1828 1997-04-23 Richard Stallman <rms@gnu.org>
1831 (alloca) [__hpux]: Always define as __builtin_alloca.
1833 1997-04-23 Richard Stallman <rms@gnu.org>
1836 (alloca) [__hpux]: Always define as __builtin_alloca.
1838 1997-04-22 Richard Stallman <rms@gnu.org>
1841 [__hpux]: Include alloca.h (right for HPUX 10)
1842 instead of declaring alloca (right for HPUX 9).
1844 * src/bison.s1 (__yy_memcpy):
1845 Declare arg `count' as unsigned int.
1846 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1848 1997-04-22 Richard Stallman <rms@gnu.org>
1851 [__hpux]: Include alloca.h (right for HPUX 10)
1852 instead of declaring alloca (right for HPUX 9).
1854 * bison.simple (__yy_memcpy):
1855 Declare arg `count' as unsigned int.
1856 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1858 1997-01-03 Richard Stallman <rms@gnu.org>
1860 * src/allocate.c: [__STDC__ or _MSC_VER]:
1861 Declare calloc and realloc to return void *.
1863 1997-01-02 Richard Stallman <rms@gnu.org>
1866 [_MSC_VER]: Include stdlib.h and process.h.
1867 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1869 * src/main.c (main): Return FAILURE as a value.
1870 (printable_version): Declare arg as int, not char.
1872 1997-01-02 Richard Stallman <rms@gnu.org>
1874 * Makefile.in (dist):
1875 Explicitly check for symlinks, and copy them.
1877 1996-12-19 Richard Stallman <rms@gnu.org>
1880 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1882 1996-12-18 Paul Eggert <eggert@gnu.org>
1884 * src/bison.s1 (yyparse):
1885 If __GNUC__ and YYPARSE_PARAM are both defined,
1886 declare yyparse to have a void * argument.
1888 1996-12-18 Paul Eggert <eggert@gnu.org>
1890 * bison.simple (yyparse):
1891 If __GNUC__ and YYPARSE_PARAM are both defined,
1892 declare yyparse to have a void * argument.
1894 1996-12-17 Richard Stallman <rms@gnu.org>
1896 * src/reduce.c (nbits): Add some casts.
1898 1996-08-12 Richard Stallman <rms@gnu.org>
1900 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1902 1996-08-12 Richard Stallman <rms@gnu.org>
1904 * bison.simple: Test _MSDOS as well as _MSDOS_.
1906 1996-07-31 Richard Stallman <rms@gnu.org>
1909 [__sun && __i386]: Include alloca.h.
1911 1996-07-31 Richard Stallman <rms@gnu.org>
1914 [__sun && __i386]: Include alloca.h.
1916 1996-07-30 Richard Stallman <rms@gnu.org>
1918 * src/bison.s1: Comment change.
1920 * src/bison.s1: Test _MSDOS_, not MSDOS.
1922 1996-07-30 Richard Stallman <rms@gnu.org>
1924 * bison.simple: Comment change.
1926 * bison.simple: Test _MSDOS_, not MSDOS.
1928 1996-06-01 Richard Stallman <rms@gnu.org>
1930 * 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:
1931 Insert `_' macro around many string constants.
1934 Insert `_' macro around many string constants.
1936 (main): Call setlocale, bindtextdomain and textdomain.
1938 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1939 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1940 [ENABLE_NLS]: Include libintl.h.
1941 [ENABLE_NLS] (gettext): Define.
1942 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1943 (N_, PACKAGE, LOCALEDIR): New macros.
1945 1996-06-01 Richard Stallman <rms@gnu.org>
1947 * POTFILES.in: New file.
1949 * Makefile.in (allocate.o):
1950 Define target explicitly.
1952 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1953 (LDFLAGS): Set to @LDFLAGS@.
1954 (configure): Run autoconf only if preceding `cd' succeeds.
1955 (bison.s1): Redirect output to temporary file then move the
1956 temporary to the target, rather than redirecting directly to bison.s1.
1957 (clean): Remove config.status and config.log.
1958 (distclean): Don't remove config.status here.
1960 1996-05-12 Richard Stallman <rms@gnu.org>
1963 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1965 1996-05-12 Richard Stallman <rms@gnu.org>
1968 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1970 1996-05-11 Richard Stallman <rms@gnu.org>
1972 * src/bison.s1 (__yy_memcpy):
1973 Really reorder the args, as was supposedly done on Feb 14 1995.
1974 (yyparse): Calls changed accordingly.
1976 1996-05-11 Richard Stallman <rms@gnu.org>
1978 * Makefile.in (dist): Don't use $(srcdir).
1980 * bison.simple (__yy_memcpy):
1981 Really reorder the args, as was supposedly done on Feb 14 1995.
1982 (yyparse): Calls changed accordingly.
1984 1996-01-27 Richard Stallman <rms@gnu.org>
1986 * src/output.c (output_rule_data):
1987 Test YYERROR_VERBOSE in the conditional
1988 around the definition of ttyname.
1990 1995-12-29 Richard Stallman <rms@gnu.org>
1993 Fix line numbers in #line commands.
1995 1995-12-29 Richard Stallman <rms@gnu.org>
1998 Fix line numbers in #line commands.
2000 1995-12-27 Richard Stallman <rms@gnu.org>
2002 * src/bison.s1 (YYPARSE_PARAM_DECL):
2003 In C++, make it always null.
2004 (YYPARSE_PARAM_ARG): New macro.
2005 (yyparse): Use YYPARSE_PARAM_ARG.
2007 1995-12-27 Richard Stallman <rms@gnu.org>
2009 * bison.simple (YYPARSE_PARAM_DECL):
2010 In C++, make it always null.
2011 (YYPARSE_PARAM_ARG): New macro.
2012 (yyparse): Use YYPARSE_PARAM_ARG.
2014 1995-11-29 Richard Stallman <rms@gnu.org>
2016 * doc/bison.texinfo:
2017 Describe literal string tokens, %raw, %no_lines, %token_table.
2019 1995-11-29 Daniel Hagerty <hag@gnu.org>
2021 * doc/bison.texinfo: Fixed update date
2023 1995-10-16 Richard Stallman <rms@gnu.org>
2025 * src/version.c: Version 1.25.
2027 1995-10-16 Richard Stallman <rms@gnu.org>
2029 * NEWS: *** empty log message ***
2031 1995-10-16 Richard Stallman <rms@gnu.org>
2033 * doc/bison.1, doc/bison.rnh:
2036 1995-10-15 Richard Stallman <rms@gnu.org>
2038 * src/vmsgetargs.c, src/getargs.c:
2039 Added -n, -k, and -raw switches.
2040 (noparserflag, toknumflag, rawtoknumflag): New variables.
2042 * src/symtab.h (SALIAS):
2043 New #define for adding aliases to %token.
2044 (struct bucket): Added `alias' field.
2046 * src/reduce.c (reduce_grammar):
2047 Revise error message.
2048 (print_notices): Remove final `.' from error message.
2050 * src/reader.c (reader_output_yylsp):
2052 (readgram): Use `#if 0' around code that accepted %command
2053 inside grammar rules: The documentation doesn't allow it,
2054 and it will fail since the %command processors scan for the next %.
2055 (parse_token_decl): Extended the %token
2056 declaration to allow a multi-character symbol as an alias.
2057 (parse_thong_decl): New function.
2058 (read_declarations): Added %thong declarations.
2059 (read_declarations): Handle NOOP to deal with allowing
2060 % declarations as another means to specify the flags.
2061 (readgram): Allow %prec prior to semantics embedded in a rule.
2062 (skip_to_char, read_declarations, copy_definition)
2063 (parse_token_decl, parse_start_decl, parse_type_decl)
2064 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2065 (get_type_name, copy_guard, copy_action, readgram)
2066 (get_type, packsymbols): Revised most error messages.
2067 Changed `fatal' to `warnxxx' to avoid aborting for error.
2068 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2069 (read_declarations): Improve the error message for
2070 an invalid character. Do not abort.
2071 (read_declarations, copy_guard, copy_action): Use
2072 printable_version to avoid unprintable characters in printed output.
2073 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2074 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2075 Allow the type of a non-terminal can be given
2076 more than once, as long as all specifications give the same type.
2079 (output_headers, output_trailers, output, output_gram)
2080 (output_rule_data): Implement noparserflag variable.
2081 Implement toknumflag variable.
2082 (output): Call reader_output_yylsp to output LTYPESTR.
2084 * src/main.c (main):
2085 If reader sees an error, don't process the grammar.
2086 (fatals): Updated to not use VARARGS1.
2087 (printable_version, int_to_string, warn, warni, warns, warnss)
2088 (warnsss): New error reporting functions. Avoid abort for error.
2091 Added THONG and NOOP for alias processing.
2092 Added SETOPT for the new code that allows setting options with %flags.
2095 Include getopt.h. Add some extern decls.
2096 (safegetc): New function to deal with EOF gracefully.
2097 (literalchar); new function to deal with reading \ escapes.
2098 (lex): Use literalchar.
2099 (lex): Implemented "..." tokens.
2100 (literalchar, lex, parse_percent_token): Made tokenbuffer
2101 always contain the token. This includes growing the token
2102 buffer while reading an integer.
2103 (parse_percent_token): Replaced if-else statement with percent_table.
2104 (parse_percent_token): Added % declarations as another
2105 way to specify the flags -n, -l, and -r. Also added hooks for
2106 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2107 major changes to files.c.
2108 (lex) Retain in the incoming stream a character following
2110 (skip_white_space, lex): Revised most error messages
2111 and changed fatal to warn to avoid aborting.
2112 (percent_table): Added %thong declarations.
2114 * src/gram.h: Comment changes.
2116 * src/files.c (openfiles, open_extra_files, done):
2118 and actfile file. Handle noparserflag. Both for -n switch.
2120 * src/conflicts.c (resolve_sr_conflict):
2121 Remove use of alloca.
2123 1995-06-01 Jim Meyering <meyering@gnu.org>
2125 * doc/bison.texinfo: *** empty log message ***
2127 1995-05-06 Richard Stallman <rms@gnu.org>
2129 * src/bison.s1: Comment change.
2131 1995-05-06 Richard Stallman <rms@gnu.org>
2133 * bison.simple: Comment change.
2135 1995-05-03 Richard Stallman <rms@gnu.org>
2137 * src/version.c: Version now 1.24.
2139 * src/bison.s1: Change distribution terms.
2141 * src/version.c: Version now 1.23.
2143 1995-05-03 Richard Stallman <rms@gnu.org>
2145 * doc/bison.texinfo:
2146 Rewrite "Conditions for Using Bison".
2147 Update version to 1.24.
2149 1995-05-03 Richard Stallman <rms@gnu.org>
2151 * bison.simple: Change distribution terms.
2153 1995-02-23 Richard Stallman <rms@gnu.org>
2155 * src/files.c: Test __VMS_POSIX as well as VMS.
2157 1995-02-14 Jim Meyering <meyering@gnu.org>
2159 * src/bison.s1 (__yy_memcpy):
2160 Renamed from __yy_bcopy to avoid
2161 confusion. Reverse FROM and TO arguments to be consistent with
2164 1995-02-14 Jim Meyering <meyering@gnu.org>
2166 * bison.simple (__yy_memcpy):
2167 Renamed from __yy_bcopy to avoid
2168 confusion. Reverse FROM and TO arguments to be consistent with
2171 1994-11-10 David J. MacKenzie <djm@gnu.org>
2177 * Makefile.in (DISTFILES): Include NEWS.
2179 * Makefile.in (DISTFILES):
2180 Include install-sh, not install.sh.
2182 * configure.in: Update to Autoconf v2 macro names.
2184 1994-10-05 David J. MacKenzie <djm@gnu.org>
2186 * Makefile.in: fix typo
2188 * Makefile.in (prefix, exec_prefix):
2189 Let configure set them.
2191 1994-09-28 David J. MacKenzie <djm@gnu.org>
2193 * Makefile.in: Set datadir to $(prefix)/share.
2195 1994-09-15 Richard Stallman <rms@gnu.org>
2198 Update copyright notice and GPL version.
2200 1994-09-15 Richard Stallman <rms@gnu.org>
2203 Update copyright notice and GPL version.
2205 1994-07-12 Richard Stallman <rms@gnu.org>
2207 * src/reduce.c, src/reader.c:
2210 1994-05-05 David J. MacKenzie <djm@gnu.org>
2212 * Makefile.in: entered into RCS
2214 1994-03-26 Richard Stallman <rms@gnu.org>
2216 * src/bison.s1: entered into RCS
2218 1994-03-26 Richard Stallman <rms@gnu.org>
2220 * bison.simple: entered into RCS
2222 1994-03-25 Richard Stallman <rms@gnu.org>
2224 * src/main.c: entered into RCS
2226 1994-03-24 Richard Stallman <rms@gnu.org>
2228 * src/conflicts.c: entered into RCS
2230 1994-01-02 Richard Stallman <rms@gnu.org>
2232 * Makefile.in: *** empty log message ***
2234 1993-11-21 Richard Stallman <rms@gnu.org>
2236 * src/bison.s1: *** empty log message ***
2238 1993-11-21 Richard Stallman <rms@gnu.org>
2240 * doc/bison.texinfo: entered into RCS
2242 * doc/bison.texinfo: *** empty log message ***
2244 1993-11-21 Richard Stallman <rms@gnu.org>
2246 * bison.simple: *** empty log message ***
2248 1993-10-25 David J. MacKenzie <djm@gnu.org>
2250 * doc/bison.texinfo: *** empty log message ***
2252 1993-10-19 Richard Stallman <rms@gnu.org>
2254 * src/bison.s1: *** empty log message ***
2256 1993-10-19 Richard Stallman <rms@gnu.org>
2258 * bison.simple: *** empty log message ***
2260 1993-10-14 Richard Stallman <rms@gnu.org>
2262 * src/bison.s1: *** empty log message ***
2264 1993-10-14 Richard Stallman <rms@gnu.org>
2266 * bison.simple: *** empty log message ***
2268 1993-09-14 David J. MacKenzie <djm@gnu.org>
2270 * doc/bison.texinfo: *** empty log message ***
2272 1993-09-13 Noah Friedman <friedman@gnu.org>
2274 * Makefile.in: *** empty log message ***
2276 1993-09-10 Richard Stallman <rms@gnu.org>
2278 * src/conflicts.c: *** empty log message ***
2280 * src/system.h: entered into RCS
2282 1993-09-10 Richard Stallman <rms@gnu.org>
2284 * doc/bison.1: entered into RCS
2286 1993-09-06 Noah Friedman <friedman@gnu.org>
2288 * src/version.c: entered into RCS
2290 1993-09-06 Noah Friedman <friedman@gnu.org>
2292 * Makefile.in: *** empty log message ***
2294 1993-07-30 David J. MacKenzie <djm@gnu.org>
2296 * Makefile.in: *** empty log message ***
2298 1993-07-24 Richard Stallman <rms@gnu.org>
2300 * src/bison.s1: *** empty log message ***
2302 1993-07-24 Richard Stallman <rms@gnu.org>
2304 * bison.simple: *** empty log message ***
2306 1993-07-08 David J. MacKenzie <djm@gnu.org>
2308 * Makefile.in: *** empty log message ***
2310 1993-07-04 Richard Stallman <rms@gnu.org>
2312 * src/bison.s1: *** empty log message ***
2314 1993-07-04 Richard Stallman <rms@gnu.org>
2316 * bison.simple: *** empty log message ***
2318 1993-06-26 David J. MacKenzie <djm@gnu.org>
2320 * src/getargs.c: entered into RCS
2322 1993-06-26 David J. MacKenzie <djm@gnu.org>
2324 * doc/bison.texinfo: *** empty log message ***
2326 * doc/bison.1: New file.
2328 1993-06-25 Richard Stallman <rms@gnu.org>
2330 * src/getargs.c: New file.
2332 1993-06-16 Richard Stallman <rms@gnu.org>
2334 * src/bison.s1: *** empty log message ***
2336 1993-06-16 Richard Stallman <rms@gnu.org>
2338 * bison.simple: *** empty log message ***
2340 1993-06-03 Richard Stallman <rms@gnu.org>
2342 * src/bison.s1: New file.
2344 1993-06-03 Richard Stallman <rms@gnu.org>
2346 * doc/bison.texinfo: *** empty log message ***
2348 1993-06-03 Richard Stallman <rms@gnu.org>
2350 * bison.simple: New file.
2352 1993-05-19 Richard Stallman <rms@gnu.org>
2354 * doc/bison.texinfo: New file.
2356 1993-05-07 Noah Friedman <friedman@gnu.org>
2358 * Makefile.in: *** empty log message ***
2360 1993-04-28 Noah Friedman <friedman@gnu.org>
2362 * src/reader.c: *** empty log message ***
2364 1993-04-23 Noah Friedman <friedman@gnu.org>
2366 * src/alloc.h: entered into RCS
2368 1993-04-20 David J. MacKenzie <djm@gnu.org>
2370 * src/version.c: *** empty log message ***
2372 * src/files.c, src/allocate.c:
2375 * src/reader.c: *** empty log message ***
2377 * src/lex.c: entered into RCS
2379 * src/conflicts.c: New file.
2381 * src/symtab.c: entered into RCS
2383 * src/alloc.h: New file.
2385 * src/LR0.c: entered into RCS
2387 1993-04-18 Noah Friedman <friedman@gnu.org>
2389 * src/reader.c: New file.
2391 * src/version.c: *** empty log message ***
2393 1993-04-18 Noah Friedman <friedman@gnu.org>
2395 * Makefile.in: *** empty log message ***
2397 1993-04-17 Noah Friedman <friedman@gnu.org>
2399 * Makefile.in: *** empty log message ***
2401 1993-04-15 Richard Stallman <rms@gnu.org>
2403 * src/main.c, src/files.c:
2406 1993-04-15 Noah Friedman <friedman@gnu.org>
2408 * configure.in: entered into RCS
2410 * configure.in: *** empty log message ***
2412 * configure.in: New file.
2414 1993-04-14 Richard Stallman <rms@gnu.org>
2416 * Makefile.in: New file.
2418 1993-04-13 Richard Stallman <rms@gnu.org>
2420 * src/version.c: New file.
2422 1993-03-25 Richard Stallman <rms@gnu.org>
2424 * src/output.c: entered into RCS
2426 1992-09-25 Richard Stallman <rms@gnu.org>
2428 * configure.bat: entered into RCS
2430 1992-06-22 Richard Stallman <rms@gnu.org>
2432 * src/vmsgetargs.c: entered into RCS
2434 1992-06-22 Richard Stallman <rms@gnu.org>
2436 * doc/bison.rnh: entered into RCS
2438 1992-04-20 David J. MacKenzie <djm@gnu.org>
2440 * README: entered into RCS
2442 1992-01-22 Richard Stallman <rms@gnu.org>
2444 * src/machine.h: entered into RCS
2446 1991-12-21 Richard Stallman <rms@gnu.org>
2448 * src/lalr.c, src/closure.c:
2451 1991-12-20 Richard Stallman <rms@gnu.org>
2453 * src/state.h: entered into RCS
2455 1991-12-18 Richard Stallman <rms@gnu.org>
2457 * src/print.c, src/nullable.c, src/derives.c:
2460 1991-11-03 David J. MacKenzie <djm@gnu.org>
2462 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2465 1988-09-09 Richard Stallman <rms@gnu.org>
2467 * src/bison.hairy: entered into RCS
2469 1987-12-16 Richard Stallman <rms@gnu.org>
2471 * REFERENCES: entered into RCS