]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/conflicts.c (set_conflicts): Use arrays instead of pointers
[bison.git] / ChangeLog
CommitLineData
d8cf039f
AD
12001-11-19 Akim Demaille <akim@epita.fr>
2
3 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
4 to clarify.
5
6
7bec0760
AD
72001-11-19 Akim Demaille <akim@epita.fr>
8
9 * src/closure.c (closure): Use arrays instead of pointers to clarify.
10
11
c87d4863
AD
122001-11-19 Akim Demaille <akim@epita.fr>
13
14 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
15 trace messages.
16 * src/LR0.c: Likewise.
17 (allocate_itemsets): Use arrays instead of pointers to clarify.
18
9bfe901c
AD
192001-11-19 Akim Demaille <akim@epita.fr>
20
21 * src/getargs.c (statistics_flag): Replace with...
22 (trace_flag): New.
23 (longopts): Accept --trace instead of --statistics.
24 * src/getargs.h, src/options.c: Adjust.
25 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
26 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
27
97db7bd4
AD
282001-11-19 Akim Demaille <akim@epita.fr>
29
30 * src/LR0.c (new_itemsets, get_state): Use more arrays and less
31 pointers to clarify the code.
32 (save_reductions, save_shifts): Factor common parts of alternatives.
33
2c5f66ed
AD
342001-11-19 Akim Demaille <akim@epita.fr>
35
36 * src/LR0.c (new_state, get_state): Complete TRACE code.
37 * src/closure.c: Include `reader.h' to get `tags', needed by the
38 trace code.
39 Rename the conditional DEBUG as TRACE.
40 Output consistently TRACEs to stderr, not stdout.
41 * src/derives.c: Likewise.
42 * src/reduce.c: (inaccessable_symbols): Using if is better style
43 than goto.
44 Use `#if TRACE' instead of `#if 0' for tracing code.
45
300f275f
AD
462001-11-19 Akim Demaille <akim@epita.fr>
47
48 * src/system.h (LIST_FREE, shortcpy): New.
49 * src/LR0.c: Use them.
50 * src/output.c (free_itemsets, free_reductions, free_shifts):
51 Remove, replaced by LIST_FREE.
52
9bfe901c 53
f59c437a
AD
542001-11-19 Akim Demaille <akim@epita.fr>
55
56 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
57 (REDUCTIONS_ALLOC): New.
58 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
59 allocation.
60
9bfe901c 61
6986fd9e
AD
622001-11-19 Akim Demaille <akim@epita.fr>
63
64 * src/LR0.c (new_state): Complete trace code.
65 * src/nullable.c (set_nullable): Don't translate traces.
66
67
4bc30f78
AD
682001-11-19 Akim Demaille <akim@epita.fr>
69
70 * src/print_graph.c (print_core): Better locality of variables.
71 * src/print.c (print_core): Likewise.
72
08a946e0
AD
732001-11-19 Akim Demaille <akim@epita.fr>
74
75 * src/vcg.c: You do the output, so you are responsible of the
76 handling of VCG syntax, in particular: use quotearg.
77 * src/print_graph.c: Don't.
78 (print_actions): Don't output the actions as part of the nodes,
79 since that's the job of the edges.
80 (print_state): Don't output by hand: fill the node description,
9bfe901c 81 and ask for its output.
08a946e0 82
f0473484
AD
832001-11-19 Akim Demaille <akim@epita.fr>
84
85 * src/bison.simple (yyparse): When reporting verbosely an error,
86 no longer issue additional quotes around token names.
87 * tests/calc.at: Adjust.
88
e41dc700
AD
892001-11-19 Akim Demaille <akim@epita.fr>
90
91 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
92 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
93 * src/output.c: Adjust.
94
9bfe901c 95
652a871c
AD
962001-11-19 Akim Demaille <akim@epita.fr>
97
98 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
99 (rule_t): this.
100 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
101
b2ed6e58
AD
1022001-11-19 Akim Demaille <akim@epita.fr>
103
104 * src/gram.h (rule_t): New.
105 (rule_table): New.
106 (rrhs, rlhs): Remove, part of state_t.
107 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
108 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
109 * src/reader.c, src/reduce.c: Adjust.
110
9bfe901c 111
edad7067
AD
1122001-11-19 Akim Demaille <akim@epita.fr>
113
114 * src/reader.c (symbols_output): New, extracted from...
115 (packsymbols): Here.
116 (reader): Call it.
117
3feec034
AD
1182001-11-19 Akim Demaille <akim@epita.fr>
119
120 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
121 (maxrhs): this new function.
122
ddcd5fdf
AD
1232001-11-19 Akim Demaille <akim@epita.fr>
124
125 * src/lalr.c (F): New macro to access to the variable F.
126 Adjust.
127
bb527fc2
AD
1282001-11-19 Akim Demaille <akim@epita.fr>
129
130 * src/lalr.h (LA): New macro to access to the variable LA.
131 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
132 * src/lalr.c: Adjust.
133
a845a697
AD
1342001-11-19 Akim Demaille <akim@epita.fr>
135
136 * src/lalr.c (initialize_LA): Only initialize LA. Let...
137 (set_state_table): handle the `lookaheads' members.
138
9bfe901c 139
f004bf6a
AD
1402001-11-19 Akim Demaille <akim@epita.fr>
141
142 * src/lalr.h (lookaheads): Removed array, which contents is now
143 member of...
144 (state_t): this structure.
145 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
146 Adjust.
147
de326cc0
AD
1482001-11-19 Akim Demaille <akim@epita.fr>
149
150 * src/lalr.h (consistent): Removed array, which contents is now
151 member of...
152 (state_t): this structure.
153 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
154 Adjust.
155
90b4416b
AD
1562001-11-19 Akim Demaille <akim@epita.fr>
157
158 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
159 contents is now members of...
160 (state_t): this structure.
161 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
162 Adjust.
163
9bfe901c 164
9703cc49
AD
1652001-11-19 Akim Demaille <akim@epita.fr>
166
167 * src/lalr.h (state_t): New.
168 (state_table): Be a state_t * instead of a core **.
169 (accessing_symbol): Remove, part of state_t.
170 * src/lalr.c: Adjust.
171 (set_accessing_symbol): Merge into...
172 (set_state_table): this.
173 * src/print_graph.c, src/conflicts.c: Adjust.
174
d803322e
AD
1752001-11-14 Akim Demaille <akim@epita.fr>
176
177 * tests/calc.at, tests/output.at, tests/regression.at,
178 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
179 now the tests are run in private dirs, therefore AC_CLEANUP and
180 family can be simplified to 0-ary.
181 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
182 use abs. path to find config.h.
183 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
184 stderr, there can be way too much random noise.
185 Instead pass -Werror to GCC and rely on the exit status.
186 Reported by Wolfram Wagner.
187
3d76b07d
AD
1882001-11-14 Akim Demaille <akim@epita.fr>
189
190 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
191 defined only if yyoverflow is defined, to avoid `warning: unused
192 variable `yyvs1''.
193 Reported by The Test Suite.
194
09b503c8
AD
1952001-11-14 Akim Demaille <akim@epita.fr>
196
197 * src/print.c: Include reduce.h.
198 Reported by Hans Aberg.
199
2002001-11-14 Akim Demaille <akim@epita.fr>
201
202 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
203 Revert a previous patch: these are really const.
204 * src/conflicts.c (conflict_report): Additional useless pair of
205 braces to pacify GCC's warnings for `if () if () {} else {}'.
206 * src/lex.c (parse_percent_token): Replace equal_offset with
207 arg_offset.
208 arg is const.
209 Be sure to strdup `arg' when used, since there is no reason for
210 token_buffer not to change.
211
0f37a994
AD
2122001-11-14 Akim Demaille <akim@epita.fr>
213
214 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
215 definition.
216 * src/main.c (main): Use them.
217 Suggested by Hans Aberg.
218
d39d93b8
AD
2192001-11-12 Akim Demaille <akim@epita.fr>
220
221 * src/system.h (ngettext): Now that we use ngettext, be sure to
222 provide a default definition when NLS are not used.
223
9edcd895
AD
2242001-11-12 Akim Demaille <akim@epita.fr>
225
226 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
227 Use @kbd to denote user input.
228 (Language and Grammar): ANSIfy the example.
229 Adjust its layout for info/notinfo.
230 (Location Tracking Calc): Output error messages to stderr.
231 Output locations in a more GNUtically correct way.
232 Fix a couple of Englishos.
233 Adjust @group/@end group pairs.
234
7da99ede
AD
2352001-11-12 Akim Demaille <akim@epita.fr>
236
237 %expext was not functioning at all.
238
239 * src/conflicts.c (expected_conflicts): Set to -1.
240 (conflict_report): Use ngettext.
241 (conflicts_print): Check %expect and make its violation an error.
242 * doc/bison.texinfo (Expect Decl): Adjust.
243 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
244 * tests/regression.at (%expect not enough, %expect right)
245 (%expect too much): New.
246
ba9dda1a
AD
2472001-11-12 Akim Demaille <akim@epita.fr>
248
249 * tests/regression.at (Conflicts): Rename as...
250 (Unresolved SR Conflicts): this.
251 (Solved SR Conflicts): New.
252
337c5bd1
AD
2532001-11-12 Akim Demaille <akim@epita.fr>
254
255 * src/reduce.c (print_results): Rename as...
256 (reduce_output): This.
257 Output to OUT, passed as argument, instead of output_obstack.
258 (dump_grammar): Likewise.
259 (reduce_free): New.
260 Also free V1.
261 (reduce_grammar): No longer call reduce_output, since...
262 * src/print.c (print_results): do it.
263 * src/main.c (main): Call reduce_free;
264
c73a41af
AD
2652001-11-12 Akim Demaille <akim@epita.fr>
266
267 * src/conflicts.c (print_reductions): Accept OUT as argument.
268 Output to it, not to output_obstack.
269 * src/print.c (print_actions): Adjust.
270
0df87bb6
AD
2712001-11-12 Akim Demaille <akim@epita.fr>
272
273 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
274 the result instead of using...
275 (src_total, rrc_total, src_count, rrc_count): Remove.
276 (any_conflicts): Remove.
277 (print_conflicts): Split into...
278 (conflicts_print, conflicts_output): New.
279 * src/conflicts.h: Adjust.
280 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 281 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
282 * tests/regression.at (Conflicts): New.
283 Reported by Tom Lane.
284
e4d3d4de
AD
2852001-11-12 Akim Demaille <akim@epita.fr>
286
287 * tests/regression.at (Invalid input): Remove, duplicate with
288 ``Invalid input: 1''.
289
6d7d248e
AD
2902001-11-12 Akim Demaille <akim@epita.fr>
291
292 * tests/torture.at (AT_DATA_STACK_TORTURE)
293 (Exploding the Stack Size with Alloca)
294 (Exploding the Stack Size with Malloc): New.
295
e9e4c321
AD
2962001-11-12 Akim Demaille <akim@epita.fr>
297
298 * src/bison.simple (YYSTACK_REALLOC): New.
299 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 300 Reported by Per Allansson.
e9e4c321 301
5f7e0832
AD
3022001-11-12 Pascal Bart <pascal.bart@epita.fr>
303
304 * src/bison.simple: Define type yystype instead of YYSTYPE, and
305 define CPP macro, which substitute YYSTYPE by yystype.
306 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
307 with yyltype/YYLTYPE. This allows inclusion of the generated
308 header within the parser if the compiler, such as GGC, accepts
309 multiple equivalent #defines.
310 From Akim.
311
e3f1699f
AD
3122001-11-05 Akim Demaille <akim@epita.fr>
313
314 * src/reader.c (symbols_output): New, extracted from...
315 (packsymbols): here.
316 (reader): Adjust.
317
65be0866
AD
3182001-11-05 Akim Demaille <akim@epita.fr>
319
320 * src/lex.c (parse_percent_token): s/quotearg/quote/.
321
e4d910bf
AD
3222001-11-05 Akim Demaille <akim@epita.fr>
323
324 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
325 pattern.
326
951366c1
AD
3272001-11-05 Akim Demaille <akim@epita.fr>
328
329 * src/options.h (struct option_table_struct): set_flags is void*.
330 * src/options.c (longopts): Support `--output' and `%output'.
331 (usage): Adjust.
332 * src/lex.h (tok_setopt): Remove, replaced with...
333 (tok_intopt, tok_stropt): these new guys.
334 * src/lex.c (getopt.h): Not needed.
335 (token_buffer, unlexed_token_buffer): Not const.
336 (percent_table): Promote `-' over `_' in directive names.
337 Active `%name-prefix', `file-prefix', and `output'.
338 (parse_percent_token): Accept possible arguments to directives.
339 Promote `-' over `_' in directive names.
340
d8988b2f
AD
3412001-11-04 Akim Demaille <akim@epita.fr>
342
343 * doc/bison.texinfo (Decl Summary): Split the list into
344 `directives for grammars' and `directives for bison'.
345 Sort'em.
346 Add description of `%name-prefix', `file-prefix', and `output'.
347 Promote `-' over `_' in directive names.
348 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
349 Simplify the description of `--name-prefix'.
350 Promote `-' over `_' in directive names.
351 Promote `--output' over `--output-file'.
352 Fix the description of `--defines'.
353 * tests/output.at: Exercise %file-prefix and %output.
354
6468d18e
AD
3552001-11-02 Akim Demaille <akim@epita.fr>
356
357 * doc/refcard.tex: Update.
358
6b7e85b9
AD
3592001-11-02 Akim Demaille <akim@epita.fr>
360
361 * src/symtab.h (SUNDEF): New.
362 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
363 stand for `uninitialized', instead of 0.
364 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
365 * src/lex.c (lex): Adjust.
366
367 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
368 Number it 0.
369 Let yylex return it instead of a plain 0.
370 Reported by Dick Streefland.
371
cd5aafcf
AD
3722001-11-02 Akim Demaille <akim@epita.fr>
373
374 * tests/regression.at (Mixing %token styles): New test.
375
037ca2f1
AD
3762001-11-02 Akim Demaille <akim@epita.fr>
377
378 * src/reader.c (parse_thong_decl): Formatting changes.
379 (token_translations_init): New, extracted from...
380 (packsymbols): Here.
381 Adjust.
382
270a173c
AD
3832001-11-01 Akim Demaille <akim@epita.fr>
384
385 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
386 Check that `9foo.y' produces correct cpp guards.
387 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
388 guards.
389 Reported by Wwp.
390
561f9a30
AD
3912001-11-01 Akim Demaille <akim@epita.fr>
392
393 * tests/regression.at (Invalid input: 2): New.
394 * src/lex.c (unlexed_token_buffer): New.
395 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
396 too.
397 Reported by Wwp.
398
f987e9d2
AD
3992001-11-01 Akim Demaille <akim@epita.fr>
400
401 * tests/calc.at: Catch up with 1.30.
402 * configure.in: Bump to 1.49a.
403 Adjust to newer Autotest.
404
0846f581
PB
4052001-10-19 Pascal Bart <pascal.bart@epita.fr>
406
407 * src/conflicts.c: Move global variables rrc_total and src_total ...
408 (print_conflicts): here.
409 * src/output.c (output): Free global variable user_toknums.
410 * src/lex.c (token_obstack): Become static.
411
3c1a79b3
AD
4122001-10-18 Akim Demaille <akim@epita.fr>
413
414 * tests/atlocal.in (GCC): Add.
415 * tests/calc.at: s/m4_match/m4_bmatch/.
416 s/m4_patsubst/m4_bpatsubst/.
417 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
418 * configure.in: AC_SUBST(GCC).
419
5d52e7d0
MA
4202001-10-14 Marc Autret <autret_m@epita.fr>
421
422 * src/options.c (create_long_option_table): Fix.
423
631aa1d3
AD
4242001-10-10 Akim Demaille <akim@epita.fr>
425
426 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
427
f6ec6d13
AD
4282001-10-04 Akim Demaille <akim@epita.fr>
429
430 * src/reader.c (parse_union_decl): Push the caracters in
431 union_obstack, not attrs_obstack.
432
342b8b6e
AD
4332001-10-04 Akim Demaille <akim@epita.fr>
434
435 Merge in the branch 1.29.
436
437 * src/reader.c (packsymbols): Use a temporary obstack for
438 `%%tokendef', since output_stack is already used elsewhere.
439
440 2001-10-02 Akim Demaille <akim@epita.fr>
441
442 Bump 1.29d.
443
444 2001-10-02 Akim Demaille <akim@epita.fr>
445
446 Version 1.29c.
447
448 2001-10-02 Akim Demaille <akim@epita.fr>
449
450 * tests/regression.at (Invalid CPP headers): New.
451 From Alexander Belopolsky.
452 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
453
454 2001-10-02 Akim Demaille <akim@epita.fr>
455
456 * tests/regression.at (Invalid input): New.
457 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
458 Reported by Shura.
459
460 2001-10-02 Akim Demaille <akim@epita.fr>
461
462 * tests/calc.at: Now that --debug works, the tests must be adjusted.
463
464 2001-10-02 Akim Demaille <akim@epita.fr>
465
466 * src/output.c (output_parser): Assert `skeleton'.
467 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
468 systems.
469 From Shura.
470
471 2001-10-01 Marc Autret <autret_m@epita.fr>
472
473 * src/lex.h: Echo modifications.
474 * src/lex.c (unlex): Parameter is now token_t.
475 From Hans Aberg.
476
477 2001-10-01 Marc Autret <autret_m@epita.fr>
478
479 * src/main.c: Include lex.h.
480 From Hans Aberg.
481
482 2001-09-29 Akim Demaille <akim@epita.fr>
483
484 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
485
486 2001-09-28 Akim Demaille <akim@epita.fr>
487
488 * tests/testsuite.at: Update to newer Autotest.
489 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
490
491 2001-09-27 Akim Demaille <akim@epita.fr>
492
493 Position independent wrapper.
494
495 * tests/bison: Remove.
496 * tests/bison.in: New.
497 * configure.in: Adjust.
498
499 2001-09-27 Paul Eggert <eggert@twinsun.com>
500
501 Port quotearg fixes from tar 1.13.24.
502
503 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
504 tm to be declared.
505 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
506 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
507
508 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
509 * m4/mbrtowc.m4: New file.
510 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
511 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
512
513 2001-09-27 Akim Demaille <akim@epita.fr>
514
515 Bump to 1.29c.
516
517 2001-09-27 Akim Demaille <akim@epita.fr>
518
519 Version 1.29b.
520
521 2001-09-25 Akim Demaille <akim@epita.fr>
522
523 * src/system.h: Include `xalloc.h'.
524 Remove it from the C files.
525 * src/files.c (output_files): Free the obstacks.
526 * src/lex.c (init_lex): Rename as...
527 (lex_init): this.
528 (lex_free): New.
529 * src/main.c (main): Use it.
530
531 2001-09-24 Marc Autret <autret_m@epita.fr>
532
533 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
534 to output informations in fout (FILE*).
535 (open_graph, close_graph): Likewise.
536 (output_graph, output_edge, output_node): Likewise.
537 * src/vcg.h: Update function prototypes.
538 * src/print_graph.c (print_graph): Open output graph file.
539 (print_actions): Adjust.
540 * src/files.h: Remove extern declaration.
541 * src/files.c: Remove graph_obstack declaration.
542 (open_files): Remove graph_obstack initialization.
543 (output_files): Remove graph_obstack saving.
544
545 2001-09-24 Marc Autret <autret_m@epita.fr>
546
547 * src/files.c (compute_output_file_names): Fix.
548
549 2001-09-24 Marc Autret <autret_m@epita.fr>,
550 Akim Demaille <akim@epita.fr>
551
552 * src/reader.c (reader): Remove call to free_symtab ().
553 * src/main.c (main): Call it here.
554 Include symtab.h.
555 * src/conflicts.c (initialize_conflicts): Rename as...
556 (solve_conflicts): this.
557 * src/print.c (print_core, print_actions, print_state)
558 (print_grammar): Dump to a file instead a `output_obstack'.
559 (print_results): Dump `output_obstack', and then proceed with the
560 FILE *.
561 * src/files.c (compute_output_file_names, close_files): New.
562 (output_files): Adjust.
563 * src/main.c (main): Adjust.
564
565 2001-09-23 Marc Autret <autret_m@epita.fr>
566
567 * src/files.c (compute_header_macro): Computes header macro name
568 from spec_defines_file when given.
569
570 2001-09-23 Marc Autret <autret_m@epita.fr>
571
572 * src/files.c (output_files): Add default extensions.
573
574 2001-09-22 Akim Demaille <akim@epita.fr>
575
576 * src/conflicts.c (finalize_conflicts): Rename as...
577 (free_conflicts): this.
578
579 2001-09-22 Akim Demaille <akim@epita.fr>
580
581 * src/gram.c (gram_free): Rename back as...
582 (dummy): this.
583 (output_token_translations): Free `token_translations'.
584 * src/symtab.c (free_symtab): Free the tag field.
585
586 2001-09-22 Akim Demaille <akim@epita.fr>
587
588 Remove `translations' as it is always set to true.
589
590 * src/gram.h: Adjust.
591 * src/reader.c (packsymbols, parse_token_decl): Adjust
592 * src/print.c (print_grammar): Adjust.
593 * src/output.c (output_token_translations): Adjust.
594 * src/lex.c (lex): Adjust.
595 * src/gram.c: Be sure the set pointers to NULL.
596 (dummy): Rename as...
597 (gram_free): this.
598
599 2001-09-22 Akim Demaille <akim@epita.fr>
600
601 * configure.in: Invoke AM_LIB_DMALLOC.
602 * src/system.h: Use dmalloc.
603 * src/LR0.c: Be sure to have pointers initialized to NULL.
604 (allocate_itemsets): Allocate kernel_items only if needed.
605
606 2001-09-22 Akim Demaille <akim@epita.fr>
607
608 * configure.in: Bump to 1.29b.
609 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
610 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
611 need xmalloc.c in calc.y.
612 From Pascal Bart.
613
614 2001-09-21 Akim Demaille <akim@epita.fr>
615
616 Version 1.29a.
617 * Makefile.maint, config/config.guess, config/config.sub,
618 * config/missing: Update from masters.
619 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
620 upon package.m4.
621 * configure.in (ALL_LINGUAS): Add `tr'.
622
623 2001-09-21 Akim Demaille <akim@epita.fr>
624
625 * tests/Makefile.am (package.m4): Move to...
626 ($(srcdir)/$(TESTSUITE)): here.
627
628 2001-09-20 Akim Demaille <akim@epita.fr>
629
630 * src/complain.c: No longer try to be standalone: use system.h.
631 Don't assume __STDC__ is defined to 1. Just test if it is defined.
632 * src/complain.h: Likewise.
633 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
634 Remove the unused variable `n'.
635 From Albert Chin-A-Young.
636
637 2001-09-18 Marc Autret <autret_m@epita.fr>
638
639 * doc/bison.1: Update.
640 * doc/bison.texinfo (Bison Options): Update --defines and --graph
641 descriptions.
642 (Option Cross Key): Update.
643 Add --graph.
644
645 2001-09-18 Marc Autret <autret_m@epita.fr>
646
647 * tests/regression.at: New test (comment in %union).
648
649 2001-09-18 Marc Autret <autret_m@epita.fr>
650
651 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
652 do that.
653 Reported by Keith Browne.
654
655 2001-09-18 Marc Autret <autret_m@epita.fr>
656
657 * tests/output.at: Add tests for --defines and --graph.
658
659 2001-09-18 Marc Autret <autret_m@epita.fr>
660
661 * tests/output.at: Removes tests of %{header,src}_extension features.
662
663 2001-09-18 Akim Demaille <akim@epita.fr>
664
665 * tests/Makefile.am (package.m4): New.
666 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
667 (_AT_CHECK_CALC_ERROR): Likewise.
668 Factor the `, ' part of verbose error messages.
669
670 2001-09-18 Marc Autret <autret_m@epita.fr>
671
672 * src/getargs.c (longopts): Declare --defines and --graph as options
673 with optional arguments.
674 * src/files.h: Add extern declarations.
675 * src/files.c (spec_graph_file, spec_defines_file): New.
676 (output_files): Update.
677 Remove CPP-outed code.
678
679 2001-09-18 Marc Autret <autret_m@epita.fr>
680
681 Turn off %{source,header}_extension feature.
682
683 * src/files.c (compute_exts_from_gf): Update.
684 (compute_exts_from_src): Update.
685 (output_files): CPP-out useless code.
686 * src/files.h: Remove {header,source}_extension extern declarations.
687 * src/reader.c (parse_dquoted_param): CPP-out.
688 (parse_header_extension_decl): Remove.
689 (parse_source_extension_decl): Remove.
690 (read_declarations): Remove cases tok_{hdrext,srcext}.
691 * src/lex.c (percent_table): Remove {header,source}_extension entries.
692 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
693
694 2001-09-10 Akim Demaille <akim@epita.fr>
695
696 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
697 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
698 (AT_CHECK_OUTPUT): this.
699 Merely check ls' exit status, its output is useless.
700
701 2001-09-10 Akim Demaille <akim@epita.fr>
702
703 * tests/calc.at: Use m4_match.
704 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
705
706 2001-09-10 Marc Autret <autret_m@epita.fr>,
707 Akim Demaille <akim@epita.fr>
708
709 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
710 enum color_e.
711 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
712 to `normal'.
713 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
714 * src/lex.h: Adjust prototype.
715 (token_t): Add `tok_undef'.
716 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
717 (parse_percent_token): Now returns token_t.
718 Add default statement in switch.
719 (lex): Separate `c' as an input variable, from the token_t result
720 part.
721 (unlexed): Is a token_t.
722
723 2001-09-10 Akim Demaille <akim@epita.fr>
724
725 * configure.in: Bump to 1.29a.
726
727 2001-09-07 Akim Demaille <akim@epita.fr>
728
729 Version 1.29.
730
731 2001-08-30 Akim Demaille <akim@epita.fr>
732
733 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
734 * m4/atconfig.m4: Remove.
735 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
736 * tests/bison: New.
737 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
738 m4_if, m4_patsubst, and m4_regexp.
739 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
740 `input' file instead of echo.
741
742 2001-08-29 Akim Demaille <akim@epita.fr>
743
744 Bump to 1.28e.
745
746 2001-08-29 Akim Demaille <akim@epita.fr>
747
748 Version 1.28d.
749
750 2001-08-29 Paul Eggert <eggert@twinsun.com>
751
752 * src/bison.simple (yyparse): Don't take the address of an
753 item before the start of an array, as that doesn't conform to
754 the C Standard.
755
756 2001-08-29 Robert Anisko <anisko_r@epita.fr>
757
758 * doc/bison.texinfo (Location Tracking Calc): New node.
759
760 2001-08-29 Paul Eggert <eggert@twinsun.com>
761
762 * src/output.c (output): Do not define const, as this now
763 causes more problems than it cures.
764
765 2001-08-29 Akim Demaille <akim@epita.fr>
766
767 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
768 the nodes.
769 Be sure to tag the `detailmenu'.
770
771 2001-08-29 Akim Demaille <akim@epita.fr>
772
773 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
774 download in a tmp dir.
775
776 2001-08-28 Marc Autret <autret_m@epita.fr>
777
778 * config/depcomp: New file.
779
780 2001-08-28 Marc Autret <autret_m@epita.fr>
781
782 * doc/bison.1 (mandoc): Adjust.
783 From Juan Manuel Guerrero.
784
785 2001-08-28 Marc Autret <autret_m@epita.fr>
786
787 * src/print_graph.c (print_state): Fix.
788
789 2001-08-27 Marc Autret <autret_m@epita.fr>
790
791 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
792 char * members.
793 Echo modifications to the functions prototypes.
794 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
795
796 2001-08-27 Marc Autret <autret_m@epita.fr>
797
798 * src/vcg.c: Include `xalloc.h'.
799 (add_colorentry): New.
800 (add_classname): New.
801 (add_infoname): New.
802 * src/vcg.h: Add new prototypes.
803
804 2001-08-27 Akim Demaille <akim@epita.fr>
805
806 * Makefile.maint: Sync. again with CVS Autoconf.
807
808 2001-08-27 Akim Demaille <akim@epita.fr>
809
810 * Makefile.maint: Formatting changes.
811 (po-update, cvs-update, update): New targets.
812 (AMTAR): Remove.
813
814 2001-08-27 Akim Demaille <akim@epita.fr>
815
816 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
817 * Makefile.maint: Sync. with CVS Autoconf.
818
819 2001-08-27 Marc Autret <autret_m@epita.fr>
820
821 * src/vcg.h (struct infoname_s): New.
822 (struct colorentry_s): New.
823 (graph_s): New fields {vertical,horizontal}_order in structure.
824 Add `infoname' field.
825 Add `colorentry' field;
826 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
827 (G_HORIZONTAL_ORDER): New.
828 (G_INFONAME): New.
829 (G_COLORENTRY): New.
830 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
831 Add output of `infoname'.
832 Add output of `colorentry'.
833
834 2001-08-27 Marc Autret <autret_m@epita.fr>
835
836 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
837 This one shadowed a global parameter.
838
839 2001-08-24 Marc Autret <autret_m@epita.fr>
840
841 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
842 instead of `unsigned'.
843 (print_state): Do not call obstack_object_size () in obstack_grow ()
844 to avoid macro variables shadowing.
845
846 2001-08-23 Marc Autret <autret_m@epita.fr>
847
848 * src/lex.c (percent_table): Typo: s/naem/name/.
849 Add graph option.
850 Normalize new options declarations.
851
852 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
853
854 * tests/suite.at: Exercise %header_extension and %source_extension.
855
856 2001-08-16 Marc Autret <autret_m@epita.fr>
857
858 * src/reader.c (parse_dquoted_param): New.
859 (parse_header_extension_decl): Use it.
860 (parse_source_extension_decl): Likewise.
861
862 2001-08-16 Marc Autret <autret_m@epita.fr>
863
864 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
865 (get_xxxx_str): Use assert () instead of complain ().
866 Remove return invokations in default cases.
867 (get_decision_str): Modify default behaviour. Remove second argument.
868 Echo modifications on calls.
869 (output_graph): Fix.
870
871 2001-08-16 Marc Autret <autret_m@epita.fr>
872
873 * src/getargs.c (usage): Update with ``-g, --graph''.
874
875 2001-08-16 Marc Autret <autret_m@epita.fr>
876
877 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
878 (Option Cross Key): Likewise.
879 * doc/bison.1: Update.
880
1c8c2190
PB
8812001-09-25 Pascal Bart <pascal.bart@epita.fr>
882
883 * src/output.c (output_master_parser): Don't finish action_obstack.
884 (output_parser): Don't care about the muscle action, here.
885 (prepare): Copy the action_obstack in the action muscle.
886 (output): Free action_obstack.
887
180d45ba
PB
8882001-09-23 Pascal Bart <pascal.bart@epita.fr>
889
890 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
891 will contain `%union' declaration.
892 (parse_union_decl): Delete #line directive output.
893 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
894 informations about %union.
895 (parse_union_decl): Copy the union_obstack in the muscle stype.
896 * src/bison.simple: Add new #line directive.
897 Add typdef %%stype YYSTYPE.
898
c51d1a19
PB
8992001-09-23 Pascal Bart <pascal.bart@epita.fr>
900
901 * src/bison.simple: Add new `#line' directive.
902
6f9344da
PB
9032001-09-22 Pascal Bart <pascal.bart@epita.fr>
904
905 * src/bison.simple: New `#line' directive.
906 * src/output.c (output_parser): Support new dynamic muscle input_line.
907
652def80
MA
9082001-09-22 Marc Autret <autret_m@epita.fr>
909
910 * src/output.c (output_master_parser): New.
911 (output_parser): Be more re-entrant.
912
25b222fa
MA
9132001-09-21 Marc Autret <autret_m@epita.fr>
914
915 * src/reader.c (copy_definition, parse_union_decl): Update and use
916 `linef' muscle.
917 (copy_action): Likewise.
918 Use obstack_1grow ().
919 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
920
6bc35ae5
MA
9212001-09-21 Marc Autret <autret_m@epita.fr>
922
923 * src/options.c (option_table): Adjust.
924 * src/lex.c (parse_percent_token): Fix.
925
c0629aa1
PB
9262001-09-20 Pascal Bart <pascal.bart@epita.fr>
927
928 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 929
82b6d266
PB
9302001-09-20 Pascal Bart <pascal.bart@epita.fr>
931
932 * src/lex.c (parse_percent_token): Change type of variable `tx', which
933 is now an option_table_struct*.
934 (option_strcmp): New function option_strcmp.
935 (parse_percent_token): Call option_strcmp.
936 * src/getargs.c (xalloc.h, options.h): Include it.
937 (getargs): Call create_long_option_table.
938 (getargs): Free longopts at the end of the function.
939 (shortopts): Move in options.c.
940 * src/options.c (create_long_option_table): New function. Convert
941 information from option_table to option structure.
942 * src/reader.c (options.h): Include it.
943
944 * src/Makefile.am: Adjust.
945 * src/options.c (option_table): Create from longopts and percent_table.
946 * src/getargs.c (longopts): Delete.
947 * src/lex.c (struct percent_table_struct): Delete.
948 (percent_table): Delete.
949 (options.h): Include it.
950 * src/options.c: Create.
951 * src/options.h: Create.
952 Declare enum opt_access_e.
953 Define struct option_table_struct.
954
75f5aaea
MA
9552001-09-20 Marc Autret <autret_m@epita.fr>
956
957 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
958 sections of Bison.
959
f508cb0a
PB
9602001-09-19 Pascal Bart <pascal.bart@epita.fr>
961
962 * src/bison.simple: s/%%filename/%%skeleton.
963 * src/muscle_tab.c (getargs.h): Include it.
964 (muscle_init): Insert new muscle skeleton.
965
13105fc1
PB
9662001-09-18 Pascal Bart <pascal.bart@epita.fr>
967
968 * src/output.c (output_parser): Delete unused variable actions_dumped.
969
b0c4483e
PB
9702001-09-07 Pascal Bart <pascal.bart@epita.fr>
971
972 * src/output.c (output): Delete call to reader_output_yylsp.
973 * src/reader.c (reader): Likewise.
974 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 975
11d82f03
MA
9762001-09-02 Marc Autret <autret_m@epita.fr>
977
978 * src/reader.c: Include muscle_tab.h.
979 (parse_union_decl): Update.
980 (parse_macro_decl): Rename parse_muscle_decl.
981 Update to use renamed functions and variable.
982 (read_declarations, copy_action, read_additionnal_code, : Updated
983 with correct variables and functions names.
984 (packsymbols, reader): Likewise.
342b8b6e 985
11d82f03 986 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 987
11d82f03
MA
988 * src/output.c: Include muscle_tab.h
989 In all functions using macro_insert, change by using muscle_insert ().
990 (macro_obstack): Rename muscle_obstack.
991 Echo modifications in the whole file.
992 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
993 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
994 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
995
996 * src/muscle_tab.h: Update double inclusion macros.
997 (macro_entry_s): Rename muscle_entry_s.
998 Update prototypes.
342b8b6e 999
11d82f03
MA
1000 * src/muscle_tab.c: Include muscle_tab.h.
1001 Rename macro_tabble to muscle_table.
1002 (mhash1, mhash2, mcmp): Use muscle_entry.
1003 (macro_init): Rename muscle_init. Update.
1004 (macro_insert): Rename muscle_insert. Update.
1005 (macro_find): Rename muscle_find. Update.
1006
1007 * src/main.c: Include muscle_tab.h.
1008 (main): Call muscle_init ().
1009 * src/Makefile.am (bison_SOURCES): Echo modifications.
1010
93a37297
MA
10112001-09-02 Marc Autret <autret_m@epita.fr>
1012
f753cd62 1013 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 1014
f753cd62
MA
1015 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1016
10172001-09-02 Marc Autret <autret_m@epita.fr>
1018
1019 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1020
682d48cd
PB
10212001-09-01 Pascal Bart <pascal.bart@epita.fr>
1022
342b8b6e 1023 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1024 filename.
1025
087c8fda
MA
10262001-09-01 Marc Autret <autret_m@epita.fr>
1027
1028 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1029 to an explicit value to activate the feature. We do it here.
1030
dda680cb
PB
10312001-08-31 Pascal Bart <pascal.bart@epita.fr>
1032
1033 * src/output.c (prepare): Delete the `filename' muscule insertion.
1034 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1035 (parse_union_decl): Likewise.
1036 * src/macrotab.c (macro_init): Initialize filename by infile.
1037
9e644e64
MA
10382001-08-31 Marc Autret <autret_m@epita.fr>
1039
1040 * src/bison.simple (YYLSP_NEEDED): New definition.
1041 * src/output.c (prepare): Add macro insertion of `locations_flag'
1042
17da6427
PB
10432001-08-31 Pascal Bart <pascal.bart@epita.fr>
1044
1045 * src/output.c (prepare): Delete insertion of previous muscles,
1046 and insert the `prefix' muscles.
1047 * src/macrotab.c (macro_init): Likewise.
1048 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1049 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1050 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1051 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1052 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1053 name_prefix.
1054
e8cb70b9
PB
10552001-08-31 Pascal Bart <pascal.bart@epita.fr>
1056
1057 * src/main.c (main): Standardize.
1058 * src/output.c (output_table_data, output_parser): Likewise.
1059 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1060
63c2d5de
MA
10612001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1062
342b8b6e 1063 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1064 %%epilogue.
1065 * src/output.c (output): Rename %%declarations to %%prologue.
1066 * src/bison.simple: Echo modifications.
342b8b6e 1067
d8cb5183
MA
10682001-08-31 Marc Autret <autret_m@epita.fr>
1069
1070 * src/reader.c (readgram): CleanUp.
1071 (output_token_defines): Likewise.
1072 (packsymbols): Likewise.
1073 (reader): Likewise.
1074 * src/output.c (output): CPP-out useless code.
1075
6c686258
PB
10762001-08-31 Pascal Bart <pascal.bart@epita.fr>
1077
342b8b6e 1078 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1079 output_trailers and output_headers.
1080 * src/output.h: Remove obsolete functions prototypes of output_headers
1081 and output_trailers.
1082
8f451ef7
PB
10832001-08-30 Pascal Bart <pascal.bart@epita.fr>
1084
1085 * src/main.c: Include macrotab.h.
342b8b6e 1086 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1087 Adjust functions prototypes.
1088 * src/macrotab.c (macro_insert): Constify key and value.
1089 (macro_find): Constify key.
1090 (macro_insert): Include 'xalloc.h'
1091 (macro_insert): Use XMALLOC.
1092 (macro_find): Constify return value.
1093 * src/output.c (output_table_data): Rename table to table_data.
1094 (output_parser): Constify macro_key, macro_value.
1095
997b6fd0 10962001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1097
1098 * src/reader.c (parse_skel_decl): New.
342b8b6e 1099 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1100 * src/lex.h (token_t): New token `tok_skel'.
1101 * src/lex.c (percent_table): Add skeleton option entry.
1102 Standardize.
1103
ff48177d
MA
11042001-08-29 Marc Autret <autret_m@epita.fr>
1105
1106 * src/bison.simple: Add %%user_code directive at the end.
1107 * src/reader.c (read_additionnal_code): New.
1108 (reader): Use it.
1109 * src/output.c (output_program): Remove.
1110 (output): Update.
1111
b33160bf
MA
11122001-08-28 Marc Autret <autret_m@epita.fr>
1113
1114 * src/output.c (output_actions): Clean up.
4e5caae2 1115 (output_gram): CPP-out useless code.
b33160bf
MA
1116 * src/reader.c (reader): Clean up, CPP-out useless code.
1117
d1a2daf7
PB
11182001-08-28 Pascal Bart <pascal.bart@epita.fr>
1119
342b8b6e 1120 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1121 directive.
d1a2daf7
PB
1122 * src/bison.simple: Add `%%definitions'.
1123
2b763dfe
MA
11242001-08-28 Marc Autret <autret_m@epita.fr>
1125
1126 * config/depcomp: New file.
1127
f1a87ef6
PE
11282001-08-27 Paul Eggert <eggert@twinsun.com>
1129
1130 * src/bison.simple (yyparse): Don't take the address of an
1131 item before the start of an array, as that doesn't conform to
1132 the C Standard.
1133
82e236e2
RA
11342001-08-27 Robert Anisko <robert.anisko@epita.fr>
1135
f1a87ef6 1136 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1137 obstack. It was done too late here.
1138
1139 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1140 completely wrong.
1141 (reader): Initialize the macro obstack here, since we need it to grow
1142 '%define' directives.
1143
1144 * src/reader.h: Declare the macro obstack as extern.
1145
b0cfa28a
RA
11462001-08-27 Robert Anisko <robert.anisko@epita.fr>
1147
1148 * src/output.c (output_parser): Fix. Store single '%' characters in
1149 the output obstack instead of throwing them away.
1150
6fc74234
AD
11512001-08-27 Akim Demaille <akim@epita.fr>
1152
1153 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1154
9c76d118
RA
11552001-08-25 Robert Anisko <robert.anisko@epita.fr>
1156
1157 * lib/Makefile.am: Adjust.
1158
a8289c62
RA
11592001-08-25 Robert Anisko <robert.anisko@epita.fr>
1160
1161 * src/bison.simple: Update and add '%%' directives.
1162
b6610515
RA
11632001-08-25 Robert Anisko <robert.anisko@epita.fr>
1164
1165 * src/reader.c (reader): Remove calls to 'output_headers' and
1166 'output_trailers'. Remove some C output.
1167 (readgram): Disable a piece of code that was writing a default
1168 definition for 'YYSTYPE'.
1169 (reader_output_yylsp): Remove.
1170 (packsymbols): Output token defintions to a macro.
1171 (copy_definition): Disable C output.
6fc74234 1172
b6610515
RA
1173 * src/reader.c (parse_macro_decl): New function used to parse macro
1174 declarations.
1175 (copy_string2): Put the body of copy_string into this new function.
1176 Add a parameter to let the caller choose whether he wants to copy the
1177 string delimiters or not.
1178 (copy_string): Be a simple call to copy_string2 with the last argument
1179 bound to true.
1180 (read_declarations): Add case for macro definition.
1181 (copy_identifier): New.
6fc74234 1182 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1183 rather than lex.
1184
26f609ff
RA
11852001-08-25 Robert Anisko <robert.anisko@epita.fr>
1186
1187 * src/output.c (prepare): Add prefixed names.
1188 (output_parser): Output semantic actions.
1189 (output_parser): Fix bug on '%%line' directives.
6fc74234 1190
26f609ff
RA
1191 * src/output.c (output_headers): Remove. The C code printed by this
1192 function should now be in the skeletons.
1193 (output_trailers): Remove.
1194 (output): Disable call to 'reader_output_yylsp'.
1195 (output_rule_data): Do not output tables to the table obstack.
1196
1197 * src/output.c: Remove some C dedicated output.
1198 Improve the use of macro and output obstacks.
1199 (output_defines): Remove.
6fc74234 1200
26f609ff
RA
1201 * src/output.c (output_token_translations): Associate 'translate'
1202 table with a macro. No output to the table obstack.
1203 (output_gram): Same for 'rhs' and 'prhs'.
1204 (output_stos): Same for 'stos'.
1205 (output_rule_data): Same for 'r1' and 'r2'.
1206 (token_actions): Same for 'defact'.
1207 (goto_actions): Same for 'defgoto'.
1208 (output_base): Same for 'pact' and 'pgoto'.
1209 (output_table): Same for 'table'.
1210 (output_check): Same for 'check'.
6fc74234 1211
26f609ff
RA
1212 * src/output.c (output_table_data): New function.
1213 (output_short_table): Remove.
1214 (output_short_or_char_table): Remove.
6fc74234 1215
26f609ff
RA
1216 * src/output.c (output_parser): Replace most of the skeleton copy code
1217 with something new. Skeletons are now processed character by character
1218 rather than line by line, and Bison looks for '%%' macros. This is the
1219 first step in making Bison's output process (a lot) more flexible.
1220 (output_parser): Use the macro table.
1221
6f43b113
RA
12222001-08-25 Robert Anisko <robert.anisko@epita.fr>
1223
1224 * src/main.c (main): Initialize the macro table.
1225
dd3127cf
RA
12262001-08-25 Robert Anisko <robert.anisko@epita.fr>
1227
1228 * src/lex.c (percent_table): Add tok_define.
1229 * src/lex.h: Add tok_define.
1230
aa321494
RA
12312001-08-25 Robert Anisko <robert.anisko@epita.fr>
1232
1233 * src/macrotab.c: New file.
1234 * src/macrotab.h: New file.
1235 * src/Makefile.am: Update.
1236
68bd3b6b
RA
12372001-08-25 Robert Anisko <robert.anisko@epita.fr>
1238
1239 * lib/hash.c: New file.
1240 * lib/hash.h: New file.
1241 * lib/Makefile.am: Update.
1242
45f8dd1e
AD
12432001-08-15 Akim Demaille <akim@epita.fr>
1244
1245 Version 1.28c.
1246
40a64a7a 12472001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1248
1249 * src/reader.c (readgram): Indent output macro YYSTYPE.
1250 (packsymbols): Likewise.
1251 (output_token_defines): Likewise.
1252 * src/files.c: Standardize.
1253 (compute_header_macro): New.
1254 (defines_obstack_save): New. Use compute_header_macro.
1255 (output_files): Update. Use defines_obstack_save.
1256
f9a8293a
AD
12572001-08-15 Akim Demaille <akim@epita.fr>
1258
1259 * doc/bison.texinfo (Table of Symbols): Document
1260 YYSTACK_USE_ALLOCA.
1261
150ca7a7
AD
12622001-08-15 Akim Demaille <akim@epita.fr>
1263
1264 * missing: Update from CVS Automake.
1265 * config/config.guess, config/config.sub, config/texinfo.tex:
1266 Update from gnu.org.
1267
69b5cec4
AD
12682001-08-15 Akim Demaille <akim@epita.fr>
1269
1270 * Makefile.maint: Sync with CVS Autoconf.
1271
f2b5126e
PB
12722001-08-14 Pascal Bart <pascal.bart@epita.fr>
1273
69b5cec4 1274 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1275 `fdl.texi'.
1276 * doc/fdl.texi: Add to package.
1277
4ecbf796
MA
12782001-08-14 Marc Autret <autret_m@epita.fr>
1279
1280 Turn on %{source,header}_extension features.
1281
69b5cec4 1282 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1283 source_extension.
1284 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1285 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1286 between options.
1287
95fb5662
MA
12882001-08-14 Marc Autret <autret_m@epita.fr>
1289
1290 * src/files.c (compute_base_names): Add extensions computing when
1291 `--file-prefix' used.
1292 Standardize function calls.
1293
78d09da9
MA
12942001-08-13 Marc Autret <autret_m@epita.fr>
1295
69b5cec4 1296 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1297 defining it (defined but null disables alloca).
1298
5a009f2c
MA
12992001-08-13 Marc Autret <autret_m@epita.fr>
1300
1301 * src/bison.simple (_yy_memcpy): CPP reformat.
1302
1e41465a
PB
13032001-08-13 Pascal Bart <pascal.bart@epita.fr>
1304
1305 * tests/atconfig.in (CPPFLAGS): Fix.
1306
c67a198d
PB
13072001-08-10 Pascal Bart <pascal.bart@epita.fr>
1308
79282c6c 1309 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1310 `gpl.texi'.
1311 * doc/gpl.texi: Add to package.
1312
09a6de7e
MA
13132001-08-10 Marc Autret <autret_m@epita.fr>
1314
1315 * src/print_graph.h: Fix.
1316 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1317
b77b9ee0
AD
13182001-08-10 Akim Demaille <akim@epita.fr>
1319
1320 * src/system.h: Provide default declarations for stpcpy, strndup,
1321 and strnlen.
1322
3e259915
MA
13232001-08-10 Robert Anisko <anisko_r@epita.fr>
1324
1325 * doc/bison.texinfo (Locations): Update @$ stuff.
1326
ca96bc2d
MA
13272001-08-09 Robert Anisko <anisko_r@epita.fr>
1328
1329 * src/bison.simple (YYLLOC_DEFAULT): Update.
1330 (yyparse): Adjust.
1331
fdc6758b
MA
13322001-08-08 Marc Autret <autret_m@epita.fr>
1333
b77b9ee0 1334 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1335 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1336 Reported by Fabrice Bauzac.
957d4dbf 1337
600cad3b
MA
13382001-08-08 Marc Autret <autret_m@epita.fr>
1339
1340 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1341 * src/vcg.c (output_node): Fix.
1342 * src/vcg.h: Cleanup.
1343 * src/print_graph.c: Add comments.
b77b9ee0 1344 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1345 the VCG graph output.
b77b9ee0 1346 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1347 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1348 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1349 blue.
1350 Get the current node name and node_obstack by argument.
1351 (node_obstack): New variable.
1352 (print_state): Manage node_obstack.
1353 (print_core): Use node_obstack given by argument.
1354 A node is not only computed here but in print_actions also.
1355 (print_graph): CPP out useless code instead of commenting it.
1356
976e528f
AD
13572001-08-07 Pascal Bart <pascal.bart@epita.fr>
1358
1359 * tests/atconfig.in (CPPFLAGS): Fix.
1360
20e8e5ca
AD
13612001-08-07 Akim Demaille <akim@epita.fr>
1362
1363 * src/print_graph.c (quote): New.
1364 (print_core): Use it.
1365
957d4dbf 13662001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1367
3e3da797
AD
1368 * src/vcg.c (complain.h): Include it.
1369 Unepitaize `return' invocations.
c4b66126 1370 [NDEBUG] (main): Remove.
79282c6c 1371 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1372 * src/files.c (open_files): Initialize graph_obstack.
1373 * src/print_graph.c (print_actions): CPP out useless code.
1374 (print_core): Don't output the last `\n' in labels.
1375 Use `quote'.
1376 * src/files.c (output_files): Output the VCG file.
1377 * src/main.c (main): Invoke print_graph ();
3e3da797 1378
957d4dbf 13792001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1380
1381 Automaton VCG graph output.
1382 Using option ``-g'' or long option ``--graph'', you can generate
1383 a gram_filename.vcg file containing a VCG description of the LALR (1)
1384 automaton of your grammar.
1385
1386 * src/main.c: Call to print_graph() function.
1387 * src/getargs.h: Update.
1388 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1389 (graph_flag): New flag.
1390 (longopts): Update.
1391 (getargs): Add case `g'.
1392 * src/files.c (graph_obstack): New obstack struct.
1393 (open_files): Initialize new obstack.
1394 (output_files): Saves graph_obstack if required.
1395 * src/files.h (graph_obstack): New extern declaration.
1396 * src/Makefile.am: Add new source files.
1397
957d4dbf 13982001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1399
1400 * src/print_graph.c, src/print_graph.h (graph): New.
1401 * src/vcg.h: New file.
1402 * src/vcg.c: New file, VCG graph handling.
1403
7333d403
AD
14042001-08-06 Marc Autret <autret_m@epita.fr>
1405
1406 Add of %source_extension and %header_extension which specify
1407 the source or/and the header output file extension.
1408
1409 * src/files.c (compute_base_names): Remove initialisation of
1410 src_extension and header_extension.
1411 (compute_exts_from_gf): Update.
1412 (compute_exts_from_src): Update.
1413 (output_files): Update.
1414 * src/reader.c (parse_header_extension_decl): New.
1415 (parse_source_extension_decl): New.
1416 (read_declarations): New case statements for the new tokens.
1417 * src/lex.c (percent_table): Add entries for %source_extension
1418 and %header_extension.
1419 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1420
84163231
AD
14212001-08-06 Marc Autret <autret_m@epita.fr>
1422
1423 * configure.in: Bump to 1.28c.
1424 * doc/bison.texinfo: Texinfo thingies.
1425
8303fc42
AD
14262001-08-04 Pascal Bart <pascal.bart@epita.fr>
1427
1428 * tests/atconfig.in (CPPFLAGS): Add.
1429 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1430
70a84437
AD
14312001-08-03 Akim Demaille <akim@epita.fr>
1432
1433 Version 1.28b.
1434
2ce10144
AD
14352001-08-03 Akim Demaille <akim@epita.fr>
1436
1437 * tests/Makefile.am (check-local): Ship testsuite.
1438 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1439 Include `string.h'.
1440
1e3e4bc1
AD
14412001-08-03 Akim Demaille <akim@epita.fr>
1442
1443 * configure.in: Try using -Wformat when compiling.
1444
42b45b7f
AD
14452001-08-03 Akim Demaille <akim@epita.fr>
1446
1447 * configure.in: Bump to 1.28b.
1448
8f13fe33
AD
14492001-08-03 Akim Demaille <akim@epita.fr>
1450
1451 * src/complain.c: Adjust strerror_r portability issues.
1452
b37ba92c
AD
14532001-08-03 Akim Demaille <akim@epita.fr>
1454
1455 Version 1.28a.
1456
b0ce6046
AD
14572001-08-03 Akim Demaille <akim@epita.fr>
1458
1459 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1460 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1461 * src/getargs.c: Include complain.h.
1462 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1463 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1464
d01c415b
AD
14652001-08-03 Akim Demaille <akim@epita.fr>
1466
1467 * src/reader.c (readgram): Display hidden chars in error messages.
1468
459dd1a6
AD
14692001-08-03 Akim Demaille <akim@epita.fr>
1470
1471 Update to gettext 0.10.39.
1472
53b74c0c
AD
14732001-08-03 Akim Demaille <akim@epita.fr>
1474
1475 * lib/strspn.c: New.
1476
234a3be3
AD
14772001-08-01 Marc Autret <autret_m@epita.fr>
1478
1479 * doc/bison.texinfo: Update.
1480 * doc/bison.1 (mandoc): Update.
1481 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1482 * src/files.c: Support output files extensions computing.
1483 (src_extension): New static variable.
1484 (header_extension): New static variable.
1485 (tr): New function.
1486 (get_extension_index): New function, gets the index of an extension
1487 filename in a string.
1488 (compute_exts_from_gf): New function, computes extensions from the
1489 grammar file extension.
1490 (compute_exts_from_src): New functions, computes extensions from the
1491 C source file extension, file given by ``-o'' option.
1492 (compute_base_names): Update.
1493 (output_files): Update.
1494
847bf1f5
AD
14952001-08-01 Robert Anisko <anisko_r@epita.fr>
1496
d995fee7 1497 * doc/bison.texi: Document @$.
847bf1f5
AD
1498 (Locations): New section.
1499
d074a105
AD
15002001-07-18 Akim Demaille <akim@epita.fr>
1501
1502 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1503 * config/prev-version.txt, config/move-if-change: New.
1504 * Makefile.am: Adjust.
1505
3419715d
AD
15062001-07-08 Pascal Bart <pascal.bart@epita.fr>
1507
1508 * src/bison.simple (yyparse): Suppress warning `comparaison
1509 between signed and unsigned'.
1510
62ab6972
AD
15112001-07-05 Pascal Bart <pascal.bart@epita.fr>
1512
1513 * src/getargs.h (raw_flag): Remove.
1514 * src/getargs.c: Die on `-r'/`--raw'.
1515 * src/lex.c (parse_percent_token): Die on `%raw'.
1516 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1517 * tests/calc.at: Suppress test with option `--raw'.
1518
1e24cc5b
AD
15192001-07-14 Akim Demaille <akim@epita.fr>
1520
1521 * config/: New.
1522 * configure.in: Require Autoconf 2.50.
1523 Update to gettext 0.10.38.
1524
32dfccf8
AD
15252001-03-16 Akim Demaille <akim@epita.fr>
1526
1527 * doc/bison.texinfo: ANSIfy the examples.
1528
cd5bd6ac
AD
15292001-03-16 Akim Demaille <akim@epita.fr>
1530
1531 * getargs.c (skeleton): New variable.
1532 (longopts): --skeleton is a new option.
1533 (shortopts, getargs): -S is a new option.
1534 * getargs.h: Declare skeleton.
1535 * output.c (output_parser): Use it.
1536
5141b016
AD
15372001-03-16 Akim Demaille <akim@epita.fr>
1538
1539 * m4/strerror_r.m4: New.
1540 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1541 * lib/error.h, lib/error.c: Update.
1542
447992b9
AD
15432001-03-16 Akim Demaille <akim@epita.fr>
1544
1545 * src/getargs.c (longopts): Clean up.
1546
274d42ce
AD
15472001-02-21 Akim Demaille <akim@epita.fr>
1548
1549 * src/reader.c (gensym): `gensym_count' is your own.
1550 Use a static buf to create the symbol name, as token_buffer is no
1551 longer a buffer.
1552
22c821f3
AD
15532001-02-08 Akim Demaille <akim@epita.fr>
1554
1555 * src/conflicts.c (conflict_report): Be sure not to append to res
1556 between two calls, which could happen if both first sprintf were
1557 skipped, but not the first cp += strlen.
1558
18569462
AD
15592001-02-08 Akim Demaille <akim@epita.fr>
1560
1561 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1562 New, from fileutils 4.0.37.
1563 * configure.in: Require Autoconf 2.49c. I took some time before
1564 making this decision. This is the only way out for portability
1565 issues in Bison, it would mean way too much duplicate effort to
1566 import in Bison features implemented in 2.49c since 2.13.
1567 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1568
0d8f3c8a
AD
15692001-02-02 Akim Demaille <akim@epita.fr>
1570
1571 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1572 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1573
f17bcd1f
AD
15742001-01-19 Akim Demaille <akim@epita.fr>
1575
1576 Get rid of the ad hoc handling of token_buffer in the scanner: use
1577 the obstacks.
1578
1579 * src/lex.c (token_obstack): New.
1580 (init_lex): Initialize it. No longer call...
1581 (grow_token_buffer): this. Remove it.
1582 Adjust all the places which used it to use the obstack.
1583
511e79b3
AD
15842001-01-19 Akim Demaille <akim@epita.fr>
1585
1586 * src/lex.h: Rename all the tokens:
1587 s/\bENDFILE\b/tok_eof/g;
1588 s/\bIDENTIFIER\b/tok_identifier/g;
1589 etc.
1590 Let them be enums, not #define, to ease debugging.
1591 Adjust all the code.
1592
0d6508ef
AD
15932001-01-18 Akim Demaille <akim@epita.fr>
1594
1595 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1596 * src/lex.c (maxtoken, grow_token_buffer): Static.
1597
6deb4447
AD
15982001-01-18 Akim Demaille <akim@epita.fr>
1599
1600 Since we now use obstacks, more % directives can be enabled.
1601
1602 * src/lex.c (percent_table): Also accept `%yacc',
1603 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1604 `%debug'.
1605 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1606 instead of returning a token.
1607 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1608 * src/reader.c (read_declarations): Adjust.
1609 * src/files.c (open_files): Don't call `compute_base_names', don't
1610 compute `attrsfile' since they depend upon data which might be
1611 *in* the input file now.
1612 (output_files): Do it here.
1613 * src/output.c (output_headers): Document the fact that this patch
1614 introduces a guaranteed SEGV for semantic parsers.
1615 * doc/bison.texinfo: Document them.
1616 * tests/suite.at: Exercise these %options.
1617
ff4423cc
AD
16182000-12-20 Akim Demaille <akim@epita.fr>
1619
1620 Also handle the output file (--verbose) with obstacks.
1621
1622 * files.c (foutput): Remove.
1623 (output_obstack): New.
1624 Adjust all dependencies.
1625 * src/conflicts.c: Return a string.
1626 * src/system.h (obstack_grow_string): Rename as...
1627 (obstack_sgrow): this. Be ready to work with non literals.
1628 (obstack_fgrow4): New.
1629
956dba3a
AD
16302000-12-20 Akim Demaille <akim@epita.fr>
1631
1632 * src/files.c (open_files): Fix the computation of short_base_name
1633 in the case of `-o foo.tab.c'.
1634
337bab46
AD
16352000-12-20 Akim Demaille <akim@epita.fr>
1636
1637 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1638 (copy_dollar): Now that everything uses obstacks, get rid of the
1639 FILE * parameters.
1640
5d3214b8
AD
16412000-12-20 Akim Demaille <akim@epita.fr>
1642
1643 * src/files.c (open_files): Actually the `.output' file is based
1644 on the short_base_name, not base_name.
1645 * tests/suite.at (Checking output file names): Adjust.
1646
29092a57
AD
16472000-12-20 Akim Demaille <akim@epita.fr>
1648
1649 * src/bison.s1: Remove, we now use directly...
1650 * src/bison.simple: this.
1651 * src/Makefile.am: Use pkgdata instead of data.
1652
ea5607fd
AD
16532000-12-20 Akim Demaille <akim@epita.fr>
1654
1655 * src/files.c (guard_obstack): New.
1656 (open_files): Initialize it.
1657 (output_files): Dump it...
1658 * src/files.h: Export it.
1659 * src/reader.c (copy_guard): Use it.
1660
27110317
AD
16612000-12-19 Akim Demaille <akim@epita.fr>
1662
1663 * src/files.c (outfile, defsfile, actfile): Removed as global
1664 vars.
1665 (open_files): Don't compute them.
1666 (output_files): Adjust.
1667 (base_name, short_base_name): Be global.
1668 Adjust dependencies.
1669
19c50364
AD
16702000-12-19 Akim Demaille <akim@epita.fr>
1671
1672 * src/files.c (strsuffix): New.
1673 (stringappend): Be just like strcat but allocate.
1674 (base_names): Eve out from open_files.
1675 Try to simplify the rather hairy computation of base_name and
1676 short_base_name.
1677 (open_files): Use it.
1678 * tests/suite.at (Checking output file names): New test.
1679
573c1d9f
AD
16802000-12-19 Akim Demaille <akim@epita.fr>
1681
1682 * src/system.h (obstack_grow_literal_string): Rename as...
1683 (obstack_grow_string): this.
1684 * src/output.c (output_parser): Recognize `%% actions' instead of
1685 `$'.
1686 * src/bison.s1: s/$/%% actions/.
1687 * src/bison.hairy: Likewise.
1688
ef7ddedd
AD
16892000-12-19 Akim Demaille <akim@epita.fr>
1690
1691 * src/output.c (output_parser): Compute the `#line' lines when
1692 there are.
1693 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1694 Suggested by Hans Aberg.
1695
ff61dabd
AD
16962000-12-19 Akim Demaille <akim@epita.fr>
1697
1698 Let the handling of the skeleton files be local to the procedures
1699 that use it.
1700
1701 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1702 longer static.
1703 (fparser, open_extra_files): Remove.
1704 (open_files, output_files): Don't take care of fparser.
1705 * src/files.h: Adjust.
1706 * src/output.c (output_parser): Open and close the file to the
1707 skeleton.
1708 * src/reader.c (read_declarations): When %semantic_parser, open
1709 fguard.
1710
55b96341
AD
17112000-12-19 Akim Demaille <akim@epita.fr>
1712
1713 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1714 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1715
358c15b7
AD
17162000-12-19 Akim Demaille <akim@epita.fr>
1717
1718 * src/files.c (open_files): Yipee! We no longer need all the code
1719 looking for `/tmp' since we have no tmp file.
1720
7de3329e
AD
17212000-12-19 Akim Demaille <akim@epita.fr>
1722
1723 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1724 New macros.
1725 * src/files.c (open_files): Less dependency on MSDOS etc.
1726
3abcd459
AD
17272000-12-14 Akim Demaille <akim@epita.fr>
1728
1729 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1730 Provide a default definition.
1731 Use it when executing the default @ action.
1732 * src/reader.c (reader_output_yylsp): No longer include
1733 `timestamp' and `text' in the default YYLTYPE.
1734
2a91a95e
AD
17352000-12-12 Akim Demaille <akim@epita.fr>
1736
1737 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1738 (copy_guard): Quote the file names.
1739 Reported by Laurent Mascherpa.
1740
14d3eb9b
AD
17412000-12-12 Akim Demaille <akim@epita.fr>
1742
1743 * src/output.c (output_headers, output_program, output): Be sure
1744 to escape special characters when outputting filenames.
1745 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1746 (output_headers): Don't depend on them, Use ACTSTR.
1747
d7045ec6
AD
17482000-11-17 Akim Demaille <akim@epita.fr>
1749
1750 * lib/obstack.h: Formatting changes.
1751 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1752 prevents type checking.
1753 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1754 cast the value to (void *): assigning a `foo *' to a `void *'
1755 variable is valid.
1756 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1757 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1758 append characters.
1759
6fd54b73
AD
17602000-11-17 Akim Demaille <akim@epita.fr>
1761
1762 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1763 as...
1764 (suite.m4, regression.m4, calc.m4): these.
1765 * tests/atgeneral.m4: Update from CVS Autoconf.
1766
4c50eae6
AD
17672000-11-17 Akim Demaille <akim@epita.fr>
1768
1769 * tests/regression.m4 (%union and --defines): New test,
1770 demonstrating a current bug in the obstack implementation.
1771
a35f64ea
AD
17722000-11-17 Akim Demaille <akim@epita.fr>
1773
1774 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1775 macros.
1776 Use them to declare the variables which are global or local to
1777 `yyparse'.
1778
7de23534
AD
17792000-11-17 Akim Demaille <akim@epita.fr>
1780
1781 * acconfig.h: Remove, no longer used.
1782
aa7815f5
AD
17832000-11-07 Akim Demaille <akim@epita.fr>
1784
1785 * src: s/Copyright (C)/Copyright/g.
1786
5af1f549
AD
17872000-11-07 Akim Demaille <akim@epita.fr>
1788
1789 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1790 defining.
1791 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1792
553e2b22
AD
17932000-11-07 Akim Demaille <akim@epita.fr>
1794
1795 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1796 Merge in a single CPP if/else.
1797
8a4f41d6
AD
17982000-11-07 Akim Demaille <akim@epita.fr>
1799
1800 * src/output.c (output): Remove useless variables.
1801 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1802 argument `data' for consistency with the prototypes.
1803 Qualify it `const'.
1804 (obstack_copy, obstack_copy0): Rename the second argument as
1805 `address' for consistency. Qualify it `const'.
1806 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1807 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1808 `const' their input argument (`data' or `address').
1809 Adjust the corresponding macros to include `const' in casts.
1810
095a3fb5
AD
18112000-11-03 Akim Demaille <akim@epita.fr>
1812
1813 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1814 s/PFILE1/BISON_HAIRY/.
1815 Adjust dependencies.
1816
d1cdce7c
AD
18172000-11-03 Akim Demaille <akim@epita.fr>
1818
090c5ebf 1819 For some reason, this was not applied.
d1cdce7c
AD
1820
1821 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1822 `unlink': it's no longer used.
1823
9311529b
AD
18242000-11-03 Akim Demaille <akim@epita.fr>
1825
1826 * src/files.c (skeleton_find): New function, eved out of...
1827 (open_files, open_extra_files): here.
1828
d8880f69
AD
18292000-11-03 Akim Demaille <akim@epita.fr>
1830
1831 Don't use `atexit'.
1832
1833 * src/files.c (obstack_save): New function.
1834 (done): Rename as...
1835 (output_files): this.
1836 Use `obstack_save'.
1837 * src/main.c (main): Don't use `atexit' to register `done', since
1838 it no longer has to remove tmp files, just call `output_files'
1839 when there are no errors.
1840
0dbb648e
AD
18412000-11-02 Akim Demaille <akim@epita.fr>
1842
1843 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1844 `unlink': it's no longer used.
1845 * src/files.h: Formatting changes.
1846
896fe5c1
AD
18472000-11-02 Akim Demaille <akim@epita.fr>
1848
1849 Remove the last uses of mktemp and unlink/delete.
1850
1851 * src/files.c (fdefines, ftable): Removed.
1852 (defines_ostack, table_obstack): New.
1853 Adjust dependencies of the former into uses of the latter.
1854 * src/output.c (output_short_or_char_table, output_short_table):
1855 Convert to using obstacks.
1856 * src/reader.c (copy_comment2): Accept one FILE * and two
1857 obstacks.
1858 (output_token_defines, reader_output_yylsp): Use obstacks.
1859 * src/system.h (obstack_fgrow3): New.
1860
dd60faec
AD
18612000-11-01 Akim Demaille <akim@epita.fr>
1862
1863 Change each use of `fattrs' into a use of `attrs_obstack'.
1864
1865 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1866 * src/files.c (fattrs): Remove.
1867 (attrs_obstack): New.
1868 Adjust all dependencies.
1869 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1870
8c7ebe49
AD
18712000-11-01 Akim Demaille <akim@epita.fr>
1872
1873 Introduce obstacks.
1874 Change each use of `faction' into a use of `action_obstack'.
1875
1876 * lib/obstack.h, lib/obstack.c: New files.
1877 * src/files.c (faction): Remove.
1878 (action_obstack): New.
1879 Adjust all dependencies.
1880
77aee789
AD
18812000-10-20 Akim Demaille <akim@epita.fr>
1882
1883 * lib/quote.h (PARAMS): New macro. Use it.
1884
43591cec
AD
18852000-10-16 Akim Demaille <akim@epita.fr>
1886
1887 * src/output.c (output_short_or_char_table): New function.
1888 (output_short_table, output_token_translations): Use it.
1889 (goto_actions): Use output_short_table.
1890
1e9798d5
AD
18912000-10-16 Akim Demaille <akim@epita.fr>
1892
1893 * src/symtab.c (bucket_new): New function.
1894 (getsym): Use it.
1895
1896 * src/output.c (output_short_table): New argument to display the
1897 comment associated with the table.
1898 Adjust dependencies.
1899 (output_gram): Use it.
1900 (output_rule_data): Nicer output layout for YYTNAME.
1901
f282676b
AD
19022000-10-16 Akim Demaille <akim@epita.fr>
1903
1904 * src/lex.c (read_typename): New function.
1905 (lex): Use it.
1906 * src/reader.c (copy_dollar): Likewise.
1907
550a72a3
AD
19082000-10-16 Akim Demaille <akim@epita.fr>
1909
1910 * src/reader.c (copy_comment2): Expect the input stream to be on
1911 the `/' which is suspected to open a comment, instead of being
1912 called after `//' or `/*' was read.
1913 (copy_comment, copy_definition, parse_union_decl, copy_action)
1914 (copy_guard): Adjust.
1915
131e2fef
AD
19162000-10-16 Akim Demaille <akim@epita.fr>
1917
1918 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1919 `read_signed_integer'.
1920
79282c5a
AD
19212000-10-16 Akim Demaille <akim@epita.fr>
1922
1923 * src/reader.c (copy_dollar): New function.
1924 (copy_guard, copy_action): Use it.
1925
ff4a34be
AD
19262000-10-16 Akim Demaille <akim@epita.fr>
1927
1928 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1929 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1930 New files, from Fileutils 4.0.27.
1931 * src/main.c (printable_version): Remove.
1932 * src/lex.c, src/reader.c: Use `quote'.
1933
19342000-10-04 Akim Demaille <akim@epita.fr>
1935
1936 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1937
14ded682
AD
19382000-10-04 Akim Demaille <akim@epita.fr>
1939
1940 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1941
8e03724b
AD
19422000-10-04 Akim Demaille <akim@epita.fr>
1943
1944 When a literal string is used to define two different tokens,
1945 `bison -v' segfaults.
1946 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1947
1948 * tests/regression.m4: New file.
1949 Include the core of the sample provided by Piotr Gackiewicz.
1950 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1951 properly.
1952
a9e64249
AD
19532000-10-04 Akim Demaille <akim@epita.fr>
1954
1955 * src/reader.c (parse_expect_decl): Keep `count' within the size
1956 of `buffer'.
1957 From Neil Booth.
1958
da9abf43
AD
19592000-10-02 Paul Eggert <eggert@twinsun.com>
1960
1961 * bison.s1 (yyparse): Assign the default value
1962 unconditionally, to avoid a GCC warning and make the parser a
1963 tad smaller.
1964
c33638bb
AD
19652000-10-02 Akim Demaille <akim@epita.fr>
1966
1967 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1968 options.
1969
444c570a
AD
19702000-10-02 Akim Demaille <akim@epita.fr>
1971
1972 * src/derives.c, src/print.c, src/reduce.c: To ease the
1973 translation, move some `\n' out of the translated strings.
1974
89cab50d
AD
19752000-10-02 Akim Demaille <akim@epita.fr>
1976
1977 The location tracking mechanism is precious for parse error
1978 messages. Nevertheless, it is enabled only when `@n' is used in
1979 the grammar, which is a different issue (you can use it in error
1980 message, but not in the grammar per se). Therefore, there should
1981 be another means to enable it.
1982
1983 * src/getargs.c (getargs): Support `--locations'.
1984 (usage): Report it.
1985 * src/getargs.h (locationsflag): Export it.
1986 * src/lex.c (percent_table): Support `%locations'.
1987 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1988 with `locationsflag'.
1989 * doc/bison.texinfo: Document `--locations' and `%locations'.
1990 Sort the options.
1991 * tests/calc.m4: Test it.
1992
1993 For regularity of the names, replace each
1994 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1995 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1996 In addition replace each `flag' with `_flag'.
1997
d6c2cba0
AD
19982000-10-02 Akim Demaille <akim@epita.fr>
1999
2000 Also test parse error messages, including with YYERROR_VERBOSE.
2001
2002 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2003 associative).
2004 Use it to check the computations.
2005 Use it to check `nonassoc' is honored.
2006 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2007 `--yyerror-verbose'.
2008 (_AT_CHECK_CALC): Adjust to this option.
2009 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2010
5a35a6cb
AD
20112000-10-02 Akim Demaille <akim@epita.fr>
2012
2013 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2014 the latter demonstrates a flaw in the handling of non debugging
2015 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2016 was used in order to simplify:
2017
2018 #if YYDEBUG
2019 if (yydebug)
2020 {
2021 ...
2022 }
2023 #endif
2024
2025 into
2026
2027 if (yydebug)
2028 {
2029 ...
2030 }
2031
2032 unfortunately this leads to a CPP conflict when
2033 `--name-prefix=foo' is used since it produces `#define yydebug
2034 foodebug'.
2035
2036 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2037 (YYDPRINTF): New macro.
2038 Spread its use.
2039 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2040 the bison options.
2041 Also test `--verbose', `--defines' and `--name-prefix'.
2042
71da9eea
AD
20432000-10-02 Akim Demaille <akim@epita.fr>
2044
2045 Improve the readability of the produced parsers.
2046
2047 * src/bison.s1: Formatting changes.
2048 Improve the comment related to the `$' mark.
2049 (yydefault): Don't fall through to `yyresume': `goto' there.
2050 * src/output.c (output_parser): When the `$' is met, skip the end
2051 of its line.
2052 New variable, `number_of_dollar_signs', to check there's exactly
2053 one `$' in the parser skeleton.
2054
95e36146
AD
20552000-10-02 Akim Demaille <akim@epita.fr>
2056
2057 * lib/xstrdup.c: New file, from the fileutils.
2058 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2059 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2060 instead of strlen + xmalloc + strcpy.
2061 * src/symtab.c (copys): Remove, use xstrdup instead.
2062
d7020c20
AD
20632000-10-02 Akim Demaille <akim@epita.fr>
2064
2065 * src/gram.h (associativity): New enum type which replaces the
2066 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2067 `right_assoc', `left_assoc' and `non_assoc'.
2068 Adjust all dependencies.
2069 * src/reader.c: Formatting changes.
2070 (LTYPESTR): Don't define it, use it as a literal in
2071 `reader_output_yylsp'.
2072 * src/symtab.h (symbol_class): New enum type which replaces the
2073 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2074 `sunknown', `stoken and `snterm'.
2075
1916f98e
AD
20762000-10-02 Akim Demaille <akim@epita.fr>
2077
2078 * src/getargs.c (fixed_outfiles): Rename as...
2079 (yaccflag): for consistency and accuracy.
2080 Adjust dependencies.
2081
d7913476
AD
20822000-10-02 Akim Demaille <akim@epita.fr>
2083
2084 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2085 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2086 difficult and introduced a lot of core dump. It turns out that
2087 Bison used an implementation of `xmalloc' based on `calloc', and
2088 at various places it does depend upon the initialization to 0. I
2089 have not tried to isolate the pertinent places, and all the former
2090 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2091 someone should address this issue.
2092
2093 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2094 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2095 files.
2096 Adjust dependencies.
2097 * src/warshall.h: New file.
2098 Propagate.
2099
340ef489
AD
21002000-10-02 Akim Demaille <akim@epita.fr>
2101
2102 Various anti-`extern in *.c' changes.
2103
2104 * src/system.h: Include `assert.h'.
2105
b2ca4022
AD
21062000-10-02 Akim Demaille <akim@epita.fr>
2107
2108 * src/state.h (nstates, final_state, first_state, first_shift)
2109 (first_reduction): Move their exportation from here...
2110 * src/LR0.h: to here.
2111 Adjust dependencies.
2112 * src/getargs.c (statisticsflag): New variable.
2113 Add support for `--statistics'.
2114 Adjust dependencies.
2115
2116 Remove a lot of now useless `extern' statements in most files.
2117
403b315b
AD
21182000-10-02 Akim Demaille <akim@epita.fr>
2119
2120 * src/LR0.h: New file.
2121 Propagate its use.
2122
07a58c13
AD
21232000-10-02 Akim Demaille <akim@epita.fr>
2124
2125 * src/print.h: New file.
2126 Propagate its use.
2127 * src/print.c: Formatting and ordering changes.
2128 (verbose, terse): Replace with...
2129 (print_results): this new function.
2130 Adjust dependencies.
2131
0619caf0
AD
21322000-10-02 Akim Demaille <akim@epita.fr>
2133
2134 * src/conflicts.c (conflict_report): New function.
2135 (conflict_log, verbose_conflict_log): Replace with...
2136 (print_conflicts): this function.
2137 Adjust dependencies.
2138 * src/conflicts.h: New file.
2139 Propagate its inclusion.
2140
3519ec76
AD
21412000-10-02 Akim Demaille <akim@epita.fr>
2142
2143 * src/nullable.h: New file.
2144 Propagate its inclusion.
2145 * src/nullable.c: Formatting changes.
2146
015acc48
AD
21472000-10-02 Akim Demaille <akim@epita.fr>
2148
2149 * src/reduce.h: New file.
2150 Propagate its inclusion.
2151 * src/reduce.c: Topological sort and other formatting changes.
2152 (bool, TRUE, FALSE): Move their definition to...
2153 * src/system.h: here.
2154
8963a27b
AD
21552000-10-02 Akim Demaille <akim@epita.fr>
2156
2157 * src/files.c: Formatting changes.
2158 (tryopen, tryclose, openfiles): Rename as...
2159 (xfopen, xfclose, open_files): this.
2160 (stringappend): static.
2161 * src/files.h: Complete the list of exported symbols.
2162 Propagate its use.
2163
a70083a3
AD
21642000-10-02 Akim Demaille <akim@epita.fr>
2165
2166 * src/reader.h: New file.
2167 Propagate its use instead of tedious list of `extern' and
2168 prototypes.
2169 * src/reader.c: Formatting changes, topological sort,
2170 s/register//.
2171
abadc117
AD
21722000-10-02 Akim Demaille <akim@epita.fr>
2173
2174 * src/lex.h: Prototype `lex.c' exported functions.
2175 * src/reader.c: Adjust.
2176 * src/lex.c: Formatting changes.
2177 (safegetc): Rename as...
2178 (xgetc): this.
2179
720d742f
AD
21802000-10-02 Akim Demaille <akim@epita.fr>
2181
2182 * src/lalr.h: New file.
2183 Propagate its inclusion instead of prototypes and `extern'.
2184 * src/lalr.c: Formatting changes, topological sorting etc.
2185
f2acea59
AD
21862000-10-02 Akim Demaille <akim@epita.fr>
2187
2188 * src/output.c (token_actions): Introduce a temporary array,
2189 YYDEFACT, that makes it possible for this function to use
2190 output_short_table.
2191
d019d655
AD
21922000-10-02 Akim Demaille <akim@epita.fr>
2193
2194 `user_toknums' is output as a `short[]' in `output.c', while it is
2195 defined as a `int[]' in `reader.c'. For consistency with the
2196 other output tables, `user_toknums' is now defined as a table of
2197 shorts.
2198
2199 * src/reader.c (user_toknums): Be a short table instead of an int
2200 table.
2201 Adjust dependencies.
2202
2203 Factor the short table outputs.
2204
2205 * src/output.c (output_short_table): New function.
2206 * src/output.c (output_gram, output_stos, output_rule_data)
2207 (output_base, output_table, output_check): Use it.
2208
6c89f1c1
AD
22092000-10-02 Akim Demaille <akim@epita.fr>
2210
2211 * src/output.c (output): Topological sort of the functions, in
2212 order to get rid of the `static' prototypes.
2213 No longer use `register'.
2214 * src/output.h: New file.
2215 Propagate its inclusion in files explicitly prototyping functions
2216 from output.c.
2217
d9efd181
AD
22182000-09-21 Akim Demaille <akim@epita.fr>
2219
2220 * src/atgeneral.m4: Update from Autoconf.
2221
c29240e7 22222000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2223
2224 * src/closure.h: New file.
2225 * src/closure.c: Formatting changes, topological sort over the
2226 functions, use of closure.h.
2227 (initialize_closure, finalize_closure): Rename as...
2228 (new_closure, free_closure): these. Adjust dependencies.
2229 * src/LR0.c: Formatting changes, topological sort, use of
2230 cloture.h.
2231 (initialize_states): Rename as...
2232 (new_states): this.
2233 * src/Makefile.am (noinst_HEADERS): Adjust.
2234
499daa50
AD
22352000-09-20 Akim Demaille <akim@epita.fr>
2236
2237 * src/acconfig.h: Don't protect config.h against multiple
2238 inclusion.
2239 Don't define PARAMS.
2240 * src/system.h: Define PARAMS.
2241 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2242 purpose of config.h. system.h must not try to fix wrong
2243 definitions in config.h.
2244
cc84fd5d
AD
22452000-09-20 Akim Demaille <akim@epita.fr>
2246
2247 * src/derives.h: New file.
2248 * src/main.c, src/derives.h: Use it.
2249 Formatting changes.
2250 * src/Makefile.am (noinst_HEADERS): Adjust.
2251
db5b3a89
AD
22522000-09-20 Akim Demaille <akim@epita.fr>
2253
2254 * tests/atgeneral.m4: Update from Autoconf.
2255 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2256 (AT_CHECK_CALC): New macros.
2257 Use these macros to test bison with options `', `--raw',
2258 `--debug', `--yacc', `--yacc --debug'.
2259
ceed8467
AD
22602000-09-19 Akim Demaille <akim@epita.fr>
2261
2262 * src/output.c: Formatting changes.
2263 * src/machine.h: Remove, leaving its contents in...
2264 * src/system.h: here.
2265 Include stdio.h.
2266 Adjust all dependencies on stdio.h and machine.h.
2267 * src/getargs.h: New file.
2268 Let all `extern' declarations about getargs.c be replaced with
2269 inclusion of `getargs.h'.
2270 * src/Makefile.am (noinst_HEADERS): Adjust.
2271
2272 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2273 scope.
2274 (yyerror): Returns void, not int.
2275 * doc/bison.texinfo: Formatting changes.
2276
05a1d24b
AD
22772000-09-19 Akim Demaille <akim@epita.fr>
2278
2279 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2280 portable.
2281
cbd25751
AD
22822000-09-18 Akim Demaille <akim@epita.fr>
2283
2284 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2285 * src/Makefile.am (INCLUDES): Don't.
2286 Be ready to fetch headers in lib/.
2287
13863333
AD
22882000-09-18 Akim Demaille <akim@epita.fr>
2289
2290 * doc/bison.texinfo: Update the copyright.
2291 ANSIfy and GNUify the examples.
2292 Remove the old menu.
2293
0d533154
AD
22942000-09-18 Akim Demaille <akim@epita.fr>
2295
2296 First set of tests: use the `calc' example from the documentation.
2297
2298 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2299 is defined only when YYDEBUG is.
2300 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2301 * src/files.c (tryopen, tryclose): Formatting changes.
2302 Move to the top and be static.
2303 * src/reader.c (read_signed_integer): Likewise.
2304 * tests/calc.m4: New file.
2305 * Makefile.am, suite.m4: Adjust.
2306 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2307
e79137ac
AD
23082000-09-18 Akim Demaille <akim@epita.fr>
2309
2310 Add support for an Autotest test suite for Bison.
2311
2312 * m4/m4.m4, m4/atconfig.m4: New files.
2313 * m4/Makefile.am (EXTRA_DIST): Adjust.
2314 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2315 files.
2316 * src/getargs.c: Display a more standard --version message.
2317 * src/reader.c (reader): Formatting changes.
2318 No longer depend upon VERSION_STRING.
2319 * configure.in: No longer use `dnl'.
2320 Set up the test suite and the new directory `tests/.
2321 (VERSION_STRING): Remove.
2322
27821bff
AD
23232000-04-14 Akim Demaille <akim@epita.fr>
2324
2325 * src/reader.c (copy_comment2): New function, same as former
2326 `copy_comment', but outputs into two FILE *.
2327 (copy_comment): Use it.
2328 (parse_union_decl): Use it.
2329 (get_type, parse_start_decl): Use the same `invalid' message.
2330 (parse_start_decl, parse_union_decl): Use the same `multiple'
2331 message.
2332 (parse_union_decl, copy_guard, copy_action): Use the same
2333 `unmatched' message.
2334 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2335
cfe5fbc0
AD
23362000-03-31 Akim Demaille <akim@epita.fr>
2337
2338 * src/files.c (tryopen, tryclose): Move to the top.
2339 Be static.
2340
cb7db13e
AD
23412000-03-31 Akim Demaille <akim@epita.fr>
2342
2343 * src/main.c (main): Don't call `done', exit does it.
2344
a0f6b076
AD
23452000-03-31 Akim Demaille <akim@epita.fr>
2346
36281465
AD
2347 * allocate.c: s/return (foo)/return foo/.
2348 * lalr.c: Likewise.
2349 * LR0.c: Likewise.
2350 * output.c: Likewise.
2351 * reader.c: Likewise.
2352 * symtab.c: Likewise.
2353 * vmsgetargs.c: Likewise.
2354
23552000-03-31 Akim Demaille <akim@epita.fr>
2356
2357 Clean up the error reporting functions.
a0f6b076
AD
2358
2359 * src/report.c: New file.
2360 * src/report.h: Likewise.
2361 * src/Makefile.am: Adjust.
2362 * m4/error.m4: New file.
2363 * m4/Makefile.am: Adjust.
2364 * configure.in (jm_PREREQ_ERROR): Call it.
2365 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2366 Remove.
2367 (fatal, fatals): Remove. All callers use complain.c::fatal.
2368 (warn, warni, warns, warnss, warnss): Remove. All callers use
2369 complain.c::complain.
2370 (toomany): Remove, use fatal instead.
2371 * src/files.c (done): No argument, use complain_message_count.
2372 * src/main.c (main): Register `done' to `atexit'.
2373
2374 * src/getargs.c (usage): More `fputs', less `fprintf'.
2375
18539825
AD
23762000-03-28 Akim Demaille <akim@epita.fr>
2377
2378 * lib/: New directory.
2379 * Makefile.am (SUBDIRS): Adjust.
2380 * configure.in: Adjust.
2381 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2382 useless.
2383 * src/alloca.c: Moved to lib/.
2384 * src/getopt.c: Likewise.
2385 * src/getopt1.c: Likewise.
2386 * src/getopt.h: Likewise.
2387 * src/ansi2knr.c: Likewise.
2388 * src/ansi2knr.1: Likewise.
2389 * src/Makefile.am: Adjust.
2390 * lib/Makefile.am: New file.
2391
9f306f2a
AD
23922000-03-28 Akim Demaille <akim@epita.fr>
2393
2394 * src/getargs.c (usage): Refresh the help message.
2395
0ba347b6
AD
23962000-03-17 Akim Demaille <akim@epita.fr>
2397
2398 * src/getopt1.c: Updated from textutils 2.0e
2399 * src/getopt.c: Likewise.
2400 * src/getopt.h: Likewise.
2401
dbe7f271
AD
24022000-03-17 Akim Demaille <akim@epita.fr>
2403
2404 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2405 the file name, not the whole `#line LINE FILE'.
2406
75bbe78d
AD
24072000-03-17 Akim Demaille <akim@epita.fr>
2408
2409 On syntax errors, report the token on which we choked.
2410
aa5fd0ee
AD
2411 * src/bison.s1 (yyparse): In the label yyerrlab, when
2412 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2413
7b306f52
AD
24142000-03-17 Akim Demaille <akim@epita.fr>
2415
aa5fd0ee 2416 * src/reader.c (copy_at): New function.
7b306f52
AD
2417 (copy_guard): Use it.
2418 (copy_action): Use it.
2419
e87b5700
AD
24202000-03-17 Akim Demaille <akim@epita.fr>
2421
2422 Be kind to translators, save some useless translations.
2423
aa5fd0ee 2424 * src/main.c (banner): New function.
e87b5700
AD
2425 (fatal_banner): Use it.
2426 (warn_banner): Use it.
2427
ae3c3164
AD
24282000-03-17 Akim Demaille <akim@epita.fr>
2429
aa5fd0ee
AD
2430 * src/reader.c (copy_definition): Use copy_string and
2431 copy_comment. Removed now unused `match', `ended',
2432 `cplus_comment'.
ae3c3164
AD
2433 (copy_comment, copy_string): Moved, to be visible from
2434 copy_definition.
2435
4dc58e7c
AD
24362000-03-17 Akim Demaille <akim@epita.fr>
2437
aa5fd0ee
AD
2438 * src/reader.c (copy_string): Declare `static inline'. No
2439 problems with inline, since it is checked by configure.
4dc58e7c
AD
2440 (copy_comment): Likewise.
2441
0a6384c4
AD
24422000-03-17 Akim Demaille <akim@epita.fr>
2443
aa5fd0ee 2444 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2445
3cef001a
AD
24462000-03-17 Akim Demaille <akim@epita.fr>
2447
aa5fd0ee 2448 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2449 (copy_action): Use it. Removed now unused `match', `ended',
2450 `cplus_comment'.
2451 (copy_guard): Likewise.
2452
ca36d2ef
AD
24532000-03-17 Akim Demaille <akim@epita.fr>
2454
aa5fd0ee 2455 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2456 (copy_action): Use it.
2457 (copy_guard): Likewise.
2458
6666f98f
AD
24592000-03-17 Akim Demaille <akim@epita.fr>
2460
2461 Change the handling of @s so that they behave exactly like $s.
2462 There is now a pseudo variable @$ (readble and writable), location
2463 of the lhs of the rule (by default ranging from the location of
2464 the first symbol of the rhs, to the location of the last symbol,
2465 or, if the rhs is empty, YYLLOC).
2466
2467 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2468 yyval.
2469 (yyparse): When providing a default semantic action, provide a
2470 default location action.
2471 (after the $): No longer change `*YYLSP', just stack YYLOC the
2472 same way you stack YYVAL.
2473 * src/reader.c (read_declarations): Use warns.
2474 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2475 (copy_action, case '@'): Likewise.
2476 Use a standard error message, to save useless work from
2477 translators.
2478
41aca2e0
AD
24792000-03-17 Akim Demaille <akim@epita.fr>
2480
aa5fd0ee
AD
2481 * src/bison.s1: Formatting and cosmetics changes.
2482 * src/reader.c: Likewise.
41aca2e0
AD
2483 Update the Copyright notice.
2484
dc08c1d5
AD
24852000-03-17 Akim Demaille <akim@epita.fr>
2486
aa5fd0ee
AD
2487 * src/bison.s1 (#line): All set to `#line' only, since the
2488 Makefile now handles them.
dc08c1d5 2489
9ee3c97b
AD
24902000-03-16 Akim Demaille <akim@epita.fr>
2491
2492 * src/output.c (output_rule_data): Output the documentation of
2493 some of the tables.
2494 (Copyright notice): Update.
2495 Formatting changes.
2496
0de741ca
AD
24972000-03-16 Akim Demaille <akim@epita.fr>
2498
2499 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2500 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2501 One `#if YYDEBUG' remains, since it uses variables which are
2502 defined only if `YYDEBUG != 0'.
2503
bb10be54
AD
25042000-03-16 Akim Demaille <akim@epita.fr>
2505
2506 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2507 and related variables so that the similarities are highlighted.
2508
b07b484a
AD
25092000-03-16 Akim Demaille <akim@epita.fr>
2510
2511 * src/bison.s1: Properly indent CPP directives.
2512
361f60b3
AD
25132000-03-16 Akim Demaille <akim@epita.fr>
2514
2515 * src/bison.s1: Properly indent the `alloca' CPP section.
2516
8c44d3ec
AD
25172000-03-16 Akim Demaille <akim@epita.fr>
2518
2519 Do not hard code values of directories in `configure.in'.
2520 Update the `configure' tool chain.
2521
2522 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2523 src/makefile.am.
2524 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2525 (AC_OUTPUT): Add m4/Makefile.
2526 Bump to bison 1.28a, 1.29 has never been released.
2527 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2528 handled via src/Makefile.am.
2529 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2530 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2531 autoheader.
2532 * Makefile.am (SUBDIRS): Add m4.
2533 (ACLOCAL_AM_FLAGS): New variable.
2534 (AUTOMAKE_OPTIONS): Add check-news.
2535 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2536 the proper line number and file name.
2537 (DEFS): Propagate the location of bison library files and of the
2538 locale files.
2539 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2540 builddir.
2541 * acinclude.m4: Remove, replaced by the directory m4.
2542 * m4/Makefile.am (EXTRA_DIST): New variable.
2543 * m4/gettext.m4: New file, from the fileutils.
2544 * m4/lcmessage.m4: Likewise
2545 * m4/progtest.m4: Likewise.
2546 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2547
f95997e7
AD
25482000-03-10 Akim Demaille <akim@epita.fr>
2549
2550 * src/closure.c:
2551 Formatting changes of various comments.
2552 Respect the GNU coding standards at various places.
2553 Don't use `_()' when no translation is needed.
2554
25551999-12-13 Jesse Thilo <jthilo@gnu.org>
2556
2557 * src/files.c:
2558 OS/2 honors TMPDIR environment variable.
2559
25601999-12-13 Jesse Thilo <jthilo@gnu.org>
2561
2562 * doc/bison.texinfo: Tweaked spelling and grammar.
2563 Updated ISBN.
2564 Removed reference to price of printed copy.
2565 Mention BISON_SIMPLE and BISON_HAIRY.
2566
25671999-12-13 Jesse Thilo <jthilo@gnu.org>
2568
2569 * configure.in, NEWS:
2570 Bison 1.29 released.
2571
25721999-10-27 Jesse Thilo <jthilo@gnu.org>
2573
2574 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2575 Added reference card.
2576
25771999-07-26 Jesse Thilo <jthilo@gnu.org>
2578
2579 * po/ru.po: Added Russian translation.
2580
25811999-07-26 Jesse Thilo <jthilo@gnu.org>
2582
2583 * configure.in: Added Russian translation.
2584
25851999-07-06 Jesse Thilo <jthilo@gnu.org>
2586
2587 * configure.in, NEWS, README:
2588 Released version 1.28.
2589
25901999-06-14 Jesse Thilo <jthilo@gnu.org>
2591
2592 * src/system.h:
2593 Squashed redefinition warning on some systems.
2594
2595 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2596 Have configure build version string instead of relying on ANSI string
2597 concatentation.
2598
25991999-06-14 Jesse Thilo <jthilo@gnu.org>
2600
2601 * po/POTFILES.in: Got rid of version.c.
2602
26031999-06-14 Jesse Thilo <jthilo@gnu.org>
2604
2605 * acconfig.h, configure.in:
2606 Have configure build version string instead of relying on ANSI string
2607 concatentation.
2608
26091999-06-08 Jesse Thilo <jthilo@gnu.org>
2610
2611 * doc/bison.1:
2612 Dropped mention of `+' for long-named options.
2613
26141999-05-30 Jesse Thilo <jthilo@gnu.org>
2615
2616 * src/files.c: Added <unistd.h> for unlink().
2617
2618 * src/Makefile.am, src/system.h:
2619 I18n fixes.
2620
26211999-05-30 Jesse Thilo <jthilo@gnu.org>
2622
2623 * README: Added a FAQ list.
2624
2625 * configure.in, acconfig.h:
2626 I18n fixes.
2627
26281999-05-30 Jesse Thilo <jthilo@gnu.org>
2629
2630 * doc/FAQ, doc/Makefile.am:
2631 Added a FAQ list.
2632
26331999-05-19 Jesse Thilo <jthilo@gnu.org>
2634
2635 * src/alloc.h, src/symtab.h, src/version.c:
2636 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2637
26381999-04-18 Jesse Thilo <jthilo@gnu.org>
2639
2640 * src/.cvsignore, src/Makefile.am:
2641 Reorganized: sources in `src', documentation in `doc'.
2642
2643 * src/lex.c (literalchar):
2644 fixed the code for escaping double quotes (thanks
2645 Jonathan Czisny.)
2646
26471999-04-18 Jesse Thilo <jthilo@gnu.org>
2648
2649 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2650 Adjusted paths to reflect directory reorganization.
2651
26521999-04-18 Jesse Thilo <jthilo@gnu.org>
2653
2654 * doc/.cvsignore, doc/Makefile.am:
2655 Reorganized: sources in `src', documentation in `doc'.
2656
26571999-04-18 Jesse Thilo <jthilo@gnu.org>
2658
2659 * configure.in:
2660 Updated AC_INIT file to reflect directory reorganization.
2661
2662 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2663 Reorganized: sources in `src', documentation in `doc'.
2664
26651999-04-13 Jesse Thilo <jthilo@gnu.org>
2666
2667 * src/allocate.c:
2668 Don't declare calloc() and realloc() if not necessary.
2669
26701999-04-13 Jesse Thilo <jthilo@gnu.org>
2671
2672 * configure.in, acconfig.h, acinclude.m4:
2673 Don't declare calloc() and realloc() if not necessary.
2674
26751999-03-23 Jesse Thilo <jthilo@gnu.org>
2676
2677 * po/.cvsignore: Added i18n support.
2678
26791999-03-23 Jesse Thilo <jthilo@gnu.org>
2680
2681 * acconfig.h, configure.in, Makefile.am:
2682 Added i18n support.
2683
26841999-03-22 Jesse Thilo <jthilo@gnu.org>
2685
2686 * src/bison.s1: Fixed #line numbers.
2687
26881999-03-15 Jesse Thilo <jthilo@gnu.org>
2689
2690 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2691 Added PO files from Translation Project.
2692
26931999-03-03 Jesse Thilo <jthilo@gnu.org>
2694
2695 * Makefile.am:
2696 Added support for non-ANSI compilers (ansi2knr).
2697
26981999-02-16 Jesse Thilo <jthilo@gnu.org>
2699
2700 * configure.in: Bumped version number to 1.27.
2701
2702 * Makefile.am:
2703 Added `bison.simple' to list of files removed by `make distclean'.
2704
27051999-02-12 Jesse Thilo <jthilo@gnu.org>
2706
2707 * src/files.c, src/files.h:
2708 Defined locations of parser files in config.h instead of Makefile.
2709
27101999-02-12 Jesse Thilo <jthilo@gnu.org>
2711
2712 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2713 Defined locations of parser files in config.h instead of Makefile.
2714
27151999-02-09 Jesse Thilo <jthilo@gnu.org>
2716
2717 * Makefile.am:
2718 Removed inappropriate use of $< macro.
2719
27201999-02-05 Jesse Thilo <jthilo@gnu.org>
2721
2722 * po/Makefile.in.in, po/POTFILES.in:
2723 Add `po' directory skeleton.
2724
27251999-01-27 Jesse Thilo <jthilo@gnu.org>
2726
2727 * README: Document help-bison list.
2728
2729 * configure.in: Add check for mkstemp().
2730
27311999-01-20 Jesse Thilo <jthilo@gnu.org>
2732
2733 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2734 Hush a few compiler warnings.
2735
2736 * src/files.c:
2737 Add tryclose(), which verifies that fclose was successful.
2738 Hush a couple of compiler warnings.
2739
27401999-01-20 Jesse Thilo <jthilo@gnu.org>
2741
2742 * Makefile.am, OChangeLog:
2743 ChangeLog is now automatically generated. Include the old version as
2744 OChangeLog.
2745
27461999-01-14 Jesse Thilo <jthilo@gnu.org>
2747
2748 * 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:
2749 Update FSF address.
2750
27511999-01-14 Jesse Thilo <jthilo@gnu.org>
2752
2753 * doc/bison.texinfo: Fix formatting glitch.
2754
2755 * doc/bison.texinfo: Update FSF address.
2756
27571999-01-14 Jesse Thilo <jthilo@gnu.org>
2758
2759 * acconfig.h: Update FSF address.
2760
27611999-01-08 Jesse Thilo <jthilo@gnu.org>
2762
2763 * src/system.h:
2764 Don't define PACKAGE here, since config.h defines it.
2765
27661998-12-30 Jesse Thilo <jthilo@gnu.org>
2767
2768 * src/reader.c: Update copyright date.
2769
2770 * src/main.c:
2771 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2772 favor of output directly to stderr (avoids buffer overruns).
2773
2774 * src/reader.c: Some checks for premature EOF.
2775
2776 * 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:
2777 Use prototypes if the compiler understands them.
2778
2779 * src/files.c: Honor TMPDIR on Unix hosts.
2780 Use prototypes if the compiler understands them.
2781
2782 * src/reader.c:
2783 Fix a couple of buffer overrun bugs.
2784 Use prototypes if the compiler understands them.
2785
2786 * src/system.h: Include unistd.h and ctype.h.
2787 Use #ifdef instead of #if for NLS symbols.
2788
27891998-12-30 Jesse Thilo <jthilo@gnu.org>
2790
2791 * doc/bison.texinfo:
2792 Delete comment "consider using @set for edition number, etc..." since
2793 we now are doing so.
2794
27951998-12-30 Jesse Thilo <jthilo@gnu.org>
2796
2797 * configure.in:
2798 Use prototypes if the compiler understands them.
2799
2800 * NEWS: Document 1.26 highlights.
2801
2802 * Makefile.am: Require Automake 1.3 or later.
2803
2804 * acconfig.h:
2805 Use prototypes if the compiler understands them.
2806
28071998-12-29 Jesse Thilo <jthilo@gnu.org>
2808
2809 * src/version.c:
2810 Use VERSION symbol from automake for version number.
2811
28121998-12-29 Jesse Thilo <jthilo@gnu.org>
2813
2814 * acconfig.h, configure.in, version.cin:
2815 Use VERSION symbol from automake for version number.
2816
28171998-11-28 Jesse Thilo <jthilo@gnu.org>
2818
2819 * Makefile.am:
2820 Distribute original version of simple parser (bison.s1), not built
2821 version (bison.simple).
2822
28231998-11-28 Jesse Thilo <jthilo@gnu.org>
2824
2825 * doc/bison.texinfo: Add info dir entry.
2826
2827 * doc/bison.texinfo:
2828 Let automake put version number into documentation.
2829
28301998-11-26 Jesse Thilo <jthilo@gnu.org>
2831
2832 * src/bison.cld, src/build.com, src/vmshlp.mar:
2833 Add non-RCS files from /gd/gnu/bison.
2834
28351998-11-26 Jesse Thilo <jthilo@gnu.org>
2836
2837 * doc/bison.1:
2838 Document the BISON_HAIRY and BISON_SIMPLE variables.
2839
28401998-11-25 Jesse Thilo <jthilo@gnu.org>
2841
2842 * src/version.c: Build version.c automatically.
2843
2844 * src/reader.c:
2845 Fix token numbering (used to start at 258, not 257).
2846
2847 * src/system.h: Include config.h.
2848
2849 * src/getargs.c: Update bug report address.
2850
2851 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2852 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2853
28541998-11-25 Jesse Thilo <jthilo@gnu.org>
2855
2856 * Makefile.am:
2857 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2858
2859 * configure.in, version.cin:
2860 Build version.c automatically.
2861
2862 * AUTHORS: Add AUTHORS file.
2863
2864 * README: Update bug report address.
2865
2866 * bison.simple:
2867 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2868
2869 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2870 Add automake stuff.
2871
28721998-11-25 Jesse Thilo <jthilo@gnu.org>
2873
2874 * doc/bison.texinfo: Clean up some formatting.
2875
28761998-05-05 Richard Stallman <rms@gnu.org>
2877
2878 * doc/bison.texinfo:
2879 Explain better why to make a pure parser.
2880
28811998-01-05 Richard Stallman <rms@gnu.org>
2882
2883 * src/files.c (openfiles):
2884 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2885 find a temporary directory, if possible. Do not unlink files while
2886 they are open.
2887
28881997-08-25 Richard Stallman <rms@gnu.org>
2889
2890 * src/reader.c (stack_offset;):
2891 Change some warni to warns.
2892
2893 * src/lex.c (literalchar): Use warns, not warni.
2894
28951997-06-28 Richard Stallman <rms@gnu.org>
2896
2897 * src/bison.s1: Add a Bison version comment.
2898
2899 * src/main.c (fatal, warn, berror):
2900 Use program_name.
2901
29021997-06-28 Richard Stallman <rms@gnu.org>
2903
2904 * Makefile.in (bison_version): New variable.
2905 (dist): Use that variable.
2906 (bison.s1): Substitute the Bison version into bison.simple.
2907
2908 * bison.simple: Add a Bison version comment.
2909
29101997-06-18 Richard Stallman <rms@gnu.org>
2911
2912 * src/main.c (fatal, warn, berror):
2913 Make error messages standard.
2914 (toomany): Improve error message text.
2915
2916 * 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:
2917 new.h renamed to alloc.h.
2918
29191997-06-18 Richard Stallman <rms@gnu.org>
2920
2921 * Makefile.in: new.h renamed to alloc.h.
2922
29231997-05-24 Richard Stallman <rms@gnu.org>
2924
2925 * src/lex.c (literalchar):
2926 Fix the code for escaping \, " and '.
2927
2928 (lex): Avoid trouble when there are many chars
2929 to discard in a char literal with just several chars in it.
2930
29311997-05-17 Richard Stallman <rms@gnu.org>
2932
2933 * src/bison.s1:
2934 Use malloc, if using alloca is troublesome.
2935 (YYSTACK_USE_ALLOCA): New flag macro.
2936 Define it for some systems and compilers.
2937 (YYSTACK_ALLOC): New macro.
2938 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2939 If it was malloc'd, free it.
2940
29411997-05-17 Richard Stallman <rms@gnu.org>
2942
2943 * bison.simple:
2944 Use malloc, if using alloca is troublesome.
2945 (YYSTACK_USE_ALLOCA): New flag macro.
2946 Define it for some systems and compilers.
2947 (YYSTACK_ALLOC): New macro.
2948 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2949 If it was malloc'd, free it.
2950
29511997-04-23 Richard Stallman <rms@gnu.org>
2952
2953 * src/bison.s1:
2954 (alloca) [__hpux]: Always define as __builtin_alloca.
2955
29561997-04-23 Richard Stallman <rms@gnu.org>
2957
2958 * bison.simple:
2959 (alloca) [__hpux]: Always define as __builtin_alloca.
2960
29611997-04-22 Richard Stallman <rms@gnu.org>
2962
2963 * src/bison.s1:
2964 [__hpux]: Include alloca.h (right for HPUX 10)
2965 instead of declaring alloca (right for HPUX 9).
2966
2967 * src/bison.s1 (__yy_memcpy):
2968 Declare arg `count' as unsigned int.
2969 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2970
29711997-04-22 Richard Stallman <rms@gnu.org>
2972
2973 * bison.simple:
2974 [__hpux]: Include alloca.h (right for HPUX 10)
2975 instead of declaring alloca (right for HPUX 9).
2976
2977 * bison.simple (__yy_memcpy):
2978 Declare arg `count' as unsigned int.
2979 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2980
29811997-01-03 Richard Stallman <rms@gnu.org>
2982
2983 * src/allocate.c: [__STDC__ or _MSC_VER]:
2984 Declare calloc and realloc to return void *.
2985
29861997-01-02 Richard Stallman <rms@gnu.org>
2987
2988 * src/system.h:
2989 [_MSC_VER]: Include stdlib.h and process.h.
2990 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2991
2992 * src/main.c (main): Return FAILURE as a value.
2993 (printable_version): Declare arg as int, not char.
2994
29951997-01-02 Richard Stallman <rms@gnu.org>
2996
2997 * Makefile.in (dist):
2998 Explicitly check for symlinks, and copy them.
2999
30001996-12-19 Richard Stallman <rms@gnu.org>
3001
3002 * src/files.c:
3003 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3004
30051996-12-18 Paul Eggert <eggert@gnu.org>
3006
3007 * src/bison.s1 (yyparse):
3008 If __GNUC__ and YYPARSE_PARAM are both defined,
3009 declare yyparse to have a void * argument.
3010
30111996-12-18 Paul Eggert <eggert@gnu.org>
3012
3013 * bison.simple (yyparse):
3014 If __GNUC__ and YYPARSE_PARAM are both defined,
3015 declare yyparse to have a void * argument.
3016
30171996-12-17 Richard Stallman <rms@gnu.org>
3018
3019 * src/reduce.c (nbits): Add some casts.
3020
30211996-08-12 Richard Stallman <rms@gnu.org>
3022
3023 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3024
30251996-08-12 Richard Stallman <rms@gnu.org>
3026
3027 * bison.simple: Test _MSDOS as well as _MSDOS_.
3028
30291996-07-31 Richard Stallman <rms@gnu.org>
3030
3031 * src/bison.s1:
3032 [__sun && __i386]: Include alloca.h.
3033
30341996-07-31 Richard Stallman <rms@gnu.org>
3035
3036 * bison.simple:
3037 [__sun && __i386]: Include alloca.h.
3038
30391996-07-30 Richard Stallman <rms@gnu.org>
3040
3041 * src/bison.s1: Comment change.
3042
3043 * src/bison.s1: Test _MSDOS_, not MSDOS.
3044
30451996-07-30 Richard Stallman <rms@gnu.org>
3046
3047 * bison.simple: Comment change.
3048
3049 * bison.simple: Test _MSDOS_, not MSDOS.
3050
30511996-06-01 Richard Stallman <rms@gnu.org>
3052
3053 * 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:
3054 Insert `_' macro around many string constants.
3055
3056 * src/main.c:
3057 Insert `_' macro around many string constants.
3058
3059 (main): Call setlocale, bindtextdomain and textdomain.
3060
3061 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3062 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3063 [ENABLE_NLS]: Include libintl.h.
3064 [ENABLE_NLS] (gettext): Define.
3065 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3066 (N_, PACKAGE, LOCALEDIR): New macros.
3067
30681996-06-01 Richard Stallman <rms@gnu.org>
3069
3070 * POTFILES.in: New file.
3071
3072 * Makefile.in (allocate.o):
3073 Define target explicitly.
3074
3075 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3076 (LDFLAGS): Set to @LDFLAGS@.
3077 (configure): Run autoconf only if preceding `cd' succeeds.
3078 (bison.s1): Redirect output to temporary file then move the
3079 temporary to the target, rather than redirecting directly to bison.s1.
3080 (clean): Remove config.status and config.log.
3081 (distclean): Don't remove config.status here.
3082
30831996-05-12 Richard Stallman <rms@gnu.org>
3084
3085 * src/bison.s1:
3086 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3087
30881996-05-12 Richard Stallman <rms@gnu.org>
3089
3090 * bison.simple:
3091 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3092
30931996-05-11 Richard Stallman <rms@gnu.org>
3094
3095 * src/bison.s1 (__yy_memcpy):
3096 Really reorder the args, as was supposedly done on Feb 14 1995.
3097 (yyparse): Calls changed accordingly.
3098
30991996-05-11 Richard Stallman <rms@gnu.org>
3100
3101 * Makefile.in (dist): Don't use $(srcdir).
3102
3103 * bison.simple (__yy_memcpy):
3104 Really reorder the args, as was supposedly done on Feb 14 1995.
3105 (yyparse): Calls changed accordingly.
3106
31071996-01-27 Richard Stallman <rms@gnu.org>
3108
3109 * src/output.c (output_rule_data):
3110 Test YYERROR_VERBOSE in the conditional
3111 around the definition of ttyname.
3112
31131995-12-29 Richard Stallman <rms@gnu.org>
3114
3115 * src/bison.s1:
3116 Fix line numbers in #line commands.
3117
31181995-12-29 Richard Stallman <rms@gnu.org>
3119
3120 * bison.simple:
3121 Fix line numbers in #line commands.
3122
31231995-12-27 Richard Stallman <rms@gnu.org>
3124
3125 * src/bison.s1 (YYPARSE_PARAM_DECL):
3126 In C++, make it always null.
3127 (YYPARSE_PARAM_ARG): New macro.
3128 (yyparse): Use YYPARSE_PARAM_ARG.
3129
31301995-12-27 Richard Stallman <rms@gnu.org>
3131
3132 * bison.simple (YYPARSE_PARAM_DECL):
3133 In C++, make it always null.
3134 (YYPARSE_PARAM_ARG): New macro.
3135 (yyparse): Use YYPARSE_PARAM_ARG.
3136
31371995-11-29 Richard Stallman <rms@gnu.org>
3138
3139 * doc/bison.texinfo:
3140 Describe literal string tokens, %raw, %no_lines, %token_table.
3141
31421995-11-29 Daniel Hagerty <hag@gnu.org>
3143
3144 * doc/bison.texinfo: Fixed update date
3145
31461995-10-16 Richard Stallman <rms@gnu.org>
3147
3148 * src/version.c: Version 1.25.
3149
31501995-10-16 Richard Stallman <rms@gnu.org>
3151
3152 * NEWS: *** empty log message ***
3153
31541995-10-16 Richard Stallman <rms@gnu.org>
3155
3156 * doc/bison.1, doc/bison.rnh:
3157 Add new options.
3158
31591995-10-15 Richard Stallman <rms@gnu.org>
3160
3161 * src/vmsgetargs.c, src/getargs.c:
3162 Added -n, -k, and -raw switches.
3163 (noparserflag, toknumflag, rawtoknumflag): New variables.
3164
3165 * src/symtab.h (SALIAS):
3166 New #define for adding aliases to %token.
3167 (struct bucket): Added `alias' field.
3168
3169 * src/reduce.c (reduce_grammar):
3170 Revise error message.
3171 (print_notices): Remove final `.' from error message.
3172
3173 * src/reader.c (reader_output_yylsp):
3174 New function.
3175 (readgram): Use `#if 0' around code that accepted %command
3176 inside grammar rules: The documentation doesn't allow it,
3177 and it will fail since the %command processors scan for the next %.
3178 (parse_token_decl): Extended the %token
3179 declaration to allow a multi-character symbol as an alias.
3180 (parse_thong_decl): New function.
3181 (read_declarations): Added %thong declarations.
3182 (read_declarations): Handle NOOP to deal with allowing
3183 % declarations as another means to specify the flags.
3184 (readgram): Allow %prec prior to semantics embedded in a rule.
3185 (skip_to_char, read_declarations, copy_definition)
3186 (parse_token_decl, parse_start_decl, parse_type_decl)
3187 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3188 (get_type_name, copy_guard, copy_action, readgram)
3189 (get_type, packsymbols): Revised most error messages.
3190 Changed `fatal' to `warnxxx' to avoid aborting for error.
3191 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3192 (read_declarations): Improve the error message for
3193 an invalid character. Do not abort.
3194 (read_declarations, copy_guard, copy_action): Use
3195 printable_version to avoid unprintable characters in printed output.
3196 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3197 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3198 Allow the type of a non-terminal can be given
3199 more than once, as long as all specifications give the same type.
3200
3201 * src/output.c:
3202 (output_headers, output_trailers, output, output_gram)
3203 (output_rule_data): Implement noparserflag variable.
3204 Implement toknumflag variable.
3205 (output): Call reader_output_yylsp to output LTYPESTR.
3206
3207 * src/main.c (main):
3208 If reader sees an error, don't process the grammar.
3209 (fatals): Updated to not use VARARGS1.
3210 (printable_version, int_to_string, warn, warni, warns, warnss)
3211 (warnsss): New error reporting functions. Avoid abort for error.
3212
3213 * src/lex.h:
3214 Added THONG and NOOP for alias processing.
3215 Added SETOPT for the new code that allows setting options with %flags.
3216
3217 * src/lex.c:
3218 Include getopt.h. Add some extern decls.
3219 (safegetc): New function to deal with EOF gracefully.
3220 (literalchar); new function to deal with reading \ escapes.
3221 (lex): Use literalchar.
3222 (lex): Implemented "..." tokens.
3223 (literalchar, lex, parse_percent_token): Made tokenbuffer
3224 always contain the token. This includes growing the token
3225 buffer while reading an integer.
3226 (parse_percent_token): Replaced if-else statement with percent_table.
3227 (parse_percent_token): Added % declarations as another
3228 way to specify the flags -n, -l, and -r. Also added hooks for
3229 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3230 major changes to files.c.
3231 (lex) Retain in the incoming stream a character following
3232 an incorrect '/'.
3233 (skip_white_space, lex): Revised most error messages
3234 and changed fatal to warn to avoid aborting.
3235 (percent_table): Added %thong declarations.
3236
3237 * src/gram.h: Comment changes.
3238
3239 * src/files.c (openfiles, open_extra_files, done):
3240 Add faction flag
3241 and actfile file. Handle noparserflag. Both for -n switch.
3242
3243 * src/conflicts.c (resolve_sr_conflict):
3244 Remove use of alloca.
3245
32461995-06-01 Jim Meyering <meyering@gnu.org>
3247
3248 * doc/bison.texinfo: *** empty log message ***
3249
32501995-05-06 Richard Stallman <rms@gnu.org>
3251
3252 * src/bison.s1: Comment change.
3253
32541995-05-06 Richard Stallman <rms@gnu.org>
3255
3256 * bison.simple: Comment change.
3257
32581995-05-03 Richard Stallman <rms@gnu.org>
3259
3260 * src/version.c: Version now 1.24.
3261
3262 * src/bison.s1: Change distribution terms.
3263
3264 * src/version.c: Version now 1.23.
3265
32661995-05-03 Richard Stallman <rms@gnu.org>
3267
3268 * doc/bison.texinfo:
3269 Rewrite "Conditions for Using Bison".
3270 Update version to 1.24.
3271
32721995-05-03 Richard Stallman <rms@gnu.org>
3273
3274 * bison.simple: Change distribution terms.
3275
32761995-02-23 Richard Stallman <rms@gnu.org>
3277
3278 * src/files.c: Test __VMS_POSIX as well as VMS.
3279
32801995-02-14 Jim Meyering <meyering@gnu.org>
3281
3282 * src/bison.s1 (__yy_memcpy):
3283 Renamed from __yy_bcopy to avoid
3284 confusion. Reverse FROM and TO arguments to be consistent with
3285 those of memcpy.
3286
32871995-02-14 Jim Meyering <meyering@gnu.org>
3288
3289 * bison.simple (__yy_memcpy):
3290 Renamed from __yy_bcopy to avoid
3291 confusion. Reverse FROM and TO arguments to be consistent with
3292 those of memcpy.
3293
32941994-11-10 David J. MacKenzie <djm@gnu.org>
3295
3296 * NEWS: reformat
3297
3298 * NEWS: New file.
3299
3300 * Makefile.in (DISTFILES): Include NEWS.
3301
3302 * Makefile.in (DISTFILES):
3303 Include install-sh, not install.sh.
3304
3305 * configure.in: Update to Autoconf v2 macro names.
3306
33071994-10-05 David J. MacKenzie <djm@gnu.org>
3308
3309 * Makefile.in: fix typo
3310
3311 * Makefile.in (prefix, exec_prefix):
3312 Let configure set them.
3313
33141994-09-28 David J. MacKenzie <djm@gnu.org>
3315
3316 * Makefile.in: Set datadir to $(prefix)/share.
3317
33181994-09-15 Richard Stallman <rms@gnu.org>
3319
3320 * src/bison.s1:
3321 Update copyright notice and GPL version.
3322
33231994-09-15 Richard Stallman <rms@gnu.org>
3324
3325 * bison.simple:
3326 Update copyright notice and GPL version.
3327
33281994-07-12 Richard Stallman <rms@gnu.org>
3329
3330 * src/reduce.c, src/reader.c:
3331 entered into RCS
3332
33331994-05-05 David J. MacKenzie <djm@gnu.org>
3334
3335 * Makefile.in: entered into RCS
3336
33371994-03-26 Richard Stallman <rms@gnu.org>
3338
3339 * src/bison.s1: entered into RCS
3340
33411994-03-26 Richard Stallman <rms@gnu.org>
3342
3343 * bison.simple: entered into RCS
3344
33451994-03-25 Richard Stallman <rms@gnu.org>
3346
3347 * src/main.c: entered into RCS
3348
33491994-03-24 Richard Stallman <rms@gnu.org>
3350
3351 * src/conflicts.c: entered into RCS
3352
33531994-01-02 Richard Stallman <rms@gnu.org>
3354
3355 * Makefile.in: *** empty log message ***
3356
33571993-11-21 Richard Stallman <rms@gnu.org>
3358
3359 * src/bison.s1: *** empty log message ***
3360
33611993-11-21 Richard Stallman <rms@gnu.org>
3362
3363 * doc/bison.texinfo: entered into RCS
3364
3365 * doc/bison.texinfo: *** empty log message ***
3366
33671993-11-21 Richard Stallman <rms@gnu.org>
3368
3369 * bison.simple: *** empty log message ***
3370
33711993-10-25 David J. MacKenzie <djm@gnu.org>
3372
3373 * doc/bison.texinfo: *** empty log message ***
3374
33751993-10-19 Richard Stallman <rms@gnu.org>
3376
3377 * src/bison.s1: *** empty log message ***
3378
33791993-10-19 Richard Stallman <rms@gnu.org>
3380
3381 * bison.simple: *** empty log message ***
3382
33831993-10-14 Richard Stallman <rms@gnu.org>
3384
3385 * src/bison.s1: *** empty log message ***
3386
33871993-10-14 Richard Stallman <rms@gnu.org>
3388
3389 * bison.simple: *** empty log message ***
3390
33911993-09-14 David J. MacKenzie <djm@gnu.org>
3392
3393 * doc/bison.texinfo: *** empty log message ***
3394
33951993-09-13 Noah Friedman <friedman@gnu.org>
3396
3397 * Makefile.in: *** empty log message ***
3398
33991993-09-10 Richard Stallman <rms@gnu.org>
3400
3401 * src/conflicts.c: *** empty log message ***
3402
3403 * src/system.h: entered into RCS
3404
34051993-09-10 Richard Stallman <rms@gnu.org>
3406
3407 * doc/bison.1: entered into RCS
3408
34091993-09-06 Noah Friedman <friedman@gnu.org>
3410
3411 * src/version.c: entered into RCS
3412
34131993-09-06 Noah Friedman <friedman@gnu.org>
3414
3415 * Makefile.in: *** empty log message ***
3416
34171993-07-30 David J. MacKenzie <djm@gnu.org>
3418
3419 * Makefile.in: *** empty log message ***
3420
34211993-07-24 Richard Stallman <rms@gnu.org>
3422
3423 * src/bison.s1: *** empty log message ***
3424
34251993-07-24 Richard Stallman <rms@gnu.org>
3426
3427 * bison.simple: *** empty log message ***
3428
34291993-07-08 David J. MacKenzie <djm@gnu.org>
3430
3431 * Makefile.in: *** empty log message ***
3432
34331993-07-04 Richard Stallman <rms@gnu.org>
3434
3435 * src/bison.s1: *** empty log message ***
3436
34371993-07-04 Richard Stallman <rms@gnu.org>
3438
3439 * bison.simple: *** empty log message ***
3440
34411993-06-26 David J. MacKenzie <djm@gnu.org>
3442
3443 * src/getargs.c: entered into RCS
3444
34451993-06-26 David J. MacKenzie <djm@gnu.org>
3446
3447 * doc/bison.texinfo: *** empty log message ***
3448
3449 * doc/bison.1: New file.
3450
34511993-06-25 Richard Stallman <rms@gnu.org>
3452
3453 * src/getargs.c: New file.
3454
34551993-06-16 Richard Stallman <rms@gnu.org>
3456
3457 * src/bison.s1: *** empty log message ***
3458
34591993-06-16 Richard Stallman <rms@gnu.org>
3460
3461 * bison.simple: *** empty log message ***
3462
34631993-06-03 Richard Stallman <rms@gnu.org>
3464
3465 * src/bison.s1: New file.
3466
34671993-06-03 Richard Stallman <rms@gnu.org>
3468
3469 * doc/bison.texinfo: *** empty log message ***
3470
34711993-06-03 Richard Stallman <rms@gnu.org>
3472
3473 * bison.simple: New file.
3474
34751993-05-19 Richard Stallman <rms@gnu.org>
3476
3477 * doc/bison.texinfo: New file.
3478
34791993-05-07 Noah Friedman <friedman@gnu.org>
3480
3481 * Makefile.in: *** empty log message ***
3482
34831993-04-28 Noah Friedman <friedman@gnu.org>
3484
3485 * src/reader.c: *** empty log message ***
3486
34871993-04-23 Noah Friedman <friedman@gnu.org>
3488
3489 * src/alloc.h: entered into RCS
3490
34911993-04-20 David J. MacKenzie <djm@gnu.org>
3492
3493 * src/version.c: *** empty log message ***
3494
3495 * src/files.c, src/allocate.c:
3496 entered into RCS
3497
3498 * src/reader.c: *** empty log message ***
3499
3500 * src/lex.c: entered into RCS
3501
3502 * src/conflicts.c: New file.
3503
3504 * src/symtab.c: entered into RCS
3505
3506 * src/alloc.h: New file.
3507
3508 * src/LR0.c: entered into RCS
3509
35101993-04-18 Noah Friedman <friedman@gnu.org>
3511
3512 * src/reader.c: New file.
3513
3514 * src/version.c: *** empty log message ***
3515
35161993-04-18 Noah Friedman <friedman@gnu.org>
3517
3518 * Makefile.in: *** empty log message ***
3519
35201993-04-17 Noah Friedman <friedman@gnu.org>
3521
3522 * Makefile.in: *** empty log message ***
3523
35241993-04-15 Richard Stallman <rms@gnu.org>
3525
3526 * src/main.c, src/files.c:
3527 New file.
3528
35291993-04-15 Noah Friedman <friedman@gnu.org>
3530
3531 * configure.in: entered into RCS
3532
3533 * configure.in: *** empty log message ***
3534
3535 * configure.in: New file.
3536
35371993-04-14 Richard Stallman <rms@gnu.org>
3538
3539 * Makefile.in: New file.
3540
35411993-04-13 Richard Stallman <rms@gnu.org>
3542
3543 * src/version.c: New file.
3544
35451993-03-25 Richard Stallman <rms@gnu.org>
3546
3547 * src/output.c: entered into RCS
3548
35491992-09-25 Richard Stallman <rms@gnu.org>
3550
3551 * configure.bat: entered into RCS
3552
35531992-06-22 Richard Stallman <rms@gnu.org>
3554
3555 * src/vmsgetargs.c: entered into RCS
3556
35571992-06-22 Richard Stallman <rms@gnu.org>
3558
3559 * doc/bison.rnh: entered into RCS
3560
35611992-04-20 David J. MacKenzie <djm@gnu.org>
3562
3563 * README: entered into RCS
3564
35651992-01-22 Richard Stallman <rms@gnu.org>
3566
3567 * src/machine.h: entered into RCS
3568
35691991-12-21 Richard Stallman <rms@gnu.org>
3570
3571 * src/lalr.c, src/closure.c:
3572 entered into RCS
3573
35741991-12-20 Richard Stallman <rms@gnu.org>
3575
3576 * src/state.h: entered into RCS
3577
35781991-12-18 Richard Stallman <rms@gnu.org>
3579
3580 * src/print.c, src/nullable.c, src/derives.c:
3581 entered into RCS
3582
35831991-11-03 David J. MacKenzie <djm@gnu.org>
3584
3585 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3586 entered into RCS
3587
35881988-09-09 Richard Stallman <rms@gnu.org>
3589
3590 * src/bison.hairy: entered into RCS
3591
35921987-12-16 Richard Stallman <rms@gnu.org>
3593
3594 * REFERENCES: entered into RCS