1 2002-03-12 Akim Demaille <akim@epita.fr>
5 2002-03-04 Akim Demaille <akim@epita.fr>
9 2002-03-04 Akim Demaille <akim@epita.fr>
11 * tests/output.at (AT_CHECK_OUTPUT): Another test, making sure
12 bison fails when trying to output a parser and a header under the
14 * src/files.c (compute_output_file_names): Refuse when parser and
15 header have the same name.
17 2002-03-04 Akim Demaille <akim@epita.fr>
19 * src/reader.c (readgram): A missing `;' is a warning, not an
22 2002-03-04 Akim Demaille <akim@epita.fr>
24 * tests/sets.at (Broken Closure): Add the ending `;'.
25 * tests/input.at (Invalid $n, Invalid @n): Likewise.
26 * tests/output.at (AT_CHECK_OUTPUT): Likewise.
27 * src/reader.at (readgram): Complain if a rule is not ended with a
30 2002-02-28 Akim Demaille <akim@epita.fr>
32 * tests/Makefile.am (check_SCRIPTS): New.
34 2002-02-28 Akim Demaille <akim@epita.fr>
38 2002-02-25 Akim Demaille <akim@epita.fr>
40 * src/bison.simple (yydebug): Fix the comment.
43 2002-02-21 Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
45 * src/getargs.c [AS_FILE_NAME] [__DJGPP__]: New macro STRLWR.
46 Check that no NULL pointer is passed to strlwr.
48 2002-02-14 Paul Eggert <eggert@twinsun.com>
50 Remove the support for C++ namespace cleanliness; it was
51 causing more problems than it was curing, since it didn't work
52 properly on some nonstandard C++ compilers. This can wait
53 for a proper C++ parser.
55 * NEWS: Document this.
56 * doc/bison.texinfo (Bison Parser, Debugging): Remove special mention
57 of C++, as it's treated like C now.
58 * src/bison.simple (YYSTD): Remove.
59 (YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL):
60 Treat C++ just like Standard C instead of trying to support
61 namespace cleanliness.
63 2002-02-14 Akim Demaille <akim@epita.fr>
65 * tests/regression.at (else): Adjust to Andreas' change.
67 2002-02-13 Andreas Schwab <schwab@suse.de>
69 * src/output.c (output_rule_data): Don't output NULL, it might
72 2002-02-13 Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
74 * doc/bison.texinfo: Add DJGPP specific information about
75 file name extensions used on different file systems.
77 * src/files.c (output_files): MSDOS conditional removed.
78 New macro EXT_TYPE will provide at runtime the appropiate
79 output file extension.
80 (skeleton_find) [MSDOS]: __DJGPP__ conditional added to
81 inhibit the use of DOSish code. POSIX like behaviour.
83 * src/getargs.c [AS_FILE_NAME]: __DJGPP__ conditional added.
84 Check at runtime if LFN-API (case preserving) is available or not.
85 Do not unconditionly convert upper case strings in lower case strings.
87 * src/system.h [MSDOS] [__GO32__]: __DJGPP__ conditional added.
88 __GO32__ is obsolete and its use is deprecated.
89 [MSDOS]: __DJGPP__ conditional added. Use pathconf
90 to choose POSIX or DOS file extensions at run time.
91 [MSDOS] [__DJGPP__]: New macro EXT_TYPE. If LFN-API is
92 available, the src or header file extension (.c or .h) will be
93 added to the output file name. If no LFN-API is available no src
94 or header file extension will be added to the output file name.
95 [MSDOS] [!__DJGPP__]: New macro EXT_TYPE. Src file and header
96 file extension will never be added to the output file name.
97 [!MSDOS]: New macro EXT_TYPE. Src file and header file
98 extensions will always be added to the output file name.
100 2002-02-11 Akim Demaille <akim@epita.fr>
102 * tests/regression.at (%nonassoc and eof): Don't include non
105 2002-02-07 Akim Demaille <akim@epita.fr>
109 2002-02-07 Akim Demaille <akim@epita.fr>
111 * tests/regression.at, tests/torture.at, tests/calc.at: Adjust to
112 newest Autotest, where `.' is not in the PATH.
114 2002-02-07 Florian Krohm <florian@edamail.fishkill.ibm.com>
116 * src/reader.c (copy_at): Detect invalid @N values.
118 2002-02-07 Akim Demaille <akim@epita.fr>
120 * tests/input.at: New.
122 2002-01-29 Paul Eggert <eggert@twinsun.com>
124 * src/bison.simple (YYSIZE_T): Do not define merely because
125 YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined.
126 On some platforms, <alloca.h> does not declare YYSTD (size_t).
128 2002-01-25 Akim Demaille <akim@epita.fr>
130 * tests/regression.at (%nonassoc and eof): New.
131 Suggested by Robert Anisko.
133 2002-01-23 Akim Demaille <akim@epita.fr>
137 2002-01-23 Akim Demaille <akim@epita.fr>
139 * src/getargs.c (version): Bump to 2002.
140 Patch the PO files to help translators.
142 2002-01-22 Akim Demaille <akim@epita.fr>
144 Bison dumps core when trying to complain about broken input files.
145 Reported by Cris van Pelt.
147 * src/lex.c (parse_percent_token): Be sure to set token_buffer.
148 * tests/regression.at (Invalid input: 1, Invalid input: 2): Merge
150 (Invalid inputs): Strengthen: exercise parse_percent_token.
152 2002-01-21 Paolo Bonzini <bonzini@gnu.org>
156 2002-01-21 Kees Zeelenberg <kzlg@users.sourceforge.net>
158 * src/files.c (skeleton_find) [MSDOS]: Fix cp definition.
160 2002-01-20 Marc Autret <marc@gnu.org>
162 * src/system.h: Need to define __attribute__ away for non-GCC
163 compilers as well (i.e. the vendor C compiler).
164 Suggested by Albert Chin-A-Young.
166 2002-01-19 Marc Autret <marc@gnu.org>
168 * tests/output.at: New test.
169 * src/files.c (compute_base_names): Don't map extensions when
170 the YACC flag is set, use defaults.
171 Reported by Evgeny Stambulchik.
173 2002-01-19 Marc Autret <marc@gnu.org>
175 * configure.in, doc/version.texi: Bump to 1.31a.
177 2002-01-14 Akim Demaille <akim@epita.fr>
181 2002-01-14 Akim Demaille <akim@epita.fr>
183 * tests/regression.at (Invalid CPP headers): Remove.
185 2002-01-12 Akim Demaille <akim@epita.fr>
189 2002-01-12 Akim Demaille <akim@epita.fr>
191 * lib/Makefile.am (EXTRA_DIST): Add strnlen.c: Automake is still
192 not using Autoconf traces and does not see Autoconf's AC_LIBOBJ.
194 2002-01-11 Akim Demaille <akim@epita.fr>
198 2002-01-11 Akim Demaille <akim@epita.fr>
200 * configure.in: Use AC_FUNC_STRNLEN.
201 Fixes the failures observed on AIX 4.3 by H.Merijn Brand.
203 2002-01-09 Akim Demaille <akim@epita.fr>
207 2002-01-09 Akim Demaille <akim@epita.fr>
209 * configure.in (WERROR_CFLAGS): Compute it.
210 * src/Makefile.am (CFLAGS): Pass it.
211 * tests/atlocal.in (CFLAGS): Idem.
213 2002-01-08 Akim Demaille <akim@epita.fr>
215 * lib/Makefile.am (libbison_a_SOURCES): Add xstrndup.c.
216 * src/getargs.c (AS_FILE_NAME): New.
217 (getargs): Use it to convert DOSish file names.
218 * src/files.c (base_name): Rename as full_base_name to avoid
219 clashes with `base_name ()'.
220 (get_extension_index): Remove.
221 (filename_split): New.
222 (compute_base_names): N-th rewrite, using filename_split.
224 2002-01-08 Akim Demaille <akim@epita.fr>
226 * lib/basename.c, lib/dirname.h, lib/dirname.c, lib/memrchr.c,
227 * lib/xstrndup.c, lib/strchr.c:
228 New, stolen from the Fileutils 4.1.
229 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
230 * configure.in: Check for the presence of memrchr, strchr,
231 strnlen, and of their prototypes.
232 Don't check for strndup: we no longer use it.
233 * src/system.h: Adjust the prototypes.
235 2002-01-07 Akim Demaille <akim@epita.fr>
237 * src/conflicts.c (count_rr_conflicts): The previous RR conflicts
238 patch was improperly applied: fix it.
240 2002-01-07 Akim Demaille <akim@epita.fr>
242 * tests/torture.at (GNU Cim Grammar): Reintroduce their weird
243 'switch' without a following semicolon.
244 * tests/regression.at (braces parsing): New.
246 2002-01-06 Akim Demaille <akim@epita.fr>
248 Bison is dead wrong in its RR conflict reports.
250 * tests/torture.at (GNU Cim Grammar): New.
251 * src/conflicts.c (count_rr_conflicts): Fix.
253 2002-01-06 Akim Demaille <akim@epita.fr>
255 Creating package.m4 from configure.ac causes too many problems.
257 * tests/Makefile.am (package.m4): Create it by hand,
258 AC_CONFIG_TESTDIR no longer does in the most recent CVS Autoconf.
260 2002-01-04 Paul Eggert <eggert@twinsun.com>
262 * doc/bison.texinfo (Debugging):
263 Remove YYSTDERR; it's no longer defined or used.
264 Also, s/cstdio.h/cstdio/.
266 2002-01-03 Akim Demaille <akim@epita.fr>
268 * src/files.h: Add it prototype.
270 2002-01-03 Akim Demaille <akim@epita.fr>
272 * src/files.c, src/files.h (strsuffix): Not static.
273 * src/conflicts.c (conflicts_print): Don't consider it is an error
274 to have a %expectation violation on a file ending by `plural.y'.
277 2002-01-03 Akim Demaille <akim@epita.fr>
279 * tests/bison.in: Adjust to CVS Autoconf.
280 * tests/calc.at (exp): We no longer need to special case GCC as
281 the warning flags are passed by configure.
282 * tests/atlocal.in: Adjust.
283 * configure.in: Bump to 1.30j.
285 2002-01-03 Akim Demaille <akim@epita.fr>
289 2002-01-03 Akim Demaille <akim@epita.fr>
291 * src/bison.simple (YYSTDERR): Remove, replace `stderr'.
292 The ISO C++ standard is extremely clear about it: stderr is
293 considered a macro, not a regular symbol (see table 94 `Header
294 <cstdio> synopsis', [lib.c.files] 27.8.2 C Library files).
295 Therefore std:: does not apply to it. It still does with fprintf.
296 Also, s/cstdio.h/cstdio/.
298 2002-01-03 Akim Demaille <akim@epita.fr>
300 * lib/quotearg.c: Use `#include "..."' instead of `#include <...>'
301 for non system headers.
303 2001-12-27 Paul Eggert <eggert@twinsun.com>
305 * src/bison.simple (YYSTACK_ALLOC, YYSIZE_T): Remove special
306 cases for non-GNU systems like AIX, HP-UX, SGI, Sun, and
307 Sparc, as they were causing more porting problems than the
308 (minor) performance improvement was worth.
310 2001-12-22 Akim Demaille <akim@epita.fr>
312 * src/output.c (output_short_table, output_short_or_char_table):
313 Change the prototype to use `int' for array ranges: some
314 invocations do pass an int, not a short.
315 Reported by Wayne Green.
317 2001-12-22 Akim Demaille <akim@epita.fr>
319 Some actions of web2c.y are improperly triggered.
320 Reported by Mike Castle.
322 * src/lalr.c (traverse): s/F (i)[k] = F (j)[k]/F (j)[k] = F (i)[k]/.
323 * tests/regression.at (Web2c): Rename as...
324 (Web2c Report): this.
325 (Web2c Actions): New.
327 2001-12-22 Akim Demaille <akim@epita.fr>
329 Reductions in web2c.y are improperly reported.
330 Reported by Mike Castle.
332 * src/conflicts.c (print_reductions): Fix.
333 * tests/regression.at (Web2c): New.
335 2001-12-18 Akim Demaille <akim@epita.fr>
339 2001-12-18 Akim Demaille <akim@epita.fr>
341 Some host fail on `assert (!"foo")', which expands to
342 ((!"foo") ? (void)0 : __assert("!"foo."", __FILE__, __LINE__))
343 Reported by Nelson Beebee.
345 * src/output.c, src/vcg.c: Replace `assert (!"it succeeded")' with
346 `#define it_succeeded 0' and `assert (it_succeeded)'.
348 2001-12-17 Paul Eggert <eggert@twinsun.com>
350 * src/bison.simple (YYSTD): New macro.
351 (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE, YYFPRINTF, YYSTDERR): Use
352 it to simplify macros, and fix some C++ porting problems reported
355 * src/output.c (output): Define YYDEBUG to 0 if it is not defined
356 and if we are not debugging. POSIX requires this.
357 * NEWS, doc/bison.texinfo, doc/bison.1, doc/bison.rnh: Document this.
359 * src/output.c (output_gram, output_rule_data): Do not assume that
360 the user defines YYDEBUG to a properly parenthesized expression.
362 2001-12-15 Akim Demaille <akim@epita.fr>
364 * src/nullable.c (set_nullable): Useless rules must be skipped,
365 otherwise, since we range over their symbols, we might look at a
366 nonterminal which no longer ``exists'', i.e., it is not counted in
367 `nvars', hence we overflow our arrays.
369 2001-12-15 Akim Demaille <akim@epita.fr>
371 * src/reader.c (copy_action): When --yacc, don't append a `;'
372 to the user action: let it fail if lacking.
373 Suggested by Arnold Robbins and Tom Tromey.
375 2001-12-13 Akim Demaille <akim@epita.fr>
379 2001-12-13 Akim Demaille <akim@epita.fr>
381 The computation of nullable is broken: it doesn't handle empty
384 * tests/torture.at (GNU AWK Grammar): New.
385 * tests/sets.at (Nullable): New.
386 * src/nullable.c (set_nullable): Instead of blindly looping over
387 `ritems', loop over the rules, and then over their rhs's.
389 Work around Autotest bugs.
391 * src/warshall.c (bitmatrix_print): Don't use `+--+' as table
392 frame, because Autotest understand lines starting with a `+' as
393 traces from the shell. Then, they are not processed properly.
394 Admittedly an Autotest bug, but we don't have time to wait for
395 Autotest to catch up.
396 * tests/regression.at (Broken Closure): Adjust to the new table
399 * tests/sets.at: here.
401 2001-12-12 Paul Eggert <eggert@twinsun.com>
403 * src/bison.simple (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE):
404 Do not infringe on the global user namespace when using C++.
405 (YYFPRINTF, YYSTDERR): New macros, needed for the above.
406 All uses of `fprintf' and `stderr' changed.
408 * src/output.c (output): Do not output "#include <stdio.h>"; that
409 is bison.simple's job. stdio.h should be included only if
410 necessary, to avoid infringing on the user name space when
413 2001-12-12 Akim Demaille <akim@epita.fr>
415 * src/complain.h, src/complain.c: Remove error_one_per_line, rely
416 on that of lib/error.c.
418 2001-12-12 Akim Demaille <akim@epita.fr>
420 Some hosts don't like `/' in includes.
422 * src/system.h: Include libgettext.h without qualifying the path.
423 * src/Makefile.am (INCLUDES): Add $(top_srcdir)/intl, remove
426 2001-12-10 Akim Demaille <akim@epita.fr>
428 Bison dumps core on bash.y.
429 Reported by Pascal Bart.
431 * src/warshall.c (bitmatrix_print): New.
433 When performing a transitive closure R(i, j) && R(j, k) => R(i, k),
434 j must be the outer loop.
435 * tests/regression.at (Broken Closure): New.
437 2001-12-05 Akim Demaille <akim@epita.fr>
441 2001-12-05 Akim Demaille <akim@epita.fr>
443 * tests/atlocal.in (CPPFLAGS): Do not leave a space between -I and
445 Reported by Peter Hámorský.
447 2001-12-05 Akim Demaille <akim@epita.fr>
449 * src/conflicts.c (err_table): Remove.
450 (resolve_sr_conflict): Adjust.
451 * src/lalr.h (state_t.reduction_table, state_t.shift_table):
453 (state_t.reductions, state_t.shifts): this.
455 2001-12-05 Akim Demaille <akim@epita.fr>
457 * src/reduce.c (reduce_grammar_tables): No longer disable the
458 removal of useless rules via CPP but via `if (0)', so that the
459 compiler still check the code is valid.
460 For instance, it should have noticed `rline' no longer exists: use
461 the `line' member of rule_t.
462 * src/gram.c (dummy, rline): Remove, unused.
464 2001-12-05 Akim Demaille <akim@epita.fr>
466 * src/output.c (pack_vector): Use assert, not berror.
467 * src/main.c (berror): Remove, unused.
469 2001-12-05 Akim Demaille <akim@epita.fr>
471 New experimental feature: if --verbose --trace output all the
472 items of a state, not only its kernel.
474 * src/print.c (print_core): If `trace_flag', then invoke closure
475 before outputting the items of the state (print_core is no longer
476 a correct name them).
477 (print_results): Invoke new_closure/free_closure if needed.
479 2001-12-05 Akim Demaille <akim@epita.fr>
481 * src/LR0.c (new_itemsets): Use nshifts only, not shiftcount.
482 * src/closure.c, src/closure.h (itemsetsize): Rename as...
483 (nitemset): for consistency with the rest of the project.
485 2001-12-05 Akim Demaille <akim@epita.fr>
487 * src/closure.c (print_closure): Improve.
488 (closure): Use it for printing input and output.
490 2001-12-05 Akim Demaille <akim@epita.fr>
492 * src/closure.c (FIRSTS, FDERIVES): Adjust to reality: they are
493 indexed by nonterminals.
495 2001-12-05 Akim Demaille <akim@epita.fr>
497 * src/warshall.c (TC, RTC): De-obsfucate (source reduced to 22% of
499 * src/warshall.h: Remove accidental duplication of the content.
501 2001-12-05 Akim Demaille <akim@epita.fr>
503 * src/closure.c (set_fderives): De-obfuscate.
505 2001-12-05 Akim Demaille <akim@epita.fr>
507 * src/closure.c (print_firsts, print_fderives): De-obfuscate.
509 2001-12-05 Akim Demaille <akim@epita.fr>
511 * src/closure.c (set_firsts): De-obfuscate.
513 2001-12-05 Akim Demaille <akim@epita.fr>
515 * src/output.c (action_row): De-obfuscate
516 using the good o' techniques: arrays not pointers, variable
517 locality, BITISSET, RESETBIT etc.
519 2001-12-05 Akim Demaille <akim@epita.fr>
521 Pessimize the code to simplify it: from now on, all the states
522 have a valid SHIFTS, which NSHIFTS is possibly 0.
524 * src/LR0.c (shifts_new): Be global and move to..
525 * src/state.c, src/state.h: here.
526 * src/conflicts, src/lalr.c, src/output.c, src/print.c,
527 * src/print_graph: Adjust.
529 2001-12-05 Akim Demaille <akim@epita.fr>
531 * src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New.
532 * src/conflicts.c: Use it.
533 Restore a few missing `if (!SHIFT_IS_DISABLED)' which were
534 incorrectly ``simplified''.
536 2001-12-05 Akim Demaille <akim@epita.fr>
538 * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate
539 using the good o' techniques: arrays not pointers, variable
540 locality, BITISSET, RESETBIT etc.
542 2001-12-05 Akim Demaille <akim@epita.fr>
544 * src/state.h (SHIFT_SYMBOL): New.
545 * src/conflicts.c: Use it to deobfuscate.
547 2001-12-05 Akim Demaille <akim@epita.fr>
549 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts)
550 (print_reductions): De-obfuscate using the good o' techniques:
551 arrays not pointers, variable locality, BITISSET.
553 2001-12-05 Akim Demaille <akim@epita.fr>
555 * src/conflicts.c (print_reductions): Arrays, not pointers.
558 2001-12-05 Akim Demaille <akim@epita.fr>
560 * src/conflicts.c (print_reductions): Pessimize, but clarify.
562 2001-12-05 Akim Demaille <akim@epita.fr>
564 * src/conflicts.c (print_reductions): Improve variable locality.
566 2001-12-05 Akim Demaille <akim@epita.fr>
568 * src/conflicts.c (print_reductions): Pessimize, but clarify.
570 2001-12-05 Akim Demaille <akim@epita.fr>
572 * src/conflicts.c (print_reductions): Improve variable locality.
574 2001-12-05 Akim Demaille <akim@epita.fr>
576 * src/state.h (SHIFT_IS_ERROR, SHIFT_IS_GOTO, SHIFT_IS_SHIFT): New.
577 * src/lalr.c: Use them.
579 2001-12-05 Akim Demaille <akim@epita.fr>
581 * src/LR0.c (augment_automaton): Formatting changes.
582 Better variable locality.
584 2001-12-05 Akim Demaille <akim@epita.fr>
586 * src/lalr.c (matrix_print): New.
588 Use arrays instead of pointers.
590 2001-12-05 Akim Demaille <akim@epita.fr>
592 * src/lalr.c (maxrhs): Move to...
593 * src/gram.c, src/gram.h (ritem_longest_rhs): here.
594 * src/lalr.c (build_relations): Adjust.
596 2001-12-05 Akim Demaille <akim@epita.fr>
598 * src/lalr.c (transpose): Free the memory allocated to the
599 argument, as it is replaced by the results by the unique caller.
600 (build_relations): Merely invoke transpose: it handles the memory
602 Improve variable locality.
603 Avoid variables used as mere abbreviations.
604 (compute_lookaheads): Use arrays instead of pointers.
606 2001-12-05 Akim Demaille <akim@epita.fr>
608 * src/lalr.c (initialize_F): Improve variable locality.
609 Avoid variables used as mere abbreviations.
611 2001-12-05 Akim Demaille <akim@epita.fr>
613 * src/derives.c (print_derives): Display the ruleno.
614 * src/lalr.c (initialize_F, transpose): Better variable locality
615 to improve readability.
616 Avoid variables used as mere abbreviations.
618 2001-12-05 Akim Demaille <akim@epita.fr>
620 * src/lalr.c (traverse): Use arrays instead of pointers.
622 2001-12-05 Akim Demaille <akim@epita.fr>
624 * src/nullable.c (set_nullable): Use a for loop to de-obfuscate
625 the handling of squeue.
626 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
628 2001-12-05 Akim Demaille <akim@epita.fr>
630 Because useless nonterminals are now kept alive (instead of being
631 `destroyed'), we now sometimes examine them, and store information
632 related to them. Hence we need to know their number, and adjust
635 * src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
637 * src/LR0.c (allocate_itemsets): The memory allocated to
638 `symbol_count' was used for two different purpose: once to count
639 the number of occurrences of each symbol, and later reassigned to
640 `shift_symbol', containing the symbol that can be shifted from a
642 Deobfuscate, i.e., allocate, use and free `symbol_count' here
644 (new_itemsets): Allocate `shift_symbol' here.
645 (allocate_itemsets): symbol_count includes useless nonterminals.
647 (free_storage): Use `free', not `XFREE', for pointers that cannot
650 2001-12-05 Akim Demaille <akim@epita.fr>
652 * src/nullable.c (set_nullable): Deobfuscate the handling of
654 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
656 2001-12-05 Akim Demaille <akim@epita.fr>
658 * src/gram.c, src/gram.h (ritem_print): New.
659 * src/gram.c (dummy): Remove, now there is actual code in gram.c.
660 (This useless function was defined only to work around VMS linkers
661 that can't handle compilation units with variables only).
662 * src/reduce.c (dump_grammar): Use it to trace the construction of
665 2001-12-04 Paul Eggert <eggert@twinsun.com>
667 * src/bison.simple (union yyalloc): Change member names
668 to be the same as the stack names.
669 (yyparse): yyptr is now union yyalloc *, not char *.
670 (YYSTACK_RELOCATE): Likewise. This avoids a GCC warning,
671 and may generate better code on some machines.
672 (yystpcpy): Use prototype if __STDC__ is defined, not just
673 if __cplusplus is defined.
675 2001-11-30 Akim Demaille <akim@epita.fr>
677 * configure.in (WARNING_CFLAGS): Add -Werror when possible.
678 (CFLAGS): Do not include the WARNING_CFLAGS here, since GNU
679 Gettext doesn't compile cleanly, and dies with -Werror.
680 * src/Makefile.am, lib/Makefile.am, tests/atlocal.in (CFLAGS):
681 Include WARNING_CFLAGS here.
682 * lib/xstrdup.c: Include xalloc.h, so that xstrdup be declared
683 before being defined.
685 2001-11-30 Paul Eggert <eggert@twinsun.com>
687 * lib/quotearg.h (quotearg_n, quotearg_n_style):
688 First arg is int, not unsigned.
689 * lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise.
690 (SIZE_MAX, UINT_MAX): New macros.
691 (quotearg_n_options): Abort if N is negative.
692 Avoid overflow check on hosts where size_t is 64 bits and int
693 is 32 bits, as overflow is impossible there.
694 Fix off-by-one typo that caused unnecessary reallocation.
696 2001-11-30 Paul Eggert <eggert@twinsun.com>
698 Name space cleanup in generated parser.
700 * doc/bison.texinfo (Bison Parser): Discuss system headers
701 and their effect on the user name space.
704 (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX,
705 YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define unless necessary,
706 i.e. unless ! defined (yyoverflow) || defined (YYERROR_VERBOSE).
708 (YYSIZE_T): New macro. Use it instead of size_t, to avoid infringing
709 on user names when possible.
711 (YYSTACK_USE_ALLOCA): Do not define; just use any existing defn.
712 Simplify test for whather <alloca.h> exists.
714 (<stdlib.h>): Include if we will use malloc, and if standard C or C++.
716 (<stdio.h>): Include if YYDEBUG.
718 (yymemcpy): Renamed from __yy_memcpy. Do not define unless
719 ! defined (yyoverflow) && ! defined (yymemcpy).
721 (yymemcpy, yyparse): Rename local variables as needed so that
722 they all begin with 'yy'.
724 (yystrlen, yystpcpy): New functions.
726 (YY_DECL_NON_LSP_VARIABLES): Renamed from _YY_DECL_VARIABLES.
729 (yyparse): size_t -> YYSIZE_T. Use yystrlen and yystpcpy
730 instead of relying on string.h functions. Use YYSTACK_ALLOC
731 and YYSTACK_FREE instead of malloc and free.
733 2001-11-30 Akim Demaille <akim@epita.fr>
735 * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty
736 if body instead of `;' to pacify GCC's warnings.
738 2001-11-30 Akim Demaille <akim@epita.fr>
740 Instead of mapping the LHS of unused rules to -1, keep the LHS
741 valid, but flag the rules as invalid.
743 * src/gram.h (rule_t): `useful' is a new member.
744 * src/print.c (print_grammar): Adjust.
745 * src/derives.c (set_derives): Likewise.
746 * src/reader.c (packgram, reduce_output): Likewise.
747 * src/reduce.c (reduce_grammar_tables): Likewise.
748 * tests/reduce.at (Underivable Rules, Useless Rules): New.
750 2001-11-30 Akim Demaille <akim@epita.fr>
752 * src/reduce.c (reduce_output): Formatting changes.
753 * src/print.c (print_results, print_grammar): Likewise.
754 * tests/regression.at (Rule Line Numbers)
755 (Solved SR Conflicts, Unresolved SR Conflicts): Adjust.
757 2001-11-30 Akim Demaille <akim@epita.fr>
759 * src/reduce.c (nonterminals_reduce): Instead of throwing away
760 useless nonterminals, move them at the end of the symbol arrays.
761 (reduce_output): Adjust.
762 * tests/reduce.at (Useless Nonterminals): Adjust.
764 2001-11-30 Akim Demaille <akim@epita.fr>
766 * src/reduce.c: Various comment/formatting changes.
767 (nonterminals_reduce): New, extracted from...
768 (reduce_grammar_tables): here.
769 (reduce_grammar): Call nonterminals_reduce.
771 2001-11-29 Paul Eggert <eggert@twinsun.com>
773 * src/bison.simple (YYSTACK_REALLOC): Remove.
774 (YYSTACK_ALLOC): Resurrect this macro, with its old meaning.
775 (YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE):
777 (union yyalloc): New type.
778 (__yy_memcpy): Last arg is size_t, not unsigned int, to remove
779 an arbitrary restriction on hosts where size_t is wider than int.
781 (yyparse): Don't dump core if alloca or malloc fails; instead, report
782 a parser stack overflow. Allocate just one block of memory for all
783 three stacks, instead of allocating three blocks; this typically is
784 faster and reduces fragmentation.
786 Do not limit the number of items in the stack to a value that fits
787 in 'int', as this is an arbitrary limit on hosts with 64-bit
788 size_t and 32-bit int.
790 2001-11-28 Akim Demaille <akim@epita.fr>
792 * src/LR0.c (shifts_new): New.
793 (save_shifts, insert_start_shift, augment_automaton): Use it.
795 2001-11-28 Akim Demaille <akim@epita.fr>
797 * src/closure.c (closure): `b' and `ruleno' denote the same value:
800 2001-11-28 Akim Demaille <akim@epita.fr>
802 * src/closure.c (closure): Instead of looping over word in array
803 then bits in words, loop over bits in array.
805 2001-11-28 Akim Demaille <akim@epita.fr>
807 * src/closure.c (closure): No longer optimize the special case
808 where all the bits of `ruleset[r]' are set to 0, to make the code
811 2001-11-28 Akim Demaille <akim@epita.fr>
813 * src/closure.c (closure): `r' and `c' are new variables, used to
814 de-obfuscate accesses to RULESET and CORE.
816 2001-11-28 Akim Demaille <akim@epita.fr>
818 * src/reduce.c (reduce_print): Use ngettext.
819 (dump_grammar): Improve the trace accuracy.
821 2001-11-28 Akim Demaille <akim@epita.fr>
823 * src/reduce.c (dump_grammar): Don't translate trace messages.
825 2001-11-28 Akim Demaille <akim@epita.fr>
827 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
828 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
829 as all tags are free'ed afterwards.
832 2001-11-27 Akim Demaille <akim@epita.fr>
834 * src/system.h: Use intl/libgettext.h.
835 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
837 2001-11-27 Paul Eggert <eggert@twinsun.com>
839 * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to
840 use alloca when we didn't want to, and vice versa.
842 2001-11-27 Akim Demaille <akim@epita.fr>
844 * tests/torture.at (Exploding the Stack Size with Malloc):
845 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
847 2001-11-27 Akim Demaille <akim@epita.fr>
849 * src/files.c: Include error.h.
852 2001-11-26 Akim Demaille <akim@epita.fr>
856 2001-11-26 Akim Demaille <akim@epita.fr>
858 * src/reader.c (readgram): Make sure rules for mid-rule actions
859 have a lineno equal to that of their host rule.
860 Reported by Hans Aberg.
861 * tests/regression.at (Rule Line Numbers): New.
863 2001-11-26 Akim Demaille <akim@epita.fr>
865 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
867 Reported by Hans Aberg.
869 2001-11-26 Akim Demaille <akim@epita.fr>
871 * src/complain.c, src/complain.h (error): Remove, provided by
874 2001-11-26 Akim Demaille <akim@epita.fr>
876 * src/reader.c (read_declarations): Don't abort on tok_illegal,
877 issue an error message.
878 * tests/regression.at (Invalid %directive): New.
879 Reported by Hans Aberg.
881 2001-11-26 Akim Demaille <akim@epita.fr>
883 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
884 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
886 2001-11-26 Akim Demaille <akim@epita.fr>
888 * src/conflicts.c (conflicts_print): Don't complain at all when
889 there are no reduce/reduce conflicts, and as many shift/reduce
890 conflicts as expected.
891 * tests/regression.at (%expect right): Adjust.
893 2001-11-23 Akim Demaille <akim@epita.fr>
895 * lib/alloca.c: Update, from fileutils.
897 2001-11-23 Akim Demaille <akim@epita.fr>
899 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
901 2001-11-23 Akim Demaille <akim@epita.fr>
903 * src/system.h: Include alloca.h.
904 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
906 2001-11-23 Akim Demaille <akim@epita.fr>
908 * src/print_graph.c (print_actions): Remove `rule', unused.
909 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
910 pacify GCC's signed < unsigned warnings.
911 * src/closure.c (itemsetsize): Likewise.
912 * src/reader.c (symbol_list_new): Static.
914 2001-11-23 Akim Demaille <akim@epita.fr>
916 Attaching lineno to buckets is stupid, since only one copy of each
917 symbol is kept, only the line of the first occurrence is kept too.
919 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
920 * src/reader.c (rline_allocated): Remove, unused.
921 (symbol_list): Have a `line' member.
922 (symbol_list_new): New.
924 * src/print.c (print_grammar): Output the rule line numbers.
925 * tests/regression.at (Solved SR Conflicts)
926 (Unresolved SR Conflicts): Adjust.
927 Reported by Hans Aberg.
929 2001-11-20 Akim Demaille <akim@epita.fr>
933 2001-11-20 Akim Demaille <akim@epita.fr>
936 * configure.in (ALL_LINGUAS): Adjust.
937 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
938 longer contains strings to translate.
940 2001-11-19 Akim Demaille <akim@epita.fr>
942 * src/conflicts.c (conflicts_print): Add a missing \n.
944 2001-11-19 Akim Demaille <akim@epita.fr>
946 * src/nullable.c (nullable_print): New.
947 (set_nullable): Call it when tracing.
948 Better locality of variables.
950 2001-11-19 Akim Demaille <akim@epita.fr>
952 * src/print.c (print_actions): Better locality of variables.
954 2001-11-19 Akim Demaille <akim@epita.fr>
956 * src/derives.c (print_derives): Fix and enrich.
957 * src/closure.c (print_fderives): Likewise.
959 2001-11-19 Akim Demaille <akim@epita.fr>
961 * src/closure.c (itemsetend): Remove, replaced with...
964 2001-11-19 Akim Demaille <akim@epita.fr>
966 * src/LR0.c (kernel_end): Remove, replaced with...
969 2001-11-19 Akim Demaille <akim@epita.fr>
971 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
974 2001-11-19 Akim Demaille <akim@epita.fr>
976 * src/closure.c (closure): Use arrays instead of pointers to clarify.
978 2001-11-19 Akim Demaille <akim@epita.fr>
980 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
982 * src/LR0.c: Likewise.
983 (allocate_itemsets): Use arrays instead of pointers to clarify.
985 2001-11-19 Akim Demaille <akim@epita.fr>
987 * src/getargs.c (statistics_flag): Replace with...
989 (longopts): Accept --trace instead of --statistics.
990 * src/getargs.h: Adjust.
991 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
992 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
994 2001-11-19 Akim Demaille <akim@epita.fr>
996 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
997 pointers to clarify the code.
998 (save_reductions, save_shifts): Factor common parts of alternatives.
1000 2001-11-19 Akim Demaille <akim@epita.fr>
1002 * src/LR0.c (new_state, get_state): Complete TRACE code.
1003 * src/closure.c: Include `reader.h' to get `tags', needed by the
1005 Rename the conditional DEBUG as TRACE.
1006 Output consistently TRACEs to stderr, not stdout.
1007 * src/derives.c: Likewise.
1008 * src/reduce.c: (inaccessable_symbols): Using if is better style
1010 Use `#if TRACE' instead of `#if 0' for tracing code.
1012 2001-11-19 Akim Demaille <akim@epita.fr>
1014 * src/system.h (LIST_FREE, shortcpy): New.
1015 * src/LR0.c: Use them.
1016 * src/output.c (free_itemsets, free_reductions, free_shifts):
1017 Remove, replaced by LIST_FREE.
1019 2001-11-19 Akim Demaille <akim@epita.fr>
1021 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
1022 (REDUCTIONS_ALLOC): New.
1023 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
1026 2001-11-19 Akim Demaille <akim@epita.fr>
1028 * src/LR0.c (new_state): Complete trace code.
1029 * src/nullable.c (set_nullable): Don't translate traces.
1031 2001-11-19 Akim Demaille <akim@epita.fr>
1033 * src/print_graph.c (print_core): Better locality of variables.
1034 * src/print.c (print_core): Likewise.
1036 2001-11-19 Akim Demaille <akim@epita.fr>
1038 * src/vcg.c: You do the output, so you are responsible of the
1039 handling of VCG syntax, in particular: use quotearg.
1040 * src/print_graph.c: Don't.
1041 (print_actions): Don't output the actions as part of the nodes,
1042 since that's the job of the edges.
1043 (print_state): Don't output by hand: fill the node description,
1044 and ask for its output.
1046 2001-11-19 Akim Demaille <akim@epita.fr>
1048 * src/bison.simple (yyparse): When verbosely reporting an error,
1049 no longer put additional quotes around token names.
1050 * tests/calc.at: Adjust.
1052 2001-11-19 Akim Demaille <akim@epita.fr>
1054 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
1055 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
1056 * src/output.c: Adjust.
1058 2001-11-19 Akim Demaille <akim@epita.fr>
1060 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
1062 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
1064 2001-11-19 Akim Demaille <akim@epita.fr>
1066 * src/gram.h (rule_t): New.
1068 (rrhs, rlhs): Remove, part of state_t.
1069 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
1070 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
1071 * src/reader.c, src/reduce.c: Adjust.
1073 2001-11-19 Akim Demaille <akim@epita.fr>
1075 * src/reader.c (symbols_output): New, extracted from...
1076 (packsymbols): Here.
1079 2001-11-19 Akim Demaille <akim@epita.fr>
1081 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
1082 (maxrhs): this new function.
1084 2001-11-19 Akim Demaille <akim@epita.fr>
1086 * src/lalr.c (F): New macro to access the variable F.
1089 2001-11-19 Akim Demaille <akim@epita.fr>
1091 * src/lalr.h (LA): New macro to access the variable LA.
1092 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1093 * src/lalr.c: Adjust.
1095 2001-11-19 Akim Demaille <akim@epita.fr>
1097 * src/lalr.c (initialize_LA): Only initialize LA. Let...
1098 (set_state_table): handle the `lookaheads' members.
1100 2001-11-19 Akim Demaille <akim@epita.fr>
1102 * src/lalr.h (lookaheads): Removed array, whose contents is now
1104 (state_t): this structure.
1105 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1108 2001-11-19 Akim Demaille <akim@epita.fr>
1110 * src/lalr.h (consistent): Removed array, whose contents is now
1112 (state_t): this structure.
1113 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1116 2001-11-19 Akim Demaille <akim@epita.fr>
1118 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
1119 contents are now members of...
1120 (state_t): this structure.
1121 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
1124 2001-11-19 Akim Demaille <akim@epita.fr>
1126 * src/lalr.h (state_t): New.
1127 (state_table): Be a state_t * instead of a core **.
1128 (accessing_symbol): Remove, part of state_t.
1129 * src/lalr.c: Adjust.
1130 (set_accessing_symbol): Merge into...
1131 (set_state_table): this.
1132 * src/print_graph.c, src/conflicts.c: Adjust.
1134 2001-11-14 Akim Demaille <akim@epita.fr>
1138 2001-11-14 Akim Demaille <akim@epita.fr>
1140 * tests/calc.at, tests/output.at, tests/regression.at,
1141 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
1142 now the tests are run in private dirs, therefore AC_CLEANUP and
1143 family can be simplified to 0-ary.
1144 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
1145 use abs. path to find config.h.
1147 2001-11-14 Akim Demaille <akim@epita.fr>
1149 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
1150 stderr, there can be way too much random noise.
1151 Instead pass -Werror to GCC and rely on the exit status.
1152 Reported by Wolfram Wagner.
1154 2001-11-14 Akim Demaille <akim@epita.fr>
1156 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
1157 defined only if yyoverflow is defined, to avoid `warning: unused
1159 Reported by The Test Suite.
1161 2001-11-14 Akim Demaille <akim@epita.fr>
1163 * src/print.c: Include reduce.h.
1164 Reported by Hans Aberg.
1166 2001-11-14 Akim Demaille <akim@epita.fr>
1168 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
1169 Revert a previous patch: these are really const.
1170 * src/conflicts.c (conflict_report): Additional useless pair of
1171 braces to pacify GCC's warnings for `if () if () {} else {}'.
1172 * src/lex.c (parse_percent_token): Replace equal_offset with
1175 Be sure to strdup `arg' when used, since there is no reason for
1176 token_buffer not to change.
1178 2001-11-14 Akim Demaille <akim@epita.fr>
1180 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
1182 * src/main.c (main): Use them.
1183 Suggested by Hans Aberg.
1185 2001-11-12 Akim Demaille <akim@epita.fr>
1189 * src/system.h (ngettext): Now that we use ngettext, be sure to
1190 provide a default definition when NLS are not used that takes care
1193 2001-11-12 Akim Demaille <akim@epita.fr>
1195 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
1196 Use @kbd to denote user input.
1197 (Language and Grammar): ANSIfy the example.
1198 Adjust its layout for info/notinfo.
1199 (Location Tracking Calc): Output error messages to stderr.
1200 Output locations in a more GNUtically correct way.
1201 Fix a couple of Englishos.
1202 Adjust @group/@end group pairs.
1204 2001-11-12 Akim Demaille <akim@epita.fr>
1206 %expext was not functioning at all.
1208 * src/conflicts.c (expected_conflicts): Set to -1.
1209 (conflict_report): Use ngettext.
1210 (conflicts_print): Check %expect and make its violation an error.
1211 * doc/bison.texinfo (Expect Decl): Adjust.
1212 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
1213 * tests/regression.at (%expect not enough, %expect right)
1214 (%expect too much): New.
1216 2001-11-12 Akim Demaille <akim@epita.fr>
1218 * tests/regression.at (Conflicts): Rename as...
1219 (Unresolved SR Conflicts): this.
1220 (Solved SR Conflicts): New.
1222 2001-11-12 Akim Demaille <akim@epita.fr>
1224 * src/reduce.c (print_results): Rename as...
1225 (reduce_output): This.
1226 Output to OUT, passed as argument, instead of output_obstack.
1227 (dump_grammar): Likewise.
1230 (reduce_grammar): No longer call reduce_output, since...
1231 * src/print.c (print_results): do it.
1232 * src/main.c (main): Call reduce_free;
1234 2001-11-12 Akim Demaille <akim@epita.fr>
1236 * src/conflicts.c (print_reductions): Accept OUT as argument.
1237 Output to it, not to output_obstack.
1238 * src/print.c (print_actions): Adjust.
1240 2001-11-12 Akim Demaille <akim@epita.fr>
1242 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
1243 the result instead of using...
1244 (src_total, rrc_total, src_count, rrc_count): Remove.
1245 (any_conflicts): Remove.
1246 (print_conflicts): Split into...
1247 (conflicts_print, conflicts_output): New.
1248 * src/conflicts.h: Adjust.
1249 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
1250 * src/print.c (print_grammar): Issue `\n' between to rule outputs.
1251 * tests/regression.at (Conflicts): New.
1252 Reported by Tom Lane.
1254 2001-11-12 Akim Demaille <akim@epita.fr>
1256 * tests/regression.at (Invalid input): Remove, duplicate with
1257 ``Invalid input: 1''.
1259 2001-11-12 Akim Demaille <akim@epita.fr>
1261 * tests/torture.at (AT_DATA_STACK_TORTURE)
1262 (Exploding the Stack Size with Alloca)
1263 (Exploding the Stack Size with Malloc): New.
1265 2001-11-12 Akim Demaille <akim@epita.fr>
1267 * src/bison.simple (YYSTACK_REALLOC): New.
1268 (yyparse) [!yyoverflow]: Use it and free the old stack.
1269 Reported by Per Allansson.
1271 2001-11-05 Akim Demaille <akim@epita.fr>
1274 * src/lex.c (parse_percent_token): s/quotearg/quote/.
1276 2001-11-05 Akim Demaille <akim@epita.fr>
1278 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
1281 2001-11-05 Akim Demaille <akim@epita.fr>
1283 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
1284 with yyltype/YYLTYPE. This allows inclusion of the generated
1285 header within the parser if the compiler, such as GGC, accepts
1286 multiple equivalent #defines.
1288 2001-11-04 Akim Demaille <akim@epita.fr>
1290 * src/getargs.c (longopts): Support `--output'. getopt is now
1291 able to understand that `--out' is OK: the two racing long options
1294 * src/lex.h (tok_setopt): Remove, replaced with...
1295 (tok_intopt, tok_stropt): these new guys.
1296 * src/lex.c (getopt.h): Not needed.
1297 (token_buffer, unlexed_token_buffer): Not const.
1298 (percent_table): Promote `-' over `_' in directive names.
1299 Active `%name-prefix', `file-prefix', and `output'.
1300 (parse_percent_token): Accept possible arguments to directives.
1301 Promote `-' over `_' in directive names.
1302 * doc/bison.texinfo (Decl Summary): Split the list into
1303 `directives for grammars' and `directives for bison'.
1305 Add description of `%name-prefix', `file-prefix', and `output'.
1306 Promote `-' over `_' in directive names.
1307 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
1308 Simplify the description of `--name-prefix'.
1309 Promote `-' over `_' in directive names.
1310 Promote `--output' over `--output-file'.
1311 Fix the description of `--defines'.
1312 * tests/output.at: Exercise %file-prefix and %output.
1314 2001-11-02 Akim Demaille <akim@epita.fr>
1316 * doc/refcard.tex: Update.
1318 2001-11-02 Akim Demaille <akim@epita.fr>
1320 * src/symtab.h (SUNDEF): New.
1321 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
1322 stand for `uninitialized', instead of 0.
1323 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
1324 * src/lex.c (lex): Adjust.
1326 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
1328 Let yylex return it instead of a plain 0.
1329 Reported by Dick Streefland.
1331 2001-11-02 Akim Demaille <akim@epita.fr>
1333 * tests/regression.at (Mixing %token styles): New test.
1335 2001-11-02 Akim Demaille <akim@epita.fr>
1337 * src/reader.c (parse_thong_decl): Formatting changes.
1338 (token_translations_init): New, extracted from...
1339 (packsymbols): Here.
1342 2001-11-01 Akim Demaille <akim@epita.fr>
1344 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
1345 Check that `9foo.y' produces correct cpp guards.
1346 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
1350 2001-11-01 Akim Demaille <akim@epita.fr>
1352 * tests/regression.at (Invalid input: 2): New.
1353 * src/lex.c (unlexed_token_buffer): New.
1354 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
1358 2001-11-01 Akim Demaille <akim@epita.fr>
1360 * configure.in: Bump to 1.30a.
1361 Adjust to newer Autotest.
1363 2001-10-26 Akim Demaille <akim@epita.fr>
1367 2001-10-26 Paul Eggert <eggert@twinsun.com>
1369 * lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
1370 lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
1371 lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
1372 m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
1373 m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
1374 Sync with fileutils 4.1.1.
1376 2001-10-18 Akim Demaille <akim@epita.fr>
1379 * tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
1380 avoid spurious failures.
1382 2001-10-18 Akim Demaille <akim@epita.fr>
1386 2001-10-18 Akim Demaille <akim@epita.fr>
1388 * tests/atlocal.in (GCC): Add.
1389 * tests/calc.at: s/m4_match/m4_bmatch/.
1390 s/m4_patsubst/m4_bpatsubst/.
1391 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
1392 * configure.in: AC_SUBST(GCC).
1394 2001-10-10 Akim Demaille <akim@epita.fr>
1397 * configure.in: M4 is no longer needed, but autom4te is.
1398 * tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
1401 2001-10-10 Akim Demaille <akim@epita.fr>
1405 2001-10-10 Akim Demaille <akim@epita.fr>
1408 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
1409 Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
1410 Reported by Airy Andre.
1412 2001-10-10 Akim Demaille <akim@epita.fr>
1414 * INSTALL, config/config.guess, config/config.sub, config/mdate-sh
1415 * config/mkinstalldirs, lib/ansi2knr.c: Update.
1417 2001-10-02 Akim Demaille <akim@epita.fr>
1421 2001-10-02 Akim Demaille <akim@epita.fr>
1425 2001-10-02 Akim Demaille <akim@epita.fr>
1427 * tests/regression.at (Invalid CPP headers): New.
1428 From Alexander Belopolsky.
1429 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
1431 2001-10-02 Akim Demaille <akim@epita.fr>
1433 * tests/regression.at (Invalid input): New.
1434 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
1437 2001-10-02 Akim Demaille <akim@epita.fr>
1439 * tests/calc.at: Now that --debug works, the tests must be adjusted.
1441 2001-10-02 Akim Demaille <akim@epita.fr>
1443 * src/output.c (output_parser): Assert `skeleton'.
1444 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
1448 2001-10-01 Marc Autret <autret_m@epita.fr>
1450 * src/lex.h: Echo modifications.
1451 * src/lex.c (unlex): Parameter is now token_t.
1454 2001-10-01 Marc Autret <autret_m@epita.fr>
1456 * src/main.c: Include lex.h.
1459 2001-09-29 Akim Demaille <akim@epita.fr>
1461 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
1463 2001-09-28 Akim Demaille <akim@epita.fr>
1465 * tests/testsuite.at: Update to newer Autotest.
1466 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
1468 2001-09-27 Akim Demaille <akim@epita.fr>
1470 Position independent wrapper.
1472 * tests/bison: Remove.
1473 * tests/bison.in: New.
1474 * configure.in: Adjust.
1476 2001-09-27 Paul Eggert <eggert@twinsun.com>
1478 Port quotearg fixes from tar 1.13.24.
1480 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
1482 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
1483 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
1485 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
1486 * m4/mbrtowc.m4: New file.
1487 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
1488 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
1490 2001-09-27 Akim Demaille <akim@epita.fr>
1494 2001-09-27 Akim Demaille <akim@epita.fr>
1498 2001-09-25 Akim Demaille <akim@epita.fr>
1500 * src/system.h: Include `xalloc.h'.
1501 Remove it from the C files.
1502 * src/files.c (output_files): Free the obstacks.
1503 * src/lex.c (init_lex): Rename as...
1506 * src/main.c (main): Use it.
1508 2001-09-24 Marc Autret <autret_m@epita.fr>
1510 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
1511 to output informations in fout (FILE*).
1512 (open_graph, close_graph): Likewise.
1513 (output_graph, output_edge, output_node): Likewise.
1514 * src/vcg.h: Update function prototypes.
1515 * src/print_graph.c (print_graph): Open output graph file.
1516 (print_actions): Adjust.
1517 * src/files.h: Remove extern declaration.
1518 * src/files.c: Remove graph_obstack declaration.
1519 (open_files): Remove graph_obstack initialization.
1520 (output_files): Remove graph_obstack saving.
1522 2001-09-24 Marc Autret <autret_m@epita.fr>
1524 * src/files.c (compute_output_file_names): Fix.
1526 2001-09-24 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
1528 * src/reader.c (reader): Remove call to free_symtab ().
1529 * src/main.c (main): Call it here.
1531 * src/conflicts.c (initialize_conflicts): Rename as...
1532 (solve_conflicts): this.
1533 * src/print.c (print_core, print_actions, print_state)
1534 (print_grammar): Dump to a file instead a `output_obstack'.
1535 (print_results): Dump `output_obstack', and then proceed with the
1537 * src/files.c (compute_output_file_names, close_files): New.
1538 (output_files): Adjust.
1539 * src/main.c (main): Adjust.
1541 2001-09-23 Marc Autret <autret_m@epita.fr>
1543 * src/files.c (compute_header_macro): Computes header macro name
1544 from spec_defines_file when given.
1546 2001-09-23 Marc Autret <autret_m@epita.fr>
1548 * src/files.c (output_files): Add default extensions.
1550 2001-09-22 Akim Demaille <akim@epita.fr>
1552 * src/conflicts.c (finalize_conflicts): Rename as...
1553 (free_conflicts): this.
1555 2001-09-22 Akim Demaille <akim@epita.fr>
1557 * src/gram.c (gram_free): Rename back as...
1559 (output_token_translations): Free `token_translations'.
1560 * src/symtab.c (free_symtab): Free the tag field.
1562 2001-09-22 Akim Demaille <akim@epita.fr>
1564 Remove `translations' as it is always set to true.
1566 * src/gram.h: Adjust.
1567 * src/reader.c (packsymbols, parse_token_decl): Adjust
1568 * src/print.c (print_grammar): Adjust.
1569 * src/output.c (output_token_translations): Adjust.
1570 * src/lex.c (lex): Adjust.
1571 * src/gram.c: Be sure the set pointers to NULL.
1572 (dummy): Rename as...
1575 2001-09-22 Akim Demaille <akim@epita.fr>
1577 * configure.in: Invoke AM_LIB_DMALLOC.
1578 * src/system.h: Use dmalloc.
1579 * src/LR0.c: Be sure to have pointers initialized to NULL.
1580 (allocate_itemsets): Allocate kernel_items only if needed.
1582 2001-09-22 Akim Demaille <akim@epita.fr>
1584 * configure.in: Bump to 1.29b.
1585 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
1586 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
1587 need xmalloc.c in calc.y.
1590 2001-09-21 Akim Demaille <akim@epita.fr>
1593 * Makefile.maint, config/config.guess, config/config.sub,
1594 * config/missing: Update from masters.
1595 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
1597 * configure.in (ALL_LINGUAS): Add `tr'.
1599 2001-09-21 Akim Demaille <akim@epita.fr>
1601 * tests/Makefile.am (package.m4): Move to...
1602 ($(srcdir)/$(TESTSUITE)): here.
1604 2001-09-20 Akim Demaille <akim@epita.fr>
1606 * src/complain.c: No longer try to be standalone: use system.h.
1607 Don't assume __STDC__ is defined to 1. Just test if it is defined.
1608 * src/complain.h: Likewise.
1609 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
1610 Remove the unused variable `n'.
1611 From Albert Chin-A-Young.
1613 2001-09-18 Marc Autret <autret_m@epita.fr>
1615 * doc/bison.1: Update.
1616 * doc/bison.texinfo (Bison Options): Update --defines and --graph
1618 (Option Cross Key): Update.
1621 2001-09-18 Marc Autret <autret_m@epita.fr>
1623 * tests/regression.at: New test (comment in %union).
1625 2001-09-18 Marc Autret <autret_m@epita.fr>
1627 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
1629 Reported by Keith Browne.
1631 2001-09-18 Marc Autret <autret_m@epita.fr>
1633 * tests/output.at: Add tests for --defines and --graph.
1635 2001-09-18 Marc Autret <autret_m@epita.fr>
1637 * tests/output.at: Removes tests of %{header,src}_extension features.
1639 2001-09-18 Akim Demaille <akim@epita.fr>
1641 * tests/Makefile.am (package.m4): New.
1642 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
1643 (_AT_CHECK_CALC_ERROR): Likewise.
1644 Factor the `, ' part of verbose error messages.
1646 2001-09-18 Marc Autret <autret_m@epita.fr>
1648 * src/getargs.c (longopts): Declare --defines and --graph as options
1649 with optional arguments.
1650 * src/files.h: Add extern declarations.
1651 * src/files.c (spec_graph_file, spec_defines_file): New.
1652 (output_files): Update.
1653 Remove CPP-outed code.
1655 2001-09-18 Marc Autret <autret_m@epita.fr>
1657 Turn off %{source,header}_extension feature.
1659 * src/files.c (compute_exts_from_gf): Update.
1660 (compute_exts_from_src): Update.
1661 (output_files): CPP-out useless code.
1662 * src/files.h: Remove {header,source}_extension extern declarations.
1663 * src/reader.c (parse_dquoted_param): CPP-out.
1664 (parse_header_extension_decl): Remove.
1665 (parse_source_extension_decl): Remove.
1666 (read_declarations): Remove cases tok_{hdrext,srcext}.
1667 * src/lex.c (percent_table): Remove {header,source}_extension entries.
1668 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
1670 2001-09-10 Akim Demaille <akim@epita.fr>
1672 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
1673 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
1674 (AT_CHECK_OUTPUT): this.
1675 Merely check ls' exit status, its output is useless.
1677 2001-09-10 Akim Demaille <akim@epita.fr>
1679 * tests/calc.at: Use m4_match.
1680 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
1682 2001-09-10 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
1684 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
1686 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
1688 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
1689 * src/lex.h: Adjust prototype.
1690 (token_t): Add `tok_undef'.
1691 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
1692 (parse_percent_token): Now returns token_t.
1693 Add default statement in switch.
1694 (lex): Separate `c' as an input variable, from the token_t result
1696 (unlexed): Is a token_t.
1698 2001-09-10 Akim Demaille <akim@epita.fr>
1700 * configure.in: Bump to 1.29a.
1702 2001-09-07 Akim Demaille <akim@epita.fr>
1706 2001-08-30 Akim Demaille <akim@epita.fr>
1708 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
1709 * m4/atconfig.m4: Remove.
1710 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
1712 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
1713 m4_if, m4_patsubst, and m4_regexp.
1714 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
1715 `input' file instead of echo.
1717 2001-08-29 Akim Demaille <akim@epita.fr>
1721 2001-08-29 Akim Demaille <akim@epita.fr>
1725 2001-08-29 Paul Eggert <eggert@twinsun.com>
1727 * src/bison.simple (yyparse): Don't take the address of an
1728 item before the start of an array, as that doesn't conform to
1731 2001-08-29 Robert Anisko <anisko_r@epita.fr>
1733 * doc/bison.texinfo (Location Tracking Calc): New node.
1735 2001-08-29 Paul Eggert <eggert@twinsun.com>
1737 * src/output.c (output): Do not define const, as this now
1738 causes more problems than it cures.
1740 2001-08-29 Akim Demaille <akim@epita.fr>
1742 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
1744 Be sure to tag the `detailmenu'.
1746 2001-08-29 Akim Demaille <akim@epita.fr>
1748 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
1749 download in a tmp dir.
1751 2001-08-28 Marc Autret <autret_m@epita.fr>
1753 * config/depcomp: New file.
1755 2001-08-28 Marc Autret <autret_m@epita.fr>
1757 * doc/bison.1 (mandoc): Adjust.
1758 From Juan Manuel Guerrero.
1760 2001-08-28 Marc Autret <autret_m@epita.fr>
1762 * src/print_graph.c (print_state): Fix.
1764 2001-08-27 Marc Autret <autret_m@epita.fr>
1766 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
1768 Echo modifications to the functions prototypes.
1769 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
1771 2001-08-27 Marc Autret <autret_m@epita.fr>
1773 * src/vcg.c: Include `xalloc.h'.
1774 (add_colorentry): New.
1775 (add_classname): New.
1776 (add_infoname): New.
1777 * src/vcg.h: Add new prototypes.
1779 2001-08-27 Akim Demaille <akim@epita.fr>
1781 * Makefile.maint: Sync. again with CVS Autoconf.
1783 2001-08-27 Akim Demaille <akim@epita.fr>
1785 * Makefile.maint: Formatting changes.
1786 (po-update, cvs-update, update): New targets.
1789 2001-08-27 Akim Demaille <akim@epita.fr>
1791 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1792 * Makefile.maint: Sync. with CVS Autoconf.
1794 2001-08-27 Marc Autret <autret_m@epita.fr>
1796 * src/vcg.h (struct infoname_s): New.
1797 (struct colorentry_s): New.
1798 (graph_s): New fields {vertical,horizontal}_order in structure.
1799 Add `infoname' field.
1800 Add `colorentry' field;
1801 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
1802 (G_HORIZONTAL_ORDER): New.
1804 (G_COLORENTRY): New.
1805 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
1806 Add output of `infoname'.
1807 Add output of `colorentry'.
1809 2001-08-27 Marc Autret <autret_m@epita.fr>
1811 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
1812 This one shadowed a global parameter.
1814 2001-08-24 Marc Autret <autret_m@epita.fr>
1816 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
1817 instead of `unsigned'.
1818 (print_state): Do not call obstack_object_size () in obstack_grow ()
1819 to avoid macro variables shadowing.
1821 2001-08-23 Marc Autret <autret_m@epita.fr>
1823 * src/lex.c (percent_table): Typo: s/naem/name/.
1825 Normalize new options declarations.
1827 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1829 * tests/suite.at: Exercise %header_extension and %source_extension.
1831 2001-08-16 Marc Autret <autret_m@epita.fr>
1833 * src/reader.c (parse_dquoted_param): New.
1834 (parse_header_extension_decl): Use it.
1835 (parse_source_extension_decl): Likewise.
1837 2001-08-16 Marc Autret <autret_m@epita.fr>
1839 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1840 (get_xxxx_str): Use assert () instead of complain ().
1841 Remove return invokations in default cases.
1842 (get_decision_str): Modify default behaviour. Remove second argument.
1843 Echo modifications on calls.
1844 (output_graph): Fix.
1846 2001-08-16 Marc Autret <autret_m@epita.fr>
1848 * src/getargs.c (usage): Update with ``-g, --graph''.
1850 2001-08-16 Marc Autret <autret_m@epita.fr>
1852 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1853 (Option Cross Key): Likewise.
1854 * doc/bison.1: Update.
1856 2001-08-15 Akim Demaille <akim@epita.fr>
1860 2001-08-15 Marc Autret <autret_m@epita.fr>
1862 * src/reader.c (readgram): Indent output macro YYSTYPE.
1863 (packsymbols): Likewise.
1864 (output_token_defines): Likewise.
1865 * src/files.c: Standardize.
1866 (compute_header_macro): New.
1867 (defines_obstack_save): New. Use compute_header_macro.
1868 (output_files): Update. Use defines_obstack_save.
1870 2001-08-15 Akim Demaille <akim@epita.fr>
1872 * doc/bison.texinfo (Table of Symbols): Document
1875 2001-08-15 Akim Demaille <akim@epita.fr>
1877 * missing: Update from CVS Automake.
1878 * config/config.guess, config/config.sub, config/texinfo.tex:
1879 Update from gnu.org.
1881 2001-08-15 Akim Demaille <akim@epita.fr>
1883 * Makefile.maint: Sync with CVS Autoconf.
1885 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1887 * doc/bison.texinfo: Include GNU Free Documentation License from
1889 * doc/fdl.texi: Add to package.
1891 2001-08-14 Marc Autret <autret_m@epita.fr>
1893 Turn on %{source,header}_extension features.
1895 * src/lex.c (percent_table): Un-CPP out header_extension and
1897 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1898 (compute_exts_from_src): Remove conditions. It restores priorities
1901 2001-08-14 Marc Autret <autret_m@epita.fr>
1903 * src/files.c (compute_base_names): Add extensions computing when
1904 `--file-prefix' used.
1905 Standardize function calls.
1907 2001-08-13 Marc Autret <autret_m@epita.fr>
1909 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1910 defining it (defined but null disables alloca).
1912 2001-08-13 Marc Autret <autret_m@epita.fr>
1914 * src/bison.simple (_yy_memcpy): CPP reformat.
1916 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1918 * tests/atconfig.in (CPPFLAGS): Fix.
1920 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1922 * doc/bison.texinfo: Include GNU General Public License from
1924 * doc/gpl.texi: Add to package.
1926 2001-08-10 Marc Autret <autret_m@epita.fr>
1928 * src/print_graph.h: Fix.
1929 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1931 2001-08-10 Akim Demaille <akim@epita.fr>
1933 * src/system.h: Provide default declarations for stpcpy, strndup,
1936 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1938 * doc/bison.texinfo (Locations): Update @$ stuff.
1940 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1942 * src/bison.simple (YYLLOC_DEFAULT): Update.
1945 2001-08-08 Marc Autret <autret_m@epita.fr>
1947 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1948 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1949 Reported by Fabrice Bauzac.
1951 2001-08-08 Marc Autret <autret_m@epita.fr>
1953 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1954 * src/vcg.c (output_node): Fix.
1955 * src/vcg.h: Cleanup.
1956 * src/print_graph.c: Add comments.
1957 (node_output_size): New global variable. Simplify the formatting of
1958 the VCG graph output.
1959 (print_actions): Unused code is now used. It notifies the final state
1960 and no action states in the VCG graph. It also give the reduce actions.
1961 The `shift and goto' edges are red and the `go to state' edges are
1963 Get the current node name and node_obstack by argument.
1964 (node_obstack): New variable.
1965 (print_state): Manage node_obstack.
1966 (print_core): Use node_obstack given by argument.
1967 A node is not only computed here but in print_actions also.
1968 (print_graph): CPP out useless code instead of commenting it.
1970 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1972 * tests/atconfig.in (CPPFLAGS): Fix.
1974 2001-08-07 Akim Demaille <akim@epita.fr>
1976 * src/print_graph.c (quote): New.
1977 (print_core): Use it.
1979 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1981 * src/vcg.c (complain.h): Include it.
1982 Unepitaize `return' invocations.
1983 [NDEBUG] (main): Remove.
1984 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1985 * src/files.c (open_files): Initialize graph_obstack.
1986 * src/print_graph.c (print_actions): CPP out useless code.
1987 (print_core): Don't output the last `\n' in labels.
1989 * src/files.c (output_files): Output the VCG file.
1990 * src/main.c (main): Invoke print_graph ();
1992 2001-08-06 Marc Autret <autret_m@epita.fr>
1994 Automaton VCG graph output.
1995 Using option ``-g'' or long option ``--graph'', you can generate
1996 a gram_filename.vcg file containing a VCG description of the LALR (1)
1997 automaton of your grammar.
1999 * src/main.c: Call to print_graph() function.
2000 * src/getargs.h: Update.
2001 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
2002 (graph_flag): New flag.
2004 (getargs): Add case `g'.
2005 * src/files.c (graph_obstack): New obstack struct.
2006 (open_files): Initialize new obstack.
2007 (output_files): Saves graph_obstack if required.
2008 * src/files.h (graph_obstack): New extern declaration.
2009 * src/Makefile.am: Add new source files.
2011 2001-08-06 Marc Autret <autret_m@epita.fr>
2013 * src/print_graph.c, src/print_graph.h (graph): New.
2014 * src/vcg.h: New file.
2015 * src/vcg.c: New file, VCG graph handling.
2017 2001-08-06 Marc Autret <autret_m@epita.fr>
2019 Add of %source_extension and %header_extension which specify
2020 the source or/and the header output file extension.
2022 * src/files.c (compute_base_names): Remove initialisation of
2023 src_extension and header_extension.
2024 (compute_exts_from_gf): Update.
2025 (compute_exts_from_src): Update.
2026 (output_files): Update.
2027 * src/reader.c (parse_header_extension_decl): New.
2028 (parse_source_extension_decl): New.
2029 (read_declarations): New case statements for the new tokens.
2030 * src/lex.c (percent_table): Add entries for %source_extension
2031 and %header_extension.
2032 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
2034 2001-08-06 Marc Autret <autret_m@epita.fr>
2036 * configure.in: Bump to 1.28c.
2037 * doc/bison.texinfo: Texinfo thingies.
2039 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
2041 * tests/atconfig.in (CPPFLAGS): Add.
2042 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
2044 2001-08-03 Akim Demaille <akim@epita.fr>
2048 2001-08-03 Akim Demaille <akim@epita.fr>
2050 * tests/Makefile.am (check-local): Ship testsuite.
2051 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
2054 2001-08-03 Akim Demaille <akim@epita.fr>
2056 * configure.in: Try using -Wformat when compiling.
2058 2001-08-03 Akim Demaille <akim@epita.fr>
2060 * configure.in: Bump to 1.28b.
2062 2001-08-03 Akim Demaille <akim@epita.fr>
2064 * src/complain.c: Adjust strerror_r portability issues.
2066 2001-08-03 Akim Demaille <akim@epita.fr>
2070 2001-08-03 Akim Demaille <akim@epita.fr>
2072 * src/getargs.c, src/getarg.h (skeleton)): Constify.
2073 * src/lex.c (literalchar): Avoid name clashes on `buf'.
2074 * src/getargs.c: Include complain.h.
2075 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
2076 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
2078 2001-08-03 Akim Demaille <akim@epita.fr>
2080 * src/reader.c (readgram): Display hidden chars in error messages.
2082 2001-08-03 Akim Demaille <akim@epita.fr>
2084 Update to gettext 0.10.39.
2086 2001-08-03 Akim Demaille <akim@epita.fr>
2088 * lib/strspn.c: New.
2090 2001-08-01 Marc Autret <autret_m@epita.fr>
2092 * doc/bison.texinfo: Update.
2093 * doc/bison.1 (mandoc): Update.
2094 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
2095 * src/files.c: Support output files extensions computing.
2096 (src_extension): New static variable.
2097 (header_extension): New static variable.
2099 (get_extension_index): New function, gets the index of an extension
2100 filename in a string.
2101 (compute_exts_from_gf): New function, computes extensions from the
2102 grammar file extension.
2103 (compute_exts_from_src): New functions, computes extensions from the
2104 C source file extension, file given by ``-o'' option.
2105 (compute_base_names): Update.
2106 (output_files): Update.
2108 2001-08-01 Robert Anisko <anisko_r@epita.fr>
2110 * doc/bison.texi: Document @$.
2111 (Locations): New section.
2113 2001-07-18 Akim Demaille <akim@epita.fr>
2115 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
2116 * config/prev-version.txt, config/move-if-change: New.
2117 * Makefile.am: Adjust.
2119 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
2121 * src/bison.simple (yyparse): Suppress warning `comparaison
2122 between signed and unsigned'.
2124 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
2126 * src/getargs.h (raw_flag): Remove.
2127 * src/getargs.c: Die on `-r'/`--raw'.
2128 * src/lex.c (parse_percent_token): Die on `%raw'.
2129 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
2130 * tests/calc.at: Suppress test with option `--raw'.
2132 2001-07-14 Akim Demaille <akim@epita.fr>
2135 * configure.in: Require Autoconf 2.50.
2136 Update to gettext 0.10.38.
2138 2001-03-16 Akim Demaille <akim@epita.fr>
2140 * doc/bison.texinfo: ANSIfy the examples.
2142 2001-03-16 Akim Demaille <akim@epita.fr>
2144 * getargs.c (skeleton): New variable.
2145 (longopts): --skeleton is a new option.
2146 (shortopts, getargs): -S is a new option.
2147 * getargs.h: Declare skeleton.
2148 * output.c (output_parser): Use it.
2150 2001-03-16 Akim Demaille <akim@epita.fr>
2152 * m4/strerror_r.m4: New.
2153 * m4/error.m4: Run AC_FUNC_STRERROR_R.
2154 * lib/error.h, lib/error.c: Update.
2156 2001-03-16 Akim Demaille <akim@epita.fr>
2158 * src/getargs.c (longopts): Clean up.
2160 2001-02-21 Akim Demaille <akim@epita.fr>
2162 * src/reader.c (gensym): `gensym_count' is your own.
2163 Use a static buf to create the symbol name, as token_buffer is no
2166 2001-02-08 Akim Demaille <akim@epita.fr>
2168 * src/conflicts.c (conflict_report): Be sure not to append to res
2169 between two calls, which could happen if both first sprintf were
2170 skipped, but not the first cp += strlen.
2172 2001-02-08 Akim Demaille <akim@epita.fr>
2174 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
2175 New, from fileutils 4.0.37.
2176 * configure.in: Require Autoconf 2.49c. I took some time before
2177 making this decision. This is the only way out for portability
2178 issues in Bison, it would mean way too much duplicate effort to
2179 import in Bison features implemented in 2.49c since 2.13.
2180 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
2182 2001-02-02 Akim Demaille <akim@epita.fr>
2184 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
2185 * lib/xalloc.h, lib/xmalloc.c: Update.
2187 2001-01-19 Akim Demaille <akim@epita.fr>
2189 Get rid of the ad hoc handling of token_buffer in the scanner: use
2192 * src/lex.c (token_obstack): New.
2193 (init_lex): Initialize it. No longer call...
2194 (grow_token_buffer): this. Remove it.
2195 Adjust all the places which used it to use the obstack.
2197 2001-01-19 Akim Demaille <akim@epita.fr>
2199 * src/lex.h: Rename all the tokens:
2200 s/\bENDFILE\b/tok_eof/g;
2201 s/\bIDENTIFIER\b/tok_identifier/g;
2203 Let them be enums, not #define, to ease debugging.
2204 Adjust all the code.
2206 2001-01-18 Akim Demaille <akim@epita.fr>
2208 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
2209 * src/lex.c (maxtoken, grow_token_buffer): Static.
2211 2001-01-18 Akim Demaille <akim@epita.fr>
2213 Since we now use obstacks, more % directives can be enabled.
2215 * src/lex.c (percent_table): Also accept `%yacc',
2216 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
2218 Handle the actions for `%semantic_parser' and `%pure_parser' here,
2219 instead of returning a token.
2220 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
2221 * src/reader.c (read_declarations): Adjust.
2222 * src/files.c (open_files): Don't call `compute_base_names', don't
2223 compute `attrsfile' since they depend upon data which might be
2224 *in* the input file now.
2225 (output_files): Do it here.
2226 * src/output.c (output_headers): Document the fact that this patch
2227 introduces a guaranteed SEGV for semantic parsers.
2228 * doc/bison.texinfo: Document them.
2229 * tests/suite.at: Exercise these %options.
2231 2000-12-20 Akim Demaille <akim@epita.fr>
2233 Also handle the output file (--verbose) with obstacks.
2235 * files.c (foutput): Remove.
2236 (output_obstack): New.
2237 Adjust all dependencies.
2238 * src/conflicts.c: Return a string.
2239 * src/system.h (obstack_grow_string): Rename as...
2240 (obstack_sgrow): this. Be ready to work with non literals.
2241 (obstack_fgrow4): New.
2243 2000-12-20 Akim Demaille <akim@epita.fr>
2245 * src/files.c (open_files): Fix the computation of short_base_name
2246 in the case of `-o foo.tab.c'.
2248 2000-12-20 Akim Demaille <akim@epita.fr>
2250 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
2251 (copy_dollar): Now that everything uses obstacks, get rid of the
2254 2000-12-20 Akim Demaille <akim@epita.fr>
2256 * src/files.c (open_files): Actually the `.output' file is based
2257 on the short_base_name, not base_name.
2258 * tests/suite.at (Checking output file names): Adjust.
2260 2000-12-20 Akim Demaille <akim@epita.fr>
2262 * src/bison.s1: Remove, we now use directly...
2263 * src/bison.simple: this.
2264 * src/Makefile.am: Use pkgdata instead of data.
2266 2000-12-20 Akim Demaille <akim@epita.fr>
2268 * src/files.c (guard_obstack): New.
2269 (open_files): Initialize it.
2270 (output_files): Dump it...
2271 * src/files.h: Export it.
2272 * src/reader.c (copy_guard): Use it.
2274 2000-12-19 Akim Demaille <akim@epita.fr>
2276 * src/files.c (outfile, defsfile, actfile): Removed as global
2278 (open_files): Don't compute them.
2279 (output_files): Adjust.
2280 (base_name, short_base_name): Be global.
2281 Adjust dependencies.
2283 2000-12-19 Akim Demaille <akim@epita.fr>
2285 * src/files.c (strsuffix): New.
2286 (stringappend): Be just like strcat but allocate.
2287 (base_names): Eve out from open_files.
2288 Try to simplify the rather hairy computation of base_name and
2290 (open_files): Use it.
2291 * tests/suite.at (Checking output file names): New test.
2293 2000-12-19 Akim Demaille <akim@epita.fr>
2295 * src/system.h (obstack_grow_literal_string): Rename as...
2296 (obstack_grow_string): this.
2297 * src/output.c (output_parser): Recognize `%% actions' instead of
2299 * src/bison.s1: s/$/%% actions/.
2300 * src/bison.hairy: Likewise.
2302 2000-12-19 Akim Demaille <akim@epita.fr>
2304 * src/output.c (output_parser): Compute the `#line' lines when
2306 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
2307 Suggested by Hans Aberg.
2309 2000-12-19 Akim Demaille <akim@epita.fr>
2311 Let the handling of the skeleton files be local to the procedures
2314 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
2316 (fparser, open_extra_files): Remove.
2317 (open_files, output_files): Don't take care of fparser.
2318 * src/files.h: Adjust.
2319 * src/output.c (output_parser): Open and close the file to the
2321 * src/reader.c (read_declarations): When %semantic_parser, open
2324 2000-12-19 Akim Demaille <akim@epita.fr>
2326 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
2327 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
2329 2000-12-19 Akim Demaille <akim@epita.fr>
2331 * src/files.c (open_files): Yipee! We no longer need all the code
2332 looking for `/tmp' since we have no tmp file.
2334 2000-12-19 Akim Demaille <akim@epita.fr>
2336 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
2338 * src/files.c (open_files): Less dependency on MSDOS etc.
2340 2000-12-14 Akim Demaille <akim@epita.fr>
2342 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
2343 Provide a default definition.
2344 Use it when executing the default @ action.
2345 * src/reader.c (reader_output_yylsp): No longer include
2346 `timestamp' and `text' in the default YYLTYPE.
2348 2000-12-12 Akim Demaille <akim@epita.fr>
2350 * src/reader.c (copy_definition, parse_union_decl, copy_action)
2351 (copy_guard): Quote the file names.
2352 Reported by Laurent Mascherpa.
2354 2000-12-12 Akim Demaille <akim@epita.fr>
2356 * src/output.c (output_headers, output_program, output): Be sure
2357 to escape special characters when outputting filenames.
2358 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
2359 (output_headers): Don't depend on them, Use ACTSTR.
2361 2000-11-17 Akim Demaille <akim@epita.fr>
2363 * lib/obstack.h: Formatting changes.
2364 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2365 prevents type checking.
2366 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2367 cast the value to (void *): assigning a `foo *' to a `void *'
2369 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2370 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
2373 2000-11-17 Akim Demaille <akim@epita.fr>
2375 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
2377 (suite.m4, regression.m4, calc.m4): these.
2378 * tests/atgeneral.m4: Update from CVS Autoconf.
2380 2000-11-17 Akim Demaille <akim@epita.fr>
2382 * tests/regression.m4 (%union and --defines): New test,
2383 demonstrating a current bug in the obstack implementation.
2385 2000-11-17 Akim Demaille <akim@epita.fr>
2387 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
2389 Use them to declare the variables which are global or local to
2392 2000-11-17 Akim Demaille <akim@epita.fr>
2394 * acconfig.h: Remove, no longer used.
2396 2000-11-07 Akim Demaille <akim@epita.fr>
2398 * src: s/Copyright (C)/Copyright/g.
2400 2000-11-07 Akim Demaille <akim@epita.fr>
2402 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
2404 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
2406 2000-11-07 Akim Demaille <akim@epita.fr>
2408 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
2409 Merge in a single CPP if/else.
2411 2000-11-07 Akim Demaille <akim@epita.fr>
2413 * src/output.c (output): Remove useless variables.
2414 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
2415 argument `data' for consistency with the prototypes.
2417 (obstack_copy, obstack_copy0): Rename the second argument as
2418 `address' for consistency. Qualify it `const'.
2419 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2420 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2421 `const' their input argument (`data' or `address').
2422 Adjust the corresponding macros to include `const' in casts.
2424 2000-11-03 Akim Demaille <akim@epita.fr>
2426 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
2427 s/PFILE1/BISON_HAIRY/.
2428 Adjust dependencies.
2430 2000-11-03 Akim Demaille <akim@epita.fr>
2432 For some reason, this was not applied.
2434 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2435 `unlink': it's no longer used.
2437 2000-11-03 Akim Demaille <akim@epita.fr>
2439 * src/files.c (skeleton_find): New function, eved out of...
2440 (open_files, open_extra_files): here.
2442 2000-11-03 Akim Demaille <akim@epita.fr>
2446 * src/files.c (obstack_save): New function.
2447 (done): Rename as...
2448 (output_files): this.
2450 * src/main.c (main): Don't use `atexit' to register `done', since
2451 it no longer has to remove tmp files, just call `output_files'
2452 when there are no errors.
2454 2000-11-02 Akim Demaille <akim@epita.fr>
2456 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2457 `unlink': it's no longer used.
2458 * src/files.h: Formatting changes.
2460 2000-11-02 Akim Demaille <akim@epita.fr>
2462 Remove the last uses of mktemp and unlink/delete.
2464 * src/files.c (fdefines, ftable): Removed.
2465 (defines_ostack, table_obstack): New.
2466 Adjust dependencies of the former into uses of the latter.
2467 * src/output.c (output_short_or_char_table, output_short_table):
2468 Convert to using obstacks.
2469 * src/reader.c (copy_comment2): Accept one FILE * and two
2471 (output_token_defines, reader_output_yylsp): Use obstacks.
2472 * src/system.h (obstack_fgrow3): New.
2474 2000-11-01 Akim Demaille <akim@epita.fr>
2476 Change each use of `fattrs' into a use of `attrs_obstack'.
2478 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2479 * src/files.c (fattrs): Remove.
2480 (attrs_obstack): New.
2481 Adjust all dependencies.
2482 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2484 2000-11-01 Akim Demaille <akim@epita.fr>
2487 Change each use of `faction' into a use of `action_obstack'.
2489 * lib/obstack.h, lib/obstack.c: New files.
2490 * src/files.c (faction): Remove.
2491 (action_obstack): New.
2492 Adjust all dependencies.
2494 2000-10-20 Akim Demaille <akim@epita.fr>
2496 * lib/quote.h (PARAMS): New macro. Use it.
2498 2000-10-16 Akim Demaille <akim@epita.fr>
2500 * src/output.c (output_short_or_char_table): New function.
2501 (output_short_table, output_token_translations): Use it.
2502 (goto_actions): Use output_short_table.
2504 2000-10-16 Akim Demaille <akim@epita.fr>
2506 * src/symtab.c (bucket_new): New function.
2509 * src/output.c (output_short_table): New argument to display the
2510 comment associated with the table.
2511 Adjust dependencies.
2512 (output_gram): Use it.
2513 (output_rule_data): Nicer output layout for YYTNAME.
2515 2000-10-16 Akim Demaille <akim@epita.fr>
2517 * src/lex.c (read_typename): New function.
2519 * src/reader.c (copy_dollar): Likewise.
2521 2000-10-16 Akim Demaille <akim@epita.fr>
2523 * src/reader.c (copy_comment2): Expect the input stream to be on
2524 the `/' which is suspected to open a comment, instead of being
2525 called after `//' or `/*' was read.
2526 (copy_comment, copy_definition, parse_union_decl, copy_action)
2527 (copy_guard): Adjust.
2529 2000-10-16 Akim Demaille <akim@epita.fr>
2531 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2532 `read_signed_integer'.
2534 2000-10-16 Akim Demaille <akim@epita.fr>
2536 * src/reader.c (copy_dollar): New function.
2537 (copy_guard, copy_action): Use it.
2539 2000-10-16 Akim Demaille <akim@epita.fr>
2541 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2542 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2543 New files, from Fileutils 4.0.27.
2544 * src/main.c (printable_version): Remove.
2545 * src/lex.c, src/reader.c: Use `quote'.
2547 2000-10-04 Akim Demaille <akim@epita.fr>
2549 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2551 2000-10-04 Akim Demaille <akim@epita.fr>
2553 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2555 2000-10-04 Akim Demaille <akim@epita.fr>
2557 When a literal string is used to define two different tokens,
2558 `bison -v' segfaults.
2559 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2561 * tests/regression.m4: New file.
2562 Include the core of the sample provided by Piotr Gackiewicz.
2563 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2566 2000-10-04 Akim Demaille <akim@epita.fr>
2568 * src/reader.c (parse_expect_decl): Keep `count' within the size
2572 2000-10-02 Paul Eggert <eggert@twinsun.com>
2574 * bison.s1 (yyparse): Assign the default value
2575 unconditionally, to avoid a GCC warning and make the parser a
2578 2000-10-02 Akim Demaille <akim@epita.fr>
2580 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2583 2000-10-02 Akim Demaille <akim@epita.fr>
2585 * src/derives.c, src/print.c, src/reduce.c: To ease the
2586 translation, move some `\n' out of the translated strings.
2588 2000-10-02 Akim Demaille <akim@epita.fr>
2590 The location tracking mechanism is precious for parse error
2591 messages. Nevertheless, it is enabled only when `@n' is used in
2592 the grammar, which is a different issue (you can use it in error
2593 message, but not in the grammar per se). Therefore, there should
2594 be another means to enable it.
2596 * src/getargs.c (getargs): Support `--locations'.
2598 * src/getargs.h (locationsflag): Export it.
2599 * src/lex.c (percent_table): Support `%locations'.
2600 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2601 with `locationsflag'.
2602 * doc/bison.texinfo: Document `--locations' and `%locations'.
2604 * tests/calc.m4: Test it.
2606 For regularity of the names, replace each
2607 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2608 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2609 In addition replace each `flag' with `_flag'.
2611 2000-10-02 Akim Demaille <akim@epita.fr>
2613 Also test parse error messages, including with YYERROR_VERBOSE.
2615 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2617 Use it to check the computations.
2618 Use it to check `nonassoc' is honored.
2619 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2620 `--yyerror-verbose'.
2621 (_AT_CHECK_CALC): Adjust to this option.
2622 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2624 2000-10-02 Akim Demaille <akim@epita.fr>
2626 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2627 the latter demonstrates a flaw in the handling of non debugging
2628 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2629 was used in order to simplify:
2645 unfortunately this leads to a CPP conflict when
2646 `--name-prefix=foo' is used since it produces `#define yydebug
2649 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2650 (YYDPRINTF): New macro.
2652 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2654 Also test `--verbose', `--defines' and `--name-prefix'.
2656 2000-10-02 Akim Demaille <akim@epita.fr>
2658 Improve the readability of the produced parsers.
2660 * src/bison.s1: Formatting changes.
2661 Improve the comment related to the `$' mark.
2662 (yydefault): Don't fall through to `yyresume': `goto' there.
2663 * src/output.c (output_parser): When the `$' is met, skip the end
2665 New variable, `number_of_dollar_signs', to check there's exactly
2666 one `$' in the parser skeleton.
2668 2000-10-02 Akim Demaille <akim@epita.fr>
2670 * lib/xstrdup.c: New file, from the fileutils.
2671 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2672 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2673 instead of strlen + xmalloc + strcpy.
2674 * src/symtab.c (copys): Remove, use xstrdup instead.
2676 2000-10-02 Akim Demaille <akim@epita.fr>
2678 * src/gram.h (associativity): New enum type which replaces the
2679 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2680 `right_assoc', `left_assoc' and `non_assoc'.
2681 Adjust all dependencies.
2682 * src/reader.c: Formatting changes.
2683 (LTYPESTR): Don't define it, use it as a literal in
2684 `reader_output_yylsp'.
2685 * src/symtab.h (symbol_class): New enum type which replaces the
2686 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2687 `sunknown', `stoken and `snterm'.
2689 2000-10-02 Akim Demaille <akim@epita.fr>
2691 * src/getargs.c (fixed_outfiles): Rename as...
2692 (yaccflag): for consistency and accuracy.
2693 Adjust dependencies.
2695 2000-10-02 Akim Demaille <akim@epita.fr>
2697 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2698 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2699 difficult and introduced a lot of core dump. It turns out that
2700 Bison used an implementation of `xmalloc' based on `calloc', and
2701 at various places it does depend upon the initialization to 0. I
2702 have not tried to isolate the pertinent places, and all the former
2703 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2704 someone should address this issue.
2706 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2707 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2709 Adjust dependencies.
2710 * src/warshall.h: New file.
2713 2000-10-02 Akim Demaille <akim@epita.fr>
2715 Various anti-`extern in *.c' changes.
2717 * src/system.h: Include `assert.h'.
2719 2000-10-02 Akim Demaille <akim@epita.fr>
2721 * src/state.h (nstates, final_state, first_state, first_shift)
2722 (first_reduction): Move their exportation from here...
2723 * src/LR0.h: to here.
2724 Adjust dependencies.
2725 * src/getargs.c (statisticsflag): New variable.
2726 Add support for `--statistics'.
2727 Adjust dependencies.
2729 Remove a lot of now useless `extern' statements in most files.
2731 2000-10-02 Akim Demaille <akim@epita.fr>
2733 * src/LR0.h: New file.
2736 2000-10-02 Akim Demaille <akim@epita.fr>
2738 * src/print.h: New file.
2740 * src/print.c: Formatting and ordering changes.
2741 (verbose, terse): Replace with...
2742 (print_results): this new function.
2743 Adjust dependencies.
2745 2000-10-02 Akim Demaille <akim@epita.fr>
2747 * src/conflicts.c (conflict_report): New function.
2748 (conflict_log, verbose_conflict_log): Replace with...
2749 (print_conflicts): this function.
2750 Adjust dependencies.
2751 * src/conflicts.h: New file.
2752 Propagate its inclusion.
2754 2000-10-02 Akim Demaille <akim@epita.fr>
2756 * src/nullable.h: New file.
2757 Propagate its inclusion.
2758 * src/nullable.c: Formatting changes.
2760 2000-10-02 Akim Demaille <akim@epita.fr>
2762 * src/reduce.h: New file.
2763 Propagate its inclusion.
2764 * src/reduce.c: Topological sort and other formatting changes.
2765 (bool, TRUE, FALSE): Move their definition to...
2766 * src/system.h: here.
2768 2000-10-02 Akim Demaille <akim@epita.fr>
2770 * src/files.c: Formatting changes.
2771 (tryopen, tryclose, openfiles): Rename as...
2772 (xfopen, xfclose, open_files): this.
2773 (stringappend): static.
2774 * src/files.h: Complete the list of exported symbols.
2777 2000-10-02 Akim Demaille <akim@epita.fr>
2779 * src/reader.h: New file.
2780 Propagate its use instead of tedious list of `extern' and
2782 * src/reader.c: Formatting changes, topological sort,
2785 2000-10-02 Akim Demaille <akim@epita.fr>
2787 * src/lex.h: Prototype `lex.c' exported functions.
2788 * src/reader.c: Adjust.
2789 * src/lex.c: Formatting changes.
2790 (safegetc): Rename as...
2793 2000-10-02 Akim Demaille <akim@epita.fr>
2795 * src/lalr.h: New file.
2796 Propagate its inclusion instead of prototypes and `extern'.
2797 * src/lalr.c: Formatting changes, topological sorting etc.
2799 2000-10-02 Akim Demaille <akim@epita.fr>
2801 * src/output.c (token_actions): Introduce a temporary array,
2802 YYDEFACT, that makes it possible for this function to use
2805 2000-10-02 Akim Demaille <akim@epita.fr>
2807 `user_toknums' is output as a `short[]' in `output.c', while it is
2808 defined as a `int[]' in `reader.c'. For consistency with the
2809 other output tables, `user_toknums' is now defined as a table of
2812 * src/reader.c (user_toknums): Be a short table instead of an int
2814 Adjust dependencies.
2816 Factor the short table outputs.
2818 * src/output.c (output_short_table): New function.
2819 * src/output.c (output_gram, output_stos, output_rule_data)
2820 (output_base, output_table, output_check): Use it.
2822 2000-10-02 Akim Demaille <akim@epita.fr>
2824 * src/output.c (output): Topological sort of the functions, in
2825 order to get rid of the `static' prototypes.
2826 No longer use `register'.
2827 * src/output.h: New file.
2828 Propagate its inclusion in files explicitly prototyping functions
2831 2000-09-21 Akim Demaille <akim@epita.fr>
2833 * src/atgeneral.m4: Update from Autoconf.
2835 2000-09-21 Akim Demaille <akim@epita.fr>
2837 * src/closure.h: New file.
2838 * src/closure.c: Formatting changes, topological sort over the
2839 functions, use of closure.h.
2840 (initialize_closure, finalize_closure): Rename as...
2841 (new_closure, free_closure): these. Adjust dependencies.
2842 * src/LR0.c: Formatting changes, topological sort, use of
2844 (initialize_states): Rename as...
2846 * src/Makefile.am (noinst_HEADERS): Adjust.
2848 2000-09-20 Akim Demaille <akim@epita.fr>
2850 * src/acconfig.h: Don't protect config.h against multiple
2852 Don't define PARAMS.
2853 * src/system.h: Define PARAMS.
2854 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2855 purpose of config.h. system.h must not try to fix wrong
2856 definitions in config.h.
2858 2000-09-20 Akim Demaille <akim@epita.fr>
2860 * src/derives.h: New file.
2861 * src/main.c, src/derives.h: Use it.
2863 * src/Makefile.am (noinst_HEADERS): Adjust.
2865 2000-09-20 Akim Demaille <akim@epita.fr>
2867 * tests/atgeneral.m4: Update from Autoconf.
2868 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2869 (AT_CHECK_CALC): New macros.
2870 Use these macros to test bison with options `', `--raw',
2871 `--debug', `--yacc', `--yacc --debug'.
2873 2000-09-19 Akim Demaille <akim@epita.fr>
2875 * src/output.c: Formatting changes.
2876 * src/machine.h: Remove, leaving its contents in...
2877 * src/system.h: here.
2879 Adjust all dependencies on stdio.h and machine.h.
2880 * src/getargs.h: New file.
2881 Let all `extern' declarations about getargs.c be replaced with
2882 inclusion of `getargs.h'.
2883 * src/Makefile.am (noinst_HEADERS): Adjust.
2885 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2887 (yyerror): Returns void, not int.
2888 * doc/bison.texinfo: Formatting changes.
2890 2000-09-19 Akim Demaille <akim@epita.fr>
2892 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2895 2000-09-18 Akim Demaille <akim@epita.fr>
2897 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2898 * src/Makefile.am (INCLUDES): Don't.
2899 Be ready to fetch headers in lib/.
2901 2000-09-18 Akim Demaille <akim@epita.fr>
2903 * doc/bison.texinfo: Update the copyright.
2904 ANSIfy and GNUify the examples.
2905 Remove the old menu.
2907 2000-09-18 Akim Demaille <akim@epita.fr>
2909 First set of tests: use the `calc' example from the documentation.
2911 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2912 is defined only when YYDEBUG is.
2913 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2914 * src/files.c (tryopen, tryclose): Formatting changes.
2915 Move to the top and be static.
2916 * src/reader.c (read_signed_integer): Likewise.
2917 * tests/calc.m4: New file.
2918 * Makefile.am, suite.m4: Adjust.
2919 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2921 2000-09-18 Akim Demaille <akim@epita.fr>
2923 Add support for an Autotest test suite for Bison.
2925 * m4/m4.m4, m4/atconfig.m4: New files.
2926 * m4/Makefile.am (EXTRA_DIST): Adjust.
2927 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2929 * src/getargs.c: Display a more standard --version message.
2930 * src/reader.c (reader): Formatting changes.
2931 No longer depend upon VERSION_STRING.
2932 * configure.in: No longer use `dnl'.
2933 Set up the test suite and the new directory `tests/.
2934 (VERSION_STRING): Remove.
2936 2000-04-14 Akim Demaille <akim@epita.fr>
2938 * src/reader.c (copy_comment2): New function, same as former
2939 `copy_comment', but outputs into two FILE *.
2940 (copy_comment): Use it.
2941 (parse_union_decl): Use it.
2942 (get_type, parse_start_decl): Use the same `invalid' message.
2943 (parse_start_decl, parse_union_decl): Use the same `multiple'
2945 (parse_union_decl, copy_guard, copy_action): Use the same
2946 `unmatched' message.
2947 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2949 2000-03-31 Akim Demaille <akim@epita.fr>
2951 * src/files.c (tryopen, tryclose): Move to the top.
2954 2000-03-31 Akim Demaille <akim@epita.fr>
2956 * src/main.c (main): Don't call `done', exit does it.
2958 2000-03-31 Akim Demaille <akim@epita.fr>
2960 * allocate.c: s/return (foo)/return foo/.
2963 * output.c: Likewise.
2964 * reader.c: Likewise.
2965 * symtab.c: Likewise.
2966 * vmsgetargs.c: Likewise.
2968 2000-03-31 Akim Demaille <akim@epita.fr>
2970 Clean up the error reporting functions.
2972 * src/report.c: New file.
2973 * src/report.h: Likewise.
2974 * src/Makefile.am: Adjust.
2975 * m4/error.m4: New file.
2976 * m4/Makefile.am: Adjust.
2977 * configure.in (jm_PREREQ_ERROR): Call it.
2978 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2980 (fatal, fatals): Remove. All callers use complain.c::fatal.
2981 (warn, warni, warns, warnss, warnss): Remove. All callers use
2982 complain.c::complain.
2983 (toomany): Remove, use fatal instead.
2984 * src/files.c (done): No argument, use complain_message_count.
2985 * src/main.c (main): Register `done' to `atexit'.
2987 * src/getargs.c (usage): More `fputs', less `fprintf'.
2989 2000-03-28 Akim Demaille <akim@epita.fr>
2991 * lib/: New directory.
2992 * Makefile.am (SUBDIRS): Adjust.
2993 * configure.in: Adjust.
2994 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2996 * src/alloca.c: Moved to lib/.
2997 * src/getopt.c: Likewise.
2998 * src/getopt1.c: Likewise.
2999 * src/getopt.h: Likewise.
3000 * src/ansi2knr.c: Likewise.
3001 * src/ansi2knr.1: Likewise.
3002 * src/Makefile.am: Adjust.
3003 * lib/Makefile.am: New file.
3005 2000-03-28 Akim Demaille <akim@epita.fr>
3007 * src/getargs.c (usage): Refresh the help message.
3009 2000-03-17 Akim Demaille <akim@epita.fr>
3011 * src/getopt1.c: Updated from textutils 2.0e
3012 * src/getopt.c: Likewise.
3013 * src/getopt.h: Likewise.
3015 2000-03-17 Akim Demaille <akim@epita.fr>
3017 * src/Makefile.am (bison.simple): Fix the awk program: quote only
3018 the file name, not the whole `#line LINE FILE'.
3020 2000-03-17 Akim Demaille <akim@epita.fr>
3022 On syntax errors, report the token on which we choked.
3024 * src/bison.s1 (yyparse): In the label yyerrlab, when
3025 YYERROR_VERBOSE, add yychar in msg.
3027 2000-03-17 Akim Demaille <akim@epita.fr>
3029 * src/reader.c (copy_at): New function.
3030 (copy_guard): Use it.
3031 (copy_action): Use it.
3033 2000-03-17 Akim Demaille <akim@epita.fr>
3035 Be kind to translators, save some useless translations.
3037 * src/main.c (banner): New function.
3038 (fatal_banner): Use it.
3039 (warn_banner): Use it.
3041 2000-03-17 Akim Demaille <akim@epita.fr>
3043 * src/reader.c (copy_definition): Use copy_string and
3044 copy_comment. Removed now unused `match', `ended',
3046 (copy_comment, copy_string): Moved, to be visible from
3049 2000-03-17 Akim Demaille <akim@epita.fr>
3051 * src/reader.c (copy_string): Declare `static inline'. No
3052 problems with inline, since it is checked by configure.
3053 (copy_comment): Likewise.
3055 2000-03-17 Akim Demaille <akim@epita.fr>
3057 * src/reader.c (packsymbols): Formatting changes.
3059 2000-03-17 Akim Demaille <akim@epita.fr>
3061 * src/reader.c (copy_comment): New function, factored out from:
3062 (copy_action): Use it. Removed now unused `match', `ended',
3064 (copy_guard): Likewise.
3066 2000-03-17 Akim Demaille <akim@epita.fr>
3068 * src/reader.c (copy_string): New function, factored out from:
3069 (copy_action): Use it.
3070 (copy_guard): Likewise.
3072 2000-03-17 Akim Demaille <akim@epita.fr>
3074 Change the handling of @s so that they behave exactly like $s.
3075 There is now a pseudo variable @$ (readble and writable), location
3076 of the lhs of the rule (by default ranging from the location of
3077 the first symbol of the rhs, to the location of the last symbol,
3078 or, if the rhs is empty, YYLLOC).
3080 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
3082 (yyparse): When providing a default semantic action, provide a
3083 default location action.
3084 (after the $): No longer change `*YYLSP', just stack YYLOC the
3085 same way you stack YYVAL.
3086 * src/reader.c (read_declarations): Use warns.
3087 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
3088 (copy_action, case '@'): Likewise.
3089 Use a standard error message, to save useless work from
3092 2000-03-17 Akim Demaille <akim@epita.fr>
3094 * src/bison.s1: Formatting and cosmetics changes.
3095 * src/reader.c: Likewise.
3096 Update the Copyright notice.
3098 2000-03-17 Akim Demaille <akim@epita.fr>
3100 * src/bison.s1 (#line): All set to `#line' only, since the
3101 Makefile now handles them.
3103 2000-03-16 Akim Demaille <akim@epita.fr>
3105 * src/output.c (output_rule_data): Output the documentation of
3107 (Copyright notice): Update.
3110 2000-03-16 Akim Demaille <akim@epita.fr>
3112 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
3113 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
3114 One `#if YYDEBUG' remains, since it uses variables which are
3115 defined only if `YYDEBUG != 0'.
3117 2000-03-16 Akim Demaille <akim@epita.fr>
3119 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
3120 and related variables so that the similarities are highlighted.
3122 2000-03-16 Akim Demaille <akim@epita.fr>
3124 * src/bison.s1: Properly indent CPP directives.
3126 2000-03-16 Akim Demaille <akim@epita.fr>
3128 * src/bison.s1: Properly indent the `alloca' CPP section.
3130 2000-03-16 Akim Demaille <akim@epita.fr>
3132 Do not hard code values of directories in `configure.in'.
3133 Update the `configure' tool chain.
3135 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
3137 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
3138 (AC_OUTPUT): Add m4/Makefile.
3139 Bump to bison 1.28a, 1.29 has never been released.
3140 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
3141 handled via src/Makefile.am.
3142 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
3143 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
3145 * Makefile.am (SUBDIRS): Add m4.
3146 (ACLOCAL_AM_FLAGS): New variable.
3147 (AUTOMAKE_OPTIONS): Add check-news.
3148 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
3149 the proper line number and file name.
3150 (DEFS): Propagate the location of bison library files and of the
3152 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
3154 * acinclude.m4: Remove, replaced by the directory m4.
3155 * m4/Makefile.am (EXTRA_DIST): New variable.
3156 * m4/gettext.m4: New file, from the fileutils.
3157 * m4/lcmessage.m4: Likewise
3158 * m4/progtest.m4: Likewise.
3159 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
3161 2000-03-10 Akim Demaille <akim@epita.fr>
3164 Formatting changes of various comments.
3165 Respect the GNU coding standards at various places.
3166 Don't use `_()' when no translation is needed.
3168 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3171 OS/2 honors TMPDIR environment variable.
3173 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3175 * doc/bison.texinfo: Tweaked spelling and grammar.
3177 Removed reference to price of printed copy.
3178 Mention BISON_SIMPLE and BISON_HAIRY.
3180 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3182 * configure.in, NEWS:
3183 Bison 1.29 released.
3185 1999-10-27 Jesse Thilo <jthilo@gnu.org>
3187 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
3188 Added reference card.
3190 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3192 * po/ru.po: Added Russian translation.
3194 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3196 * configure.in: Added Russian translation.
3198 1999-07-06 Jesse Thilo <jthilo@gnu.org>
3200 * configure.in, NEWS, README:
3201 Released version 1.28.
3203 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3206 Squashed redefinition warning on some systems.
3208 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
3209 Have configure build version string instead of relying on ANSI string
3212 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3214 * po/POTFILES.in: Got rid of version.c.
3216 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3218 * acconfig.h, configure.in:
3219 Have configure build version string instead of relying on ANSI string
3222 1999-06-08 Jesse Thilo <jthilo@gnu.org>
3225 Dropped mention of `+' for long-named options.
3227 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3229 * src/files.c: Added <unistd.h> for unlink().
3231 * src/Makefile.am, src/system.h:
3234 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3236 * README: Added a FAQ list.
3238 * configure.in, acconfig.h:
3241 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3243 * doc/FAQ, doc/Makefile.am:
3246 1999-05-19 Jesse Thilo <jthilo@gnu.org>
3248 * src/alloc.h, src/symtab.h, src/version.c:
3249 Protected inclusion of "config.h" with HAVE_CONFIG_H.
3251 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3253 * src/.cvsignore, src/Makefile.am:
3254 Reorganized: sources in `src', documentation in `doc'.
3256 * src/lex.c (literalchar):
3257 fixed the code for escaping double quotes (thanks
3260 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3262 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
3263 Adjusted paths to reflect directory reorganization.
3265 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3267 * doc/.cvsignore, doc/Makefile.am:
3268 Reorganized: sources in `src', documentation in `doc'.
3270 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3273 Updated AC_INIT file to reflect directory reorganization.
3275 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
3276 Reorganized: sources in `src', documentation in `doc'.
3278 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3281 Don't declare calloc() and realloc() if not necessary.
3283 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3285 * configure.in, acconfig.h, acinclude.m4:
3286 Don't declare calloc() and realloc() if not necessary.
3288 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3290 * po/.cvsignore: Added i18n support.
3292 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3294 * acconfig.h, configure.in, Makefile.am:
3297 1999-03-22 Jesse Thilo <jthilo@gnu.org>
3299 * src/bison.s1: Fixed #line numbers.
3301 1999-03-15 Jesse Thilo <jthilo@gnu.org>
3303 * po/es.po, po/fr.po, po/nl.po, po/de.po:
3304 Added PO files from Translation Project.
3306 1999-03-03 Jesse Thilo <jthilo@gnu.org>
3309 Added support for non-ANSI compilers (ansi2knr).
3311 1999-02-16 Jesse Thilo <jthilo@gnu.org>
3313 * configure.in: Bumped version number to 1.27.
3316 Added `bison.simple' to list of files removed by `make distclean'.
3318 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3320 * src/files.c, src/files.h:
3321 Defined locations of parser files in config.h instead of Makefile.
3323 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3325 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
3326 Defined locations of parser files in config.h instead of Makefile.
3328 1999-02-09 Jesse Thilo <jthilo@gnu.org>
3331 Removed inappropriate use of $< macro.
3333 1999-02-05 Jesse Thilo <jthilo@gnu.org>
3335 * po/Makefile.in.in, po/POTFILES.in:
3336 Add `po' directory skeleton.
3338 1999-01-27 Jesse Thilo <jthilo@gnu.org>
3340 * README: Document help-bison list.
3342 * configure.in: Add check for mkstemp().
3344 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3346 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
3347 Hush a few compiler warnings.
3350 Add tryclose(), which verifies that fclose was successful.
3351 Hush a couple of compiler warnings.
3353 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3355 * Makefile.am, OChangeLog:
3356 ChangeLog is now automatically generated. Include the old version as
3359 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3361 * 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:
3364 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3366 * doc/bison.texinfo: Fix formatting glitch.
3368 * doc/bison.texinfo: Update FSF address.
3370 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3372 * acconfig.h: Update FSF address.
3374 1999-01-08 Jesse Thilo <jthilo@gnu.org>
3377 Don't define PACKAGE here, since config.h defines it.
3379 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3381 * src/reader.c: Update copyright date.
3384 Ditch sprintf to statically-sized buffers in fatal/warn functions in
3385 favor of output directly to stderr (avoids buffer overruns).
3387 * src/reader.c: Some checks for premature EOF.
3389 * 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:
3390 Use prototypes if the compiler understands them.
3392 * src/files.c: Honor TMPDIR on Unix hosts.
3393 Use prototypes if the compiler understands them.
3396 Fix a couple of buffer overrun bugs.
3397 Use prototypes if the compiler understands them.
3399 * src/system.h: Include unistd.h and ctype.h.
3400 Use #ifdef instead of #if for NLS symbols.
3402 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3404 * doc/bison.texinfo:
3405 Delete comment "consider using @set for edition number, etc..." since
3406 we now are doing so.
3408 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3411 Use prototypes if the compiler understands them.
3413 * NEWS: Document 1.26 highlights.
3415 * Makefile.am: Require Automake 1.3 or later.
3418 Use prototypes if the compiler understands them.
3420 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3423 Use VERSION symbol from automake for version number.
3425 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3427 * acconfig.h, configure.in, version.cin:
3428 Use VERSION symbol from automake for version number.
3430 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3433 Distribute original version of simple parser (bison.s1), not built
3434 version (bison.simple).
3436 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3438 * doc/bison.texinfo: Add info dir entry.
3440 * doc/bison.texinfo:
3441 Let automake put version number into documentation.
3443 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3445 * src/bison.cld, src/build.com, src/vmshlp.mar:
3446 Add non-RCS files from /gd/gnu/bison.
3448 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3451 Document the BISON_HAIRY and BISON_SIMPLE variables.
3453 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3455 * src/version.c: Build version.c automatically.
3458 Fix token numbering (used to start at 258, not 257).
3460 * src/system.h: Include config.h.
3462 * src/getargs.c: Update bug report address.
3464 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3465 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3467 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3470 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3472 * configure.in, version.cin:
3473 Build version.c automatically.
3475 * AUTHORS: Add AUTHORS file.
3477 * README: Update bug report address.
3480 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3482 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3485 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3487 * doc/bison.texinfo: Clean up some formatting.
3489 1998-05-05 Richard Stallman <rms@gnu.org>
3491 * doc/bison.texinfo:
3492 Explain better why to make a pure parser.
3494 1998-01-05 Richard Stallman <rms@gnu.org>
3496 * src/files.c (openfiles):
3497 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3498 find a temporary directory, if possible. Do not unlink files while
3501 1997-08-25 Richard Stallman <rms@gnu.org>
3503 * src/reader.c (stack_offset;):
3504 Change some warni to warns.
3506 * src/lex.c (literalchar): Use warns, not warni.
3508 1997-06-28 Richard Stallman <rms@gnu.org>
3510 * src/bison.s1: Add a Bison version comment.
3512 * src/main.c (fatal, warn, berror):
3515 1997-06-28 Richard Stallman <rms@gnu.org>
3517 * Makefile.in (bison_version): New variable.
3518 (dist): Use that variable.
3519 (bison.s1): Substitute the Bison version into bison.simple.
3521 * bison.simple: Add a Bison version comment.
3523 1997-06-18 Richard Stallman <rms@gnu.org>
3525 * src/main.c (fatal, warn, berror):
3526 Make error messages standard.
3527 (toomany): Improve error message text.
3529 * 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:
3530 new.h renamed to alloc.h.
3532 1997-06-18 Richard Stallman <rms@gnu.org>
3534 * Makefile.in: new.h renamed to alloc.h.
3536 1997-05-24 Richard Stallman <rms@gnu.org>
3538 * src/lex.c (literalchar):
3539 Fix the code for escaping \, " and '.
3541 (lex): Avoid trouble when there are many chars
3542 to discard in a char literal with just several chars in it.
3544 1997-05-17 Richard Stallman <rms@gnu.org>
3547 Use malloc, if using alloca is troublesome.
3548 (YYSTACK_USE_ALLOCA): New flag macro.
3549 Define it for some systems and compilers.
3550 (YYSTACK_ALLOC): New macro.
3551 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3552 If it was malloc'd, free it.
3554 1997-05-17 Richard Stallman <rms@gnu.org>
3557 Use malloc, if using alloca is troublesome.
3558 (YYSTACK_USE_ALLOCA): New flag macro.
3559 Define it for some systems and compilers.
3560 (YYSTACK_ALLOC): New macro.
3561 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3562 If it was malloc'd, free it.
3564 1997-04-23 Richard Stallman <rms@gnu.org>
3567 (alloca) [__hpux]: Always define as __builtin_alloca.
3569 1997-04-23 Richard Stallman <rms@gnu.org>
3572 (alloca) [__hpux]: Always define as __builtin_alloca.
3574 1997-04-22 Richard Stallman <rms@gnu.org>
3577 [__hpux]: Include alloca.h (right for HPUX 10)
3578 instead of declaring alloca (right for HPUX 9).
3580 * src/bison.s1 (__yy_memcpy):
3581 Declare arg `count' as unsigned int.
3582 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3584 1997-04-22 Richard Stallman <rms@gnu.org>
3587 [__hpux]: Include alloca.h (right for HPUX 10)
3588 instead of declaring alloca (right for HPUX 9).
3590 * bison.simple (__yy_memcpy):
3591 Declare arg `count' as unsigned int.
3592 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3594 1997-01-03 Richard Stallman <rms@gnu.org>
3596 * src/allocate.c: [__STDC__ or _MSC_VER]:
3597 Declare calloc and realloc to return void *.
3599 1997-01-02 Richard Stallman <rms@gnu.org>
3602 [_MSC_VER]: Include stdlib.h and process.h.
3603 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3605 * src/main.c (main): Return FAILURE as a value.
3606 (printable_version): Declare arg as int, not char.
3608 1997-01-02 Richard Stallman <rms@gnu.org>
3610 * Makefile.in (dist):
3611 Explicitly check for symlinks, and copy them.
3613 1996-12-19 Richard Stallman <rms@gnu.org>
3616 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3618 1996-12-18 Paul Eggert <eggert@gnu.org>
3620 * src/bison.s1 (yyparse):
3621 If __GNUC__ and YYPARSE_PARAM are both defined,
3622 declare yyparse to have a void * argument.
3624 1996-12-18 Paul Eggert <eggert@gnu.org>
3626 * bison.simple (yyparse):
3627 If __GNUC__ and YYPARSE_PARAM are both defined,
3628 declare yyparse to have a void * argument.
3630 1996-12-17 Richard Stallman <rms@gnu.org>
3632 * src/reduce.c (nbits): Add some casts.
3634 1996-08-12 Richard Stallman <rms@gnu.org>
3636 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3638 1996-08-12 Richard Stallman <rms@gnu.org>
3640 * bison.simple: Test _MSDOS as well as _MSDOS_.
3642 1996-07-31 Richard Stallman <rms@gnu.org>
3645 [__sun && __i386]: Include alloca.h.
3647 1996-07-31 Richard Stallman <rms@gnu.org>
3650 [__sun && __i386]: Include alloca.h.
3652 1996-07-30 Richard Stallman <rms@gnu.org>
3654 * src/bison.s1: Comment change.
3656 * src/bison.s1: Test _MSDOS_, not MSDOS.
3658 1996-07-30 Richard Stallman <rms@gnu.org>
3660 * bison.simple: Comment change.
3662 * bison.simple: Test _MSDOS_, not MSDOS.
3664 1996-06-01 Richard Stallman <rms@gnu.org>
3666 * 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:
3667 Insert `_' macro around many string constants.
3670 Insert `_' macro around many string constants.
3672 (main): Call setlocale, bindtextdomain and textdomain.
3674 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3675 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3676 [ENABLE_NLS]: Include libintl.h.
3677 [ENABLE_NLS] (gettext): Define.
3678 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3679 (N_, PACKAGE, LOCALEDIR): New macros.
3681 1996-06-01 Richard Stallman <rms@gnu.org>
3683 * POTFILES.in: New file.
3685 * Makefile.in (allocate.o):
3686 Define target explicitly.
3688 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3689 (LDFLAGS): Set to @LDFLAGS@.
3690 (configure): Run autoconf only if preceding `cd' succeeds.
3691 (bison.s1): Redirect output to temporary file then move the
3692 temporary to the target, rather than redirecting directly to bison.s1.
3693 (clean): Remove config.status and config.log.
3694 (distclean): Don't remove config.status here.
3696 1996-05-12 Richard Stallman <rms@gnu.org>
3699 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3701 1996-05-12 Richard Stallman <rms@gnu.org>
3704 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3706 1996-05-11 Richard Stallman <rms@gnu.org>
3708 * src/bison.s1 (__yy_memcpy):
3709 Really reorder the args, as was supposedly done on Feb 14 1995.
3710 (yyparse): Calls changed accordingly.
3712 1996-05-11 Richard Stallman <rms@gnu.org>
3714 * Makefile.in (dist): Don't use $(srcdir).
3716 * bison.simple (__yy_memcpy):
3717 Really reorder the args, as was supposedly done on Feb 14 1995.
3718 (yyparse): Calls changed accordingly.
3720 1996-01-27 Richard Stallman <rms@gnu.org>
3722 * src/output.c (output_rule_data):
3723 Test YYERROR_VERBOSE in the conditional
3724 around the definition of ttyname.
3726 1995-12-29 Richard Stallman <rms@gnu.org>
3729 Fix line numbers in #line commands.
3731 1995-12-29 Richard Stallman <rms@gnu.org>
3734 Fix line numbers in #line commands.
3736 1995-12-27 Richard Stallman <rms@gnu.org>
3738 * src/bison.s1 (YYPARSE_PARAM_DECL):
3739 In C++, make it always null.
3740 (YYPARSE_PARAM_ARG): New macro.
3741 (yyparse): Use YYPARSE_PARAM_ARG.
3743 1995-12-27 Richard Stallman <rms@gnu.org>
3745 * bison.simple (YYPARSE_PARAM_DECL):
3746 In C++, make it always null.
3747 (YYPARSE_PARAM_ARG): New macro.
3748 (yyparse): Use YYPARSE_PARAM_ARG.
3750 1995-11-29 Richard Stallman <rms@gnu.org>
3752 * doc/bison.texinfo:
3753 Describe literal string tokens, %raw, %no_lines, %token_table.
3755 1995-11-29 Daniel Hagerty <hag@gnu.org>
3757 * doc/bison.texinfo: Fixed update date
3759 1995-10-16 Richard Stallman <rms@gnu.org>
3761 * src/version.c: Version 1.25.
3763 1995-10-16 Richard Stallman <rms@gnu.org>
3765 * NEWS: *** empty log message ***
3767 1995-10-16 Richard Stallman <rms@gnu.org>
3769 * doc/bison.1, doc/bison.rnh:
3772 1995-10-15 Richard Stallman <rms@gnu.org>
3774 * src/vmsgetargs.c, src/getargs.c:
3775 Added -n, -k, and -raw switches.
3776 (noparserflag, toknumflag, rawtoknumflag): New variables.
3778 * src/symtab.h (SALIAS):
3779 New #define for adding aliases to %token.
3780 (struct bucket): Added `alias' field.
3782 * src/reduce.c (reduce_grammar):
3783 Revise error message.
3784 (print_notices): Remove final `.' from error message.
3786 * src/reader.c (reader_output_yylsp):
3788 (readgram): Use `#if 0' around code that accepted %command
3789 inside grammar rules: The documentation doesn't allow it,
3790 and it will fail since the %command processors scan for the next %.
3791 (parse_token_decl): Extended the %token
3792 declaration to allow a multi-character symbol as an alias.
3793 (parse_thong_decl): New function.
3794 (read_declarations): Added %thong declarations.
3795 (read_declarations): Handle NOOP to deal with allowing
3796 % declarations as another means to specify the flags.
3797 (readgram): Allow %prec prior to semantics embedded in a rule.
3798 (skip_to_char, read_declarations, copy_definition)
3799 (parse_token_decl, parse_start_decl, parse_type_decl)
3800 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3801 (get_type_name, copy_guard, copy_action, readgram)
3802 (get_type, packsymbols): Revised most error messages.
3803 Changed `fatal' to `warnxxx' to avoid aborting for error.
3804 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3805 (read_declarations): Improve the error message for
3806 an invalid character. Do not abort.
3807 (read_declarations, copy_guard, copy_action): Use
3808 printable_version to avoid unprintable characters in printed output.
3809 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3810 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3811 Allow the type of a non-terminal can be given
3812 more than once, as long as all specifications give the same type.
3815 (output_headers, output_trailers, output, output_gram)
3816 (output_rule_data): Implement noparserflag variable.
3817 Implement toknumflag variable.
3818 (output): Call reader_output_yylsp to output LTYPESTR.
3820 * src/main.c (main):
3821 If reader sees an error, don't process the grammar.
3822 (fatals): Updated to not use VARARGS1.
3823 (printable_version, int_to_string, warn, warni, warns, warnss)
3824 (warnsss): New error reporting functions. Avoid abort for error.
3827 Added THONG and NOOP for alias processing.
3828 Added SETOPT for the new code that allows setting options with %flags.
3831 Include getopt.h. Add some extern decls.
3832 (safegetc): New function to deal with EOF gracefully.
3833 (literalchar); new function to deal with reading \ escapes.
3834 (lex): Use literalchar.
3835 (lex): Implemented "..." tokens.
3836 (literalchar, lex, parse_percent_token): Made tokenbuffer
3837 always contain the token. This includes growing the token
3838 buffer while reading an integer.
3839 (parse_percent_token): Replaced if-else statement with percent_table.
3840 (parse_percent_token): Added % declarations as another
3841 way to specify the flags -n, -l, and -r. Also added hooks for
3842 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3843 major changes to files.c.
3844 (lex) Retain in the incoming stream a character following
3846 (skip_white_space, lex): Revised most error messages
3847 and changed fatal to warn to avoid aborting.
3848 (percent_table): Added %thong declarations.
3850 * src/gram.h: Comment changes.
3852 * src/files.c (openfiles, open_extra_files, done):
3854 and actfile file. Handle noparserflag. Both for -n switch.
3856 * src/conflicts.c (resolve_sr_conflict):
3857 Remove use of alloca.
3859 1995-06-01 Jim Meyering <meyering@gnu.org>
3861 * doc/bison.texinfo: *** empty log message ***
3863 1995-05-06 Richard Stallman <rms@gnu.org>
3865 * src/bison.s1: Comment change.
3867 1995-05-06 Richard Stallman <rms@gnu.org>
3869 * bison.simple: Comment change.
3871 1995-05-03 Richard Stallman <rms@gnu.org>
3873 * src/version.c: Version now 1.24.
3875 * src/bison.s1: Change distribution terms.
3877 * src/version.c: Version now 1.23.
3879 1995-05-03 Richard Stallman <rms@gnu.org>
3881 * doc/bison.texinfo:
3882 Rewrite "Conditions for Using Bison".
3883 Update version to 1.24.
3885 1995-05-03 Richard Stallman <rms@gnu.org>
3887 * bison.simple: Change distribution terms.
3889 1995-02-23 Richard Stallman <rms@gnu.org>
3891 * src/files.c: Test __VMS_POSIX as well as VMS.
3893 1995-02-14 Jim Meyering <meyering@gnu.org>
3895 * src/bison.s1 (__yy_memcpy):
3896 Renamed from __yy_bcopy to avoid
3897 confusion. Reverse FROM and TO arguments to be consistent with
3900 1995-02-14 Jim Meyering <meyering@gnu.org>
3902 * bison.simple (__yy_memcpy):
3903 Renamed from __yy_bcopy to avoid
3904 confusion. Reverse FROM and TO arguments to be consistent with
3907 1994-11-10 David J. MacKenzie <djm@gnu.org>
3913 * Makefile.in (DISTFILES): Include NEWS.
3915 * Makefile.in (DISTFILES):
3916 Include install-sh, not install.sh.
3918 * configure.in: Update to Autoconf v2 macro names.
3920 1994-10-05 David J. MacKenzie <djm@gnu.org>
3922 * Makefile.in: fix typo
3924 * Makefile.in (prefix, exec_prefix):
3925 Let configure set them.
3927 1994-09-28 David J. MacKenzie <djm@gnu.org>
3929 * Makefile.in: Set datadir to $(prefix)/share.
3931 1994-09-15 Richard Stallman <rms@gnu.org>
3934 Update copyright notice and GPL version.
3936 1994-09-15 Richard Stallman <rms@gnu.org>
3939 Update copyright notice and GPL version.
3941 1994-07-12 Richard Stallman <rms@gnu.org>
3943 * src/reduce.c, src/reader.c:
3946 1994-05-05 David J. MacKenzie <djm@gnu.org>
3948 * Makefile.in: entered into RCS
3950 1994-03-26 Richard Stallman <rms@gnu.org>
3952 * src/bison.s1: entered into RCS
3954 1994-03-26 Richard Stallman <rms@gnu.org>
3956 * bison.simple: entered into RCS
3958 1994-03-25 Richard Stallman <rms@gnu.org>
3960 * src/main.c: entered into RCS
3962 1994-03-24 Richard Stallman <rms@gnu.org>
3964 * src/conflicts.c: entered into RCS
3966 1994-01-02 Richard Stallman <rms@gnu.org>
3968 * Makefile.in: *** empty log message ***
3970 1993-11-21 Richard Stallman <rms@gnu.org>
3972 * src/bison.s1: *** empty log message ***
3974 1993-11-21 Richard Stallman <rms@gnu.org>
3976 * doc/bison.texinfo: entered into RCS
3978 * doc/bison.texinfo: *** empty log message ***
3980 1993-11-21 Richard Stallman <rms@gnu.org>
3982 * bison.simple: *** empty log message ***
3984 1993-10-25 David J. MacKenzie <djm@gnu.org>
3986 * doc/bison.texinfo: *** empty log message ***
3988 1993-10-19 Richard Stallman <rms@gnu.org>
3990 * src/bison.s1: *** empty log message ***
3992 1993-10-19 Richard Stallman <rms@gnu.org>
3994 * bison.simple: *** empty log message ***
3996 1993-10-14 Richard Stallman <rms@gnu.org>
3998 * src/bison.s1: *** empty log message ***
4000 1993-10-14 Richard Stallman <rms@gnu.org>
4002 * bison.simple: *** empty log message ***
4004 1993-09-14 David J. MacKenzie <djm@gnu.org>
4006 * doc/bison.texinfo: *** empty log message ***
4008 1993-09-13 Noah Friedman <friedman@gnu.org>
4010 * Makefile.in: *** empty log message ***
4012 1993-09-10 Richard Stallman <rms@gnu.org>
4014 * src/conflicts.c: *** empty log message ***
4016 * src/system.h: entered into RCS
4018 1993-09-10 Richard Stallman <rms@gnu.org>
4020 * doc/bison.1: entered into RCS
4022 1993-09-06 Noah Friedman <friedman@gnu.org>
4024 * src/version.c: entered into RCS
4026 1993-09-06 Noah Friedman <friedman@gnu.org>
4028 * Makefile.in: *** empty log message ***
4030 1993-07-30 David J. MacKenzie <djm@gnu.org>
4032 * Makefile.in: *** empty log message ***
4034 1993-07-24 Richard Stallman <rms@gnu.org>
4036 * src/bison.s1: *** empty log message ***
4038 1993-07-24 Richard Stallman <rms@gnu.org>
4040 * bison.simple: *** empty log message ***
4042 1993-07-08 David J. MacKenzie <djm@gnu.org>
4044 * Makefile.in: *** empty log message ***
4046 1993-07-04 Richard Stallman <rms@gnu.org>
4048 * src/bison.s1: *** empty log message ***
4050 1993-07-04 Richard Stallman <rms@gnu.org>
4052 * bison.simple: *** empty log message ***
4054 1993-06-26 David J. MacKenzie <djm@gnu.org>
4056 * src/getargs.c: entered into RCS
4058 1993-06-26 David J. MacKenzie <djm@gnu.org>
4060 * doc/bison.texinfo: *** empty log message ***
4062 * doc/bison.1: New file.
4064 1993-06-25 Richard Stallman <rms@gnu.org>
4066 * src/getargs.c: New file.
4068 1993-06-16 Richard Stallman <rms@gnu.org>
4070 * src/bison.s1: *** empty log message ***
4072 1993-06-16 Richard Stallman <rms@gnu.org>
4074 * bison.simple: *** empty log message ***
4076 1993-06-03 Richard Stallman <rms@gnu.org>
4078 * src/bison.s1: New file.
4080 1993-06-03 Richard Stallman <rms@gnu.org>
4082 * doc/bison.texinfo: *** empty log message ***
4084 1993-06-03 Richard Stallman <rms@gnu.org>
4086 * bison.simple: New file.
4088 1993-05-19 Richard Stallman <rms@gnu.org>
4090 * doc/bison.texinfo: New file.
4092 1993-05-07 Noah Friedman <friedman@gnu.org>
4094 * Makefile.in: *** empty log message ***
4096 1993-04-28 Noah Friedman <friedman@gnu.org>
4098 * src/reader.c: *** empty log message ***
4100 1993-04-23 Noah Friedman <friedman@gnu.org>
4102 * src/alloc.h: entered into RCS
4104 1993-04-20 David J. MacKenzie <djm@gnu.org>
4106 * src/version.c: *** empty log message ***
4108 * src/files.c, src/allocate.c:
4111 * src/reader.c: *** empty log message ***
4113 * src/lex.c: entered into RCS
4115 * src/conflicts.c: New file.
4117 * src/symtab.c: entered into RCS
4119 * src/alloc.h: New file.
4121 * src/LR0.c: entered into RCS
4123 1993-04-18 Noah Friedman <friedman@gnu.org>
4125 * src/reader.c: New file.
4127 * src/version.c: *** empty log message ***
4129 1993-04-18 Noah Friedman <friedman@gnu.org>
4131 * Makefile.in: *** empty log message ***
4133 1993-04-17 Noah Friedman <friedman@gnu.org>
4135 * Makefile.in: *** empty log message ***
4137 1993-04-15 Richard Stallman <rms@gnu.org>
4139 * src/main.c, src/files.c:
4142 1993-04-15 Noah Friedman <friedman@gnu.org>
4144 * configure.in: entered into RCS
4146 * configure.in: *** empty log message ***
4148 * configure.in: New file.
4150 1993-04-14 Richard Stallman <rms@gnu.org>
4152 * Makefile.in: New file.
4154 1993-04-13 Richard Stallman <rms@gnu.org>
4156 * src/version.c: New file.
4158 1993-03-25 Richard Stallman <rms@gnu.org>
4160 * src/output.c: entered into RCS
4162 1992-09-25 Richard Stallman <rms@gnu.org>
4164 * configure.bat: entered into RCS
4166 1992-06-22 Richard Stallman <rms@gnu.org>
4168 * src/vmsgetargs.c: entered into RCS
4170 1992-06-22 Richard Stallman <rms@gnu.org>
4172 * doc/bison.rnh: entered into RCS
4174 1992-04-20 David J. MacKenzie <djm@gnu.org>
4176 * README: entered into RCS
4178 1992-01-22 Richard Stallman <rms@gnu.org>
4180 * src/machine.h: entered into RCS
4182 1991-12-21 Richard Stallman <rms@gnu.org>
4184 * src/lalr.c, src/closure.c:
4187 1991-12-20 Richard Stallman <rms@gnu.org>
4189 * src/state.h: entered into RCS
4191 1991-12-18 Richard Stallman <rms@gnu.org>
4193 * src/print.c, src/nullable.c, src/derives.c:
4196 1991-11-03 David J. MacKenzie <djm@gnu.org>
4198 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
4201 1988-09-09 Richard Stallman <rms@gnu.org>
4203 * src/bison.hairy: entered into RCS
4205 1987-12-16 Richard Stallman <rms@gnu.org>
4207 * REFERENCES: entered into RCS