1 2001-12-05 Akim Demaille <akim@epita.fr>
3 * src/closure.c (print_firsts, print_fderives): De-obfuscate.
6 2001-12-05 Akim Demaille <akim@epita.fr>
8 * src/closure.c (set_firsts): De-obfuscate.
10 2001-12-05 Akim Demaille <akim@epita.fr>
12 * src/output.c (action_row): De-obfuscate
13 using the good o' techniques: arrays not pointers, variable
14 locality, BITISSET, RESETBIT etc.
17 2001-12-05 Akim Demaille <akim@epita.fr>
19 Pessimize the code to simplify it: from now on, all the states
20 have a valid SHIFTS, which NSHIFTS is possibly 0.
22 * src/LR0.c (shifts_new): Be global and move to..
23 * src/state.c, src/state.h: here.
24 * src/conflicts, src/lalr.c, src/output.c, src/print.c,
25 * src/print_graph: Adjust.
27 2001-12-05 Akim Demaille <akim@epita.fr>
29 * src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New.
30 * src/conflicts.c: Use it.
31 Restore a few missing `if (!SHIFT_IS_DISABLED)' which were
32 incorrectly ``simplified''.
34 2001-12-05 Akim Demaille <akim@epita.fr>
36 * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate
37 using the good o' techniques: arrays not pointers, variable
38 locality, BITISSET, RESETBIT etc.
40 2001-12-05 Akim Demaille <akim@epita.fr>
42 * src/state.h (SHIFT_SYMBOL): New.
43 * src/conflicts.c: Use it to deobfuscate.
45 2001-12-05 Akim Demaille <akim@epita.fr>
47 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts)
48 (print_reductions): De-obfuscate using the good o' techniques:
49 arrays not pointers, variable locality, BITISSET.
51 2001-12-05 Akim Demaille <akim@epita.fr>
53 * src/conflicts.c (print_reductions): Arrays, not pointers.
56 2001-12-05 Akim Demaille <akim@epita.fr>
58 * src/conflicts.c (print_reductions): Pessimize, but clarify.
60 2001-12-05 Akim Demaille <akim@epita.fr>
62 * src/conflicts.c (print_reductions): Improve variable locality.
64 2001-12-05 Akim Demaille <akim@epita.fr>
66 * src/conflicts.c (print_reductions): Pessimize, but clarify.
68 2001-12-05 Akim Demaille <akim@epita.fr>
70 * src/conflicts.c (print_reductions): Improve variable locality.
72 2001-12-05 Akim Demaille <akim@epita.fr>
74 * src/state.h (SHIFT_IS_ERROR, SHIFT_IS_GOTO, SHIFT_IS_SHIFT): New.
75 * src/lalr.c: Use them.
77 2001-12-05 Akim Demaille <akim@epita.fr>
79 * src/LR0.c (augment_automaton): Formatting changes.
80 Better variable locality.
82 2001-12-05 Akim Demaille <akim@epita.fr>
84 * src/lalr.c (matrix_print): New.
86 Use arrays instead of pointers.
88 2001-12-05 Akim Demaille <akim@epita.fr>
90 * src/lalr.c (maxrhs): Move to...
91 * src/gram.c, src/gram.h (ritem_longest_rhs): here.
92 * src/lalr.c (build_relations): Adjust.
94 2001-12-05 Akim Demaille <akim@epita.fr>
96 * src/lalr.c (transpose): Free the memory allocated to the
97 argument, as it is replaced by the results by the unique caller.
98 (build_relations): Merely invoke transpose: it handles the memory
100 Improve variable locality.
101 Avoid variables used as mere abbreviations.
102 (compute_lookaheads): Use arrays instead of pointers.
104 2001-12-05 Akim Demaille <akim@epita.fr>
106 * src/lalr.c (initialize_F): Improve variable locality.
107 Avoid variables used as mere abbreviations.
109 2001-12-05 Akim Demaille <akim@epita.fr>
111 * src/derives.c (print_derives): Display the ruleno.
112 * src/lalr.c (initialize_F, transpose): Better variable locality
113 to improve readability.
114 Avoid variables used as mere abbreviations.
116 2001-12-05 Akim Demaille <akim@epita.fr>
118 * src/lalr.c (traverse): Use arrays instead of pointers.
120 2001-12-05 Akim Demaille <akim@epita.fr>
122 * src/nullable.c (set_nullable): Use a for loop to de-obfuscate
123 the handling of squeue.
124 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
126 2001-12-05 Akim Demaille <akim@epita.fr>
128 Because useless nonterminals are now kept alive (instead of being
129 `destroyed'), we now sometimes examine them, and store information
130 related to them. Hence we need to know their number, and adjust
133 * src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
135 * src/LR0.c (allocate_itemsets): The memory allocated to
136 `symbol_count' was used for two different purpose: once to count
137 the number of occurrences of each symbol, and later reassigned to
138 `shift_symbol', containing the symbol that can be shifted from a
140 Deobfuscate, i.e., allocate, use and free `symbol_count' here
142 (new_itemsets): Allocate `shift_symbol' here.
143 (allocate_itemsets): symbol_count includes useless nonterminals.
145 (free_storage): Use `free', not `XFREE', for pointers that cannot
148 2001-12-05 Akim Demaille <akim@epita.fr>
150 * src/nullable.c (set_nullable): Deobfuscate the handling of
152 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
154 2001-12-05 Akim Demaille <akim@epita.fr>
156 * src/gram.c, src/gram.h (ritem_print): New.
157 * src/gram.c (dummy): Remove, now there is actual code in gram.c.
158 (This useless function was defined only to work around VMS linkers
159 that can't handle compilation units with variables only).
160 * src/reduce.c (dump_grammar): Use it to trace the construction of
163 2001-12-04 Paul Eggert <eggert@twinsun.com>
165 * src/bison.simple (union yyalloc): Change member names
166 to be the same as the stack names.
167 (yyparse): yyptr is now union yyalloc *, not char *.
168 (YYSTACK_RELOCATE): Likewise. This avoids a GCC warning,
169 and may generate better code on some machines.
170 (yystpcpy): Use prototype if __STDC__ is defined, not just
171 if __cplusplus is defined.
173 2001-11-30 Akim Demaille <akim@epita.fr>
175 * configure.in (WARNING_CFLAGS): Add -Werror when possible.
176 (CFLAGS): Do not include the WARNING_CFLAGS here, since GNU
177 Gettext doesn't compile cleanly, and dies with -Werror.
178 * src/Makefile.am, lib/Makefile.am, tests/atlocal.in (CFLAGS):
179 Include WARNING_CFLAGS here.
180 * lib/xstrdup.c: Include xalloc.h, so that xstrdup be declared
181 before being defined.
183 2001-11-27 Paul Eggert <eggert@twinsun.com>
185 * lib/quotearg.h (quotearg_n, quotearg_n_style):
186 First arg is int, not unsigned.
187 * lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise.
188 (SIZE_MAX, UINT_MAX): New macros.
189 (quotearg_n_options): Abort if N is negative.
190 Avoid overflow check on hosts where size_t is 64 bits and int
191 is 32 bits, as overflow is impossible there.
192 Fix off-by-one typo that caused unnecessary reallocation.
194 2001-11-29 Paul Eggert <eggert@twinsun.com>
196 Name space cleanup in generated parser.
198 * doc/bison.texinfo (Bison Parser): Discuss system headers
199 and their effect on the user name space.
202 (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX,
203 YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define unless necessary,
204 i.e. unless ! defined (yyoverflow) || defined (YYERROR_VERBOSE).
206 (YYSIZE_T): New macro. Use it instead of size_t, to avoid infringing
207 on user names when possible.
209 (YYSTACK_USE_ALLOCA): Do not define; just use any existing defn.
210 Simplify test for whather <alloca.h> exists.
212 (<stdlib.h>): Include if we will use malloc, and if standard C or C++.
214 (<stdio.h>): Include if YYDEBUG.
216 (yymemcpy): Renamed from __yy_memcpy. Do not define unless
217 ! defined (yyoverflow) && ! defined (yymemcpy).
219 (yymemcpy, yyparse): Rename local variables as needed so that
220 they all begin with 'yy'.
222 (yystrlen, yystpcpy): New functions.
224 (YY_DECL_NON_LSP_VARIABLES): Renamed from _YY_DECL_VARIABLES.
227 (yyparse): size_t -> YYSIZE_T. Use yystrlen and yystpcpy
228 instead of relying on string.h functions. Use YYSTACK_ALLOC
229 and YYSTACK_FREE instead of malloc and free.
231 2001-11-30 Akim Demaille <akim@epita.fr>
233 * src/bison.simple (YYSTYPE, YYLTYPE): Move their definitions
234 before their first uses.
235 (YYBISON, YYPURE): Move to the top of the output.
237 2001-11-30 Akim Demaille <akim@epita.fr>
239 * tests/reduce.at (Useless Nonterminals): Fix.
241 2001-11-30 Akim Demaille <akim@epita.fr>
243 * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty
244 if body instead of `;' to pacify GCC's warnings.
246 2001-11-30 Akim Demaille <akim@epita.fr>
248 Instead of mapping the LHS of unused rules to -1, keep the LHS
249 valid, but flag the rules as invalid.
251 * src/gram.h (rule_t): `useful' is a new member.
252 * src/print.c (print_grammar): Adjust.
253 * src/derives.c (set_derives): Likewise.
254 * src/reader.c (packgram, reduce_output): Likewise.
255 * src/reduce.c (reduce_grammar_tables): Likewise.
256 * tests/reduce.at (Underivable Rules, Useless Rules): New.
258 2001-11-30 Akim Demaille <akim@epita.fr>
260 * src/reduce.c (reduce_output): Formatting changes.
261 * src/print.c (print_results, print_grammar): Likewise.
262 * tests/regression.at (Rule Line Numbers)
263 (Solved SR Conflicts, Unresolved SR Conflicts): Adjust.
265 2001-11-30 Akim Demaille <akim@epita.fr>
267 * src/reduce.c (nonterminals_reduce): Instead of throwing away
268 useless nonterminals, move them at the end of the symbol arrays.
269 (reduce_output): Adjust.
270 * tests/reduce.at (Useless Nonterminals): Adjust.
272 2001-11-30 Akim Demaille <akim@epita.fr>
274 * src/reduce.c: Various comment/formatting changes.
275 (nonterminals_reduce): New, extracted from...
276 (reduce_grammar_tables): here.
277 (reduce_grammar): Call nonterminals_reduce.
279 2001-11-29 Paul Eggert <eggert@twinsun.com>
281 * src/bison.simple (YYSTACK_REALLOC): Remove.
282 (YYSTACK_ALLOC): Resurrect this macro, with its old meaning.
283 (YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE):
285 (union yyalloc): New type.
286 (__yy_memcpy): Last arg is size_t, not unsigned int, to remove
287 an arbitrary restriction on hosts where size_t is wider than int.
289 (yyparse): Don't dump core if alloca or malloc fails; instead, report
290 a parser stack overflow. Allocate just one block of memory for all
291 three stacks, instead of allocating three blocks; this typically is
292 faster and reduces fragmentation.
294 Do not limit the number of items in the stack to a value that fits
295 in 'int', as this is an arbitrary limit on hosts with 64-bit
296 size_t and 32-bit int.
298 2001-11-29 Marc Autret <autret_m@epita.fr>
300 * tests/calc.at [AT_DATA_CALC_Y]: Use %error-verbose instead
301 of defining YYERROR_VERBOSE.
302 [AT_DATA]: $4 is now out of C declarations in the prologue.
304 2001-11-28 Marc Autret <autret_m@epita.fr>
306 * src/reader.c (parse_dquoted_param): New.
307 (parse_skel_decl): Use it.
308 * src/lex.h: Add its prototype.
309 * src/lex.c (literalchar): Become not static.
311 2001-11-28 Marc Autret <autret_m@epita.fr>
313 * src/output.h: And put its extern declaration here.
314 * src/output.c (error_verbose): Define here.
315 (prepare): Echo name modification.
316 * src/getargs.h: Clean its extern declaration.
317 * src/getargs.c (error_verbose_flag): Remove.
318 (getargs): Remove case 'e'.
319 * src/options.c (option_table): 'error-verbose' is now seen as simple
323 * src/reader.c (read_declarations): Remove case tok_include.
324 (parse_include_decl): Remove.
325 * src/lex.h (token_t): Remove tok_include.
326 * src/options.c (option_table): 'include' is now a simple command line
329 2001-11-28 Marc Autret <autret_m@epita.fr>
331 * src/bison.simple: Adjust muscle names.
332 * src/muscle_tab.c (muscle_init): Also rename the muscles.
333 * src/output.c (prepare): s/_/-/ for the muscles names.
334 (output_parser): When scanning for a muscle, allow '-' instead of '_'.
336 2001-11-28 Marc Autret <autret_m@epita.fr>
338 * src/bison.simple: Fix debug.
339 [YYERROR_VERBOSE]: Re-integrate as an internal macro.
341 2001-11-28 Akim Demaille <akim@epita.fr>
343 * src/LR0.c (shifts_new): New.
344 (save_shifts, insert_start_shift, augment_automaton): Use it.
346 2001-11-28 Akim Demaille <akim@epita.fr>
348 * src/closure.c (closure): `b' and `ruleno' denote the same value:
351 2001-11-28 Akim Demaille <akim@epita.fr>
353 * src/closure.c (closure): Instead of looping over word in array
354 then bits in words, loop over bits in array.
356 2001-11-28 Akim Demaille <akim@epita.fr>
358 * src/closure.c (closure): No longer optimize the special case
359 where all the bits of `ruleset[r]' are set to 0, to make the code
362 2001-11-28 Akim Demaille <akim@epita.fr>
364 * src/closure.c (closure): `r' and `c' are new variables, used to
365 de-obfuscate accesses to RULESET and CORE.
367 2001-11-28 Akim Demaille <akim@epita.fr>
369 * src/reduce.c (reduce_print): Use ngettext.
370 (dump_grammar): Improve the trace accuracy.
372 2001-11-28 Akim Demaille <akim@epita.fr>
374 * src/reduce.c (dump_grammar): Don't translate trace messages.
376 2001-11-28 Akim Demaille <akim@epita.fr>
378 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
379 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
380 as all tags are free'ed afterwards.
383 2001-11-27 Paul Eggert <eggert@twinsun.com>
385 * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to
386 use alloca when we didn't want to, and vice versa.
388 2001-11-27 Marc Autret <autret_m@epita.fr>
390 * src/muscle_tab.c (muscle_init): Remove 'verbose' muscle
392 * src/output.c (prepare): Remove its update.
394 2001-11-27 Marc Autret <autret_m@epita.fr>
396 * tests/torture.at [AT_DATA]: Remove YYERROR_VERBOSE definition.
399 2001-11-27 Marc Autret <autret_m@epita.fr>
401 * src/bison.simple: Remove YYERROR_VERBOSE using.
404 * src/output.c (prepare): Give its final value.
405 * src/muscle_tab.c (muscle_init): Init new muscle 'error_verbose'.
406 * src/getargs.h: Add its extern declaration.
407 * src/getargs.c (error_verbose_flag): New int.
408 (getargs): Update to catch new case.
409 * src/options.c (option_table): 'error-verbose' is a new option.
412 2001-11-27 Akim Demaille <akim@epita.fr>
414 * src/system.h: Use intl/libgettext.h.
415 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
417 2001-11-27 Akim Demaille <akim@epita.fr>
419 * tests/torture.at (Exploding the Stack Size with Malloc):
420 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
422 2001-11-27 Akim Demaille <akim@epita.fr>
424 * src/files.c: Include error.h.
425 Reported by Hans Aberg.
427 2001-11-26 Marc Autret <autret_m@epita.fr>
429 * src/reader.c (parse_include_decl): New, not yet implemented.
430 (read_declarations): Add case tok_include.
431 * src/getargs.h (include): Add its extern definition.
432 * src/getargs.c (include): New const char *.
433 (getargs): Add case '-I'.
434 * src/options.c (option_table): Add include as command line and
436 * src/lex.h (token_t): Add tok_include.
438 2001-11-26 Akim Demaille <akim@epita.fr>
440 * src/reader.c (readgram): Make sure rules for mid-rule actions
441 have a lineno equal to that of their host rule.
442 Reported by Hans Aberg.
443 * tests/regression.at (Rule Line Numbers): New.
445 2001-11-26 Akim Demaille <akim@epita.fr>
447 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
450 2001-11-26 Akim Demaille <akim@epita.fr>
452 * src/complain.c, src/complain.h (error): Remove, provided by
455 2001-11-26 Akim Demaille <akim@epita.fr>
457 * src/reader.c (read_declarations): Don't abort on tok_illegal,
458 issue an error message.
459 * tests/regression.at (Invalid %directive): New.
460 Reported by Hans Aberg.
462 2001-11-26 Akim Demaille <akim@epita.fr>
464 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
465 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
467 2001-11-26 Akim Demaille <akim@epita.fr>
469 * src/conflicts.c (conflicts_print): Don't complain at all when
470 there are no reduce/reduce conflicts, and as many shift/reduce
471 conflicts as expected.
472 * tests/regression.at (%expect right): Adjust.
474 2001-11-23 Akim Demaille <akim@epita.fr>
476 * lib/alloca.c: Update, from fileutils.
478 2001-11-23 Akim Demaille <akim@epita.fr>
480 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
482 2001-11-23 Akim Demaille <akim@epita.fr>
484 * src/system.h: Include alloca.h.
485 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
487 2001-11-23 Akim Demaille <akim@epita.fr>
489 * src/print_graph.c (print_actions): Remove `rule', unused.
490 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
491 pacify GCC's signed < unsigned warnings.
492 * src/closure.c (itemsetsize): Likewise.
493 * src/reader.c (symbol_list_new): Static.
495 2001-11-23 Akim Demaille <akim@epita.fr>
497 Attaching lineno to buckets is stupid, since only one copy of each
498 symbol is kept, only the line of the first occurrence is kept too.
500 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
501 * src/reader.c (rline_allocated): Remove, unused.
502 (symbol_list): Have a `line' member.
503 (symbol_list_new): New.
505 * src/print.c (print_grammar): Output the rule line numbers.
506 * tests/regression.at (Solved SR Conflicts)
507 (Unresolved SR Conflicts): Adjust.
508 Reported by Hans Aberg.
510 2001-11-22 Marc Autret <autret_m@epita.fr>
512 * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0.
514 2001-11-22 Marc Autret <autret_m@epita.fr>
516 * src/muscle_tab.c (muscle_init): Remove initialization of
518 * src/output.c (output_master_parser): Do it here.
520 2001-11-20 Akim Demaille <akim@epita.fr>
523 * configure.in (ALL_LINGUAS): Adjust.
524 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
525 longer contains strings to translate.
527 2001-11-19 Akim Demaille <akim@epita.fr>
529 * src/conflicts.c (conflicts_print): Add a missing \n.
531 2001-11-19 Akim Demaille <akim@epita.fr>
533 * src/nullable.c (nullable_print): New.
534 (set_nullable): Call it when tracing.
535 Better locality of variables.
537 2001-11-19 Akim Demaille <akim@epita.fr>
539 * src/print.c (print_actions): Better locality of variables.
541 2001-11-19 Akim Demaille <akim@epita.fr>
543 * src/derives.c (print_derives): Fix and enrich.
544 * src/closure.c (print_fderives): Likewise.
546 2001-11-19 Akim Demaille <akim@epita.fr>
548 * src/closure.c (itemsetend): Remove, replaced with...
551 2001-11-19 Akim Demaille <akim@epita.fr>
553 * src/LR0.c (kernel_end): Remove, replaced with...
556 2001-11-19 Akim Demaille <akim@epita.fr>
558 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
561 2001-11-19 Akim Demaille <akim@epita.fr>
563 * src/closure.c (closure): Use arrays instead of pointers to clarify.
565 2001-11-19 Akim Demaille <akim@epita.fr>
567 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
569 * src/LR0.c: Likewise.
570 (allocate_itemsets): Use arrays instead of pointers to clarify.
572 2001-11-19 Akim Demaille <akim@epita.fr>
574 * src/getargs.c (statistics_flag): Replace with...
576 (longopts): Accept --trace instead of --statistics.
577 * src/getargs.h, src/options.c: Adjust.
578 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
579 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
581 2001-11-19 Akim Demaille <akim@epita.fr>
583 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
584 pointers to clarify the code.
585 (save_reductions, save_shifts): Factor common parts of alternatives.
587 2001-11-19 Akim Demaille <akim@epita.fr>
589 * src/LR0.c (new_state, get_state): Complete TRACE code.
590 * src/closure.c: Include `reader.h' to get `tags', needed by the
592 Rename the conditional DEBUG as TRACE.
593 Output consistently TRACEs to stderr, not stdout.
594 * src/derives.c: Likewise.
595 * src/reduce.c: (inaccessable_symbols): Using if is better style
597 Use `#if TRACE' instead of `#if 0' for tracing code.
599 2001-11-19 Akim Demaille <akim@epita.fr>
601 * src/system.h (LIST_FREE, shortcpy): New.
602 * src/LR0.c: Use them.
603 * src/output.c (free_itemsets, free_reductions, free_shifts):
604 Remove, replaced by LIST_FREE.
606 2001-11-19 Akim Demaille <akim@epita.fr>
608 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
609 (REDUCTIONS_ALLOC): New.
610 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
613 2001-11-19 Akim Demaille <akim@epita.fr>
615 * src/LR0.c (new_state): Complete trace code.
616 * src/nullable.c (set_nullable): Don't translate traces.
618 2001-11-19 Akim Demaille <akim@epita.fr>
620 * src/print_graph.c (print_core): Better locality of variables.
621 * src/print.c (print_core): Likewise.
623 2001-11-19 Akim Demaille <akim@epita.fr>
625 * src/vcg.c: You do the output, so you are responsible of the
626 handling of VCG syntax, in particular: use quotearg.
627 * src/print_graph.c: Don't.
628 (print_actions): Don't output the actions as part of the nodes,
629 since that's the job of the edges.
630 (print_state): Don't output by hand: fill the node description,
631 and ask for its output.
633 2001-11-19 Akim Demaille <akim@epita.fr>
635 * src/bison.simple (yyparse): When verbosely reporting an error,
636 no longer put additional quotes around token names.
637 * tests/calc.at: Adjust.
639 2001-11-19 Akim Demaille <akim@epita.fr>
641 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
642 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
643 * src/output.c: Adjust.
645 2001-11-19 Akim Demaille <akim@epita.fr>
647 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
649 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
651 2001-11-19 Akim Demaille <akim@epita.fr>
653 * src/gram.h (rule_t): New.
655 (rrhs, rlhs): Remove, part of state_t.
656 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
657 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
658 * src/reader.c, src/reduce.c: Adjust.
660 2001-11-19 Akim Demaille <akim@epita.fr>
662 * src/reader.c (symbols_output): New, extracted from...
666 2001-11-19 Akim Demaille <akim@epita.fr>
668 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
669 (maxrhs): this new function.
671 2001-11-19 Akim Demaille <akim@epita.fr>
673 * src/lalr.c (F): New macro to access the variable F.
676 2001-11-19 Akim Demaille <akim@epita.fr>
678 * src/lalr.h (LA): New macro to access the variable LA.
679 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
680 * src/lalr.c: Adjust.
682 2001-11-19 Akim Demaille <akim@epita.fr>
684 * src/lalr.c (initialize_LA): Only initialize LA. Let...
685 (set_state_table): handle the `lookaheads' members.
687 2001-11-19 Akim Demaille <akim@epita.fr>
689 * src/lalr.h (lookaheads): Removed array, whose contents is now
691 (state_t): this structure.
692 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
695 2001-11-19 Akim Demaille <akim@epita.fr>
697 * src/lalr.h (consistent): Removed array, whose contents is now
699 (state_t): this structure.
700 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
703 2001-11-19 Akim Demaille <akim@epita.fr>
705 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
706 contents are now members of...
707 (state_t): this structure.
708 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
711 2001-11-19 Akim Demaille <akim@epita.fr>
713 * src/lalr.h (state_t): New.
714 (state_table): Be a state_t * instead of a core **.
715 (accessing_symbol): Remove, part of state_t.
716 * src/lalr.c: Adjust.
717 (set_accessing_symbol): Merge into...
718 (set_state_table): this.
719 * src/print_graph.c, src/conflicts.c: Adjust.
721 2001-11-14 Akim Demaille <akim@epita.fr>
723 * tests/calc.at, tests/output.at, tests/regression.at,
724 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
725 now the tests are run in private dirs, therefore AC_CLEANUP and
726 family can be simplified to 0-ary.
727 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
728 use abs. path to find config.h.
729 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
730 stderr, there can be way too much random noise.
731 Instead pass -Werror to GCC and rely on the exit status.
732 Reported by Wolfram Wagner.
734 2001-11-14 Akim Demaille <akim@epita.fr>
736 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
737 defined only if yyoverflow is defined, to avoid `warning: unused
739 Reported by The Test Suite.
741 2001-11-14 Akim Demaille <akim@epita.fr>
743 * src/print.c: Include reduce.h.
744 Reported by Hans Aberg.
746 2001-11-14 Akim Demaille <akim@epita.fr>
748 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
749 Revert a previous patch: these are really const.
750 * src/conflicts.c (conflict_report): Additional useless pair of
751 braces to pacify GCC's warnings for `if () if () {} else {}'.
752 * src/lex.c (parse_percent_token): Replace equal_offset with
755 Be sure to strdup `arg' when used, since there is no reason for
756 token_buffer not to change.
758 2001-11-14 Akim Demaille <akim@epita.fr>
760 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
762 * src/main.c (main): Use them.
763 Suggested by Hans Aberg.
765 2001-11-12 Akim Demaille <akim@epita.fr>
767 * src/system.h (ngettext): Now that we use ngettext, be sure to
768 provide a default definition when NLS are not used.
770 2001-11-12 Akim Demaille <akim@epita.fr>
772 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
773 Use @kbd to denote user input.
774 (Language and Grammar): ANSIfy the example.
775 Adjust its layout for info/notinfo.
776 (Location Tracking Calc): Output error messages to stderr.
777 Output locations in a more GNUtically correct way.
778 Fix a couple of Englishos.
779 Adjust @group/@end group pairs.
781 2001-11-12 Akim Demaille <akim@epita.fr>
783 %expext was not functioning at all.
785 * src/conflicts.c (expected_conflicts): Set to -1.
786 (conflict_report): Use ngettext.
787 (conflicts_print): Check %expect and make its violation an error.
788 * doc/bison.texinfo (Expect Decl): Adjust.
789 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
790 * tests/regression.at (%expect not enough, %expect right)
791 (%expect too much): New.
793 2001-11-12 Akim Demaille <akim@epita.fr>
795 * tests/regression.at (Conflicts): Rename as...
796 (Unresolved SR Conflicts): this.
797 (Solved SR Conflicts): New.
799 2001-11-12 Akim Demaille <akim@epita.fr>
801 * src/reduce.c (print_results): Rename as...
802 (reduce_output): This.
803 Output to OUT, passed as argument, instead of output_obstack.
804 (dump_grammar): Likewise.
807 (reduce_grammar): No longer call reduce_output, since...
808 * src/print.c (print_results): do it.
809 * src/main.c (main): Call reduce_free;
811 2001-11-12 Akim Demaille <akim@epita.fr>
813 * src/conflicts.c (print_reductions): Accept OUT as argument.
814 Output to it, not to output_obstack.
815 * src/print.c (print_actions): Adjust.
817 2001-11-12 Akim Demaille <akim@epita.fr>
819 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
820 the result instead of using...
821 (src_total, rrc_total, src_count, rrc_count): Remove.
822 (any_conflicts): Remove.
823 (print_conflicts): Split into...
824 (conflicts_print, conflicts_output): New.
825 * src/conflicts.h: Adjust.
826 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
827 * src/print.c (print_grammar): Issue `\n' between two rules.
828 * tests/regression.at (Conflicts): New.
829 Reported by Tom Lane.
831 2001-11-12 Akim Demaille <akim@epita.fr>
833 * tests/regression.at (Invalid input): Remove, duplicate with
834 ``Invalid input: 1''.
836 2001-11-12 Akim Demaille <akim@epita.fr>
838 * tests/torture.at (AT_DATA_STACK_TORTURE)
839 (Exploding the Stack Size with Alloca)
840 (Exploding the Stack Size with Malloc): New.
842 2001-11-12 Akim Demaille <akim@epita.fr>
844 * src/bison.simple (YYSTACK_REALLOC): New.
845 (yyparse) [!yyoverflow]: Use it and free the old stack.
846 Reported by Per Allansson.
848 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
850 * src/bison.simple: Define type yystype instead of YYSTYPE, and
851 define CPP macro, which substitute YYSTYPE by yystype.
852 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
853 with yyltype/YYLTYPE. This allows inclusion of the generated
854 header within the parser if the compiler, such as GGC, accepts
855 multiple equivalent #defines.
858 2001-11-05 Akim Demaille <akim@epita.fr>
860 * src/reader.c (symbols_output): New, extracted from...
864 2001-11-05 Akim Demaille <akim@epita.fr>
866 * src/lex.c (parse_percent_token): s/quotearg/quote/.
868 2001-11-05 Akim Demaille <akim@epita.fr>
870 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
873 2001-11-05 Akim Demaille <akim@epita.fr>
875 * src/options.h (struct option_table_struct): set_flags is void*.
876 * src/options.c (longopts): Support `--output' and `%output'.
878 * src/lex.h (tok_setopt): Remove, replaced with...
879 (tok_intopt, tok_stropt): these new guys.
880 * src/lex.c (getopt.h): Not needed.
881 (token_buffer, unlexed_token_buffer): Not const.
882 (percent_table): Promote `-' over `_' in directive names.
883 Active `%name-prefix', `file-prefix', and `output'.
884 (parse_percent_token): Accept possible arguments to directives.
885 Promote `-' over `_' in directive names.
887 2001-11-04 Akim Demaille <akim@epita.fr>
889 * doc/bison.texinfo (Decl Summary): Split the list into
890 `directives for grammars' and `directives for bison'.
892 Add description of `%name-prefix', `file-prefix', and `output'.
893 Promote `-' over `_' in directive names.
894 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
895 Simplify the description of `--name-prefix'.
896 Promote `-' over `_' in directive names.
897 Promote `--output' over `--output-file'.
898 Fix the description of `--defines'.
899 * tests/output.at: Exercise %file-prefix and %output.
901 2001-11-02 Akim Demaille <akim@epita.fr>
903 * doc/refcard.tex: Update.
905 2001-11-02 Akim Demaille <akim@epita.fr>
907 * src/symtab.h (SUNDEF): New.
908 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
909 stand for `uninitialized', instead of 0.
910 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
911 * src/lex.c (lex): Adjust.
913 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
915 Let yylex return it instead of a plain 0.
916 Reported by Dick Streefland.
918 2001-11-02 Akim Demaille <akim@epita.fr>
920 * tests/regression.at (Mixing %token styles): New test.
922 2001-11-02 Akim Demaille <akim@epita.fr>
924 * src/reader.c (parse_thong_decl): Formatting changes.
925 (token_translations_init): New, extracted from...
929 2001-11-01 Akim Demaille <akim@epita.fr>
931 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
932 Check that `9foo.y' produces correct cpp guards.
933 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
937 2001-11-01 Akim Demaille <akim@epita.fr>
939 * tests/regression.at (Invalid input: 2): New.
940 * src/lex.c (unlexed_token_buffer): New.
941 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
945 2001-11-01 Akim Demaille <akim@epita.fr>
947 * tests/calc.at: Catch up with 1.30.
948 * configure.in: Bump to 1.49a.
949 Adjust to newer Autotest.
951 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
953 * src/conflicts.c: Move global variables rrc_total and src_total ...
954 (print_conflicts): here.
955 * src/output.c (output): Free global variable user_toknums.
956 * src/lex.c (token_obstack): Become static.
958 2001-10-18 Akim Demaille <akim@epita.fr>
960 * tests/atlocal.in (GCC): Add.
961 * tests/calc.at: s/m4_match/m4_bmatch/.
962 s/m4_patsubst/m4_bpatsubst/.
963 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
964 * configure.in: AC_SUBST(GCC).
966 2001-10-14 Marc Autret <autret_m@epita.fr>
968 * src/options.c (create_long_option_table): Fix.
970 2001-10-10 Akim Demaille <akim@epita.fr>
972 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
974 2001-10-04 Akim Demaille <akim@epita.fr>
976 * src/reader.c (parse_union_decl): Push the caracters in
977 union_obstack, not attrs_obstack.
979 2001-10-04 Akim Demaille <akim@epita.fr>
981 Merge in the branch 1.29.
983 * src/reader.c (packsymbols): Use a temporary obstack for
984 `%%tokendef', since output_stack is already used elsewhere.
986 2001-10-02 Akim Demaille <akim@epita.fr>
990 2001-10-02 Akim Demaille <akim@epita.fr>
994 2001-10-02 Akim Demaille <akim@epita.fr>
996 * tests/regression.at (Invalid CPP headers): New.
997 From Alexander Belopolsky.
998 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
1000 2001-10-02 Akim Demaille <akim@epita.fr>
1002 * tests/regression.at (Invalid input): New.
1003 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
1006 2001-10-02 Akim Demaille <akim@epita.fr>
1008 * tests/calc.at: Now that --debug works, the tests must be adjusted.
1010 2001-10-02 Akim Demaille <akim@epita.fr>
1012 * src/output.c (output_parser): Assert `skeleton'.
1013 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
1017 2001-10-01 Marc Autret <autret_m@epita.fr>
1019 * src/lex.h: Echo modifications.
1020 * src/lex.c (unlex): Parameter is now token_t.
1023 2001-10-01 Marc Autret <autret_m@epita.fr>
1025 * src/main.c: Include lex.h.
1028 2001-09-29 Akim Demaille <akim@epita.fr>
1030 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
1032 2001-09-28 Akim Demaille <akim@epita.fr>
1034 * tests/testsuite.at: Update to newer Autotest.
1035 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
1037 2001-09-27 Akim Demaille <akim@epita.fr>
1039 Position independent wrapper.
1041 * tests/bison: Remove.
1042 * tests/bison.in: New.
1043 * configure.in: Adjust.
1045 2001-09-27 Paul Eggert <eggert@twinsun.com>
1047 Port quotearg fixes from tar 1.13.24.
1049 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
1051 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
1052 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
1054 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
1055 * m4/mbrtowc.m4: New file.
1056 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
1057 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
1059 2001-09-27 Akim Demaille <akim@epita.fr>
1063 2001-09-27 Akim Demaille <akim@epita.fr>
1067 2001-09-25 Akim Demaille <akim@epita.fr>
1069 * src/system.h: Include `xalloc.h'.
1070 Remove it from the C files.
1071 * src/files.c (output_files): Free the obstacks.
1072 * src/lex.c (init_lex): Rename as...
1075 * src/main.c (main): Use it.
1077 2001-09-24 Marc Autret <autret_m@epita.fr>
1079 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
1080 to output informations in fout (FILE*).
1081 (open_graph, close_graph): Likewise.
1082 (output_graph, output_edge, output_node): Likewise.
1083 * src/vcg.h: Update function prototypes.
1084 * src/print_graph.c (print_graph): Open output graph file.
1085 (print_actions): Adjust.
1086 * src/files.h: Remove extern declaration.
1087 * src/files.c: Remove graph_obstack declaration.
1088 (open_files): Remove graph_obstack initialization.
1089 (output_files): Remove graph_obstack saving.
1091 2001-09-24 Marc Autret <autret_m@epita.fr>
1093 * src/files.c (compute_output_file_names): Fix.
1095 2001-09-24 Marc Autret <autret_m@epita.fr>,
1096 Akim Demaille <akim@epita.fr>
1098 * src/reader.c (reader): Remove call to free_symtab ().
1099 * src/main.c (main): Call it here.
1101 * src/conflicts.c (initialize_conflicts): Rename as...
1102 (solve_conflicts): this.
1103 * src/print.c (print_core, print_actions, print_state)
1104 (print_grammar): Dump to a file instead a `output_obstack'.
1105 (print_results): Dump `output_obstack', and then proceed with the
1107 * src/files.c (compute_output_file_names, close_files): New.
1108 (output_files): Adjust.
1109 * src/main.c (main): Adjust.
1111 2001-09-23 Marc Autret <autret_m@epita.fr>
1113 * src/files.c (compute_header_macro): Computes header macro name
1114 from spec_defines_file when given.
1116 2001-09-23 Marc Autret <autret_m@epita.fr>
1118 * src/files.c (output_files): Add default extensions.
1120 2001-09-22 Akim Demaille <akim@epita.fr>
1122 * src/conflicts.c (finalize_conflicts): Rename as...
1123 (free_conflicts): this.
1125 2001-09-22 Akim Demaille <akim@epita.fr>
1127 * src/gram.c (gram_free): Rename back as...
1129 (output_token_translations): Free `token_translations'.
1130 * src/symtab.c (free_symtab): Free the tag field.
1132 2001-09-22 Akim Demaille <akim@epita.fr>
1134 Remove `translations' as it is always set to true.
1136 * src/gram.h: Adjust.
1137 * src/reader.c (packsymbols, parse_token_decl): Adjust
1138 * src/print.c (print_grammar): Adjust.
1139 * src/output.c (output_token_translations): Adjust.
1140 * src/lex.c (lex): Adjust.
1141 * src/gram.c: Be sure the set pointers to NULL.
1142 (dummy): Rename as...
1145 2001-09-22 Akim Demaille <akim@epita.fr>
1147 * configure.in: Invoke AM_LIB_DMALLOC.
1148 * src/system.h: Use dmalloc.
1149 * src/LR0.c: Be sure to have pointers initialized to NULL.
1150 (allocate_itemsets): Allocate kernel_items only if needed.
1152 2001-09-22 Akim Demaille <akim@epita.fr>
1154 * configure.in: Bump to 1.29b.
1155 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
1156 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
1157 need xmalloc.c in calc.y.
1160 2001-09-21 Akim Demaille <akim@epita.fr>
1163 * Makefile.maint, config/config.guess, config/config.sub,
1164 * config/missing: Update from masters.
1165 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
1167 * configure.in (ALL_LINGUAS): Add `tr'.
1169 2001-09-21 Akim Demaille <akim@epita.fr>
1171 * tests/Makefile.am (package.m4): Move to...
1172 ($(srcdir)/$(TESTSUITE)): here.
1174 2001-09-20 Akim Demaille <akim@epita.fr>
1176 * src/complain.c: No longer try to be standalone: use system.h.
1177 Don't assume __STDC__ is defined to 1. Just test if it is defined.
1178 * src/complain.h: Likewise.
1179 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
1180 Remove the unused variable `n'.
1181 From Albert Chin-A-Young.
1183 2001-09-18 Marc Autret <autret_m@epita.fr>
1185 * doc/bison.1: Update.
1186 * doc/bison.texinfo (Bison Options): Update --defines and --graph
1188 (Option Cross Key): Update.
1191 2001-09-18 Marc Autret <autret_m@epita.fr>
1193 * tests/regression.at: New test (comment in %union).
1195 2001-09-18 Marc Autret <autret_m@epita.fr>
1197 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
1199 Reported by Keith Browne.
1201 2001-09-18 Marc Autret <autret_m@epita.fr>
1203 * tests/output.at: Add tests for --defines and --graph.
1205 2001-09-18 Marc Autret <autret_m@epita.fr>
1207 * tests/output.at: Removes tests of %{header,src}_extension features.
1209 2001-09-18 Akim Demaille <akim@epita.fr>
1211 * tests/Makefile.am (package.m4): New.
1212 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
1213 (_AT_CHECK_CALC_ERROR): Likewise.
1214 Factor the `, ' part of verbose error messages.
1216 2001-09-18 Marc Autret <autret_m@epita.fr>
1218 * src/getargs.c (longopts): Declare --defines and --graph as options
1219 with optional arguments.
1220 * src/files.h: Add extern declarations.
1221 * src/files.c (spec_graph_file, spec_defines_file): New.
1222 (output_files): Update.
1223 Remove CPP-outed code.
1225 2001-09-18 Marc Autret <autret_m@epita.fr>
1227 Turn off %{source,header}_extension feature.
1229 * src/files.c (compute_exts_from_gf): Update.
1230 (compute_exts_from_src): Update.
1231 (output_files): CPP-out useless code.
1232 * src/files.h: Remove {header,source}_extension extern declarations.
1233 * src/reader.c (parse_dquoted_param): CPP-out.
1234 (parse_header_extension_decl): Remove.
1235 (parse_source_extension_decl): Remove.
1236 (read_declarations): Remove cases tok_{hdrext,srcext}.
1237 * src/lex.c (percent_table): Remove {header,source}_extension entries.
1238 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
1240 2001-09-10 Akim Demaille <akim@epita.fr>
1242 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
1243 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
1244 (AT_CHECK_OUTPUT): this.
1245 Merely check ls' exit status, its output is useless.
1247 2001-09-10 Akim Demaille <akim@epita.fr>
1249 * tests/calc.at: Use m4_match.
1250 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
1252 2001-09-10 Marc Autret <autret_m@epita.fr>,
1253 Akim Demaille <akim@epita.fr>
1255 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
1257 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
1259 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
1260 * src/lex.h: Adjust prototype.
1261 (token_t): Add `tok_undef'.
1262 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
1263 (parse_percent_token): Now returns token_t.
1264 Add default statement in switch.
1265 (lex): Separate `c' as an input variable, from the token_t result
1267 (unlexed): Is a token_t.
1269 2001-09-10 Akim Demaille <akim@epita.fr>
1271 * configure.in: Bump to 1.29a.
1273 2001-09-07 Akim Demaille <akim@epita.fr>
1277 2001-08-30 Akim Demaille <akim@epita.fr>
1279 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
1280 * m4/atconfig.m4: Remove.
1281 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
1283 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
1284 m4_if, m4_patsubst, and m4_regexp.
1285 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
1286 `input' file instead of echo.
1288 2001-08-29 Akim Demaille <akim@epita.fr>
1292 2001-08-29 Akim Demaille <akim@epita.fr>
1296 2001-08-29 Paul Eggert <eggert@twinsun.com>
1298 * src/bison.simple (yyparse): Don't take the address of an
1299 item before the start of an array, as that doesn't conform to
1302 2001-08-29 Robert Anisko <anisko_r@epita.fr>
1304 * doc/bison.texinfo (Location Tracking Calc): New node.
1306 2001-08-29 Paul Eggert <eggert@twinsun.com>
1308 * src/output.c (output): Do not define const, as this now
1309 causes more problems than it cures.
1311 2001-08-29 Akim Demaille <akim@epita.fr>
1313 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
1315 Be sure to tag the `detailmenu'.
1317 2001-08-29 Akim Demaille <akim@epita.fr>
1319 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
1320 download in a tmp dir.
1322 2001-08-28 Marc Autret <autret_m@epita.fr>
1324 * config/depcomp: New file.
1326 2001-08-28 Marc Autret <autret_m@epita.fr>
1328 * doc/bison.1 (mandoc): Adjust.
1329 From Juan Manuel Guerrero.
1331 2001-08-28 Marc Autret <autret_m@epita.fr>
1333 * src/print_graph.c (print_state): Fix.
1335 2001-08-27 Marc Autret <autret_m@epita.fr>
1337 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
1339 Echo modifications to the functions prototypes.
1340 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
1342 2001-08-27 Marc Autret <autret_m@epita.fr>
1344 * src/vcg.c: Include `xalloc.h'.
1345 (add_colorentry): New.
1346 (add_classname): New.
1347 (add_infoname): New.
1348 * src/vcg.h: Add new prototypes.
1350 2001-08-27 Akim Demaille <akim@epita.fr>
1352 * Makefile.maint: Sync. again with CVS Autoconf.
1354 2001-08-27 Akim Demaille <akim@epita.fr>
1356 * Makefile.maint: Formatting changes.
1357 (po-update, cvs-update, update): New targets.
1360 2001-08-27 Akim Demaille <akim@epita.fr>
1362 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1363 * Makefile.maint: Sync. with CVS Autoconf.
1365 2001-08-27 Marc Autret <autret_m@epita.fr>
1367 * src/vcg.h (struct infoname_s): New.
1368 (struct colorentry_s): New.
1369 (graph_s): New fields {vertical,horizontal}_order in structure.
1370 Add `infoname' field.
1371 Add `colorentry' field;
1372 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
1373 (G_HORIZONTAL_ORDER): New.
1375 (G_COLORENTRY): New.
1376 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
1377 Add output of `infoname'.
1378 Add output of `colorentry'.
1380 2001-08-27 Marc Autret <autret_m@epita.fr>
1382 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
1383 This one shadowed a global parameter.
1385 2001-08-24 Marc Autret <autret_m@epita.fr>
1387 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
1388 instead of `unsigned'.
1389 (print_state): Do not call obstack_object_size () in obstack_grow ()
1390 to avoid macro variables shadowing.
1392 2001-08-23 Marc Autret <autret_m@epita.fr>
1394 * src/lex.c (percent_table): Typo: s/naem/name/.
1396 Normalize new options declarations.
1398 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1400 * tests/suite.at: Exercise %header_extension and %source_extension.
1402 2001-08-16 Marc Autret <autret_m@epita.fr>
1404 * src/reader.c (parse_dquoted_param): New.
1405 (parse_header_extension_decl): Use it.
1406 (parse_source_extension_decl): Likewise.
1408 2001-08-16 Marc Autret <autret_m@epita.fr>
1410 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1411 (get_xxxx_str): Use assert () instead of complain ().
1412 Remove return invokations in default cases.
1413 (get_decision_str): Modify default behaviour. Remove second argument.
1414 Echo modifications on calls.
1415 (output_graph): Fix.
1417 2001-08-16 Marc Autret <autret_m@epita.fr>
1419 * src/getargs.c (usage): Update with ``-g, --graph''.
1421 2001-08-16 Marc Autret <autret_m@epita.fr>
1423 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1424 (Option Cross Key): Likewise.
1425 * doc/bison.1: Update.
1427 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
1429 * src/output.c (output_master_parser): Don't finish action_obstack.
1430 (output_parser): Don't care about the muscle action, here.
1431 (prepare): Copy the action_obstack in the action muscle.
1432 (output): Free action_obstack.
1434 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
1436 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
1437 will contain `%union' declaration.
1438 (parse_union_decl): Delete #line directive output.
1439 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
1440 informations about %union.
1441 (parse_union_decl): Copy the union_obstack in the muscle stype.
1442 * src/bison.simple: Add new #line directive.
1443 Add typdef %%stype YYSTYPE.
1445 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
1447 * src/bison.simple: Add new `#line' directive.
1449 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
1451 * src/bison.simple: New `#line' directive.
1452 * src/output.c (output_parser): Support new dynamic muscle input_line.
1454 2001-09-22 Marc Autret <autret_m@epita.fr>
1456 * src/output.c (output_master_parser): New.
1457 (output_parser): Be more re-entrant.
1459 2001-09-21 Marc Autret <autret_m@epita.fr>
1461 * src/reader.c (copy_definition, parse_union_decl): Update and use
1463 (copy_action): Likewise.
1464 Use obstack_1grow ().
1465 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
1467 2001-09-21 Marc Autret <autret_m@epita.fr>
1469 * src/options.c (option_table): Adjust.
1470 * src/lex.c (parse_percent_token): Fix.
1472 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
1474 * src/options.c (symtab.h): Include it, need by lex.h.
1476 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
1478 * src/lex.c (parse_percent_token): Change type of variable `tx', which
1479 is now an option_table_struct*.
1480 (option_strcmp): New function option_strcmp.
1481 (parse_percent_token): Call option_strcmp.
1482 * src/getargs.c (xalloc.h, options.h): Include it.
1483 (getargs): Call create_long_option_table.
1484 (getargs): Free longopts at the end of the function.
1485 (shortopts): Move in options.c.
1486 * src/options.c (create_long_option_table): New function. Convert
1487 information from option_table to option structure.
1488 * src/reader.c (options.h): Include it.
1490 * src/Makefile.am: Adjust.
1491 * src/options.c (option_table): Create from longopts and percent_table.
1492 * src/getargs.c (longopts): Delete.
1493 * src/lex.c (struct percent_table_struct): Delete.
1494 (percent_table): Delete.
1495 (options.h): Include it.
1496 * src/options.c: Create.
1497 * src/options.h: Create.
1498 Declare enum opt_access_e.
1499 Define struct option_table_struct.
1501 2001-09-20 Marc Autret <autret_m@epita.fr>
1503 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
1506 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
1508 * src/bison.simple: s/%%filename/%%skeleton.
1509 * src/muscle_tab.c (getargs.h): Include it.
1510 (muscle_init): Insert new muscle skeleton.
1512 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
1514 * src/output.c (output_parser): Delete unused variable actions_dumped.
1516 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
1518 * src/output.c (output): Delete call to reader_output_yylsp.
1519 * src/reader.c (reader): Likewise.
1520 * src/reader.h: Delete declaration of reader_output_yylsp.
1522 2001-09-02 Marc Autret <autret_m@epita.fr>
1524 * src/reader.c: Include muscle_tab.h.
1525 (parse_union_decl): Update.
1526 (parse_macro_decl): Rename parse_muscle_decl.
1527 Update to use renamed functions and variable.
1528 (read_declarations, copy_action, read_additionnal_code, : Updated
1529 with correct variables and functions names.
1530 (packsymbols, reader): Likewise.
1532 * src/reader.h (muscle_obstack): Extern declaration update.
1534 * src/output.c: Include muscle_tab.h
1535 In all functions using macro_insert, change by using muscle_insert ().
1536 (macro_obstack): Rename muscle_obstack.
1537 Echo modifications in the whole file.
1538 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1539 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1540 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1542 * src/muscle_tab.h: Update double inclusion macros.
1543 (macro_entry_s): Rename muscle_entry_s.
1546 * src/muscle_tab.c: Include muscle_tab.h.
1547 Rename macro_tabble to muscle_table.
1548 (mhash1, mhash2, mcmp): Use muscle_entry.
1549 (macro_init): Rename muscle_init. Update.
1550 (macro_insert): Rename muscle_insert. Update.
1551 (macro_find): Rename muscle_find. Update.
1553 * src/main.c: Include muscle_tab.h.
1554 (main): Call muscle_init ().
1555 * src/Makefile.am (bison_SOURCES): Echo modifications.
1557 2001-09-02 Marc Autret <autret_m@epita.fr>
1559 Now the files macro_tab.[ch] are named muscle_tab.[ch].
1561 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1563 2001-09-02 Marc Autret <autret_m@epita.fr>
1565 * src/macrotab.c, src/macrotab.h: Remove.
1567 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
1569 * src/reader.c (copy_guard): Use muscle to specify the `#line'
1572 2001-09-01 Marc Autret <autret_m@epita.fr>
1574 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1575 to an explicit value to activate the feature. We do it here.
1577 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1579 * src/output.c (prepare): Delete the `filename' muscule insertion.
1580 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1581 (parse_union_decl): Likewise.
1582 * src/macrotab.c (macro_init): Initialize filename by infile.
1584 2001-08-31 Marc Autret <autret_m@epita.fr>
1586 * src/bison.simple (YYLSP_NEEDED): New definition.
1587 * src/output.c (prepare): Add macro insertion of `locations_flag'
1589 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1591 * src/output.c (prepare): Delete insertion of previous muscles,
1592 and insert the `prefix' muscles.
1593 * src/macrotab.c (macro_init): Likewise.
1594 (macro_init): Initialization prefix directive by `yy'.
1595 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
1596 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1597 yylval, yydebug, yyerror, yynerrs and yyparse.
1598 New directive `#define' to substitute yydebug, ... with option
1601 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1603 * src/main.c (main): Standardize.
1604 * src/output.c (output_table_data, output_parser): Likewise.
1605 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1607 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1609 * src/reader.c (read_additionnal_code): Rename %%user_code to
1611 * src/output.c (output): Rename %%declarations to %%prologue.
1612 * src/bison.simple: Echo modifications.
1614 2001-08-31 Marc Autret <autret_m@epita.fr>
1616 * src/reader.c (readgram): CleanUp.
1617 (output_token_defines): Likewise.
1618 (packsymbols): Likewise.
1620 * src/output.c (output): CPP-out useless code.
1622 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
1624 * src/reader.c (reader): Delete obsolete call to function
1625 output_trailers and output_headers.
1626 * src/output.h: Remove obsolete functions prototypes of output_headers
1627 and output_trailers.
1629 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
1631 * src/main.c: Include macrotab.h.
1632 * src/macrotab.h (macro_entry_s): Constify fields.
1633 Adjust functions prototypes.
1634 * src/macrotab.c (macro_insert): Constify key and value.
1635 (macro_find): Constify key.
1636 (macro_insert): Include 'xalloc.h'
1637 (macro_insert): Use XMALLOC.
1638 (macro_find): Constify return value.
1639 * src/output.c (output_table_data): Rename table to table_data.
1640 (output_parser): Constify macro_key, macro_value.
1642 2001-08-30 Marc Autret <autret_m@epita.fr>
1644 * src/reader.c (parse_skel_decl): New.
1645 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
1646 * src/lex.h (token_t): New token `tok_skel'.
1647 * src/lex.c (percent_table): Add skeleton option entry.
1650 2001-08-29 Marc Autret <autret_m@epita.fr>
1652 * src/bison.simple: Add %%user_code directive at the end.
1653 * src/reader.c (read_additionnal_code): New.
1655 * src/output.c (output_program): Remove.
1658 2001-08-28 Marc Autret <autret_m@epita.fr>
1660 * src/output.c (output_actions): Clean up.
1661 (output_gram): CPP-out useless code.
1662 * src/reader.c (reader): Clean up, CPP-out useless code.
1664 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
1666 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
1668 * src/bison.simple: Add `%%definitions'.
1670 2001-08-28 Marc Autret <autret_m@epita.fr>
1672 * config/depcomp: New file.
1674 2001-08-27 Paul Eggert <eggert@twinsun.com>
1676 * src/bison.simple (yyparse): Don't take the address of an
1677 item before the start of an array, as that doesn't conform to
1680 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1682 * src/output.c (output): Remove the initialization of the macro
1683 obstack. It was done too late here.
1685 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1687 (reader): Initialize the macro obstack here, since we need it to grow
1688 '%define' directives.
1690 * src/reader.h: Declare the macro obstack as extern.
1692 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
1694 * src/output.c (output_parser): Fix. Store single '%' characters in
1695 the output obstack instead of throwing them away.
1697 2001-08-27 Akim Demaille <akim@epita.fr>
1699 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1701 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1703 * lib/Makefile.am: Adjust.
1705 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1707 * src/bison.simple: Update and add '%%' directives.
1709 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1711 * src/reader.c (reader): Remove calls to 'output_headers' and
1712 'output_trailers'. Remove some C output.
1713 (readgram): Disable a piece of code that was writing a default
1714 definition for 'YYSTYPE'.
1715 (reader_output_yylsp): Remove.
1716 (packsymbols): Output token defintions to a macro.
1717 (copy_definition): Disable C output.
1719 * src/reader.c (parse_macro_decl): New function used to parse macro
1721 (copy_string2): Put the body of copy_string into this new function.
1722 Add a parameter to let the caller choose whether he wants to copy the
1723 string delimiters or not.
1724 (copy_string): Be a simple call to copy_string2 with the last argument
1726 (read_declarations): Add case for macro definition.
1727 (copy_identifier): New.
1728 (parse_macro_decl): Read macro identifiers using copy_identifier
1731 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1733 * src/output.c (prepare): Add prefixed names.
1734 (output_parser): Output semantic actions.
1735 (output_parser): Fix bug on '%%line' directives.
1737 * src/output.c (output_headers): Remove. The C code printed by this
1738 function should now be in the skeletons.
1739 (output_trailers): Remove.
1740 (output): Disable call to 'reader_output_yylsp'.
1741 (output_rule_data): Do not output tables to the table obstack.
1743 * src/output.c: Remove some C dedicated output.
1744 Improve the use of macro and output obstacks.
1745 (output_defines): Remove.
1747 * src/output.c (output_token_translations): Associate 'translate'
1748 table with a macro. No output to the table obstack.
1749 (output_gram): Same for 'rhs' and 'prhs'.
1750 (output_stos): Same for 'stos'.
1751 (output_rule_data): Same for 'r1' and 'r2'.
1752 (token_actions): Same for 'defact'.
1753 (goto_actions): Same for 'defgoto'.
1754 (output_base): Same for 'pact' and 'pgoto'.
1755 (output_table): Same for 'table'.
1756 (output_check): Same for 'check'.
1758 * src/output.c (output_table_data): New function.
1759 (output_short_table): Remove.
1760 (output_short_or_char_table): Remove.
1762 * src/output.c (output_parser): Replace most of the skeleton copy code
1763 with something new. Skeletons are now processed character by character
1764 rather than line by line, and Bison looks for '%%' macros. This is the
1765 first step in making Bison's output process (a lot) more flexible.
1766 (output_parser): Use the macro table.
1768 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1770 * src/main.c (main): Initialize the macro table.
1772 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1774 * src/lex.c (percent_table): Add tok_define.
1775 * src/lex.h: Add tok_define.
1777 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1779 * src/macrotab.c: New file.
1780 * src/macrotab.h: New file.
1781 * src/Makefile.am: Update.
1783 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1785 * lib/hash.c: New file.
1786 * lib/hash.h: New file.
1787 * lib/Makefile.am: Update.
1789 2001-08-15 Akim Demaille <akim@epita.fr>
1793 2001-08-15 Marc Autret <autret_m@epita.fr>
1795 * src/reader.c (readgram): Indent output macro YYSTYPE.
1796 (packsymbols): Likewise.
1797 (output_token_defines): Likewise.
1798 * src/files.c: Standardize.
1799 (compute_header_macro): New.
1800 (defines_obstack_save): New. Use compute_header_macro.
1801 (output_files): Update. Use defines_obstack_save.
1803 2001-08-15 Akim Demaille <akim@epita.fr>
1805 * doc/bison.texinfo (Table of Symbols): Document
1808 2001-08-15 Akim Demaille <akim@epita.fr>
1810 * missing: Update from CVS Automake.
1811 * config/config.guess, config/config.sub, config/texinfo.tex:
1812 Update from gnu.org.
1814 2001-08-15 Akim Demaille <akim@epita.fr>
1816 * Makefile.maint: Sync with CVS Autoconf.
1818 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1820 * doc/bison.texinfo: Include GNU Free Documentation License from
1822 * doc/fdl.texi: Add to package.
1824 2001-08-14 Marc Autret <autret_m@epita.fr>
1826 Turn on %{source,header}_extension features.
1828 * src/lex.c (percent_table): Un-CPP out header_extension and
1830 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1831 (compute_exts_from_src): Remove conditions. It restores priorities
1834 2001-08-14 Marc Autret <autret_m@epita.fr>
1836 * src/files.c (compute_base_names): Add extensions computing when
1837 `--file-prefix' used.
1838 Standardize function calls.
1840 2001-08-13 Marc Autret <autret_m@epita.fr>
1842 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1843 defining it (defined but null disables alloca).
1845 2001-08-13 Marc Autret <autret_m@epita.fr>
1847 * src/bison.simple (_yy_memcpy): CPP reformat.
1849 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1851 * tests/atconfig.in (CPPFLAGS): Fix.
1853 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1855 * doc/bison.texinfo: Include GNU General Public License from
1857 * doc/gpl.texi: Add to package.
1859 2001-08-10 Marc Autret <autret_m@epita.fr>
1861 * src/print_graph.h: Fix.
1862 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1864 2001-08-10 Akim Demaille <akim@epita.fr>
1866 * src/system.h: Provide default declarations for stpcpy, strndup,
1869 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1871 * doc/bison.texinfo (Locations): Update @$ stuff.
1873 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1875 * src/bison.simple (YYLLOC_DEFAULT): Update.
1878 2001-08-08 Marc Autret <autret_m@epita.fr>
1880 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1881 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1882 Reported by Fabrice Bauzac.
1884 2001-08-08 Marc Autret <autret_m@epita.fr>
1886 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1887 * src/vcg.c (output_node): Fix.
1888 * src/vcg.h: Cleanup.
1889 * src/print_graph.c: Add comments.
1890 (node_output_size): New global variable. Simplify the formatting of
1891 the VCG graph output.
1892 (print_actions): Unused code is now used. It notifies the final state
1893 and no action states in the VCG graph. It also give the reduce actions.
1894 The `shift and goto' edges are red and the `go to state' edges are
1896 Get the current node name and node_obstack by argument.
1897 (node_obstack): New variable.
1898 (print_state): Manage node_obstack.
1899 (print_core): Use node_obstack given by argument.
1900 A node is not only computed here but in print_actions also.
1901 (print_graph): CPP out useless code instead of commenting it.
1903 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1905 * tests/atconfig.in (CPPFLAGS): Fix.
1907 2001-08-07 Akim Demaille <akim@epita.fr>
1909 * src/print_graph.c (quote): New.
1910 (print_core): Use it.
1912 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1914 * src/vcg.c (complain.h): Include it.
1915 Unepitaize `return' invocations.
1916 [NDEBUG] (main): Remove.
1917 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1918 * src/files.c (open_files): Initialize graph_obstack.
1919 * src/print_graph.c (print_actions): CPP out useless code.
1920 (print_core): Don't output the last `\n' in labels.
1922 * src/files.c (output_files): Output the VCG file.
1923 * src/main.c (main): Invoke print_graph ();
1925 2001-08-06 Marc Autret <autret_m@epita.fr>
1927 Automaton VCG graph output.
1928 Using option ``-g'' or long option ``--graph'', you can generate
1929 a gram_filename.vcg file containing a VCG description of the LALR (1)
1930 automaton of your grammar.
1932 * src/main.c: Call to print_graph() function.
1933 * src/getargs.h: Update.
1934 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1935 (graph_flag): New flag.
1937 (getargs): Add case `g'.
1938 * src/files.c (graph_obstack): New obstack struct.
1939 (open_files): Initialize new obstack.
1940 (output_files): Saves graph_obstack if required.
1941 * src/files.h (graph_obstack): New extern declaration.
1942 * src/Makefile.am: Add new source files.
1944 2001-08-06 Marc Autret <autret_m@epita.fr>
1946 * src/print_graph.c, src/print_graph.h (graph): New.
1947 * src/vcg.h: New file.
1948 * src/vcg.c: New file, VCG graph handling.
1950 2001-08-06 Marc Autret <autret_m@epita.fr>
1952 Add of %source_extension and %header_extension which specify
1953 the source or/and the header output file extension.
1955 * src/files.c (compute_base_names): Remove initialisation of
1956 src_extension and header_extension.
1957 (compute_exts_from_gf): Update.
1958 (compute_exts_from_src): Update.
1959 (output_files): Update.
1960 * src/reader.c (parse_header_extension_decl): New.
1961 (parse_source_extension_decl): New.
1962 (read_declarations): New case statements for the new tokens.
1963 * src/lex.c (percent_table): Add entries for %source_extension
1964 and %header_extension.
1965 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1967 2001-08-06 Marc Autret <autret_m@epita.fr>
1969 * configure.in: Bump to 1.28c.
1970 * doc/bison.texinfo: Texinfo thingies.
1972 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1974 * tests/atconfig.in (CPPFLAGS): Add.
1975 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1977 2001-08-03 Akim Demaille <akim@epita.fr>
1981 2001-08-03 Akim Demaille <akim@epita.fr>
1983 * tests/Makefile.am (check-local): Ship testsuite.
1984 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1987 2001-08-03 Akim Demaille <akim@epita.fr>
1989 * configure.in: Try using -Wformat when compiling.
1991 2001-08-03 Akim Demaille <akim@epita.fr>
1993 * configure.in: Bump to 1.28b.
1995 2001-08-03 Akim Demaille <akim@epita.fr>
1997 * src/complain.c: Adjust strerror_r portability issues.
1999 2001-08-03 Akim Demaille <akim@epita.fr>
2003 2001-08-03 Akim Demaille <akim@epita.fr>
2005 * src/getargs.c, src/getarg.h (skeleton)): Constify.
2006 * src/lex.c (literalchar): Avoid name clashes on `buf'.
2007 * src/getargs.c: Include complain.h.
2008 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
2009 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
2011 2001-08-03 Akim Demaille <akim@epita.fr>
2013 * src/reader.c (readgram): Display hidden chars in error messages.
2015 2001-08-03 Akim Demaille <akim@epita.fr>
2017 Update to gettext 0.10.39.
2019 2001-08-03 Akim Demaille <akim@epita.fr>
2021 * lib/strspn.c: New.
2023 2001-08-01 Marc Autret <autret_m@epita.fr>
2025 * doc/bison.texinfo: Update.
2026 * doc/bison.1 (mandoc): Update.
2027 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
2028 * src/files.c: Support output files extensions computing.
2029 (src_extension): New static variable.
2030 (header_extension): New static variable.
2032 (get_extension_index): New function, gets the index of an extension
2033 filename in a string.
2034 (compute_exts_from_gf): New function, computes extensions from the
2035 grammar file extension.
2036 (compute_exts_from_src): New functions, computes extensions from the
2037 C source file extension, file given by ``-o'' option.
2038 (compute_base_names): Update.
2039 (output_files): Update.
2041 2001-08-01 Robert Anisko <anisko_r@epita.fr>
2043 * doc/bison.texi: Document @$.
2044 (Locations): New section.
2046 2001-07-18 Akim Demaille <akim@epita.fr>
2048 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
2049 * config/prev-version.txt, config/move-if-change: New.
2050 * Makefile.am: Adjust.
2052 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
2054 * src/bison.simple (yyparse): Suppress warning `comparaison
2055 between signed and unsigned'.
2057 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
2059 * src/getargs.h (raw_flag): Remove.
2060 * src/getargs.c: Die on `-r'/`--raw'.
2061 * src/lex.c (parse_percent_token): Die on `%raw'.
2062 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
2063 * tests/calc.at: Suppress test with option `--raw'.
2065 2001-07-14 Akim Demaille <akim@epita.fr>
2068 * configure.in: Require Autoconf 2.50.
2069 Update to gettext 0.10.38.
2071 2001-03-16 Akim Demaille <akim@epita.fr>
2073 * doc/bison.texinfo: ANSIfy the examples.
2075 2001-03-16 Akim Demaille <akim@epita.fr>
2077 * getargs.c (skeleton): New variable.
2078 (longopts): --skeleton is a new option.
2079 (shortopts, getargs): -S is a new option.
2080 * getargs.h: Declare skeleton.
2081 * output.c (output_parser): Use it.
2083 2001-03-16 Akim Demaille <akim@epita.fr>
2085 * m4/strerror_r.m4: New.
2086 * m4/error.m4: Run AC_FUNC_STRERROR_R.
2087 * lib/error.h, lib/error.c: Update.
2089 2001-03-16 Akim Demaille <akim@epita.fr>
2091 * src/getargs.c (longopts): Clean up.
2093 2001-02-21 Akim Demaille <akim@epita.fr>
2095 * src/reader.c (gensym): `gensym_count' is your own.
2096 Use a static buf to create the symbol name, as token_buffer is no
2099 2001-02-08 Akim Demaille <akim@epita.fr>
2101 * src/conflicts.c (conflict_report): Be sure not to append to res
2102 between two calls, which could happen if both first sprintf were
2103 skipped, but not the first cp += strlen.
2105 2001-02-08 Akim Demaille <akim@epita.fr>
2107 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
2108 New, from fileutils 4.0.37.
2109 * configure.in: Require Autoconf 2.49c. I took some time before
2110 making this decision. This is the only way out for portability
2111 issues in Bison, it would mean way too much duplicate effort to
2112 import in Bison features implemented in 2.49c since 2.13.
2113 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
2115 2001-02-02 Akim Demaille <akim@epita.fr>
2117 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
2118 * lib/xalloc.h, lib/xmalloc.c: Update.
2120 2001-01-19 Akim Demaille <akim@epita.fr>
2122 Get rid of the ad hoc handling of token_buffer in the scanner: use
2125 * src/lex.c (token_obstack): New.
2126 (init_lex): Initialize it. No longer call...
2127 (grow_token_buffer): this. Remove it.
2128 Adjust all the places which used it to use the obstack.
2130 2001-01-19 Akim Demaille <akim@epita.fr>
2132 * src/lex.h: Rename all the tokens:
2133 s/\bENDFILE\b/tok_eof/g;
2134 s/\bIDENTIFIER\b/tok_identifier/g;
2136 Let them be enums, not #define, to ease debugging.
2137 Adjust all the code.
2139 2001-01-18 Akim Demaille <akim@epita.fr>
2141 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
2142 * src/lex.c (maxtoken, grow_token_buffer): Static.
2144 2001-01-18 Akim Demaille <akim@epita.fr>
2146 Since we now use obstacks, more % directives can be enabled.
2148 * src/lex.c (percent_table): Also accept `%yacc',
2149 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
2151 Handle the actions for `%semantic_parser' and `%pure_parser' here,
2152 instead of returning a token.
2153 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
2154 * src/reader.c (read_declarations): Adjust.
2155 * src/files.c (open_files): Don't call `compute_base_names', don't
2156 compute `attrsfile' since they depend upon data which might be
2157 *in* the input file now.
2158 (output_files): Do it here.
2159 * src/output.c (output_headers): Document the fact that this patch
2160 introduces a guaranteed SEGV for semantic parsers.
2161 * doc/bison.texinfo: Document them.
2162 * tests/suite.at: Exercise these %options.
2164 2000-12-20 Akim Demaille <akim@epita.fr>
2166 Also handle the output file (--verbose) with obstacks.
2168 * files.c (foutput): Remove.
2169 (output_obstack): New.
2170 Adjust all dependencies.
2171 * src/conflicts.c: Return a string.
2172 * src/system.h (obstack_grow_string): Rename as...
2173 (obstack_sgrow): this. Be ready to work with non literals.
2174 (obstack_fgrow4): New.
2176 2000-12-20 Akim Demaille <akim@epita.fr>
2178 * src/files.c (open_files): Fix the computation of short_base_name
2179 in the case of `-o foo.tab.c'.
2181 2000-12-20 Akim Demaille <akim@epita.fr>
2183 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
2184 (copy_dollar): Now that everything uses obstacks, get rid of the
2187 2000-12-20 Akim Demaille <akim@epita.fr>
2189 * src/files.c (open_files): Actually the `.output' file is based
2190 on the short_base_name, not base_name.
2191 * tests/suite.at (Checking output file names): Adjust.
2193 2000-12-20 Akim Demaille <akim@epita.fr>
2195 * src/bison.s1: Remove, we now use directly...
2196 * src/bison.simple: this.
2197 * src/Makefile.am: Use pkgdata instead of data.
2199 2000-12-20 Akim Demaille <akim@epita.fr>
2201 * src/files.c (guard_obstack): New.
2202 (open_files): Initialize it.
2203 (output_files): Dump it...
2204 * src/files.h: Export it.
2205 * src/reader.c (copy_guard): Use it.
2207 2000-12-19 Akim Demaille <akim@epita.fr>
2209 * src/files.c (outfile, defsfile, actfile): Removed as global
2211 (open_files): Don't compute them.
2212 (output_files): Adjust.
2213 (base_name, short_base_name): Be global.
2214 Adjust dependencies.
2216 2000-12-19 Akim Demaille <akim@epita.fr>
2218 * src/files.c (strsuffix): New.
2219 (stringappend): Be just like strcat but allocate.
2220 (base_names): Eve out from open_files.
2221 Try to simplify the rather hairy computation of base_name and
2223 (open_files): Use it.
2224 * tests/suite.at (Checking output file names): New test.
2226 2000-12-19 Akim Demaille <akim@epita.fr>
2228 * src/system.h (obstack_grow_literal_string): Rename as...
2229 (obstack_grow_string): this.
2230 * src/output.c (output_parser): Recognize `%% actions' instead of
2232 * src/bison.s1: s/$/%% actions/.
2233 * src/bison.hairy: Likewise.
2235 2000-12-19 Akim Demaille <akim@epita.fr>
2237 * src/output.c (output_parser): Compute the `#line' lines when
2239 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
2240 Suggested by Hans Aberg.
2242 2000-12-19 Akim Demaille <akim@epita.fr>
2244 Let the handling of the skeleton files be local to the procedures
2247 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
2249 (fparser, open_extra_files): Remove.
2250 (open_files, output_files): Don't take care of fparser.
2251 * src/files.h: Adjust.
2252 * src/output.c (output_parser): Open and close the file to the
2254 * src/reader.c (read_declarations): When %semantic_parser, open
2257 2000-12-19 Akim Demaille <akim@epita.fr>
2259 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
2260 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
2262 2000-12-19 Akim Demaille <akim@epita.fr>
2264 * src/files.c (open_files): Yipee! We no longer need all the code
2265 looking for `/tmp' since we have no tmp file.
2267 2000-12-19 Akim Demaille <akim@epita.fr>
2269 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
2271 * src/files.c (open_files): Less dependency on MSDOS etc.
2273 2000-12-14 Akim Demaille <akim@epita.fr>
2275 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
2276 Provide a default definition.
2277 Use it when executing the default @ action.
2278 * src/reader.c (reader_output_yylsp): No longer include
2279 `timestamp' and `text' in the default YYLTYPE.
2281 2000-12-12 Akim Demaille <akim@epita.fr>
2283 * src/reader.c (copy_definition, parse_union_decl, copy_action)
2284 (copy_guard): Quote the file names.
2285 Reported by Laurent Mascherpa.
2287 2000-12-12 Akim Demaille <akim@epita.fr>
2289 * src/output.c (output_headers, output_program, output): Be sure
2290 to escape special characters when outputting filenames.
2291 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
2292 (output_headers): Don't depend on them, Use ACTSTR.
2294 2000-11-17 Akim Demaille <akim@epita.fr>
2296 * lib/obstack.h: Formatting changes.
2297 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
2298 prevents type checking.
2299 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
2300 cast the value to (void *): assigning a `foo *' to a `void *'
2302 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2303 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
2306 2000-11-17 Akim Demaille <akim@epita.fr>
2308 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
2310 (suite.m4, regression.m4, calc.m4): these.
2311 * tests/atgeneral.m4: Update from CVS Autoconf.
2313 2000-11-17 Akim Demaille <akim@epita.fr>
2315 * tests/regression.m4 (%union and --defines): New test,
2316 demonstrating a current bug in the obstack implementation.
2318 2000-11-17 Akim Demaille <akim@epita.fr>
2320 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
2322 Use them to declare the variables which are global or local to
2325 2000-11-17 Akim Demaille <akim@epita.fr>
2327 * acconfig.h: Remove, no longer used.
2329 2000-11-07 Akim Demaille <akim@epita.fr>
2331 * src: s/Copyright (C)/Copyright/g.
2333 2000-11-07 Akim Demaille <akim@epita.fr>
2335 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
2337 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
2339 2000-11-07 Akim Demaille <akim@epita.fr>
2341 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
2342 Merge in a single CPP if/else.
2344 2000-11-07 Akim Demaille <akim@epita.fr>
2346 * src/output.c (output): Remove useless variables.
2347 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
2348 argument `data' for consistency with the prototypes.
2350 (obstack_copy, obstack_copy0): Rename the second argument as
2351 `address' for consistency. Qualify it `const'.
2352 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
2353 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
2354 `const' their input argument (`data' or `address').
2355 Adjust the corresponding macros to include `const' in casts.
2357 2000-11-03 Akim Demaille <akim@epita.fr>
2359 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
2360 s/PFILE1/BISON_HAIRY/.
2361 Adjust dependencies.
2363 2000-11-03 Akim Demaille <akim@epita.fr>
2365 For some reason, this was not applied.
2367 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2368 `unlink': it's no longer used.
2370 2000-11-03 Akim Demaille <akim@epita.fr>
2372 * src/files.c (skeleton_find): New function, eved out of...
2373 (open_files, open_extra_files): here.
2375 2000-11-03 Akim Demaille <akim@epita.fr>
2379 * src/files.c (obstack_save): New function.
2380 (done): Rename as...
2381 (output_files): this.
2383 * src/main.c (main): Don't use `atexit' to register `done', since
2384 it no longer has to remove tmp files, just call `output_files'
2385 when there are no errors.
2387 2000-11-02 Akim Demaille <akim@epita.fr>
2389 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2390 `unlink': it's no longer used.
2391 * src/files.h: Formatting changes.
2393 2000-11-02 Akim Demaille <akim@epita.fr>
2395 Remove the last uses of mktemp and unlink/delete.
2397 * src/files.c (fdefines, ftable): Removed.
2398 (defines_ostack, table_obstack): New.
2399 Adjust dependencies of the former into uses of the latter.
2400 * src/output.c (output_short_or_char_table, output_short_table):
2401 Convert to using obstacks.
2402 * src/reader.c (copy_comment2): Accept one FILE * and two
2404 (output_token_defines, reader_output_yylsp): Use obstacks.
2405 * src/system.h (obstack_fgrow3): New.
2407 2000-11-01 Akim Demaille <akim@epita.fr>
2409 Change each use of `fattrs' into a use of `attrs_obstack'.
2411 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2412 * src/files.c (fattrs): Remove.
2413 (attrs_obstack): New.
2414 Adjust all dependencies.
2415 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2417 2000-11-01 Akim Demaille <akim@epita.fr>
2420 Change each use of `faction' into a use of `action_obstack'.
2422 * lib/obstack.h, lib/obstack.c: New files.
2423 * src/files.c (faction): Remove.
2424 (action_obstack): New.
2425 Adjust all dependencies.
2427 2000-10-20 Akim Demaille <akim@epita.fr>
2429 * lib/quote.h (PARAMS): New macro. Use it.
2431 2000-10-16 Akim Demaille <akim@epita.fr>
2433 * src/output.c (output_short_or_char_table): New function.
2434 (output_short_table, output_token_translations): Use it.
2435 (goto_actions): Use output_short_table.
2437 2000-10-16 Akim Demaille <akim@epita.fr>
2439 * src/symtab.c (bucket_new): New function.
2442 * src/output.c (output_short_table): New argument to display the
2443 comment associated with the table.
2444 Adjust dependencies.
2445 (output_gram): Use it.
2446 (output_rule_data): Nicer output layout for YYTNAME.
2448 2000-10-16 Akim Demaille <akim@epita.fr>
2450 * src/lex.c (read_typename): New function.
2452 * src/reader.c (copy_dollar): Likewise.
2454 2000-10-16 Akim Demaille <akim@epita.fr>
2456 * src/reader.c (copy_comment2): Expect the input stream to be on
2457 the `/' which is suspected to open a comment, instead of being
2458 called after `//' or `/*' was read.
2459 (copy_comment, copy_definition, parse_union_decl, copy_action)
2460 (copy_guard): Adjust.
2462 2000-10-16 Akim Demaille <akim@epita.fr>
2464 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2465 `read_signed_integer'.
2467 2000-10-16 Akim Demaille <akim@epita.fr>
2469 * src/reader.c (copy_dollar): New function.
2470 (copy_guard, copy_action): Use it.
2472 2000-10-16 Akim Demaille <akim@epita.fr>
2474 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2475 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2476 New files, from Fileutils 4.0.27.
2477 * src/main.c (printable_version): Remove.
2478 * src/lex.c, src/reader.c: Use `quote'.
2480 2000-10-04 Akim Demaille <akim@epita.fr>
2482 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2484 2000-10-04 Akim Demaille <akim@epita.fr>
2486 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2488 2000-10-04 Akim Demaille <akim@epita.fr>
2490 When a literal string is used to define two different tokens,
2491 `bison -v' segfaults.
2492 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2494 * tests/regression.m4: New file.
2495 Include the core of the sample provided by Piotr Gackiewicz.
2496 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2499 2000-10-04 Akim Demaille <akim@epita.fr>
2501 * src/reader.c (parse_expect_decl): Keep `count' within the size
2505 2000-10-02 Paul Eggert <eggert@twinsun.com>
2507 * bison.s1 (yyparse): Assign the default value
2508 unconditionally, to avoid a GCC warning and make the parser a
2511 2000-10-02 Akim Demaille <akim@epita.fr>
2513 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2516 2000-10-02 Akim Demaille <akim@epita.fr>
2518 * src/derives.c, src/print.c, src/reduce.c: To ease the
2519 translation, move some `\n' out of the translated strings.
2521 2000-10-02 Akim Demaille <akim@epita.fr>
2523 The location tracking mechanism is precious for parse error
2524 messages. Nevertheless, it is enabled only when `@n' is used in
2525 the grammar, which is a different issue (you can use it in error
2526 message, but not in the grammar per se). Therefore, there should
2527 be another means to enable it.
2529 * src/getargs.c (getargs): Support `--locations'.
2531 * src/getargs.h (locationsflag): Export it.
2532 * src/lex.c (percent_table): Support `%locations'.
2533 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2534 with `locationsflag'.
2535 * doc/bison.texinfo: Document `--locations' and `%locations'.
2537 * tests/calc.m4: Test it.
2539 For regularity of the names, replace each
2540 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2541 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2542 In addition replace each `flag' with `_flag'.
2544 2000-10-02 Akim Demaille <akim@epita.fr>
2546 Also test parse error messages, including with YYERROR_VERBOSE.
2548 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2550 Use it to check the computations.
2551 Use it to check `nonassoc' is honored.
2552 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2553 `--yyerror-verbose'.
2554 (_AT_CHECK_CALC): Adjust to this option.
2555 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2557 2000-10-02 Akim Demaille <akim@epita.fr>
2559 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2560 the latter demonstrates a flaw in the handling of non debugging
2561 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2562 was used in order to simplify:
2578 unfortunately this leads to a CPP conflict when
2579 `--name-prefix=foo' is used since it produces `#define yydebug
2582 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2583 (YYDPRINTF): New macro.
2585 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2587 Also test `--verbose', `--defines' and `--name-prefix'.
2589 2000-10-02 Akim Demaille <akim@epita.fr>
2591 Improve the readability of the produced parsers.
2593 * src/bison.s1: Formatting changes.
2594 Improve the comment related to the `$' mark.
2595 (yydefault): Don't fall through to `yyresume': `goto' there.
2596 * src/output.c (output_parser): When the `$' is met, skip the end
2598 New variable, `number_of_dollar_signs', to check there's exactly
2599 one `$' in the parser skeleton.
2601 2000-10-02 Akim Demaille <akim@epita.fr>
2603 * lib/xstrdup.c: New file, from the fileutils.
2604 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2605 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2606 instead of strlen + xmalloc + strcpy.
2607 * src/symtab.c (copys): Remove, use xstrdup instead.
2609 2000-10-02 Akim Demaille <akim@epita.fr>
2611 * src/gram.h (associativity): New enum type which replaces the
2612 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2613 `right_assoc', `left_assoc' and `non_assoc'.
2614 Adjust all dependencies.
2615 * src/reader.c: Formatting changes.
2616 (LTYPESTR): Don't define it, use it as a literal in
2617 `reader_output_yylsp'.
2618 * src/symtab.h (symbol_class): New enum type which replaces the
2619 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2620 `sunknown', `stoken and `snterm'.
2622 2000-10-02 Akim Demaille <akim@epita.fr>
2624 * src/getargs.c (fixed_outfiles): Rename as...
2625 (yaccflag): for consistency and accuracy.
2626 Adjust dependencies.
2628 2000-10-02 Akim Demaille <akim@epita.fr>
2630 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2631 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2632 difficult and introduced a lot of core dump. It turns out that
2633 Bison used an implementation of `xmalloc' based on `calloc', and
2634 at various places it does depend upon the initialization to 0. I
2635 have not tried to isolate the pertinent places, and all the former
2636 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2637 someone should address this issue.
2639 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2640 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2642 Adjust dependencies.
2643 * src/warshall.h: New file.
2646 2000-10-02 Akim Demaille <akim@epita.fr>
2648 Various anti-`extern in *.c' changes.
2650 * src/system.h: Include `assert.h'.
2652 2000-10-02 Akim Demaille <akim@epita.fr>
2654 * src/state.h (nstates, final_state, first_state, first_shift)
2655 (first_reduction): Move their exportation from here...
2656 * src/LR0.h: to here.
2657 Adjust dependencies.
2658 * src/getargs.c (statisticsflag): New variable.
2659 Add support for `--statistics'.
2660 Adjust dependencies.
2662 Remove a lot of now useless `extern' statements in most files.
2664 2000-10-02 Akim Demaille <akim@epita.fr>
2666 * src/LR0.h: New file.
2669 2000-10-02 Akim Demaille <akim@epita.fr>
2671 * src/print.h: New file.
2673 * src/print.c: Formatting and ordering changes.
2674 (verbose, terse): Replace with...
2675 (print_results): this new function.
2676 Adjust dependencies.
2678 2000-10-02 Akim Demaille <akim@epita.fr>
2680 * src/conflicts.c (conflict_report): New function.
2681 (conflict_log, verbose_conflict_log): Replace with...
2682 (print_conflicts): this function.
2683 Adjust dependencies.
2684 * src/conflicts.h: New file.
2685 Propagate its inclusion.
2687 2000-10-02 Akim Demaille <akim@epita.fr>
2689 * src/nullable.h: New file.
2690 Propagate its inclusion.
2691 * src/nullable.c: Formatting changes.
2693 2000-10-02 Akim Demaille <akim@epita.fr>
2695 * src/reduce.h: New file.
2696 Propagate its inclusion.
2697 * src/reduce.c: Topological sort and other formatting changes.
2698 (bool, TRUE, FALSE): Move their definition to...
2699 * src/system.h: here.
2701 2000-10-02 Akim Demaille <akim@epita.fr>
2703 * src/files.c: Formatting changes.
2704 (tryopen, tryclose, openfiles): Rename as...
2705 (xfopen, xfclose, open_files): this.
2706 (stringappend): static.
2707 * src/files.h: Complete the list of exported symbols.
2710 2000-10-02 Akim Demaille <akim@epita.fr>
2712 * src/reader.h: New file.
2713 Propagate its use instead of tedious list of `extern' and
2715 * src/reader.c: Formatting changes, topological sort,
2718 2000-10-02 Akim Demaille <akim@epita.fr>
2720 * src/lex.h: Prototype `lex.c' exported functions.
2721 * src/reader.c: Adjust.
2722 * src/lex.c: Formatting changes.
2723 (safegetc): Rename as...
2726 2000-10-02 Akim Demaille <akim@epita.fr>
2728 * src/lalr.h: New file.
2729 Propagate its inclusion instead of prototypes and `extern'.
2730 * src/lalr.c: Formatting changes, topological sorting etc.
2732 2000-10-02 Akim Demaille <akim@epita.fr>
2734 * src/output.c (token_actions): Introduce a temporary array,
2735 YYDEFACT, that makes it possible for this function to use
2738 2000-10-02 Akim Demaille <akim@epita.fr>
2740 `user_toknums' is output as a `short[]' in `output.c', while it is
2741 defined as a `int[]' in `reader.c'. For consistency with the
2742 other output tables, `user_toknums' is now defined as a table of
2745 * src/reader.c (user_toknums): Be a short table instead of an int
2747 Adjust dependencies.
2749 Factor the short table outputs.
2751 * src/output.c (output_short_table): New function.
2752 * src/output.c (output_gram, output_stos, output_rule_data)
2753 (output_base, output_table, output_check): Use it.
2755 2000-10-02 Akim Demaille <akim@epita.fr>
2757 * src/output.c (output): Topological sort of the functions, in
2758 order to get rid of the `static' prototypes.
2759 No longer use `register'.
2760 * src/output.h: New file.
2761 Propagate its inclusion in files explicitly prototyping functions
2764 2000-09-21 Akim Demaille <akim@epita.fr>
2766 * src/atgeneral.m4: Update from Autoconf.
2768 2000-09-21 Akim Demaille <akim@epita.fr>
2770 * src/closure.h: New file.
2771 * src/closure.c: Formatting changes, topological sort over the
2772 functions, use of closure.h.
2773 (initialize_closure, finalize_closure): Rename as...
2774 (new_closure, free_closure): these. Adjust dependencies.
2775 * src/LR0.c: Formatting changes, topological sort, use of
2777 (initialize_states): Rename as...
2779 * src/Makefile.am (noinst_HEADERS): Adjust.
2781 2000-09-20 Akim Demaille <akim@epita.fr>
2783 * src/acconfig.h: Don't protect config.h against multiple
2785 Don't define PARAMS.
2786 * src/system.h: Define PARAMS.
2787 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2788 purpose of config.h. system.h must not try to fix wrong
2789 definitions in config.h.
2791 2000-09-20 Akim Demaille <akim@epita.fr>
2793 * src/derives.h: New file.
2794 * src/main.c, src/derives.h: Use it.
2796 * src/Makefile.am (noinst_HEADERS): Adjust.
2798 2000-09-20 Akim Demaille <akim@epita.fr>
2800 * tests/atgeneral.m4: Update from Autoconf.
2801 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2802 (AT_CHECK_CALC): New macros.
2803 Use these macros to test bison with options `', `--raw',
2804 `--debug', `--yacc', `--yacc --debug'.
2806 2000-09-19 Akim Demaille <akim@epita.fr>
2808 * src/output.c: Formatting changes.
2809 * src/machine.h: Remove, leaving its contents in...
2810 * src/system.h: here.
2812 Adjust all dependencies on stdio.h and machine.h.
2813 * src/getargs.h: New file.
2814 Let all `extern' declarations about getargs.c be replaced with
2815 inclusion of `getargs.h'.
2816 * src/Makefile.am (noinst_HEADERS): Adjust.
2818 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2820 (yyerror): Returns void, not int.
2821 * doc/bison.texinfo: Formatting changes.
2823 2000-09-19 Akim Demaille <akim@epita.fr>
2825 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2828 2000-09-18 Akim Demaille <akim@epita.fr>
2830 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2831 * src/Makefile.am (INCLUDES): Don't.
2832 Be ready to fetch headers in lib/.
2834 2000-09-18 Akim Demaille <akim@epita.fr>
2836 * doc/bison.texinfo: Update the copyright.
2837 ANSIfy and GNUify the examples.
2838 Remove the old menu.
2840 2000-09-18 Akim Demaille <akim@epita.fr>
2842 First set of tests: use the `calc' example from the documentation.
2844 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2845 is defined only when YYDEBUG is.
2846 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2847 * src/files.c (tryopen, tryclose): Formatting changes.
2848 Move to the top and be static.
2849 * src/reader.c (read_signed_integer): Likewise.
2850 * tests/calc.m4: New file.
2851 * Makefile.am, suite.m4: Adjust.
2852 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2854 2000-09-18 Akim Demaille <akim@epita.fr>
2856 Add support for an Autotest test suite for Bison.
2858 * m4/m4.m4, m4/atconfig.m4: New files.
2859 * m4/Makefile.am (EXTRA_DIST): Adjust.
2860 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2862 * src/getargs.c: Display a more standard --version message.
2863 * src/reader.c (reader): Formatting changes.
2864 No longer depend upon VERSION_STRING.
2865 * configure.in: No longer use `dnl'.
2866 Set up the test suite and the new directory `tests/.
2867 (VERSION_STRING): Remove.
2869 2000-04-14 Akim Demaille <akim@epita.fr>
2871 * src/reader.c (copy_comment2): New function, same as former
2872 `copy_comment', but outputs into two FILE *.
2873 (copy_comment): Use it.
2874 (parse_union_decl): Use it.
2875 (get_type, parse_start_decl): Use the same `invalid' message.
2876 (parse_start_decl, parse_union_decl): Use the same `multiple'
2878 (parse_union_decl, copy_guard, copy_action): Use the same
2879 `unmatched' message.
2880 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2882 2000-03-31 Akim Demaille <akim@epita.fr>
2884 * src/files.c (tryopen, tryclose): Move to the top.
2887 2000-03-31 Akim Demaille <akim@epita.fr>
2889 * src/main.c (main): Don't call `done', exit does it.
2891 2000-03-31 Akim Demaille <akim@epita.fr>
2893 * allocate.c: s/return (foo)/return foo/.
2896 * output.c: Likewise.
2897 * reader.c: Likewise.
2898 * symtab.c: Likewise.
2899 * vmsgetargs.c: Likewise.
2901 2000-03-31 Akim Demaille <akim@epita.fr>
2903 Clean up the error reporting functions.
2905 * src/report.c: New file.
2906 * src/report.h: Likewise.
2907 * src/Makefile.am: Adjust.
2908 * m4/error.m4: New file.
2909 * m4/Makefile.am: Adjust.
2910 * configure.in (jm_PREREQ_ERROR): Call it.
2911 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2913 (fatal, fatals): Remove. All callers use complain.c::fatal.
2914 (warn, warni, warns, warnss, warnss): Remove. All callers use
2915 complain.c::complain.
2916 (toomany): Remove, use fatal instead.
2917 * src/files.c (done): No argument, use complain_message_count.
2918 * src/main.c (main): Register `done' to `atexit'.
2920 * src/getargs.c (usage): More `fputs', less `fprintf'.
2922 2000-03-28 Akim Demaille <akim@epita.fr>
2924 * lib/: New directory.
2925 * Makefile.am (SUBDIRS): Adjust.
2926 * configure.in: Adjust.
2927 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2929 * src/alloca.c: Moved to lib/.
2930 * src/getopt.c: Likewise.
2931 * src/getopt1.c: Likewise.
2932 * src/getopt.h: Likewise.
2933 * src/ansi2knr.c: Likewise.
2934 * src/ansi2knr.1: Likewise.
2935 * src/Makefile.am: Adjust.
2936 * lib/Makefile.am: New file.
2938 2000-03-28 Akim Demaille <akim@epita.fr>
2940 * src/getargs.c (usage): Refresh the help message.
2942 2000-03-17 Akim Demaille <akim@epita.fr>
2944 * src/getopt1.c: Updated from textutils 2.0e
2945 * src/getopt.c: Likewise.
2946 * src/getopt.h: Likewise.
2948 2000-03-17 Akim Demaille <akim@epita.fr>
2950 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2951 the file name, not the whole `#line LINE FILE'.
2953 2000-03-17 Akim Demaille <akim@epita.fr>
2955 On syntax errors, report the token on which we choked.
2957 * src/bison.s1 (yyparse): In the label yyerrlab, when
2958 YYERROR_VERBOSE, add yychar in msg.
2960 2000-03-17 Akim Demaille <akim@epita.fr>
2962 * src/reader.c (copy_at): New function.
2963 (copy_guard): Use it.
2964 (copy_action): Use it.
2966 2000-03-17 Akim Demaille <akim@epita.fr>
2968 Be kind to translators, save some useless translations.
2970 * src/main.c (banner): New function.
2971 (fatal_banner): Use it.
2972 (warn_banner): Use it.
2974 2000-03-17 Akim Demaille <akim@epita.fr>
2976 * src/reader.c (copy_definition): Use copy_string and
2977 copy_comment. Removed now unused `match', `ended',
2979 (copy_comment, copy_string): Moved, to be visible from
2982 2000-03-17 Akim Demaille <akim@epita.fr>
2984 * src/reader.c (copy_string): Declare `static inline'. No
2985 problems with inline, since it is checked by configure.
2986 (copy_comment): Likewise.
2988 2000-03-17 Akim Demaille <akim@epita.fr>
2990 * src/reader.c (packsymbols): Formatting changes.
2992 2000-03-17 Akim Demaille <akim@epita.fr>
2994 * src/reader.c (copy_comment): New function, factored out from:
2995 (copy_action): Use it. Removed now unused `match', `ended',
2997 (copy_guard): Likewise.
2999 2000-03-17 Akim Demaille <akim@epita.fr>
3001 * src/reader.c (copy_string): New function, factored out from:
3002 (copy_action): Use it.
3003 (copy_guard): Likewise.
3005 2000-03-17 Akim Demaille <akim@epita.fr>
3007 Change the handling of @s so that they behave exactly like $s.
3008 There is now a pseudo variable @$ (readble and writable), location
3009 of the lhs of the rule (by default ranging from the location of
3010 the first symbol of the rhs, to the location of the last symbol,
3011 or, if the rhs is empty, YYLLOC).
3013 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
3015 (yyparse): When providing a default semantic action, provide a
3016 default location action.
3017 (after the $): No longer change `*YYLSP', just stack YYLOC the
3018 same way you stack YYVAL.
3019 * src/reader.c (read_declarations): Use warns.
3020 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
3021 (copy_action, case '@'): Likewise.
3022 Use a standard error message, to save useless work from
3025 2000-03-17 Akim Demaille <akim@epita.fr>
3027 * src/bison.s1: Formatting and cosmetics changes.
3028 * src/reader.c: Likewise.
3029 Update the Copyright notice.
3031 2000-03-17 Akim Demaille <akim@epita.fr>
3033 * src/bison.s1 (#line): All set to `#line' only, since the
3034 Makefile now handles them.
3036 2000-03-16 Akim Demaille <akim@epita.fr>
3038 * src/output.c (output_rule_data): Output the documentation of
3040 (Copyright notice): Update.
3043 2000-03-16 Akim Demaille <akim@epita.fr>
3045 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
3046 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
3047 One `#if YYDEBUG' remains, since it uses variables which are
3048 defined only if `YYDEBUG != 0'.
3050 2000-03-16 Akim Demaille <akim@epita.fr>
3052 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
3053 and related variables so that the similarities are highlighted.
3055 2000-03-16 Akim Demaille <akim@epita.fr>
3057 * src/bison.s1: Properly indent CPP directives.
3059 2000-03-16 Akim Demaille <akim@epita.fr>
3061 * src/bison.s1: Properly indent the `alloca' CPP section.
3063 2000-03-16 Akim Demaille <akim@epita.fr>
3065 Do not hard code values of directories in `configure.in'.
3066 Update the `configure' tool chain.
3068 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
3070 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
3071 (AC_OUTPUT): Add m4/Makefile.
3072 Bump to bison 1.28a, 1.29 has never been released.
3073 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
3074 handled via src/Makefile.am.
3075 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
3076 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
3078 * Makefile.am (SUBDIRS): Add m4.
3079 (ACLOCAL_AM_FLAGS): New variable.
3080 (AUTOMAKE_OPTIONS): Add check-news.
3081 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
3082 the proper line number and file name.
3083 (DEFS): Propagate the location of bison library files and of the
3085 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
3087 * acinclude.m4: Remove, replaced by the directory m4.
3088 * m4/Makefile.am (EXTRA_DIST): New variable.
3089 * m4/gettext.m4: New file, from the fileutils.
3090 * m4/lcmessage.m4: Likewise
3091 * m4/progtest.m4: Likewise.
3092 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
3094 2000-03-10 Akim Demaille <akim@epita.fr>
3097 Formatting changes of various comments.
3098 Respect the GNU coding standards at various places.
3099 Don't use `_()' when no translation is needed.
3101 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3104 OS/2 honors TMPDIR environment variable.
3106 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3108 * doc/bison.texinfo: Tweaked spelling and grammar.
3110 Removed reference to price of printed copy.
3111 Mention BISON_SIMPLE and BISON_HAIRY.
3113 1999-12-13 Jesse Thilo <jthilo@gnu.org>
3115 * configure.in, NEWS:
3116 Bison 1.29 released.
3118 1999-10-27 Jesse Thilo <jthilo@gnu.org>
3120 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
3121 Added reference card.
3123 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3125 * po/ru.po: Added Russian translation.
3127 1999-07-26 Jesse Thilo <jthilo@gnu.org>
3129 * configure.in: Added Russian translation.
3131 1999-07-06 Jesse Thilo <jthilo@gnu.org>
3133 * configure.in, NEWS, README:
3134 Released version 1.28.
3136 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3139 Squashed redefinition warning on some systems.
3141 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
3142 Have configure build version string instead of relying on ANSI string
3145 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3147 * po/POTFILES.in: Got rid of version.c.
3149 1999-06-14 Jesse Thilo <jthilo@gnu.org>
3151 * acconfig.h, configure.in:
3152 Have configure build version string instead of relying on ANSI string
3155 1999-06-08 Jesse Thilo <jthilo@gnu.org>
3158 Dropped mention of `+' for long-named options.
3160 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3162 * src/files.c: Added <unistd.h> for unlink().
3164 * src/Makefile.am, src/system.h:
3167 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3169 * README: Added a FAQ list.
3171 * configure.in, acconfig.h:
3174 1999-05-30 Jesse Thilo <jthilo@gnu.org>
3176 * doc/FAQ, doc/Makefile.am:
3179 1999-05-19 Jesse Thilo <jthilo@gnu.org>
3181 * src/alloc.h, src/symtab.h, src/version.c:
3182 Protected inclusion of "config.h" with HAVE_CONFIG_H.
3184 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3186 * src/.cvsignore, src/Makefile.am:
3187 Reorganized: sources in `src', documentation in `doc'.
3189 * src/lex.c (literalchar):
3190 fixed the code for escaping double quotes (thanks
3193 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3195 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
3196 Adjusted paths to reflect directory reorganization.
3198 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3200 * doc/.cvsignore, doc/Makefile.am:
3201 Reorganized: sources in `src', documentation in `doc'.
3203 1999-04-18 Jesse Thilo <jthilo@gnu.org>
3206 Updated AC_INIT file to reflect directory reorganization.
3208 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
3209 Reorganized: sources in `src', documentation in `doc'.
3211 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3214 Don't declare calloc() and realloc() if not necessary.
3216 1999-04-13 Jesse Thilo <jthilo@gnu.org>
3218 * configure.in, acconfig.h, acinclude.m4:
3219 Don't declare calloc() and realloc() if not necessary.
3221 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3223 * po/.cvsignore: Added i18n support.
3225 1999-03-23 Jesse Thilo <jthilo@gnu.org>
3227 * acconfig.h, configure.in, Makefile.am:
3230 1999-03-22 Jesse Thilo <jthilo@gnu.org>
3232 * src/bison.s1: Fixed #line numbers.
3234 1999-03-15 Jesse Thilo <jthilo@gnu.org>
3236 * po/es.po, po/fr.po, po/nl.po, po/de.po:
3237 Added PO files from Translation Project.
3239 1999-03-03 Jesse Thilo <jthilo@gnu.org>
3242 Added support for non-ANSI compilers (ansi2knr).
3244 1999-02-16 Jesse Thilo <jthilo@gnu.org>
3246 * configure.in: Bumped version number to 1.27.
3249 Added `bison.simple' to list of files removed by `make distclean'.
3251 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3253 * src/files.c, src/files.h:
3254 Defined locations of parser files in config.h instead of Makefile.
3256 1999-02-12 Jesse Thilo <jthilo@gnu.org>
3258 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
3259 Defined locations of parser files in config.h instead of Makefile.
3261 1999-02-09 Jesse Thilo <jthilo@gnu.org>
3264 Removed inappropriate use of $< macro.
3266 1999-02-05 Jesse Thilo <jthilo@gnu.org>
3268 * po/Makefile.in.in, po/POTFILES.in:
3269 Add `po' directory skeleton.
3271 1999-01-27 Jesse Thilo <jthilo@gnu.org>
3273 * README: Document help-bison list.
3275 * configure.in: Add check for mkstemp().
3277 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3279 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
3280 Hush a few compiler warnings.
3283 Add tryclose(), which verifies that fclose was successful.
3284 Hush a couple of compiler warnings.
3286 1999-01-20 Jesse Thilo <jthilo@gnu.org>
3288 * Makefile.am, OChangeLog:
3289 ChangeLog is now automatically generated. Include the old version as
3292 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3294 * 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:
3297 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3299 * doc/bison.texinfo: Fix formatting glitch.
3301 * doc/bison.texinfo: Update FSF address.
3303 1999-01-14 Jesse Thilo <jthilo@gnu.org>
3305 * acconfig.h: Update FSF address.
3307 1999-01-08 Jesse Thilo <jthilo@gnu.org>
3310 Don't define PACKAGE here, since config.h defines it.
3312 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3314 * src/reader.c: Update copyright date.
3317 Ditch sprintf to statically-sized buffers in fatal/warn functions in
3318 favor of output directly to stderr (avoids buffer overruns).
3320 * src/reader.c: Some checks for premature EOF.
3322 * 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:
3323 Use prototypes if the compiler understands them.
3325 * src/files.c: Honor TMPDIR on Unix hosts.
3326 Use prototypes if the compiler understands them.
3329 Fix a couple of buffer overrun bugs.
3330 Use prototypes if the compiler understands them.
3332 * src/system.h: Include unistd.h and ctype.h.
3333 Use #ifdef instead of #if for NLS symbols.
3335 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3337 * doc/bison.texinfo:
3338 Delete comment "consider using @set for edition number, etc..." since
3339 we now are doing so.
3341 1998-12-30 Jesse Thilo <jthilo@gnu.org>
3344 Use prototypes if the compiler understands them.
3346 * NEWS: Document 1.26 highlights.
3348 * Makefile.am: Require Automake 1.3 or later.
3351 Use prototypes if the compiler understands them.
3353 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3356 Use VERSION symbol from automake for version number.
3358 1998-12-29 Jesse Thilo <jthilo@gnu.org>
3360 * acconfig.h, configure.in, version.cin:
3361 Use VERSION symbol from automake for version number.
3363 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3366 Distribute original version of simple parser (bison.s1), not built
3367 version (bison.simple).
3369 1998-11-28 Jesse Thilo <jthilo@gnu.org>
3371 * doc/bison.texinfo: Add info dir entry.
3373 * doc/bison.texinfo:
3374 Let automake put version number into documentation.
3376 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3378 * src/bison.cld, src/build.com, src/vmshlp.mar:
3379 Add non-RCS files from /gd/gnu/bison.
3381 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3384 Document the BISON_HAIRY and BISON_SIMPLE variables.
3386 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3388 * src/version.c: Build version.c automatically.
3391 Fix token numbering (used to start at 258, not 257).
3393 * src/system.h: Include config.h.
3395 * src/getargs.c: Update bug report address.
3397 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3398 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3400 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3403 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3405 * configure.in, version.cin:
3406 Build version.c automatically.
3408 * AUTHORS: Add AUTHORS file.
3410 * README: Update bug report address.
3413 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3415 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3418 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3420 * doc/bison.texinfo: Clean up some formatting.
3422 1998-05-05 Richard Stallman <rms@gnu.org>
3424 * doc/bison.texinfo:
3425 Explain better why to make a pure parser.
3427 1998-01-05 Richard Stallman <rms@gnu.org>
3429 * src/files.c (openfiles):
3430 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3431 find a temporary directory, if possible. Do not unlink files while
3434 1997-08-25 Richard Stallman <rms@gnu.org>
3436 * src/reader.c (stack_offset;):
3437 Change some warni to warns.
3439 * src/lex.c (literalchar): Use warns, not warni.
3441 1997-06-28 Richard Stallman <rms@gnu.org>
3443 * src/bison.s1: Add a Bison version comment.
3445 * src/main.c (fatal, warn, berror):
3448 1997-06-28 Richard Stallman <rms@gnu.org>
3450 * Makefile.in (bison_version): New variable.
3451 (dist): Use that variable.
3452 (bison.s1): Substitute the Bison version into bison.simple.
3454 * bison.simple: Add a Bison version comment.
3456 1997-06-18 Richard Stallman <rms@gnu.org>
3458 * src/main.c (fatal, warn, berror):
3459 Make error messages standard.
3460 (toomany): Improve error message text.
3462 * 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:
3463 new.h renamed to alloc.h.
3465 1997-06-18 Richard Stallman <rms@gnu.org>
3467 * Makefile.in: new.h renamed to alloc.h.
3469 1997-05-24 Richard Stallman <rms@gnu.org>
3471 * src/lex.c (literalchar):
3472 Fix the code for escaping \, " and '.
3474 (lex): Avoid trouble when there are many chars
3475 to discard in a char literal with just several chars in it.
3477 1997-05-17 Richard Stallman <rms@gnu.org>
3480 Use malloc, if using alloca is troublesome.
3481 (YYSTACK_USE_ALLOCA): New flag macro.
3482 Define it for some systems and compilers.
3483 (YYSTACK_ALLOC): New macro.
3484 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3485 If it was malloc'd, free it.
3487 1997-05-17 Richard Stallman <rms@gnu.org>
3490 Use malloc, if using alloca is troublesome.
3491 (YYSTACK_USE_ALLOCA): New flag macro.
3492 Define it for some systems and compilers.
3493 (YYSTACK_ALLOC): New macro.
3494 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3495 If it was malloc'd, free it.
3497 1997-04-23 Richard Stallman <rms@gnu.org>
3500 (alloca) [__hpux]: Always define as __builtin_alloca.
3502 1997-04-23 Richard Stallman <rms@gnu.org>
3505 (alloca) [__hpux]: Always define as __builtin_alloca.
3507 1997-04-22 Richard Stallman <rms@gnu.org>
3510 [__hpux]: Include alloca.h (right for HPUX 10)
3511 instead of declaring alloca (right for HPUX 9).
3513 * src/bison.s1 (__yy_memcpy):
3514 Declare arg `count' as unsigned int.
3515 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3517 1997-04-22 Richard Stallman <rms@gnu.org>
3520 [__hpux]: Include alloca.h (right for HPUX 10)
3521 instead of declaring alloca (right for HPUX 9).
3523 * bison.simple (__yy_memcpy):
3524 Declare arg `count' as unsigned int.
3525 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3527 1997-01-03 Richard Stallman <rms@gnu.org>
3529 * src/allocate.c: [__STDC__ or _MSC_VER]:
3530 Declare calloc and realloc to return void *.
3532 1997-01-02 Richard Stallman <rms@gnu.org>
3535 [_MSC_VER]: Include stdlib.h and process.h.
3536 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3538 * src/main.c (main): Return FAILURE as a value.
3539 (printable_version): Declare arg as int, not char.
3541 1997-01-02 Richard Stallman <rms@gnu.org>
3543 * Makefile.in (dist):
3544 Explicitly check for symlinks, and copy them.
3546 1996-12-19 Richard Stallman <rms@gnu.org>
3549 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3551 1996-12-18 Paul Eggert <eggert@gnu.org>
3553 * src/bison.s1 (yyparse):
3554 If __GNUC__ and YYPARSE_PARAM are both defined,
3555 declare yyparse to have a void * argument.
3557 1996-12-18 Paul Eggert <eggert@gnu.org>
3559 * bison.simple (yyparse):
3560 If __GNUC__ and YYPARSE_PARAM are both defined,
3561 declare yyparse to have a void * argument.
3563 1996-12-17 Richard Stallman <rms@gnu.org>
3565 * src/reduce.c (nbits): Add some casts.
3567 1996-08-12 Richard Stallman <rms@gnu.org>
3569 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3571 1996-08-12 Richard Stallman <rms@gnu.org>
3573 * bison.simple: Test _MSDOS as well as _MSDOS_.
3575 1996-07-31 Richard Stallman <rms@gnu.org>
3578 [__sun && __i386]: Include alloca.h.
3580 1996-07-31 Richard Stallman <rms@gnu.org>
3583 [__sun && __i386]: Include alloca.h.
3585 1996-07-30 Richard Stallman <rms@gnu.org>
3587 * src/bison.s1: Comment change.
3589 * src/bison.s1: Test _MSDOS_, not MSDOS.
3591 1996-07-30 Richard Stallman <rms@gnu.org>
3593 * bison.simple: Comment change.
3595 * bison.simple: Test _MSDOS_, not MSDOS.
3597 1996-06-01 Richard Stallman <rms@gnu.org>
3599 * 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:
3600 Insert `_' macro around many string constants.
3603 Insert `_' macro around many string constants.
3605 (main): Call setlocale, bindtextdomain and textdomain.
3607 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3608 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3609 [ENABLE_NLS]: Include libintl.h.
3610 [ENABLE_NLS] (gettext): Define.
3611 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3612 (N_, PACKAGE, LOCALEDIR): New macros.
3614 1996-06-01 Richard Stallman <rms@gnu.org>
3616 * POTFILES.in: New file.
3618 * Makefile.in (allocate.o):
3619 Define target explicitly.
3621 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3622 (LDFLAGS): Set to @LDFLAGS@.
3623 (configure): Run autoconf only if preceding `cd' succeeds.
3624 (bison.s1): Redirect output to temporary file then move the
3625 temporary to the target, rather than redirecting directly to bison.s1.
3626 (clean): Remove config.status and config.log.
3627 (distclean): Don't remove config.status here.
3629 1996-05-12 Richard Stallman <rms@gnu.org>
3632 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3634 1996-05-12 Richard Stallman <rms@gnu.org>
3637 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3639 1996-05-11 Richard Stallman <rms@gnu.org>
3641 * src/bison.s1 (__yy_memcpy):
3642 Really reorder the args, as was supposedly done on Feb 14 1995.
3643 (yyparse): Calls changed accordingly.
3645 1996-05-11 Richard Stallman <rms@gnu.org>
3647 * Makefile.in (dist): Don't use $(srcdir).
3649 * bison.simple (__yy_memcpy):
3650 Really reorder the args, as was supposedly done on Feb 14 1995.
3651 (yyparse): Calls changed accordingly.
3653 1996-01-27 Richard Stallman <rms@gnu.org>
3655 * src/output.c (output_rule_data):
3656 Test YYERROR_VERBOSE in the conditional
3657 around the definition of ttyname.
3659 1995-12-29 Richard Stallman <rms@gnu.org>
3662 Fix line numbers in #line commands.
3664 1995-12-29 Richard Stallman <rms@gnu.org>
3667 Fix line numbers in #line commands.
3669 1995-12-27 Richard Stallman <rms@gnu.org>
3671 * src/bison.s1 (YYPARSE_PARAM_DECL):
3672 In C++, make it always null.
3673 (YYPARSE_PARAM_ARG): New macro.
3674 (yyparse): Use YYPARSE_PARAM_ARG.
3676 1995-12-27 Richard Stallman <rms@gnu.org>
3678 * bison.simple (YYPARSE_PARAM_DECL):
3679 In C++, make it always null.
3680 (YYPARSE_PARAM_ARG): New macro.
3681 (yyparse): Use YYPARSE_PARAM_ARG.
3683 1995-11-29 Richard Stallman <rms@gnu.org>
3685 * doc/bison.texinfo:
3686 Describe literal string tokens, %raw, %no_lines, %token_table.
3688 1995-11-29 Daniel Hagerty <hag@gnu.org>
3690 * doc/bison.texinfo: Fixed update date
3692 1995-10-16 Richard Stallman <rms@gnu.org>
3694 * src/version.c: Version 1.25.
3696 1995-10-16 Richard Stallman <rms@gnu.org>
3698 * NEWS: *** empty log message ***
3700 1995-10-16 Richard Stallman <rms@gnu.org>
3702 * doc/bison.1, doc/bison.rnh:
3705 1995-10-15 Richard Stallman <rms@gnu.org>
3707 * src/vmsgetargs.c, src/getargs.c:
3708 Added -n, -k, and -raw switches.
3709 (noparserflag, toknumflag, rawtoknumflag): New variables.
3711 * src/symtab.h (SALIAS):
3712 New #define for adding aliases to %token.
3713 (struct bucket): Added `alias' field.
3715 * src/reduce.c (reduce_grammar):
3716 Revise error message.
3717 (print_notices): Remove final `.' from error message.
3719 * src/reader.c (reader_output_yylsp):
3721 (readgram): Use `#if 0' around code that accepted %command
3722 inside grammar rules: The documentation doesn't allow it,
3723 and it will fail since the %command processors scan for the next %.
3724 (parse_token_decl): Extended the %token
3725 declaration to allow a multi-character symbol as an alias.
3726 (parse_thong_decl): New function.
3727 (read_declarations): Added %thong declarations.
3728 (read_declarations): Handle NOOP to deal with allowing
3729 % declarations as another means to specify the flags.
3730 (readgram): Allow %prec prior to semantics embedded in a rule.
3731 (skip_to_char, read_declarations, copy_definition)
3732 (parse_token_decl, parse_start_decl, parse_type_decl)
3733 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3734 (get_type_name, copy_guard, copy_action, readgram)
3735 (get_type, packsymbols): Revised most error messages.
3736 Changed `fatal' to `warnxxx' to avoid aborting for error.
3737 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3738 (read_declarations): Improve the error message for
3739 an invalid character. Do not abort.
3740 (read_declarations, copy_guard, copy_action): Use
3741 printable_version to avoid unprintable characters in printed output.
3742 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3743 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3744 Allow the type of a non-terminal can be given
3745 more than once, as long as all specifications give the same type.
3748 (output_headers, output_trailers, output, output_gram)
3749 (output_rule_data): Implement noparserflag variable.
3750 Implement toknumflag variable.
3751 (output): Call reader_output_yylsp to output LTYPESTR.
3753 * src/main.c (main):
3754 If reader sees an error, don't process the grammar.
3755 (fatals): Updated to not use VARARGS1.
3756 (printable_version, int_to_string, warn, warni, warns, warnss)
3757 (warnsss): New error reporting functions. Avoid abort for error.
3760 Added THONG and NOOP for alias processing.
3761 Added SETOPT for the new code that allows setting options with %flags.
3764 Include getopt.h. Add some extern decls.
3765 (safegetc): New function to deal with EOF gracefully.
3766 (literalchar); new function to deal with reading \ escapes.
3767 (lex): Use literalchar.
3768 (lex): Implemented "..." tokens.
3769 (literalchar, lex, parse_percent_token): Made tokenbuffer
3770 always contain the token. This includes growing the token
3771 buffer while reading an integer.
3772 (parse_percent_token): Replaced if-else statement with percent_table.
3773 (parse_percent_token): Added % declarations as another
3774 way to specify the flags -n, -l, and -r. Also added hooks for
3775 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3776 major changes to files.c.
3777 (lex) Retain in the incoming stream a character following
3779 (skip_white_space, lex): Revised most error messages
3780 and changed fatal to warn to avoid aborting.
3781 (percent_table): Added %thong declarations.
3783 * src/gram.h: Comment changes.
3785 * src/files.c (openfiles, open_extra_files, done):
3787 and actfile file. Handle noparserflag. Both for -n switch.
3789 * src/conflicts.c (resolve_sr_conflict):
3790 Remove use of alloca.
3792 1995-06-01 Jim Meyering <meyering@gnu.org>
3794 * doc/bison.texinfo: *** empty log message ***
3796 1995-05-06 Richard Stallman <rms@gnu.org>
3798 * src/bison.s1: Comment change.
3800 1995-05-06 Richard Stallman <rms@gnu.org>
3802 * bison.simple: Comment change.
3804 1995-05-03 Richard Stallman <rms@gnu.org>
3806 * src/version.c: Version now 1.24.
3808 * src/bison.s1: Change distribution terms.
3810 * src/version.c: Version now 1.23.
3812 1995-05-03 Richard Stallman <rms@gnu.org>
3814 * doc/bison.texinfo:
3815 Rewrite "Conditions for Using Bison".
3816 Update version to 1.24.
3818 1995-05-03 Richard Stallman <rms@gnu.org>
3820 * bison.simple: Change distribution terms.
3822 1995-02-23 Richard Stallman <rms@gnu.org>
3824 * src/files.c: Test __VMS_POSIX as well as VMS.
3826 1995-02-14 Jim Meyering <meyering@gnu.org>
3828 * src/bison.s1 (__yy_memcpy):
3829 Renamed from __yy_bcopy to avoid
3830 confusion. Reverse FROM and TO arguments to be consistent with
3833 1995-02-14 Jim Meyering <meyering@gnu.org>
3835 * bison.simple (__yy_memcpy):
3836 Renamed from __yy_bcopy to avoid
3837 confusion. Reverse FROM and TO arguments to be consistent with
3840 1994-11-10 David J. MacKenzie <djm@gnu.org>
3846 * Makefile.in (DISTFILES): Include NEWS.
3848 * Makefile.in (DISTFILES):
3849 Include install-sh, not install.sh.
3851 * configure.in: Update to Autoconf v2 macro names.
3853 1994-10-05 David J. MacKenzie <djm@gnu.org>
3855 * Makefile.in: fix typo
3857 * Makefile.in (prefix, exec_prefix):
3858 Let configure set them.
3860 1994-09-28 David J. MacKenzie <djm@gnu.org>
3862 * Makefile.in: Set datadir to $(prefix)/share.
3864 1994-09-15 Richard Stallman <rms@gnu.org>
3867 Update copyright notice and GPL version.
3869 1994-09-15 Richard Stallman <rms@gnu.org>
3872 Update copyright notice and GPL version.
3874 1994-07-12 Richard Stallman <rms@gnu.org>
3876 * src/reduce.c, src/reader.c:
3879 1994-05-05 David J. MacKenzie <djm@gnu.org>
3881 * Makefile.in: entered into RCS
3883 1994-03-26 Richard Stallman <rms@gnu.org>
3885 * src/bison.s1: entered into RCS
3887 1994-03-26 Richard Stallman <rms@gnu.org>
3889 * bison.simple: entered into RCS
3891 1994-03-25 Richard Stallman <rms@gnu.org>
3893 * src/main.c: entered into RCS
3895 1994-03-24 Richard Stallman <rms@gnu.org>
3897 * src/conflicts.c: entered into RCS
3899 1994-01-02 Richard Stallman <rms@gnu.org>
3901 * Makefile.in: *** empty log message ***
3903 1993-11-21 Richard Stallman <rms@gnu.org>
3905 * src/bison.s1: *** empty log message ***
3907 1993-11-21 Richard Stallman <rms@gnu.org>
3909 * doc/bison.texinfo: entered into RCS
3911 * doc/bison.texinfo: *** empty log message ***
3913 1993-11-21 Richard Stallman <rms@gnu.org>
3915 * bison.simple: *** empty log message ***
3917 1993-10-25 David J. MacKenzie <djm@gnu.org>
3919 * doc/bison.texinfo: *** empty log message ***
3921 1993-10-19 Richard Stallman <rms@gnu.org>
3923 * src/bison.s1: *** empty log message ***
3925 1993-10-19 Richard Stallman <rms@gnu.org>
3927 * bison.simple: *** empty log message ***
3929 1993-10-14 Richard Stallman <rms@gnu.org>
3931 * src/bison.s1: *** empty log message ***
3933 1993-10-14 Richard Stallman <rms@gnu.org>
3935 * bison.simple: *** empty log message ***
3937 1993-09-14 David J. MacKenzie <djm@gnu.org>
3939 * doc/bison.texinfo: *** empty log message ***
3941 1993-09-13 Noah Friedman <friedman@gnu.org>
3943 * Makefile.in: *** empty log message ***
3945 1993-09-10 Richard Stallman <rms@gnu.org>
3947 * src/conflicts.c: *** empty log message ***
3949 * src/system.h: entered into RCS
3951 1993-09-10 Richard Stallman <rms@gnu.org>
3953 * doc/bison.1: entered into RCS
3955 1993-09-06 Noah Friedman <friedman@gnu.org>
3957 * src/version.c: entered into RCS
3959 1993-09-06 Noah Friedman <friedman@gnu.org>
3961 * Makefile.in: *** empty log message ***
3963 1993-07-30 David J. MacKenzie <djm@gnu.org>
3965 * Makefile.in: *** empty log message ***
3967 1993-07-24 Richard Stallman <rms@gnu.org>
3969 * src/bison.s1: *** empty log message ***
3971 1993-07-24 Richard Stallman <rms@gnu.org>
3973 * bison.simple: *** empty log message ***
3975 1993-07-08 David J. MacKenzie <djm@gnu.org>
3977 * Makefile.in: *** empty log message ***
3979 1993-07-04 Richard Stallman <rms@gnu.org>
3981 * src/bison.s1: *** empty log message ***
3983 1993-07-04 Richard Stallman <rms@gnu.org>
3985 * bison.simple: *** empty log message ***
3987 1993-06-26 David J. MacKenzie <djm@gnu.org>
3989 * src/getargs.c: entered into RCS
3991 1993-06-26 David J. MacKenzie <djm@gnu.org>
3993 * doc/bison.texinfo: *** empty log message ***
3995 * doc/bison.1: New file.
3997 1993-06-25 Richard Stallman <rms@gnu.org>
3999 * src/getargs.c: New file.
4001 1993-06-16 Richard Stallman <rms@gnu.org>
4003 * src/bison.s1: *** empty log message ***
4005 1993-06-16 Richard Stallman <rms@gnu.org>
4007 * bison.simple: *** empty log message ***
4009 1993-06-03 Richard Stallman <rms@gnu.org>
4011 * src/bison.s1: New file.
4013 1993-06-03 Richard Stallman <rms@gnu.org>
4015 * doc/bison.texinfo: *** empty log message ***
4017 1993-06-03 Richard Stallman <rms@gnu.org>
4019 * bison.simple: New file.
4021 1993-05-19 Richard Stallman <rms@gnu.org>
4023 * doc/bison.texinfo: New file.
4025 1993-05-07 Noah Friedman <friedman@gnu.org>
4027 * Makefile.in: *** empty log message ***
4029 1993-04-28 Noah Friedman <friedman@gnu.org>
4031 * src/reader.c: *** empty log message ***
4033 1993-04-23 Noah Friedman <friedman@gnu.org>
4035 * src/alloc.h: entered into RCS
4037 1993-04-20 David J. MacKenzie <djm@gnu.org>
4039 * src/version.c: *** empty log message ***
4041 * src/files.c, src/allocate.c:
4044 * src/reader.c: *** empty log message ***
4046 * src/lex.c: entered into RCS
4048 * src/conflicts.c: New file.
4050 * src/symtab.c: entered into RCS
4052 * src/alloc.h: New file.
4054 * src/LR0.c: entered into RCS
4056 1993-04-18 Noah Friedman <friedman@gnu.org>
4058 * src/reader.c: New file.
4060 * src/version.c: *** empty log message ***
4062 1993-04-18 Noah Friedman <friedman@gnu.org>
4064 * Makefile.in: *** empty log message ***
4066 1993-04-17 Noah Friedman <friedman@gnu.org>
4068 * Makefile.in: *** empty log message ***
4070 1993-04-15 Richard Stallman <rms@gnu.org>
4072 * src/main.c, src/files.c:
4075 1993-04-15 Noah Friedman <friedman@gnu.org>
4077 * configure.in: entered into RCS
4079 * configure.in: *** empty log message ***
4081 * configure.in: New file.
4083 1993-04-14 Richard Stallman <rms@gnu.org>
4085 * Makefile.in: New file.
4087 1993-04-13 Richard Stallman <rms@gnu.org>
4089 * src/version.c: New file.
4091 1993-03-25 Richard Stallman <rms@gnu.org>
4093 * src/output.c: entered into RCS
4095 1992-09-25 Richard Stallman <rms@gnu.org>
4097 * configure.bat: entered into RCS
4099 1992-06-22 Richard Stallman <rms@gnu.org>
4101 * src/vmsgetargs.c: entered into RCS
4103 1992-06-22 Richard Stallman <rms@gnu.org>
4105 * doc/bison.rnh: entered into RCS
4107 1992-04-20 David J. MacKenzie <djm@gnu.org>
4109 * README: entered into RCS
4111 1992-01-22 Richard Stallman <rms@gnu.org>
4113 * src/machine.h: entered into RCS
4115 1991-12-21 Richard Stallman <rms@gnu.org>
4117 * src/lalr.c, src/closure.c:
4120 1991-12-20 Richard Stallman <rms@gnu.org>
4122 * src/state.h: entered into RCS
4124 1991-12-18 Richard Stallman <rms@gnu.org>
4126 * src/print.c, src/nullable.c, src/derives.c:
4129 1991-11-03 David J. MacKenzie <djm@gnu.org>
4131 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
4134 1988-09-09 Richard Stallman <rms@gnu.org>
4136 * src/bison.hairy: entered into RCS
4138 1987-12-16 Richard Stallman <rms@gnu.org>
4140 * REFERENCES: entered into RCS