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