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