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