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