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