]> git.saurik.com Git - bison.git/blob - ChangeLog
b368a0e09d6f24c048f9a0d58c58177075dff17c
[bison.git] / ChangeLog
1 2001-12-05 Akim Demaille <akim@epita.fr>
2
3 * tests/atlocal.in (CPPFLAGS): Do not leave a space between -I and
4 its argument.
5 Reported by Peter Hámorský.
6
7 2001-12-05 Akim Demaille <akim@epita.fr>
8
9 * src/conflicts.c (err_table): Remove.
10 (resolve_sr_conflict): Adjust.
11 * src/lalr.h (state_t.reduction_table, state_t.shift_table):
12 Rename as...
13 (state_t.reductions, state_t.shifts): this.
14
15 2001-12-05 Akim Demaille <akim@epita.fr>
16
17 * src/reduce.c (reduce_grammar_tables): No longer disable the
18 removal of useless rules via CPP but via `if (0)', so that the
19 compiler still check the code is valid.
20 For instance, it should have noticed `rline' no longer exists: use
21 the `line' member of rule_t.
22 * src/gram.c (dummy, rline): Remove, unused.
23
24 2001-12-05 Akim Demaille <akim@epita.fr>
25
26 * src/output.c (pack_vector): Use assert, not berror.
27 * src/main.c (berror): Remove, unused.
28
29 2001-12-05 Akim Demaille <akim@epita.fr>
30
31 New experimental feature: if --verbose --trace output all the
32 items of a state, not only its kernel.
33
34 * src/print.c (print_core): If `trace_flag', then invoke closure
35 before outputting the items of the state (print_core is no longer
36 a correct name them).
37 (print_results): Invoke new_closure/free_closure if needed.
38
39 2001-12-05 Akim Demaille <akim@epita.fr>
40
41 * src/LR0.c (new_itemsets): Use nshifts only, not shiftcount.
42 * src/closure.c, src/closure.h (itemsetsize): Rename as...
43 (nitemset): for consistency with the rest of the project.
44
45 2001-12-05 Akim Demaille <akim@epita.fr>
46
47 * src/closure.c (print_closure): Improve.
48 (closure): Use it for printing input and output.
49
50 2001-12-05 Akim Demaille <akim@epita.fr>
51
52 * src/closure.c (FIRSTS, FDERIVES): Adjust to reality: they are
53 indexed by nonterminals.
54
55 2001-12-05 Akim Demaille <akim@epita.fr>
56
57 * src/warshall.c (TC, RTC): De-obsfucate (source reduced to 22% of
58 what it was!).
59 * src/warshall.h: Remove accidental duplication of the content.
60
61 2001-12-05 Akim Demaille <akim@epita.fr>
62
63 * src/closure.c (set_fderives): De-obfuscate.
64
65 2001-12-05 Akim Demaille <akim@epita.fr>
66
67 * src/closure.c (print_firsts, print_fderives): De-obfuscate.
68
69 2001-12-05 Akim Demaille <akim@epita.fr>
70
71 * src/closure.c (set_firsts): De-obfuscate.
72
73 2001-12-05 Akim Demaille <akim@epita.fr>
74
75 * src/output.c (action_row): De-obfuscate
76 using the good o' techniques: arrays not pointers, variable
77 locality, BITISSET, RESETBIT etc.
78
79 2001-12-05 Akim Demaille <akim@epita.fr>
80
81 Pessimize the code to simplify it: from now on, all the states
82 have a valid SHIFTS, which NSHIFTS is possibly 0.
83
84 * src/LR0.c (shifts_new): Be global and move to..
85 * src/state.c, src/state.h: here.
86 * src/conflicts, src/lalr.c, src/output.c, src/print.c,
87 * src/print_graph: Adjust.
88
89 2001-12-05 Akim Demaille <akim@epita.fr>
90
91 * src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New.
92 * src/conflicts.c: Use it.
93 Restore a few missing `if (!SHIFT_IS_DISABLED)' which were
94 incorrectly ``simplified''.
95
96 2001-12-05 Akim Demaille <akim@epita.fr>
97
98 * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate
99 using the good o' techniques: arrays not pointers, variable
100 locality, BITISSET, RESETBIT etc.
101
102 2001-12-05 Akim Demaille <akim@epita.fr>
103
104 * src/state.h (SHIFT_SYMBOL): New.
105 * src/conflicts.c: Use it to deobfuscate.
106
107 2001-12-05 Akim Demaille <akim@epita.fr>
108
109 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts)
110 (print_reductions): De-obfuscate using the good o' techniques:
111 arrays not pointers, variable locality, BITISSET.
112
113 2001-12-05 Akim Demaille <akim@epita.fr>
114
115 * src/conflicts.c (print_reductions): Arrays, not pointers.
116 Use BITISSET.
117
118 2001-12-05 Akim Demaille <akim@epita.fr>
119
120 * src/conflicts.c (print_reductions): Pessimize, but clarify.
121
122 2001-12-05 Akim Demaille <akim@epita.fr>
123
124 * src/conflicts.c (print_reductions): Improve variable locality.
125
126 2001-12-05 Akim Demaille <akim@epita.fr>
127
128 * src/conflicts.c (print_reductions): Pessimize, but clarify.
129
130 2001-12-05 Akim Demaille <akim@epita.fr>
131
132 * src/conflicts.c (print_reductions): Improve variable locality.
133
134 2001-12-05 Akim Demaille <akim@epita.fr>
135
136 * src/state.h (SHIFT_IS_ERROR, SHIFT_IS_GOTO, SHIFT_IS_SHIFT): New.
137 * src/lalr.c: Use them.
138
139 2001-12-05 Akim Demaille <akim@epita.fr>
140
141 * src/LR0.c (augment_automaton): Formatting changes.
142 Better variable locality.
143
144 2001-12-05 Akim Demaille <akim@epita.fr>
145
146 * src/lalr.c (matrix_print): New.
147 (transpose): Use it.
148 Use arrays instead of pointers.
149
150 2001-12-05 Akim Demaille <akim@epita.fr>
151
152 * src/lalr.c (maxrhs): Move to...
153 * src/gram.c, src/gram.h (ritem_longest_rhs): here.
154 * src/lalr.c (build_relations): Adjust.
155
156 2001-12-05 Akim Demaille <akim@epita.fr>
157
158 * src/lalr.c (transpose): Free the memory allocated to the
159 argument, as it is replaced by the results by the unique caller.
160 (build_relations): Merely invoke transpose: it handles the memory
161 deallocation.
162 Improve variable locality.
163 Avoid variables used as mere abbreviations.
164 (compute_lookaheads): Use arrays instead of pointers.
165
166 2001-12-05 Akim Demaille <akim@epita.fr>
167
168 * src/lalr.c (initialize_F): Improve variable locality.
169 Avoid variables used as mere abbreviations.
170
171 2001-12-05 Akim Demaille <akim@epita.fr>
172
173 * src/derives.c (print_derives): Display the ruleno.
174 * src/lalr.c (initialize_F, transpose): Better variable locality
175 to improve readability.
176 Avoid variables used as mere abbreviations.
177
178 2001-12-05 Akim Demaille <akim@epita.fr>
179
180 * src/lalr.c (traverse): Use arrays instead of pointers.
181
182 2001-12-05 Akim Demaille <akim@epita.fr>
183
184 * src/nullable.c (set_nullable): Use a for loop to de-obfuscate
185 the handling of squeue.
186 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
187
188 2001-12-05 Akim Demaille <akim@epita.fr>
189
190 Because useless nonterminals are now kept alive (instead of being
191 `destroyed'), we now sometimes examine them, and store information
192 related to them. Hence we need to know their number, and adjust
193 memory allocations.
194
195 * src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
196 static.
197 * src/LR0.c (allocate_itemsets): The memory allocated to
198 `symbol_count' was used for two different purpose: once to count
199 the number of occurrences of each symbol, and later reassigned to
200 `shift_symbol', containing the symbol that can be shifted from a
201 given state.
202 Deobfuscate, i.e., allocate, use and free `symbol_count' here
203 only, and...
204 (new_itemsets): Allocate `shift_symbol' here.
205 (allocate_itemsets): symbol_count includes useless nonterminals.
206 Make room for them.
207 (free_storage): Use `free', not `XFREE', for pointers that cannot
208 be null.
209
210 2001-12-05 Akim Demaille <akim@epita.fr>
211
212 * src/nullable.c (set_nullable): Deobfuscate the handling of
213 ritem.
214 `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
215
216 2001-12-05 Akim Demaille <akim@epita.fr>
217
218 * src/gram.c, src/gram.h (ritem_print): New.
219 * src/gram.c (dummy): Remove, now there is actual code in gram.c.
220 (This useless function was defined only to work around VMS linkers
221 that can't handle compilation units with variables only).
222 * src/reduce.c (dump_grammar): Use it to trace the construction of
223 ritem.
224
225 2001-12-04 Paul Eggert <eggert@twinsun.com>
226
227 * src/bison.simple (union yyalloc): Change member names
228 to be the same as the stack names.
229 (yyparse): yyptr is now union yyalloc *, not char *.
230 (YYSTACK_RELOCATE): Likewise. This avoids a GCC warning,
231 and may generate better code on some machines.
232 (yystpcpy): Use prototype if __STDC__ is defined, not just
233 if __cplusplus is defined.
234
235 2001-11-30 Akim Demaille <akim@epita.fr>
236
237 * configure.in (WARNING_CFLAGS): Add -Werror when possible.
238 (CFLAGS): Do not include the WARNING_CFLAGS here, since GNU
239 Gettext doesn't compile cleanly, and dies with -Werror.
240 * src/Makefile.am, lib/Makefile.am, tests/atlocal.in (CFLAGS):
241 Include WARNING_CFLAGS here.
242 * lib/xstrdup.c: Include xalloc.h, so that xstrdup be declared
243 before being defined.
244
245 2001-11-30 Paul Eggert <eggert@twinsun.com>
246
247 * lib/quotearg.h (quotearg_n, quotearg_n_style):
248 First arg is int, not unsigned.
249 * lib/quotearg.c (quotearg_n, quotearg_n_style): Likewise.
250 (SIZE_MAX, UINT_MAX): New macros.
251 (quotearg_n_options): Abort if N is negative.
252 Avoid overflow check on hosts where size_t is 64 bits and int
253 is 32 bits, as overflow is impossible there.
254 Fix off-by-one typo that caused unnecessary reallocation.
255
256 2001-11-30 Paul Eggert <eggert@twinsun.com>
257
258 Name space cleanup in generated parser.
259
260 * doc/bison.texinfo (Bison Parser): Discuss system headers
261 and their effect on the user name space.
262
263 * src/bison.simple:
264 (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX,
265 YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define unless necessary,
266 i.e. unless ! defined (yyoverflow) || defined (YYERROR_VERBOSE).
267
268 (YYSIZE_T): New macro. Use it instead of size_t, to avoid infringing
269 on user names when possible.
270
271 (YYSTACK_USE_ALLOCA): Do not define; just use any existing defn.
272 Simplify test for whather <alloca.h> exists.
273
274 (<stdlib.h>): Include if we will use malloc, and if standard C or C++.
275
276 (<stdio.h>): Include if YYDEBUG.
277
278 (yymemcpy): Renamed from __yy_memcpy. Do not define unless
279 ! defined (yyoverflow) && ! defined (yymemcpy).
280
281 (yymemcpy, yyparse): Rename local variables as needed so that
282 they all begin with 'yy'.
283
284 (yystrlen, yystpcpy): New functions.
285
286 (YY_DECL_NON_LSP_VARIABLES): Renamed from _YY_DECL_VARIABLES.
287 All uses changed.
288
289 (yyparse): size_t -> YYSIZE_T. Use yystrlen and yystpcpy
290 instead of relying on string.h functions. Use YYSTACK_ALLOC
291 and YYSTACK_FREE instead of malloc and free.
292
293 2001-11-30 Akim Demaille <akim@epita.fr>
294
295 * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty
296 if body instead of `;' to pacify GCC's warnings.
297
298 2001-11-30 Akim Demaille <akim@epita.fr>
299
300 Instead of mapping the LHS of unused rules to -1, keep the LHS
301 valid, but flag the rules as invalid.
302
303 * src/gram.h (rule_t): `useful' is a new member.
304 * src/print.c (print_grammar): Adjust.
305 * src/derives.c (set_derives): Likewise.
306 * src/reader.c (packgram, reduce_output): Likewise.
307 * src/reduce.c (reduce_grammar_tables): Likewise.
308 * tests/reduce.at (Underivable Rules, Useless Rules): New.
309
310 2001-11-30 Akim Demaille <akim@epita.fr>
311
312 * src/reduce.c (reduce_output): Formatting changes.
313 * src/print.c (print_results, print_grammar): Likewise.
314 * tests/regression.at (Rule Line Numbers)
315 (Solved SR Conflicts, Unresolved SR Conflicts): Adjust.
316
317 2001-11-30 Akim Demaille <akim@epita.fr>
318
319 * src/reduce.c (nonterminals_reduce): Instead of throwing away
320 useless nonterminals, move them at the end of the symbol arrays.
321 (reduce_output): Adjust.
322 * tests/reduce.at (Useless Nonterminals): Adjust.
323
324 2001-11-30 Akim Demaille <akim@epita.fr>
325
326 * src/reduce.c: Various comment/formatting changes.
327 (nonterminals_reduce): New, extracted from...
328 (reduce_grammar_tables): here.
329 (reduce_grammar): Call nonterminals_reduce.
330
331 2001-11-29 Paul Eggert <eggert@twinsun.com>
332
333 * src/bison.simple (YYSTACK_REALLOC): Remove.
334 (YYSTACK_ALLOC): Resurrect this macro, with its old meaning.
335 (YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE):
336 New macros.
337 (union yyalloc): New type.
338 (__yy_memcpy): Last arg is size_t, not unsigned int, to remove
339 an arbitrary restriction on hosts where size_t is wider than int.
340
341 (yyparse): Don't dump core if alloca or malloc fails; instead, report
342 a parser stack overflow. Allocate just one block of memory for all
343 three stacks, instead of allocating three blocks; this typically is
344 faster and reduces fragmentation.
345
346 Do not limit the number of items in the stack to a value that fits
347 in 'int', as this is an arbitrary limit on hosts with 64-bit
348 size_t and 32-bit int.
349
350 2001-11-28 Akim Demaille <akim@epita.fr>
351
352 * src/LR0.c (shifts_new): New.
353 (save_shifts, insert_start_shift, augment_automaton): Use it.
354
355 2001-11-28 Akim Demaille <akim@epita.fr>
356
357 * src/closure.c (closure): `b' and `ruleno' denote the same value:
358 keep ruleno only.
359
360 2001-11-28 Akim Demaille <akim@epita.fr>
361
362 * src/closure.c (closure): Instead of looping over word in array
363 then bits in words, loop over bits in array.
364
365 2001-11-28 Akim Demaille <akim@epita.fr>
366
367 * src/closure.c (closure): No longer optimize the special case
368 where all the bits of `ruleset[r]' are set to 0, to make the code
369 clearer.
370
371 2001-11-28 Akim Demaille <akim@epita.fr>
372
373 * src/closure.c (closure): `r' and `c' are new variables, used to
374 de-obfuscate accesses to RULESET and CORE.
375
376 2001-11-28 Akim Demaille <akim@epita.fr>
377
378 * src/reduce.c (reduce_print): Use ngettext.
379 (dump_grammar): Improve the trace accuracy.
380
381 2001-11-28 Akim Demaille <akim@epita.fr>
382
383 * src/reduce.c (dump_grammar): Don't translate trace messages.
384
385 2001-11-28 Akim Demaille <akim@epita.fr>
386
387 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
388 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
389 as all tags are free'ed afterwards.
390 From Enrico Scholz.
391
392 2001-11-27 Akim Demaille <akim@epita.fr>
393
394 * src/system.h: Use intl/libgettext.h.
395 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
396
397 2001-11-27 Paul Eggert <eggert@twinsun.com>
398
399 * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to
400 use alloca when we didn't want to, and vice versa.
401
402 2001-11-27 Akim Demaille <akim@epita.fr>
403
404 * tests/torture.at (Exploding the Stack Size with Malloc):
405 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
406
407 2001-11-27 Akim Demaille <akim@epita.fr>
408
409 * src/files.c: Include error.h.
410 From Hans Aberg.
411
412 2001-11-26 Akim Demaille <akim@epita.fr>
413
414 Version 1.30e.
415
416 2001-11-26 Akim Demaille <akim@epita.fr>
417
418 * src/reader.c (readgram): Make sure rules for mid-rule actions
419 have a lineno equal to that of their host rule.
420 Reported by Hans Aberg.
421 * tests/regression.at (Rule Line Numbers): New.
422
423 2001-11-26 Akim Demaille <akim@epita.fr>
424
425 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
426 size_ts.
427 Reported by Hans Aberg.
428
429 2001-11-26 Akim Demaille <akim@epita.fr>
430
431 * src/complain.c, src/complain.h (error): Remove, provided by
432 lib/error.[ch].
433
434 2001-11-26 Akim Demaille <akim@epita.fr>
435
436 * src/reader.c (read_declarations): Don't abort on tok_illegal,
437 issue an error message.
438 * tests/regression.at (Invalid %directive): New.
439 Reported by Hans Aberg.
440
441 2001-11-26 Akim Demaille <akim@epita.fr>
442
443 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
444 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
445
446 2001-11-26 Akim Demaille <akim@epita.fr>
447
448 * src/conflicts.c (conflicts_print): Don't complain at all when
449 there are no reduce/reduce conflicts, and as many shift/reduce
450 conflicts as expected.
451 * tests/regression.at (%expect right): Adjust.
452
453 2001-11-23 Akim Demaille <akim@epita.fr>
454
455 * lib/alloca.c: Update, from fileutils.
456
457 2001-11-23 Akim Demaille <akim@epita.fr>
458
459 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
460
461 2001-11-23 Akim Demaille <akim@epita.fr>
462
463 * src/system.h: Include alloca.h.
464 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
465
466 2001-11-23 Akim Demaille <akim@epita.fr>
467
468 * src/print_graph.c (print_actions): Remove `rule', unused.
469 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
470 pacify GCC's signed < unsigned warnings.
471 * src/closure.c (itemsetsize): Likewise.
472 * src/reader.c (symbol_list_new): Static.
473
474 2001-11-23 Akim Demaille <akim@epita.fr>
475
476 Attaching lineno to buckets is stupid, since only one copy of each
477 symbol is kept, only the line of the first occurrence is kept too.
478
479 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
480 * src/reader.c (rline_allocated): Remove, unused.
481 (symbol_list): Have a `line' member.
482 (symbol_list_new): New.
483 (readgram): Use it.
484 * src/print.c (print_grammar): Output the rule line numbers.
485 * tests/regression.at (Solved SR Conflicts)
486 (Unresolved SR Conflicts): Adjust.
487 Reported by Hans Aberg.
488
489 2001-11-20 Akim Demaille <akim@epita.fr>
490
491 Version 1.30d.
492
493 2001-11-20 Akim Demaille <akim@epita.fr>
494
495 * po/sv.po: New.
496 * configure.in (ALL_LINGUAS): Adjust.
497 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
498 longer contains strings to translate.
499
500 2001-11-19 Akim Demaille <akim@epita.fr>
501
502 * src/conflicts.c (conflicts_print): Add a missing \n.
503
504 2001-11-19 Akim Demaille <akim@epita.fr>
505
506 * src/nullable.c (nullable_print): New.
507 (set_nullable): Call it when tracing.
508 Better locality of variables.
509
510 2001-11-19 Akim Demaille <akim@epita.fr>
511
512 * src/print.c (print_actions): Better locality of variables.
513
514 2001-11-19 Akim Demaille <akim@epita.fr>
515
516 * src/derives.c (print_derives): Fix and enrich.
517 * src/closure.c (print_fderives): Likewise.
518
519 2001-11-19 Akim Demaille <akim@epita.fr>
520
521 * src/closure.c (itemsetend): Remove, replaced with...
522 (itemsetsize): new.
523
524 2001-11-19 Akim Demaille <akim@epita.fr>
525
526 * src/LR0.c (kernel_end): Remove, replaced with...
527 (kernel_size): new.
528
529 2001-11-19 Akim Demaille <akim@epita.fr>
530
531 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
532 to clarify.
533
534 2001-11-19 Akim Demaille <akim@epita.fr>
535
536 * src/closure.c (closure): Use arrays instead of pointers to clarify.
537
538 2001-11-19 Akim Demaille <akim@epita.fr>
539
540 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
541 trace messages.
542 * src/LR0.c: Likewise.
543 (allocate_itemsets): Use arrays instead of pointers to clarify.
544
545 2001-11-19 Akim Demaille <akim@epita.fr>
546
547 * src/getargs.c (statistics_flag): Replace with...
548 (trace_flag): New.
549 (longopts): Accept --trace instead of --statistics.
550 * src/getargs.h: Adjust.
551 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
552 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
553
554 2001-11-19 Akim Demaille <akim@epita.fr>
555
556 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
557 pointers to clarify the code.
558 (save_reductions, save_shifts): Factor common parts of alternatives.
559
560 2001-11-19 Akim Demaille <akim@epita.fr>
561
562 * src/LR0.c (new_state, get_state): Complete TRACE code.
563 * src/closure.c: Include `reader.h' to get `tags', needed by the
564 trace code.
565 Rename the conditional DEBUG as TRACE.
566 Output consistently TRACEs to stderr, not stdout.
567 * src/derives.c: Likewise.
568 * src/reduce.c: (inaccessable_symbols): Using if is better style
569 than goto.
570 Use `#if TRACE' instead of `#if 0' for tracing code.
571
572 2001-11-19 Akim Demaille <akim@epita.fr>
573
574 * src/system.h (LIST_FREE, shortcpy): New.
575 * src/LR0.c: Use them.
576 * src/output.c (free_itemsets, free_reductions, free_shifts):
577 Remove, replaced by LIST_FREE.
578
579 2001-11-19 Akim Demaille <akim@epita.fr>
580
581 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
582 (REDUCTIONS_ALLOC): New.
583 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
584 allocation.
585
586 2001-11-19 Akim Demaille <akim@epita.fr>
587
588 * src/LR0.c (new_state): Complete trace code.
589 * src/nullable.c (set_nullable): Don't translate traces.
590
591 2001-11-19 Akim Demaille <akim@epita.fr>
592
593 * src/print_graph.c (print_core): Better locality of variables.
594 * src/print.c (print_core): Likewise.
595
596 2001-11-19 Akim Demaille <akim@epita.fr>
597
598 * src/vcg.c: You do the output, so you are responsible of the
599 handling of VCG syntax, in particular: use quotearg.
600 * src/print_graph.c: Don't.
601 (print_actions): Don't output the actions as part of the nodes,
602 since that's the job of the edges.
603 (print_state): Don't output by hand: fill the node description,
604 and ask for its output.
605
606 2001-11-19 Akim Demaille <akim@epita.fr>
607
608 * src/bison.simple (yyparse): When verbosely reporting an error,
609 no longer put additional quotes around token names.
610 * tests/calc.at: Adjust.
611
612 2001-11-19 Akim Demaille <akim@epita.fr>
613
614 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
615 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
616 * src/output.c: Adjust.
617
618 2001-11-19 Akim Demaille <akim@epita.fr>
619
620 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
621 (rule_t): this.
622 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
623
624 2001-11-19 Akim Demaille <akim@epita.fr>
625
626 * src/gram.h (rule_t): New.
627 (rule_table): New.
628 (rrhs, rlhs): Remove, part of state_t.
629 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
630 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
631 * src/reader.c, src/reduce.c: Adjust.
632
633 2001-11-19 Akim Demaille <akim@epita.fr>
634
635 * src/reader.c (symbols_output): New, extracted from...
636 (packsymbols): Here.
637 (reader): Call it.
638
639 2001-11-19 Akim Demaille <akim@epita.fr>
640
641 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
642 (maxrhs): this new function.
643
644 2001-11-19 Akim Demaille <akim@epita.fr>
645
646 * src/lalr.c (F): New macro to access the variable F.
647 Adjust.
648
649 2001-11-19 Akim Demaille <akim@epita.fr>
650
651 * src/lalr.h (LA): New macro to access the variable LA.
652 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
653 * src/lalr.c: Adjust.
654
655 2001-11-19 Akim Demaille <akim@epita.fr>
656
657 * src/lalr.c (initialize_LA): Only initialize LA. Let...
658 (set_state_table): handle the `lookaheads' members.
659
660 2001-11-19 Akim Demaille <akim@epita.fr>
661
662 * src/lalr.h (lookaheads): Removed array, whose contents is now
663 a member of...
664 (state_t): this structure.
665 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
666 Adjust.
667
668 2001-11-19 Akim Demaille <akim@epita.fr>
669
670 * src/lalr.h (consistent): Removed array, whose contents is now
671 a member of...
672 (state_t): this structure.
673 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
674 Adjust.
675
676 2001-11-19 Akim Demaille <akim@epita.fr>
677
678 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
679 contents are now members of...
680 (state_t): this structure.
681 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
682 Adjust.
683
684 2001-11-19 Akim Demaille <akim@epita.fr>
685
686 * src/lalr.h (state_t): New.
687 (state_table): Be a state_t * instead of a core **.
688 (accessing_symbol): Remove, part of state_t.
689 * src/lalr.c: Adjust.
690 (set_accessing_symbol): Merge into...
691 (set_state_table): this.
692 * src/print_graph.c, src/conflicts.c: Adjust.
693
694 2001-11-14 Akim Demaille <akim@epita.fr>
695
696 Version 1.30c.
697
698 2001-11-14 Akim Demaille <akim@epita.fr>
699
700 * tests/calc.at, tests/output.at, tests/regression.at,
701 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
702 now the tests are run in private dirs, therefore AC_CLEANUP and
703 family can be simplified to 0-ary.
704 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
705 use abs. path to find config.h.
706
707 2001-11-14 Akim Demaille <akim@epita.fr>
708
709 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
710 stderr, there can be way too much random noise.
711 Instead pass -Werror to GCC and rely on the exit status.
712 Reported by Wolfram Wagner.
713
714 2001-11-14 Akim Demaille <akim@epita.fr>
715
716 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
717 defined only if yyoverflow is defined, to avoid `warning: unused
718 variable `yyvs1''.
719 Reported by The Test Suite.
720
721 2001-11-14 Akim Demaille <akim@epita.fr>
722
723 * src/print.c: Include reduce.h.
724 Reported by Hans Aberg.
725
726 2001-11-14 Akim Demaille <akim@epita.fr>
727
728 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
729 Revert a previous patch: these are really const.
730 * src/conflicts.c (conflict_report): Additional useless pair of
731 braces to pacify GCC's warnings for `if () if () {} else {}'.
732 * src/lex.c (parse_percent_token): Replace equal_offset with
733 arg_offset.
734 arg is const.
735 Be sure to strdup `arg' when used, since there is no reason for
736 token_buffer not to change.
737
738 2001-11-14 Akim Demaille <akim@epita.fr>
739
740 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
741 definition.
742 * src/main.c (main): Use them.
743 Suggested by Hans Aberg.
744
745 2001-11-12 Akim Demaille <akim@epita.fr>
746
747 Version 1.30b.
748
749 * src/system.h (ngettext): Now that we use ngettext, be sure to
750 provide a default definition when NLS are not used that takes care
751 of the cardinality.
752
753 2001-11-12 Akim Demaille <akim@epita.fr>
754
755 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
756 Use @kbd to denote user input.
757 (Language and Grammar): ANSIfy the example.
758 Adjust its layout for info/notinfo.
759 (Location Tracking Calc): Output error messages to stderr.
760 Output locations in a more GNUtically correct way.
761 Fix a couple of Englishos.
762 Adjust @group/@end group pairs.
763
764 2001-11-12 Akim Demaille <akim@epita.fr>
765
766 %expext was not functioning at all.
767
768 * src/conflicts.c (expected_conflicts): Set to -1.
769 (conflict_report): Use ngettext.
770 (conflicts_print): Check %expect and make its violation an error.
771 * doc/bison.texinfo (Expect Decl): Adjust.
772 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
773 * tests/regression.at (%expect not enough, %expect right)
774 (%expect too much): New.
775
776 2001-11-12 Akim Demaille <akim@epita.fr>
777
778 * tests/regression.at (Conflicts): Rename as...
779 (Unresolved SR Conflicts): this.
780 (Solved SR Conflicts): New.
781
782 2001-11-12 Akim Demaille <akim@epita.fr>
783
784 * src/reduce.c (print_results): Rename as...
785 (reduce_output): This.
786 Output to OUT, passed as argument, instead of output_obstack.
787 (dump_grammar): Likewise.
788 (reduce_free): New.
789 Also free V1.
790 (reduce_grammar): No longer call reduce_output, since...
791 * src/print.c (print_results): do it.
792 * src/main.c (main): Call reduce_free;
793
794 2001-11-12 Akim Demaille <akim@epita.fr>
795
796 * src/conflicts.c (print_reductions): Accept OUT as argument.
797 Output to it, not to output_obstack.
798 * src/print.c (print_actions): Adjust.
799
800 2001-11-12 Akim Demaille <akim@epita.fr>
801
802 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
803 the result instead of using...
804 (src_total, rrc_total, src_count, rrc_count): Remove.
805 (any_conflicts): Remove.
806 (print_conflicts): Split into...
807 (conflicts_print, conflicts_output): New.
808 * src/conflicts.h: Adjust.
809 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
810 * src/print.c (print_grammar): Issue `\n' between to rule outputs.
811 * tests/regression.at (Conflicts): New.
812 Reported by Tom Lane.
813
814 2001-11-12 Akim Demaille <akim@epita.fr>
815
816 * tests/regression.at (Invalid input): Remove, duplicate with
817 ``Invalid input: 1''.
818
819 2001-11-12 Akim Demaille <akim@epita.fr>
820
821 * tests/torture.at (AT_DATA_STACK_TORTURE)
822 (Exploding the Stack Size with Alloca)
823 (Exploding the Stack Size with Malloc): New.
824
825 2001-11-12 Akim Demaille <akim@epita.fr>
826
827 * src/bison.simple (YYSTACK_REALLOC): New.
828 (yyparse) [!yyoverflow]: Use it and free the old stack.
829 Reported by Per Allansson.
830
831 2001-11-05 Akim Demaille <akim@epita.fr>
832
833 Version 1.30a.
834 * src/lex.c (parse_percent_token): s/quotearg/quote/.
835
836 2001-11-05 Akim Demaille <akim@epita.fr>
837
838 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
839 pattern.
840
841 2001-11-05 Akim Demaille <akim@epita.fr>
842
843 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
844 with yyltype/YYLTYPE. This allows inclusion of the generated
845 header within the parser if the compiler, such as GGC, accepts
846 multiple equivalent #defines.
847
848 2001-11-04 Akim Demaille <akim@epita.fr>
849
850 * src/getargs.c (longopts): Support `--output'. getopt is now
851 able to understand that `--out' is OK: the two racing long options
852 are aliases.
853 (usage): Adjust.
854 * src/lex.h (tok_setopt): Remove, replaced with...
855 (tok_intopt, tok_stropt): these new guys.
856 * src/lex.c (getopt.h): Not needed.
857 (token_buffer, unlexed_token_buffer): Not const.
858 (percent_table): Promote `-' over `_' in directive names.
859 Active `%name-prefix', `file-prefix', and `output'.
860 (parse_percent_token): Accept possible arguments to directives.
861 Promote `-' over `_' in directive names.
862 * doc/bison.texinfo (Decl Summary): Split the list into
863 `directives for grammars' and `directives for bison'.
864 Sort'em.
865 Add description of `%name-prefix', `file-prefix', and `output'.
866 Promote `-' over `_' in directive names.
867 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
868 Simplify the description of `--name-prefix'.
869 Promote `-' over `_' in directive names.
870 Promote `--output' over `--output-file'.
871 Fix the description of `--defines'.
872 * tests/output.at: Exercise %file-prefix and %output.
873
874 2001-11-02 Akim Demaille <akim@epita.fr>
875
876 * doc/refcard.tex: Update.
877
878 2001-11-02 Akim Demaille <akim@epita.fr>
879
880 * src/symtab.h (SUNDEF): New.
881 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
882 stand for `uninitialized', instead of 0.
883 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
884 * src/lex.c (lex): Adjust.
885
886 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
887 Number it 0.
888 Let yylex return it instead of a plain 0.
889 Reported by Dick Streefland.
890
891 2001-11-02 Akim Demaille <akim@epita.fr>
892
893 * tests/regression.at (Mixing %token styles): New test.
894
895 2001-11-02 Akim Demaille <akim@epita.fr>
896
897 * src/reader.c (parse_thong_decl): Formatting changes.
898 (token_translations_init): New, extracted from...
899 (packsymbols): Here.
900 Adjust.
901
902 2001-11-01 Akim Demaille <akim@epita.fr>
903
904 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
905 Check that `9foo.y' produces correct cpp guards.
906 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
907 guards.
908 Reported by Wwp.
909
910 2001-11-01 Akim Demaille <akim@epita.fr>
911
912 * tests/regression.at (Invalid input: 2): New.
913 * src/lex.c (unlexed_token_buffer): New.
914 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
915 too.
916 Reported by Wwp.
917
918 2001-11-01 Akim Demaille <akim@epita.fr>
919
920 * configure.in: Bump to 1.30a.
921 Adjust to newer Autotest.
922
923 2001-10-26 Akim Demaille <akim@epita.fr>
924
925 Version 1.30.
926
927 2001-10-26 Paul Eggert <eggert@twinsun.com>
928
929 * lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
930 lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
931 lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
932 m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
933 m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
934 Sync with fileutils 4.1.1.
935
936 2001-10-18 Akim Demaille <akim@epita.fr>
937
938 Version 1.29f.
939 * tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
940 avoid spurious failures.
941
942 2001-10-18 Akim Demaille <akim@epita.fr>
943
944 Version 1.29e.
945
946 2001-10-18 Akim Demaille <akim@epita.fr>
947
948 * tests/atlocal.in (GCC): Add.
949 * tests/calc.at: s/m4_match/m4_bmatch/.
950 s/m4_patsubst/m4_bpatsubst/.
951 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
952 * configure.in: AC_SUBST(GCC).
953
954 2001-10-10 Akim Demaille <akim@epita.fr>
955
956 * m4/m4.m4: Remove.
957 * configure.in: M4 is no longer needed, but autom4te is.
958 * tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
959 AC_SUBST do it.
960
961 2001-10-10 Akim Demaille <akim@epita.fr>
962
963 Bump to 1.29e.
964
965 2001-10-10 Akim Demaille <akim@epita.fr>
966
967 Version 1.29d.
968 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
969 Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
970 Reported by Airy Andre.
971
972 2001-10-10 Akim Demaille <akim@epita.fr>
973
974 * INSTALL, config/config.guess, config/config.sub, config/mdate-sh
975 * config/mkinstalldirs, lib/ansi2knr.c: Update.
976
977 2001-10-02 Akim Demaille <akim@epita.fr>
978
979 Bump 1.29d.
980
981 2001-10-02 Akim Demaille <akim@epita.fr>
982
983 Version 1.29c.
984
985 2001-10-02 Akim Demaille <akim@epita.fr>
986
987 * tests/regression.at (Invalid CPP headers): New.
988 From Alexander Belopolsky.
989 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
990
991 2001-10-02 Akim Demaille <akim@epita.fr>
992
993 * tests/regression.at (Invalid input): New.
994 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
995 Reported by Shura.
996
997 2001-10-02 Akim Demaille <akim@epita.fr>
998
999 * tests/calc.at: Now that --debug works, the tests must be adjusted.
1000
1001 2001-10-02 Akim Demaille <akim@epita.fr>
1002
1003 * src/output.c (output_parser): Assert `skeleton'.
1004 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
1005 systems.
1006 From Shura.
1007
1008 2001-10-01 Marc Autret <autret_m@epita.fr>
1009
1010 * src/lex.h: Echo modifications.
1011 * src/lex.c (unlex): Parameter is now token_t.
1012 From Hans Aberg.
1013
1014 2001-10-01 Marc Autret <autret_m@epita.fr>
1015
1016 * src/main.c: Include lex.h.
1017 From Hans Aberg.
1018
1019 2001-09-29 Akim Demaille <akim@epita.fr>
1020
1021 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
1022
1023 2001-09-28 Akim Demaille <akim@epita.fr>
1024
1025 * tests/testsuite.at: Update to newer Autotest.
1026 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
1027
1028 2001-09-27 Akim Demaille <akim@epita.fr>
1029
1030 Position independent wrapper.
1031
1032 * tests/bison: Remove.
1033 * tests/bison.in: New.
1034 * configure.in: Adjust.
1035
1036 2001-09-27 Paul Eggert <eggert@twinsun.com>
1037
1038 Port quotearg fixes from tar 1.13.24.
1039
1040 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
1041 tm to be declared.
1042 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
1043 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
1044
1045 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
1046 * m4/mbrtowc.m4: New file.
1047 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
1048 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
1049
1050 2001-09-27 Akim Demaille <akim@epita.fr>
1051
1052 Bump to 1.29c.
1053
1054 2001-09-27 Akim Demaille <akim@epita.fr>
1055
1056 Version 1.29b.
1057
1058 2001-09-25 Akim Demaille <akim@epita.fr>
1059
1060 * src/system.h: Include `xalloc.h'.
1061 Remove it from the C files.
1062 * src/files.c (output_files): Free the obstacks.
1063 * src/lex.c (init_lex): Rename as...
1064 (lex_init): this.
1065 (lex_free): New.
1066 * src/main.c (main): Use it.
1067
1068 2001-09-24 Marc Autret <autret_m@epita.fr>
1069
1070 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
1071 to output informations in fout (FILE*).
1072 (open_graph, close_graph): Likewise.
1073 (output_graph, output_edge, output_node): Likewise.
1074 * src/vcg.h: Update function prototypes.
1075 * src/print_graph.c (print_graph): Open output graph file.
1076 (print_actions): Adjust.
1077 * src/files.h: Remove extern declaration.
1078 * src/files.c: Remove graph_obstack declaration.
1079 (open_files): Remove graph_obstack initialization.
1080 (output_files): Remove graph_obstack saving.
1081
1082 2001-09-24 Marc Autret <autret_m@epita.fr>
1083
1084 * src/files.c (compute_output_file_names): Fix.
1085
1086 2001-09-24 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
1087
1088 * src/reader.c (reader): Remove call to free_symtab ().
1089 * src/main.c (main): Call it here.
1090 Include symtab.h.
1091 * src/conflicts.c (initialize_conflicts): Rename as...
1092 (solve_conflicts): this.
1093 * src/print.c (print_core, print_actions, print_state)
1094 (print_grammar): Dump to a file instead a `output_obstack'.
1095 (print_results): Dump `output_obstack', and then proceed with the
1096 FILE *.
1097 * src/files.c (compute_output_file_names, close_files): New.
1098 (output_files): Adjust.
1099 * src/main.c (main): Adjust.
1100
1101 2001-09-23 Marc Autret <autret_m@epita.fr>
1102
1103 * src/files.c (compute_header_macro): Computes header macro name
1104 from spec_defines_file when given.
1105
1106 2001-09-23 Marc Autret <autret_m@epita.fr>
1107
1108 * src/files.c (output_files): Add default extensions.
1109
1110 2001-09-22 Akim Demaille <akim@epita.fr>
1111
1112 * src/conflicts.c (finalize_conflicts): Rename as...
1113 (free_conflicts): this.
1114
1115 2001-09-22 Akim Demaille <akim@epita.fr>
1116
1117 * src/gram.c (gram_free): Rename back as...
1118 (dummy): this.
1119 (output_token_translations): Free `token_translations'.
1120 * src/symtab.c (free_symtab): Free the tag field.
1121
1122 2001-09-22 Akim Demaille <akim@epita.fr>
1123
1124 Remove `translations' as it is always set to true.
1125
1126 * src/gram.h: Adjust.
1127 * src/reader.c (packsymbols, parse_token_decl): Adjust
1128 * src/print.c (print_grammar): Adjust.
1129 * src/output.c (output_token_translations): Adjust.
1130 * src/lex.c (lex): Adjust.
1131 * src/gram.c: Be sure the set pointers to NULL.
1132 (dummy): Rename as...
1133 (gram_free): this.
1134
1135 2001-09-22 Akim Demaille <akim@epita.fr>
1136
1137 * configure.in: Invoke AM_LIB_DMALLOC.
1138 * src/system.h: Use dmalloc.
1139 * src/LR0.c: Be sure to have pointers initialized to NULL.
1140 (allocate_itemsets): Allocate kernel_items only if needed.
1141
1142 2001-09-22 Akim Demaille <akim@epita.fr>
1143
1144 * configure.in: Bump to 1.29b.
1145 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
1146 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
1147 need xmalloc.c in calc.y.
1148 From Pascal Bart.
1149
1150 2001-09-21 Akim Demaille <akim@epita.fr>
1151
1152 Version 1.29a.
1153 * Makefile.maint, config/config.guess, config/config.sub,
1154 * config/missing: Update from masters.
1155 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
1156 upon package.m4.
1157 * configure.in (ALL_LINGUAS): Add `tr'.
1158
1159 2001-09-21 Akim Demaille <akim@epita.fr>
1160
1161 * tests/Makefile.am (package.m4): Move to...
1162 ($(srcdir)/$(TESTSUITE)): here.
1163
1164 2001-09-20 Akim Demaille <akim@epita.fr>
1165
1166 * src/complain.c: No longer try to be standalone: use system.h.
1167 Don't assume __STDC__ is defined to 1. Just test if it is defined.
1168 * src/complain.h: Likewise.
1169 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
1170 Remove the unused variable `n'.
1171 From Albert Chin-A-Young.
1172
1173 2001-09-18 Marc Autret <autret_m@epita.fr>
1174
1175 * doc/bison.1: Update.
1176 * doc/bison.texinfo (Bison Options): Update --defines and --graph
1177 descriptions.
1178 (Option Cross Key): Update.
1179 Add --graph.
1180
1181 2001-09-18 Marc Autret <autret_m@epita.fr>
1182
1183 * tests/regression.at: New test (comment in %union).
1184
1185 2001-09-18 Marc Autret <autret_m@epita.fr>
1186
1187 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
1188 do that.
1189 Reported by Keith Browne.
1190
1191 2001-09-18 Marc Autret <autret_m@epita.fr>
1192
1193 * tests/output.at: Add tests for --defines and --graph.
1194
1195 2001-09-18 Marc Autret <autret_m@epita.fr>
1196
1197 * tests/output.at: Removes tests of %{header,src}_extension features.
1198
1199 2001-09-18 Akim Demaille <akim@epita.fr>
1200
1201 * tests/Makefile.am (package.m4): New.
1202 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
1203 (_AT_CHECK_CALC_ERROR): Likewise.
1204 Factor the `, ' part of verbose error messages.
1205
1206 2001-09-18 Marc Autret <autret_m@epita.fr>
1207
1208 * src/getargs.c (longopts): Declare --defines and --graph as options
1209 with optional arguments.
1210 * src/files.h: Add extern declarations.
1211 * src/files.c (spec_graph_file, spec_defines_file): New.
1212 (output_files): Update.
1213 Remove CPP-outed code.
1214
1215 2001-09-18 Marc Autret <autret_m@epita.fr>
1216
1217 Turn off %{source,header}_extension feature.
1218
1219 * src/files.c (compute_exts_from_gf): Update.
1220 (compute_exts_from_src): Update.
1221 (output_files): CPP-out useless code.
1222 * src/files.h: Remove {header,source}_extension extern declarations.
1223 * src/reader.c (parse_dquoted_param): CPP-out.
1224 (parse_header_extension_decl): Remove.
1225 (parse_source_extension_decl): Remove.
1226 (read_declarations): Remove cases tok_{hdrext,srcext}.
1227 * src/lex.c (percent_table): Remove {header,source}_extension entries.
1228 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
1229
1230 2001-09-10 Akim Demaille <akim@epita.fr>
1231
1232 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
1233 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
1234 (AT_CHECK_OUTPUT): this.
1235 Merely check ls' exit status, its output is useless.
1236
1237 2001-09-10 Akim Demaille <akim@epita.fr>
1238
1239 * tests/calc.at: Use m4_match.
1240 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
1241
1242 2001-09-10 Marc Autret <autret_m@epita.fr>, Akim Demaille <akim@epita.fr>
1243
1244 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
1245 enum color_e.
1246 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
1247 to `normal'.
1248 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
1249 * src/lex.h: Adjust prototype.
1250 (token_t): Add `tok_undef'.
1251 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
1252 (parse_percent_token): Now returns token_t.
1253 Add default statement in switch.
1254 (lex): Separate `c' as an input variable, from the token_t result
1255 part.
1256 (unlexed): Is a token_t.
1257
1258 2001-09-10 Akim Demaille <akim@epita.fr>
1259
1260 * configure.in: Bump to 1.29a.
1261
1262 2001-09-07 Akim Demaille <akim@epita.fr>
1263
1264 Version 1.29.
1265
1266 2001-08-30 Akim Demaille <akim@epita.fr>
1267
1268 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
1269 * m4/atconfig.m4: Remove.
1270 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
1271 * tests/bison: New.
1272 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
1273 m4_if, m4_patsubst, and m4_regexp.
1274 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
1275 `input' file instead of echo.
1276
1277 2001-08-29 Akim Demaille <akim@epita.fr>
1278
1279 Bump to 1.28e.
1280
1281 2001-08-29 Akim Demaille <akim@epita.fr>
1282
1283 Version 1.28d.
1284
1285 2001-08-29 Paul Eggert <eggert@twinsun.com>
1286
1287 * src/bison.simple (yyparse): Don't take the address of an
1288 item before the start of an array, as that doesn't conform to
1289 the C Standard.
1290
1291 2001-08-29 Robert Anisko <anisko_r@epita.fr>
1292
1293 * doc/bison.texinfo (Location Tracking Calc): New node.
1294
1295 2001-08-29 Paul Eggert <eggert@twinsun.com>
1296
1297 * src/output.c (output): Do not define const, as this now
1298 causes more problems than it cures.
1299
1300 2001-08-29 Akim Demaille <akim@epita.fr>
1301
1302 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
1303 the nodes.
1304 Be sure to tag the `detailmenu'.
1305
1306 2001-08-29 Akim Demaille <akim@epita.fr>
1307
1308 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
1309 download in a tmp dir.
1310
1311 2001-08-28 Marc Autret <autret_m@epita.fr>
1312
1313 * config/depcomp: New file.
1314
1315 2001-08-28 Marc Autret <autret_m@epita.fr>
1316
1317 * doc/bison.1 (mandoc): Adjust.
1318 From Juan Manuel Guerrero.
1319
1320 2001-08-28 Marc Autret <autret_m@epita.fr>
1321
1322 * src/print_graph.c (print_state): Fix.
1323
1324 2001-08-27 Marc Autret <autret_m@epita.fr>
1325
1326 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
1327 char * members.
1328 Echo modifications to the functions prototypes.
1329 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
1330
1331 2001-08-27 Marc Autret <autret_m@epita.fr>
1332
1333 * src/vcg.c: Include `xalloc.h'.
1334 (add_colorentry): New.
1335 (add_classname): New.
1336 (add_infoname): New.
1337 * src/vcg.h: Add new prototypes.
1338
1339 2001-08-27 Akim Demaille <akim@epita.fr>
1340
1341 * Makefile.maint: Sync. again with CVS Autoconf.
1342
1343 2001-08-27 Akim Demaille <akim@epita.fr>
1344
1345 * Makefile.maint: Formatting changes.
1346 (po-update, cvs-update, update): New targets.
1347 (AMTAR): Remove.
1348
1349 2001-08-27 Akim Demaille <akim@epita.fr>
1350
1351 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1352 * Makefile.maint: Sync. with CVS Autoconf.
1353
1354 2001-08-27 Marc Autret <autret_m@epita.fr>
1355
1356 * src/vcg.h (struct infoname_s): New.
1357 (struct colorentry_s): New.
1358 (graph_s): New fields {vertical,horizontal}_order in structure.
1359 Add `infoname' field.
1360 Add `colorentry' field;
1361 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
1362 (G_HORIZONTAL_ORDER): New.
1363 (G_INFONAME): New.
1364 (G_COLORENTRY): New.
1365 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
1366 Add output of `infoname'.
1367 Add output of `colorentry'.
1368
1369 2001-08-27 Marc Autret <autret_m@epita.fr>
1370
1371 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
1372 This one shadowed a global parameter.
1373
1374 2001-08-24 Marc Autret <autret_m@epita.fr>
1375
1376 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
1377 instead of `unsigned'.
1378 (print_state): Do not call obstack_object_size () in obstack_grow ()
1379 to avoid macro variables shadowing.
1380
1381 2001-08-23 Marc Autret <autret_m@epita.fr>
1382
1383 * src/lex.c (percent_table): Typo: s/naem/name/.
1384 Add graph option.
1385 Normalize new options declarations.
1386
1387 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1388
1389 * tests/suite.at: Exercise %header_extension and %source_extension.
1390
1391 2001-08-16 Marc Autret <autret_m@epita.fr>
1392
1393 * src/reader.c (parse_dquoted_param): New.
1394 (parse_header_extension_decl): Use it.
1395 (parse_source_extension_decl): Likewise.
1396
1397 2001-08-16 Marc Autret <autret_m@epita.fr>
1398
1399 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1400 (get_xxxx_str): Use assert () instead of complain ().
1401 Remove return invokations in default cases.
1402 (get_decision_str): Modify default behaviour. Remove second argument.
1403 Echo modifications on calls.
1404 (output_graph): Fix.
1405
1406 2001-08-16 Marc Autret <autret_m@epita.fr>
1407
1408 * src/getargs.c (usage): Update with ``-g, --graph''.
1409
1410 2001-08-16 Marc Autret <autret_m@epita.fr>
1411
1412 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1413 (Option Cross Key): Likewise.
1414 * doc/bison.1: Update.
1415
1416 2001-08-15 Akim Demaille <akim@epita.fr>
1417
1418 Version 1.28c.
1419
1420 2001-08-15 Marc Autret <autret_m@epita.fr>
1421
1422 * src/reader.c (readgram): Indent output macro YYSTYPE.
1423 (packsymbols): Likewise.
1424 (output_token_defines): Likewise.
1425 * src/files.c: Standardize.
1426 (compute_header_macro): New.
1427 (defines_obstack_save): New. Use compute_header_macro.
1428 (output_files): Update. Use defines_obstack_save.
1429
1430 2001-08-15 Akim Demaille <akim@epita.fr>
1431
1432 * doc/bison.texinfo (Table of Symbols): Document
1433 YYSTACK_USE_ALLOCA.
1434
1435 2001-08-15 Akim Demaille <akim@epita.fr>
1436
1437 * missing: Update from CVS Automake.
1438 * config/config.guess, config/config.sub, config/texinfo.tex:
1439 Update from gnu.org.
1440
1441 2001-08-15 Akim Demaille <akim@epita.fr>
1442
1443 * Makefile.maint: Sync with CVS Autoconf.
1444
1445 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1446
1447 * doc/bison.texinfo: Include GNU Free Documentation License from
1448 `fdl.texi'.
1449 * doc/fdl.texi: Add to package.
1450
1451 2001-08-14 Marc Autret <autret_m@epita.fr>
1452
1453 Turn on %{source,header}_extension features.
1454
1455 * src/lex.c (percent_table): Un-CPP out header_extension and
1456 source_extension.
1457 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1458 (compute_exts_from_src): Remove conditions. It restores priorities
1459 between options.
1460
1461 2001-08-14 Marc Autret <autret_m@epita.fr>
1462
1463 * src/files.c (compute_base_names): Add extensions computing when
1464 `--file-prefix' used.
1465 Standardize function calls.
1466
1467 2001-08-13 Marc Autret <autret_m@epita.fr>
1468
1469 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1470 defining it (defined but null disables alloca).
1471
1472 2001-08-13 Marc Autret <autret_m@epita.fr>
1473
1474 * src/bison.simple (_yy_memcpy): CPP reformat.
1475
1476 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1477
1478 * tests/atconfig.in (CPPFLAGS): Fix.
1479
1480 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1481
1482 * doc/bison.texinfo: Include GNU General Public License from
1483 `gpl.texi'.
1484 * doc/gpl.texi: Add to package.
1485
1486 2001-08-10 Marc Autret <autret_m@epita.fr>
1487
1488 * src/print_graph.h: Fix.
1489 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1490
1491 2001-08-10 Akim Demaille <akim@epita.fr>
1492
1493 * src/system.h: Provide default declarations for stpcpy, strndup,
1494 and strnlen.
1495
1496 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1497
1498 * doc/bison.texinfo (Locations): Update @$ stuff.
1499
1500 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1501
1502 * src/bison.simple (YYLLOC_DEFAULT): Update.
1503 (yyparse): Adjust.
1504
1505 2001-08-08 Marc Autret <autret_m@epita.fr>
1506
1507 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1508 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1509 Reported by Fabrice Bauzac.
1510
1511 2001-08-08 Marc Autret <autret_m@epita.fr>
1512
1513 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1514 * src/vcg.c (output_node): Fix.
1515 * src/vcg.h: Cleanup.
1516 * src/print_graph.c: Add comments.
1517 (node_output_size): New global variable. Simplify the formatting of
1518 the VCG graph output.
1519 (print_actions): Unused code is now used. It notifies the final state
1520 and no action states in the VCG graph. It also give the reduce actions.
1521 The `shift and goto' edges are red and the `go to state' edges are
1522 blue.
1523 Get the current node name and node_obstack by argument.
1524 (node_obstack): New variable.
1525 (print_state): Manage node_obstack.
1526 (print_core): Use node_obstack given by argument.
1527 A node is not only computed here but in print_actions also.
1528 (print_graph): CPP out useless code instead of commenting it.
1529
1530 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1531
1532 * tests/atconfig.in (CPPFLAGS): Fix.
1533
1534 2001-08-07 Akim Demaille <akim@epita.fr>
1535
1536 * src/print_graph.c (quote): New.
1537 (print_core): Use it.
1538
1539 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1540
1541 * src/vcg.c (complain.h): Include it.
1542 Unepitaize `return' invocations.
1543 [NDEBUG] (main): Remove.
1544 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1545 * src/files.c (open_files): Initialize graph_obstack.
1546 * src/print_graph.c (print_actions): CPP out useless code.
1547 (print_core): Don't output the last `\n' in labels.
1548 Use `quote'.
1549 * src/files.c (output_files): Output the VCG file.
1550 * src/main.c (main): Invoke print_graph ();
1551
1552 2001-08-06 Marc Autret <autret_m@epita.fr>
1553
1554 Automaton VCG graph output.
1555 Using option ``-g'' or long option ``--graph'', you can generate
1556 a gram_filename.vcg file containing a VCG description of the LALR (1)
1557 automaton of your grammar.
1558
1559 * src/main.c: Call to print_graph() function.
1560 * src/getargs.h: Update.
1561 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1562 (graph_flag): New flag.
1563 (longopts): Update.
1564 (getargs): Add case `g'.
1565 * src/files.c (graph_obstack): New obstack struct.
1566 (open_files): Initialize new obstack.
1567 (output_files): Saves graph_obstack if required.
1568 * src/files.h (graph_obstack): New extern declaration.
1569 * src/Makefile.am: Add new source files.
1570
1571 2001-08-06 Marc Autret <autret_m@epita.fr>
1572
1573 * src/print_graph.c, src/print_graph.h (graph): New.
1574 * src/vcg.h: New file.
1575 * src/vcg.c: New file, VCG graph handling.
1576
1577 2001-08-06 Marc Autret <autret_m@epita.fr>
1578
1579 Add of %source_extension and %header_extension which specify
1580 the source or/and the header output file extension.
1581
1582 * src/files.c (compute_base_names): Remove initialisation of
1583 src_extension and header_extension.
1584 (compute_exts_from_gf): Update.
1585 (compute_exts_from_src): Update.
1586 (output_files): Update.
1587 * src/reader.c (parse_header_extension_decl): New.
1588 (parse_source_extension_decl): New.
1589 (read_declarations): New case statements for the new tokens.
1590 * src/lex.c (percent_table): Add entries for %source_extension
1591 and %header_extension.
1592 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1593
1594 2001-08-06 Marc Autret <autret_m@epita.fr>
1595
1596 * configure.in: Bump to 1.28c.
1597 * doc/bison.texinfo: Texinfo thingies.
1598
1599 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1600
1601 * tests/atconfig.in (CPPFLAGS): Add.
1602 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1603
1604 2001-08-03 Akim Demaille <akim@epita.fr>
1605
1606 Version 1.28b.
1607
1608 2001-08-03 Akim Demaille <akim@epita.fr>
1609
1610 * tests/Makefile.am (check-local): Ship testsuite.
1611 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1612 Include `string.h'.
1613
1614 2001-08-03 Akim Demaille <akim@epita.fr>
1615
1616 * configure.in: Try using -Wformat when compiling.
1617
1618 2001-08-03 Akim Demaille <akim@epita.fr>
1619
1620 * configure.in: Bump to 1.28b.
1621
1622 2001-08-03 Akim Demaille <akim@epita.fr>
1623
1624 * src/complain.c: Adjust strerror_r portability issues.
1625
1626 2001-08-03 Akim Demaille <akim@epita.fr>
1627
1628 Version 1.28a.
1629
1630 2001-08-03 Akim Demaille <akim@epita.fr>
1631
1632 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1633 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1634 * src/getargs.c: Include complain.h.
1635 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1636 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1637
1638 2001-08-03 Akim Demaille <akim@epita.fr>
1639
1640 * src/reader.c (readgram): Display hidden chars in error messages.
1641
1642 2001-08-03 Akim Demaille <akim@epita.fr>
1643
1644 Update to gettext 0.10.39.
1645
1646 2001-08-03 Akim Demaille <akim@epita.fr>
1647
1648 * lib/strspn.c: New.
1649
1650 2001-08-01 Marc Autret <autret_m@epita.fr>
1651
1652 * doc/bison.texinfo: Update.
1653 * doc/bison.1 (mandoc): Update.
1654 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1655 * src/files.c: Support output files extensions computing.
1656 (src_extension): New static variable.
1657 (header_extension): New static variable.
1658 (tr): New function.
1659 (get_extension_index): New function, gets the index of an extension
1660 filename in a string.
1661 (compute_exts_from_gf): New function, computes extensions from the
1662 grammar file extension.
1663 (compute_exts_from_src): New functions, computes extensions from the
1664 C source file extension, file given by ``-o'' option.
1665 (compute_base_names): Update.
1666 (output_files): Update.
1667
1668 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1669
1670 * doc/bison.texi: Document @$.
1671 (Locations): New section.
1672
1673 2001-07-18 Akim Demaille <akim@epita.fr>
1674
1675 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1676 * config/prev-version.txt, config/move-if-change: New.
1677 * Makefile.am: Adjust.
1678
1679 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1680
1681 * src/bison.simple (yyparse): Suppress warning `comparaison
1682 between signed and unsigned'.
1683
1684 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1685
1686 * src/getargs.h (raw_flag): Remove.
1687 * src/getargs.c: Die on `-r'/`--raw'.
1688 * src/lex.c (parse_percent_token): Die on `%raw'.
1689 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1690 * tests/calc.at: Suppress test with option `--raw'.
1691
1692 2001-07-14 Akim Demaille <akim@epita.fr>
1693
1694 * config/: New.
1695 * configure.in: Require Autoconf 2.50.
1696 Update to gettext 0.10.38.
1697
1698 2001-03-16 Akim Demaille <akim@epita.fr>
1699
1700 * doc/bison.texinfo: ANSIfy the examples.
1701
1702 2001-03-16 Akim Demaille <akim@epita.fr>
1703
1704 * getargs.c (skeleton): New variable.
1705 (longopts): --skeleton is a new option.
1706 (shortopts, getargs): -S is a new option.
1707 * getargs.h: Declare skeleton.
1708 * output.c (output_parser): Use it.
1709
1710 2001-03-16 Akim Demaille <akim@epita.fr>
1711
1712 * m4/strerror_r.m4: New.
1713 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1714 * lib/error.h, lib/error.c: Update.
1715
1716 2001-03-16 Akim Demaille <akim@epita.fr>
1717
1718 * src/getargs.c (longopts): Clean up.
1719
1720 2001-02-21 Akim Demaille <akim@epita.fr>
1721
1722 * src/reader.c (gensym): `gensym_count' is your own.
1723 Use a static buf to create the symbol name, as token_buffer is no
1724 longer a buffer.
1725
1726 2001-02-08 Akim Demaille <akim@epita.fr>
1727
1728 * src/conflicts.c (conflict_report): Be sure not to append to res
1729 between two calls, which could happen if both first sprintf were
1730 skipped, but not the first cp += strlen.
1731
1732 2001-02-08 Akim Demaille <akim@epita.fr>
1733
1734 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1735 New, from fileutils 4.0.37.
1736 * configure.in: Require Autoconf 2.49c. I took some time before
1737 making this decision. This is the only way out for portability
1738 issues in Bison, it would mean way too much duplicate effort to
1739 import in Bison features implemented in 2.49c since 2.13.
1740 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1741
1742 2001-02-02 Akim Demaille <akim@epita.fr>
1743
1744 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1745 * lib/xalloc.h, lib/xmalloc.c: Update.
1746
1747 2001-01-19 Akim Demaille <akim@epita.fr>
1748
1749 Get rid of the ad hoc handling of token_buffer in the scanner: use
1750 the obstacks.
1751
1752 * src/lex.c (token_obstack): New.
1753 (init_lex): Initialize it. No longer call...
1754 (grow_token_buffer): this. Remove it.
1755 Adjust all the places which used it to use the obstack.
1756
1757 2001-01-19 Akim Demaille <akim@epita.fr>
1758
1759 * src/lex.h: Rename all the tokens:
1760 s/\bENDFILE\b/tok_eof/g;
1761 s/\bIDENTIFIER\b/tok_identifier/g;
1762 etc.
1763 Let them be enums, not #define, to ease debugging.
1764 Adjust all the code.
1765
1766 2001-01-18 Akim Demaille <akim@epita.fr>
1767
1768 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1769 * src/lex.c (maxtoken, grow_token_buffer): Static.
1770
1771 2001-01-18 Akim Demaille <akim@epita.fr>
1772
1773 Since we now use obstacks, more % directives can be enabled.
1774
1775 * src/lex.c (percent_table): Also accept `%yacc',
1776 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1777 `%debug'.
1778 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1779 instead of returning a token.
1780 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1781 * src/reader.c (read_declarations): Adjust.
1782 * src/files.c (open_files): Don't call `compute_base_names', don't
1783 compute `attrsfile' since they depend upon data which might be
1784 *in* the input file now.
1785 (output_files): Do it here.
1786 * src/output.c (output_headers): Document the fact that this patch
1787 introduces a guaranteed SEGV for semantic parsers.
1788 * doc/bison.texinfo: Document them.
1789 * tests/suite.at: Exercise these %options.
1790
1791 2000-12-20 Akim Demaille <akim@epita.fr>
1792
1793 Also handle the output file (--verbose) with obstacks.
1794
1795 * files.c (foutput): Remove.
1796 (output_obstack): New.
1797 Adjust all dependencies.
1798 * src/conflicts.c: Return a string.
1799 * src/system.h (obstack_grow_string): Rename as...
1800 (obstack_sgrow): this. Be ready to work with non literals.
1801 (obstack_fgrow4): New.
1802
1803 2000-12-20 Akim Demaille <akim@epita.fr>
1804
1805 * src/files.c (open_files): Fix the computation of short_base_name
1806 in the case of `-o foo.tab.c'.
1807
1808 2000-12-20 Akim Demaille <akim@epita.fr>
1809
1810 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1811 (copy_dollar): Now that everything uses obstacks, get rid of the
1812 FILE * parameters.
1813
1814 2000-12-20 Akim Demaille <akim@epita.fr>
1815
1816 * src/files.c (open_files): Actually the `.output' file is based
1817 on the short_base_name, not base_name.
1818 * tests/suite.at (Checking output file names): Adjust.
1819
1820 2000-12-20 Akim Demaille <akim@epita.fr>
1821
1822 * src/bison.s1: Remove, we now use directly...
1823 * src/bison.simple: this.
1824 * src/Makefile.am: Use pkgdata instead of data.
1825
1826 2000-12-20 Akim Demaille <akim@epita.fr>
1827
1828 * src/files.c (guard_obstack): New.
1829 (open_files): Initialize it.
1830 (output_files): Dump it...
1831 * src/files.h: Export it.
1832 * src/reader.c (copy_guard): Use it.
1833
1834 2000-12-19 Akim Demaille <akim@epita.fr>
1835
1836 * src/files.c (outfile, defsfile, actfile): Removed as global
1837 vars.
1838 (open_files): Don't compute them.
1839 (output_files): Adjust.
1840 (base_name, short_base_name): Be global.
1841 Adjust dependencies.
1842
1843 2000-12-19 Akim Demaille <akim@epita.fr>
1844
1845 * src/files.c (strsuffix): New.
1846 (stringappend): Be just like strcat but allocate.
1847 (base_names): Eve out from open_files.
1848 Try to simplify the rather hairy computation of base_name and
1849 short_base_name.
1850 (open_files): Use it.
1851 * tests/suite.at (Checking output file names): New test.
1852
1853 2000-12-19 Akim Demaille <akim@epita.fr>
1854
1855 * src/system.h (obstack_grow_literal_string): Rename as...
1856 (obstack_grow_string): this.
1857 * src/output.c (output_parser): Recognize `%% actions' instead of
1858 `$'.
1859 * src/bison.s1: s/$/%% actions/.
1860 * src/bison.hairy: Likewise.
1861
1862 2000-12-19 Akim Demaille <akim@epita.fr>
1863
1864 * src/output.c (output_parser): Compute the `#line' lines when
1865 there are.
1866 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1867 Suggested by Hans Aberg.
1868
1869 2000-12-19 Akim Demaille <akim@epita.fr>
1870
1871 Let the handling of the skeleton files be local to the procedures
1872 that use it.
1873
1874 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1875 longer static.
1876 (fparser, open_extra_files): Remove.
1877 (open_files, output_files): Don't take care of fparser.
1878 * src/files.h: Adjust.
1879 * src/output.c (output_parser): Open and close the file to the
1880 skeleton.
1881 * src/reader.c (read_declarations): When %semantic_parser, open
1882 fguard.
1883
1884 2000-12-19 Akim Demaille <akim@epita.fr>
1885
1886 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1887 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1888
1889 2000-12-19 Akim Demaille <akim@epita.fr>
1890
1891 * src/files.c (open_files): Yipee! We no longer need all the code
1892 looking for `/tmp' since we have no tmp file.
1893
1894 2000-12-19 Akim Demaille <akim@epita.fr>
1895
1896 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1897 New macros.
1898 * src/files.c (open_files): Less dependency on MSDOS etc.
1899
1900 2000-12-14 Akim Demaille <akim@epita.fr>
1901
1902 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1903 Provide a default definition.
1904 Use it when executing the default @ action.
1905 * src/reader.c (reader_output_yylsp): No longer include
1906 `timestamp' and `text' in the default YYLTYPE.
1907
1908 2000-12-12 Akim Demaille <akim@epita.fr>
1909
1910 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1911 (copy_guard): Quote the file names.
1912 Reported by Laurent Mascherpa.
1913
1914 2000-12-12 Akim Demaille <akim@epita.fr>
1915
1916 * src/output.c (output_headers, output_program, output): Be sure
1917 to escape special characters when outputting filenames.
1918 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1919 (output_headers): Don't depend on them, Use ACTSTR.
1920
1921 2000-11-17 Akim Demaille <akim@epita.fr>
1922
1923 * lib/obstack.h: Formatting changes.
1924 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1925 prevents type checking.
1926 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1927 cast the value to (void *): assigning a `foo *' to a `void *'
1928 variable is valid.
1929 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1930 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1931 append characters.
1932
1933 2000-11-17 Akim Demaille <akim@epita.fr>
1934
1935 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1936 as...
1937 (suite.m4, regression.m4, calc.m4): these.
1938 * tests/atgeneral.m4: Update from CVS Autoconf.
1939
1940 2000-11-17 Akim Demaille <akim@epita.fr>
1941
1942 * tests/regression.m4 (%union and --defines): New test,
1943 demonstrating a current bug in the obstack implementation.
1944
1945 2000-11-17 Akim Demaille <akim@epita.fr>
1946
1947 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1948 macros.
1949 Use them to declare the variables which are global or local to
1950 `yyparse'.
1951
1952 2000-11-17 Akim Demaille <akim@epita.fr>
1953
1954 * acconfig.h: Remove, no longer used.
1955
1956 2000-11-07 Akim Demaille <akim@epita.fr>
1957
1958 * src: s/Copyright (C)/Copyright/g.
1959
1960 2000-11-07 Akim Demaille <akim@epita.fr>
1961
1962 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1963 defining.
1964 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1965
1966 2000-11-07 Akim Demaille <akim@epita.fr>
1967
1968 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1969 Merge in a single CPP if/else.
1970
1971 2000-11-07 Akim Demaille <akim@epita.fr>
1972
1973 * src/output.c (output): Remove useless variables.
1974 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1975 argument `data' for consistency with the prototypes.
1976 Qualify it `const'.
1977 (obstack_copy, obstack_copy0): Rename the second argument as
1978 `address' for consistency. Qualify it `const'.
1979 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1980 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1981 `const' their input argument (`data' or `address').
1982 Adjust the corresponding macros to include `const' in casts.
1983
1984 2000-11-03 Akim Demaille <akim@epita.fr>
1985
1986 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1987 s/PFILE1/BISON_HAIRY/.
1988 Adjust dependencies.
1989
1990 2000-11-03 Akim Demaille <akim@epita.fr>
1991
1992 For some reason, this was not applied.
1993
1994 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1995 `unlink': it's no longer used.
1996
1997 2000-11-03 Akim Demaille <akim@epita.fr>
1998
1999 * src/files.c (skeleton_find): New function, eved out of...
2000 (open_files, open_extra_files): here.
2001
2002 2000-11-03 Akim Demaille <akim@epita.fr>
2003
2004 Don't use `atexit'.
2005
2006 * src/files.c (obstack_save): New function.
2007 (done): Rename as...
2008 (output_files): this.
2009 Use `obstack_save'.
2010 * src/main.c (main): Don't use `atexit' to register `done', since
2011 it no longer has to remove tmp files, just call `output_files'
2012 when there are no errors.
2013
2014 2000-11-02 Akim Demaille <akim@epita.fr>
2015
2016 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2017 `unlink': it's no longer used.
2018 * src/files.h: Formatting changes.
2019
2020 2000-11-02 Akim Demaille <akim@epita.fr>
2021
2022 Remove the last uses of mktemp and unlink/delete.
2023
2024 * src/files.c (fdefines, ftable): Removed.
2025 (defines_ostack, table_obstack): New.
2026 Adjust dependencies of the former into uses of the latter.
2027 * src/output.c (output_short_or_char_table, output_short_table):
2028 Convert to using obstacks.
2029 * src/reader.c (copy_comment2): Accept one FILE * and two
2030 obstacks.
2031 (output_token_defines, reader_output_yylsp): Use obstacks.
2032 * src/system.h (obstack_fgrow3): New.
2033
2034 2000-11-01 Akim Demaille <akim@epita.fr>
2035
2036 Change each use of `fattrs' into a use of `attrs_obstack'.
2037
2038 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2039 * src/files.c (fattrs): Remove.
2040 (attrs_obstack): New.
2041 Adjust all dependencies.
2042 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2043
2044 2000-11-01 Akim Demaille <akim@epita.fr>
2045
2046 Introduce obstacks.
2047 Change each use of `faction' into a use of `action_obstack'.
2048
2049 * lib/obstack.h, lib/obstack.c: New files.
2050 * src/files.c (faction): Remove.
2051 (action_obstack): New.
2052 Adjust all dependencies.
2053
2054 2000-10-20 Akim Demaille <akim@epita.fr>
2055
2056 * lib/quote.h (PARAMS): New macro. Use it.
2057
2058 2000-10-16 Akim Demaille <akim@epita.fr>
2059
2060 * src/output.c (output_short_or_char_table): New function.
2061 (output_short_table, output_token_translations): Use it.
2062 (goto_actions): Use output_short_table.
2063
2064 2000-10-16 Akim Demaille <akim@epita.fr>
2065
2066 * src/symtab.c (bucket_new): New function.
2067 (getsym): Use it.
2068
2069 * src/output.c (output_short_table): New argument to display the
2070 comment associated with the table.
2071 Adjust dependencies.
2072 (output_gram): Use it.
2073 (output_rule_data): Nicer output layout for YYTNAME.
2074
2075 2000-10-16 Akim Demaille <akim@epita.fr>
2076
2077 * src/lex.c (read_typename): New function.
2078 (lex): Use it.
2079 * src/reader.c (copy_dollar): Likewise.
2080
2081 2000-10-16 Akim Demaille <akim@epita.fr>
2082
2083 * src/reader.c (copy_comment2): Expect the input stream to be on
2084 the `/' which is suspected to open a comment, instead of being
2085 called after `//' or `/*' was read.
2086 (copy_comment, copy_definition, parse_union_decl, copy_action)
2087 (copy_guard): Adjust.
2088
2089 2000-10-16 Akim Demaille <akim@epita.fr>
2090
2091 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2092 `read_signed_integer'.
2093
2094 2000-10-16 Akim Demaille <akim@epita.fr>
2095
2096 * src/reader.c (copy_dollar): New function.
2097 (copy_guard, copy_action): Use it.
2098
2099 2000-10-16 Akim Demaille <akim@epita.fr>
2100
2101 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2102 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2103 New files, from Fileutils 4.0.27.
2104 * src/main.c (printable_version): Remove.
2105 * src/lex.c, src/reader.c: Use `quote'.
2106
2107 2000-10-04 Akim Demaille <akim@epita.fr>
2108
2109 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2110
2111 2000-10-04 Akim Demaille <akim@epita.fr>
2112
2113 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2114
2115 2000-10-04 Akim Demaille <akim@epita.fr>
2116
2117 When a literal string is used to define two different tokens,
2118 `bison -v' segfaults.
2119 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2120
2121 * tests/regression.m4: New file.
2122 Include the core of the sample provided by Piotr Gackiewicz.
2123 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2124 properly.
2125
2126 2000-10-04 Akim Demaille <akim@epita.fr>
2127
2128 * src/reader.c (parse_expect_decl): Keep `count' within the size
2129 of `buffer'.
2130 From Neil Booth.
2131
2132 2000-10-02 Paul Eggert <eggert@twinsun.com>
2133
2134 * bison.s1 (yyparse): Assign the default value
2135 unconditionally, to avoid a GCC warning and make the parser a
2136 tad smaller.
2137
2138 2000-10-02 Akim Demaille <akim@epita.fr>
2139
2140 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2141 options.
2142
2143 2000-10-02 Akim Demaille <akim@epita.fr>
2144
2145 * src/derives.c, src/print.c, src/reduce.c: To ease the
2146 translation, move some `\n' out of the translated strings.
2147
2148 2000-10-02 Akim Demaille <akim@epita.fr>
2149
2150 The location tracking mechanism is precious for parse error
2151 messages. Nevertheless, it is enabled only when `@n' is used in
2152 the grammar, which is a different issue (you can use it in error
2153 message, but not in the grammar per se). Therefore, there should
2154 be another means to enable it.
2155
2156 * src/getargs.c (getargs): Support `--locations'.
2157 (usage): Report it.
2158 * src/getargs.h (locationsflag): Export it.
2159 * src/lex.c (percent_table): Support `%locations'.
2160 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2161 with `locationsflag'.
2162 * doc/bison.texinfo: Document `--locations' and `%locations'.
2163 Sort the options.
2164 * tests/calc.m4: Test it.
2165
2166 For regularity of the names, replace each
2167 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2168 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2169 In addition replace each `flag' with `_flag'.
2170
2171 2000-10-02 Akim Demaille <akim@epita.fr>
2172
2173 Also test parse error messages, including with YYERROR_VERBOSE.
2174
2175 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2176 associative).
2177 Use it to check the computations.
2178 Use it to check `nonassoc' is honored.
2179 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2180 `--yyerror-verbose'.
2181 (_AT_CHECK_CALC): Adjust to this option.
2182 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2183
2184 2000-10-02 Akim Demaille <akim@epita.fr>
2185
2186 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2187 the latter demonstrates a flaw in the handling of non debugging
2188 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2189 was used in order to simplify:
2190
2191 #if YYDEBUG
2192 if (yydebug)
2193 {
2194 ...
2195 }
2196 #endif
2197
2198 into
2199
2200 if (yydebug)
2201 {
2202 ...
2203 }
2204
2205 unfortunately this leads to a CPP conflict when
2206 `--name-prefix=foo' is used since it produces `#define yydebug
2207 foodebug'.
2208
2209 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2210 (YYDPRINTF): New macro.
2211 Spread its use.
2212 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2213 the bison options.
2214 Also test `--verbose', `--defines' and `--name-prefix'.
2215
2216 2000-10-02 Akim Demaille <akim@epita.fr>
2217
2218 Improve the readability of the produced parsers.
2219
2220 * src/bison.s1: Formatting changes.
2221 Improve the comment related to the `$' mark.
2222 (yydefault): Don't fall through to `yyresume': `goto' there.
2223 * src/output.c (output_parser): When the `$' is met, skip the end
2224 of its line.
2225 New variable, `number_of_dollar_signs', to check there's exactly
2226 one `$' in the parser skeleton.
2227
2228 2000-10-02 Akim Demaille <akim@epita.fr>
2229
2230 * lib/xstrdup.c: New file, from the fileutils.
2231 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2232 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2233 instead of strlen + xmalloc + strcpy.
2234 * src/symtab.c (copys): Remove, use xstrdup instead.
2235
2236 2000-10-02 Akim Demaille <akim@epita.fr>
2237
2238 * src/gram.h (associativity): New enum type which replaces the
2239 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2240 `right_assoc', `left_assoc' and `non_assoc'.
2241 Adjust all dependencies.
2242 * src/reader.c: Formatting changes.
2243 (LTYPESTR): Don't define it, use it as a literal in
2244 `reader_output_yylsp'.
2245 * src/symtab.h (symbol_class): New enum type which replaces the
2246 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2247 `sunknown', `stoken and `snterm'.
2248
2249 2000-10-02 Akim Demaille <akim@epita.fr>
2250
2251 * src/getargs.c (fixed_outfiles): Rename as...
2252 (yaccflag): for consistency and accuracy.
2253 Adjust dependencies.
2254
2255 2000-10-02 Akim Demaille <akim@epita.fr>
2256
2257 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2258 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2259 difficult and introduced a lot of core dump. It turns out that
2260 Bison used an implementation of `xmalloc' based on `calloc', and
2261 at various places it does depend upon the initialization to 0. I
2262 have not tried to isolate the pertinent places, and all the former
2263 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2264 someone should address this issue.
2265
2266 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2267 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2268 files.
2269 Adjust dependencies.
2270 * src/warshall.h: New file.
2271 Propagate.
2272
2273 2000-10-02 Akim Demaille <akim@epita.fr>
2274
2275 Various anti-`extern in *.c' changes.
2276
2277 * src/system.h: Include `assert.h'.
2278
2279 2000-10-02 Akim Demaille <akim@epita.fr>
2280
2281 * src/state.h (nstates, final_state, first_state, first_shift)
2282 (first_reduction): Move their exportation from here...
2283 * src/LR0.h: to here.
2284 Adjust dependencies.
2285 * src/getargs.c (statisticsflag): New variable.
2286 Add support for `--statistics'.
2287 Adjust dependencies.
2288
2289 Remove a lot of now useless `extern' statements in most files.
2290
2291 2000-10-02 Akim Demaille <akim@epita.fr>
2292
2293 * src/LR0.h: New file.
2294 Propagate its use.
2295
2296 2000-10-02 Akim Demaille <akim@epita.fr>
2297
2298 * src/print.h: New file.
2299 Propagate its use.
2300 * src/print.c: Formatting and ordering changes.
2301 (verbose, terse): Replace with...
2302 (print_results): this new function.
2303 Adjust dependencies.
2304
2305 2000-10-02 Akim Demaille <akim@epita.fr>
2306
2307 * src/conflicts.c (conflict_report): New function.
2308 (conflict_log, verbose_conflict_log): Replace with...
2309 (print_conflicts): this function.
2310 Adjust dependencies.
2311 * src/conflicts.h: New file.
2312 Propagate its inclusion.
2313
2314 2000-10-02 Akim Demaille <akim@epita.fr>
2315
2316 * src/nullable.h: New file.
2317 Propagate its inclusion.
2318 * src/nullable.c: Formatting changes.
2319
2320 2000-10-02 Akim Demaille <akim@epita.fr>
2321
2322 * src/reduce.h: New file.
2323 Propagate its inclusion.
2324 * src/reduce.c: Topological sort and other formatting changes.
2325 (bool, TRUE, FALSE): Move their definition to...
2326 * src/system.h: here.
2327
2328 2000-10-02 Akim Demaille <akim@epita.fr>
2329
2330 * src/files.c: Formatting changes.
2331 (tryopen, tryclose, openfiles): Rename as...
2332 (xfopen, xfclose, open_files): this.
2333 (stringappend): static.
2334 * src/files.h: Complete the list of exported symbols.
2335 Propagate its use.
2336
2337 2000-10-02 Akim Demaille <akim@epita.fr>
2338
2339 * src/reader.h: New file.
2340 Propagate its use instead of tedious list of `extern' and
2341 prototypes.
2342 * src/reader.c: Formatting changes, topological sort,
2343 s/register//.
2344
2345 2000-10-02 Akim Demaille <akim@epita.fr>
2346
2347 * src/lex.h: Prototype `lex.c' exported functions.
2348 * src/reader.c: Adjust.
2349 * src/lex.c: Formatting changes.
2350 (safegetc): Rename as...
2351 (xgetc): this.
2352
2353 2000-10-02 Akim Demaille <akim@epita.fr>
2354
2355 * src/lalr.h: New file.
2356 Propagate its inclusion instead of prototypes and `extern'.
2357 * src/lalr.c: Formatting changes, topological sorting etc.
2358
2359 2000-10-02 Akim Demaille <akim@epita.fr>
2360
2361 * src/output.c (token_actions): Introduce a temporary array,
2362 YYDEFACT, that makes it possible for this function to use
2363 output_short_table.
2364
2365 2000-10-02 Akim Demaille <akim@epita.fr>
2366
2367 `user_toknums' is output as a `short[]' in `output.c', while it is
2368 defined as a `int[]' in `reader.c'. For consistency with the
2369 other output tables, `user_toknums' is now defined as a table of
2370 shorts.
2371
2372 * src/reader.c (user_toknums): Be a short table instead of an int
2373 table.
2374 Adjust dependencies.
2375
2376 Factor the short table outputs.
2377
2378 * src/output.c (output_short_table): New function.
2379 * src/output.c (output_gram, output_stos, output_rule_data)
2380 (output_base, output_table, output_check): Use it.
2381
2382 2000-10-02 Akim Demaille <akim@epita.fr>
2383
2384 * src/output.c (output): Topological sort of the functions, in
2385 order to get rid of the `static' prototypes.
2386 No longer use `register'.
2387 * src/output.h: New file.
2388 Propagate its inclusion in files explicitly prototyping functions
2389 from output.c.
2390
2391 2000-09-21 Akim Demaille <akim@epita.fr>
2392
2393 * src/atgeneral.m4: Update from Autoconf.
2394
2395 2000-09-21 Akim Demaille <akim@epita.fr>
2396
2397 * src/closure.h: New file.
2398 * src/closure.c: Formatting changes, topological sort over the
2399 functions, use of closure.h.
2400 (initialize_closure, finalize_closure): Rename as...
2401 (new_closure, free_closure): these. Adjust dependencies.
2402 * src/LR0.c: Formatting changes, topological sort, use of
2403 cloture.h.
2404 (initialize_states): Rename as...
2405 (new_states): this.
2406 * src/Makefile.am (noinst_HEADERS): Adjust.
2407
2408 2000-09-20 Akim Demaille <akim@epita.fr>
2409
2410 * src/acconfig.h: Don't protect config.h against multiple
2411 inclusion.
2412 Don't define PARAMS.
2413 * src/system.h: Define PARAMS.
2414 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2415 purpose of config.h. system.h must not try to fix wrong
2416 definitions in config.h.
2417
2418 2000-09-20 Akim Demaille <akim@epita.fr>
2419
2420 * src/derives.h: New file.
2421 * src/main.c, src/derives.h: Use it.
2422 Formatting changes.
2423 * src/Makefile.am (noinst_HEADERS): Adjust.
2424
2425 2000-09-20 Akim Demaille <akim@epita.fr>
2426
2427 * tests/atgeneral.m4: Update from Autoconf.
2428 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2429 (AT_CHECK_CALC): New macros.
2430 Use these macros to test bison with options `', `--raw',
2431 `--debug', `--yacc', `--yacc --debug'.
2432
2433 2000-09-19 Akim Demaille <akim@epita.fr>
2434
2435 * src/output.c: Formatting changes.
2436 * src/machine.h: Remove, leaving its contents in...
2437 * src/system.h: here.
2438 Include stdio.h.
2439 Adjust all dependencies on stdio.h and machine.h.
2440 * src/getargs.h: New file.
2441 Let all `extern' declarations about getargs.c be replaced with
2442 inclusion of `getargs.h'.
2443 * src/Makefile.am (noinst_HEADERS): Adjust.
2444
2445 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2446 scope.
2447 (yyerror): Returns void, not int.
2448 * doc/bison.texinfo: Formatting changes.
2449
2450 2000-09-19 Akim Demaille <akim@epita.fr>
2451
2452 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2453 portable.
2454
2455 2000-09-18 Akim Demaille <akim@epita.fr>
2456
2457 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2458 * src/Makefile.am (INCLUDES): Don't.
2459 Be ready to fetch headers in lib/.
2460
2461 2000-09-18 Akim Demaille <akim@epita.fr>
2462
2463 * doc/bison.texinfo: Update the copyright.
2464 ANSIfy and GNUify the examples.
2465 Remove the old menu.
2466
2467 2000-09-18 Akim Demaille <akim@epita.fr>
2468
2469 First set of tests: use the `calc' example from the documentation.
2470
2471 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2472 is defined only when YYDEBUG is.
2473 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2474 * src/files.c (tryopen, tryclose): Formatting changes.
2475 Move to the top and be static.
2476 * src/reader.c (read_signed_integer): Likewise.
2477 * tests/calc.m4: New file.
2478 * Makefile.am, suite.m4: Adjust.
2479 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2480
2481 2000-09-18 Akim Demaille <akim@epita.fr>
2482
2483 Add support for an Autotest test suite for Bison.
2484
2485 * m4/m4.m4, m4/atconfig.m4: New files.
2486 * m4/Makefile.am (EXTRA_DIST): Adjust.
2487 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2488 files.
2489 * src/getargs.c: Display a more standard --version message.
2490 * src/reader.c (reader): Formatting changes.
2491 No longer depend upon VERSION_STRING.
2492 * configure.in: No longer use `dnl'.
2493 Set up the test suite and the new directory `tests/.
2494 (VERSION_STRING): Remove.
2495
2496 2000-04-14 Akim Demaille <akim@epita.fr>
2497
2498 * src/reader.c (copy_comment2): New function, same as former
2499 `copy_comment', but outputs into two FILE *.
2500 (copy_comment): Use it.
2501 (parse_union_decl): Use it.
2502 (get_type, parse_start_decl): Use the same `invalid' message.
2503 (parse_start_decl, parse_union_decl): Use the same `multiple'
2504 message.
2505 (parse_union_decl, copy_guard, copy_action): Use the same
2506 `unmatched' message.
2507 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2508
2509 2000-03-31 Akim Demaille <akim@epita.fr>
2510
2511 * src/files.c (tryopen, tryclose): Move to the top.
2512 Be static.
2513
2514 2000-03-31 Akim Demaille <akim@epita.fr>
2515
2516 * src/main.c (main): Don't call `done', exit does it.
2517
2518 2000-03-31 Akim Demaille <akim@epita.fr>
2519
2520 * allocate.c: s/return (foo)/return foo/.
2521 * lalr.c: Likewise.
2522 * LR0.c: Likewise.
2523 * output.c: Likewise.
2524 * reader.c: Likewise.
2525 * symtab.c: Likewise.
2526 * vmsgetargs.c: Likewise.
2527
2528 2000-03-31 Akim Demaille <akim@epita.fr>
2529
2530 Clean up the error reporting functions.
2531
2532 * src/report.c: New file.
2533 * src/report.h: Likewise.
2534 * src/Makefile.am: Adjust.
2535 * m4/error.m4: New file.
2536 * m4/Makefile.am: Adjust.
2537 * configure.in (jm_PREREQ_ERROR): Call it.
2538 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2539 Remove.
2540 (fatal, fatals): Remove. All callers use complain.c::fatal.
2541 (warn, warni, warns, warnss, warnss): Remove. All callers use
2542 complain.c::complain.
2543 (toomany): Remove, use fatal instead.
2544 * src/files.c (done): No argument, use complain_message_count.
2545 * src/main.c (main): Register `done' to `atexit'.
2546
2547 * src/getargs.c (usage): More `fputs', less `fprintf'.
2548
2549 2000-03-28 Akim Demaille <akim@epita.fr>
2550
2551 * lib/: New directory.
2552 * Makefile.am (SUBDIRS): Adjust.
2553 * configure.in: Adjust.
2554 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2555 useless.
2556 * src/alloca.c: Moved to lib/.
2557 * src/getopt.c: Likewise.
2558 * src/getopt1.c: Likewise.
2559 * src/getopt.h: Likewise.
2560 * src/ansi2knr.c: Likewise.
2561 * src/ansi2knr.1: Likewise.
2562 * src/Makefile.am: Adjust.
2563 * lib/Makefile.am: New file.
2564
2565 2000-03-28 Akim Demaille <akim@epita.fr>
2566
2567 * src/getargs.c (usage): Refresh the help message.
2568
2569 2000-03-17 Akim Demaille <akim@epita.fr>
2570
2571 * src/getopt1.c: Updated from textutils 2.0e
2572 * src/getopt.c: Likewise.
2573 * src/getopt.h: Likewise.
2574
2575 2000-03-17 Akim Demaille <akim@epita.fr>
2576
2577 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2578 the file name, not the whole `#line LINE FILE'.
2579
2580 2000-03-17 Akim Demaille <akim@epita.fr>
2581
2582 On syntax errors, report the token on which we choked.
2583
2584 * src/bison.s1 (yyparse): In the label yyerrlab, when
2585 YYERROR_VERBOSE, add yychar in msg.
2586
2587 2000-03-17 Akim Demaille <akim@epita.fr>
2588
2589 * src/reader.c (copy_at): New function.
2590 (copy_guard): Use it.
2591 (copy_action): Use it.
2592
2593 2000-03-17 Akim Demaille <akim@epita.fr>
2594
2595 Be kind to translators, save some useless translations.
2596
2597 * src/main.c (banner): New function.
2598 (fatal_banner): Use it.
2599 (warn_banner): Use it.
2600
2601 2000-03-17 Akim Demaille <akim@epita.fr>
2602
2603 * src/reader.c (copy_definition): Use copy_string and
2604 copy_comment. Removed now unused `match', `ended',
2605 `cplus_comment'.
2606 (copy_comment, copy_string): Moved, to be visible from
2607 copy_definition.
2608
2609 2000-03-17 Akim Demaille <akim@epita.fr>
2610
2611 * src/reader.c (copy_string): Declare `static inline'. No
2612 problems with inline, since it is checked by configure.
2613 (copy_comment): Likewise.
2614
2615 2000-03-17 Akim Demaille <akim@epita.fr>
2616
2617 * src/reader.c (packsymbols): Formatting changes.
2618
2619 2000-03-17 Akim Demaille <akim@epita.fr>
2620
2621 * src/reader.c (copy_comment): New function, factored out from:
2622 (copy_action): Use it. Removed now unused `match', `ended',
2623 `cplus_comment'.
2624 (copy_guard): Likewise.
2625
2626 2000-03-17 Akim Demaille <akim@epita.fr>
2627
2628 * src/reader.c (copy_string): New function, factored out from:
2629 (copy_action): Use it.
2630 (copy_guard): Likewise.
2631
2632 2000-03-17 Akim Demaille <akim@epita.fr>
2633
2634 Change the handling of @s so that they behave exactly like $s.
2635 There is now a pseudo variable @$ (readble and writable), location
2636 of the lhs of the rule (by default ranging from the location of
2637 the first symbol of the rhs, to the location of the last symbol,
2638 or, if the rhs is empty, YYLLOC).
2639
2640 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2641 yyval.
2642 (yyparse): When providing a default semantic action, provide a
2643 default location action.
2644 (after the $): No longer change `*YYLSP', just stack YYLOC the
2645 same way you stack YYVAL.
2646 * src/reader.c (read_declarations): Use warns.
2647 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2648 (copy_action, case '@'): Likewise.
2649 Use a standard error message, to save useless work from
2650 translators.
2651
2652 2000-03-17 Akim Demaille <akim@epita.fr>
2653
2654 * src/bison.s1: Formatting and cosmetics changes.
2655 * src/reader.c: Likewise.
2656 Update the Copyright notice.
2657
2658 2000-03-17 Akim Demaille <akim@epita.fr>
2659
2660 * src/bison.s1 (#line): All set to `#line' only, since the
2661 Makefile now handles them.
2662
2663 2000-03-16 Akim Demaille <akim@epita.fr>
2664
2665 * src/output.c (output_rule_data): Output the documentation of
2666 some of the tables.
2667 (Copyright notice): Update.
2668 Formatting changes.
2669
2670 2000-03-16 Akim Demaille <akim@epita.fr>
2671
2672 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2673 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2674 One `#if YYDEBUG' remains, since it uses variables which are
2675 defined only if `YYDEBUG != 0'.
2676
2677 2000-03-16 Akim Demaille <akim@epita.fr>
2678
2679 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2680 and related variables so that the similarities are highlighted.
2681
2682 2000-03-16 Akim Demaille <akim@epita.fr>
2683
2684 * src/bison.s1: Properly indent CPP directives.
2685
2686 2000-03-16 Akim Demaille <akim@epita.fr>
2687
2688 * src/bison.s1: Properly indent the `alloca' CPP section.
2689
2690 2000-03-16 Akim Demaille <akim@epita.fr>
2691
2692 Do not hard code values of directories in `configure.in'.
2693 Update the `configure' tool chain.
2694
2695 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2696 src/makefile.am.
2697 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2698 (AC_OUTPUT): Add m4/Makefile.
2699 Bump to bison 1.28a, 1.29 has never been released.
2700 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2701 handled via src/Makefile.am.
2702 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2703 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2704 autoheader.
2705 * Makefile.am (SUBDIRS): Add m4.
2706 (ACLOCAL_AM_FLAGS): New variable.
2707 (AUTOMAKE_OPTIONS): Add check-news.
2708 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2709 the proper line number and file name.
2710 (DEFS): Propagate the location of bison library files and of the
2711 locale files.
2712 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2713 builddir.
2714 * acinclude.m4: Remove, replaced by the directory m4.
2715 * m4/Makefile.am (EXTRA_DIST): New variable.
2716 * m4/gettext.m4: New file, from the fileutils.
2717 * m4/lcmessage.m4: Likewise
2718 * m4/progtest.m4: Likewise.
2719 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2720
2721 2000-03-10 Akim Demaille <akim@epita.fr>
2722
2723 * src/closure.c:
2724 Formatting changes of various comments.
2725 Respect the GNU coding standards at various places.
2726 Don't use `_()' when no translation is needed.
2727
2728 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2729
2730 * src/files.c:
2731 OS/2 honors TMPDIR environment variable.
2732
2733 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2734
2735 * doc/bison.texinfo: Tweaked spelling and grammar.
2736 Updated ISBN.
2737 Removed reference to price of printed copy.
2738 Mention BISON_SIMPLE and BISON_HAIRY.
2739
2740 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2741
2742 * configure.in, NEWS:
2743 Bison 1.29 released.
2744
2745 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2746
2747 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2748 Added reference card.
2749
2750 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2751
2752 * po/ru.po: Added Russian translation.
2753
2754 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2755
2756 * configure.in: Added Russian translation.
2757
2758 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2759
2760 * configure.in, NEWS, README:
2761 Released version 1.28.
2762
2763 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2764
2765 * src/system.h:
2766 Squashed redefinition warning on some systems.
2767
2768 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2769 Have configure build version string instead of relying on ANSI string
2770 concatentation.
2771
2772 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2773
2774 * po/POTFILES.in: Got rid of version.c.
2775
2776 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2777
2778 * acconfig.h, configure.in:
2779 Have configure build version string instead of relying on ANSI string
2780 concatentation.
2781
2782 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2783
2784 * doc/bison.1:
2785 Dropped mention of `+' for long-named options.
2786
2787 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2788
2789 * src/files.c: Added <unistd.h> for unlink().
2790
2791 * src/Makefile.am, src/system.h:
2792 I18n fixes.
2793
2794 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2795
2796 * README: Added a FAQ list.
2797
2798 * configure.in, acconfig.h:
2799 I18n fixes.
2800
2801 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2802
2803 * doc/FAQ, doc/Makefile.am:
2804 Added a FAQ list.
2805
2806 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2807
2808 * src/alloc.h, src/symtab.h, src/version.c:
2809 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2810
2811 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2812
2813 * src/.cvsignore, src/Makefile.am:
2814 Reorganized: sources in `src', documentation in `doc'.
2815
2816 * src/lex.c (literalchar):
2817 fixed the code for escaping double quotes (thanks
2818 Jonathan Czisny.)
2819
2820 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2821
2822 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2823 Adjusted paths to reflect directory reorganization.
2824
2825 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2826
2827 * doc/.cvsignore, doc/Makefile.am:
2828 Reorganized: sources in `src', documentation in `doc'.
2829
2830 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2831
2832 * configure.in:
2833 Updated AC_INIT file to reflect directory reorganization.
2834
2835 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2836 Reorganized: sources in `src', documentation in `doc'.
2837
2838 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2839
2840 * src/allocate.c:
2841 Don't declare calloc() and realloc() if not necessary.
2842
2843 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2844
2845 * configure.in, acconfig.h, acinclude.m4:
2846 Don't declare calloc() and realloc() if not necessary.
2847
2848 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2849
2850 * po/.cvsignore: Added i18n support.
2851
2852 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2853
2854 * acconfig.h, configure.in, Makefile.am:
2855 Added i18n support.
2856
2857 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2858
2859 * src/bison.s1: Fixed #line numbers.
2860
2861 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2862
2863 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2864 Added PO files from Translation Project.
2865
2866 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2867
2868 * Makefile.am:
2869 Added support for non-ANSI compilers (ansi2knr).
2870
2871 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2872
2873 * configure.in: Bumped version number to 1.27.
2874
2875 * Makefile.am:
2876 Added `bison.simple' to list of files removed by `make distclean'.
2877
2878 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2879
2880 * src/files.c, src/files.h:
2881 Defined locations of parser files in config.h instead of Makefile.
2882
2883 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2884
2885 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2886 Defined locations of parser files in config.h instead of Makefile.
2887
2888 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2889
2890 * Makefile.am:
2891 Removed inappropriate use of $< macro.
2892
2893 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2894
2895 * po/Makefile.in.in, po/POTFILES.in:
2896 Add `po' directory skeleton.
2897
2898 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2899
2900 * README: Document help-bison list.
2901
2902 * configure.in: Add check for mkstemp().
2903
2904 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2905
2906 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2907 Hush a few compiler warnings.
2908
2909 * src/files.c:
2910 Add tryclose(), which verifies that fclose was successful.
2911 Hush a couple of compiler warnings.
2912
2913 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2914
2915 * Makefile.am, OChangeLog:
2916 ChangeLog is now automatically generated. Include the old version as
2917 OChangeLog.
2918
2919 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2920
2921 * 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:
2922 Update FSF address.
2923
2924 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2925
2926 * doc/bison.texinfo: Fix formatting glitch.
2927
2928 * doc/bison.texinfo: Update FSF address.
2929
2930 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2931
2932 * acconfig.h: Update FSF address.
2933
2934 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2935
2936 * src/system.h:
2937 Don't define PACKAGE here, since config.h defines it.
2938
2939 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2940
2941 * src/reader.c: Update copyright date.
2942
2943 * src/main.c:
2944 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2945 favor of output directly to stderr (avoids buffer overruns).
2946
2947 * src/reader.c: Some checks for premature EOF.
2948
2949 * 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:
2950 Use prototypes if the compiler understands them.
2951
2952 * src/files.c: Honor TMPDIR on Unix hosts.
2953 Use prototypes if the compiler understands them.
2954
2955 * src/reader.c:
2956 Fix a couple of buffer overrun bugs.
2957 Use prototypes if the compiler understands them.
2958
2959 * src/system.h: Include unistd.h and ctype.h.
2960 Use #ifdef instead of #if for NLS symbols.
2961
2962 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2963
2964 * doc/bison.texinfo:
2965 Delete comment "consider using @set for edition number, etc..." since
2966 we now are doing so.
2967
2968 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2969
2970 * configure.in:
2971 Use prototypes if the compiler understands them.
2972
2973 * NEWS: Document 1.26 highlights.
2974
2975 * Makefile.am: Require Automake 1.3 or later.
2976
2977 * acconfig.h:
2978 Use prototypes if the compiler understands them.
2979
2980 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2981
2982 * src/version.c:
2983 Use VERSION symbol from automake for version number.
2984
2985 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2986
2987 * acconfig.h, configure.in, version.cin:
2988 Use VERSION symbol from automake for version number.
2989
2990 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2991
2992 * Makefile.am:
2993 Distribute original version of simple parser (bison.s1), not built
2994 version (bison.simple).
2995
2996 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2997
2998 * doc/bison.texinfo: Add info dir entry.
2999
3000 * doc/bison.texinfo:
3001 Let automake put version number into documentation.
3002
3003 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3004
3005 * src/bison.cld, src/build.com, src/vmshlp.mar:
3006 Add non-RCS files from /gd/gnu/bison.
3007
3008 1998-11-26 Jesse Thilo <jthilo@gnu.org>
3009
3010 * doc/bison.1:
3011 Document the BISON_HAIRY and BISON_SIMPLE variables.
3012
3013 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3014
3015 * src/version.c: Build version.c automatically.
3016
3017 * src/reader.c:
3018 Fix token numbering (used to start at 258, not 257).
3019
3020 * src/system.h: Include config.h.
3021
3022 * src/getargs.c: Update bug report address.
3023
3024 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3025 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3026
3027 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3028
3029 * Makefile.am:
3030 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3031
3032 * configure.in, version.cin:
3033 Build version.c automatically.
3034
3035 * AUTHORS: Add AUTHORS file.
3036
3037 * README: Update bug report address.
3038
3039 * bison.simple:
3040 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3041
3042 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3043 Add automake stuff.
3044
3045 1998-11-25 Jesse Thilo <jthilo@gnu.org>
3046
3047 * doc/bison.texinfo: Clean up some formatting.
3048
3049 1998-05-05 Richard Stallman <rms@gnu.org>
3050
3051 * doc/bison.texinfo:
3052 Explain better why to make a pure parser.
3053
3054 1998-01-05 Richard Stallman <rms@gnu.org>
3055
3056 * src/files.c (openfiles):
3057 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3058 find a temporary directory, if possible. Do not unlink files while
3059 they are open.
3060
3061 1997-08-25 Richard Stallman <rms@gnu.org>
3062
3063 * src/reader.c (stack_offset;):
3064 Change some warni to warns.
3065
3066 * src/lex.c (literalchar): Use warns, not warni.
3067
3068 1997-06-28 Richard Stallman <rms@gnu.org>
3069
3070 * src/bison.s1: Add a Bison version comment.
3071
3072 * src/main.c (fatal, warn, berror):
3073 Use program_name.
3074
3075 1997-06-28 Richard Stallman <rms@gnu.org>
3076
3077 * Makefile.in (bison_version): New variable.
3078 (dist): Use that variable.
3079 (bison.s1): Substitute the Bison version into bison.simple.
3080
3081 * bison.simple: Add a Bison version comment.
3082
3083 1997-06-18 Richard Stallman <rms@gnu.org>
3084
3085 * src/main.c (fatal, warn, berror):
3086 Make error messages standard.
3087 (toomany): Improve error message text.
3088
3089 * 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:
3090 new.h renamed to alloc.h.
3091
3092 1997-06-18 Richard Stallman <rms@gnu.org>
3093
3094 * Makefile.in: new.h renamed to alloc.h.
3095
3096 1997-05-24 Richard Stallman <rms@gnu.org>
3097
3098 * src/lex.c (literalchar):
3099 Fix the code for escaping \, " and '.
3100
3101 (lex): Avoid trouble when there are many chars
3102 to discard in a char literal with just several chars in it.
3103
3104 1997-05-17 Richard Stallman <rms@gnu.org>
3105
3106 * src/bison.s1:
3107 Use malloc, if using alloca is troublesome.
3108 (YYSTACK_USE_ALLOCA): New flag macro.
3109 Define it for some systems and compilers.
3110 (YYSTACK_ALLOC): New macro.
3111 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3112 If it was malloc'd, free it.
3113
3114 1997-05-17 Richard Stallman <rms@gnu.org>
3115
3116 * bison.simple:
3117 Use malloc, if using alloca is troublesome.
3118 (YYSTACK_USE_ALLOCA): New flag macro.
3119 Define it for some systems and compilers.
3120 (YYSTACK_ALLOC): New macro.
3121 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3122 If it was malloc'd, free it.
3123
3124 1997-04-23 Richard Stallman <rms@gnu.org>
3125
3126 * src/bison.s1:
3127 (alloca) [__hpux]: Always define as __builtin_alloca.
3128
3129 1997-04-23 Richard Stallman <rms@gnu.org>
3130
3131 * bison.simple:
3132 (alloca) [__hpux]: Always define as __builtin_alloca.
3133
3134 1997-04-22 Richard Stallman <rms@gnu.org>
3135
3136 * src/bison.s1:
3137 [__hpux]: Include alloca.h (right for HPUX 10)
3138 instead of declaring alloca (right for HPUX 9).
3139
3140 * src/bison.s1 (__yy_memcpy):
3141 Declare arg `count' as unsigned int.
3142 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3143
3144 1997-04-22 Richard Stallman <rms@gnu.org>
3145
3146 * bison.simple:
3147 [__hpux]: Include alloca.h (right for HPUX 10)
3148 instead of declaring alloca (right for HPUX 9).
3149
3150 * bison.simple (__yy_memcpy):
3151 Declare arg `count' as unsigned int.
3152 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3153
3154 1997-01-03 Richard Stallman <rms@gnu.org>
3155
3156 * src/allocate.c: [__STDC__ or _MSC_VER]:
3157 Declare calloc and realloc to return void *.
3158
3159 1997-01-02 Richard Stallman <rms@gnu.org>
3160
3161 * src/system.h:
3162 [_MSC_VER]: Include stdlib.h and process.h.
3163 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3164
3165 * src/main.c (main): Return FAILURE as a value.
3166 (printable_version): Declare arg as int, not char.
3167
3168 1997-01-02 Richard Stallman <rms@gnu.org>
3169
3170 * Makefile.in (dist):
3171 Explicitly check for symlinks, and copy them.
3172
3173 1996-12-19 Richard Stallman <rms@gnu.org>
3174
3175 * src/files.c:
3176 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3177
3178 1996-12-18 Paul Eggert <eggert@gnu.org>
3179
3180 * src/bison.s1 (yyparse):
3181 If __GNUC__ and YYPARSE_PARAM are both defined,
3182 declare yyparse to have a void * argument.
3183
3184 1996-12-18 Paul Eggert <eggert@gnu.org>
3185
3186 * bison.simple (yyparse):
3187 If __GNUC__ and YYPARSE_PARAM are both defined,
3188 declare yyparse to have a void * argument.
3189
3190 1996-12-17 Richard Stallman <rms@gnu.org>
3191
3192 * src/reduce.c (nbits): Add some casts.
3193
3194 1996-08-12 Richard Stallman <rms@gnu.org>
3195
3196 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3197
3198 1996-08-12 Richard Stallman <rms@gnu.org>
3199
3200 * bison.simple: Test _MSDOS as well as _MSDOS_.
3201
3202 1996-07-31 Richard Stallman <rms@gnu.org>
3203
3204 * src/bison.s1:
3205 [__sun && __i386]: Include alloca.h.
3206
3207 1996-07-31 Richard Stallman <rms@gnu.org>
3208
3209 * bison.simple:
3210 [__sun && __i386]: Include alloca.h.
3211
3212 1996-07-30 Richard Stallman <rms@gnu.org>
3213
3214 * src/bison.s1: Comment change.
3215
3216 * src/bison.s1: Test _MSDOS_, not MSDOS.
3217
3218 1996-07-30 Richard Stallman <rms@gnu.org>
3219
3220 * bison.simple: Comment change.
3221
3222 * bison.simple: Test _MSDOS_, not MSDOS.
3223
3224 1996-06-01 Richard Stallman <rms@gnu.org>
3225
3226 * 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:
3227 Insert `_' macro around many string constants.
3228
3229 * src/main.c:
3230 Insert `_' macro around many string constants.
3231
3232 (main): Call setlocale, bindtextdomain and textdomain.
3233
3234 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3235 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3236 [ENABLE_NLS]: Include libintl.h.
3237 [ENABLE_NLS] (gettext): Define.
3238 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3239 (N_, PACKAGE, LOCALEDIR): New macros.
3240
3241 1996-06-01 Richard Stallman <rms@gnu.org>
3242
3243 * POTFILES.in: New file.
3244
3245 * Makefile.in (allocate.o):
3246 Define target explicitly.
3247
3248 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3249 (LDFLAGS): Set to @LDFLAGS@.
3250 (configure): Run autoconf only if preceding `cd' succeeds.
3251 (bison.s1): Redirect output to temporary file then move the
3252 temporary to the target, rather than redirecting directly to bison.s1.
3253 (clean): Remove config.status and config.log.
3254 (distclean): Don't remove config.status here.
3255
3256 1996-05-12 Richard Stallman <rms@gnu.org>
3257
3258 * src/bison.s1:
3259 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3260
3261 1996-05-12 Richard Stallman <rms@gnu.org>
3262
3263 * bison.simple:
3264 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3265
3266 1996-05-11 Richard Stallman <rms@gnu.org>
3267
3268 * src/bison.s1 (__yy_memcpy):
3269 Really reorder the args, as was supposedly done on Feb 14 1995.
3270 (yyparse): Calls changed accordingly.
3271
3272 1996-05-11 Richard Stallman <rms@gnu.org>
3273
3274 * Makefile.in (dist): Don't use $(srcdir).
3275
3276 * bison.simple (__yy_memcpy):
3277 Really reorder the args, as was supposedly done on Feb 14 1995.
3278 (yyparse): Calls changed accordingly.
3279
3280 1996-01-27 Richard Stallman <rms@gnu.org>
3281
3282 * src/output.c (output_rule_data):
3283 Test YYERROR_VERBOSE in the conditional
3284 around the definition of ttyname.
3285
3286 1995-12-29 Richard Stallman <rms@gnu.org>
3287
3288 * src/bison.s1:
3289 Fix line numbers in #line commands.
3290
3291 1995-12-29 Richard Stallman <rms@gnu.org>
3292
3293 * bison.simple:
3294 Fix line numbers in #line commands.
3295
3296 1995-12-27 Richard Stallman <rms@gnu.org>
3297
3298 * src/bison.s1 (YYPARSE_PARAM_DECL):
3299 In C++, make it always null.
3300 (YYPARSE_PARAM_ARG): New macro.
3301 (yyparse): Use YYPARSE_PARAM_ARG.
3302
3303 1995-12-27 Richard Stallman <rms@gnu.org>
3304
3305 * bison.simple (YYPARSE_PARAM_DECL):
3306 In C++, make it always null.
3307 (YYPARSE_PARAM_ARG): New macro.
3308 (yyparse): Use YYPARSE_PARAM_ARG.
3309
3310 1995-11-29 Richard Stallman <rms@gnu.org>
3311
3312 * doc/bison.texinfo:
3313 Describe literal string tokens, %raw, %no_lines, %token_table.
3314
3315 1995-11-29 Daniel Hagerty <hag@gnu.org>
3316
3317 * doc/bison.texinfo: Fixed update date
3318
3319 1995-10-16 Richard Stallman <rms@gnu.org>
3320
3321 * src/version.c: Version 1.25.
3322
3323 1995-10-16 Richard Stallman <rms@gnu.org>
3324
3325 * NEWS: *** empty log message ***
3326
3327 1995-10-16 Richard Stallman <rms@gnu.org>
3328
3329 * doc/bison.1, doc/bison.rnh:
3330 Add new options.
3331
3332 1995-10-15 Richard Stallman <rms@gnu.org>
3333
3334 * src/vmsgetargs.c, src/getargs.c:
3335 Added -n, -k, and -raw switches.
3336 (noparserflag, toknumflag, rawtoknumflag): New variables.
3337
3338 * src/symtab.h (SALIAS):
3339 New #define for adding aliases to %token.
3340 (struct bucket): Added `alias' field.
3341
3342 * src/reduce.c (reduce_grammar):
3343 Revise error message.
3344 (print_notices): Remove final `.' from error message.
3345
3346 * src/reader.c (reader_output_yylsp):
3347 New function.
3348 (readgram): Use `#if 0' around code that accepted %command
3349 inside grammar rules: The documentation doesn't allow it,
3350 and it will fail since the %command processors scan for the next %.
3351 (parse_token_decl): Extended the %token
3352 declaration to allow a multi-character symbol as an alias.
3353 (parse_thong_decl): New function.
3354 (read_declarations): Added %thong declarations.
3355 (read_declarations): Handle NOOP to deal with allowing
3356 % declarations as another means to specify the flags.
3357 (readgram): Allow %prec prior to semantics embedded in a rule.
3358 (skip_to_char, read_declarations, copy_definition)
3359 (parse_token_decl, parse_start_decl, parse_type_decl)
3360 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3361 (get_type_name, copy_guard, copy_action, readgram)
3362 (get_type, packsymbols): Revised most error messages.
3363 Changed `fatal' to `warnxxx' to avoid aborting for error.
3364 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3365 (read_declarations): Improve the error message for
3366 an invalid character. Do not abort.
3367 (read_declarations, copy_guard, copy_action): Use
3368 printable_version to avoid unprintable characters in printed output.
3369 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3370 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3371 Allow the type of a non-terminal can be given
3372 more than once, as long as all specifications give the same type.
3373
3374 * src/output.c:
3375 (output_headers, output_trailers, output, output_gram)
3376 (output_rule_data): Implement noparserflag variable.
3377 Implement toknumflag variable.
3378 (output): Call reader_output_yylsp to output LTYPESTR.
3379
3380 * src/main.c (main):
3381 If reader sees an error, don't process the grammar.
3382 (fatals): Updated to not use VARARGS1.
3383 (printable_version, int_to_string, warn, warni, warns, warnss)
3384 (warnsss): New error reporting functions. Avoid abort for error.
3385
3386 * src/lex.h:
3387 Added THONG and NOOP for alias processing.
3388 Added SETOPT for the new code that allows setting options with %flags.
3389
3390 * src/lex.c:
3391 Include getopt.h. Add some extern decls.
3392 (safegetc): New function to deal with EOF gracefully.
3393 (literalchar); new function to deal with reading \ escapes.
3394 (lex): Use literalchar.
3395 (lex): Implemented "..." tokens.
3396 (literalchar, lex, parse_percent_token): Made tokenbuffer
3397 always contain the token. This includes growing the token
3398 buffer while reading an integer.
3399 (parse_percent_token): Replaced if-else statement with percent_table.
3400 (parse_percent_token): Added % declarations as another
3401 way to specify the flags -n, -l, and -r. Also added hooks for
3402 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3403 major changes to files.c.
3404 (lex) Retain in the incoming stream a character following
3405 an incorrect '/'.
3406 (skip_white_space, lex): Revised most error messages
3407 and changed fatal to warn to avoid aborting.
3408 (percent_table): Added %thong declarations.
3409
3410 * src/gram.h: Comment changes.
3411
3412 * src/files.c (openfiles, open_extra_files, done):
3413 Add faction flag
3414 and actfile file. Handle noparserflag. Both for -n switch.
3415
3416 * src/conflicts.c (resolve_sr_conflict):
3417 Remove use of alloca.
3418
3419 1995-06-01 Jim Meyering <meyering@gnu.org>
3420
3421 * doc/bison.texinfo: *** empty log message ***
3422
3423 1995-05-06 Richard Stallman <rms@gnu.org>
3424
3425 * src/bison.s1: Comment change.
3426
3427 1995-05-06 Richard Stallman <rms@gnu.org>
3428
3429 * bison.simple: Comment change.
3430
3431 1995-05-03 Richard Stallman <rms@gnu.org>
3432
3433 * src/version.c: Version now 1.24.
3434
3435 * src/bison.s1: Change distribution terms.
3436
3437 * src/version.c: Version now 1.23.
3438
3439 1995-05-03 Richard Stallman <rms@gnu.org>
3440
3441 * doc/bison.texinfo:
3442 Rewrite "Conditions for Using Bison".
3443 Update version to 1.24.
3444
3445 1995-05-03 Richard Stallman <rms@gnu.org>
3446
3447 * bison.simple: Change distribution terms.
3448
3449 1995-02-23 Richard Stallman <rms@gnu.org>
3450
3451 * src/files.c: Test __VMS_POSIX as well as VMS.
3452
3453 1995-02-14 Jim Meyering <meyering@gnu.org>
3454
3455 * src/bison.s1 (__yy_memcpy):
3456 Renamed from __yy_bcopy to avoid
3457 confusion. Reverse FROM and TO arguments to be consistent with
3458 those of memcpy.
3459
3460 1995-02-14 Jim Meyering <meyering@gnu.org>
3461
3462 * bison.simple (__yy_memcpy):
3463 Renamed from __yy_bcopy to avoid
3464 confusion. Reverse FROM and TO arguments to be consistent with
3465 those of memcpy.
3466
3467 1994-11-10 David J. MacKenzie <djm@gnu.org>
3468
3469 * NEWS: reformat
3470
3471 * NEWS: New file.
3472
3473 * Makefile.in (DISTFILES): Include NEWS.
3474
3475 * Makefile.in (DISTFILES):
3476 Include install-sh, not install.sh.
3477
3478 * configure.in: Update to Autoconf v2 macro names.
3479
3480 1994-10-05 David J. MacKenzie <djm@gnu.org>
3481
3482 * Makefile.in: fix typo
3483
3484 * Makefile.in (prefix, exec_prefix):
3485 Let configure set them.
3486
3487 1994-09-28 David J. MacKenzie <djm@gnu.org>
3488
3489 * Makefile.in: Set datadir to $(prefix)/share.
3490
3491 1994-09-15 Richard Stallman <rms@gnu.org>
3492
3493 * src/bison.s1:
3494 Update copyright notice and GPL version.
3495
3496 1994-09-15 Richard Stallman <rms@gnu.org>
3497
3498 * bison.simple:
3499 Update copyright notice and GPL version.
3500
3501 1994-07-12 Richard Stallman <rms@gnu.org>
3502
3503 * src/reduce.c, src/reader.c:
3504 entered into RCS
3505
3506 1994-05-05 David J. MacKenzie <djm@gnu.org>
3507
3508 * Makefile.in: entered into RCS
3509
3510 1994-03-26 Richard Stallman <rms@gnu.org>
3511
3512 * src/bison.s1: entered into RCS
3513
3514 1994-03-26 Richard Stallman <rms@gnu.org>
3515
3516 * bison.simple: entered into RCS
3517
3518 1994-03-25 Richard Stallman <rms@gnu.org>
3519
3520 * src/main.c: entered into RCS
3521
3522 1994-03-24 Richard Stallman <rms@gnu.org>
3523
3524 * src/conflicts.c: entered into RCS
3525
3526 1994-01-02 Richard Stallman <rms@gnu.org>
3527
3528 * Makefile.in: *** empty log message ***
3529
3530 1993-11-21 Richard Stallman <rms@gnu.org>
3531
3532 * src/bison.s1: *** empty log message ***
3533
3534 1993-11-21 Richard Stallman <rms@gnu.org>
3535
3536 * doc/bison.texinfo: entered into RCS
3537
3538 * doc/bison.texinfo: *** empty log message ***
3539
3540 1993-11-21 Richard Stallman <rms@gnu.org>
3541
3542 * bison.simple: *** empty log message ***
3543
3544 1993-10-25 David J. MacKenzie <djm@gnu.org>
3545
3546 * doc/bison.texinfo: *** empty log message ***
3547
3548 1993-10-19 Richard Stallman <rms@gnu.org>
3549
3550 * src/bison.s1: *** empty log message ***
3551
3552 1993-10-19 Richard Stallman <rms@gnu.org>
3553
3554 * bison.simple: *** empty log message ***
3555
3556 1993-10-14 Richard Stallman <rms@gnu.org>
3557
3558 * src/bison.s1: *** empty log message ***
3559
3560 1993-10-14 Richard Stallman <rms@gnu.org>
3561
3562 * bison.simple: *** empty log message ***
3563
3564 1993-09-14 David J. MacKenzie <djm@gnu.org>
3565
3566 * doc/bison.texinfo: *** empty log message ***
3567
3568 1993-09-13 Noah Friedman <friedman@gnu.org>
3569
3570 * Makefile.in: *** empty log message ***
3571
3572 1993-09-10 Richard Stallman <rms@gnu.org>
3573
3574 * src/conflicts.c: *** empty log message ***
3575
3576 * src/system.h: entered into RCS
3577
3578 1993-09-10 Richard Stallman <rms@gnu.org>
3579
3580 * doc/bison.1: entered into RCS
3581
3582 1993-09-06 Noah Friedman <friedman@gnu.org>
3583
3584 * src/version.c: entered into RCS
3585
3586 1993-09-06 Noah Friedman <friedman@gnu.org>
3587
3588 * Makefile.in: *** empty log message ***
3589
3590 1993-07-30 David J. MacKenzie <djm@gnu.org>
3591
3592 * Makefile.in: *** empty log message ***
3593
3594 1993-07-24 Richard Stallman <rms@gnu.org>
3595
3596 * src/bison.s1: *** empty log message ***
3597
3598 1993-07-24 Richard Stallman <rms@gnu.org>
3599
3600 * bison.simple: *** empty log message ***
3601
3602 1993-07-08 David J. MacKenzie <djm@gnu.org>
3603
3604 * Makefile.in: *** empty log message ***
3605
3606 1993-07-04 Richard Stallman <rms@gnu.org>
3607
3608 * src/bison.s1: *** empty log message ***
3609
3610 1993-07-04 Richard Stallman <rms@gnu.org>
3611
3612 * bison.simple: *** empty log message ***
3613
3614 1993-06-26 David J. MacKenzie <djm@gnu.org>
3615
3616 * src/getargs.c: entered into RCS
3617
3618 1993-06-26 David J. MacKenzie <djm@gnu.org>
3619
3620 * doc/bison.texinfo: *** empty log message ***
3621
3622 * doc/bison.1: New file.
3623
3624 1993-06-25 Richard Stallman <rms@gnu.org>
3625
3626 * src/getargs.c: New file.
3627
3628 1993-06-16 Richard Stallman <rms@gnu.org>
3629
3630 * src/bison.s1: *** empty log message ***
3631
3632 1993-06-16 Richard Stallman <rms@gnu.org>
3633
3634 * bison.simple: *** empty log message ***
3635
3636 1993-06-03 Richard Stallman <rms@gnu.org>
3637
3638 * src/bison.s1: New file.
3639
3640 1993-06-03 Richard Stallman <rms@gnu.org>
3641
3642 * doc/bison.texinfo: *** empty log message ***
3643
3644 1993-06-03 Richard Stallman <rms@gnu.org>
3645
3646 * bison.simple: New file.
3647
3648 1993-05-19 Richard Stallman <rms@gnu.org>
3649
3650 * doc/bison.texinfo: New file.
3651
3652 1993-05-07 Noah Friedman <friedman@gnu.org>
3653
3654 * Makefile.in: *** empty log message ***
3655
3656 1993-04-28 Noah Friedman <friedman@gnu.org>
3657
3658 * src/reader.c: *** empty log message ***
3659
3660 1993-04-23 Noah Friedman <friedman@gnu.org>
3661
3662 * src/alloc.h: entered into RCS
3663
3664 1993-04-20 David J. MacKenzie <djm@gnu.org>
3665
3666 * src/version.c: *** empty log message ***
3667
3668 * src/files.c, src/allocate.c:
3669 entered into RCS
3670
3671 * src/reader.c: *** empty log message ***
3672
3673 * src/lex.c: entered into RCS
3674
3675 * src/conflicts.c: New file.
3676
3677 * src/symtab.c: entered into RCS
3678
3679 * src/alloc.h: New file.
3680
3681 * src/LR0.c: entered into RCS
3682
3683 1993-04-18 Noah Friedman <friedman@gnu.org>
3684
3685 * src/reader.c: New file.
3686
3687 * src/version.c: *** empty log message ***
3688
3689 1993-04-18 Noah Friedman <friedman@gnu.org>
3690
3691 * Makefile.in: *** empty log message ***
3692
3693 1993-04-17 Noah Friedman <friedman@gnu.org>
3694
3695 * Makefile.in: *** empty log message ***
3696
3697 1993-04-15 Richard Stallman <rms@gnu.org>
3698
3699 * src/main.c, src/files.c:
3700 New file.
3701
3702 1993-04-15 Noah Friedman <friedman@gnu.org>
3703
3704 * configure.in: entered into RCS
3705
3706 * configure.in: *** empty log message ***
3707
3708 * configure.in: New file.
3709
3710 1993-04-14 Richard Stallman <rms@gnu.org>
3711
3712 * Makefile.in: New file.
3713
3714 1993-04-13 Richard Stallman <rms@gnu.org>
3715
3716 * src/version.c: New file.
3717
3718 1993-03-25 Richard Stallman <rms@gnu.org>
3719
3720 * src/output.c: entered into RCS
3721
3722 1992-09-25 Richard Stallman <rms@gnu.org>
3723
3724 * configure.bat: entered into RCS
3725
3726 1992-06-22 Richard Stallman <rms@gnu.org>
3727
3728 * src/vmsgetargs.c: entered into RCS
3729
3730 1992-06-22 Richard Stallman <rms@gnu.org>
3731
3732 * doc/bison.rnh: entered into RCS
3733
3734 1992-04-20 David J. MacKenzie <djm@gnu.org>
3735
3736 * README: entered into RCS
3737
3738 1992-01-22 Richard Stallman <rms@gnu.org>
3739
3740 * src/machine.h: entered into RCS
3741
3742 1991-12-21 Richard Stallman <rms@gnu.org>
3743
3744 * src/lalr.c, src/closure.c:
3745 entered into RCS
3746
3747 1991-12-20 Richard Stallman <rms@gnu.org>
3748
3749 * src/state.h: entered into RCS
3750
3751 1991-12-18 Richard Stallman <rms@gnu.org>
3752
3753 * src/print.c, src/nullable.c, src/derives.c:
3754 entered into RCS
3755
3756 1991-11-03 David J. MacKenzie <djm@gnu.org>
3757
3758 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3759 entered into RCS
3760
3761 1988-09-09 Richard Stallman <rms@gnu.org>
3762
3763 * src/bison.hairy: entered into RCS
3764
3765 1987-12-16 Richard Stallman <rms@gnu.org>
3766
3767 * REFERENCES: entered into RCS