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