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