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