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