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