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