1 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
3 * src/output.c (prepare): Add prefixed names.
4 (output_parser): Output semantic actions.
5 (output_parser): Fix bug on '%%line' directives.
7 * src/output.c (output_headers): Remove. The C code printed by this
8 function should now be in the skeletons.
9 (output_trailers): Remove.
10 (output): Disable call to 'reader_output_yylsp'.
11 (output_rule_data): Do not output tables to the table obstack.
13 * src/output.c: Remove some C dedicated output.
14 Improve the use of macro and output obstacks.
15 (output_defines): Remove.
17 * src/output.c (output_token_translations): Associate 'translate'
18 table with a macro. No output to the table obstack.
19 (output_gram): Same for 'rhs' and 'prhs'.
20 (output_stos): Same for 'stos'.
21 (output_rule_data): Same for 'r1' and 'r2'.
22 (token_actions): Same for 'defact'.
23 (goto_actions): Same for 'defgoto'.
24 (output_base): Same for 'pact' and 'pgoto'.
25 (output_table): Same for 'table'.
26 (output_check): Same for 'check'.
28 * src/output.c (output_table_data): New function.
29 (output_short_table): Remove.
30 (output_short_or_char_table): Remove.
32 * src/output.c (output_parser): Replace most of the skeleton copy code
33 with something new. Skeletons are now processed character by character
34 rather than line by line, and Bison looks for '%%' macros. This is the
35 first step in making Bison's output process (a lot) more flexible.
36 (output_parser): Use the macro table.
38 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
40 * src/main.c (main): Initialize the macro table.
42 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
44 * src/lex.c (percent_table): Add tok_define.
45 * src/lex.h: Add tok_define.
47 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
49 * src/macrotab.c: New file.
50 * src/macrotab.h: New file.
51 * src/Makefile.am: Update.
53 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
55 * lib/hash.c: New file.
56 * lib/hash.h: New file.
57 * lib/Makefile.am: Update.
59 2001-08-15 Akim Demaille <akim@epita.fr>
63 2001-08-15 Marc Autret <prog@epita.fr>
65 * src/reader.c (readgram): Indent output macro YYSTYPE.
66 (packsymbols): Likewise.
67 (output_token_defines): Likewise.
68 * src/files.c: Standardize.
69 (compute_header_macro): New.
70 (defines_obstack_save): New. Use compute_header_macro.
71 (output_files): Update. Use defines_obstack_save.
73 2001-08-15 Akim Demaille <akim@epita.fr>
75 * doc/bison.texinfo (Table of Symbols): Document
78 2001-08-15 Akim Demaille <akim@epita.fr>
80 * missing: Update from CVS Automake.
81 * config/config.guess, config/config.sub, config/texinfo.tex:
84 2001-08-15 Akim Demaille <akim@epita.fr>
86 * Makefile.maint: Sync with CVS Autoconf.
88 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
90 * doc/bison.texinfo: Include GNU Free Documentation License from
92 * doc/fdl.texi: Add to package.
94 2001-08-14 Marc Autret <autret_m@epita.fr>
96 Turn on %{source,header}_extension features.
98 * src/lex.c (percent_table): Un-CPP out header_extension and
100 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
101 (compute_exts_from_src): Remove conditions. It restores priorities
104 2001-08-14 Marc Autret <autret_m@epita.fr>
106 * src/files.c (compute_base_names): Add extensions computing when
107 `--file-prefix' used.
108 Standardize function calls.
110 2001-08-13 Marc Autret <autret_m@epita.fr>
112 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
113 defining it (defined but null disables alloca).
115 2001-08-13 Marc Autret <autret_m@epita.fr>
117 * src/bison.simple (_yy_memcpy): CPP reformat.
119 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
121 * tests/atconfig.in (CPPFLAGS): Fix.
123 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
125 * doc/bison.texinfo: Include GNU General Public License from
127 * doc/gpl.texi: Add to package.
129 2001-08-10 Marc Autret <autret_m@epita.fr>
131 * src/print_graph.h: Fix.
132 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
134 2001-08-10 Akim Demaille <akim@epita.fr>
136 * src/system.h: Provide default declarations for stpcpy, strndup,
139 2001-08-10 Robert Anisko <anisko_r@epita.fr>
141 * doc/bison.texinfo (Locations): Update @$ stuff.
143 2001-08-09 Robert Anisko <anisko_r@epita.fr>
145 * src/bison.simple (YYLLOC_DEFAULT): Update.
148 2001-08-08 Marc Autret <autret_m@epita.fr>
150 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
151 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
152 Reported by Fabrice Bauzac.
154 2001-08-08 Marc Autret <autret_m@epita.fr>
156 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
157 * src/vcg.c (output_node): Fix.
158 * src/vcg.h: Cleanup.
159 * src/print_graph.c: Add comments.
160 (node_output_size): New global variable. Simplify the formatting of
161 the VCG graph output.
162 (print_actions): Unused code is now used. It notifies the final state
163 and no action states in the VCG graph. It also give the reduce actions.
164 The `shift and goto' edges are red and the `go to state' edges are
166 Get the current node name and node_obstack by argument.
167 (node_obstack): New variable.
168 (print_state): Manage node_obstack.
169 (print_core): Use node_obstack given by argument.
170 A node is not only computed here but in print_actions also.
171 (print_graph): CPP out useless code instead of commenting it.
173 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
175 * tests/atconfig.in (CPPFLAGS): Fix.
177 2001-08-07 Akim Demaille <akim@epita.fr>
179 * src/print_graph.c (quote): New.
180 (print_core): Use it.
182 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
184 * src/vcg.c (complain.h): Include it.
185 Unepitaize `return' invocations.
186 [NDEBUG] (main): Remove.
187 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
188 * src/files.c (open_files): Initialize graph_obstack.
189 * src/print_graph.c (print_actions): CPP out useless code.
190 (print_core): Don't output the last `\n' in labels.
192 * src/files.c (output_files): Output the VCG file.
193 * src/main.c (main): Invoke print_graph ();
195 2001-08-06 Marc Autret <autret_m@epita.fr>
197 Automaton VCG graph output.
198 Using option ``-g'' or long option ``--graph'', you can generate
199 a gram_filename.vcg file containing a VCG description of the LALR (1)
200 automaton of your grammar.
202 * src/main.c: Call to print_graph() function.
203 * src/getargs.h: Update.
204 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
205 (graph_flag): New flag.
207 (getargs): Add case `g'.
208 * src/files.c (graph_obstack): New obstack struct.
209 (open_files): Initialize new obstack.
210 (output_files): Saves graph_obstack if required.
211 * src/files.h (graph_obstack): New extern declaration.
212 * src/Makefile.am: Add new source files.
214 2001-08-06 Marc Autret <autret_m@epita.fr>
216 * src/print_graph.c, src/print_graph.h (graph): New.
217 * src/vcg.h: New file.
218 * src/vcg.c: New file, VCG graph handling.
220 2001-08-06 Marc Autret <autret_m@epita.fr>
222 Add of %source_extension and %header_extension which specify
223 the source or/and the header output file extension.
225 * src/files.c (compute_base_names): Remove initialisation of
226 src_extension and header_extension.
227 (compute_exts_from_gf): Update.
228 (compute_exts_from_src): Update.
229 (output_files): Update.
230 * src/reader.c (parse_header_extension_decl): New.
231 (parse_source_extension_decl): New.
232 (read_declarations): New case statements for the new tokens.
233 * src/lex.c (percent_table): Add entries for %source_extension
234 and %header_extension.
235 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
237 2001-08-06 Marc Autret <autret_m@epita.fr>
239 * configure.in: Bump to 1.28c.
240 * doc/bison.texinfo: Texinfo thingies.
242 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
244 * tests/atconfig.in (CPPFLAGS): Add.
245 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
247 2001-08-03 Akim Demaille <akim@epita.fr>
251 2001-08-03 Akim Demaille <akim@epita.fr>
253 * tests/Makefile.am (check-local): Ship testsuite.
254 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
257 2001-08-03 Akim Demaille <akim@epita.fr>
259 * configure.in: Try using -Wformat when compiling.
261 2001-08-03 Akim Demaille <akim@epita.fr>
263 * configure.in: Bump to 1.28b.
265 2001-08-03 Akim Demaille <akim@epita.fr>
267 * src/complain.c: Adjust strerror_r portability issues.
269 2001-08-03 Akim Demaille <akim@epita.fr>
273 2001-08-03 Akim Demaille <akim@epita.fr>
275 * src/getargs.c, src/getarg.h (skeleton)): Constify.
276 * src/lex.c (literalchar): Avoid name clashes on `buf'.
277 * src/getargs.c: Include complain.h.
278 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
279 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
281 2001-08-03 Akim Demaille <akim@epita.fr>
283 * src/reader.c (readgram): Display hidden chars in error messages.
285 2001-08-03 Akim Demaille <akim@epita.fr>
287 Update to gettext 0.10.39.
289 2001-08-03 Akim Demaille <akim@epita.fr>
293 2001-08-01 Marc Autret <autret_m@epita.fr>
295 * doc/bison.texinfo: Update.
296 * doc/bison.1 (mandoc): Update.
297 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
298 * src/files.c: Support output files extensions computing.
299 (src_extension): New static variable.
300 (header_extension): New static variable.
302 (get_extension_index): New function, gets the index of an extension
303 filename in a string.
304 (compute_exts_from_gf): New function, computes extensions from the
305 grammar file extension.
306 (compute_exts_from_src): New functions, computes extensions from the
307 C source file extension, file given by ``-o'' option.
308 (compute_base_names): Update.
309 (output_files): Update.
311 2001-08-01 Robert Anisko <anisko_r@epita.fr>
313 * doc/bison.texi: Document @$.
314 (Locations): New section.
316 2001-07-18 Akim Demaille <akim@epita.fr>
318 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
319 * config/prev-version.txt, config/move-if-change: New.
320 * Makefile.am: Adjust.
322 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
324 * src/bison.simple (yyparse): Suppress warning `comparaison
325 between signed and unsigned'.
327 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
329 * src/getargs.h (raw_flag): Remove.
330 * src/getargs.c: Die on `-r'/`--raw'.
331 * src/lex.c (parse_percent_token): Die on `%raw'.
332 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
333 * tests/calc.at: Suppress test with option `--raw'.
335 2001-07-14 Akim Demaille <akim@epita.fr>
338 * configure.in: Require Autoconf 2.50.
339 Update to gettext 0.10.38.
341 2001-03-16 Akim Demaille <akim@epita.fr>
343 * doc/bison.texinfo: ANSIfy the examples.
345 2001-03-16 Akim Demaille <akim@epita.fr>
347 * getargs.c (skeleton): New variable.
348 (longopts): --skeleton is a new option.
349 (shortopts, getargs): -S is a new option.
350 * getargs.h: Declare skeleton.
351 * output.c (output_parser): Use it.
353 2001-03-16 Akim Demaille <akim@epita.fr>
355 * m4/strerror_r.m4: New.
356 * m4/error.m4: Run AC_FUNC_STRERROR_R.
357 * lib/error.h, lib/error.c: Update.
359 2001-03-16 Akim Demaille <akim@epita.fr>
361 * src/getargs.c (longopts): Clean up.
363 2001-02-21 Akim Demaille <akim@epita.fr>
365 * src/reader.c (gensym): `gensym_count' is your own.
366 Use a static buf to create the symbol name, as token_buffer is no
369 2001-02-08 Akim Demaille <akim@epita.fr>
371 * src/conflicts.c (conflict_report): Be sure not to append to res
372 between two calls, which could happen if both first sprintf were
373 skipped, but not the first cp += strlen.
375 2001-02-08 Akim Demaille <akim@epita.fr>
377 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
378 New, from fileutils 4.0.37.
379 * configure.in: Require Autoconf 2.49c. I took some time before
380 making this decision. This is the only way out for portability
381 issues in Bison, it would mean way too much duplicate effort to
382 import in Bison features implemented in 2.49c since 2.13.
383 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
385 2001-02-02 Akim Demaille <akim@epita.fr>
387 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
388 * lib/xalloc.h, lib/xmalloc.c: Update.
390 2001-01-19 Akim Demaille <akim@epita.fr>
392 Get rid of the ad hoc handling of token_buffer in the scanner: use
395 * src/lex.c (token_obstack): New.
396 (init_lex): Initialize it. No longer call...
397 (grow_token_buffer): this. Remove it.
398 Adjust all the places which used it to use the obstack.
400 2001-01-19 Akim Demaille <akim@epita.fr>
402 * src/lex.h: Rename all the tokens:
403 s/\bENDFILE\b/tok_eof/g;
404 s/\bIDENTIFIER\b/tok_identifier/g;
406 Let them be enums, not #define, to ease debugging.
409 2001-01-18 Akim Demaille <akim@epita.fr>
411 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
412 * src/lex.c (maxtoken, grow_token_buffer): Static.
414 2001-01-18 Akim Demaille <akim@epita.fr>
416 Since we now use obstacks, more % directives can be enabled.
418 * src/lex.c (percent_table): Also accept `%yacc',
419 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
421 Handle the actions for `%semantic_parser' and `%pure_parser' here,
422 instead of returning a token.
423 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
424 * src/reader.c (read_declarations): Adjust.
425 * src/files.c (open_files): Don't call `compute_base_names', don't
426 compute `attrsfile' since they depend upon data which might be
427 *in* the input file now.
428 (output_files): Do it here.
429 * src/output.c (output_headers): Document the fact that this patch
430 introduces a guaranteed SEGV for semantic parsers.
431 * doc/bison.texinfo: Document them.
432 * tests/suite.at: Exercise these %options.
434 2000-12-20 Akim Demaille <akim@epita.fr>
436 Also handle the output file (--verbose) with obstacks.
438 * files.c (foutput): Remove.
439 (output_obstack): New.
440 Adjust all dependencies.
441 * src/conflicts.c: Return a string.
442 * src/system.h (obstack_grow_string): Rename as...
443 (obstack_sgrow): this. Be ready to work with non literals.
444 (obstack_fgrow4): New.
446 2000-12-20 Akim Demaille <akim@epita.fr>
448 * src/files.c (open_files): Fix the computation of short_base_name
449 in the case of `-o foo.tab.c'.
451 2000-12-20 Akim Demaille <akim@epita.fr>
453 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
454 (copy_dollar): Now that everything uses obstacks, get rid of the
457 2000-12-20 Akim Demaille <akim@epita.fr>
459 * src/files.c (open_files): Actually the `.output' file is based
460 on the short_base_name, not base_name.
461 * tests/suite.at (Checking output file names): Adjust.
463 2000-12-20 Akim Demaille <akim@epita.fr>
465 * src/bison.s1: Remove, we now use directly...
466 * src/bison.simple: this.
467 * src/Makefile.am: Use pkgdata instead of data.
469 2000-12-20 Akim Demaille <akim@epita.fr>
471 * src/files.c (guard_obstack): New.
472 (open_files): Initialize it.
473 (output_files): Dump it...
474 * src/files.h: Export it.
475 * src/reader.c (copy_guard): Use it.
477 2000-12-19 Akim Demaille <akim@epita.fr>
479 * src/files.c (outfile, defsfile, actfile): Removed as global
481 (open_files): Don't compute them.
482 (output_files): Adjust.
483 (base_name, short_base_name): Be global.
486 2000-12-19 Akim Demaille <akim@epita.fr>
488 * src/files.c (strsuffix): New.
489 (stringappend): Be just like strcat but allocate.
490 (base_names): Eve out from open_files.
491 Try to simplify the rather hairy computation of base_name and
493 (open_files): Use it.
494 * tests/suite.at (Checking output file names): New test.
496 2000-12-19 Akim Demaille <akim@epita.fr>
498 * src/system.h (obstack_grow_literal_string): Rename as...
499 (obstack_grow_string): this.
500 * src/output.c (output_parser): Recognize `%% actions' instead of
502 * src/bison.s1: s/$/%% actions/.
503 * src/bison.hairy: Likewise.
505 2000-12-19 Akim Demaille <akim@epita.fr>
507 * src/output.c (output_parser): Compute the `#line' lines when
509 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
510 Suggested by Hans Aberg.
512 2000-12-19 Akim Demaille <akim@epita.fr>
514 Let the handling of the skeleton files be local to the procedures
517 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
519 (fparser, open_extra_files): Remove.
520 (open_files, output_files): Don't take care of fparser.
521 * src/files.h: Adjust.
522 * src/output.c (output_parser): Open and close the file to the
524 * src/reader.c (read_declarations): When %semantic_parser, open
527 2000-12-19 Akim Demaille <akim@epita.fr>
529 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
530 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
532 2000-12-19 Akim Demaille <akim@epita.fr>
534 * src/files.c (open_files): Yipee! We no longer need all the code
535 looking for `/tmp' since we have no tmp file.
537 2000-12-19 Akim Demaille <akim@epita.fr>
539 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
541 * src/files.c (open_files): Less dependency on MSDOS etc.
543 2000-12-14 Akim Demaille <akim@epita.fr>
545 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
546 Provide a default definition.
547 Use it when executing the default @ action.
548 * src/reader.c (reader_output_yylsp): No longer include
549 `timestamp' and `text' in the default YYLTYPE.
551 2000-12-12 Akim Demaille <akim@epita.fr>
553 * src/reader.c (copy_definition, parse_union_decl, copy_action)
554 (copy_guard): Quote the file names.
555 Reported by Laurent Mascherpa.
557 2000-12-12 Akim Demaille <akim@epita.fr>
559 * src/output.c (output_headers, output_program, output): Be sure
560 to escape special characters when outputting filenames.
561 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
562 (output_headers): Don't depend on them, Use ACTSTR.
564 2000-11-17 Akim Demaille <akim@epita.fr>
566 * lib/obstack.h: Formatting changes.
567 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
568 prevents type checking.
569 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
570 cast the value to (void *): assigning a `foo *' to a `void *'
572 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
573 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
576 2000-11-17 Akim Demaille <akim@epita.fr>
578 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
580 (suite.m4, regression.m4, calc.m4): these.
581 * tests/atgeneral.m4: Update from CVS Autoconf.
583 2000-11-17 Akim Demaille <akim@epita.fr>
585 * tests/regression.m4 (%union and --defines): New test,
586 demonstrating a current bug in the obstack implementation.
588 2000-11-17 Akim Demaille <akim@epita.fr>
590 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
592 Use them to declare the variables which are global or local to
595 2000-11-17 Akim Demaille <akim@epita.fr>
597 * acconfig.h: Remove, no longer used.
599 2000-11-07 Akim Demaille <akim@epita.fr>
601 * src: s/Copyright (C)/Copyright/g.
603 2000-11-07 Akim Demaille <akim@epita.fr>
605 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
607 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
609 2000-11-07 Akim Demaille <akim@epita.fr>
611 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
612 Merge in a single CPP if/else.
614 2000-11-07 Akim Demaille <akim@epita.fr>
616 * src/output.c (output): Remove useless variables.
617 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
618 argument `data' for consistency with the prototypes.
620 (obstack_copy, obstack_copy0): Rename the second argument as
621 `address' for consistency. Qualify it `const'.
622 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
623 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
624 `const' their input argument (`data' or `address').
625 Adjust the corresponding macros to include `const' in casts.
627 2000-11-03 Akim Demaille <akim@epita.fr>
629 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
630 s/PFILE1/BISON_HAIRY/.
633 2000-11-03 Akim Demaille <akim@epita.fr>
635 For some reason, this was not applied.
637 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
638 `unlink': it's no longer used.
640 2000-11-03 Akim Demaille <akim@epita.fr>
642 * src/files.c (skeleton_find): New function, eved out of...
643 (open_files, open_extra_files): here.
645 2000-11-03 Akim Demaille <akim@epita.fr>
649 * src/files.c (obstack_save): New function.
651 (output_files): this.
653 * src/main.c (main): Don't use `atexit' to register `done', since
654 it no longer has to remove tmp files, just call `output_files'
655 when there are no errors.
657 2000-11-02 Akim Demaille <akim@epita.fr>
659 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
660 `unlink': it's no longer used.
661 * src/files.h: Formatting changes.
663 2000-11-02 Akim Demaille <akim@epita.fr>
665 Remove the last uses of mktemp and unlink/delete.
667 * src/files.c (fdefines, ftable): Removed.
668 (defines_ostack, table_obstack): New.
669 Adjust dependencies of the former into uses of the latter.
670 * src/output.c (output_short_or_char_table, output_short_table):
671 Convert to using obstacks.
672 * src/reader.c (copy_comment2): Accept one FILE * and two
674 (output_token_defines, reader_output_yylsp): Use obstacks.
675 * src/system.h (obstack_fgrow3): New.
677 2000-11-01 Akim Demaille <akim@epita.fr>
679 Change each use of `fattrs' into a use of `attrs_obstack'.
681 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
682 * src/files.c (fattrs): Remove.
683 (attrs_obstack): New.
684 Adjust all dependencies.
685 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
687 2000-11-01 Akim Demaille <akim@epita.fr>
690 Change each use of `faction' into a use of `action_obstack'.
692 * lib/obstack.h, lib/obstack.c: New files.
693 * src/files.c (faction): Remove.
694 (action_obstack): New.
695 Adjust all dependencies.
697 2000-10-20 Akim Demaille <akim@epita.fr>
699 * lib/quote.h (PARAMS): New macro. Use it.
701 2000-10-16 Akim Demaille <akim@epita.fr>
703 * src/output.c (output_short_or_char_table): New function.
704 (output_short_table, output_token_translations): Use it.
705 (goto_actions): Use output_short_table.
707 2000-10-16 Akim Demaille <akim@epita.fr>
709 * src/symtab.c (bucket_new): New function.
712 * src/output.c (output_short_table): New argument to display the
713 comment associated with the table.
715 (output_gram): Use it.
716 (output_rule_data): Nicer output layout for YYTNAME.
718 2000-10-16 Akim Demaille <akim@epita.fr>
720 * src/lex.c (read_typename): New function.
722 * src/reader.c (copy_dollar): Likewise.
724 2000-10-16 Akim Demaille <akim@epita.fr>
726 * src/reader.c (copy_comment2): Expect the input stream to be on
727 the `/' which is suspected to open a comment, instead of being
728 called after `//' or `/*' was read.
729 (copy_comment, copy_definition, parse_union_decl, copy_action)
730 (copy_guard): Adjust.
732 2000-10-16 Akim Demaille <akim@epita.fr>
734 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
735 `read_signed_integer'.
737 2000-10-16 Akim Demaille <akim@epita.fr>
739 * src/reader.c (copy_dollar): New function.
740 (copy_guard, copy_action): Use it.
742 2000-10-16 Akim Demaille <akim@epita.fr>
744 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
745 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
746 New files, from Fileutils 4.0.27.
747 * src/main.c (printable_version): Remove.
748 * src/lex.c, src/reader.c: Use `quote'.
750 2000-10-04 Akim Demaille <akim@epita.fr>
752 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
754 2000-10-04 Akim Demaille <akim@epita.fr>
756 * doc/bison.texinfo: Various typos spotted by Neil Booth.
758 2000-10-04 Akim Demaille <akim@epita.fr>
760 When a literal string is used to define two different tokens,
761 `bison -v' segfaults.
762 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
764 * tests/regression.m4: New file.
765 Include the core of the sample provided by Piotr Gackiewicz.
766 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
769 2000-10-04 Akim Demaille <akim@epita.fr>
771 * src/reader.c (parse_expect_decl): Keep `count' within the size
775 2000-10-02 Paul Eggert <eggert@twinsun.com>
777 * bison.s1 (yyparse): Assign the default value
778 unconditionally, to avoid a GCC warning and make the parser a
781 2000-10-02 Akim Demaille <akim@epita.fr>
783 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
786 2000-10-02 Akim Demaille <akim@epita.fr>
788 * src/derives.c, src/print.c, src/reduce.c: To ease the
789 translation, move some `\n' out of the translated strings.
791 2000-10-02 Akim Demaille <akim@epita.fr>
793 The location tracking mechanism is precious for parse error
794 messages. Nevertheless, it is enabled only when `@n' is used in
795 the grammar, which is a different issue (you can use it in error
796 message, but not in the grammar per se). Therefore, there should
797 be another means to enable it.
799 * src/getargs.c (getargs): Support `--locations'.
801 * src/getargs.h (locationsflag): Export it.
802 * src/lex.c (percent_table): Support `%locations'.
803 * src/reader.c (yylsp_needed): Remove this variable, now replaced
804 with `locationsflag'.
805 * doc/bison.texinfo: Document `--locations' and `%locations'.
807 * tests/calc.m4: Test it.
809 For regularity of the names, replace each
810 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
811 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
812 In addition replace each `flag' with `_flag'.
814 2000-10-02 Akim Demaille <akim@epita.fr>
816 Also test parse error messages, including with YYERROR_VERBOSE.
818 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
820 Use it to check the computations.
821 Use it to check `nonassoc' is honored.
822 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
824 (_AT_CHECK_CALC): Adjust to this option.
825 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
827 2000-10-02 Akim Demaille <akim@epita.fr>
829 Test also `--verbose', `--defines' and `--name-prefix'. Testing
830 the latter demonstrates a flaw in the handling of non debugging
831 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
832 was used in order to simplify:
848 unfortunately this leads to a CPP conflict when
849 `--name-prefix=foo' is used since it produces `#define yydebug
852 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
853 (YYDPRINTF): New macro.
855 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
857 Also test `--verbose', `--defines' and `--name-prefix'.
859 2000-10-02 Akim Demaille <akim@epita.fr>
861 Improve the readability of the produced parsers.
863 * src/bison.s1: Formatting changes.
864 Improve the comment related to the `$' mark.
865 (yydefault): Don't fall through to `yyresume': `goto' there.
866 * src/output.c (output_parser): When the `$' is met, skip the end
868 New variable, `number_of_dollar_signs', to check there's exactly
869 one `$' in the parser skeleton.
871 2000-10-02 Akim Demaille <akim@epita.fr>
873 * lib/xstrdup.c: New file, from the fileutils.
874 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
875 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
876 instead of strlen + xmalloc + strcpy.
877 * src/symtab.c (copys): Remove, use xstrdup instead.
879 2000-10-02 Akim Demaille <akim@epita.fr>
881 * src/gram.h (associativity): New enum type which replaces the
882 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
883 `right_assoc', `left_assoc' and `non_assoc'.
884 Adjust all dependencies.
885 * src/reader.c: Formatting changes.
886 (LTYPESTR): Don't define it, use it as a literal in
887 `reader_output_yylsp'.
888 * src/symtab.h (symbol_class): New enum type which replaces the
889 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
890 `sunknown', `stoken and `snterm'.
892 2000-10-02 Akim Demaille <akim@epita.fr>
894 * src/getargs.c (fixed_outfiles): Rename as...
895 (yaccflag): for consistency and accuracy.
898 2000-10-02 Akim Demaille <akim@epita.fr>
900 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
901 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
902 difficult and introduced a lot of core dump. It turns out that
903 Bison used an implementation of `xmalloc' based on `calloc', and
904 at various places it does depend upon the initialization to 0. I
905 have not tried to isolate the pertinent places, and all the former
906 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
907 someone should address this issue.
909 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
910 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
913 * src/warshall.h: New file.
916 2000-10-02 Akim Demaille <akim@epita.fr>
918 Various anti-`extern in *.c' changes.
920 * src/system.h: Include `assert.h'.
922 2000-10-02 Akim Demaille <akim@epita.fr>
924 * src/state.h (nstates, final_state, first_state, first_shift)
925 (first_reduction): Move their exportation from here...
926 * src/LR0.h: to here.
928 * src/getargs.c (statisticsflag): New variable.
929 Add support for `--statistics'.
932 Remove a lot of now useless `extern' statements in most files.
934 2000-10-02 Akim Demaille <akim@epita.fr>
936 * src/LR0.h: New file.
939 2000-10-02 Akim Demaille <akim@epita.fr>
941 * src/print.h: New file.
943 * src/print.c: Formatting and ordering changes.
944 (verbose, terse): Replace with...
945 (print_results): this new function.
948 2000-10-02 Akim Demaille <akim@epita.fr>
950 * src/conflicts.c (conflict_report): New function.
951 (conflict_log, verbose_conflict_log): Replace with...
952 (print_conflicts): this function.
954 * src/conflicts.h: New file.
955 Propagate its inclusion.
957 2000-10-02 Akim Demaille <akim@epita.fr>
959 * src/nullable.h: New file.
960 Propagate its inclusion.
961 * src/nullable.c: Formatting changes.
963 2000-10-02 Akim Demaille <akim@epita.fr>
965 * src/reduce.h: New file.
966 Propagate its inclusion.
967 * src/reduce.c: Topological sort and other formatting changes.
968 (bool, TRUE, FALSE): Move their definition to...
969 * src/system.h: here.
971 2000-10-02 Akim Demaille <akim@epita.fr>
973 * src/files.c: Formatting changes.
974 (tryopen, tryclose, openfiles): Rename as...
975 (xfopen, xfclose, open_files): this.
976 (stringappend): static.
977 * src/files.h: Complete the list of exported symbols.
980 2000-10-02 Akim Demaille <akim@epita.fr>
982 * src/reader.h: New file.
983 Propagate its use instead of tedious list of `extern' and
985 * src/reader.c: Formatting changes, topological sort,
988 2000-10-02 Akim Demaille <akim@epita.fr>
990 * src/lex.h: Prototype `lex.c' exported functions.
991 * src/reader.c: Adjust.
992 * src/lex.c: Formatting changes.
993 (safegetc): Rename as...
996 2000-10-02 Akim Demaille <akim@epita.fr>
998 * src/lalr.h: New file.
999 Propagate its inclusion instead of prototypes and `extern'.
1000 * src/lalr.c: Formatting changes, topological sorting etc.
1002 2000-10-02 Akim Demaille <akim@epita.fr>
1004 * src/output.c (token_actions): Introduce a temporary array,
1005 YYDEFACT, that makes it possible for this function to use
1008 2000-10-02 Akim Demaille <akim@epita.fr>
1010 `user_toknums' is output as a `short[]' in `output.c', while it is
1011 defined as a `int[]' in `reader.c'. For consistency with the
1012 other output tables, `user_toknums' is now defined as a table of
1015 * src/reader.c (user_toknums): Be a short table instead of an int
1017 Adjust dependencies.
1019 Factor the short table outputs.
1021 * src/output.c (output_short_table): New function.
1022 * src/output.c (output_gram, output_stos, output_rule_data)
1023 (output_base, output_table, output_check): Use it.
1025 2000-10-02 Akim Demaille <akim@epita.fr>
1027 * src/output.c (output): Topological sort of the functions, in
1028 order to get rid of the `static' prototypes.
1029 No longer use `register'.
1030 * src/output.h: New file.
1031 Propagate its inclusion in files explicitly prototyping functions
1034 2000-09-21 Akim Demaille <akim@epita.fr>
1036 * src/atgeneral.m4: Update from Autoconf.
1038 2000-09-21 Akim Demaille <akim@epita.fr>
1040 * src/closure.h: New file.
1041 * src/closure.c: Formatting changes, topological sort over the
1042 functions, use of closure.h.
1043 (initialize_closure, finalize_closure): Rename as...
1044 (new_closure, free_closure): these. Adjust dependencies.
1045 * src/LR0.c: Formatting changes, topological sort, use of
1047 (initialize_states): Rename as...
1049 * src/Makefile.am (noinst_HEADERS): Adjust.
1051 2000-09-20 Akim Demaille <akim@epita.fr>
1053 * src/acconfig.h: Don't protect config.h against multiple
1055 Don't define PARAMS.
1056 * src/system.h: Define PARAMS.
1057 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1058 purpose of config.h. system.h must not try to fix wrong
1059 definitions in config.h.
1061 2000-09-20 Akim Demaille <akim@epita.fr>
1063 * src/derives.h: New file.
1064 * src/main.c, src/derives.h: Use it.
1066 * src/Makefile.am (noinst_HEADERS): Adjust.
1068 2000-09-20 Akim Demaille <akim@epita.fr>
1070 * tests/atgeneral.m4: Update from Autoconf.
1071 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1072 (AT_CHECK_CALC): New macros.
1073 Use these macros to test bison with options `', `--raw',
1074 `--debug', `--yacc', `--yacc --debug'.
1076 2000-09-19 Akim Demaille <akim@epita.fr>
1078 * src/output.c: Formatting changes.
1079 * src/machine.h: Remove, leaving its contents in...
1080 * src/system.h: here.
1082 Adjust all dependencies on stdio.h and machine.h.
1083 * src/getargs.h: New file.
1084 Let all `extern' declarations about getargs.c be replaced with
1085 inclusion of `getargs.h'.
1086 * src/Makefile.am (noinst_HEADERS): Adjust.
1088 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1090 (yyerror): Returns void, not int.
1091 * doc/bison.texinfo: Formatting changes.
1093 2000-09-19 Akim Demaille <akim@epita.fr>
1095 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1098 2000-09-18 Akim Demaille <akim@epita.fr>
1100 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1101 * src/Makefile.am (INCLUDES): Don't.
1102 Be ready to fetch headers in lib/.
1104 2000-09-18 Akim Demaille <akim@epita.fr>
1106 * doc/bison.texinfo: Update the copyright.
1107 ANSIfy and GNUify the examples.
1108 Remove the old menu.
1110 2000-09-18 Akim Demaille <akim@epita.fr>
1112 First set of tests: use the `calc' example from the documentation.
1114 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1115 is defined only when YYDEBUG is.
1116 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1117 * src/files.c (tryopen, tryclose): Formatting changes.
1118 Move to the top and be static.
1119 * src/reader.c (read_signed_integer): Likewise.
1120 * tests/calc.m4: New file.
1121 * Makefile.am, suite.m4: Adjust.
1122 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1124 2000-09-18 Akim Demaille <akim@epita.fr>
1126 Add support for an Autotest test suite for Bison.
1128 * m4/m4.m4, m4/atconfig.m4: New files.
1129 * m4/Makefile.am (EXTRA_DIST): Adjust.
1130 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1132 * src/getargs.c: Display a more standard --version message.
1133 * src/reader.c (reader): Formatting changes.
1134 No longer depend upon VERSION_STRING.
1135 * configure.in: No longer use `dnl'.
1136 Set up the test suite and the new directory `tests/.
1137 (VERSION_STRING): Remove.
1139 2000-04-14 Akim Demaille <akim@epita.fr>
1141 * src/reader.c (copy_comment2): New function, same as former
1142 `copy_comment', but outputs into two FILE *.
1143 (copy_comment): Use it.
1144 (parse_union_decl): Use it.
1145 (get_type, parse_start_decl): Use the same `invalid' message.
1146 (parse_start_decl, parse_union_decl): Use the same `multiple'
1148 (parse_union_decl, copy_guard, copy_action): Use the same
1149 `unmatched' message.
1150 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1152 2000-03-31 Akim Demaille <akim@epita.fr>
1154 * src/files.c (tryopen, tryclose): Move to the top.
1157 2000-03-31 Akim Demaille <akim@epita.fr>
1159 * src/main.c (main): Don't call `done', exit does it.
1161 2000-03-31 Akim Demaille <akim@epita.fr>
1163 * allocate.c: s/return (foo)/return foo/.
1166 * output.c: Likewise.
1167 * reader.c: Likewise.
1168 * symtab.c: Likewise.
1169 * vmsgetargs.c: Likewise.
1171 2000-03-31 Akim Demaille <akim@epita.fr>
1173 Clean up the error reporting functions.
1175 * src/report.c: New file.
1176 * src/report.h: Likewise.
1177 * src/Makefile.am: Adjust.
1178 * m4/error.m4: New file.
1179 * m4/Makefile.am: Adjust.
1180 * configure.in (jm_PREREQ_ERROR): Call it.
1181 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1183 (fatal, fatals): Remove. All callers use complain.c::fatal.
1184 (warn, warni, warns, warnss, warnss): Remove. All callers use
1185 complain.c::complain.
1186 (toomany): Remove, use fatal instead.
1187 * src/files.c (done): No argument, use complain_message_count.
1188 * src/main.c (main): Register `done' to `atexit'.
1190 * src/getargs.c (usage): More `fputs', less `fprintf'.
1192 2000-03-28 Akim Demaille <akim@epita.fr>
1194 * lib/: New directory.
1195 * Makefile.am (SUBDIRS): Adjust.
1196 * configure.in: Adjust.
1197 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1199 * src/alloca.c: Moved to lib/.
1200 * src/getopt.c: Likewise.
1201 * src/getopt1.c: Likewise.
1202 * src/getopt.h: Likewise.
1203 * src/ansi2knr.c: Likewise.
1204 * src/ansi2knr.1: Likewise.
1205 * src/Makefile.am: Adjust.
1206 * lib/Makefile.am: New file.
1208 2000-03-28 Akim Demaille <akim@epita.fr>
1210 * src/getargs.c (usage): Refresh the help message.
1212 2000-03-17 Akim Demaille <akim@epita.fr>
1214 * src/getopt1.c: Updated from textutils 2.0e
1215 * src/getopt.c: Likewise.
1216 * src/getopt.h: Likewise.
1218 2000-03-17 Akim Demaille <akim@epita.fr>
1220 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1221 the file name, not the whole `#line LINE FILE'.
1223 2000-03-17 Akim Demaille <akim@epita.fr>
1225 On syntax errors, report the token on which we choked.
1227 * src/bison.s1 (yyparse): In the label yyerrlab, when
1228 YYERROR_VERBOSE, add yychar in msg.
1230 2000-03-17 Akim Demaille <akim@epita.fr>
1232 * src/reader.c (copy_at): New function.
1233 (copy_guard): Use it.
1234 (copy_action): Use it.
1236 2000-03-17 Akim Demaille <akim@epita.fr>
1238 Be kind to translators, save some useless translations.
1240 * src/main.c (banner): New function.
1241 (fatal_banner): Use it.
1242 (warn_banner): Use it.
1244 2000-03-17 Akim Demaille <akim@epita.fr>
1246 * src/reader.c (copy_definition): Use copy_string and
1247 copy_comment. Removed now unused `match', `ended',
1249 (copy_comment, copy_string): Moved, to be visible from
1252 2000-03-17 Akim Demaille <akim@epita.fr>
1254 * src/reader.c (copy_string): Declare `static inline'. No
1255 problems with inline, since it is checked by configure.
1256 (copy_comment): Likewise.
1258 2000-03-17 Akim Demaille <akim@epita.fr>
1260 * src/reader.c (packsymbols): Formatting changes.
1262 2000-03-17 Akim Demaille <akim@epita.fr>
1264 * src/reader.c (copy_comment): New function, factored out from:
1265 (copy_action): Use it. Removed now unused `match', `ended',
1267 (copy_guard): Likewise.
1269 2000-03-17 Akim Demaille <akim@epita.fr>
1271 * src/reader.c (copy_string): New function, factored out from:
1272 (copy_action): Use it.
1273 (copy_guard): Likewise.
1275 2000-03-17 Akim Demaille <akim@epita.fr>
1277 Change the handling of @s so that they behave exactly like $s.
1278 There is now a pseudo variable @$ (readble and writable), location
1279 of the lhs of the rule (by default ranging from the location of
1280 the first symbol of the rhs, to the location of the last symbol,
1281 or, if the rhs is empty, YYLLOC).
1283 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1285 (yyparse): When providing a default semantic action, provide a
1286 default location action.
1287 (after the $): No longer change `*YYLSP', just stack YYLOC the
1288 same way you stack YYVAL.
1289 * src/reader.c (read_declarations): Use warns.
1290 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1291 (copy_action, case '@'): Likewise.
1292 Use a standard error message, to save useless work from
1295 2000-03-17 Akim Demaille <akim@epita.fr>
1297 * src/bison.s1: Formatting and cosmetics changes.
1298 * src/reader.c: Likewise.
1299 Update the Copyright notice.
1301 2000-03-17 Akim Demaille <akim@epita.fr>
1303 * src/bison.s1 (#line): All set to `#line' only, since the
1304 Makefile now handles them.
1306 2000-03-16 Akim Demaille <akim@epita.fr>
1308 * src/output.c (output_rule_data): Output the documentation of
1310 (Copyright notice): Update.
1313 2000-03-16 Akim Demaille <akim@epita.fr>
1315 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1316 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1317 One `#if YYDEBUG' remains, since it uses variables which are
1318 defined only if `YYDEBUG != 0'.
1320 2000-03-16 Akim Demaille <akim@epita.fr>
1322 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1323 and related variables so that the similarities are highlighted.
1325 2000-03-16 Akim Demaille <akim@epita.fr>
1327 * src/bison.s1: Properly indent CPP directives.
1329 2000-03-16 Akim Demaille <akim@epita.fr>
1331 * src/bison.s1: Properly indent the `alloca' CPP section.
1333 2000-03-16 Akim Demaille <akim@epita.fr>
1335 Do not hard code values of directories in `configure.in'.
1336 Update the `configure' tool chain.
1338 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1340 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1341 (AC_OUTPUT): Add m4/Makefile.
1342 Bump to bison 1.28a, 1.29 has never been released.
1343 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1344 handled via src/Makefile.am.
1345 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1346 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1348 * Makefile.am (SUBDIRS): Add m4.
1349 (ACLOCAL_AM_FLAGS): New variable.
1350 (AUTOMAKE_OPTIONS): Add check-news.
1351 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1352 the proper line number and file name.
1353 (DEFS): Propagate the location of bison library files and of the
1355 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1357 * acinclude.m4: Remove, replaced by the directory m4.
1358 * m4/Makefile.am (EXTRA_DIST): New variable.
1359 * m4/gettext.m4: New file, from the fileutils.
1360 * m4/lcmessage.m4: Likewise
1361 * m4/progtest.m4: Likewise.
1362 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1364 2000-03-10 Akim Demaille <akim@epita.fr>
1367 Formatting changes of various comments.
1368 Respect the GNU coding standards at various places.
1369 Don't use `_()' when no translation is needed.
1371 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1374 OS/2 honors TMPDIR environment variable.
1376 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1378 * doc/bison.texinfo: Tweaked spelling and grammar.
1380 Removed reference to price of printed copy.
1381 Mention BISON_SIMPLE and BISON_HAIRY.
1383 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1385 * configure.in, NEWS:
1386 Bison 1.29 released.
1388 1999-10-27 Jesse Thilo <jthilo@gnu.org>
1390 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1391 Added reference card.
1393 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1395 * po/ru.po: Added Russian translation.
1397 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1399 * configure.in: Added Russian translation.
1401 1999-07-06 Jesse Thilo <jthilo@gnu.org>
1403 * configure.in, NEWS, README:
1404 Released version 1.28.
1406 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1409 Squashed redefinition warning on some systems.
1411 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1412 Have configure build version string instead of relying on ANSI string
1415 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1417 * po/POTFILES.in: Got rid of version.c.
1419 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1421 * acconfig.h, configure.in:
1422 Have configure build version string instead of relying on ANSI string
1425 1999-06-08 Jesse Thilo <jthilo@gnu.org>
1428 Dropped mention of `+' for long-named options.
1430 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1432 * src/files.c: Added <unistd.h> for unlink().
1434 * src/Makefile.am, src/system.h:
1437 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1439 * README: Added a FAQ list.
1441 * configure.in, acconfig.h:
1444 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1446 * doc/FAQ, doc/Makefile.am:
1449 1999-05-19 Jesse Thilo <jthilo@gnu.org>
1451 * src/alloc.h, src/symtab.h, src/version.c:
1452 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1454 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1456 * src/.cvsignore, src/Makefile.am:
1457 Reorganized: sources in `src', documentation in `doc'.
1459 * src/lex.c (literalchar):
1460 fixed the code for escaping double quotes (thanks
1463 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1465 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1466 Adjusted paths to reflect directory reorganization.
1468 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1470 * doc/.cvsignore, doc/Makefile.am:
1471 Reorganized: sources in `src', documentation in `doc'.
1473 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1476 Updated AC_INIT file to reflect directory reorganization.
1478 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1479 Reorganized: sources in `src', documentation in `doc'.
1481 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1484 Don't declare calloc() and realloc() if not necessary.
1486 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1488 * configure.in, acconfig.h, acinclude.m4:
1489 Don't declare calloc() and realloc() if not necessary.
1491 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1493 * po/.cvsignore: Added i18n support.
1495 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1497 * acconfig.h, configure.in, Makefile.am:
1500 1999-03-22 Jesse Thilo <jthilo@gnu.org>
1502 * src/bison.s1: Fixed #line numbers.
1504 1999-03-15 Jesse Thilo <jthilo@gnu.org>
1506 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1507 Added PO files from Translation Project.
1509 1999-03-03 Jesse Thilo <jthilo@gnu.org>
1512 Added support for non-ANSI compilers (ansi2knr).
1514 1999-02-16 Jesse Thilo <jthilo@gnu.org>
1516 * configure.in: Bumped version number to 1.27.
1519 Added `bison.simple' to list of files removed by `make distclean'.
1521 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1523 * src/files.c, src/files.h:
1524 Defined locations of parser files in config.h instead of Makefile.
1526 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1528 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1529 Defined locations of parser files in config.h instead of Makefile.
1531 1999-02-09 Jesse Thilo <jthilo@gnu.org>
1534 Removed inappropriate use of $< macro.
1536 1999-02-05 Jesse Thilo <jthilo@gnu.org>
1538 * po/Makefile.in.in, po/POTFILES.in:
1539 Add `po' directory skeleton.
1541 1999-01-27 Jesse Thilo <jthilo@gnu.org>
1543 * README: Document help-bison list.
1545 * configure.in: Add check for mkstemp().
1547 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1549 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1550 Hush a few compiler warnings.
1553 Add tryclose(), which verifies that fclose was successful.
1554 Hush a couple of compiler warnings.
1556 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1558 * Makefile.am, OChangeLog:
1559 ChangeLog is now automatically generated. Include the old version as
1562 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1564 * 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:
1567 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1569 * doc/bison.texinfo: Fix formatting glitch.
1571 * doc/bison.texinfo: Update FSF address.
1573 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1575 * acconfig.h: Update FSF address.
1577 1999-01-08 Jesse Thilo <jthilo@gnu.org>
1580 Don't define PACKAGE here, since config.h defines it.
1582 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1584 * src/reader.c: Update copyright date.
1587 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1588 favor of output directly to stderr (avoids buffer overruns).
1590 * src/reader.c: Some checks for premature EOF.
1592 * 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:
1593 Use prototypes if the compiler understands them.
1595 * src/files.c: Honor TMPDIR on Unix hosts.
1596 Use prototypes if the compiler understands them.
1599 Fix a couple of buffer overrun bugs.
1600 Use prototypes if the compiler understands them.
1602 * src/system.h: Include unistd.h and ctype.h.
1603 Use #ifdef instead of #if for NLS symbols.
1605 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1607 * doc/bison.texinfo:
1608 Delete comment "consider using @set for edition number, etc..." since
1609 we now are doing so.
1611 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1614 Use prototypes if the compiler understands them.
1616 * NEWS: Document 1.26 highlights.
1618 * Makefile.am: Require Automake 1.3 or later.
1621 Use prototypes if the compiler understands them.
1623 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1626 Use VERSION symbol from automake for version number.
1628 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1630 * acconfig.h, configure.in, version.cin:
1631 Use VERSION symbol from automake for version number.
1633 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1636 Distribute original version of simple parser (bison.s1), not built
1637 version (bison.simple).
1639 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1641 * doc/bison.texinfo: Add info dir entry.
1643 * doc/bison.texinfo:
1644 Let automake put version number into documentation.
1646 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1648 * src/bison.cld, src/build.com, src/vmshlp.mar:
1649 Add non-RCS files from /gd/gnu/bison.
1651 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1654 Document the BISON_HAIRY and BISON_SIMPLE variables.
1656 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1658 * src/version.c: Build version.c automatically.
1661 Fix token numbering (used to start at 258, not 257).
1663 * src/system.h: Include config.h.
1665 * src/getargs.c: Update bug report address.
1667 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1668 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1670 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1673 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1675 * configure.in, version.cin:
1676 Build version.c automatically.
1678 * AUTHORS: Add AUTHORS file.
1680 * README: Update bug report address.
1683 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1685 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1688 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1690 * doc/bison.texinfo: Clean up some formatting.
1692 1998-05-05 Richard Stallman <rms@gnu.org>
1694 * doc/bison.texinfo:
1695 Explain better why to make a pure parser.
1697 1998-01-05 Richard Stallman <rms@gnu.org>
1699 * src/files.c (openfiles):
1700 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1701 find a temporary directory, if possible. Do not unlink files while
1704 1997-08-25 Richard Stallman <rms@gnu.org>
1706 * src/reader.c (stack_offset;):
1707 Change some warni to warns.
1709 * src/lex.c (literalchar): Use warns, not warni.
1711 1997-06-28 Richard Stallman <rms@gnu.org>
1713 * src/bison.s1: Add a Bison version comment.
1715 * src/main.c (fatal, warn, berror):
1718 1997-06-28 Richard Stallman <rms@gnu.org>
1720 * Makefile.in (bison_version): New variable.
1721 (dist): Use that variable.
1722 (bison.s1): Substitute the Bison version into bison.simple.
1724 * bison.simple: Add a Bison version comment.
1726 1997-06-18 Richard Stallman <rms@gnu.org>
1728 * src/main.c (fatal, warn, berror):
1729 Make error messages standard.
1730 (toomany): Improve error message text.
1732 * 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:
1733 new.h renamed to alloc.h.
1735 1997-06-18 Richard Stallman <rms@gnu.org>
1737 * Makefile.in: new.h renamed to alloc.h.
1739 1997-05-24 Richard Stallman <rms@gnu.org>
1741 * src/lex.c (literalchar):
1742 Fix the code for escaping \, " and '.
1744 (lex): Avoid trouble when there are many chars
1745 to discard in a char literal with just several chars in it.
1747 1997-05-17 Richard Stallman <rms@gnu.org>
1750 Use malloc, if using alloca is troublesome.
1751 (YYSTACK_USE_ALLOCA): New flag macro.
1752 Define it for some systems and compilers.
1753 (YYSTACK_ALLOC): New macro.
1754 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1755 If it was malloc'd, free it.
1757 1997-05-17 Richard Stallman <rms@gnu.org>
1760 Use malloc, if using alloca is troublesome.
1761 (YYSTACK_USE_ALLOCA): New flag macro.
1762 Define it for some systems and compilers.
1763 (YYSTACK_ALLOC): New macro.
1764 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1765 If it was malloc'd, free it.
1767 1997-04-23 Richard Stallman <rms@gnu.org>
1770 (alloca) [__hpux]: Always define as __builtin_alloca.
1772 1997-04-23 Richard Stallman <rms@gnu.org>
1775 (alloca) [__hpux]: Always define as __builtin_alloca.
1777 1997-04-22 Richard Stallman <rms@gnu.org>
1780 [__hpux]: Include alloca.h (right for HPUX 10)
1781 instead of declaring alloca (right for HPUX 9).
1783 * src/bison.s1 (__yy_memcpy):
1784 Declare arg `count' as unsigned int.
1785 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1787 1997-04-22 Richard Stallman <rms@gnu.org>
1790 [__hpux]: Include alloca.h (right for HPUX 10)
1791 instead of declaring alloca (right for HPUX 9).
1793 * bison.simple (__yy_memcpy):
1794 Declare arg `count' as unsigned int.
1795 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1797 1997-01-03 Richard Stallman <rms@gnu.org>
1799 * src/allocate.c: [__STDC__ or _MSC_VER]:
1800 Declare calloc and realloc to return void *.
1802 1997-01-02 Richard Stallman <rms@gnu.org>
1805 [_MSC_VER]: Include stdlib.h and process.h.
1806 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1808 * src/main.c (main): Return FAILURE as a value.
1809 (printable_version): Declare arg as int, not char.
1811 1997-01-02 Richard Stallman <rms@gnu.org>
1813 * Makefile.in (dist):
1814 Explicitly check for symlinks, and copy them.
1816 1996-12-19 Richard Stallman <rms@gnu.org>
1819 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1821 1996-12-18 Paul Eggert <eggert@gnu.org>
1823 * src/bison.s1 (yyparse):
1824 If __GNUC__ and YYPARSE_PARAM are both defined,
1825 declare yyparse to have a void * argument.
1827 1996-12-18 Paul Eggert <eggert@gnu.org>
1829 * bison.simple (yyparse):
1830 If __GNUC__ and YYPARSE_PARAM are both defined,
1831 declare yyparse to have a void * argument.
1833 1996-12-17 Richard Stallman <rms@gnu.org>
1835 * src/reduce.c (nbits): Add some casts.
1837 1996-08-12 Richard Stallman <rms@gnu.org>
1839 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1841 1996-08-12 Richard Stallman <rms@gnu.org>
1843 * bison.simple: Test _MSDOS as well as _MSDOS_.
1845 1996-07-31 Richard Stallman <rms@gnu.org>
1848 [__sun && __i386]: Include alloca.h.
1850 1996-07-31 Richard Stallman <rms@gnu.org>
1853 [__sun && __i386]: Include alloca.h.
1855 1996-07-30 Richard Stallman <rms@gnu.org>
1857 * src/bison.s1: Comment change.
1859 * src/bison.s1: Test _MSDOS_, not MSDOS.
1861 1996-07-30 Richard Stallman <rms@gnu.org>
1863 * bison.simple: Comment change.
1865 * bison.simple: Test _MSDOS_, not MSDOS.
1867 1996-06-01 Richard Stallman <rms@gnu.org>
1869 * 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:
1870 Insert `_' macro around many string constants.
1873 Insert `_' macro around many string constants.
1875 (main): Call setlocale, bindtextdomain and textdomain.
1877 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1878 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1879 [ENABLE_NLS]: Include libintl.h.
1880 [ENABLE_NLS] (gettext): Define.
1881 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1882 (N_, PACKAGE, LOCALEDIR): New macros.
1884 1996-06-01 Richard Stallman <rms@gnu.org>
1886 * POTFILES.in: New file.
1888 * Makefile.in (allocate.o):
1889 Define target explicitly.
1891 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1892 (LDFLAGS): Set to @LDFLAGS@.
1893 (configure): Run autoconf only if preceding `cd' succeeds.
1894 (bison.s1): Redirect output to temporary file then move the
1895 temporary to the target, rather than redirecting directly to bison.s1.
1896 (clean): Remove config.status and config.log.
1897 (distclean): Don't remove config.status here.
1899 1996-05-12 Richard Stallman <rms@gnu.org>
1902 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1904 1996-05-12 Richard Stallman <rms@gnu.org>
1907 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1909 1996-05-11 Richard Stallman <rms@gnu.org>
1911 * src/bison.s1 (__yy_memcpy):
1912 Really reorder the args, as was supposedly done on Feb 14 1995.
1913 (yyparse): Calls changed accordingly.
1915 1996-05-11 Richard Stallman <rms@gnu.org>
1917 * Makefile.in (dist): Don't use $(srcdir).
1919 * bison.simple (__yy_memcpy):
1920 Really reorder the args, as was supposedly done on Feb 14 1995.
1921 (yyparse): Calls changed accordingly.
1923 1996-01-27 Richard Stallman <rms@gnu.org>
1925 * src/output.c (output_rule_data):
1926 Test YYERROR_VERBOSE in the conditional
1927 around the definition of ttyname.
1929 1995-12-29 Richard Stallman <rms@gnu.org>
1932 Fix line numbers in #line commands.
1934 1995-12-29 Richard Stallman <rms@gnu.org>
1937 Fix line numbers in #line commands.
1939 1995-12-27 Richard Stallman <rms@gnu.org>
1941 * src/bison.s1 (YYPARSE_PARAM_DECL):
1942 In C++, make it always null.
1943 (YYPARSE_PARAM_ARG): New macro.
1944 (yyparse): Use YYPARSE_PARAM_ARG.
1946 1995-12-27 Richard Stallman <rms@gnu.org>
1948 * bison.simple (YYPARSE_PARAM_DECL):
1949 In C++, make it always null.
1950 (YYPARSE_PARAM_ARG): New macro.
1951 (yyparse): Use YYPARSE_PARAM_ARG.
1953 1995-11-29 Richard Stallman <rms@gnu.org>
1955 * doc/bison.texinfo:
1956 Describe literal string tokens, %raw, %no_lines, %token_table.
1958 1995-11-29 Daniel Hagerty <hag@gnu.org>
1960 * doc/bison.texinfo: Fixed update date
1962 1995-10-16 Richard Stallman <rms@gnu.org>
1964 * src/version.c: Version 1.25.
1966 1995-10-16 Richard Stallman <rms@gnu.org>
1968 * NEWS: *** empty log message ***
1970 1995-10-16 Richard Stallman <rms@gnu.org>
1972 * doc/bison.1, doc/bison.rnh:
1975 1995-10-15 Richard Stallman <rms@gnu.org>
1977 * src/vmsgetargs.c, src/getargs.c:
1978 Added -n, -k, and -raw switches.
1979 (noparserflag, toknumflag, rawtoknumflag): New variables.
1981 * src/symtab.h (SALIAS):
1982 New #define for adding aliases to %token.
1983 (struct bucket): Added `alias' field.
1985 * src/reduce.c (reduce_grammar):
1986 Revise error message.
1987 (print_notices): Remove final `.' from error message.
1989 * src/reader.c (reader_output_yylsp):
1991 (readgram): Use `#if 0' around code that accepted %command
1992 inside grammar rules: The documentation doesn't allow it,
1993 and it will fail since the %command processors scan for the next %.
1994 (parse_token_decl): Extended the %token
1995 declaration to allow a multi-character symbol as an alias.
1996 (parse_thong_decl): New function.
1997 (read_declarations): Added %thong declarations.
1998 (read_declarations): Handle NOOP to deal with allowing
1999 % declarations as another means to specify the flags.
2000 (readgram): Allow %prec prior to semantics embedded in a rule.
2001 (skip_to_char, read_declarations, copy_definition)
2002 (parse_token_decl, parse_start_decl, parse_type_decl)
2003 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2004 (get_type_name, copy_guard, copy_action, readgram)
2005 (get_type, packsymbols): Revised most error messages.
2006 Changed `fatal' to `warnxxx' to avoid aborting for error.
2007 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2008 (read_declarations): Improve the error message for
2009 an invalid character. Do not abort.
2010 (read_declarations, copy_guard, copy_action): Use
2011 printable_version to avoid unprintable characters in printed output.
2012 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2013 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2014 Allow the type of a non-terminal can be given
2015 more than once, as long as all specifications give the same type.
2018 (output_headers, output_trailers, output, output_gram)
2019 (output_rule_data): Implement noparserflag variable.
2020 Implement toknumflag variable.
2021 (output): Call reader_output_yylsp to output LTYPESTR.
2023 * src/main.c (main):
2024 If reader sees an error, don't process the grammar.
2025 (fatals): Updated to not use VARARGS1.
2026 (printable_version, int_to_string, warn, warni, warns, warnss)
2027 (warnsss): New error reporting functions. Avoid abort for error.
2030 Added THONG and NOOP for alias processing.
2031 Added SETOPT for the new code that allows setting options with %flags.
2034 Include getopt.h. Add some extern decls.
2035 (safegetc): New function to deal with EOF gracefully.
2036 (literalchar); new function to deal with reading \ escapes.
2037 (lex): Use literalchar.
2038 (lex): Implemented "..." tokens.
2039 (literalchar, lex, parse_percent_token): Made tokenbuffer
2040 always contain the token. This includes growing the token
2041 buffer while reading an integer.
2042 (parse_percent_token): Replaced if-else statement with percent_table.
2043 (parse_percent_token): Added % declarations as another
2044 way to specify the flags -n, -l, and -r. Also added hooks for
2045 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2046 major changes to files.c.
2047 (lex) Retain in the incoming stream a character following
2049 (skip_white_space, lex): Revised most error messages
2050 and changed fatal to warn to avoid aborting.
2051 (percent_table): Added %thong declarations.
2053 * src/gram.h: Comment changes.
2055 * src/files.c (openfiles, open_extra_files, done):
2057 and actfile file. Handle noparserflag. Both for -n switch.
2059 * src/conflicts.c (resolve_sr_conflict):
2060 Remove use of alloca.
2062 1995-06-01 Jim Meyering <meyering@gnu.org>
2064 * doc/bison.texinfo: *** empty log message ***
2066 1995-05-06 Richard Stallman <rms@gnu.org>
2068 * src/bison.s1: Comment change.
2070 1995-05-06 Richard Stallman <rms@gnu.org>
2072 * bison.simple: Comment change.
2074 1995-05-03 Richard Stallman <rms@gnu.org>
2076 * src/version.c: Version now 1.24.
2078 * src/bison.s1: Change distribution terms.
2080 * src/version.c: Version now 1.23.
2082 1995-05-03 Richard Stallman <rms@gnu.org>
2084 * doc/bison.texinfo:
2085 Rewrite "Conditions for Using Bison".
2086 Update version to 1.24.
2088 1995-05-03 Richard Stallman <rms@gnu.org>
2090 * bison.simple: Change distribution terms.
2092 1995-02-23 Richard Stallman <rms@gnu.org>
2094 * src/files.c: Test __VMS_POSIX as well as VMS.
2096 1995-02-14 Jim Meyering <meyering@gnu.org>
2098 * src/bison.s1 (__yy_memcpy):
2099 Renamed from __yy_bcopy to avoid
2100 confusion. Reverse FROM and TO arguments to be consistent with
2103 1995-02-14 Jim Meyering <meyering@gnu.org>
2105 * bison.simple (__yy_memcpy):
2106 Renamed from __yy_bcopy to avoid
2107 confusion. Reverse FROM and TO arguments to be consistent with
2110 1994-11-10 David J. MacKenzie <djm@gnu.org>
2116 * Makefile.in (DISTFILES): Include NEWS.
2118 * Makefile.in (DISTFILES):
2119 Include install-sh, not install.sh.
2121 * configure.in: Update to Autoconf v2 macro names.
2123 1994-10-05 David J. MacKenzie <djm@gnu.org>
2125 * Makefile.in: fix typo
2127 * Makefile.in (prefix, exec_prefix):
2128 Let configure set them.
2130 1994-09-28 David J. MacKenzie <djm@gnu.org>
2132 * Makefile.in: Set datadir to $(prefix)/share.
2134 1994-09-15 Richard Stallman <rms@gnu.org>
2137 Update copyright notice and GPL version.
2139 1994-09-15 Richard Stallman <rms@gnu.org>
2142 Update copyright notice and GPL version.
2144 1994-07-12 Richard Stallman <rms@gnu.org>
2146 * src/reduce.c, src/reader.c:
2149 1994-05-05 David J. MacKenzie <djm@gnu.org>
2151 * Makefile.in: entered into RCS
2153 1994-03-26 Richard Stallman <rms@gnu.org>
2155 * src/bison.s1: entered into RCS
2157 1994-03-26 Richard Stallman <rms@gnu.org>
2159 * bison.simple: entered into RCS
2161 1994-03-25 Richard Stallman <rms@gnu.org>
2163 * src/main.c: entered into RCS
2165 1994-03-24 Richard Stallman <rms@gnu.org>
2167 * src/conflicts.c: entered into RCS
2169 1994-01-02 Richard Stallman <rms@gnu.org>
2171 * Makefile.in: *** empty log message ***
2173 1993-11-21 Richard Stallman <rms@gnu.org>
2175 * src/bison.s1: *** empty log message ***
2177 1993-11-21 Richard Stallman <rms@gnu.org>
2179 * doc/bison.texinfo: entered into RCS
2181 * doc/bison.texinfo: *** empty log message ***
2183 1993-11-21 Richard Stallman <rms@gnu.org>
2185 * bison.simple: *** empty log message ***
2187 1993-10-25 David J. MacKenzie <djm@gnu.org>
2189 * doc/bison.texinfo: *** empty log message ***
2191 1993-10-19 Richard Stallman <rms@gnu.org>
2193 * src/bison.s1: *** empty log message ***
2195 1993-10-19 Richard Stallman <rms@gnu.org>
2197 * bison.simple: *** empty log message ***
2199 1993-10-14 Richard Stallman <rms@gnu.org>
2201 * src/bison.s1: *** empty log message ***
2203 1993-10-14 Richard Stallman <rms@gnu.org>
2205 * bison.simple: *** empty log message ***
2207 1993-09-14 David J. MacKenzie <djm@gnu.org>
2209 * doc/bison.texinfo: *** empty log message ***
2211 1993-09-13 Noah Friedman <friedman@gnu.org>
2213 * Makefile.in: *** empty log message ***
2215 1993-09-10 Richard Stallman <rms@gnu.org>
2217 * src/conflicts.c: *** empty log message ***
2219 * src/system.h: entered into RCS
2221 1993-09-10 Richard Stallman <rms@gnu.org>
2223 * doc/bison.1: entered into RCS
2225 1993-09-06 Noah Friedman <friedman@gnu.org>
2227 * src/version.c: entered into RCS
2229 1993-09-06 Noah Friedman <friedman@gnu.org>
2231 * Makefile.in: *** empty log message ***
2233 1993-07-30 David J. MacKenzie <djm@gnu.org>
2235 * Makefile.in: *** empty log message ***
2237 1993-07-24 Richard Stallman <rms@gnu.org>
2239 * src/bison.s1: *** empty log message ***
2241 1993-07-24 Richard Stallman <rms@gnu.org>
2243 * bison.simple: *** empty log message ***
2245 1993-07-08 David J. MacKenzie <djm@gnu.org>
2247 * Makefile.in: *** empty log message ***
2249 1993-07-04 Richard Stallman <rms@gnu.org>
2251 * src/bison.s1: *** empty log message ***
2253 1993-07-04 Richard Stallman <rms@gnu.org>
2255 * bison.simple: *** empty log message ***
2257 1993-06-26 David J. MacKenzie <djm@gnu.org>
2259 * src/getargs.c: entered into RCS
2261 1993-06-26 David J. MacKenzie <djm@gnu.org>
2263 * doc/bison.texinfo: *** empty log message ***
2265 * doc/bison.1: New file.
2267 1993-06-25 Richard Stallman <rms@gnu.org>
2269 * src/getargs.c: New file.
2271 1993-06-16 Richard Stallman <rms@gnu.org>
2273 * src/bison.s1: *** empty log message ***
2275 1993-06-16 Richard Stallman <rms@gnu.org>
2277 * bison.simple: *** empty log message ***
2279 1993-06-03 Richard Stallman <rms@gnu.org>
2281 * src/bison.s1: New file.
2283 1993-06-03 Richard Stallman <rms@gnu.org>
2285 * doc/bison.texinfo: *** empty log message ***
2287 1993-06-03 Richard Stallman <rms@gnu.org>
2289 * bison.simple: New file.
2291 1993-05-19 Richard Stallman <rms@gnu.org>
2293 * doc/bison.texinfo: New file.
2295 1993-05-07 Noah Friedman <friedman@gnu.org>
2297 * Makefile.in: *** empty log message ***
2299 1993-04-28 Noah Friedman <friedman@gnu.org>
2301 * src/reader.c: *** empty log message ***
2303 1993-04-23 Noah Friedman <friedman@gnu.org>
2305 * src/alloc.h: entered into RCS
2307 1993-04-20 David J. MacKenzie <djm@gnu.org>
2309 * src/version.c: *** empty log message ***
2311 * src/files.c, src/allocate.c:
2314 * src/reader.c: *** empty log message ***
2316 * src/lex.c: entered into RCS
2318 * src/conflicts.c: New file.
2320 * src/symtab.c: entered into RCS
2322 * src/alloc.h: New file.
2324 * src/LR0.c: entered into RCS
2326 1993-04-18 Noah Friedman <friedman@gnu.org>
2328 * src/reader.c: New file.
2330 * src/version.c: *** empty log message ***
2332 1993-04-18 Noah Friedman <friedman@gnu.org>
2334 * Makefile.in: *** empty log message ***
2336 1993-04-17 Noah Friedman <friedman@gnu.org>
2338 * Makefile.in: *** empty log message ***
2340 1993-04-15 Richard Stallman <rms@gnu.org>
2342 * src/main.c, src/files.c:
2345 1993-04-15 Noah Friedman <friedman@gnu.org>
2347 * configure.in: entered into RCS
2349 * configure.in: *** empty log message ***
2351 * configure.in: New file.
2353 1993-04-14 Richard Stallman <rms@gnu.org>
2355 * Makefile.in: New file.
2357 1993-04-13 Richard Stallman <rms@gnu.org>
2359 * src/version.c: New file.
2361 1993-03-25 Richard Stallman <rms@gnu.org>
2363 * src/output.c: entered into RCS
2365 1992-09-25 Richard Stallman <rms@gnu.org>
2367 * configure.bat: entered into RCS
2369 1992-06-22 Richard Stallman <rms@gnu.org>
2371 * src/vmsgetargs.c: entered into RCS
2373 1992-06-22 Richard Stallman <rms@gnu.org>
2375 * doc/bison.rnh: entered into RCS
2377 1992-04-20 David J. MacKenzie <djm@gnu.org>
2379 * README: entered into RCS
2381 1992-01-22 Richard Stallman <rms@gnu.org>
2383 * src/machine.h: entered into RCS
2385 1991-12-21 Richard Stallman <rms@gnu.org>
2387 * src/lalr.c, src/closure.c:
2390 1991-12-20 Richard Stallman <rms@gnu.org>
2392 * src/state.h: entered into RCS
2394 1991-12-18 Richard Stallman <rms@gnu.org>
2396 * src/print.c, src/nullable.c, src/derives.c:
2399 1991-11-03 David J. MacKenzie <djm@gnu.org>
2401 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2404 1988-09-09 Richard Stallman <rms@gnu.org>
2406 * src/bison.hairy: entered into RCS
2408 1987-12-16 Richard Stallman <rms@gnu.org>
2410 * REFERENCES: entered into RCS