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