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