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