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