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