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