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