1 2001-12-05 Akim Demaille <akim@epita.fr>
3 * src/warshall.c (TC, RTC): De-obsfucate (source reduced to 22% of
5 * src/warshall.h: Remove accidental duplication of the content.
8 2001-12-05 Akim Demaille <akim@epita.fr>
10 * src/closure.c (set_fderives): De-obfuscate.
13 2001-12-05 Akim Demaille <akim@epita.fr>
15 * src/closure.c (print_firsts, print_fderives): De-obfuscate.
18 2001-12-05 Akim Demaille <akim@epita.fr>
20 * src/closure.c (set_firsts): De-obfuscate.
22 2001-12-05 Akim Demaille <akim@epita.fr>
24 * src/output.c (action_row): De-obfuscate
25 using the good o' techniques: arrays not pointers, variable
26 locality, BITISSET, RESETBIT etc.
29 2001-12-05 Akim Demaille <akim@epita.fr>
31 Pessimize the code to simplify it: from now on, all the states
32 have a valid SHIFTS, which NSHIFTS is possibly 0.
34 * src/LR0.c (shifts_new): Be global and move to..
35 * src/state.c, src/state.h: here.
36 * src/conflicts, src/lalr.c, src/output.c, src/print.c,
37 * src/print_graph: Adjust.
39 2001-12-05 Akim Demaille <akim@epita.fr>
41 * src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New.
42 * src/conflicts.c: Use it.
43 Restore a few missing `if (!SHIFT_IS_DISABLED)' which were
44 incorrectly ``simplified''.
46 2001-12-05 Akim Demaille <akim@epita.fr>
48 * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate
49 using the good o' techniques: arrays not pointers, variable
50 locality, BITISSET, RESETBIT etc.
52 2001-12-05 Akim Demaille <akim@epita.fr>
54 * src/state.h (SHIFT_SYMBOL): New.
55 * src/conflicts.c: Use it to deobfuscate.
57 2001-12-05 Akim Demaille <akim@epita.fr>
59 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts)
60 (print_reductions): De-obfuscate using the good o' techniques:
61 arrays not pointers, variable locality, BITISSET.
63 2001-12-05 Akim Demaille <akim@epita.fr>
65 * src/conflicts.c (print_reductions): Arrays, not pointers.
68 2001-12-05 Akim Demaille <akim@epita.fr>
70 * src/conflicts.c (print_reductions): Pessimize, but clarify.
72 2001-12-05 Akim Demaille <akim@epita.fr>
74 * src/conflicts.c (print_reductions): Improve variable locality.
76 2001-12-05 Akim Demaille <akim@epita.fr>
78 * src/conflicts.c (print_reductions): Pessimize, but clarify.
80 2001-12-05 Akim Demaille <akim@epita.fr>
82 * src/conflicts.c (print_reductions): Improve variable locality.
84 2001-12-05 Akim Demaille <akim@epita.fr>
86 * src/state.h (SHIFT_IS_ERROR, SHIFT_IS_GOTO, SHIFT_IS_SHIFT): New.
87 * src/lalr.c: Use them.
89 2001-12-05 Akim Demaille <akim@epita.fr>
91 * src/LR0.c (augment_automaton): Formatting changes.
92 Better variable locality.
94 2001-12-05 Akim Demaille <akim@epita.fr>
96 * src/lalr.c (matrix_print): New.
98 Use arrays instead of pointers.
100 2001-12-05 Akim Demaille <akim@epita.fr>
102 * src/lalr.c (maxrhs): Move to...
103 * src/gram.c, src/gram.h (ritem_longest_rhs): here.
104 * src/lalr.c (build_relations): Adjust.
106 2001-12-05 Akim Demaille <akim@epita.fr>
108 * src/lalr.c (transpose): Free the memory allocated to the
109 argument, as it is replaced by the results by the unique caller.
110 (build_relations): Merely invoke transpose: it handles the memory
112 Improve variable locality.
113 Avoid variables used as mere abbreviations.
114 (compute_lookaheads): Use arrays instead of pointers.
116 2001-12-05 Akim Demaille <akim@epita.fr>
118 * src/lalr.c (initialize_F): Improve variable locality.
119 Avoid variables used as mere abbreviations.
121 2001-12-05 Akim Demaille <akim@epita.fr>
123 * src/derives.c (print_derives): Display the ruleno.
124 * src/lalr.c (initialize_F, transpose): Better variable locality
125 to improve readability.
126 Avoid variables used as mere abbreviations.
128 2001-12-05 Akim Demaille <akim@epita.fr>
130 * src/lalr.c (traverse): Use arrays instead of pointers.
132 2001-12-05 Akim Demaille <akim@epita.fr>
134 * src/nullable.c (set_nullable): Use a for loop to de-obfuscate
135 the handling of squeue.
136 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
138 2001-12-05 Akim Demaille <akim@epita.fr>
140 Because useless nonterminals are now kept alive (instead of being
141 `destroyed'), we now sometimes examine them, and store information
142 related to them. Hence we need to know their number, and adjust
145 * src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
147 * src/LR0.c (allocate_itemsets): The memory allocated to
148 `symbol_count' was used for two different purpose: once to count
149 the number of occurrences of each symbol, and later reassigned to
150 `shift_symbol', containing the symbol that can be shifted from a
152 Deobfuscate, i.e., allocate, use and free `symbol_count' here
154 (new_itemsets): Allocate `shift_symbol' here.
155 (allocate_itemsets): symbol_count includes useless nonterminals.
157 (free_storage): Use `free', not `XFREE', for pointers that cannot
160 2001-12-05 Akim Demaille <akim@epita.fr>
162 * src/nullable.c (set_nullable): Deobfuscate the handling of
164 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
166 2001-12-05 Akim Demaille <akim@epita.fr>
168 * src/gram.c, src/gram.h (ritem_print): New.
169 * src/gram.c (dummy): Remove, now there is actual code in gram.c.
170 (This useless function was defined only to work around VMS linkers
171 that can't handle compilation units with variables only).
172 * src/reduce.c (dump_grammar): Use it to trace the construction of
175 2001-12-04 Paul Eggert <eggert@twinsun.com>
177 * src/bison.simple (union yyalloc): Change member names
178 to be the same as the stack names.
179 (yyparse): yyptr is now union yyalloc *, not char *.
180 (YYSTACK_RELOCATE): Likewise. This avoids a GCC warning,
181 and may generate better code on some machines.
182 (yystpcpy): Use prototype if __STDC__ is defined, not just
183 if __cplusplus is defined.
185 2001-11-30 Akim Demaille <akim@epita.fr>
187 * configure.in (WARNING_CFLAGS): Add -Werror when possible.
188 (CFLAGS): Do not include the WARNING_CFLAGS here, since GNU
189 Gettext doesn't compile cleanly, and dies with -Werror.
190 * src/Makefile.am, lib/Makefile.am, tests/atlocal.in (CFLAGS):
191 Include WARNING_CFLAGS here.
192 * lib/xstrdup.c: Include xalloc.h, so that xstrdup be declared
193 before being defined.
195 2001-11-27 Paul Eggert <eggert@twinsun.com>
197 * lib/quotearg.h (quotearg_n, quotearg_n_style):
198 First arg is int, not unsigned.
199 * lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise.
200 (SIZE_MAX, UINT_MAX): New macros.
201 (quotearg_n_options): Abort if N is negative.
202 Avoid overflow check on hosts where size_t is 64 bits and int
203 is 32 bits, as overflow is impossible there.
204 Fix off-by-one typo that caused unnecessary reallocation.
206 2001-11-29 Paul Eggert <eggert@twinsun.com>
208 Name space cleanup in generated parser.
210 * doc/bison.texinfo (Bison Parser): Discuss system headers
211 and their effect on the user name space.
214 (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX,
215 YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define unless necessary,
216 i.e. unless ! defined (yyoverflow) || defined (YYERROR_VERBOSE).
218 (YYSIZE_T): New macro. Use it instead of size_t, to avoid infringing
219 on user names when possible.
221 (YYSTACK_USE_ALLOCA): Do not define; just use any existing defn.
222 Simplify test for whather <alloca.h> exists.
224 (<stdlib.h>): Include if we will use malloc, and if standard C or C++.
226 (<stdio.h>): Include if YYDEBUG.
228 (yymemcpy): Renamed from __yy_memcpy. Do not define unless
229 ! defined (yyoverflow) && ! defined (yymemcpy).
231 (yymemcpy, yyparse): Rename local variables as needed so that
232 they all begin with 'yy'.
234 (yystrlen, yystpcpy): New functions.
236 (YY_DECL_NON_LSP_VARIABLES): Renamed from _YY_DECL_VARIABLES.
239 (yyparse): size_t -> YYSIZE_T. Use yystrlen and yystpcpy
240 instead of relying on string.h functions. Use YYSTACK_ALLOC
241 and YYSTACK_FREE instead of malloc and free.
243 2001-11-30 Akim Demaille <akim@epita.fr>
245 * src/bison.simple (YYSTYPE, YYLTYPE): Move their definitions
246 before their first uses.
247 (YYBISON, YYPURE): Move to the top of the output.
249 2001-11-30 Akim Demaille <akim@epita.fr>
251 * tests/reduce.at (Useless Nonterminals): Fix.
253 2001-11-30 Akim Demaille <akim@epita.fr>
255 * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty
256 if body instead of `;' to pacify GCC's warnings.
258 2001-11-30 Akim Demaille <akim@epita.fr>
260 Instead of mapping the LHS of unused rules to -1, keep the LHS
261 valid, but flag the rules as invalid.
263 * src/gram.h (rule_t): `useful' is a new member.
264 * src/print.c (print_grammar): Adjust.
265 * src/derives.c (set_derives): Likewise.
266 * src/reader.c (packgram, reduce_output): Likewise.
267 * src/reduce.c (reduce_grammar_tables): Likewise.
268 * tests/reduce.at (Underivable Rules, Useless Rules): New.
270 2001-11-30 Akim Demaille <akim@epita.fr>
272 * src/reduce.c (reduce_output): Formatting changes.
273 * src/print.c (print_results, print_grammar): Likewise.
274 * tests/regression.at (Rule Line Numbers)
275 (Solved SR Conflicts, Unresolved SR Conflicts): Adjust.
277 2001-11-30 Akim Demaille <akim@epita.fr>
279 * src/reduce.c (nonterminals_reduce): Instead of throwing away
280 useless nonterminals, move them at the end of the symbol arrays.
281 (reduce_output): Adjust.
282 * tests/reduce.at (Useless Nonterminals): Adjust.
284 2001-11-30 Akim Demaille <akim@epita.fr>
286 * src/reduce.c: Various comment/formatting changes.
287 (nonterminals_reduce): New, extracted from...
288 (reduce_grammar_tables): here.
289 (reduce_grammar): Call nonterminals_reduce.
291 2001-11-29 Paul Eggert <eggert@twinsun.com>
293 * src/bison.simple (YYSTACK_REALLOC): Remove.
294 (YYSTACK_ALLOC): Resurrect this macro, with its old meaning.
295 (YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE):
297 (union yyalloc): New type.
298 (__yy_memcpy): Last arg is size_t, not unsigned int, to remove
299 an arbitrary restriction on hosts where size_t is wider than int.
301 (yyparse): Don't dump core if alloca or malloc fails; instead, report
302 a parser stack overflow. Allocate just one block of memory for all
303 three stacks, instead of allocating three blocks; this typically is
304 faster and reduces fragmentation.
306 Do not limit the number of items in the stack to a value that fits
307 in 'int', as this is an arbitrary limit on hosts with 64-bit
308 size_t and 32-bit int.
310 2001-11-29 Marc Autret <autret_m@epita.fr>
312 * tests/calc.at [AT_DATA_CALC_Y]: Use %error-verbose instead
313 of defining YYERROR_VERBOSE.
314 [AT_DATA]: $4 is now out of C declarations in the prologue.
316 2001-11-28 Marc Autret <autret_m@epita.fr>
318 * src/reader.c (parse_dquoted_param): New.
319 (parse_skel_decl): Use it.
320 * src/lex.h: Add its prototype.
321 * src/lex.c (literalchar): Become not static.
323 2001-11-28 Marc Autret <autret_m@epita.fr>
325 * src/output.h: And put its extern declaration here.
326 * src/output.c (error_verbose): Define here.
327 (prepare): Echo name modification.
328 * src/getargs.h: Clean its extern declaration.
329 * src/getargs.c (error_verbose_flag): Remove.
330 (getargs): Remove case 'e'.
331 * src/options.c (option_table): 'error-verbose' is now seen as simple
335 * src/reader.c (read_declarations): Remove case tok_include.
336 (parse_include_decl): Remove.
337 * src/lex.h (token_t): Remove tok_include.
338 * src/options.c (option_table): 'include' is now a simple command line
341 2001-11-28 Marc Autret <autret_m@epita.fr>
343 * src/bison.simple: Adjust muscle names.
344 * src/muscle_tab.c (muscle_init): Also rename the muscles.
345 * src/output.c (prepare): s/_/-/ for the muscles names.
346 (output_parser): When scanning for a muscle, allow '-' instead of '_'.
348 2001-11-28 Marc Autret <autret_m@epita.fr>
350 * src/bison.simple: Fix debug.
351 [YYERROR_VERBOSE]: Re-integrate as an internal macro.
353 2001-11-28 Akim Demaille <akim@epita.fr>
355 * src/LR0.c (shifts_new): New.
356 (save_shifts, insert_start_shift, augment_automaton): Use it.
358 2001-11-28 Akim Demaille <akim@epita.fr>
360 * src/closure.c (closure): `b' and `ruleno' denote the same value:
363 2001-11-28 Akim Demaille <akim@epita.fr>
365 * src/closure.c (closure): Instead of looping over word in array
366 then bits in words, loop over bits in array.
368 2001-11-28 Akim Demaille <akim@epita.fr>
370 * src/closure.c (closure): No longer optimize the special case
371 where all the bits of `ruleset[r]' are set to 0, to make the code
374 2001-11-28 Akim Demaille <akim@epita.fr>
376 * src/closure.c (closure): `r' and `c' are new variables, used to
377 de-obfuscate accesses to RULESET and CORE.
379 2001-11-28 Akim Demaille <akim@epita.fr>
381 * src/reduce.c (reduce_print): Use ngettext.
382 (dump_grammar): Improve the trace accuracy.
384 2001-11-28 Akim Demaille <akim@epita.fr>
386 * src/reduce.c (dump_grammar): Don't translate trace messages.
388 2001-11-28 Akim Demaille <akim@epita.fr>
390 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
391 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
392 as all tags are free'ed afterwards.
395 2001-11-27 Paul Eggert <eggert@twinsun.com>
397 * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to
398 use alloca when we didn't want to, and vice versa.
400 2001-11-27 Marc Autret <autret_m@epita.fr>
402 * src/muscle_tab.c (muscle_init): Remove 'verbose' muscle
404 * src/output.c (prepare): Remove its update.
406 2001-11-27 Marc Autret <autret_m@epita.fr>
408 * tests/torture.at [AT_DATA]: Remove YYERROR_VERBOSE definition.
411 2001-11-27 Marc Autret <autret_m@epita.fr>
413 * src/bison.simple: Remove YYERROR_VERBOSE using.
416 * src/output.c (prepare): Give its final value.
417 * src/muscle_tab.c (muscle_init): Init new muscle 'error_verbose'.
418 * src/getargs.h: Add its extern declaration.
419 * src/getargs.c (error_verbose_flag): New int.
420 (getargs): Update to catch new case.
421 * src/options.c (option_table): 'error-verbose' is a new option.
424 2001-11-27 Akim Demaille <akim@epita.fr>
426 * src/system.h: Use intl/libgettext.h.
427 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
429 2001-11-27 Akim Demaille <akim@epita.fr>
431 * tests/torture.at (Exploding the Stack Size with Malloc):
432 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
434 2001-11-27 Akim Demaille <akim@epita.fr>
436 * src/files.c: Include error.h.
437 Reported by Hans Aberg.
439 2001-11-26 Marc Autret <autret_m@epita.fr>
441 * src/reader.c (parse_include_decl): New, not yet implemented.
442 (read_declarations): Add case tok_include.
443 * src/getargs.h (include): Add its extern definition.
444 * src/getargs.c (include): New const char *.
445 (getargs): Add case '-I'.
446 * src/options.c (option_table): Add include as command line and
448 * src/lex.h (token_t): Add tok_include.
450 2001-11-26 Akim Demaille <akim@epita.fr>
452 * src/reader.c (readgram): Make sure rules for mid-rule actions
453 have a lineno equal to that of their host rule.
454 Reported by Hans Aberg.
455 * tests/regression.at (Rule Line Numbers): New.
457 2001-11-26 Akim Demaille <akim@epita.fr>
459 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
462 2001-11-26 Akim Demaille <akim@epita.fr>
464 * src/complain.c, src/complain.h (error): Remove, provided by
467 2001-11-26 Akim Demaille <akim@epita.fr>
469 * src/reader.c (read_declarations): Don't abort on tok_illegal,
470 issue an error message.
471 * tests/regression.at (Invalid %directive): New.
472 Reported by Hans Aberg.
474 2001-11-26 Akim Demaille <akim@epita.fr>
476 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
477 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
479 2001-11-26 Akim Demaille <akim@epita.fr>
481 * src/conflicts.c (conflicts_print): Don't complain at all when
482 there are no reduce/reduce conflicts, and as many shift/reduce
483 conflicts as expected.
484 * tests/regression.at (%expect right): Adjust.
486 2001-11-23 Akim Demaille <akim@epita.fr>
488 * lib/alloca.c: Update, from fileutils.
490 2001-11-23 Akim Demaille <akim@epita.fr>
492 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
494 2001-11-23 Akim Demaille <akim@epita.fr>
496 * src/system.h: Include alloca.h.
497 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
499 2001-11-23 Akim Demaille <akim@epita.fr>
501 * src/print_graph.c (print_actions): Remove `rule', unused.
502 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
503 pacify GCC's signed < unsigned warnings.
504 * src/closure.c (itemsetsize): Likewise.
505 * src/reader.c (symbol_list_new): Static.
507 2001-11-23 Akim Demaille <akim@epita.fr>
509 Attaching lineno to buckets is stupid, since only one copy of each
510 symbol is kept, only the line of the first occurrence is kept too.
512 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
513 * src/reader.c (rline_allocated): Remove, unused.
514 (symbol_list): Have a `line' member.
515 (symbol_list_new): New.
517 * src/print.c (print_grammar): Output the rule line numbers.
518 * tests/regression.at (Solved SR Conflicts)
519 (Unresolved SR Conflicts): Adjust.
520 Reported by Hans Aberg.
522 2001-11-22 Marc Autret <autret_m@epita.fr>
524 * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0.
526 2001-11-22 Marc Autret <autret_m@epita.fr>
528 * src/muscle_tab.c (muscle_init): Remove initialization of
530 * src/output.c (output_master_parser): Do it here.
532 2001-11-20 Akim Demaille <akim@epita.fr>
535 * configure.in (ALL_LINGUAS): Adjust.
536 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
537 longer contains strings to translate.
539 2001-11-19 Akim Demaille <akim@epita.fr>
541 * src/conflicts.c (conflicts_print): Add a missing \n.
543 2001-11-19 Akim Demaille <akim@epita.fr>
545 * src/nullable.c (nullable_print): New.
546 (set_nullable): Call it when tracing.
547 Better locality of variables.
549 2001-11-19 Akim Demaille <akim@epita.fr>
551 * src/print.c (print_actions): Better locality of variables.
553 2001-11-19 Akim Demaille <akim@epita.fr>
555 * src/derives.c (print_derives): Fix and enrich.
556 * src/closure.c (print_fderives): Likewise.
558 2001-11-19 Akim Demaille <akim@epita.fr>
560 * src/closure.c (itemsetend): Remove, replaced with...
563 2001-11-19 Akim Demaille <akim@epita.fr>
565 * src/LR0.c (kernel_end): Remove, replaced with...
568 2001-11-19 Akim Demaille <akim@epita.fr>
570 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
573 2001-11-19 Akim Demaille <akim@epita.fr>
575 * src/closure.c (closure): Use arrays instead of pointers to clarify.
577 2001-11-19 Akim Demaille <akim@epita.fr>
579 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
581 * src/LR0.c: Likewise.
582 (allocate_itemsets): Use arrays instead of pointers to clarify.
584 2001-11-19 Akim Demaille <akim@epita.fr>
586 * src/getargs.c (statistics_flag): Replace with...
588 (longopts): Accept --trace instead of --statistics.
589 * src/getargs.h, src/options.c: Adjust.
590 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
591 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
593 2001-11-19 Akim Demaille <akim@epita.fr>
595 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
596 pointers to clarify the code.
597 (save_reductions, save_shifts): Factor common parts of alternatives.
599 2001-11-19 Akim Demaille <akim@epita.fr>
601 * src/LR0.c (new_state, get_state): Complete TRACE code.
602 * src/closure.c: Include `reader.h' to get `tags', needed by the
604 Rename the conditional DEBUG as TRACE.
605 Output consistently TRACEs to stderr, not stdout.
606 * src/derives.c: Likewise.
607 * src/reduce.c: (inaccessable_symbols): Using if is better style
609 Use `#if TRACE' instead of `#if 0' for tracing code.
611 2001-11-19 Akim Demaille <akim@epita.fr>
613 * src/system.h (LIST_FREE, shortcpy): New.
614 * src/LR0.c: Use them.
615 * src/output.c (free_itemsets, free_reductions, free_shifts):
616 Remove, replaced by LIST_FREE.
618 2001-11-19 Akim Demaille <akim@epita.fr>
620 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
621 (REDUCTIONS_ALLOC): New.
622 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
625 2001-11-19 Akim Demaille <akim@epita.fr>
627 * src/LR0.c (new_state): Complete trace code.
628 * src/nullable.c (set_nullable): Don't translate traces.
630 2001-11-19 Akim Demaille <akim@epita.fr>
632 * src/print_graph.c (print_core): Better locality of variables.
633 * src/print.c (print_core): Likewise.
635 2001-11-19 Akim Demaille <akim@epita.fr>
637 * src/vcg.c: You do the output, so you are responsible of the
638 handling of VCG syntax, in particular: use quotearg.
639 * src/print_graph.c: Don't.
640 (print_actions): Don't output the actions as part of the nodes,
641 since that's the job of the edges.
642 (print_state): Don't output by hand: fill the node description,
643 and ask for its output.
645 2001-11-19 Akim Demaille <akim@epita.fr>
647 * src/bison.simple (yyparse): When verbosely reporting an error,
648 no longer put additional quotes around token names.
649 * tests/calc.at: Adjust.
651 2001-11-19 Akim Demaille <akim@epita.fr>
653 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
654 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
655 * src/output.c: Adjust.
657 2001-11-19 Akim Demaille <akim@epita.fr>
659 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
661 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
663 2001-11-19 Akim Demaille <akim@epita.fr>
665 * src/gram.h (rule_t): New.
667 (rrhs, rlhs): Remove, part of state_t.
668 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
669 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
670 * src/reader.c, src/reduce.c: Adjust.
672 2001-11-19 Akim Demaille <akim@epita.fr>
674 * src/reader.c (symbols_output): New, extracted from...
678 2001-11-19 Akim Demaille <akim@epita.fr>
680 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
681 (maxrhs): this new function.
683 2001-11-19 Akim Demaille <akim@epita.fr>
685 * src/lalr.c (F): New macro to access the variable F.
688 2001-11-19 Akim Demaille <akim@epita.fr>
690 * src/lalr.h (LA): New macro to access the variable LA.
691 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
692 * src/lalr.c: Adjust.
694 2001-11-19 Akim Demaille <akim@epita.fr>
696 * src/lalr.c (initialize_LA): Only initialize LA. Let...
697 (set_state_table): handle the `lookaheads' members.
699 2001-11-19 Akim Demaille <akim@epita.fr>
701 * src/lalr.h (lookaheads): Removed array, whose contents is now
703 (state_t): this structure.
704 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
707 2001-11-19 Akim Demaille <akim@epita.fr>
709 * src/lalr.h (consistent): Removed array, whose contents is now
711 (state_t): this structure.
712 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
715 2001-11-19 Akim Demaille <akim@epita.fr>
717 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
718 contents are now members of...
719 (state_t): this structure.
720 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
723 2001-11-19 Akim Demaille <akim@epita.fr>
725 * src/lalr.h (state_t): New.
726 (state_table): Be a state_t * instead of a core **.
727 (accessing_symbol): Remove, part of state_t.
728 * src/lalr.c: Adjust.
729 (set_accessing_symbol): Merge into...
730 (set_state_table): this.
731 * src/print_graph.c, src/conflicts.c: Adjust.
733 2001-11-14 Akim Demaille <akim@epita.fr>
735 * tests/calc.at, tests/output.at, tests/regression.at,
736 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
737 now the tests are run in private dirs, therefore AC_CLEANUP and
738 family can be simplified to 0-ary.
739 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
740 use abs. path to find config.h.
741 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
742 stderr, there can be way too much random noise.
743 Instead pass -Werror to GCC and rely on the exit status.
744 Reported by Wolfram Wagner.
746 2001-11-14 Akim Demaille <akim@epita.fr>
748 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
749 defined only if yyoverflow is defined, to avoid `warning: unused
751 Reported by The Test Suite.
753 2001-11-14 Akim Demaille <akim@epita.fr>
755 * src/print.c: Include reduce.h.
756 Reported by Hans Aberg.
758 2001-11-14 Akim Demaille <akim@epita.fr>
760 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
761 Revert a previous patch: these are really const.
762 * src/conflicts.c (conflict_report): Additional useless pair of
763 braces to pacify GCC's warnings for `if () if () {} else {}'.
764 * src/lex.c (parse_percent_token): Replace equal_offset with
767 Be sure to strdup `arg' when used, since there is no reason for
768 token_buffer not to change.
770 2001-11-14 Akim Demaille <akim@epita.fr>
772 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
774 * src/main.c (main): Use them.
775 Suggested by Hans Aberg.
777 2001-11-12 Akim Demaille <akim@epita.fr>
779 * src/system.h (ngettext): Now that we use ngettext, be sure to
780 provide a default definition when NLS are not used.
782 2001-11-12 Akim Demaille <akim@epita.fr>
784 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
785 Use @kbd to denote user input.
786 (Language and Grammar): ANSIfy the example.
787 Adjust its layout for info/notinfo.
788 (Location Tracking Calc): Output error messages to stderr.
789 Output locations in a more GNUtically correct way.
790 Fix a couple of Englishos.
791 Adjust @group/@end group pairs.
793 2001-11-12 Akim Demaille <akim@epita.fr>
795 %expext was not functioning at all.
797 * src/conflicts.c (expected_conflicts): Set to -1.
798 (conflict_report): Use ngettext.
799 (conflicts_print): Check %expect and make its violation an error.
800 * doc/bison.texinfo (Expect Decl): Adjust.
801 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
802 * tests/regression.at (%expect not enough, %expect right)
803 (%expect too much): New.
805 2001-11-12 Akim Demaille <akim@epita.fr>
807 * tests/regression.at (Conflicts): Rename as...
808 (Unresolved SR Conflicts): this.
809 (Solved SR Conflicts): New.
811 2001-11-12 Akim Demaille <akim@epita.fr>
813 * src/reduce.c (print_results): Rename as...
814 (reduce_output): This.
815 Output to OUT, passed as argument, instead of output_obstack.
816 (dump_grammar): Likewise.
819 (reduce_grammar): No longer call reduce_output, since...
820 * src/print.c (print_results): do it.
821 * src/main.c (main): Call reduce_free;
823 2001-11-12 Akim Demaille <akim@epita.fr>
825 * src/conflicts.c (print_reductions): Accept OUT as argument.
826 Output to it, not to output_obstack.
827 * src/print.c (print_actions): Adjust.
829 2001-11-12 Akim Demaille <akim@epita.fr>
831 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
832 the result instead of using...
833 (src_total, rrc_total, src_count, rrc_count): Remove.
834 (any_conflicts): Remove.
835 (print_conflicts): Split into...
836 (conflicts_print, conflicts_output): New.
837 * src/conflicts.h: Adjust.
838 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
839 * src/print.c (print_grammar): Issue `\n' between two rules.
840 * tests/regression.at (Conflicts): New.
841 Reported by Tom Lane.
843 2001-11-12 Akim Demaille <akim@epita.fr>
845 * tests/regression.at (Invalid input): Remove, duplicate with
846 ``Invalid input: 1''.
848 2001-11-12 Akim Demaille <akim@epita.fr>
850 * tests/torture.at (AT_DATA_STACK_TORTURE)
851 (Exploding the Stack Size with Alloca)
852 (Exploding the Stack Size with Malloc): New.
854 2001-11-12 Akim Demaille <akim@epita.fr>
856 * src/bison.simple (YYSTACK_REALLOC): New.
857 (yyparse) [!yyoverflow]: Use it and free the old stack.
858 Reported by Per Allansson.
860 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
862 * src/bison.simple: Define type yystype instead of YYSTYPE, and
863 define CPP macro, which substitute YYSTYPE by yystype.
864 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
865 with yyltype/YYLTYPE. This allows inclusion of the generated
866 header within the parser if the compiler, such as GGC, accepts
867 multiple equivalent #defines.
870 2001-11-05 Akim Demaille <akim@epita.fr>
872 * src/reader.c (symbols_output): New, extracted from...
876 2001-11-05 Akim Demaille <akim@epita.fr>
878 * src/lex.c (parse_percent_token): s/quotearg/quote/.
880 2001-11-05 Akim Demaille <akim@epita.fr>
882 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
885 2001-11-05 Akim Demaille <akim@epita.fr>
887 * src/options.h (struct option_table_struct): set_flags is void*.
888 * src/options.c (longopts): Support `--output' and `%output'.
890 * src/lex.h (tok_setopt): Remove, replaced with...
891 (tok_intopt, tok_stropt): these new guys.
892 * src/lex.c (getopt.h): Not needed.
893 (token_buffer, unlexed_token_buffer): Not const.
894 (percent_table): Promote `-' over `_' in directive names.
895 Active `%name-prefix', `file-prefix', and `output'.
896 (parse_percent_token): Accept possible arguments to directives.
897 Promote `-' over `_' in directive names.
899 2001-11-04 Akim Demaille <akim@epita.fr>
901 * doc/bison.texinfo (Decl Summary): Split the list into
902 `directives for grammars' and `directives for bison'.
904 Add description of `%name-prefix', `file-prefix', and `output'.
905 Promote `-' over `_' in directive names.
906 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
907 Simplify the description of `--name-prefix'.
908 Promote `-' over `_' in directive names.
909 Promote `--output' over `--output-file'.
910 Fix the description of `--defines'.
911 * tests/output.at: Exercise %file-prefix and %output.
913 2001-11-02 Akim Demaille <akim@epita.fr>
915 * doc/refcard.tex: Update.
917 2001-11-02 Akim Demaille <akim@epita.fr>
919 * src/symtab.h (SUNDEF): New.
920 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
921 stand for `uninitialized', instead of 0.
922 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
923 * src/lex.c (lex): Adjust.
925 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
927 Let yylex return it instead of a plain 0.
928 Reported by Dick Streefland.
930 2001-11-02 Akim Demaille <akim@epita.fr>
932 * tests/regression.at (Mixing %token styles): New test.
934 2001-11-02 Akim Demaille <akim@epita.fr>
936 * src/reader.c (parse_thong_decl): Formatting changes.
937 (token_translations_init): New, extracted from...
941 2001-11-01 Akim Demaille <akim@epita.fr>
943 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
944 Check that `9foo.y' produces correct cpp guards.
945 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
949 2001-11-01 Akim Demaille <akim@epita.fr>
951 * tests/regression.at (Invalid input: 2): New.
952 * src/lex.c (unlexed_token_buffer): New.
953 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
957 2001-11-01 Akim Demaille <akim@epita.fr>
959 * tests/calc.at: Catch up with 1.30.
960 * configure.in: Bump to 1.49a.
961 Adjust to newer Autotest.
963 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
965 * src/conflicts.c: Move global variables rrc_total and src_total ...
966 (print_conflicts): here.
967 * src/output.c (output): Free global variable user_toknums.
968 * src/lex.c (token_obstack): Become static.
970 2001-10-18 Akim Demaille <akim@epita.fr>
972 * tests/atlocal.in (GCC): Add.
973 * tests/calc.at: s/m4_match/m4_bmatch/.
974 s/m4_patsubst/m4_bpatsubst/.
975 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
976 * configure.in: AC_SUBST(GCC).
978 2001-10-14 Marc Autret <autret_m@epita.fr>
980 * src/options.c (create_long_option_table): Fix.
982 2001-10-10 Akim Demaille <akim@epita.fr>
984 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
986 2001-10-04 Akim Demaille <akim@epita.fr>
988 * src/reader.c (parse_union_decl): Push the caracters in
989 union_obstack, not attrs_obstack.
991 2001-10-04 Akim Demaille <akim@epita.fr>
993 Merge in the branch 1.29.
995 * src/reader.c (packsymbols): Use a temporary obstack for
996 `%%tokendef', since output_stack is already used elsewhere.
998 2001-10-02 Akim Demaille <akim@epita.fr>
1002 2001-10-02 Akim Demaille <akim@epita.fr>
1006 2001-10-02 Akim Demaille <akim@epita.fr>
1008 * tests/regression.at (Invalid CPP headers): New.
1009 From Alexander Belopolsky.
1010 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
1012 2001-10-02 Akim Demaille <akim@epita.fr>
1014 * tests/regression.at (Invalid input): New.
1015 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
1018 2001-10-02 Akim Demaille <akim@epita.fr>
1020 * tests/calc.at: Now that --debug works, the tests must be adjusted.
1022 2001-10-02 Akim Demaille <akim@epita.fr>
1024 * src/output.c (output_parser): Assert `skeleton'.
1025 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
1029 2001-10-01 Marc Autret <autret_m@epita.fr>
1031 * src/lex.h: Echo modifications.
1032 * src/lex.c (unlex): Parameter is now token_t.
1035 2001-10-01 Marc Autret <autret_m@epita.fr>
1037 * src/main.c: Include lex.h.
1040 2001-09-29 Akim Demaille <akim@epita.fr>
1042 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
1044 2001-09-28 Akim Demaille <akim@epita.fr>
1046 * tests/testsuite.at: Update to newer Autotest.
1047 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
1049 2001-09-27 Akim Demaille <akim@epita.fr>
1051 Position independent wrapper.
1053 * tests/bison: Remove.
1054 * tests/bison.in: New.
1055 * configure.in: Adjust.
1057 2001-09-27 Paul Eggert <eggert@twinsun.com>
1059 Port quotearg fixes from tar 1.13.24.
1061 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
1063 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
1064 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
1066 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
1067 * m4/mbrtowc.m4: New file.
1068 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
1069 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
1071 2001-09-27 Akim Demaille <akim@epita.fr>
1075 2001-09-27 Akim Demaille <akim@epita.fr>
1079 2001-09-25 Akim Demaille <akim@epita.fr>
1081 * src/system.h: Include `xalloc.h'.
1082 Remove it from the C files.
1083 * src/files.c (output_files): Free the obstacks.
1084 * src/lex.c (init_lex): Rename as...
1087 * src/main.c (main): Use it.
1089 2001-09-24 Marc Autret <autret_m@epita.fr>
1091 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
1092 to output informations in fout (FILE*).
1093 (open_graph, close_graph): Likewise.
1094 (output_graph, output_edge, output_node): Likewise.
1095 * src/vcg.h: Update function prototypes.
1096 * src/print_graph.c (print_graph): Open output graph file.
1097 (print_actions): Adjust.
1098 * src/files.h: Remove extern declaration.
1099 * src/files.c: Remove graph_obstack declaration.
1100 (open_files): Remove graph_obstack initialization.
1101 (output_files): Remove graph_obstack saving.
1103 2001-09-24 Marc Autret <autret_m@epita.fr>
1105 * src/files.c (compute_output_file_names): Fix.
1107 2001-09-24 Marc Autret <autret_m@epita.fr>,
1108 Akim Demaille <akim@epita.fr>
1110 * src/reader.c (reader): Remove call to free_symtab ().
1111 * src/main.c (main): Call it here.
1113 * src/conflicts.c (initialize_conflicts): Rename as...
1114 (solve_conflicts): this.
1115 * src/print.c (print_core, print_actions, print_state)
1116 (print_grammar): Dump to a file instead a `output_obstack'.
1117 (print_results): Dump `output_obstack', and then proceed with the
1119 * src/files.c (compute_output_file_names, close_files): New.
1120 (output_files): Adjust.
1121 * src/main.c (main): Adjust.
1123 2001-09-23 Marc Autret <autret_m@epita.fr>
1125 * src/files.c (compute_header_macro): Computes header macro name
1126 from spec_defines_file when given.
1128 2001-09-23 Marc Autret <autret_m@epita.fr>
1130 * src/files.c (output_files): Add default extensions.
1132 2001-09-22 Akim Demaille <akim@epita.fr>
1134 * src/conflicts.c (finalize_conflicts): Rename as...
1135 (free_conflicts): this.
1137 2001-09-22 Akim Demaille <akim@epita.fr>
1139 * src/gram.c (gram_free): Rename back as...
1141 (output_token_translations): Free `token_translations'.
1142 * src/symtab.c (free_symtab): Free the tag field.
1144 2001-09-22 Akim Demaille <akim@epita.fr>
1146 Remove `translations' as it is always set to true.
1148 * src/gram.h: Adjust.
1149 * src/reader.c (packsymbols, parse_token_decl): Adjust
1150 * src/print.c (print_grammar): Adjust.
1151 * src/output.c (output_token_translations): Adjust.
1152 * src/lex.c (lex): Adjust.
1153 * src/gram.c: Be sure the set pointers to NULL.
1154 (dummy): Rename as...
1157 2001-09-22 Akim Demaille <akim@epita.fr>
1159 * configure.in: Invoke AM_LIB_DMALLOC.
1160 * src/system.h: Use dmalloc.
1161 * src/LR0.c: Be sure to have pointers initialized to NULL.
1162 (allocate_itemsets): Allocate kernel_items only if needed.
1164 2001-09-22 Akim Demaille <akim@epita.fr>
1166 * configure.in: Bump to 1.29b.
1167 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
1168 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
1169 need xmalloc.c in calc.y.
1172 2001-09-21 Akim Demaille <akim@epita.fr>
1175 * Makefile.maint, config/config.guess, config/config.sub,
1176 * config/missing: Update from masters.
1177 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
1179 * configure.in (ALL_LINGUAS): Add `tr'.
1181 2001-09-21 Akim Demaille <akim@epita.fr>
1183 * tests/Makefile.am (package.m4): Move to...
1184 ($(srcdir)/$(TESTSUITE)): here.
1186 2001-09-20 Akim Demaille <akim@epita.fr>
1188 * src/complain.c: No longer try to be standalone: use system.h.
1189 Don't assume __STDC__ is defined to 1. Just test if it is defined.
1190 * src/complain.h: Likewise.
1191 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
1192 Remove the unused variable `n'.
1193 From Albert Chin-A-Young.
1195 2001-09-18 Marc Autret <autret_m@epita.fr>
1197 * doc/bison.1: Update.
1198 * doc/bison.texinfo (Bison Options): Update --defines and --graph
1200 (Option Cross Key): Update.
1203 2001-09-18 Marc Autret <autret_m@epita.fr>
1205 * tests/regression.at: New test (comment in %union).
1207 2001-09-18 Marc Autret <autret_m@epita.fr>
1209 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
1211 Reported by Keith Browne.
1213 2001-09-18 Marc Autret <autret_m@epita.fr>
1215 * tests/output.at: Add tests for --defines and --graph.
1217 2001-09-18 Marc Autret <autret_m@epita.fr>
1219 * tests/output.at: Removes tests of %{header,src}_extension features.
1221 2001-09-18 Akim Demaille <akim@epita.fr>
1223 * tests/Makefile.am (package.m4): New.
1224 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
1225 (_AT_CHECK_CALC_ERROR): Likewise.
1226 Factor the `, ' part of verbose error messages.
1228 2001-09-18 Marc Autret <autret_m@epita.fr>
1230 * src/getargs.c (longopts): Declare --defines and --graph as options
1231 with optional arguments.
1232 * src/files.h: Add extern declarations.
1233 * src/files.c (spec_graph_file, spec_defines_file): New.
1234 (output_files): Update.
1235 Remove CPP-outed code.
1237 2001-09-18 Marc Autret <autret_m@epita.fr>
1239 Turn off %{source,header}_extension feature.
1241 * src/files.c (compute_exts_from_gf): Update.
1242 (compute_exts_from_src): Update.
1243 (output_files): CPP-out useless code.
1244 * src/files.h: Remove {header,source}_extension extern declarations.
1245 * src/reader.c (parse_dquoted_param): CPP-out.
1246 (parse_header_extension_decl): Remove.
1247 (parse_source_extension_decl): Remove.
1248 (read_declarations): Remove cases tok_{hdrext,srcext}.
1249 * src/lex.c (percent_table): Remove {header,source}_extension entries.
1250 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
1252 2001-09-10 Akim Demaille <akim@epita.fr>
1254 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
1255 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
1256 (AT_CHECK_OUTPUT): this.
1257 Merely check ls' exit status, its output is useless.
1259 2001-09-10 Akim Demaille <akim@epita.fr>
1261 * tests/calc.at: Use m4_match.
1262 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
1264 2001-09-10 Marc Autret <autret_m@epita.fr>,
1265 Akim Demaille <akim@epita.fr>
1267 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
1269 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
1271 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
1272 * src/lex.h: Adjust prototype.
1273 (token_t): Add `tok_undef'.
1274 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
1275 (parse_percent_token): Now returns token_t.
1276 Add default statement in switch.
1277 (lex): Separate `c' as an input variable, from the token_t result
1279 (unlexed): Is a token_t.
1281 2001-09-10 Akim Demaille <akim@epita.fr>
1283 * configure.in: Bump to 1.29a.
1285 2001-09-07 Akim Demaille <akim@epita.fr>
1289 2001-08-30 Akim Demaille <akim@epita.fr>
1291 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
1292 * m4/atconfig.m4: Remove.
1293 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
1295 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
1296 m4_if, m4_patsubst, and m4_regexp.
1297 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
1298 `input' file instead of echo.
1300 2001-08-29 Akim Demaille <akim@epita.fr>
1304 2001-08-29 Akim Demaille <akim@epita.fr>
1308 2001-08-29 Paul Eggert <eggert@twinsun.com>
1310 * src/bison.simple (yyparse): Don't take the address of an
1311 item before the start of an array, as that doesn't conform to
1314 2001-08-29 Robert Anisko <anisko_r@epita.fr>
1316 * doc/bison.texinfo (Location Tracking Calc): New node.
1318 2001-08-29 Paul Eggert <eggert@twinsun.com>
1320 * src/output.c (output): Do not define const, as this now
1321 causes more problems than it cures.
1323 2001-08-29 Akim Demaille <akim@epita.fr>
1325 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
1327 Be sure to tag the `detailmenu'.
1329 2001-08-29 Akim Demaille <akim@epita.fr>
1331 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
1332 download in a tmp dir.
1334 2001-08-28 Marc Autret <autret_m@epita.fr>
1336 * config/depcomp: New file.
1338 2001-08-28 Marc Autret <autret_m@epita.fr>
1340 * doc/bison.1 (mandoc): Adjust.
1341 From Juan Manuel Guerrero.
1343 2001-08-28 Marc Autret <autret_m@epita.fr>
1345 * src/print_graph.c (print_state): Fix.
1347 2001-08-27 Marc Autret <autret_m@epita.fr>
1349 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
1351 Echo modifications to the functions prototypes.
1352 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
1354 2001-08-27 Marc Autret <autret_m@epita.fr>
1356 * src/vcg.c: Include `xalloc.h'.
1357 (add_colorentry): New.
1358 (add_classname): New.
1359 (add_infoname): New.
1360 * src/vcg.h: Add new prototypes.
1362 2001-08-27 Akim Demaille <akim@epita.fr>
1364 * Makefile.maint: Sync. again with CVS Autoconf.
1366 2001-08-27 Akim Demaille <akim@epita.fr>
1368 * Makefile.maint: Formatting changes.
1369 (po-update, cvs-update, update): New targets.
1372 2001-08-27 Akim Demaille <akim@epita.fr>
1374 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1375 * Makefile.maint: Sync. with CVS Autoconf.
1377 2001-08-27 Marc Autret <autret_m@epita.fr>
1379 * src/vcg.h (struct infoname_s): New.
1380 (struct colorentry_s): New.
1381 (graph_s): New fields {vertical,horizontal}_order in structure.
1382 Add `infoname' field.
1383 Add `colorentry' field;
1384 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
1385 (G_HORIZONTAL_ORDER): New.
1387 (G_COLORENTRY): New.
1388 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
1389 Add output of `infoname'.
1390 Add output of `colorentry'.
1392 2001-08-27 Marc Autret <autret_m@epita.fr>
1394 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
1395 This one shadowed a global parameter.
1397 2001-08-24 Marc Autret <autret_m@epita.fr>
1399 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
1400 instead of `unsigned'.
1401 (print_state): Do not call obstack_object_size () in obstack_grow ()
1402 to avoid macro variables shadowing.
1404 2001-08-23 Marc Autret <autret_m@epita.fr>
1406 * src/lex.c (percent_table): Typo: s/naem/name/.
1408 Normalize new options declarations.
1410 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1412 * tests/suite.at: Exercise %header_extension and %source_extension.
1414 2001-08-16 Marc Autret <autret_m@epita.fr>
1416 * src/reader.c (parse_dquoted_param): New.
1417 (parse_header_extension_decl): Use it.
1418 (parse_source_extension_decl): Likewise.
1420 2001-08-16 Marc Autret <autret_m@epita.fr>
1422 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1423 (get_xxxx_str): Use assert () instead of complain ().
1424 Remove return invokations in default cases.
1425 (get_decision_str): Modify default behaviour. Remove second argument.
1426 Echo modifications on calls.
1427 (output_graph): Fix.
1429 2001-08-16 Marc Autret <autret_m@epita.fr>
1431 * src/getargs.c (usage): Update with ``-g, --graph''.
1433 2001-08-16 Marc Autret <autret_m@epita.fr>
1435 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1436 (Option Cross Key): Likewise.
1437 * doc/bison.1: Update.
1439 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
1441 * src/output.c (output_master_parser): Don't finish action_obstack.
1442 (output_parser): Don't care about the muscle action, here.
1443 (prepare): Copy the action_obstack in the action muscle.
1444 (output): Free action_obstack.
1446 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
1448 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
1449 will contain `%union' declaration.
1450 (parse_union_decl): Delete #line directive output.
1451 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
1452 informations about %union.
1453 (parse_union_decl): Copy the union_obstack in the muscle stype.
1454 * src/bison.simple: Add new #line directive.
1455 Add typdef %%stype YYSTYPE.
1457 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
1459 * src/bison.simple: Add new `#line' directive.
1461 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
1463 * src/bison.simple: New `#line' directive.
1464 * src/output.c (output_parser): Support new dynamic muscle input_line.
1466 2001-09-22 Marc Autret <autret_m@epita.fr>
1468 * src/output.c (output_master_parser): New.
1469 (output_parser): Be more re-entrant.
1471 2001-09-21 Marc Autret <autret_m@epita.fr>
1473 * src/reader.c (copy_definition, parse_union_decl): Update and use
1475 (copy_action): Likewise.
1476 Use obstack_1grow ().
1477 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
1479 2001-09-21 Marc Autret <autret_m@epita.fr>
1481 * src/options.c (option_table): Adjust.
1482 * src/lex.c (parse_percent_token): Fix.
1484 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
1486 * src/options.c (symtab.h): Include it, need by lex.h.
1488 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
1490 * src/lex.c (parse_percent_token): Change type of variable `tx', which
1491 is now an option_table_struct*.
1492 (option_strcmp): New function option_strcmp.
1493 (parse_percent_token): Call option_strcmp.
1494 * src/getargs.c (xalloc.h, options.h): Include it.
1495 (getargs): Call create_long_option_table.
1496 (getargs): Free longopts at the end of the function.
1497 (shortopts): Move in options.c.
1498 * src/options.c (create_long_option_table): New function. Convert
1499 information from option_table to option structure.
1500 * src/reader.c (options.h): Include it.
1502 * src/Makefile.am: Adjust.
1503 * src/options.c (option_table): Create from longopts and percent_table.
1504 * src/getargs.c (longopts): Delete.
1505 * src/lex.c (struct percent_table_struct): Delete.
1506 (percent_table): Delete.
1507 (options.h): Include it.
1508 * src/options.c: Create.
1509 * src/options.h: Create.
1510 Declare enum opt_access_e.
1511 Define struct option_table_struct.
1513 2001-09-20 Marc Autret <autret_m@epita.fr>
1515 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
1518 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
1520 * src/bison.simple: s/%%filename/%%skeleton.
1521 * src/muscle_tab.c (getargs.h): Include it.
1522 (muscle_init): Insert new muscle skeleton.
1524 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
1526 * src/output.c (output_parser): Delete unused variable actions_dumped.
1528 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
1530 * src/output.c (output): Delete call to reader_output_yylsp.
1531 * src/reader.c (reader): Likewise.
1532 * src/reader.h: Delete declaration of reader_output_yylsp.
1534 2001-09-02 Marc Autret <autret_m@epita.fr>
1536 * src/reader.c: Include muscle_tab.h.
1537 (parse_union_decl): Update.
1538 (parse_macro_decl): Rename parse_muscle_decl.
1539 Update to use renamed functions and variable.
1540 (read_declarations, copy_action, read_additionnal_code, : Updated
1541 with correct variables and functions names.
1542 (packsymbols, reader): Likewise.
1544 * src/reader.h (muscle_obstack): Extern declaration update.
1546 * src/output.c: Include muscle_tab.h
1547 In all functions using macro_insert, change by using muscle_insert ().
1548 (macro_obstack): Rename muscle_obstack.
1549 Echo modifications in the whole file.
1550 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1551 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1552 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1554 * src/muscle_tab.h: Update double inclusion macros.
1555 (macro_entry_s): Rename muscle_entry_s.
1558 * src/muscle_tab.c: Include muscle_tab.h.
1559 Rename macro_tabble to muscle_table.
1560 (mhash1, mhash2, mcmp): Use muscle_entry.
1561 (macro_init): Rename muscle_init. Update.
1562 (macro_insert): Rename muscle_insert. Update.
1563 (macro_find): Rename muscle_find. Update.
1565 * src/main.c: Include muscle_tab.h.
1566 (main): Call muscle_init ().
1567 * src/Makefile.am (bison_SOURCES): Echo modifications.
1569 2001-09-02 Marc Autret <autret_m@epita.fr>
1571 Now the files macro_tab.[ch] are named muscle_tab.[ch].
1573 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1575 2001-09-02 Marc Autret <autret_m@epita.fr>
1577 * src/macrotab.c, src/macrotab.h: Remove.
1579 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
1581 * src/reader.c (copy_guard): Use muscle to specify the `#line'
1584 2001-09-01 Marc Autret <autret_m@epita.fr>
1586 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1587 to an explicit value to activate the feature. We do it here.
1589 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1591 * src/output.c (prepare): Delete the `filename' muscule insertion.
1592 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1593 (parse_union_decl): Likewise.
1594 * src/macrotab.c (macro_init): Initialize filename by infile.
1596 2001-08-31 Marc Autret <autret_m@epita.fr>
1598 * src/bison.simple (YYLSP_NEEDED): New definition.
1599 * src/output.c (prepare): Add macro insertion of `locations_flag'
1601 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1603 * src/output.c (prepare): Delete insertion of previous muscles,
1604 and insert the `prefix' muscles.
1605 * src/macrotab.c (macro_init): Likewise.
1606 (macro_init): Initialization prefix directive by `yy'.
1607 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
1608 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1609 yylval, yydebug, yyerror, yynerrs and yyparse.
1610 New directive `#define' to substitute yydebug, ... with option
1613 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1615 * src/main.c (main): Standardize.
1616 * src/output.c (output_table_data, output_parser): Likewise.
1617 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1619 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1621 * src/reader.c (read_additionnal_code): Rename %%user_code to
1623 * src/output.c (output): Rename %%declarations to %%prologue.
1624 * src/bison.simple: Echo modifications.
1626 2001-08-31 Marc Autret <autret_m@epita.fr>
1628 * src/reader.c (readgram): CleanUp.
1629 (output_token_defines): Likewise.
1630 (packsymbols): Likewise.
1632 * src/output.c (output): CPP-out useless code.
1634 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1636 * src/reader.c (reader): Delete obsolete call to function
1637 output_trailers and output_headers.
1638 * src/output.h: Remove obsolete functions prototypes of output_headers
1639 and output_trailers.
1641 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
1643 * src/main.c: Include macrotab.h.
1644 * src/macrotab.h (macro_entry_s): Constify fields.
1645 Adjust functions prototypes.
1646 * src/macrotab.c (macro_insert): Constify key and value.
1647 (macro_find): Constify key.
1648 (macro_insert): Include 'xalloc.h'
1649 (macro_insert): Use XMALLOC.
1650 (macro_find): Constify return value.
1651 * src/output.c (output_table_data): Rename table to table_data.
1652 (output_parser): Constify macro_key, macro_value.
1654 2001-08-30 Marc Autret <autret_m@epita.fr>
1656 * src/reader.c (parse_skel_decl): New.
1657 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
1658 * src/lex.h (token_t): New token `tok_skel'.
1659 * src/lex.c (percent_table): Add skeleton option entry.
1662 2001-08-29 Marc Autret <autret_m@epita.fr>
1664 * src/bison.simple: Add %%user_code directive at the end.
1665 * src/reader.c (read_additionnal_code): New.
1667 * src/output.c (output_program): Remove.
1670 2001-08-28 Marc Autret <autret_m@epita.fr>
1672 * src/output.c (output_actions): Clean up.
1673 (output_gram): CPP-out useless code.
1674 * src/reader.c (reader): Clean up, CPP-out useless code.
1676 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1678 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1680 * src/bison.simple: Add `%%definitions'.
1682 2001-08-28 Marc Autret <autret_m@epita.fr>
1684 * config/depcomp: New file.
1686 2001-08-27 Paul Eggert <eggert@twinsun.com>
1688 * src/bison.simple (yyparse): Don't take the address of an
1689 item before the start of an array, as that doesn't conform to
1692 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1694 * src/output.c (output): Remove the initialization of the macro
1695 obstack. It was done too late here.
1697 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1699 (reader): Initialize the macro obstack here, since we need it to grow
1700 '%define' directives.
1702 * src/reader.h: Declare the macro obstack as extern.
1704 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1706 * src/output.c (output_parser): Fix. Store single '%' characters in
1707 the output obstack instead of throwing them away.
1709 2001-08-27 Akim Demaille <akim@epita.fr>
1711 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1713 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1715 * lib/Makefile.am: Adjust.
1717 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1719 * src/bison.simple: Update and add '%%' directives.
1721 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1723 * src/reader.c (reader): Remove calls to 'output_headers' and
1724 'output_trailers'. Remove some C output.
1725 (readgram): Disable a piece of code that was writing a default
1726 definition for 'YYSTYPE'.
1727 (reader_output_yylsp): Remove.
1728 (packsymbols): Output token defintions to a macro.
1729 (copy_definition): Disable C output.
1731 * src/reader.c (parse_macro_decl): New function used to parse macro
1733 (copy_string2): Put the body of copy_string into this new function.
1734 Add a parameter to let the caller choose whether he wants to copy the
1735 string delimiters or not.
1736 (copy_string): Be a simple call to copy_string2 with the last argument
1738 (read_declarations): Add case for macro definition.
1739 (copy_identifier): New.
1740 (parse_macro_decl): Read macro identifiers using copy_identifier
1743 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1745 * src/output.c (prepare): Add prefixed names.
1746 (output_parser): Output semantic actions.
1747 (output_parser): Fix bug on '%%line' directives.
1749 * src/output.c (output_headers): Remove. The C code printed by this
1750 function should now be in the skeletons.
1751 (output_trailers): Remove.
1752 (output): Disable call to 'reader_output_yylsp'.
1753 (output_rule_data): Do not output tables to the table obstack.
1755 * src/output.c: Remove some C dedicated output.
1756 Improve the use of macro and output obstacks.
1757 (output_defines): Remove.
1759 * src/output.c (output_token_translations): Associate 'translate'
1760 table with a macro. No output to the table obstack.
1761 (output_gram): Same for 'rhs' and 'prhs'.
1762 (output_stos): Same for 'stos'.
1763 (output_rule_data): Same for 'r1' and 'r2'.
1764 (token_actions): Same for 'defact'.
1765 (goto_actions): Same for 'defgoto'.
1766 (output_base): Same for 'pact' and 'pgoto'.
1767 (output_table): Same for 'table'.
1768 (output_check): Same for 'check'.
1770 * src/output.c (output_table_data): New function.
1771 (output_short_table): Remove.
1772 (output_short_or_char_table): Remove.
1774 * src/output.c (output_parser): Replace most of the skeleton copy code
1775 with something new. Skeletons are now processed character by character
1776 rather than line by line, and Bison looks for '%%' macros. This is the
1777 first step in making Bison's output process (a lot) more flexible.
1778 (output_parser): Use the macro table.
1780 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1782 * src/main.c (main): Initialize the macro table.
1784 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1786 * src/lex.c (percent_table): Add tok_define.
1787 * src/lex.h: Add tok_define.
1789 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1791 * src/macrotab.c: New file.
1792 * src/macrotab.h: New file.
1793 * src/Makefile.am: Update.
1795 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1797 * lib/hash.c: New file.
1798 * lib/hash.h: New file.
1799 * lib/Makefile.am: Update.
1801 2001-08-15 Akim Demaille <akim@epita.fr>
1805 2001-08-15 Marc Autret <autret_m@epita.fr>
1807 * src/reader.c (readgram): Indent output macro YYSTYPE.
1808 (packsymbols): Likewise.
1809 (output_token_defines): Likewise.
1810 * src/files.c: Standardize.
1811 (compute_header_macro): New.
1812 (defines_obstack_save): New. Use compute_header_macro.
1813 (output_files): Update. Use defines_obstack_save.
1815 2001-08-15 Akim Demaille <akim@epita.fr>
1817 * doc/bison.texinfo (Table of Symbols): Document
1820 2001-08-15 Akim Demaille <akim@epita.fr>
1822 * missing: Update from CVS Automake.
1823 * config/config.guess, config/config.sub, config/texinfo.tex:
1824 Update from gnu.org.
1826 2001-08-15 Akim Demaille <akim@epita.fr>
1828 * Makefile.maint: Sync with CVS Autoconf.
1830 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1832 * doc/bison.texinfo: Include GNU Free Documentation License from
1834 * doc/fdl.texi: Add to package.
1836 2001-08-14 Marc Autret <autret_m@epita.fr>
1838 Turn on %{source,header}_extension features.
1840 * src/lex.c (percent_table): Un-CPP out header_extension and
1842 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1843 (compute_exts_from_src): Remove conditions. It restores priorities
1846 2001-08-14 Marc Autret <autret_m@epita.fr>
1848 * src/files.c (compute_base_names): Add extensions computing when
1849 `--file-prefix' used.
1850 Standardize function calls.
1852 2001-08-13 Marc Autret <autret_m@epita.fr>
1854 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1855 defining it (defined but null disables alloca).
1857 2001-08-13 Marc Autret <autret_m@epita.fr>
1859 * src/bison.simple (_yy_memcpy): CPP reformat.
1861 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1863 * tests/atconfig.in (CPPFLAGS): Fix.
1865 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1867 * doc/bison.texinfo: Include GNU General Public License from
1869 * doc/gpl.texi: Add to package.
1871 2001-08-10 Marc Autret <autret_m@epita.fr>
1873 * src/print_graph.h: Fix.
1874 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1876 2001-08-10 Akim Demaille <akim@epita.fr>
1878 * src/system.h: Provide default declarations for stpcpy, strndup,
1881 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1883 * doc/bison.texinfo (Locations): Update @$ stuff.
1885 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1887 * src/bison.simple (YYLLOC_DEFAULT): Update.
1890 2001-08-08 Marc Autret <autret_m@epita.fr>
1892 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1893 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1894 Reported by Fabrice Bauzac.
1896 2001-08-08 Marc Autret <autret_m@epita.fr>
1898 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1899 * src/vcg.c (output_node): Fix.
1900 * src/vcg.h: Cleanup.
1901 * src/print_graph.c: Add comments.
1902 (node_output_size): New global variable. Simplify the formatting of
1903 the VCG graph output.
1904 (print_actions): Unused code is now used. It notifies the final state
1905 and no action states in the VCG graph. It also give the reduce actions.
1906 The `shift and goto' edges are red and the `go to state' edges are
1908 Get the current node name and node_obstack by argument.
1909 (node_obstack): New variable.
1910 (print_state): Manage node_obstack.
1911 (print_core): Use node_obstack given by argument.
1912 A node is not only computed here but in print_actions also.
1913 (print_graph): CPP out useless code instead of commenting it.
1915 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1917 * tests/atconfig.in (CPPFLAGS): Fix.
1919 2001-08-07 Akim Demaille <akim@epita.fr>
1921 * src/print_graph.c (quote): New.
1922 (print_core): Use it.
1924 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1926 * src/vcg.c (complain.h): Include it.
1927 Unepitaize `return' invocations.
1928 [NDEBUG] (main): Remove.
1929 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1930 * src/files.c (open_files): Initialize graph_obstack.
1931 * src/print_graph.c (print_actions): CPP out useless code.
1932 (print_core): Don't output the last `\n' in labels.
1934 * src/files.c (output_files): Output the VCG file.
1935 * src/main.c (main): Invoke print_graph ();
1937 2001-08-06 Marc Autret <autret_m@epita.fr>
1939 Automaton VCG graph output.
1940 Using option ``-g'' or long option ``--graph'', you can generate
1941 a gram_filename.vcg file containing a VCG description of the LALR (1)
1942 automaton of your grammar.
1944 * src/main.c: Call to print_graph() function.
1945 * src/getargs.h: Update.
1946 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1947 (graph_flag): New flag.
1949 (getargs): Add case `g'.
1950 * src/files.c (graph_obstack): New obstack struct.
1951 (open_files): Initialize new obstack.
1952 (output_files): Saves graph_obstack if required.
1953 * src/files.h (graph_obstack): New extern declaration.
1954 * src/Makefile.am: Add new source files.
1956 2001-08-06 Marc Autret <autret_m@epita.fr>
1958 * src/print_graph.c, src/print_graph.h (graph): New.
1959 * src/vcg.h: New file.
1960 * src/vcg.c: New file, VCG graph handling.
1962 2001-08-06 Marc Autret <autret_m@epita.fr>
1964 Add of %source_extension and %header_extension which specify
1965 the source or/and the header output file extension.
1967 * src/files.c (compute_base_names): Remove initialisation of
1968 src_extension and header_extension.
1969 (compute_exts_from_gf): Update.
1970 (compute_exts_from_src): Update.
1971 (output_files): Update.
1972 * src/reader.c (parse_header_extension_decl): New.
1973 (parse_source_extension_decl): New.
1974 (read_declarations): New case statements for the new tokens.
1975 * src/lex.c (percent_table): Add entries for %source_extension
1976 and %header_extension.
1977 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1979 2001-08-06 Marc Autret <autret_m@epita.fr>
1981 * configure.in: Bump to 1.28c.
1982 * doc/bison.texinfo: Texinfo thingies.
1984 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1986 * tests/atconfig.in (CPPFLAGS): Add.
1987 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1989 2001-08-03 Akim Demaille <akim@epita.fr>
1993 2001-08-03 Akim Demaille <akim@epita.fr>
1995 * tests/Makefile.am (check-local): Ship testsuite.
1996 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1999 2001-08-03 Akim Demaille <akim@epita.fr>
2001 * configure.in: Try using -Wformat when compiling.
2003 2001-08-03 Akim Demaille <akim@epita.fr>
2005 * configure.in: Bump to 1.28b.
2007 2001-08-03 Akim Demaille <akim@epita.fr>
2009 * src/complain.c: Adjust strerror_r portability issues.
2011 2001-08-03 Akim Demaille <akim@epita.fr>
2015 2001-08-03 Akim Demaille <akim@epita.fr>
2017 * src/getargs.c, src/getarg.h (skeleton)): Constify.
2018 * src/lex.c (literalchar): Avoid name clashes on `buf'.
2019 * src/getargs.c: Include complain.h.
2020 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
2021 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
2023 2001-08-03 Akim Demaille <akim@epita.fr>
2025 * src/reader.c (readgram): Display hidden chars in error messages.
2027 2001-08-03 Akim Demaille <akim@epita.fr>
2029 Update to gettext 0.10.39.
2031 2001-08-03 Akim Demaille <akim@epita.fr>
2033 * lib/strspn.c: New.
2035 2001-08-01 Marc Autret <autret_m@epita.fr>
2037 * doc/bison.texinfo: Update.
2038 * doc/bison.1 (mandoc): Update.
2039 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
2040 * src/files.c: Support output files extensions computing.
2041 (src_extension): New static variable.
2042 (header_extension): New static variable.
2044 (get_extension_index): New function, gets the index of an extension
2045 filename in a string.
2046 (compute_exts_from_gf): New function, computes extensions from the
2047 grammar file extension.
2048 (compute_exts_from_src): New functions, computes extensions from the
2049 C source file extension, file given by ``-o'' option.
2050 (compute_base_names): Update.
2051 (output_files): Update.
2053 2001-08-01 Robert Anisko <anisko_r@epita.fr>
2055 * doc/bison.texi: Document @$.
2056 (Locations): New section.
2058 2001-07-18 Akim Demaille <akim@epita.fr>
2060 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
2061 * config/prev-version.txt, config/move-if-change: New.
2062 * Makefile.am: Adjust.
2064 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
2066 * src/bison.simple (yyparse): Suppress warning `comparaison
2067 between signed and unsigned'.
2069 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
2071 * src/getargs.h (raw_flag): Remove.
2072 * src/getargs.c: Die on `-r'/`--raw'.
2073 * src/lex.c (parse_percent_token): Die on `%raw'.
2074 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
2075 * tests/calc.at: Suppress test with option `--raw'.
2077 2001-07-14 Akim Demaille <akim@epita.fr>
2080 * configure.in: Require Autoconf 2.50.
2081 Update to gettext 0.10.38.
2083 2001-03-16 Akim Demaille <akim@epita.fr>
2085 * doc/bison.texinfo: ANSIfy the examples.
2087 2001-03-16 Akim Demaille <akim@epita.fr>
2089 * getargs.c (skeleton): New variable.
2090 (longopts): --skeleton is a new option.
2091 (shortopts, getargs): -S is a new option.
2092 * getargs.h: Declare skeleton.
2093 * output.c (output_parser): Use it.
2095 2001-03-16 Akim Demaille <akim@epita.fr>
2097 * m4/strerror_r.m4: New.
2098 * m4/error.m4: Run AC_FUNC_STRERROR_R.
2099 * lib/error.h, lib/error.c: Update.
2101 2001-03-16 Akim Demaille <akim@epita.fr>
2103 * src/getargs.c (longopts): Clean up.
2105 2001-02-21 Akim Demaille <akim@epita.fr>
2107 * src/reader.c (gensym): `gensym_count' is your own.
2108 Use a static buf to create the symbol name, as token_buffer is no
2111 2001-02-08 Akim Demaille <akim@epita.fr>
2113 * src/conflicts.c (conflict_report): Be sure not to append to res
2114 between two calls, which could happen if both first sprintf were
2115 skipped, but not the first cp += strlen.
2117 2001-02-08 Akim Demaille <akim@epita.fr>
2119 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
2120 New, from fileutils 4.0.37.
2121 * configure.in: Require Autoconf 2.49c. I took some time before
2122 making this decision. This is the only way out for portability
2123 issues in Bison, it would mean way too much duplicate effort to
2124 import in Bison features implemented in 2.49c since 2.13.
2125 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
2127 2001-02-02 Akim Demaille <akim@epita.fr>
2129 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
2130 * lib/xalloc.h, lib/xmalloc.c: Update.
2132 2001-01-19 Akim Demaille <akim@epita.fr>
2134 Get rid of the ad hoc handling of token_buffer in the scanner: use
2137 * src/lex.c (token_obstack): New.
2138 (init_lex): Initialize it. No longer call...
2139 (grow_token_buffer): this. Remove it.
2140 Adjust all the places which used it to use the obstack.
2142 2001-01-19 Akim Demaille <akim@epita.fr>
2144 * src/lex.h: Rename all the tokens:
2145 s/\bENDFILE\b/tok_eof/g;
2146 s/\bIDENTIFIER\b/tok_identifier/g;
2148 Let them be enums, not #define, to ease debugging.
2149 Adjust all the code.
2151 2001-01-18 Akim Demaille <akim@epita.fr>
2153 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
2154 * src/lex.c (maxtoken, grow_token_buffer): Static.
2156 2001-01-18 Akim Demaille <akim@epita.fr>
2158 Since we now use obstacks, more % directives can be enabled.
2160 * src/lex.c (percent_table): Also accept `%yacc',
2161 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
2163 Handle the actions for `%semantic_parser' and `%pure_parser' here,
2164 instead of returning a token.
2165 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
2166 * src/reader.c (read_declarations): Adjust.
2167 * src/files.c (open_files): Don't call `compute_base_names', don't
2168 compute `attrsfile' since they depend upon data which might be
2169 *in* the input file now.
2170 (output_files): Do it here.
2171 * src/output.c (output_headers): Document the fact that this patch
2172 introduces a guaranteed SEGV for semantic parsers.
2173 * doc/bison.texinfo: Document them.
2174 * tests/suite.at: Exercise these %options.
2176 2000-12-20 Akim Demaille <akim@epita.fr>
2178 Also handle the output file (--verbose) with obstacks.
2180 * files.c (foutput): Remove.
2181 (output_obstack): New.
2182 Adjust all dependencies.
2183 * src/conflicts.c: Return a string.
2184 * src/system.h (obstack_grow_string): Rename as...
2185 (obstack_sgrow): this. Be ready to work with non literals.
2186 (obstack_fgrow4): New.
2188 2000-12-20 Akim Demaille <akim@epita.fr>
2190 * src/files.c (open_files): Fix the computation of short_base_name
2191 in the case of `-o foo.tab.c'.
2193 2000-12-20 Akim Demaille <akim@epita.fr>
2195 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
2196 (copy_dollar): Now that everything uses obstacks, get rid of the
2199 2000-12-20 Akim Demaille <akim@epita.fr>
2201 * src/files.c (open_files): Actually the `.output' file is based
2202 on the short_base_name, not base_name.
2203 * tests/suite.at (Checking output file names): Adjust.
2205 2000-12-20 Akim Demaille <akim@epita.fr>
2207 * src/bison.s1: Remove, we now use directly...
2208 * src/bison.simple: this.
2209 * src/Makefile.am: Use pkgdata instead of data.
2211 2000-12-20 Akim Demaille <akim@epita.fr>
2213 * src/files.c (guard_obstack): New.
2214 (open_files): Initialize it.
2215 (output_files): Dump it...
2216 * src/files.h: Export it.
2217 * src/reader.c (copy_guard): Use it.
2219 2000-12-19 Akim Demaille <akim@epita.fr>
2221 * src/files.c (outfile, defsfile, actfile): Removed as global
2223 (open_files): Don't compute them.
2224 (output_files): Adjust.
2225 (base_name, short_base_name): Be global.
2226 Adjust dependencies.
2228 2000-12-19 Akim Demaille <akim@epita.fr>
2230 * src/files.c (strsuffix): New.
2231 (stringappend): Be just like strcat but allocate.
2232 (base_names): Eve out from open_files.
2233 Try to simplify the rather hairy computation of base_name and
2235 (open_files): Use it.
2236 * tests/suite.at (Checking output file names): New test.
2238 2000-12-19 Akim Demaille <akim@epita.fr>
2240 * src/system.h (obstack_grow_literal_string): Rename as...
2241 (obstack_grow_string): this.
2242 * src/output.c (output_parser): Recognize `%% actions' instead of
2244 * src/bison.s1: s/$/%% actions/.
2245 * src/bison.hairy: Likewise.
2247 2000-12-19 Akim Demaille <akim@epita.fr>
2249 * src/output.c (output_parser): Compute the `#line' lines when
2251 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
2252 Suggested by Hans Aberg.
2254 2000-12-19 Akim Demaille <akim@epita.fr>
2256 Let the handling of the skeleton files be local to the procedures
2259 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
2261 (fparser, open_extra_files): Remove.
2262 (open_files, output_files): Don't take care of fparser.
2263 * src/files.h: Adjust.
2264 * src/output.c (output_parser): Open and close the file to the
2266 * src/reader.c (read_declarations): When %semantic_parser, open
2269 2000-12-19 Akim Demaille <akim@epita.fr>
2271 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
2272 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
2274 2000-12-19 Akim Demaille <akim@epita.fr>
2276 * src/files.c (open_files): Yipee! We no longer need all the code
2277 looking for `/tmp' since we have no tmp file.
2279 2000-12-19 Akim Demaille <akim@epita.fr>
2281 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
2283 * src/files.c (open_files): Less dependency on MSDOS etc.
2285 2000-12-14 Akim Demaille <akim@epita.fr>
2287 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
2288 Provide a default definition.
2289 Use it when executing the default @ action.
2290 * src/reader.c (reader_output_yylsp): No longer include
2291 `timestamp' and `text' in the default YYLTYPE.
2293 2000-12-12 Akim Demaille <akim@epita.fr>
2295 * src/reader.c (copy_definition, parse_union_decl, copy_action)
2296 (copy_guard): Quote the file names.
2297 Reported by Laurent Mascherpa.
2299 2000-12-12 Akim Demaille <akim@epita.fr>
2301 * src/output.c (output_headers, output_program, output): Be sure
2302 to escape special characters when outputting filenames.
2303 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
2304 (output_headers): Don't depend on them, Use ACTSTR.
2306 2000-11-17 Akim Demaille <akim@epita.fr>
2308 * lib/obstack.h: Formatting changes.
2309 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2310 prevents type checking.
2311 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2312 cast the value to (void *): assigning a `foo *' to a `void *'
2314 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2315 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
2318 2000-11-17 Akim Demaille <akim@epita.fr>
2320 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
2322 (suite.m4, regression.m4, calc.m4): these.
2323 * tests/atgeneral.m4: Update from CVS Autoconf.
2325 2000-11-17 Akim Demaille <akim@epita.fr>
2327 * tests/regression.m4 (%union and --defines): New test,
2328 demonstrating a current bug in the obstack implementation.
2330 2000-11-17 Akim Demaille <akim@epita.fr>
2332 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
2334 Use them to declare the variables which are global or local to
2337 2000-11-17 Akim Demaille <akim@epita.fr>
2339 * acconfig.h: Remove, no longer used.
2341 2000-11-07 Akim Demaille <akim@epita.fr>
2343 * src: s/Copyright (C)/Copyright/g.
2345 2000-11-07 Akim Demaille <akim@epita.fr>
2347 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
2349 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
2351 2000-11-07 Akim Demaille <akim@epita.fr>
2353 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
2354 Merge in a single CPP if/else.
2356 2000-11-07 Akim Demaille <akim@epita.fr>
2358 * src/output.c (output): Remove useless variables.
2359 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
2360 argument `data' for consistency with the prototypes.
2362 (obstack_copy, obstack_copy0): Rename the second argument as
2363 `address' for consistency. Qualify it `const'.
2364 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2365 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2366 `const' their input argument (`data' or `address').
2367 Adjust the corresponding macros to include `const' in casts.
2369 2000-11-03 Akim Demaille <akim@epita.fr>
2371 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
2372 s/PFILE1/BISON_HAIRY/.
2373 Adjust dependencies.
2375 2000-11-03 Akim Demaille <akim@epita.fr>
2377 For some reason, this was not applied.
2379 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2380 `unlink': it's no longer used.
2382 2000-11-03 Akim Demaille <akim@epita.fr>
2384 * src/files.c (skeleton_find): New function, eved out of...
2385 (open_files, open_extra_files): here.
2387 2000-11-03 Akim Demaille <akim@epita.fr>
2391 * src/files.c (obstack_save): New function.
2392 (done): Rename as...
2393 (output_files): this.
2395 * src/main.c (main): Don't use `atexit' to register `done', since
2396 it no longer has to remove tmp files, just call `output_files'
2397 when there are no errors.
2399 2000-11-02 Akim Demaille <akim@epita.fr>
2401 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2402 `unlink': it's no longer used.
2403 * src/files.h: Formatting changes.
2405 2000-11-02 Akim Demaille <akim@epita.fr>
2407 Remove the last uses of mktemp and unlink/delete.
2409 * src/files.c (fdefines, ftable): Removed.
2410 (defines_ostack, table_obstack): New.
2411 Adjust dependencies of the former into uses of the latter.
2412 * src/output.c (output_short_or_char_table, output_short_table):
2413 Convert to using obstacks.
2414 * src/reader.c (copy_comment2): Accept one FILE * and two
2416 (output_token_defines, reader_output_yylsp): Use obstacks.
2417 * src/system.h (obstack_fgrow3): New.
2419 2000-11-01 Akim Demaille <akim@epita.fr>
2421 Change each use of `fattrs' into a use of `attrs_obstack'.
2423 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2424 * src/files.c (fattrs): Remove.
2425 (attrs_obstack): New.
2426 Adjust all dependencies.
2427 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2429 2000-11-01 Akim Demaille <akim@epita.fr>
2432 Change each use of `faction' into a use of `action_obstack'.
2434 * lib/obstack.h, lib/obstack.c: New files.
2435 * src/files.c (faction): Remove.
2436 (action_obstack): New.
2437 Adjust all dependencies.
2439 2000-10-20 Akim Demaille <akim@epita.fr>
2441 * lib/quote.h (PARAMS): New macro. Use it.
2443 2000-10-16 Akim Demaille <akim@epita.fr>
2445 * src/output.c (output_short_or_char_table): New function.
2446 (output_short_table, output_token_translations): Use it.
2447 (goto_actions): Use output_short_table.
2449 2000-10-16 Akim Demaille <akim@epita.fr>
2451 * src/symtab.c (bucket_new): New function.
2454 * src/output.c (output_short_table): New argument to display the
2455 comment associated with the table.
2456 Adjust dependencies.
2457 (output_gram): Use it.
2458 (output_rule_data): Nicer output layout for YYTNAME.
2460 2000-10-16 Akim Demaille <akim@epita.fr>
2462 * src/lex.c (read_typename): New function.
2464 * src/reader.c (copy_dollar): Likewise.
2466 2000-10-16 Akim Demaille <akim@epita.fr>
2468 * src/reader.c (copy_comment2): Expect the input stream to be on
2469 the `/' which is suspected to open a comment, instead of being
2470 called after `//' or `/*' was read.
2471 (copy_comment, copy_definition, parse_union_decl, copy_action)
2472 (copy_guard): Adjust.
2474 2000-10-16 Akim Demaille <akim@epita.fr>
2476 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2477 `read_signed_integer'.
2479 2000-10-16 Akim Demaille <akim@epita.fr>
2481 * src/reader.c (copy_dollar): New function.
2482 (copy_guard, copy_action): Use it.
2484 2000-10-16 Akim Demaille <akim@epita.fr>
2486 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2487 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2488 New files, from Fileutils 4.0.27.
2489 * src/main.c (printable_version): Remove.
2490 * src/lex.c, src/reader.c: Use `quote'.
2492 2000-10-04 Akim Demaille <akim@epita.fr>
2494 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2496 2000-10-04 Akim Demaille <akim@epita.fr>
2498 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2500 2000-10-04 Akim Demaille <akim@epita.fr>
2502 When a literal string is used to define two different tokens,
2503 `bison -v' segfaults.
2504 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2506 * tests/regression.m4: New file.
2507 Include the core of the sample provided by Piotr Gackiewicz.
2508 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2511 2000-10-04 Akim Demaille <akim@epita.fr>
2513 * src/reader.c (parse_expect_decl): Keep `count' within the size
2517 2000-10-02 Paul Eggert <eggert@twinsun.com>
2519 * bison.s1 (yyparse): Assign the default value
2520 unconditionally, to avoid a GCC warning and make the parser a
2523 2000-10-02 Akim Demaille <akim@epita.fr>
2525 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2528 2000-10-02 Akim Demaille <akim@epita.fr>
2530 * src/derives.c, src/print.c, src/reduce.c: To ease the
2531 translation, move some `\n' out of the translated strings.
2533 2000-10-02 Akim Demaille <akim@epita.fr>
2535 The location tracking mechanism is precious for parse error
2536 messages. Nevertheless, it is enabled only when `@n' is used in
2537 the grammar, which is a different issue (you can use it in error
2538 message, but not in the grammar per se). Therefore, there should
2539 be another means to enable it.
2541 * src/getargs.c (getargs): Support `--locations'.
2543 * src/getargs.h (locationsflag): Export it.
2544 * src/lex.c (percent_table): Support `%locations'.
2545 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2546 with `locationsflag'.
2547 * doc/bison.texinfo: Document `--locations' and `%locations'.
2549 * tests/calc.m4: Test it.
2551 For regularity of the names, replace each
2552 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2553 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2554 In addition replace each `flag' with `_flag'.
2556 2000-10-02 Akim Demaille <akim@epita.fr>
2558 Also test parse error messages, including with YYERROR_VERBOSE.
2560 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2562 Use it to check the computations.
2563 Use it to check `nonassoc' is honored.
2564 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2565 `--yyerror-verbose'.
2566 (_AT_CHECK_CALC): Adjust to this option.
2567 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2569 2000-10-02 Akim Demaille <akim@epita.fr>
2571 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2572 the latter demonstrates a flaw in the handling of non debugging
2573 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2574 was used in order to simplify:
2590 unfortunately this leads to a CPP conflict when
2591 `--name-prefix=foo' is used since it produces `#define yydebug
2594 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2595 (YYDPRINTF): New macro.
2597 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2599 Also test `--verbose', `--defines' and `--name-prefix'.
2601 2000-10-02 Akim Demaille <akim@epita.fr>
2603 Improve the readability of the produced parsers.
2605 * src/bison.s1: Formatting changes.
2606 Improve the comment related to the `$' mark.
2607 (yydefault): Don't fall through to `yyresume': `goto' there.
2608 * src/output.c (output_parser): When the `$' is met, skip the end
2610 New variable, `number_of_dollar_signs', to check there's exactly
2611 one `$' in the parser skeleton.
2613 2000-10-02 Akim Demaille <akim@epita.fr>
2615 * lib/xstrdup.c: New file, from the fileutils.
2616 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2617 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2618 instead of strlen + xmalloc + strcpy.
2619 * src/symtab.c (copys): Remove, use xstrdup instead.
2621 2000-10-02 Akim Demaille <akim@epita.fr>
2623 * src/gram.h (associativity): New enum type which replaces the
2624 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2625 `right_assoc', `left_assoc' and `non_assoc'.
2626 Adjust all dependencies.
2627 * src/reader.c: Formatting changes.
2628 (LTYPESTR): Don't define it, use it as a literal in
2629 `reader_output_yylsp'.
2630 * src/symtab.h (symbol_class): New enum type which replaces the
2631 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2632 `sunknown', `stoken and `snterm'.
2634 2000-10-02 Akim Demaille <akim@epita.fr>
2636 * src/getargs.c (fixed_outfiles): Rename as...
2637 (yaccflag): for consistency and accuracy.
2638 Adjust dependencies.
2640 2000-10-02 Akim Demaille <akim@epita.fr>
2642 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2643 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2644 difficult and introduced a lot of core dump. It turns out that
2645 Bison used an implementation of `xmalloc' based on `calloc', and
2646 at various places it does depend upon the initialization to 0. I
2647 have not tried to isolate the pertinent places, and all the former
2648 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2649 someone should address this issue.
2651 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2652 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2654 Adjust dependencies.
2655 * src/warshall.h: New file.
2658 2000-10-02 Akim Demaille <akim@epita.fr>
2660 Various anti-`extern in *.c' changes.
2662 * src/system.h: Include `assert.h'.
2664 2000-10-02 Akim Demaille <akim@epita.fr>
2666 * src/state.h (nstates, final_state, first_state, first_shift)
2667 (first_reduction): Move their exportation from here...
2668 * src/LR0.h: to here.
2669 Adjust dependencies.
2670 * src/getargs.c (statisticsflag): New variable.
2671 Add support for `--statistics'.
2672 Adjust dependencies.
2674 Remove a lot of now useless `extern' statements in most files.
2676 2000-10-02 Akim Demaille <akim@epita.fr>
2678 * src/LR0.h: New file.
2681 2000-10-02 Akim Demaille <akim@epita.fr>
2683 * src/print.h: New file.
2685 * src/print.c: Formatting and ordering changes.
2686 (verbose, terse): Replace with...
2687 (print_results): this new function.
2688 Adjust dependencies.
2690 2000-10-02 Akim Demaille <akim@epita.fr>
2692 * src/conflicts.c (conflict_report): New function.
2693 (conflict_log, verbose_conflict_log): Replace with...
2694 (print_conflicts): this function.
2695 Adjust dependencies.
2696 * src/conflicts.h: New file.
2697 Propagate its inclusion.
2699 2000-10-02 Akim Demaille <akim@epita.fr>
2701 * src/nullable.h: New file.
2702 Propagate its inclusion.
2703 * src/nullable.c: Formatting changes.
2705 2000-10-02 Akim Demaille <akim@epita.fr>
2707 * src/reduce.h: New file.
2708 Propagate its inclusion.
2709 * src/reduce.c: Topological sort and other formatting changes.
2710 (bool, TRUE, FALSE): Move their definition to...
2711 * src/system.h: here.
2713 2000-10-02 Akim Demaille <akim@epita.fr>
2715 * src/files.c: Formatting changes.
2716 (tryopen, tryclose, openfiles): Rename as...
2717 (xfopen, xfclose, open_files): this.
2718 (stringappend): static.
2719 * src/files.h: Complete the list of exported symbols.
2722 2000-10-02 Akim Demaille <akim@epita.fr>
2724 * src/reader.h: New file.
2725 Propagate its use instead of tedious list of `extern' and
2727 * src/reader.c: Formatting changes, topological sort,
2730 2000-10-02 Akim Demaille <akim@epita.fr>
2732 * src/lex.h: Prototype `lex.c' exported functions.
2733 * src/reader.c: Adjust.
2734 * src/lex.c: Formatting changes.
2735 (safegetc): Rename as...
2738 2000-10-02 Akim Demaille <akim@epita.fr>
2740 * src/lalr.h: New file.
2741 Propagate its inclusion instead of prototypes and `extern'.
2742 * src/lalr.c: Formatting changes, topological sorting etc.
2744 2000-10-02 Akim Demaille <akim@epita.fr>
2746 * src/output.c (token_actions): Introduce a temporary array,
2747 YYDEFACT, that makes it possible for this function to use
2750 2000-10-02 Akim Demaille <akim@epita.fr>
2752 `user_toknums' is output as a `short[]' in `output.c', while it is
2753 defined as a `int[]' in `reader.c'. For consistency with the
2754 other output tables, `user_toknums' is now defined as a table of
2757 * src/reader.c (user_toknums): Be a short table instead of an int
2759 Adjust dependencies.
2761 Factor the short table outputs.
2763 * src/output.c (output_short_table): New function.
2764 * src/output.c (output_gram, output_stos, output_rule_data)
2765 (output_base, output_table, output_check): Use it.
2767 2000-10-02 Akim Demaille <akim@epita.fr>
2769 * src/output.c (output): Topological sort of the functions, in
2770 order to get rid of the `static' prototypes.
2771 No longer use `register'.
2772 * src/output.h: New file.
2773 Propagate its inclusion in files explicitly prototyping functions
2776 2000-09-21 Akim Demaille <akim@epita.fr>
2778 * src/atgeneral.m4: Update from Autoconf.
2780 2000-09-21 Akim Demaille <akim@epita.fr>
2782 * src/closure.h: New file.
2783 * src/closure.c: Formatting changes, topological sort over the
2784 functions, use of closure.h.
2785 (initialize_closure, finalize_closure): Rename as...
2786 (new_closure, free_closure): these. Adjust dependencies.
2787 * src/LR0.c: Formatting changes, topological sort, use of
2789 (initialize_states): Rename as...
2791 * src/Makefile.am (noinst_HEADERS): Adjust.
2793 2000-09-20 Akim Demaille <akim@epita.fr>
2795 * src/acconfig.h: Don't protect config.h against multiple
2797 Don't define PARAMS.
2798 * src/system.h: Define PARAMS.
2799 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2800 purpose of config.h. system.h must not try to fix wrong
2801 definitions in config.h.
2803 2000-09-20 Akim Demaille <akim@epita.fr>
2805 * src/derives.h: New file.
2806 * src/main.c, src/derives.h: Use it.
2808 * src/Makefile.am (noinst_HEADERS): Adjust.
2810 2000-09-20 Akim Demaille <akim@epita.fr>
2812 * tests/atgeneral.m4: Update from Autoconf.
2813 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2814 (AT_CHECK_CALC): New macros.
2815 Use these macros to test bison with options `', `--raw',
2816 `--debug', `--yacc', `--yacc --debug'.
2818 2000-09-19 Akim Demaille <akim@epita.fr>
2820 * src/output.c: Formatting changes.
2821 * src/machine.h: Remove, leaving its contents in...
2822 * src/system.h: here.
2824 Adjust all dependencies on stdio.h and machine.h.
2825 * src/getargs.h: New file.
2826 Let all `extern' declarations about getargs.c be replaced with
2827 inclusion of `getargs.h'.
2828 * src/Makefile.am (noinst_HEADERS): Adjust.
2830 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2832 (yyerror): Returns void, not int.
2833 * doc/bison.texinfo: Formatting changes.
2835 2000-09-19 Akim Demaille <akim@epita.fr>
2837 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2840 2000-09-18 Akim Demaille <akim@epita.fr>
2842 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2843 * src/Makefile.am (INCLUDES): Don't.
2844 Be ready to fetch headers in lib/.
2846 2000-09-18 Akim Demaille <akim@epita.fr>
2848 * doc/bison.texinfo: Update the copyright.
2849 ANSIfy and GNUify the examples.
2850 Remove the old menu.
2852 2000-09-18 Akim Demaille <akim@epita.fr>
2854 First set of tests: use the `calc' example from the documentation.
2856 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2857 is defined only when YYDEBUG is.
2858 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2859 * src/files.c (tryopen, tryclose): Formatting changes.
2860 Move to the top and be static.
2861 * src/reader.c (read_signed_integer): Likewise.
2862 * tests/calc.m4: New file.
2863 * Makefile.am, suite.m4: Adjust.
2864 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2866 2000-09-18 Akim Demaille <akim@epita.fr>
2868 Add support for an Autotest test suite for Bison.
2870 * m4/m4.m4, m4/atconfig.m4: New files.
2871 * m4/Makefile.am (EXTRA_DIST): Adjust.
2872 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2874 * src/getargs.c: Display a more standard --version message.
2875 * src/reader.c (reader): Formatting changes.
2876 No longer depend upon VERSION_STRING.
2877 * configure.in: No longer use `dnl'.
2878 Set up the test suite and the new directory `tests/.
2879 (VERSION_STRING): Remove.
2881 2000-04-14 Akim Demaille <akim@epita.fr>
2883 * src/reader.c (copy_comment2): New function, same as former
2884 `copy_comment', but outputs into two FILE *.
2885 (copy_comment): Use it.
2886 (parse_union_decl): Use it.
2887 (get_type, parse_start_decl): Use the same `invalid' message.
2888 (parse_start_decl, parse_union_decl): Use the same `multiple'
2890 (parse_union_decl, copy_guard, copy_action): Use the same
2891 `unmatched' message.
2892 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2894 2000-03-31 Akim Demaille <akim@epita.fr>
2896 * src/files.c (tryopen, tryclose): Move to the top.
2899 2000-03-31 Akim Demaille <akim@epita.fr>
2901 * src/main.c (main): Don't call `done', exit does it.
2903 2000-03-31 Akim Demaille <akim@epita.fr>
2905 * allocate.c: s/return (foo)/return foo/.
2908 * output.c: Likewise.
2909 * reader.c: Likewise.
2910 * symtab.c: Likewise.
2911 * vmsgetargs.c: Likewise.
2913 2000-03-31 Akim Demaille <akim@epita.fr>
2915 Clean up the error reporting functions.
2917 * src/report.c: New file.
2918 * src/report.h: Likewise.
2919 * src/Makefile.am: Adjust.
2920 * m4/error.m4: New file.
2921 * m4/Makefile.am: Adjust.
2922 * configure.in (jm_PREREQ_ERROR): Call it.
2923 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2925 (fatal, fatals): Remove. All callers use complain.c::fatal.
2926 (warn, warni, warns, warnss, warnss): Remove. All callers use
2927 complain.c::complain.
2928 (toomany): Remove, use fatal instead.
2929 * src/files.c (done): No argument, use complain_message_count.
2930 * src/main.c (main): Register `done' to `atexit'.
2932 * src/getargs.c (usage): More `fputs', less `fprintf'.
2934 2000-03-28 Akim Demaille <akim@epita.fr>
2936 * lib/: New directory.
2937 * Makefile.am (SUBDIRS): Adjust.
2938 * configure.in: Adjust.
2939 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2941 * src/alloca.c: Moved to lib/.
2942 * src/getopt.c: Likewise.
2943 * src/getopt1.c: Likewise.
2944 * src/getopt.h: Likewise.
2945 * src/ansi2knr.c: Likewise.
2946 * src/ansi2knr.1: Likewise.
2947 * src/Makefile.am: Adjust.
2948 * lib/Makefile.am: New file.
2950 2000-03-28 Akim Demaille <akim@epita.fr>
2952 * src/getargs.c (usage): Refresh the help message.
2954 2000-03-17 Akim Demaille <akim@epita.fr>
2956 * src/getopt1.c: Updated from textutils 2.0e
2957 * src/getopt.c: Likewise.
2958 * src/getopt.h: Likewise.
2960 2000-03-17 Akim Demaille <akim@epita.fr>
2962 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2963 the file name, not the whole `#line LINE FILE'.
2965 2000-03-17 Akim Demaille <akim@epita.fr>
2967 On syntax errors, report the token on which we choked.
2969 * src/bison.s1 (yyparse): In the label yyerrlab, when
2970 YYERROR_VERBOSE, add yychar in msg.
2972 2000-03-17 Akim Demaille <akim@epita.fr>
2974 * src/reader.c (copy_at): New function.
2975 (copy_guard): Use it.
2976 (copy_action): Use it.
2978 2000-03-17 Akim Demaille <akim@epita.fr>
2980 Be kind to translators, save some useless translations.
2982 * src/main.c (banner): New function.
2983 (fatal_banner): Use it.
2984 (warn_banner): Use it.
2986 2000-03-17 Akim Demaille <akim@epita.fr>
2988 * src/reader.c (copy_definition): Use copy_string and
2989 copy_comment. Removed now unused `match', `ended',
2991 (copy_comment, copy_string): Moved, to be visible from
2994 2000-03-17 Akim Demaille <akim@epita.fr>
2996 * src/reader.c (copy_string): Declare `static inline'. No
2997 problems with inline, since it is checked by configure.
2998 (copy_comment): Likewise.
3000 2000-03-17 Akim Demaille <akim@epita.fr>
3002 * src/reader.c (packsymbols): Formatting changes.
3004 2000-03-17 Akim Demaille <akim@epita.fr>
3006 * src/reader.c (copy_comment): New function, factored out from:
3007 (copy_action): Use it. Removed now unused `match', `ended',
3009 (copy_guard): Likewise.
3011 2000-03-17 Akim Demaille <akim@epita.fr>
3013 * src/reader.c (copy_string): New function, factored out from:
3014 (copy_action): Use it.
3015 (copy_guard): Likewise.
3017 2000-03-17 Akim Demaille <akim@epita.fr>
3019 Change the handling of @s so that they behave exactly like $s.
3020 There is now a pseudo variable @$ (readble and writable), location
3021 of the lhs of the rule (by default ranging from the location of
3022 the first symbol of the rhs, to the location of the last symbol,
3023 or, if the rhs is empty, YYLLOC).
3025 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
3027 (yyparse): When providing a default semantic action, provide a
3028 default location action.
3029 (after the $): No longer change `*YYLSP', just stack YYLOC the
3030 same way you stack YYVAL.
3031 * src/reader.c (read_declarations): Use warns.
3032 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
3033 (copy_action, case '@'): Likewise.
3034 Use a standard error message, to save useless work from
3037 2000-03-17 Akim Demaille <akim@epita.fr>
3039 * src/bison.s1: Formatting and cosmetics changes.
3040 * src/reader.c: Likewise.
3041 Update the Copyright notice.
3043 2000-03-17 Akim Demaille <akim@epita.fr>
3045 * src/bison.s1 (#line): All set to `#line' only, since the
3046 Makefile now handles them.
3048 2000-03-16 Akim Demaille <akim@epita.fr>
3050 * src/output.c (output_rule_data): Output the documentation of
3052 (Copyright notice): Update.
3055 2000-03-16 Akim Demaille <akim@epita.fr>
3057 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
3058 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
3059 One `#if YYDEBUG' remains, since it uses variables which are
3060 defined only if `YYDEBUG != 0'.
3062 2000-03-16 Akim Demaille <akim@epita.fr>
3064 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
3065 and related variables so that the similarities are highlighted.
3067 2000-03-16 Akim Demaille <akim@epita.fr>
3069 * src/bison.s1: Properly indent CPP directives.
3071 2000-03-16 Akim Demaille <akim@epita.fr>
3073 * src/bison.s1: Properly indent the `alloca' CPP section.
3075 2000-03-16 Akim Demaille <akim@epita.fr>
3077 Do not hard code values of directories in `configure.in'.
3078 Update the `configure' tool chain.
3080 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
3082 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
3083 (AC_OUTPUT): Add m4/Makefile.
3084 Bump to bison 1.28a, 1.29 has never been released.
3085 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
3086 handled via src/Makefile.am.
3087 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
3088 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
3090 * Makefile.am (SUBDIRS): Add m4.
3091 (ACLOCAL_AM_FLAGS): New variable.
3092 (AUTOMAKE_OPTIONS): Add check-news.
3093 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
3094 the proper line number and file name.
3095 (DEFS): Propagate the location of bison library files and of the
3097 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
3099 * acinclude.m4: Remove, replaced by the directory m4.
3100 * m4/Makefile.am (EXTRA_DIST): New variable.
3101 * m4/gettext.m4: New file, from the fileutils.
3102 * m4/lcmessage.m4: Likewise
3103 * m4/progtest.m4: Likewise.
3104 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
3106 2000-03-10 Akim Demaille <akim@epita.fr>
3109 Formatting changes of various comments.
3110 Respect the GNU coding standards at various places.
3111 Don't use `_()' when no translation is needed.
3113 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3116 OS/2 honors TMPDIR environment variable.
3118 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3120 * doc/bison.texinfo: Tweaked spelling and grammar.
3122 Removed reference to price of printed copy.
3123 Mention BISON_SIMPLE and BISON_HAIRY.
3125 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3127 * configure.in, NEWS:
3128 Bison 1.29 released.
3130 1999-10-27 Jesse Thilo <jthilo@gnu.org>
3132 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
3133 Added reference card.
3135 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3137 * po/ru.po: Added Russian translation.
3139 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3141 * configure.in: Added Russian translation.
3143 1999-07-06 Jesse Thilo <jthilo@gnu.org>
3145 * configure.in, NEWS, README:
3146 Released version 1.28.
3148 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3151 Squashed redefinition warning on some systems.
3153 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
3154 Have configure build version string instead of relying on ANSI string
3157 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3159 * po/POTFILES.in: Got rid of version.c.
3161 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3163 * acconfig.h, configure.in:
3164 Have configure build version string instead of relying on ANSI string
3167 1999-06-08 Jesse Thilo <jthilo@gnu.org>
3170 Dropped mention of `+' for long-named options.
3172 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3174 * src/files.c: Added <unistd.h> for unlink().
3176 * src/Makefile.am, src/system.h:
3179 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3181 * README: Added a FAQ list.
3183 * configure.in, acconfig.h:
3186 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3188 * doc/FAQ, doc/Makefile.am:
3191 1999-05-19 Jesse Thilo <jthilo@gnu.org>
3193 * src/alloc.h, src/symtab.h, src/version.c:
3194 Protected inclusion of "config.h" with HAVE_CONFIG_H.
3196 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3198 * src/.cvsignore, src/Makefile.am:
3199 Reorganized: sources in `src', documentation in `doc'.
3201 * src/lex.c (literalchar):
3202 fixed the code for escaping double quotes (thanks
3205 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3207 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
3208 Adjusted paths to reflect directory reorganization.
3210 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3212 * doc/.cvsignore, doc/Makefile.am:
3213 Reorganized: sources in `src', documentation in `doc'.
3215 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3218 Updated AC_INIT file to reflect directory reorganization.
3220 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
3221 Reorganized: sources in `src', documentation in `doc'.
3223 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3226 Don't declare calloc() and realloc() if not necessary.
3228 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3230 * configure.in, acconfig.h, acinclude.m4:
3231 Don't declare calloc() and realloc() if not necessary.
3233 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3235 * po/.cvsignore: Added i18n support.
3237 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3239 * acconfig.h, configure.in, Makefile.am:
3242 1999-03-22 Jesse Thilo <jthilo@gnu.org>
3244 * src/bison.s1: Fixed #line numbers.
3246 1999-03-15 Jesse Thilo <jthilo@gnu.org>
3248 * po/es.po, po/fr.po, po/nl.po, po/de.po:
3249 Added PO files from Translation Project.
3251 1999-03-03 Jesse Thilo <jthilo@gnu.org>
3254 Added support for non-ANSI compilers (ansi2knr).
3256 1999-02-16 Jesse Thilo <jthilo@gnu.org>
3258 * configure.in: Bumped version number to 1.27.
3261 Added `bison.simple' to list of files removed by `make distclean'.
3263 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3265 * src/files.c, src/files.h:
3266 Defined locations of parser files in config.h instead of Makefile.
3268 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3270 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
3271 Defined locations of parser files in config.h instead of Makefile.
3273 1999-02-09 Jesse Thilo <jthilo@gnu.org>
3276 Removed inappropriate use of $< macro.
3278 1999-02-05 Jesse Thilo <jthilo@gnu.org>
3280 * po/Makefile.in.in, po/POTFILES.in:
3281 Add `po' directory skeleton.
3283 1999-01-27 Jesse Thilo <jthilo@gnu.org>
3285 * README: Document help-bison list.
3287 * configure.in: Add check for mkstemp().
3289 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3291 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
3292 Hush a few compiler warnings.
3295 Add tryclose(), which verifies that fclose was successful.
3296 Hush a couple of compiler warnings.
3298 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3300 * Makefile.am, OChangeLog:
3301 ChangeLog is now automatically generated. Include the old version as
3304 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3306 * 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:
3309 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3311 * doc/bison.texinfo: Fix formatting glitch.
3313 * doc/bison.texinfo: Update FSF address.
3315 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3317 * acconfig.h: Update FSF address.
3319 1999-01-08 Jesse Thilo <jthilo@gnu.org>
3322 Don't define PACKAGE here, since config.h defines it.
3324 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3326 * src/reader.c: Update copyright date.
3329 Ditch sprintf to statically-sized buffers in fatal/warn functions in
3330 favor of output directly to stderr (avoids buffer overruns).
3332 * src/reader.c: Some checks for premature EOF.
3334 * 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:
3335 Use prototypes if the compiler understands them.
3337 * src/files.c: Honor TMPDIR on Unix hosts.
3338 Use prototypes if the compiler understands them.
3341 Fix a couple of buffer overrun bugs.
3342 Use prototypes if the compiler understands them.
3344 * src/system.h: Include unistd.h and ctype.h.
3345 Use #ifdef instead of #if for NLS symbols.
3347 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3349 * doc/bison.texinfo:
3350 Delete comment "consider using @set for edition number, etc..." since
3351 we now are doing so.
3353 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3356 Use prototypes if the compiler understands them.
3358 * NEWS: Document 1.26 highlights.
3360 * Makefile.am: Require Automake 1.3 or later.
3363 Use prototypes if the compiler understands them.
3365 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3368 Use VERSION symbol from automake for version number.
3370 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3372 * acconfig.h, configure.in, version.cin:
3373 Use VERSION symbol from automake for version number.
3375 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3378 Distribute original version of simple parser (bison.s1), not built
3379 version (bison.simple).
3381 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3383 * doc/bison.texinfo: Add info dir entry.
3385 * doc/bison.texinfo:
3386 Let automake put version number into documentation.
3388 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3390 * src/bison.cld, src/build.com, src/vmshlp.mar:
3391 Add non-RCS files from /gd/gnu/bison.
3393 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3396 Document the BISON_HAIRY and BISON_SIMPLE variables.
3398 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3400 * src/version.c: Build version.c automatically.
3403 Fix token numbering (used to start at 258, not 257).
3405 * src/system.h: Include config.h.
3407 * src/getargs.c: Update bug report address.
3409 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3410 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3412 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3415 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3417 * configure.in, version.cin:
3418 Build version.c automatically.
3420 * AUTHORS: Add AUTHORS file.
3422 * README: Update bug report address.
3425 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3427 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3430 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3432 * doc/bison.texinfo: Clean up some formatting.
3434 1998-05-05 Richard Stallman <rms@gnu.org>
3436 * doc/bison.texinfo:
3437 Explain better why to make a pure parser.
3439 1998-01-05 Richard Stallman <rms@gnu.org>
3441 * src/files.c (openfiles):
3442 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3443 find a temporary directory, if possible. Do not unlink files while
3446 1997-08-25 Richard Stallman <rms@gnu.org>
3448 * src/reader.c (stack_offset;):
3449 Change some warni to warns.
3451 * src/lex.c (literalchar): Use warns, not warni.
3453 1997-06-28 Richard Stallman <rms@gnu.org>
3455 * src/bison.s1: Add a Bison version comment.
3457 * src/main.c (fatal, warn, berror):
3460 1997-06-28 Richard Stallman <rms@gnu.org>
3462 * Makefile.in (bison_version): New variable.
3463 (dist): Use that variable.
3464 (bison.s1): Substitute the Bison version into bison.simple.
3466 * bison.simple: Add a Bison version comment.
3468 1997-06-18 Richard Stallman <rms@gnu.org>
3470 * src/main.c (fatal, warn, berror):
3471 Make error messages standard.
3472 (toomany): Improve error message text.
3474 * 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:
3475 new.h renamed to alloc.h.
3477 1997-06-18 Richard Stallman <rms@gnu.org>
3479 * Makefile.in: new.h renamed to alloc.h.
3481 1997-05-24 Richard Stallman <rms@gnu.org>
3483 * src/lex.c (literalchar):
3484 Fix the code for escaping \, " and '.
3486 (lex): Avoid trouble when there are many chars
3487 to discard in a char literal with just several chars in it.
3489 1997-05-17 Richard Stallman <rms@gnu.org>
3492 Use malloc, if using alloca is troublesome.
3493 (YYSTACK_USE_ALLOCA): New flag macro.
3494 Define it for some systems and compilers.
3495 (YYSTACK_ALLOC): New macro.
3496 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3497 If it was malloc'd, free it.
3499 1997-05-17 Richard Stallman <rms@gnu.org>
3502 Use malloc, if using alloca is troublesome.
3503 (YYSTACK_USE_ALLOCA): New flag macro.
3504 Define it for some systems and compilers.
3505 (YYSTACK_ALLOC): New macro.
3506 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3507 If it was malloc'd, free it.
3509 1997-04-23 Richard Stallman <rms@gnu.org>
3512 (alloca) [__hpux]: Always define as __builtin_alloca.
3514 1997-04-23 Richard Stallman <rms@gnu.org>
3517 (alloca) [__hpux]: Always define as __builtin_alloca.
3519 1997-04-22 Richard Stallman <rms@gnu.org>
3522 [__hpux]: Include alloca.h (right for HPUX 10)
3523 instead of declaring alloca (right for HPUX 9).
3525 * src/bison.s1 (__yy_memcpy):
3526 Declare arg `count' as unsigned int.
3527 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3529 1997-04-22 Richard Stallman <rms@gnu.org>
3532 [__hpux]: Include alloca.h (right for HPUX 10)
3533 instead of declaring alloca (right for HPUX 9).
3535 * bison.simple (__yy_memcpy):
3536 Declare arg `count' as unsigned int.
3537 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3539 1997-01-03 Richard Stallman <rms@gnu.org>
3541 * src/allocate.c: [__STDC__ or _MSC_VER]:
3542 Declare calloc and realloc to return void *.
3544 1997-01-02 Richard Stallman <rms@gnu.org>
3547 [_MSC_VER]: Include stdlib.h and process.h.
3548 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3550 * src/main.c (main): Return FAILURE as a value.
3551 (printable_version): Declare arg as int, not char.
3553 1997-01-02 Richard Stallman <rms@gnu.org>
3555 * Makefile.in (dist):
3556 Explicitly check for symlinks, and copy them.
3558 1996-12-19 Richard Stallman <rms@gnu.org>
3561 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3563 1996-12-18 Paul Eggert <eggert@gnu.org>
3565 * src/bison.s1 (yyparse):
3566 If __GNUC__ and YYPARSE_PARAM are both defined,
3567 declare yyparse to have a void * argument.
3569 1996-12-18 Paul Eggert <eggert@gnu.org>
3571 * bison.simple (yyparse):
3572 If __GNUC__ and YYPARSE_PARAM are both defined,
3573 declare yyparse to have a void * argument.
3575 1996-12-17 Richard Stallman <rms@gnu.org>
3577 * src/reduce.c (nbits): Add some casts.
3579 1996-08-12 Richard Stallman <rms@gnu.org>
3581 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3583 1996-08-12 Richard Stallman <rms@gnu.org>
3585 * bison.simple: Test _MSDOS as well as _MSDOS_.
3587 1996-07-31 Richard Stallman <rms@gnu.org>
3590 [__sun && __i386]: Include alloca.h.
3592 1996-07-31 Richard Stallman <rms@gnu.org>
3595 [__sun && __i386]: Include alloca.h.
3597 1996-07-30 Richard Stallman <rms@gnu.org>
3599 * src/bison.s1: Comment change.
3601 * src/bison.s1: Test _MSDOS_, not MSDOS.
3603 1996-07-30 Richard Stallman <rms@gnu.org>
3605 * bison.simple: Comment change.
3607 * bison.simple: Test _MSDOS_, not MSDOS.
3609 1996-06-01 Richard Stallman <rms@gnu.org>
3611 * 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:
3612 Insert `_' macro around many string constants.
3615 Insert `_' macro around many string constants.
3617 (main): Call setlocale, bindtextdomain and textdomain.
3619 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3620 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3621 [ENABLE_NLS]: Include libintl.h.
3622 [ENABLE_NLS] (gettext): Define.
3623 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3624 (N_, PACKAGE, LOCALEDIR): New macros.
3626 1996-06-01 Richard Stallman <rms@gnu.org>
3628 * POTFILES.in: New file.
3630 * Makefile.in (allocate.o):
3631 Define target explicitly.
3633 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3634 (LDFLAGS): Set to @LDFLAGS@.
3635 (configure): Run autoconf only if preceding `cd' succeeds.
3636 (bison.s1): Redirect output to temporary file then move the
3637 temporary to the target, rather than redirecting directly to bison.s1.
3638 (clean): Remove config.status and config.log.
3639 (distclean): Don't remove config.status here.
3641 1996-05-12 Richard Stallman <rms@gnu.org>
3644 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3646 1996-05-12 Richard Stallman <rms@gnu.org>
3649 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3651 1996-05-11 Richard Stallman <rms@gnu.org>
3653 * src/bison.s1 (__yy_memcpy):
3654 Really reorder the args, as was supposedly done on Feb 14 1995.
3655 (yyparse): Calls changed accordingly.
3657 1996-05-11 Richard Stallman <rms@gnu.org>
3659 * Makefile.in (dist): Don't use $(srcdir).
3661 * bison.simple (__yy_memcpy):
3662 Really reorder the args, as was supposedly done on Feb 14 1995.
3663 (yyparse): Calls changed accordingly.
3665 1996-01-27 Richard Stallman <rms@gnu.org>
3667 * src/output.c (output_rule_data):
3668 Test YYERROR_VERBOSE in the conditional
3669 around the definition of ttyname.
3671 1995-12-29 Richard Stallman <rms@gnu.org>
3674 Fix line numbers in #line commands.
3676 1995-12-29 Richard Stallman <rms@gnu.org>
3679 Fix line numbers in #line commands.
3681 1995-12-27 Richard Stallman <rms@gnu.org>
3683 * src/bison.s1 (YYPARSE_PARAM_DECL):
3684 In C++, make it always null.
3685 (YYPARSE_PARAM_ARG): New macro.
3686 (yyparse): Use YYPARSE_PARAM_ARG.
3688 1995-12-27 Richard Stallman <rms@gnu.org>
3690 * bison.simple (YYPARSE_PARAM_DECL):
3691 In C++, make it always null.
3692 (YYPARSE_PARAM_ARG): New macro.
3693 (yyparse): Use YYPARSE_PARAM_ARG.
3695 1995-11-29 Richard Stallman <rms@gnu.org>
3697 * doc/bison.texinfo:
3698 Describe literal string tokens, %raw, %no_lines, %token_table.
3700 1995-11-29 Daniel Hagerty <hag@gnu.org>
3702 * doc/bison.texinfo: Fixed update date
3704 1995-10-16 Richard Stallman <rms@gnu.org>
3706 * src/version.c: Version 1.25.
3708 1995-10-16 Richard Stallman <rms@gnu.org>
3710 * NEWS: *** empty log message ***
3712 1995-10-16 Richard Stallman <rms@gnu.org>
3714 * doc/bison.1, doc/bison.rnh:
3717 1995-10-15 Richard Stallman <rms@gnu.org>
3719 * src/vmsgetargs.c, src/getargs.c:
3720 Added -n, -k, and -raw switches.
3721 (noparserflag, toknumflag, rawtoknumflag): New variables.
3723 * src/symtab.h (SALIAS):
3724 New #define for adding aliases to %token.
3725 (struct bucket): Added `alias' field.
3727 * src/reduce.c (reduce_grammar):
3728 Revise error message.
3729 (print_notices): Remove final `.' from error message.
3731 * src/reader.c (reader_output_yylsp):
3733 (readgram): Use `#if 0' around code that accepted %command
3734 inside grammar rules: The documentation doesn't allow it,
3735 and it will fail since the %command processors scan for the next %.
3736 (parse_token_decl): Extended the %token
3737 declaration to allow a multi-character symbol as an alias.
3738 (parse_thong_decl): New function.
3739 (read_declarations): Added %thong declarations.
3740 (read_declarations): Handle NOOP to deal with allowing
3741 % declarations as another means to specify the flags.
3742 (readgram): Allow %prec prior to semantics embedded in a rule.
3743 (skip_to_char, read_declarations, copy_definition)
3744 (parse_token_decl, parse_start_decl, parse_type_decl)
3745 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3746 (get_type_name, copy_guard, copy_action, readgram)
3747 (get_type, packsymbols): Revised most error messages.
3748 Changed `fatal' to `warnxxx' to avoid aborting for error.
3749 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3750 (read_declarations): Improve the error message for
3751 an invalid character. Do not abort.
3752 (read_declarations, copy_guard, copy_action): Use
3753 printable_version to avoid unprintable characters in printed output.
3754 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3755 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3756 Allow the type of a non-terminal can be given
3757 more than once, as long as all specifications give the same type.
3760 (output_headers, output_trailers, output, output_gram)
3761 (output_rule_data): Implement noparserflag variable.
3762 Implement toknumflag variable.
3763 (output): Call reader_output_yylsp to output LTYPESTR.
3765 * src/main.c (main):
3766 If reader sees an error, don't process the grammar.
3767 (fatals): Updated to not use VARARGS1.
3768 (printable_version, int_to_string, warn, warni, warns, warnss)
3769 (warnsss): New error reporting functions. Avoid abort for error.
3772 Added THONG and NOOP for alias processing.
3773 Added SETOPT for the new code that allows setting options with %flags.
3776 Include getopt.h. Add some extern decls.
3777 (safegetc): New function to deal with EOF gracefully.
3778 (literalchar); new function to deal with reading \ escapes.
3779 (lex): Use literalchar.
3780 (lex): Implemented "..." tokens.
3781 (literalchar, lex, parse_percent_token): Made tokenbuffer
3782 always contain the token. This includes growing the token
3783 buffer while reading an integer.
3784 (parse_percent_token): Replaced if-else statement with percent_table.
3785 (parse_percent_token): Added % declarations as another
3786 way to specify the flags -n, -l, and -r. Also added hooks for
3787 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3788 major changes to files.c.
3789 (lex) Retain in the incoming stream a character following
3791 (skip_white_space, lex): Revised most error messages
3792 and changed fatal to warn to avoid aborting.
3793 (percent_table): Added %thong declarations.
3795 * src/gram.h: Comment changes.
3797 * src/files.c (openfiles, open_extra_files, done):
3799 and actfile file. Handle noparserflag. Both for -n switch.
3801 * src/conflicts.c (resolve_sr_conflict):
3802 Remove use of alloca.
3804 1995-06-01 Jim Meyering <meyering@gnu.org>
3806 * doc/bison.texinfo: *** empty log message ***
3808 1995-05-06 Richard Stallman <rms@gnu.org>
3810 * src/bison.s1: Comment change.
3812 1995-05-06 Richard Stallman <rms@gnu.org>
3814 * bison.simple: Comment change.
3816 1995-05-03 Richard Stallman <rms@gnu.org>
3818 * src/version.c: Version now 1.24.
3820 * src/bison.s1: Change distribution terms.
3822 * src/version.c: Version now 1.23.
3824 1995-05-03 Richard Stallman <rms@gnu.org>
3826 * doc/bison.texinfo:
3827 Rewrite "Conditions for Using Bison".
3828 Update version to 1.24.
3830 1995-05-03 Richard Stallman <rms@gnu.org>
3832 * bison.simple: Change distribution terms.
3834 1995-02-23 Richard Stallman <rms@gnu.org>
3836 * src/files.c: Test __VMS_POSIX as well as VMS.
3838 1995-02-14 Jim Meyering <meyering@gnu.org>
3840 * src/bison.s1 (__yy_memcpy):
3841 Renamed from __yy_bcopy to avoid
3842 confusion. Reverse FROM and TO arguments to be consistent with
3845 1995-02-14 Jim Meyering <meyering@gnu.org>
3847 * bison.simple (__yy_memcpy):
3848 Renamed from __yy_bcopy to avoid
3849 confusion. Reverse FROM and TO arguments to be consistent with
3852 1994-11-10 David J. MacKenzie <djm@gnu.org>
3858 * Makefile.in (DISTFILES): Include NEWS.
3860 * Makefile.in (DISTFILES):
3861 Include install-sh, not install.sh.
3863 * configure.in: Update to Autoconf v2 macro names.
3865 1994-10-05 David J. MacKenzie <djm@gnu.org>
3867 * Makefile.in: fix typo
3869 * Makefile.in (prefix, exec_prefix):
3870 Let configure set them.
3872 1994-09-28 David J. MacKenzie <djm@gnu.org>
3874 * Makefile.in: Set datadir to $(prefix)/share.
3876 1994-09-15 Richard Stallman <rms@gnu.org>
3879 Update copyright notice and GPL version.
3881 1994-09-15 Richard Stallman <rms@gnu.org>
3884 Update copyright notice and GPL version.
3886 1994-07-12 Richard Stallman <rms@gnu.org>
3888 * src/reduce.c, src/reader.c:
3891 1994-05-05 David J. MacKenzie <djm@gnu.org>
3893 * Makefile.in: entered into RCS
3895 1994-03-26 Richard Stallman <rms@gnu.org>
3897 * src/bison.s1: entered into RCS
3899 1994-03-26 Richard Stallman <rms@gnu.org>
3901 * bison.simple: entered into RCS
3903 1994-03-25 Richard Stallman <rms@gnu.org>
3905 * src/main.c: entered into RCS
3907 1994-03-24 Richard Stallman <rms@gnu.org>
3909 * src/conflicts.c: entered into RCS
3911 1994-01-02 Richard Stallman <rms@gnu.org>
3913 * Makefile.in: *** empty log message ***
3915 1993-11-21 Richard Stallman <rms@gnu.org>
3917 * src/bison.s1: *** empty log message ***
3919 1993-11-21 Richard Stallman <rms@gnu.org>
3921 * doc/bison.texinfo: entered into RCS
3923 * doc/bison.texinfo: *** empty log message ***
3925 1993-11-21 Richard Stallman <rms@gnu.org>
3927 * bison.simple: *** empty log message ***
3929 1993-10-25 David J. MacKenzie <djm@gnu.org>
3931 * doc/bison.texinfo: *** empty log message ***
3933 1993-10-19 Richard Stallman <rms@gnu.org>
3935 * src/bison.s1: *** empty log message ***
3937 1993-10-19 Richard Stallman <rms@gnu.org>
3939 * bison.simple: *** empty log message ***
3941 1993-10-14 Richard Stallman <rms@gnu.org>
3943 * src/bison.s1: *** empty log message ***
3945 1993-10-14 Richard Stallman <rms@gnu.org>
3947 * bison.simple: *** empty log message ***
3949 1993-09-14 David J. MacKenzie <djm@gnu.org>
3951 * doc/bison.texinfo: *** empty log message ***
3953 1993-09-13 Noah Friedman <friedman@gnu.org>
3955 * Makefile.in: *** empty log message ***
3957 1993-09-10 Richard Stallman <rms@gnu.org>
3959 * src/conflicts.c: *** empty log message ***
3961 * src/system.h: entered into RCS
3963 1993-09-10 Richard Stallman <rms@gnu.org>
3965 * doc/bison.1: entered into RCS
3967 1993-09-06 Noah Friedman <friedman@gnu.org>
3969 * src/version.c: entered into RCS
3971 1993-09-06 Noah Friedman <friedman@gnu.org>
3973 * Makefile.in: *** empty log message ***
3975 1993-07-30 David J. MacKenzie <djm@gnu.org>
3977 * Makefile.in: *** empty log message ***
3979 1993-07-24 Richard Stallman <rms@gnu.org>
3981 * src/bison.s1: *** empty log message ***
3983 1993-07-24 Richard Stallman <rms@gnu.org>
3985 * bison.simple: *** empty log message ***
3987 1993-07-08 David J. MacKenzie <djm@gnu.org>
3989 * Makefile.in: *** empty log message ***
3991 1993-07-04 Richard Stallman <rms@gnu.org>
3993 * src/bison.s1: *** empty log message ***
3995 1993-07-04 Richard Stallman <rms@gnu.org>
3997 * bison.simple: *** empty log message ***
3999 1993-06-26 David J. MacKenzie <djm@gnu.org>
4001 * src/getargs.c: entered into RCS
4003 1993-06-26 David J. MacKenzie <djm@gnu.org>
4005 * doc/bison.texinfo: *** empty log message ***
4007 * doc/bison.1: New file.
4009 1993-06-25 Richard Stallman <rms@gnu.org>
4011 * src/getargs.c: New file.
4013 1993-06-16 Richard Stallman <rms@gnu.org>
4015 * src/bison.s1: *** empty log message ***
4017 1993-06-16 Richard Stallman <rms@gnu.org>
4019 * bison.simple: *** empty log message ***
4021 1993-06-03 Richard Stallman <rms@gnu.org>
4023 * src/bison.s1: New file.
4025 1993-06-03 Richard Stallman <rms@gnu.org>
4027 * doc/bison.texinfo: *** empty log message ***
4029 1993-06-03 Richard Stallman <rms@gnu.org>
4031 * bison.simple: New file.
4033 1993-05-19 Richard Stallman <rms@gnu.org>
4035 * doc/bison.texinfo: New file.
4037 1993-05-07 Noah Friedman <friedman@gnu.org>
4039 * Makefile.in: *** empty log message ***
4041 1993-04-28 Noah Friedman <friedman@gnu.org>
4043 * src/reader.c: *** empty log message ***
4045 1993-04-23 Noah Friedman <friedman@gnu.org>
4047 * src/alloc.h: entered into RCS
4049 1993-04-20 David J. MacKenzie <djm@gnu.org>
4051 * src/version.c: *** empty log message ***
4053 * src/files.c, src/allocate.c:
4056 * src/reader.c: *** empty log message ***
4058 * src/lex.c: entered into RCS
4060 * src/conflicts.c: New file.
4062 * src/symtab.c: entered into RCS
4064 * src/alloc.h: New file.
4066 * src/LR0.c: entered into RCS
4068 1993-04-18 Noah Friedman <friedman@gnu.org>
4070 * src/reader.c: New file.
4072 * src/version.c: *** empty log message ***
4074 1993-04-18 Noah Friedman <friedman@gnu.org>
4076 * Makefile.in: *** empty log message ***
4078 1993-04-17 Noah Friedman <friedman@gnu.org>
4080 * Makefile.in: *** empty log message ***
4082 1993-04-15 Richard Stallman <rms@gnu.org>
4084 * src/main.c, src/files.c:
4087 1993-04-15 Noah Friedman <friedman@gnu.org>
4089 * configure.in: entered into RCS
4091 * configure.in: *** empty log message ***
4093 * configure.in: New file.
4095 1993-04-14 Richard Stallman <rms@gnu.org>
4097 * Makefile.in: New file.
4099 1993-04-13 Richard Stallman <rms@gnu.org>
4101 * src/version.c: New file.
4103 1993-03-25 Richard Stallman <rms@gnu.org>
4105 * src/output.c: entered into RCS
4107 1992-09-25 Richard Stallman <rms@gnu.org>
4109 * configure.bat: entered into RCS
4111 1992-06-22 Richard Stallman <rms@gnu.org>
4113 * src/vmsgetargs.c: entered into RCS
4115 1992-06-22 Richard Stallman <rms@gnu.org>
4117 * doc/bison.rnh: entered into RCS
4119 1992-04-20 David J. MacKenzie <djm@gnu.org>
4121 * README: entered into RCS
4123 1992-01-22 Richard Stallman <rms@gnu.org>
4125 * src/machine.h: entered into RCS
4127 1991-12-21 Richard Stallman <rms@gnu.org>
4129 * src/lalr.c, src/closure.c:
4132 1991-12-20 Richard Stallman <rms@gnu.org>
4134 * src/state.h: entered into RCS
4136 1991-12-18 Richard Stallman <rms@gnu.org>
4138 * src/print.c, src/nullable.c, src/derives.c:
4141 1991-11-03 David J. MacKenzie <djm@gnu.org>
4143 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
4146 1988-09-09 Richard Stallman <rms@gnu.org>
4148 * src/bison.hairy: entered into RCS
4150 1987-12-16 Richard Stallman <rms@gnu.org>
4152 * REFERENCES: entered into RCS