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