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