]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/getargs.c (statistics_flag): Replace with...
[bison.git] / ChangeLog
CommitLineData
9bfe901c
AD
12001-11-19 Akim Demaille <akim@epita.fr>
2
3 * src/getargs.c (statistics_flag): Replace with...
4 (trace_flag): New.
5 (longopts): Accept --trace instead of --statistics.
6 * src/getargs.h, src/options.c: Adjust.
7 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
8 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
9
97db7bd4
AD
102001-11-19 Akim Demaille <akim@epita.fr>
11
12 * src/LR0.c (new_itemsets, get_state): Use more arrays and less
13 pointers to clarify the code.
14 (save_reductions, save_shifts): Factor common parts of alternatives.
15
2c5f66ed
AD
162001-11-19 Akim Demaille <akim@epita.fr>
17
18 * src/LR0.c (new_state, get_state): Complete TRACE code.
19 * src/closure.c: Include `reader.h' to get `tags', needed by the
20 trace code.
21 Rename the conditional DEBUG as TRACE.
22 Output consistently TRACEs to stderr, not stdout.
23 * src/derives.c: Likewise.
24 * src/reduce.c: (inaccessable_symbols): Using if is better style
25 than goto.
26 Use `#if TRACE' instead of `#if 0' for tracing code.
27
300f275f
AD
282001-11-19 Akim Demaille <akim@epita.fr>
29
30 * src/system.h (LIST_FREE, shortcpy): New.
31 * src/LR0.c: Use them.
32 * src/output.c (free_itemsets, free_reductions, free_shifts):
33 Remove, replaced by LIST_FREE.
34
9bfe901c 35
f59c437a
AD
362001-11-19 Akim Demaille <akim@epita.fr>
37
38 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
39 (REDUCTIONS_ALLOC): New.
40 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
41 allocation.
42
9bfe901c 43
6986fd9e
AD
442001-11-19 Akim Demaille <akim@epita.fr>
45
46 * src/LR0.c (new_state): Complete trace code.
47 * src/nullable.c (set_nullable): Don't translate traces.
48
49
4bc30f78
AD
502001-11-19 Akim Demaille <akim@epita.fr>
51
52 * src/print_graph.c (print_core): Better locality of variables.
53 * src/print.c (print_core): Likewise.
54
08a946e0
AD
552001-11-19 Akim Demaille <akim@epita.fr>
56
57 * src/vcg.c: You do the output, so you are responsible of the
58 handling of VCG syntax, in particular: use quotearg.
59 * src/print_graph.c: Don't.
60 (print_actions): Don't output the actions as part of the nodes,
61 since that's the job of the edges.
62 (print_state): Don't output by hand: fill the node description,
9bfe901c 63 and ask for its output.
08a946e0 64
f0473484
AD
652001-11-19 Akim Demaille <akim@epita.fr>
66
67 * src/bison.simple (yyparse): When reporting verbosely an error,
68 no longer issue additional quotes around token names.
69 * tests/calc.at: Adjust.
70
e41dc700
AD
712001-11-19 Akim Demaille <akim@epita.fr>
72
73 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
74 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
75 * src/output.c: Adjust.
76
9bfe901c 77
652a871c
AD
782001-11-19 Akim Demaille <akim@epita.fr>
79
80 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
81 (rule_t): this.
82 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
83
b2ed6e58
AD
842001-11-19 Akim Demaille <akim@epita.fr>
85
86 * src/gram.h (rule_t): New.
87 (rule_table): New.
88 (rrhs, rlhs): Remove, part of state_t.
89 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
90 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
91 * src/reader.c, src/reduce.c: Adjust.
92
9bfe901c 93
edad7067
AD
942001-11-19 Akim Demaille <akim@epita.fr>
95
96 * src/reader.c (symbols_output): New, extracted from...
97 (packsymbols): Here.
98 (reader): Call it.
99
3feec034
AD
1002001-11-19 Akim Demaille <akim@epita.fr>
101
102 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
103 (maxrhs): this new function.
104
ddcd5fdf
AD
1052001-11-19 Akim Demaille <akim@epita.fr>
106
107 * src/lalr.c (F): New macro to access to the variable F.
108 Adjust.
109
bb527fc2
AD
1102001-11-19 Akim Demaille <akim@epita.fr>
111
112 * src/lalr.h (LA): New macro to access to the variable LA.
113 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
114 * src/lalr.c: Adjust.
115
a845a697
AD
1162001-11-19 Akim Demaille <akim@epita.fr>
117
118 * src/lalr.c (initialize_LA): Only initialize LA. Let...
119 (set_state_table): handle the `lookaheads' members.
120
9bfe901c 121
f004bf6a
AD
1222001-11-19 Akim Demaille <akim@epita.fr>
123
124 * src/lalr.h (lookaheads): Removed array, which contents is now
125 member of...
126 (state_t): this structure.
127 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
128 Adjust.
129
de326cc0
AD
1302001-11-19 Akim Demaille <akim@epita.fr>
131
132 * src/lalr.h (consistent): Removed array, which contents is now
133 member of...
134 (state_t): this structure.
135 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
136 Adjust.
137
90b4416b
AD
1382001-11-19 Akim Demaille <akim@epita.fr>
139
140 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
141 contents is now members of...
142 (state_t): this structure.
143 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
144 Adjust.
145
9bfe901c 146
9703cc49
AD
1472001-11-19 Akim Demaille <akim@epita.fr>
148
149 * src/lalr.h (state_t): New.
150 (state_table): Be a state_t * instead of a core **.
151 (accessing_symbol): Remove, part of state_t.
152 * src/lalr.c: Adjust.
153 (set_accessing_symbol): Merge into...
154 (set_state_table): this.
155 * src/print_graph.c, src/conflicts.c: Adjust.
156
d803322e
AD
1572001-11-14 Akim Demaille <akim@epita.fr>
158
159 * tests/calc.at, tests/output.at, tests/regression.at,
160 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
161 now the tests are run in private dirs, therefore AC_CLEANUP and
162 family can be simplified to 0-ary.
163 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
164 use abs. path to find config.h.
165 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
166 stderr, there can be way too much random noise.
167 Instead pass -Werror to GCC and rely on the exit status.
168 Reported by Wolfram Wagner.
169
3d76b07d
AD
1702001-11-14 Akim Demaille <akim@epita.fr>
171
172 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
173 defined only if yyoverflow is defined, to avoid `warning: unused
174 variable `yyvs1''.
175 Reported by The Test Suite.
176
09b503c8
AD
1772001-11-14 Akim Demaille <akim@epita.fr>
178
179 * src/print.c: Include reduce.h.
180 Reported by Hans Aberg.
181
1822001-11-14 Akim Demaille <akim@epita.fr>
183
184 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
185 Revert a previous patch: these are really const.
186 * src/conflicts.c (conflict_report): Additional useless pair of
187 braces to pacify GCC's warnings for `if () if () {} else {}'.
188 * src/lex.c (parse_percent_token): Replace equal_offset with
189 arg_offset.
190 arg is const.
191 Be sure to strdup `arg' when used, since there is no reason for
192 token_buffer not to change.
193
0f37a994
AD
1942001-11-14 Akim Demaille <akim@epita.fr>
195
196 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
197 definition.
198 * src/main.c (main): Use them.
199 Suggested by Hans Aberg.
200
d39d93b8
AD
2012001-11-12 Akim Demaille <akim@epita.fr>
202
203 * src/system.h (ngettext): Now that we use ngettext, be sure to
204 provide a default definition when NLS are not used.
205
9edcd895
AD
2062001-11-12 Akim Demaille <akim@epita.fr>
207
208 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
209 Use @kbd to denote user input.
210 (Language and Grammar): ANSIfy the example.
211 Adjust its layout for info/notinfo.
212 (Location Tracking Calc): Output error messages to stderr.
213 Output locations in a more GNUtically correct way.
214 Fix a couple of Englishos.
215 Adjust @group/@end group pairs.
216
7da99ede
AD
2172001-11-12 Akim Demaille <akim@epita.fr>
218
219 %expext was not functioning at all.
220
221 * src/conflicts.c (expected_conflicts): Set to -1.
222 (conflict_report): Use ngettext.
223 (conflicts_print): Check %expect and make its violation an error.
224 * doc/bison.texinfo (Expect Decl): Adjust.
225 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
226 * tests/regression.at (%expect not enough, %expect right)
227 (%expect too much): New.
228
ba9dda1a
AD
2292001-11-12 Akim Demaille <akim@epita.fr>
230
231 * tests/regression.at (Conflicts): Rename as...
232 (Unresolved SR Conflicts): this.
233 (Solved SR Conflicts): New.
234
337c5bd1
AD
2352001-11-12 Akim Demaille <akim@epita.fr>
236
237 * src/reduce.c (print_results): Rename as...
238 (reduce_output): This.
239 Output to OUT, passed as argument, instead of output_obstack.
240 (dump_grammar): Likewise.
241 (reduce_free): New.
242 Also free V1.
243 (reduce_grammar): No longer call reduce_output, since...
244 * src/print.c (print_results): do it.
245 * src/main.c (main): Call reduce_free;
246
c73a41af
AD
2472001-11-12 Akim Demaille <akim@epita.fr>
248
249 * src/conflicts.c (print_reductions): Accept OUT as argument.
250 Output to it, not to output_obstack.
251 * src/print.c (print_actions): Adjust.
252
0df87bb6
AD
2532001-11-12 Akim Demaille <akim@epita.fr>
254
255 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
256 the result instead of using...
257 (src_total, rrc_total, src_count, rrc_count): Remove.
258 (any_conflicts): Remove.
259 (print_conflicts): Split into...
260 (conflicts_print, conflicts_output): New.
261 * src/conflicts.h: Adjust.
262 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 263 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
264 * tests/regression.at (Conflicts): New.
265 Reported by Tom Lane.
266
e4d3d4de
AD
2672001-11-12 Akim Demaille <akim@epita.fr>
268
269 * tests/regression.at (Invalid input): Remove, duplicate with
270 ``Invalid input: 1''.
271
6d7d248e
AD
2722001-11-12 Akim Demaille <akim@epita.fr>
273
274 * tests/torture.at (AT_DATA_STACK_TORTURE)
275 (Exploding the Stack Size with Alloca)
276 (Exploding the Stack Size with Malloc): New.
277
e9e4c321
AD
2782001-11-12 Akim Demaille <akim@epita.fr>
279
280 * src/bison.simple (YYSTACK_REALLOC): New.
281 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 282 Reported by Per Allansson.
e9e4c321 283
5f7e0832
AD
2842001-11-12 Pascal Bart <pascal.bart@epita.fr>
285
286 * src/bison.simple: Define type yystype instead of YYSTYPE, and
287 define CPP macro, which substitute YYSTYPE by yystype.
288 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
289 with yyltype/YYLTYPE. This allows inclusion of the generated
290 header within the parser if the compiler, such as GGC, accepts
291 multiple equivalent #defines.
292 From Akim.
293
e3f1699f
AD
2942001-11-05 Akim Demaille <akim@epita.fr>
295
296 * src/reader.c (symbols_output): New, extracted from...
297 (packsymbols): here.
298 (reader): Adjust.
299
65be0866
AD
3002001-11-05 Akim Demaille <akim@epita.fr>
301
302 * src/lex.c (parse_percent_token): s/quotearg/quote/.
303
e4d910bf
AD
3042001-11-05 Akim Demaille <akim@epita.fr>
305
306 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
307 pattern.
308
951366c1
AD
3092001-11-05 Akim Demaille <akim@epita.fr>
310
311 * src/options.h (struct option_table_struct): set_flags is void*.
312 * src/options.c (longopts): Support `--output' and `%output'.
313 (usage): Adjust.
314 * src/lex.h (tok_setopt): Remove, replaced with...
315 (tok_intopt, tok_stropt): these new guys.
316 * src/lex.c (getopt.h): Not needed.
317 (token_buffer, unlexed_token_buffer): Not const.
318 (percent_table): Promote `-' over `_' in directive names.
319 Active `%name-prefix', `file-prefix', and `output'.
320 (parse_percent_token): Accept possible arguments to directives.
321 Promote `-' over `_' in directive names.
322
d8988b2f
AD
3232001-11-04 Akim Demaille <akim@epita.fr>
324
325 * doc/bison.texinfo (Decl Summary): Split the list into
326 `directives for grammars' and `directives for bison'.
327 Sort'em.
328 Add description of `%name-prefix', `file-prefix', and `output'.
329 Promote `-' over `_' in directive names.
330 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
331 Simplify the description of `--name-prefix'.
332 Promote `-' over `_' in directive names.
333 Promote `--output' over `--output-file'.
334 Fix the description of `--defines'.
335 * tests/output.at: Exercise %file-prefix and %output.
336
6468d18e
AD
3372001-11-02 Akim Demaille <akim@epita.fr>
338
339 * doc/refcard.tex: Update.
340
6b7e85b9
AD
3412001-11-02 Akim Demaille <akim@epita.fr>
342
343 * src/symtab.h (SUNDEF): New.
344 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
345 stand for `uninitialized', instead of 0.
346 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
347 * src/lex.c (lex): Adjust.
348
349 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
350 Number it 0.
351 Let yylex return it instead of a plain 0.
352 Reported by Dick Streefland.
353
cd5aafcf
AD
3542001-11-02 Akim Demaille <akim@epita.fr>
355
356 * tests/regression.at (Mixing %token styles): New test.
357
037ca2f1
AD
3582001-11-02 Akim Demaille <akim@epita.fr>
359
360 * src/reader.c (parse_thong_decl): Formatting changes.
361 (token_translations_init): New, extracted from...
362 (packsymbols): Here.
363 Adjust.
364
270a173c
AD
3652001-11-01 Akim Demaille <akim@epita.fr>
366
367 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
368 Check that `9foo.y' produces correct cpp guards.
369 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
370 guards.
371 Reported by Wwp.
372
561f9a30
AD
3732001-11-01 Akim Demaille <akim@epita.fr>
374
375 * tests/regression.at (Invalid input: 2): New.
376 * src/lex.c (unlexed_token_buffer): New.
377 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
378 too.
379 Reported by Wwp.
380
f987e9d2
AD
3812001-11-01 Akim Demaille <akim@epita.fr>
382
383 * tests/calc.at: Catch up with 1.30.
384 * configure.in: Bump to 1.49a.
385 Adjust to newer Autotest.
386
0846f581
PB
3872001-10-19 Pascal Bart <pascal.bart@epita.fr>
388
389 * src/conflicts.c: Move global variables rrc_total and src_total ...
390 (print_conflicts): here.
391 * src/output.c (output): Free global variable user_toknums.
392 * src/lex.c (token_obstack): Become static.
393
3c1a79b3
AD
3942001-10-18 Akim Demaille <akim@epita.fr>
395
396 * tests/atlocal.in (GCC): Add.
397 * tests/calc.at: s/m4_match/m4_bmatch/.
398 s/m4_patsubst/m4_bpatsubst/.
399 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
400 * configure.in: AC_SUBST(GCC).
401
5d52e7d0
MA
4022001-10-14 Marc Autret <autret_m@epita.fr>
403
404 * src/options.c (create_long_option_table): Fix.
405
631aa1d3
AD
4062001-10-10 Akim Demaille <akim@epita.fr>
407
408 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
409
f6ec6d13
AD
4102001-10-04 Akim Demaille <akim@epita.fr>
411
412 * src/reader.c (parse_union_decl): Push the caracters in
413 union_obstack, not attrs_obstack.
414
342b8b6e
AD
4152001-10-04 Akim Demaille <akim@epita.fr>
416
417 Merge in the branch 1.29.
418
419 * src/reader.c (packsymbols): Use a temporary obstack for
420 `%%tokendef', since output_stack is already used elsewhere.
421
422 2001-10-02 Akim Demaille <akim@epita.fr>
423
424 Bump 1.29d.
425
426 2001-10-02 Akim Demaille <akim@epita.fr>
427
428 Version 1.29c.
429
430 2001-10-02 Akim Demaille <akim@epita.fr>
431
432 * tests/regression.at (Invalid CPP headers): New.
433 From Alexander Belopolsky.
434 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
435
436 2001-10-02 Akim Demaille <akim@epita.fr>
437
438 * tests/regression.at (Invalid input): New.
439 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
440 Reported by Shura.
441
442 2001-10-02 Akim Demaille <akim@epita.fr>
443
444 * tests/calc.at: Now that --debug works, the tests must be adjusted.
445
446 2001-10-02 Akim Demaille <akim@epita.fr>
447
448 * src/output.c (output_parser): Assert `skeleton'.
449 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
450 systems.
451 From Shura.
452
453 2001-10-01 Marc Autret <autret_m@epita.fr>
454
455 * src/lex.h: Echo modifications.
456 * src/lex.c (unlex): Parameter is now token_t.
457 From Hans Aberg.
458
459 2001-10-01 Marc Autret <autret_m@epita.fr>
460
461 * src/main.c: Include lex.h.
462 From Hans Aberg.
463
464 2001-09-29 Akim Demaille <akim@epita.fr>
465
466 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
467
468 2001-09-28 Akim Demaille <akim@epita.fr>
469
470 * tests/testsuite.at: Update to newer Autotest.
471 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
472
473 2001-09-27 Akim Demaille <akim@epita.fr>
474
475 Position independent wrapper.
476
477 * tests/bison: Remove.
478 * tests/bison.in: New.
479 * configure.in: Adjust.
480
481 2001-09-27 Paul Eggert <eggert@twinsun.com>
482
483 Port quotearg fixes from tar 1.13.24.
484
485 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
486 tm to be declared.
487 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
488 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
489
490 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
491 * m4/mbrtowc.m4: New file.
492 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
493 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
494
495 2001-09-27 Akim Demaille <akim@epita.fr>
496
497 Bump to 1.29c.
498
499 2001-09-27 Akim Demaille <akim@epita.fr>
500
501 Version 1.29b.
502
503 2001-09-25 Akim Demaille <akim@epita.fr>
504
505 * src/system.h: Include `xalloc.h'.
506 Remove it from the C files.
507 * src/files.c (output_files): Free the obstacks.
508 * src/lex.c (init_lex): Rename as...
509 (lex_init): this.
510 (lex_free): New.
511 * src/main.c (main): Use it.
512
513 2001-09-24 Marc Autret <autret_m@epita.fr>
514
515 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
516 to output informations in fout (FILE*).
517 (open_graph, close_graph): Likewise.
518 (output_graph, output_edge, output_node): Likewise.
519 * src/vcg.h: Update function prototypes.
520 * src/print_graph.c (print_graph): Open output graph file.
521 (print_actions): Adjust.
522 * src/files.h: Remove extern declaration.
523 * src/files.c: Remove graph_obstack declaration.
524 (open_files): Remove graph_obstack initialization.
525 (output_files): Remove graph_obstack saving.
526
527 2001-09-24 Marc Autret <autret_m@epita.fr>
528
529 * src/files.c (compute_output_file_names): Fix.
530
531 2001-09-24 Marc Autret <autret_m@epita.fr>,
532 Akim Demaille <akim@epita.fr>
533
534 * src/reader.c (reader): Remove call to free_symtab ().
535 * src/main.c (main): Call it here.
536 Include symtab.h.
537 * src/conflicts.c (initialize_conflicts): Rename as...
538 (solve_conflicts): this.
539 * src/print.c (print_core, print_actions, print_state)
540 (print_grammar): Dump to a file instead a `output_obstack'.
541 (print_results): Dump `output_obstack', and then proceed with the
542 FILE *.
543 * src/files.c (compute_output_file_names, close_files): New.
544 (output_files): Adjust.
545 * src/main.c (main): Adjust.
546
547 2001-09-23 Marc Autret <autret_m@epita.fr>
548
549 * src/files.c (compute_header_macro): Computes header macro name
550 from spec_defines_file when given.
551
552 2001-09-23 Marc Autret <autret_m@epita.fr>
553
554 * src/files.c (output_files): Add default extensions.
555
556 2001-09-22 Akim Demaille <akim@epita.fr>
557
558 * src/conflicts.c (finalize_conflicts): Rename as...
559 (free_conflicts): this.
560
561 2001-09-22 Akim Demaille <akim@epita.fr>
562
563 * src/gram.c (gram_free): Rename back as...
564 (dummy): this.
565 (output_token_translations): Free `token_translations'.
566 * src/symtab.c (free_symtab): Free the tag field.
567
568 2001-09-22 Akim Demaille <akim@epita.fr>
569
570 Remove `translations' as it is always set to true.
571
572 * src/gram.h: Adjust.
573 * src/reader.c (packsymbols, parse_token_decl): Adjust
574 * src/print.c (print_grammar): Adjust.
575 * src/output.c (output_token_translations): Adjust.
576 * src/lex.c (lex): Adjust.
577 * src/gram.c: Be sure the set pointers to NULL.
578 (dummy): Rename as...
579 (gram_free): this.
580
581 2001-09-22 Akim Demaille <akim@epita.fr>
582
583 * configure.in: Invoke AM_LIB_DMALLOC.
584 * src/system.h: Use dmalloc.
585 * src/LR0.c: Be sure to have pointers initialized to NULL.
586 (allocate_itemsets): Allocate kernel_items only if needed.
587
588 2001-09-22 Akim Demaille <akim@epita.fr>
589
590 * configure.in: Bump to 1.29b.
591 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
592 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
593 need xmalloc.c in calc.y.
594 From Pascal Bart.
595
596 2001-09-21 Akim Demaille <akim@epita.fr>
597
598 Version 1.29a.
599 * Makefile.maint, config/config.guess, config/config.sub,
600 * config/missing: Update from masters.
601 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
602 upon package.m4.
603 * configure.in (ALL_LINGUAS): Add `tr'.
604
605 2001-09-21 Akim Demaille <akim@epita.fr>
606
607 * tests/Makefile.am (package.m4): Move to...
608 ($(srcdir)/$(TESTSUITE)): here.
609
610 2001-09-20 Akim Demaille <akim@epita.fr>
611
612 * src/complain.c: No longer try to be standalone: use system.h.
613 Don't assume __STDC__ is defined to 1. Just test if it is defined.
614 * src/complain.h: Likewise.
615 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
616 Remove the unused variable `n'.
617 From Albert Chin-A-Young.
618
619 2001-09-18 Marc Autret <autret_m@epita.fr>
620
621 * doc/bison.1: Update.
622 * doc/bison.texinfo (Bison Options): Update --defines and --graph
623 descriptions.
624 (Option Cross Key): Update.
625 Add --graph.
626
627 2001-09-18 Marc Autret <autret_m@epita.fr>
628
629 * tests/regression.at: New test (comment in %union).
630
631 2001-09-18 Marc Autret <autret_m@epita.fr>
632
633 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
634 do that.
635 Reported by Keith Browne.
636
637 2001-09-18 Marc Autret <autret_m@epita.fr>
638
639 * tests/output.at: Add tests for --defines and --graph.
640
641 2001-09-18 Marc Autret <autret_m@epita.fr>
642
643 * tests/output.at: Removes tests of %{header,src}_extension features.
644
645 2001-09-18 Akim Demaille <akim@epita.fr>
646
647 * tests/Makefile.am (package.m4): New.
648 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
649 (_AT_CHECK_CALC_ERROR): Likewise.
650 Factor the `, ' part of verbose error messages.
651
652 2001-09-18 Marc Autret <autret_m@epita.fr>
653
654 * src/getargs.c (longopts): Declare --defines and --graph as options
655 with optional arguments.
656 * src/files.h: Add extern declarations.
657 * src/files.c (spec_graph_file, spec_defines_file): New.
658 (output_files): Update.
659 Remove CPP-outed code.
660
661 2001-09-18 Marc Autret <autret_m@epita.fr>
662
663 Turn off %{source,header}_extension feature.
664
665 * src/files.c (compute_exts_from_gf): Update.
666 (compute_exts_from_src): Update.
667 (output_files): CPP-out useless code.
668 * src/files.h: Remove {header,source}_extension extern declarations.
669 * src/reader.c (parse_dquoted_param): CPP-out.
670 (parse_header_extension_decl): Remove.
671 (parse_source_extension_decl): Remove.
672 (read_declarations): Remove cases tok_{hdrext,srcext}.
673 * src/lex.c (percent_table): Remove {header,source}_extension entries.
674 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
675
676 2001-09-10 Akim Demaille <akim@epita.fr>
677
678 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
679 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
680 (AT_CHECK_OUTPUT): this.
681 Merely check ls' exit status, its output is useless.
682
683 2001-09-10 Akim Demaille <akim@epita.fr>
684
685 * tests/calc.at: Use m4_match.
686 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
687
688 2001-09-10 Marc Autret <autret_m@epita.fr>,
689 Akim Demaille <akim@epita.fr>
690
691 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
692 enum color_e.
693 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
694 to `normal'.
695 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
696 * src/lex.h: Adjust prototype.
697 (token_t): Add `tok_undef'.
698 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
699 (parse_percent_token): Now returns token_t.
700 Add default statement in switch.
701 (lex): Separate `c' as an input variable, from the token_t result
702 part.
703 (unlexed): Is a token_t.
704
705 2001-09-10 Akim Demaille <akim@epita.fr>
706
707 * configure.in: Bump to 1.29a.
708
709 2001-09-07 Akim Demaille <akim@epita.fr>
710
711 Version 1.29.
712
713 2001-08-30 Akim Demaille <akim@epita.fr>
714
715 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
716 * m4/atconfig.m4: Remove.
717 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
718 * tests/bison: New.
719 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
720 m4_if, m4_patsubst, and m4_regexp.
721 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
722 `input' file instead of echo.
723
724 2001-08-29 Akim Demaille <akim@epita.fr>
725
726 Bump to 1.28e.
727
728 2001-08-29 Akim Demaille <akim@epita.fr>
729
730 Version 1.28d.
731
732 2001-08-29 Paul Eggert <eggert@twinsun.com>
733
734 * src/bison.simple (yyparse): Don't take the address of an
735 item before the start of an array, as that doesn't conform to
736 the C Standard.
737
738 2001-08-29 Robert Anisko <anisko_r@epita.fr>
739
740 * doc/bison.texinfo (Location Tracking Calc): New node.
741
742 2001-08-29 Paul Eggert <eggert@twinsun.com>
743
744 * src/output.c (output): Do not define const, as this now
745 causes more problems than it cures.
746
747 2001-08-29 Akim Demaille <akim@epita.fr>
748
749 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
750 the nodes.
751 Be sure to tag the `detailmenu'.
752
753 2001-08-29 Akim Demaille <akim@epita.fr>
754
755 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
756 download in a tmp dir.
757
758 2001-08-28 Marc Autret <autret_m@epita.fr>
759
760 * config/depcomp: New file.
761
762 2001-08-28 Marc Autret <autret_m@epita.fr>
763
764 * doc/bison.1 (mandoc): Adjust.
765 From Juan Manuel Guerrero.
766
767 2001-08-28 Marc Autret <autret_m@epita.fr>
768
769 * src/print_graph.c (print_state): Fix.
770
771 2001-08-27 Marc Autret <autret_m@epita.fr>
772
773 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
774 char * members.
775 Echo modifications to the functions prototypes.
776 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
777
778 2001-08-27 Marc Autret <autret_m@epita.fr>
779
780 * src/vcg.c: Include `xalloc.h'.
781 (add_colorentry): New.
782 (add_classname): New.
783 (add_infoname): New.
784 * src/vcg.h: Add new prototypes.
785
786 2001-08-27 Akim Demaille <akim@epita.fr>
787
788 * Makefile.maint: Sync. again with CVS Autoconf.
789
790 2001-08-27 Akim Demaille <akim@epita.fr>
791
792 * Makefile.maint: Formatting changes.
793 (po-update, cvs-update, update): New targets.
794 (AMTAR): Remove.
795
796 2001-08-27 Akim Demaille <akim@epita.fr>
797
798 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
799 * Makefile.maint: Sync. with CVS Autoconf.
800
801 2001-08-27 Marc Autret <autret_m@epita.fr>
802
803 * src/vcg.h (struct infoname_s): New.
804 (struct colorentry_s): New.
805 (graph_s): New fields {vertical,horizontal}_order in structure.
806 Add `infoname' field.
807 Add `colorentry' field;
808 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
809 (G_HORIZONTAL_ORDER): New.
810 (G_INFONAME): New.
811 (G_COLORENTRY): New.
812 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
813 Add output of `infoname'.
814 Add output of `colorentry'.
815
816 2001-08-27 Marc Autret <autret_m@epita.fr>
817
818 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
819 This one shadowed a global parameter.
820
821 2001-08-24 Marc Autret <autret_m@epita.fr>
822
823 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
824 instead of `unsigned'.
825 (print_state): Do not call obstack_object_size () in obstack_grow ()
826 to avoid macro variables shadowing.
827
828 2001-08-23 Marc Autret <autret_m@epita.fr>
829
830 * src/lex.c (percent_table): Typo: s/naem/name/.
831 Add graph option.
832 Normalize new options declarations.
833
834 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
835
836 * tests/suite.at: Exercise %header_extension and %source_extension.
837
838 2001-08-16 Marc Autret <autret_m@epita.fr>
839
840 * src/reader.c (parse_dquoted_param): New.
841 (parse_header_extension_decl): Use it.
842 (parse_source_extension_decl): Likewise.
843
844 2001-08-16 Marc Autret <autret_m@epita.fr>
845
846 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
847 (get_xxxx_str): Use assert () instead of complain ().
848 Remove return invokations in default cases.
849 (get_decision_str): Modify default behaviour. Remove second argument.
850 Echo modifications on calls.
851 (output_graph): Fix.
852
853 2001-08-16 Marc Autret <autret_m@epita.fr>
854
855 * src/getargs.c (usage): Update with ``-g, --graph''.
856
857 2001-08-16 Marc Autret <autret_m@epita.fr>
858
859 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
860 (Option Cross Key): Likewise.
861 * doc/bison.1: Update.
862
1c8c2190
PB
8632001-09-25 Pascal Bart <pascal.bart@epita.fr>
864
865 * src/output.c (output_master_parser): Don't finish action_obstack.
866 (output_parser): Don't care about the muscle action, here.
867 (prepare): Copy the action_obstack in the action muscle.
868 (output): Free action_obstack.
869
180d45ba
PB
8702001-09-23 Pascal Bart <pascal.bart@epita.fr>
871
872 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
873 will contain `%union' declaration.
874 (parse_union_decl): Delete #line directive output.
875 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
876 informations about %union.
877 (parse_union_decl): Copy the union_obstack in the muscle stype.
878 * src/bison.simple: Add new #line directive.
879 Add typdef %%stype YYSTYPE.
880
c51d1a19
PB
8812001-09-23 Pascal Bart <pascal.bart@epita.fr>
882
883 * src/bison.simple: Add new `#line' directive.
884
6f9344da
PB
8852001-09-22 Pascal Bart <pascal.bart@epita.fr>
886
887 * src/bison.simple: New `#line' directive.
888 * src/output.c (output_parser): Support new dynamic muscle input_line.
889
652def80
MA
8902001-09-22 Marc Autret <autret_m@epita.fr>
891
892 * src/output.c (output_master_parser): New.
893 (output_parser): Be more re-entrant.
894
25b222fa
MA
8952001-09-21 Marc Autret <autret_m@epita.fr>
896
897 * src/reader.c (copy_definition, parse_union_decl): Update and use
898 `linef' muscle.
899 (copy_action): Likewise.
900 Use obstack_1grow ().
901 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
902
6bc35ae5
MA
9032001-09-21 Marc Autret <autret_m@epita.fr>
904
905 * src/options.c (option_table): Adjust.
906 * src/lex.c (parse_percent_token): Fix.
907
c0629aa1
PB
9082001-09-20 Pascal Bart <pascal.bart@epita.fr>
909
910 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 911
82b6d266
PB
9122001-09-20 Pascal Bart <pascal.bart@epita.fr>
913
914 * src/lex.c (parse_percent_token): Change type of variable `tx', which
915 is now an option_table_struct*.
916 (option_strcmp): New function option_strcmp.
917 (parse_percent_token): Call option_strcmp.
918 * src/getargs.c (xalloc.h, options.h): Include it.
919 (getargs): Call create_long_option_table.
920 (getargs): Free longopts at the end of the function.
921 (shortopts): Move in options.c.
922 * src/options.c (create_long_option_table): New function. Convert
923 information from option_table to option structure.
924 * src/reader.c (options.h): Include it.
925
926 * src/Makefile.am: Adjust.
927 * src/options.c (option_table): Create from longopts and percent_table.
928 * src/getargs.c (longopts): Delete.
929 * src/lex.c (struct percent_table_struct): Delete.
930 (percent_table): Delete.
931 (options.h): Include it.
932 * src/options.c: Create.
933 * src/options.h: Create.
934 Declare enum opt_access_e.
935 Define struct option_table_struct.
936
75f5aaea
MA
9372001-09-20 Marc Autret <autret_m@epita.fr>
938
939 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
940 sections of Bison.
941
f508cb0a
PB
9422001-09-19 Pascal Bart <pascal.bart@epita.fr>
943
944 * src/bison.simple: s/%%filename/%%skeleton.
945 * src/muscle_tab.c (getargs.h): Include it.
946 (muscle_init): Insert new muscle skeleton.
947
13105fc1
PB
9482001-09-18 Pascal Bart <pascal.bart@epita.fr>
949
950 * src/output.c (output_parser): Delete unused variable actions_dumped.
951
b0c4483e
PB
9522001-09-07 Pascal Bart <pascal.bart@epita.fr>
953
954 * src/output.c (output): Delete call to reader_output_yylsp.
955 * src/reader.c (reader): Likewise.
956 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 957
11d82f03
MA
9582001-09-02 Marc Autret <autret_m@epita.fr>
959
960 * src/reader.c: Include muscle_tab.h.
961 (parse_union_decl): Update.
962 (parse_macro_decl): Rename parse_muscle_decl.
963 Update to use renamed functions and variable.
964 (read_declarations, copy_action, read_additionnal_code, : Updated
965 with correct variables and functions names.
966 (packsymbols, reader): Likewise.
342b8b6e 967
11d82f03 968 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 969
11d82f03
MA
970 * src/output.c: Include muscle_tab.h
971 In all functions using macro_insert, change by using muscle_insert ().
972 (macro_obstack): Rename muscle_obstack.
973 Echo modifications in the whole file.
974 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
975 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
976 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
977
978 * src/muscle_tab.h: Update double inclusion macros.
979 (macro_entry_s): Rename muscle_entry_s.
980 Update prototypes.
342b8b6e 981
11d82f03
MA
982 * src/muscle_tab.c: Include muscle_tab.h.
983 Rename macro_tabble to muscle_table.
984 (mhash1, mhash2, mcmp): Use muscle_entry.
985 (macro_init): Rename muscle_init. Update.
986 (macro_insert): Rename muscle_insert. Update.
987 (macro_find): Rename muscle_find. Update.
988
989 * src/main.c: Include muscle_tab.h.
990 (main): Call muscle_init ().
991 * src/Makefile.am (bison_SOURCES): Echo modifications.
992
93a37297
MA
9932001-09-02 Marc Autret <autret_m@epita.fr>
994
f753cd62 995 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 996
f753cd62
MA
997 * src/muscle_tab.c, src/muscle_tab.h: Add files.
998
9992001-09-02 Marc Autret <autret_m@epita.fr>
1000
1001 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1002
682d48cd
PB
10032001-09-01 Pascal Bart <pascal.bart@epita.fr>
1004
342b8b6e 1005 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1006 filename.
1007
087c8fda
MA
10082001-09-01 Marc Autret <autret_m@epita.fr>
1009
1010 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1011 to an explicit value to activate the feature. We do it here.
1012
dda680cb
PB
10132001-08-31 Pascal Bart <pascal.bart@epita.fr>
1014
1015 * src/output.c (prepare): Delete the `filename' muscule insertion.
1016 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1017 (parse_union_decl): Likewise.
1018 * src/macrotab.c (macro_init): Initialize filename by infile.
1019
9e644e64
MA
10202001-08-31 Marc Autret <autret_m@epita.fr>
1021
1022 * src/bison.simple (YYLSP_NEEDED): New definition.
1023 * src/output.c (prepare): Add macro insertion of `locations_flag'
1024
17da6427
PB
10252001-08-31 Pascal Bart <pascal.bart@epita.fr>
1026
1027 * src/output.c (prepare): Delete insertion of previous muscles,
1028 and insert the `prefix' muscles.
1029 * src/macrotab.c (macro_init): Likewise.
1030 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1031 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1032 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1033 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1034 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1035 name_prefix.
1036
e8cb70b9
PB
10372001-08-31 Pascal Bart <pascal.bart@epita.fr>
1038
1039 * src/main.c (main): Standardize.
1040 * src/output.c (output_table_data, output_parser): Likewise.
1041 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1042
63c2d5de
MA
10432001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1044
342b8b6e 1045 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1046 %%epilogue.
1047 * src/output.c (output): Rename %%declarations to %%prologue.
1048 * src/bison.simple: Echo modifications.
342b8b6e 1049
d8cb5183
MA
10502001-08-31 Marc Autret <autret_m@epita.fr>
1051
1052 * src/reader.c (readgram): CleanUp.
1053 (output_token_defines): Likewise.
1054 (packsymbols): Likewise.
1055 (reader): Likewise.
1056 * src/output.c (output): CPP-out useless code.
1057
6c686258
PB
10582001-08-31 Pascal Bart <pascal.bart@epita.fr>
1059
342b8b6e 1060 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1061 output_trailers and output_headers.
1062 * src/output.h: Remove obsolete functions prototypes of output_headers
1063 and output_trailers.
1064
8f451ef7
PB
10652001-08-30 Pascal Bart <pascal.bart@epita.fr>
1066
1067 * src/main.c: Include macrotab.h.
342b8b6e 1068 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1069 Adjust functions prototypes.
1070 * src/macrotab.c (macro_insert): Constify key and value.
1071 (macro_find): Constify key.
1072 (macro_insert): Include 'xalloc.h'
1073 (macro_insert): Use XMALLOC.
1074 (macro_find): Constify return value.
1075 * src/output.c (output_table_data): Rename table to table_data.
1076 (output_parser): Constify macro_key, macro_value.
1077
997b6fd0 10782001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1079
1080 * src/reader.c (parse_skel_decl): New.
342b8b6e 1081 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1082 * src/lex.h (token_t): New token `tok_skel'.
1083 * src/lex.c (percent_table): Add skeleton option entry.
1084 Standardize.
1085
ff48177d
MA
10862001-08-29 Marc Autret <autret_m@epita.fr>
1087
1088 * src/bison.simple: Add %%user_code directive at the end.
1089 * src/reader.c (read_additionnal_code): New.
1090 (reader): Use it.
1091 * src/output.c (output_program): Remove.
1092 (output): Update.
1093
b33160bf
MA
10942001-08-28 Marc Autret <autret_m@epita.fr>
1095
1096 * src/output.c (output_actions): Clean up.
4e5caae2 1097 (output_gram): CPP-out useless code.
b33160bf
MA
1098 * src/reader.c (reader): Clean up, CPP-out useless code.
1099
d1a2daf7
PB
11002001-08-28 Pascal Bart <pascal.bart@epita.fr>
1101
342b8b6e 1102 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1103 directive.
d1a2daf7
PB
1104 * src/bison.simple: Add `%%definitions'.
1105
2b763dfe
MA
11062001-08-28 Marc Autret <autret_m@epita.fr>
1107
1108 * config/depcomp: New file.
1109
f1a87ef6
PE
11102001-08-27 Paul Eggert <eggert@twinsun.com>
1111
1112 * src/bison.simple (yyparse): Don't take the address of an
1113 item before the start of an array, as that doesn't conform to
1114 the C Standard.
1115
82e236e2
RA
11162001-08-27 Robert Anisko <robert.anisko@epita.fr>
1117
f1a87ef6 1118 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1119 obstack. It was done too late here.
1120
1121 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1122 completely wrong.
1123 (reader): Initialize the macro obstack here, since we need it to grow
1124 '%define' directives.
1125
1126 * src/reader.h: Declare the macro obstack as extern.
1127
b0cfa28a
RA
11282001-08-27 Robert Anisko <robert.anisko@epita.fr>
1129
1130 * src/output.c (output_parser): Fix. Store single '%' characters in
1131 the output obstack instead of throwing them away.
1132
6fc74234
AD
11332001-08-27 Akim Demaille <akim@epita.fr>
1134
1135 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1136
9c76d118
RA
11372001-08-25 Robert Anisko <robert.anisko@epita.fr>
1138
1139 * lib/Makefile.am: Adjust.
1140
a8289c62
RA
11412001-08-25 Robert Anisko <robert.anisko@epita.fr>
1142
1143 * src/bison.simple: Update and add '%%' directives.
1144
b6610515
RA
11452001-08-25 Robert Anisko <robert.anisko@epita.fr>
1146
1147 * src/reader.c (reader): Remove calls to 'output_headers' and
1148 'output_trailers'. Remove some C output.
1149 (readgram): Disable a piece of code that was writing a default
1150 definition for 'YYSTYPE'.
1151 (reader_output_yylsp): Remove.
1152 (packsymbols): Output token defintions to a macro.
1153 (copy_definition): Disable C output.
6fc74234 1154
b6610515
RA
1155 * src/reader.c (parse_macro_decl): New function used to parse macro
1156 declarations.
1157 (copy_string2): Put the body of copy_string into this new function.
1158 Add a parameter to let the caller choose whether he wants to copy the
1159 string delimiters or not.
1160 (copy_string): Be a simple call to copy_string2 with the last argument
1161 bound to true.
1162 (read_declarations): Add case for macro definition.
1163 (copy_identifier): New.
6fc74234 1164 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1165 rather than lex.
1166
26f609ff
RA
11672001-08-25 Robert Anisko <robert.anisko@epita.fr>
1168
1169 * src/output.c (prepare): Add prefixed names.
1170 (output_parser): Output semantic actions.
1171 (output_parser): Fix bug on '%%line' directives.
6fc74234 1172
26f609ff
RA
1173 * src/output.c (output_headers): Remove. The C code printed by this
1174 function should now be in the skeletons.
1175 (output_trailers): Remove.
1176 (output): Disable call to 'reader_output_yylsp'.
1177 (output_rule_data): Do not output tables to the table obstack.
1178
1179 * src/output.c: Remove some C dedicated output.
1180 Improve the use of macro and output obstacks.
1181 (output_defines): Remove.
6fc74234 1182
26f609ff
RA
1183 * src/output.c (output_token_translations): Associate 'translate'
1184 table with a macro. No output to the table obstack.
1185 (output_gram): Same for 'rhs' and 'prhs'.
1186 (output_stos): Same for 'stos'.
1187 (output_rule_data): Same for 'r1' and 'r2'.
1188 (token_actions): Same for 'defact'.
1189 (goto_actions): Same for 'defgoto'.
1190 (output_base): Same for 'pact' and 'pgoto'.
1191 (output_table): Same for 'table'.
1192 (output_check): Same for 'check'.
6fc74234 1193
26f609ff
RA
1194 * src/output.c (output_table_data): New function.
1195 (output_short_table): Remove.
1196 (output_short_or_char_table): Remove.
6fc74234 1197
26f609ff
RA
1198 * src/output.c (output_parser): Replace most of the skeleton copy code
1199 with something new. Skeletons are now processed character by character
1200 rather than line by line, and Bison looks for '%%' macros. This is the
1201 first step in making Bison's output process (a lot) more flexible.
1202 (output_parser): Use the macro table.
1203
6f43b113
RA
12042001-08-25 Robert Anisko <robert.anisko@epita.fr>
1205
1206 * src/main.c (main): Initialize the macro table.
1207
dd3127cf
RA
12082001-08-25 Robert Anisko <robert.anisko@epita.fr>
1209
1210 * src/lex.c (percent_table): Add tok_define.
1211 * src/lex.h: Add tok_define.
1212
aa321494
RA
12132001-08-25 Robert Anisko <robert.anisko@epita.fr>
1214
1215 * src/macrotab.c: New file.
1216 * src/macrotab.h: New file.
1217 * src/Makefile.am: Update.
1218
68bd3b6b
RA
12192001-08-25 Robert Anisko <robert.anisko@epita.fr>
1220
1221 * lib/hash.c: New file.
1222 * lib/hash.h: New file.
1223 * lib/Makefile.am: Update.
1224
45f8dd1e
AD
12252001-08-15 Akim Demaille <akim@epita.fr>
1226
1227 Version 1.28c.
1228
40a64a7a 12292001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1230
1231 * src/reader.c (readgram): Indent output macro YYSTYPE.
1232 (packsymbols): Likewise.
1233 (output_token_defines): Likewise.
1234 * src/files.c: Standardize.
1235 (compute_header_macro): New.
1236 (defines_obstack_save): New. Use compute_header_macro.
1237 (output_files): Update. Use defines_obstack_save.
1238
f9a8293a
AD
12392001-08-15 Akim Demaille <akim@epita.fr>
1240
1241 * doc/bison.texinfo (Table of Symbols): Document
1242 YYSTACK_USE_ALLOCA.
1243
150ca7a7
AD
12442001-08-15 Akim Demaille <akim@epita.fr>
1245
1246 * missing: Update from CVS Automake.
1247 * config/config.guess, config/config.sub, config/texinfo.tex:
1248 Update from gnu.org.
1249
69b5cec4
AD
12502001-08-15 Akim Demaille <akim@epita.fr>
1251
1252 * Makefile.maint: Sync with CVS Autoconf.
1253
f2b5126e
PB
12542001-08-14 Pascal Bart <pascal.bart@epita.fr>
1255
69b5cec4 1256 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1257 `fdl.texi'.
1258 * doc/fdl.texi: Add to package.
1259
4ecbf796
MA
12602001-08-14 Marc Autret <autret_m@epita.fr>
1261
1262 Turn on %{source,header}_extension features.
1263
69b5cec4 1264 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1265 source_extension.
1266 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1267 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1268 between options.
1269
95fb5662
MA
12702001-08-14 Marc Autret <autret_m@epita.fr>
1271
1272 * src/files.c (compute_base_names): Add extensions computing when
1273 `--file-prefix' used.
1274 Standardize function calls.
1275
78d09da9
MA
12762001-08-13 Marc Autret <autret_m@epita.fr>
1277
69b5cec4 1278 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1279 defining it (defined but null disables alloca).
1280
5a009f2c
MA
12812001-08-13 Marc Autret <autret_m@epita.fr>
1282
1283 * src/bison.simple (_yy_memcpy): CPP reformat.
1284
1e41465a
PB
12852001-08-13 Pascal Bart <pascal.bart@epita.fr>
1286
1287 * tests/atconfig.in (CPPFLAGS): Fix.
1288
c67a198d
PB
12892001-08-10 Pascal Bart <pascal.bart@epita.fr>
1290
79282c6c 1291 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1292 `gpl.texi'.
1293 * doc/gpl.texi: Add to package.
1294
09a6de7e
MA
12952001-08-10 Marc Autret <autret_m@epita.fr>
1296
1297 * src/print_graph.h: Fix.
1298 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1299
b77b9ee0
AD
13002001-08-10 Akim Demaille <akim@epita.fr>
1301
1302 * src/system.h: Provide default declarations for stpcpy, strndup,
1303 and strnlen.
1304
3e259915
MA
13052001-08-10 Robert Anisko <anisko_r@epita.fr>
1306
1307 * doc/bison.texinfo (Locations): Update @$ stuff.
1308
ca96bc2d
MA
13092001-08-09 Robert Anisko <anisko_r@epita.fr>
1310
1311 * src/bison.simple (YYLLOC_DEFAULT): Update.
1312 (yyparse): Adjust.
1313
fdc6758b
MA
13142001-08-08 Marc Autret <autret_m@epita.fr>
1315
b77b9ee0 1316 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1317 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1318 Reported by Fabrice Bauzac.
957d4dbf 1319
600cad3b
MA
13202001-08-08 Marc Autret <autret_m@epita.fr>
1321
1322 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1323 * src/vcg.c (output_node): Fix.
1324 * src/vcg.h: Cleanup.
1325 * src/print_graph.c: Add comments.
b77b9ee0 1326 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1327 the VCG graph output.
b77b9ee0 1328 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1329 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1330 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1331 blue.
1332 Get the current node name and node_obstack by argument.
1333 (node_obstack): New variable.
1334 (print_state): Manage node_obstack.
1335 (print_core): Use node_obstack given by argument.
1336 A node is not only computed here but in print_actions also.
1337 (print_graph): CPP out useless code instead of commenting it.
1338
976e528f
AD
13392001-08-07 Pascal Bart <pascal.bart@epita.fr>
1340
1341 * tests/atconfig.in (CPPFLAGS): Fix.
1342
20e8e5ca
AD
13432001-08-07 Akim Demaille <akim@epita.fr>
1344
1345 * src/print_graph.c (quote): New.
1346 (print_core): Use it.
1347
957d4dbf 13482001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1349
3e3da797
AD
1350 * src/vcg.c (complain.h): Include it.
1351 Unepitaize `return' invocations.
c4b66126 1352 [NDEBUG] (main): Remove.
79282c6c 1353 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1354 * src/files.c (open_files): Initialize graph_obstack.
1355 * src/print_graph.c (print_actions): CPP out useless code.
1356 (print_core): Don't output the last `\n' in labels.
1357 Use `quote'.
1358 * src/files.c (output_files): Output the VCG file.
1359 * src/main.c (main): Invoke print_graph ();
3e3da797 1360
957d4dbf 13612001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1362
1363 Automaton VCG graph output.
1364 Using option ``-g'' or long option ``--graph'', you can generate
1365 a gram_filename.vcg file containing a VCG description of the LALR (1)
1366 automaton of your grammar.
1367
1368 * src/main.c: Call to print_graph() function.
1369 * src/getargs.h: Update.
1370 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1371 (graph_flag): New flag.
1372 (longopts): Update.
1373 (getargs): Add case `g'.
1374 * src/files.c (graph_obstack): New obstack struct.
1375 (open_files): Initialize new obstack.
1376 (output_files): Saves graph_obstack if required.
1377 * src/files.h (graph_obstack): New extern declaration.
1378 * src/Makefile.am: Add new source files.
1379
957d4dbf 13802001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1381
1382 * src/print_graph.c, src/print_graph.h (graph): New.
1383 * src/vcg.h: New file.
1384 * src/vcg.c: New file, VCG graph handling.
1385
7333d403
AD
13862001-08-06 Marc Autret <autret_m@epita.fr>
1387
1388 Add of %source_extension and %header_extension which specify
1389 the source or/and the header output file extension.
1390
1391 * src/files.c (compute_base_names): Remove initialisation of
1392 src_extension and header_extension.
1393 (compute_exts_from_gf): Update.
1394 (compute_exts_from_src): Update.
1395 (output_files): Update.
1396 * src/reader.c (parse_header_extension_decl): New.
1397 (parse_source_extension_decl): New.
1398 (read_declarations): New case statements for the new tokens.
1399 * src/lex.c (percent_table): Add entries for %source_extension
1400 and %header_extension.
1401 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1402
84163231
AD
14032001-08-06 Marc Autret <autret_m@epita.fr>
1404
1405 * configure.in: Bump to 1.28c.
1406 * doc/bison.texinfo: Texinfo thingies.
1407
8303fc42
AD
14082001-08-04 Pascal Bart <pascal.bart@epita.fr>
1409
1410 * tests/atconfig.in (CPPFLAGS): Add.
1411 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1412
70a84437
AD
14132001-08-03 Akim Demaille <akim@epita.fr>
1414
1415 Version 1.28b.
1416
2ce10144
AD
14172001-08-03 Akim Demaille <akim@epita.fr>
1418
1419 * tests/Makefile.am (check-local): Ship testsuite.
1420 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1421 Include `string.h'.
1422
1e3e4bc1
AD
14232001-08-03 Akim Demaille <akim@epita.fr>
1424
1425 * configure.in: Try using -Wformat when compiling.
1426
42b45b7f
AD
14272001-08-03 Akim Demaille <akim@epita.fr>
1428
1429 * configure.in: Bump to 1.28b.
1430
8f13fe33
AD
14312001-08-03 Akim Demaille <akim@epita.fr>
1432
1433 * src/complain.c: Adjust strerror_r portability issues.
1434
b37ba92c
AD
14352001-08-03 Akim Demaille <akim@epita.fr>
1436
1437 Version 1.28a.
1438
b0ce6046
AD
14392001-08-03 Akim Demaille <akim@epita.fr>
1440
1441 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1442 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1443 * src/getargs.c: Include complain.h.
1444 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1445 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1446
d01c415b
AD
14472001-08-03 Akim Demaille <akim@epita.fr>
1448
1449 * src/reader.c (readgram): Display hidden chars in error messages.
1450
459dd1a6
AD
14512001-08-03 Akim Demaille <akim@epita.fr>
1452
1453 Update to gettext 0.10.39.
1454
53b74c0c
AD
14552001-08-03 Akim Demaille <akim@epita.fr>
1456
1457 * lib/strspn.c: New.
1458
234a3be3
AD
14592001-08-01 Marc Autret <autret_m@epita.fr>
1460
1461 * doc/bison.texinfo: Update.
1462 * doc/bison.1 (mandoc): Update.
1463 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1464 * src/files.c: Support output files extensions computing.
1465 (src_extension): New static variable.
1466 (header_extension): New static variable.
1467 (tr): New function.
1468 (get_extension_index): New function, gets the index of an extension
1469 filename in a string.
1470 (compute_exts_from_gf): New function, computes extensions from the
1471 grammar file extension.
1472 (compute_exts_from_src): New functions, computes extensions from the
1473 C source file extension, file given by ``-o'' option.
1474 (compute_base_names): Update.
1475 (output_files): Update.
1476
847bf1f5
AD
14772001-08-01 Robert Anisko <anisko_r@epita.fr>
1478
d995fee7 1479 * doc/bison.texi: Document @$.
847bf1f5
AD
1480 (Locations): New section.
1481
d074a105
AD
14822001-07-18 Akim Demaille <akim@epita.fr>
1483
1484 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1485 * config/prev-version.txt, config/move-if-change: New.
1486 * Makefile.am: Adjust.
1487
3419715d
AD
14882001-07-08 Pascal Bart <pascal.bart@epita.fr>
1489
1490 * src/bison.simple (yyparse): Suppress warning `comparaison
1491 between signed and unsigned'.
1492
62ab6972
AD
14932001-07-05 Pascal Bart <pascal.bart@epita.fr>
1494
1495 * src/getargs.h (raw_flag): Remove.
1496 * src/getargs.c: Die on `-r'/`--raw'.
1497 * src/lex.c (parse_percent_token): Die on `%raw'.
1498 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1499 * tests/calc.at: Suppress test with option `--raw'.
1500
1e24cc5b
AD
15012001-07-14 Akim Demaille <akim@epita.fr>
1502
1503 * config/: New.
1504 * configure.in: Require Autoconf 2.50.
1505 Update to gettext 0.10.38.
1506
32dfccf8
AD
15072001-03-16 Akim Demaille <akim@epita.fr>
1508
1509 * doc/bison.texinfo: ANSIfy the examples.
1510
cd5bd6ac
AD
15112001-03-16 Akim Demaille <akim@epita.fr>
1512
1513 * getargs.c (skeleton): New variable.
1514 (longopts): --skeleton is a new option.
1515 (shortopts, getargs): -S is a new option.
1516 * getargs.h: Declare skeleton.
1517 * output.c (output_parser): Use it.
1518
5141b016
AD
15192001-03-16 Akim Demaille <akim@epita.fr>
1520
1521 * m4/strerror_r.m4: New.
1522 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1523 * lib/error.h, lib/error.c: Update.
1524
447992b9
AD
15252001-03-16 Akim Demaille <akim@epita.fr>
1526
1527 * src/getargs.c (longopts): Clean up.
1528
274d42ce
AD
15292001-02-21 Akim Demaille <akim@epita.fr>
1530
1531 * src/reader.c (gensym): `gensym_count' is your own.
1532 Use a static buf to create the symbol name, as token_buffer is no
1533 longer a buffer.
1534
22c821f3
AD
15352001-02-08 Akim Demaille <akim@epita.fr>
1536
1537 * src/conflicts.c (conflict_report): Be sure not to append to res
1538 between two calls, which could happen if both first sprintf were
1539 skipped, but not the first cp += strlen.
1540
18569462
AD
15412001-02-08 Akim Demaille <akim@epita.fr>
1542
1543 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1544 New, from fileutils 4.0.37.
1545 * configure.in: Require Autoconf 2.49c. I took some time before
1546 making this decision. This is the only way out for portability
1547 issues in Bison, it would mean way too much duplicate effort to
1548 import in Bison features implemented in 2.49c since 2.13.
1549 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1550
0d8f3c8a
AD
15512001-02-02 Akim Demaille <akim@epita.fr>
1552
1553 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1554 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1555
f17bcd1f
AD
15562001-01-19 Akim Demaille <akim@epita.fr>
1557
1558 Get rid of the ad hoc handling of token_buffer in the scanner: use
1559 the obstacks.
1560
1561 * src/lex.c (token_obstack): New.
1562 (init_lex): Initialize it. No longer call...
1563 (grow_token_buffer): this. Remove it.
1564 Adjust all the places which used it to use the obstack.
1565
511e79b3
AD
15662001-01-19 Akim Demaille <akim@epita.fr>
1567
1568 * src/lex.h: Rename all the tokens:
1569 s/\bENDFILE\b/tok_eof/g;
1570 s/\bIDENTIFIER\b/tok_identifier/g;
1571 etc.
1572 Let them be enums, not #define, to ease debugging.
1573 Adjust all the code.
1574
0d6508ef
AD
15752001-01-18 Akim Demaille <akim@epita.fr>
1576
1577 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1578 * src/lex.c (maxtoken, grow_token_buffer): Static.
1579
6deb4447
AD
15802001-01-18 Akim Demaille <akim@epita.fr>
1581
1582 Since we now use obstacks, more % directives can be enabled.
1583
1584 * src/lex.c (percent_table): Also accept `%yacc',
1585 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1586 `%debug'.
1587 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1588 instead of returning a token.
1589 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1590 * src/reader.c (read_declarations): Adjust.
1591 * src/files.c (open_files): Don't call `compute_base_names', don't
1592 compute `attrsfile' since they depend upon data which might be
1593 *in* the input file now.
1594 (output_files): Do it here.
1595 * src/output.c (output_headers): Document the fact that this patch
1596 introduces a guaranteed SEGV for semantic parsers.
1597 * doc/bison.texinfo: Document them.
1598 * tests/suite.at: Exercise these %options.
1599
ff4423cc
AD
16002000-12-20 Akim Demaille <akim@epita.fr>
1601
1602 Also handle the output file (--verbose) with obstacks.
1603
1604 * files.c (foutput): Remove.
1605 (output_obstack): New.
1606 Adjust all dependencies.
1607 * src/conflicts.c: Return a string.
1608 * src/system.h (obstack_grow_string): Rename as...
1609 (obstack_sgrow): this. Be ready to work with non literals.
1610 (obstack_fgrow4): New.
1611
956dba3a
AD
16122000-12-20 Akim Demaille <akim@epita.fr>
1613
1614 * src/files.c (open_files): Fix the computation of short_base_name
1615 in the case of `-o foo.tab.c'.
1616
337bab46
AD
16172000-12-20 Akim Demaille <akim@epita.fr>
1618
1619 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1620 (copy_dollar): Now that everything uses obstacks, get rid of the
1621 FILE * parameters.
1622
5d3214b8
AD
16232000-12-20 Akim Demaille <akim@epita.fr>
1624
1625 * src/files.c (open_files): Actually the `.output' file is based
1626 on the short_base_name, not base_name.
1627 * tests/suite.at (Checking output file names): Adjust.
1628
29092a57
AD
16292000-12-20 Akim Demaille <akim@epita.fr>
1630
1631 * src/bison.s1: Remove, we now use directly...
1632 * src/bison.simple: this.
1633 * src/Makefile.am: Use pkgdata instead of data.
1634
ea5607fd
AD
16352000-12-20 Akim Demaille <akim@epita.fr>
1636
1637 * src/files.c (guard_obstack): New.
1638 (open_files): Initialize it.
1639 (output_files): Dump it...
1640 * src/files.h: Export it.
1641 * src/reader.c (copy_guard): Use it.
1642
27110317
AD
16432000-12-19 Akim Demaille <akim@epita.fr>
1644
1645 * src/files.c (outfile, defsfile, actfile): Removed as global
1646 vars.
1647 (open_files): Don't compute them.
1648 (output_files): Adjust.
1649 (base_name, short_base_name): Be global.
1650 Adjust dependencies.
1651
19c50364
AD
16522000-12-19 Akim Demaille <akim@epita.fr>
1653
1654 * src/files.c (strsuffix): New.
1655 (stringappend): Be just like strcat but allocate.
1656 (base_names): Eve out from open_files.
1657 Try to simplify the rather hairy computation of base_name and
1658 short_base_name.
1659 (open_files): Use it.
1660 * tests/suite.at (Checking output file names): New test.
1661
573c1d9f
AD
16622000-12-19 Akim Demaille <akim@epita.fr>
1663
1664 * src/system.h (obstack_grow_literal_string): Rename as...
1665 (obstack_grow_string): this.
1666 * src/output.c (output_parser): Recognize `%% actions' instead of
1667 `$'.
1668 * src/bison.s1: s/$/%% actions/.
1669 * src/bison.hairy: Likewise.
1670
ef7ddedd
AD
16712000-12-19 Akim Demaille <akim@epita.fr>
1672
1673 * src/output.c (output_parser): Compute the `#line' lines when
1674 there are.
1675 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1676 Suggested by Hans Aberg.
1677
ff61dabd
AD
16782000-12-19 Akim Demaille <akim@epita.fr>
1679
1680 Let the handling of the skeleton files be local to the procedures
1681 that use it.
1682
1683 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1684 longer static.
1685 (fparser, open_extra_files): Remove.
1686 (open_files, output_files): Don't take care of fparser.
1687 * src/files.h: Adjust.
1688 * src/output.c (output_parser): Open and close the file to the
1689 skeleton.
1690 * src/reader.c (read_declarations): When %semantic_parser, open
1691 fguard.
1692
55b96341
AD
16932000-12-19 Akim Demaille <akim@epita.fr>
1694
1695 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1696 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1697
358c15b7
AD
16982000-12-19 Akim Demaille <akim@epita.fr>
1699
1700 * src/files.c (open_files): Yipee! We no longer need all the code
1701 looking for `/tmp' since we have no tmp file.
1702
7de3329e
AD
17032000-12-19 Akim Demaille <akim@epita.fr>
1704
1705 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1706 New macros.
1707 * src/files.c (open_files): Less dependency on MSDOS etc.
1708
3abcd459
AD
17092000-12-14 Akim Demaille <akim@epita.fr>
1710
1711 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1712 Provide a default definition.
1713 Use it when executing the default @ action.
1714 * src/reader.c (reader_output_yylsp): No longer include
1715 `timestamp' and `text' in the default YYLTYPE.
1716
2a91a95e
AD
17172000-12-12 Akim Demaille <akim@epita.fr>
1718
1719 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1720 (copy_guard): Quote the file names.
1721 Reported by Laurent Mascherpa.
1722
14d3eb9b
AD
17232000-12-12 Akim Demaille <akim@epita.fr>
1724
1725 * src/output.c (output_headers, output_program, output): Be sure
1726 to escape special characters when outputting filenames.
1727 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1728 (output_headers): Don't depend on them, Use ACTSTR.
1729
d7045ec6
AD
17302000-11-17 Akim Demaille <akim@epita.fr>
1731
1732 * lib/obstack.h: Formatting changes.
1733 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1734 prevents type checking.
1735 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1736 cast the value to (void *): assigning a `foo *' to a `void *'
1737 variable is valid.
1738 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1739 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1740 append characters.
1741
6fd54b73
AD
17422000-11-17 Akim Demaille <akim@epita.fr>
1743
1744 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1745 as...
1746 (suite.m4, regression.m4, calc.m4): these.
1747 * tests/atgeneral.m4: Update from CVS Autoconf.
1748
4c50eae6
AD
17492000-11-17 Akim Demaille <akim@epita.fr>
1750
1751 * tests/regression.m4 (%union and --defines): New test,
1752 demonstrating a current bug in the obstack implementation.
1753
a35f64ea
AD
17542000-11-17 Akim Demaille <akim@epita.fr>
1755
1756 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1757 macros.
1758 Use them to declare the variables which are global or local to
1759 `yyparse'.
1760
7de23534
AD
17612000-11-17 Akim Demaille <akim@epita.fr>
1762
1763 * acconfig.h: Remove, no longer used.
1764
aa7815f5
AD
17652000-11-07 Akim Demaille <akim@epita.fr>
1766
1767 * src: s/Copyright (C)/Copyright/g.
1768
5af1f549
AD
17692000-11-07 Akim Demaille <akim@epita.fr>
1770
1771 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1772 defining.
1773 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1774
553e2b22
AD
17752000-11-07 Akim Demaille <akim@epita.fr>
1776
1777 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1778 Merge in a single CPP if/else.
1779
8a4f41d6
AD
17802000-11-07 Akim Demaille <akim@epita.fr>
1781
1782 * src/output.c (output): Remove useless variables.
1783 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1784 argument `data' for consistency with the prototypes.
1785 Qualify it `const'.
1786 (obstack_copy, obstack_copy0): Rename the second argument as
1787 `address' for consistency. Qualify it `const'.
1788 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1789 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1790 `const' their input argument (`data' or `address').
1791 Adjust the corresponding macros to include `const' in casts.
1792
095a3fb5
AD
17932000-11-03 Akim Demaille <akim@epita.fr>
1794
1795 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1796 s/PFILE1/BISON_HAIRY/.
1797 Adjust dependencies.
1798
d1cdce7c
AD
17992000-11-03 Akim Demaille <akim@epita.fr>
1800
090c5ebf 1801 For some reason, this was not applied.
d1cdce7c
AD
1802
1803 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1804 `unlink': it's no longer used.
1805
9311529b
AD
18062000-11-03 Akim Demaille <akim@epita.fr>
1807
1808 * src/files.c (skeleton_find): New function, eved out of...
1809 (open_files, open_extra_files): here.
1810
d8880f69
AD
18112000-11-03 Akim Demaille <akim@epita.fr>
1812
1813 Don't use `atexit'.
1814
1815 * src/files.c (obstack_save): New function.
1816 (done): Rename as...
1817 (output_files): this.
1818 Use `obstack_save'.
1819 * src/main.c (main): Don't use `atexit' to register `done', since
1820 it no longer has to remove tmp files, just call `output_files'
1821 when there are no errors.
1822
0dbb648e
AD
18232000-11-02 Akim Demaille <akim@epita.fr>
1824
1825 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1826 `unlink': it's no longer used.
1827 * src/files.h: Formatting changes.
1828
896fe5c1
AD
18292000-11-02 Akim Demaille <akim@epita.fr>
1830
1831 Remove the last uses of mktemp and unlink/delete.
1832
1833 * src/files.c (fdefines, ftable): Removed.
1834 (defines_ostack, table_obstack): New.
1835 Adjust dependencies of the former into uses of the latter.
1836 * src/output.c (output_short_or_char_table, output_short_table):
1837 Convert to using obstacks.
1838 * src/reader.c (copy_comment2): Accept one FILE * and two
1839 obstacks.
1840 (output_token_defines, reader_output_yylsp): Use obstacks.
1841 * src/system.h (obstack_fgrow3): New.
1842
dd60faec
AD
18432000-11-01 Akim Demaille <akim@epita.fr>
1844
1845 Change each use of `fattrs' into a use of `attrs_obstack'.
1846
1847 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1848 * src/files.c (fattrs): Remove.
1849 (attrs_obstack): New.
1850 Adjust all dependencies.
1851 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1852
8c7ebe49
AD
18532000-11-01 Akim Demaille <akim@epita.fr>
1854
1855 Introduce obstacks.
1856 Change each use of `faction' into a use of `action_obstack'.
1857
1858 * lib/obstack.h, lib/obstack.c: New files.
1859 * src/files.c (faction): Remove.
1860 (action_obstack): New.
1861 Adjust all dependencies.
1862
77aee789
AD
18632000-10-20 Akim Demaille <akim@epita.fr>
1864
1865 * lib/quote.h (PARAMS): New macro. Use it.
1866
43591cec
AD
18672000-10-16 Akim Demaille <akim@epita.fr>
1868
1869 * src/output.c (output_short_or_char_table): New function.
1870 (output_short_table, output_token_translations): Use it.
1871 (goto_actions): Use output_short_table.
1872
1e9798d5
AD
18732000-10-16 Akim Demaille <akim@epita.fr>
1874
1875 * src/symtab.c (bucket_new): New function.
1876 (getsym): Use it.
1877
1878 * src/output.c (output_short_table): New argument to display the
1879 comment associated with the table.
1880 Adjust dependencies.
1881 (output_gram): Use it.
1882 (output_rule_data): Nicer output layout for YYTNAME.
1883
f282676b
AD
18842000-10-16 Akim Demaille <akim@epita.fr>
1885
1886 * src/lex.c (read_typename): New function.
1887 (lex): Use it.
1888 * src/reader.c (copy_dollar): Likewise.
1889
550a72a3
AD
18902000-10-16 Akim Demaille <akim@epita.fr>
1891
1892 * src/reader.c (copy_comment2): Expect the input stream to be on
1893 the `/' which is suspected to open a comment, instead of being
1894 called after `//' or `/*' was read.
1895 (copy_comment, copy_definition, parse_union_decl, copy_action)
1896 (copy_guard): Adjust.
1897
131e2fef
AD
18982000-10-16 Akim Demaille <akim@epita.fr>
1899
1900 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1901 `read_signed_integer'.
1902
79282c5a
AD
19032000-10-16 Akim Demaille <akim@epita.fr>
1904
1905 * src/reader.c (copy_dollar): New function.
1906 (copy_guard, copy_action): Use it.
1907
ff4a34be
AD
19082000-10-16 Akim Demaille <akim@epita.fr>
1909
1910 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1911 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1912 New files, from Fileutils 4.0.27.
1913 * src/main.c (printable_version): Remove.
1914 * src/lex.c, src/reader.c: Use `quote'.
1915
19162000-10-04 Akim Demaille <akim@epita.fr>
1917
1918 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1919
14ded682
AD
19202000-10-04 Akim Demaille <akim@epita.fr>
1921
1922 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1923
8e03724b
AD
19242000-10-04 Akim Demaille <akim@epita.fr>
1925
1926 When a literal string is used to define two different tokens,
1927 `bison -v' segfaults.
1928 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1929
1930 * tests/regression.m4: New file.
1931 Include the core of the sample provided by Piotr Gackiewicz.
1932 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1933 properly.
1934
a9e64249
AD
19352000-10-04 Akim Demaille <akim@epita.fr>
1936
1937 * src/reader.c (parse_expect_decl): Keep `count' within the size
1938 of `buffer'.
1939 From Neil Booth.
1940
da9abf43
AD
19412000-10-02 Paul Eggert <eggert@twinsun.com>
1942
1943 * bison.s1 (yyparse): Assign the default value
1944 unconditionally, to avoid a GCC warning and make the parser a
1945 tad smaller.
1946
c33638bb
AD
19472000-10-02 Akim Demaille <akim@epita.fr>
1948
1949 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1950 options.
1951
444c570a
AD
19522000-10-02 Akim Demaille <akim@epita.fr>
1953
1954 * src/derives.c, src/print.c, src/reduce.c: To ease the
1955 translation, move some `\n' out of the translated strings.
1956
89cab50d
AD
19572000-10-02 Akim Demaille <akim@epita.fr>
1958
1959 The location tracking mechanism is precious for parse error
1960 messages. Nevertheless, it is enabled only when `@n' is used in
1961 the grammar, which is a different issue (you can use it in error
1962 message, but not in the grammar per se). Therefore, there should
1963 be another means to enable it.
1964
1965 * src/getargs.c (getargs): Support `--locations'.
1966 (usage): Report it.
1967 * src/getargs.h (locationsflag): Export it.
1968 * src/lex.c (percent_table): Support `%locations'.
1969 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1970 with `locationsflag'.
1971 * doc/bison.texinfo: Document `--locations' and `%locations'.
1972 Sort the options.
1973 * tests/calc.m4: Test it.
1974
1975 For regularity of the names, replace each
1976 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1977 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1978 In addition replace each `flag' with `_flag'.
1979
d6c2cba0
AD
19802000-10-02 Akim Demaille <akim@epita.fr>
1981
1982 Also test parse error messages, including with YYERROR_VERBOSE.
1983
1984 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1985 associative).
1986 Use it to check the computations.
1987 Use it to check `nonassoc' is honored.
1988 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1989 `--yyerror-verbose'.
1990 (_AT_CHECK_CALC): Adjust to this option.
1991 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1992
5a35a6cb
AD
19932000-10-02 Akim Demaille <akim@epita.fr>
1994
1995 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1996 the latter demonstrates a flaw in the handling of non debugging
1997 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1998 was used in order to simplify:
1999
2000 #if YYDEBUG
2001 if (yydebug)
2002 {
2003 ...
2004 }
2005 #endif
2006
2007 into
2008
2009 if (yydebug)
2010 {
2011 ...
2012 }
2013
2014 unfortunately this leads to a CPP conflict when
2015 `--name-prefix=foo' is used since it produces `#define yydebug
2016 foodebug'.
2017
2018 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2019 (YYDPRINTF): New macro.
2020 Spread its use.
2021 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2022 the bison options.
2023 Also test `--verbose', `--defines' and `--name-prefix'.
2024
71da9eea
AD
20252000-10-02 Akim Demaille <akim@epita.fr>
2026
2027 Improve the readability of the produced parsers.
2028
2029 * src/bison.s1: Formatting changes.
2030 Improve the comment related to the `$' mark.
2031 (yydefault): Don't fall through to `yyresume': `goto' there.
2032 * src/output.c (output_parser): When the `$' is met, skip the end
2033 of its line.
2034 New variable, `number_of_dollar_signs', to check there's exactly
2035 one `$' in the parser skeleton.
2036
95e36146
AD
20372000-10-02 Akim Demaille <akim@epita.fr>
2038
2039 * lib/xstrdup.c: New file, from the fileutils.
2040 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2041 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2042 instead of strlen + xmalloc + strcpy.
2043 * src/symtab.c (copys): Remove, use xstrdup instead.
2044
d7020c20
AD
20452000-10-02 Akim Demaille <akim@epita.fr>
2046
2047 * src/gram.h (associativity): New enum type which replaces the
2048 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2049 `right_assoc', `left_assoc' and `non_assoc'.
2050 Adjust all dependencies.
2051 * src/reader.c: Formatting changes.
2052 (LTYPESTR): Don't define it, use it as a literal in
2053 `reader_output_yylsp'.
2054 * src/symtab.h (symbol_class): New enum type which replaces the
2055 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2056 `sunknown', `stoken and `snterm'.
2057
1916f98e
AD
20582000-10-02 Akim Demaille <akim@epita.fr>
2059
2060 * src/getargs.c (fixed_outfiles): Rename as...
2061 (yaccflag): for consistency and accuracy.
2062 Adjust dependencies.
2063
d7913476
AD
20642000-10-02 Akim Demaille <akim@epita.fr>
2065
2066 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2067 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2068 difficult and introduced a lot of core dump. It turns out that
2069 Bison used an implementation of `xmalloc' based on `calloc', and
2070 at various places it does depend upon the initialization to 0. I
2071 have not tried to isolate the pertinent places, and all the former
2072 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2073 someone should address this issue.
2074
2075 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2076 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2077 files.
2078 Adjust dependencies.
2079 * src/warshall.h: New file.
2080 Propagate.
2081
340ef489
AD
20822000-10-02 Akim Demaille <akim@epita.fr>
2083
2084 Various anti-`extern in *.c' changes.
2085
2086 * src/system.h: Include `assert.h'.
2087
b2ca4022
AD
20882000-10-02 Akim Demaille <akim@epita.fr>
2089
2090 * src/state.h (nstates, final_state, first_state, first_shift)
2091 (first_reduction): Move their exportation from here...
2092 * src/LR0.h: to here.
2093 Adjust dependencies.
2094 * src/getargs.c (statisticsflag): New variable.
2095 Add support for `--statistics'.
2096 Adjust dependencies.
2097
2098 Remove a lot of now useless `extern' statements in most files.
2099
403b315b
AD
21002000-10-02 Akim Demaille <akim@epita.fr>
2101
2102 * src/LR0.h: New file.
2103 Propagate its use.
2104
07a58c13
AD
21052000-10-02 Akim Demaille <akim@epita.fr>
2106
2107 * src/print.h: New file.
2108 Propagate its use.
2109 * src/print.c: Formatting and ordering changes.
2110 (verbose, terse): Replace with...
2111 (print_results): this new function.
2112 Adjust dependencies.
2113
0619caf0
AD
21142000-10-02 Akim Demaille <akim@epita.fr>
2115
2116 * src/conflicts.c (conflict_report): New function.
2117 (conflict_log, verbose_conflict_log): Replace with...
2118 (print_conflicts): this function.
2119 Adjust dependencies.
2120 * src/conflicts.h: New file.
2121 Propagate its inclusion.
2122
3519ec76
AD
21232000-10-02 Akim Demaille <akim@epita.fr>
2124
2125 * src/nullable.h: New file.
2126 Propagate its inclusion.
2127 * src/nullable.c: Formatting changes.
2128
015acc48
AD
21292000-10-02 Akim Demaille <akim@epita.fr>
2130
2131 * src/reduce.h: New file.
2132 Propagate its inclusion.
2133 * src/reduce.c: Topological sort and other formatting changes.
2134 (bool, TRUE, FALSE): Move their definition to...
2135 * src/system.h: here.
2136
8963a27b
AD
21372000-10-02 Akim Demaille <akim@epita.fr>
2138
2139 * src/files.c: Formatting changes.
2140 (tryopen, tryclose, openfiles): Rename as...
2141 (xfopen, xfclose, open_files): this.
2142 (stringappend): static.
2143 * src/files.h: Complete the list of exported symbols.
2144 Propagate its use.
2145
a70083a3
AD
21462000-10-02 Akim Demaille <akim@epita.fr>
2147
2148 * src/reader.h: New file.
2149 Propagate its use instead of tedious list of `extern' and
2150 prototypes.
2151 * src/reader.c: Formatting changes, topological sort,
2152 s/register//.
2153
abadc117
AD
21542000-10-02 Akim Demaille <akim@epita.fr>
2155
2156 * src/lex.h: Prototype `lex.c' exported functions.
2157 * src/reader.c: Adjust.
2158 * src/lex.c: Formatting changes.
2159 (safegetc): Rename as...
2160 (xgetc): this.
2161
720d742f
AD
21622000-10-02 Akim Demaille <akim@epita.fr>
2163
2164 * src/lalr.h: New file.
2165 Propagate its inclusion instead of prototypes and `extern'.
2166 * src/lalr.c: Formatting changes, topological sorting etc.
2167
f2acea59
AD
21682000-10-02 Akim Demaille <akim@epita.fr>
2169
2170 * src/output.c (token_actions): Introduce a temporary array,
2171 YYDEFACT, that makes it possible for this function to use
2172 output_short_table.
2173
d019d655
AD
21742000-10-02 Akim Demaille <akim@epita.fr>
2175
2176 `user_toknums' is output as a `short[]' in `output.c', while it is
2177 defined as a `int[]' in `reader.c'. For consistency with the
2178 other output tables, `user_toknums' is now defined as a table of
2179 shorts.
2180
2181 * src/reader.c (user_toknums): Be a short table instead of an int
2182 table.
2183 Adjust dependencies.
2184
2185 Factor the short table outputs.
2186
2187 * src/output.c (output_short_table): New function.
2188 * src/output.c (output_gram, output_stos, output_rule_data)
2189 (output_base, output_table, output_check): Use it.
2190
6c89f1c1
AD
21912000-10-02 Akim Demaille <akim@epita.fr>
2192
2193 * src/output.c (output): Topological sort of the functions, in
2194 order to get rid of the `static' prototypes.
2195 No longer use `register'.
2196 * src/output.h: New file.
2197 Propagate its inclusion in files explicitly prototyping functions
2198 from output.c.
2199
d9efd181
AD
22002000-09-21 Akim Demaille <akim@epita.fr>
2201
2202 * src/atgeneral.m4: Update from Autoconf.
2203
c29240e7 22042000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2205
2206 * src/closure.h: New file.
2207 * src/closure.c: Formatting changes, topological sort over the
2208 functions, use of closure.h.
2209 (initialize_closure, finalize_closure): Rename as...
2210 (new_closure, free_closure): these. Adjust dependencies.
2211 * src/LR0.c: Formatting changes, topological sort, use of
2212 cloture.h.
2213 (initialize_states): Rename as...
2214 (new_states): this.
2215 * src/Makefile.am (noinst_HEADERS): Adjust.
2216
499daa50
AD
22172000-09-20 Akim Demaille <akim@epita.fr>
2218
2219 * src/acconfig.h: Don't protect config.h against multiple
2220 inclusion.
2221 Don't define PARAMS.
2222 * src/system.h: Define PARAMS.
2223 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2224 purpose of config.h. system.h must not try to fix wrong
2225 definitions in config.h.
2226
cc84fd5d
AD
22272000-09-20 Akim Demaille <akim@epita.fr>
2228
2229 * src/derives.h: New file.
2230 * src/main.c, src/derives.h: Use it.
2231 Formatting changes.
2232 * src/Makefile.am (noinst_HEADERS): Adjust.
2233
db5b3a89
AD
22342000-09-20 Akim Demaille <akim@epita.fr>
2235
2236 * tests/atgeneral.m4: Update from Autoconf.
2237 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2238 (AT_CHECK_CALC): New macros.
2239 Use these macros to test bison with options `', `--raw',
2240 `--debug', `--yacc', `--yacc --debug'.
2241
ceed8467
AD
22422000-09-19 Akim Demaille <akim@epita.fr>
2243
2244 * src/output.c: Formatting changes.
2245 * src/machine.h: Remove, leaving its contents in...
2246 * src/system.h: here.
2247 Include stdio.h.
2248 Adjust all dependencies on stdio.h and machine.h.
2249 * src/getargs.h: New file.
2250 Let all `extern' declarations about getargs.c be replaced with
2251 inclusion of `getargs.h'.
2252 * src/Makefile.am (noinst_HEADERS): Adjust.
2253
2254 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2255 scope.
2256 (yyerror): Returns void, not int.
2257 * doc/bison.texinfo: Formatting changes.
2258
05a1d24b
AD
22592000-09-19 Akim Demaille <akim@epita.fr>
2260
2261 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2262 portable.
2263
cbd25751
AD
22642000-09-18 Akim Demaille <akim@epita.fr>
2265
2266 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2267 * src/Makefile.am (INCLUDES): Don't.
2268 Be ready to fetch headers in lib/.
2269
13863333
AD
22702000-09-18 Akim Demaille <akim@epita.fr>
2271
2272 * doc/bison.texinfo: Update the copyright.
2273 ANSIfy and GNUify the examples.
2274 Remove the old menu.
2275
0d533154
AD
22762000-09-18 Akim Demaille <akim@epita.fr>
2277
2278 First set of tests: use the `calc' example from the documentation.
2279
2280 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2281 is defined only when YYDEBUG is.
2282 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2283 * src/files.c (tryopen, tryclose): Formatting changes.
2284 Move to the top and be static.
2285 * src/reader.c (read_signed_integer): Likewise.
2286 * tests/calc.m4: New file.
2287 * Makefile.am, suite.m4: Adjust.
2288 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2289
e79137ac
AD
22902000-09-18 Akim Demaille <akim@epita.fr>
2291
2292 Add support for an Autotest test suite for Bison.
2293
2294 * m4/m4.m4, m4/atconfig.m4: New files.
2295 * m4/Makefile.am (EXTRA_DIST): Adjust.
2296 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2297 files.
2298 * src/getargs.c: Display a more standard --version message.
2299 * src/reader.c (reader): Formatting changes.
2300 No longer depend upon VERSION_STRING.
2301 * configure.in: No longer use `dnl'.
2302 Set up the test suite and the new directory `tests/.
2303 (VERSION_STRING): Remove.
2304
27821bff
AD
23052000-04-14 Akim Demaille <akim@epita.fr>
2306
2307 * src/reader.c (copy_comment2): New function, same as former
2308 `copy_comment', but outputs into two FILE *.
2309 (copy_comment): Use it.
2310 (parse_union_decl): Use it.
2311 (get_type, parse_start_decl): Use the same `invalid' message.
2312 (parse_start_decl, parse_union_decl): Use the same `multiple'
2313 message.
2314 (parse_union_decl, copy_guard, copy_action): Use the same
2315 `unmatched' message.
2316 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2317
cfe5fbc0
AD
23182000-03-31 Akim Demaille <akim@epita.fr>
2319
2320 * src/files.c (tryopen, tryclose): Move to the top.
2321 Be static.
2322
cb7db13e
AD
23232000-03-31 Akim Demaille <akim@epita.fr>
2324
2325 * src/main.c (main): Don't call `done', exit does it.
2326
a0f6b076
AD
23272000-03-31 Akim Demaille <akim@epita.fr>
2328
36281465
AD
2329 * allocate.c: s/return (foo)/return foo/.
2330 * lalr.c: Likewise.
2331 * LR0.c: Likewise.
2332 * output.c: Likewise.
2333 * reader.c: Likewise.
2334 * symtab.c: Likewise.
2335 * vmsgetargs.c: Likewise.
2336
23372000-03-31 Akim Demaille <akim@epita.fr>
2338
2339 Clean up the error reporting functions.
a0f6b076
AD
2340
2341 * src/report.c: New file.
2342 * src/report.h: Likewise.
2343 * src/Makefile.am: Adjust.
2344 * m4/error.m4: New file.
2345 * m4/Makefile.am: Adjust.
2346 * configure.in (jm_PREREQ_ERROR): Call it.
2347 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2348 Remove.
2349 (fatal, fatals): Remove. All callers use complain.c::fatal.
2350 (warn, warni, warns, warnss, warnss): Remove. All callers use
2351 complain.c::complain.
2352 (toomany): Remove, use fatal instead.
2353 * src/files.c (done): No argument, use complain_message_count.
2354 * src/main.c (main): Register `done' to `atexit'.
2355
2356 * src/getargs.c (usage): More `fputs', less `fprintf'.
2357
18539825
AD
23582000-03-28 Akim Demaille <akim@epita.fr>
2359
2360 * lib/: New directory.
2361 * Makefile.am (SUBDIRS): Adjust.
2362 * configure.in: Adjust.
2363 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2364 useless.
2365 * src/alloca.c: Moved to lib/.
2366 * src/getopt.c: Likewise.
2367 * src/getopt1.c: Likewise.
2368 * src/getopt.h: Likewise.
2369 * src/ansi2knr.c: Likewise.
2370 * src/ansi2knr.1: Likewise.
2371 * src/Makefile.am: Adjust.
2372 * lib/Makefile.am: New file.
2373
9f306f2a
AD
23742000-03-28 Akim Demaille <akim@epita.fr>
2375
2376 * src/getargs.c (usage): Refresh the help message.
2377
0ba347b6
AD
23782000-03-17 Akim Demaille <akim@epita.fr>
2379
2380 * src/getopt1.c: Updated from textutils 2.0e
2381 * src/getopt.c: Likewise.
2382 * src/getopt.h: Likewise.
2383
dbe7f271
AD
23842000-03-17 Akim Demaille <akim@epita.fr>
2385
2386 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2387 the file name, not the whole `#line LINE FILE'.
2388
75bbe78d
AD
23892000-03-17 Akim Demaille <akim@epita.fr>
2390
2391 On syntax errors, report the token on which we choked.
2392
aa5fd0ee
AD
2393 * src/bison.s1 (yyparse): In the label yyerrlab, when
2394 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2395
7b306f52
AD
23962000-03-17 Akim Demaille <akim@epita.fr>
2397
aa5fd0ee 2398 * src/reader.c (copy_at): New function.
7b306f52
AD
2399 (copy_guard): Use it.
2400 (copy_action): Use it.
2401
e87b5700
AD
24022000-03-17 Akim Demaille <akim@epita.fr>
2403
2404 Be kind to translators, save some useless translations.
2405
aa5fd0ee 2406 * src/main.c (banner): New function.
e87b5700
AD
2407 (fatal_banner): Use it.
2408 (warn_banner): Use it.
2409
ae3c3164
AD
24102000-03-17 Akim Demaille <akim@epita.fr>
2411
aa5fd0ee
AD
2412 * src/reader.c (copy_definition): Use copy_string and
2413 copy_comment. Removed now unused `match', `ended',
2414 `cplus_comment'.
ae3c3164
AD
2415 (copy_comment, copy_string): Moved, to be visible from
2416 copy_definition.
2417
4dc58e7c
AD
24182000-03-17 Akim Demaille <akim@epita.fr>
2419
aa5fd0ee
AD
2420 * src/reader.c (copy_string): Declare `static inline'. No
2421 problems with inline, since it is checked by configure.
4dc58e7c
AD
2422 (copy_comment): Likewise.
2423
0a6384c4
AD
24242000-03-17 Akim Demaille <akim@epita.fr>
2425
aa5fd0ee 2426 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2427
3cef001a
AD
24282000-03-17 Akim Demaille <akim@epita.fr>
2429
aa5fd0ee 2430 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2431 (copy_action): Use it. Removed now unused `match', `ended',
2432 `cplus_comment'.
2433 (copy_guard): Likewise.
2434
ca36d2ef
AD
24352000-03-17 Akim Demaille <akim@epita.fr>
2436
aa5fd0ee 2437 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2438 (copy_action): Use it.
2439 (copy_guard): Likewise.
2440
6666f98f
AD
24412000-03-17 Akim Demaille <akim@epita.fr>
2442
2443 Change the handling of @s so that they behave exactly like $s.
2444 There is now a pseudo variable @$ (readble and writable), location
2445 of the lhs of the rule (by default ranging from the location of
2446 the first symbol of the rhs, to the location of the last symbol,
2447 or, if the rhs is empty, YYLLOC).
2448
2449 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2450 yyval.
2451 (yyparse): When providing a default semantic action, provide a
2452 default location action.
2453 (after the $): No longer change `*YYLSP', just stack YYLOC the
2454 same way you stack YYVAL.
2455 * src/reader.c (read_declarations): Use warns.
2456 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2457 (copy_action, case '@'): Likewise.
2458 Use a standard error message, to save useless work from
2459 translators.
2460
41aca2e0
AD
24612000-03-17 Akim Demaille <akim@epita.fr>
2462
aa5fd0ee
AD
2463 * src/bison.s1: Formatting and cosmetics changes.
2464 * src/reader.c: Likewise.
41aca2e0
AD
2465 Update the Copyright notice.
2466
dc08c1d5
AD
24672000-03-17 Akim Demaille <akim@epita.fr>
2468
aa5fd0ee
AD
2469 * src/bison.s1 (#line): All set to `#line' only, since the
2470 Makefile now handles them.
dc08c1d5 2471
9ee3c97b
AD
24722000-03-16 Akim Demaille <akim@epita.fr>
2473
2474 * src/output.c (output_rule_data): Output the documentation of
2475 some of the tables.
2476 (Copyright notice): Update.
2477 Formatting changes.
2478
0de741ca
AD
24792000-03-16 Akim Demaille <akim@epita.fr>
2480
2481 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2482 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2483 One `#if YYDEBUG' remains, since it uses variables which are
2484 defined only if `YYDEBUG != 0'.
2485
bb10be54
AD
24862000-03-16 Akim Demaille <akim@epita.fr>
2487
2488 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2489 and related variables so that the similarities are highlighted.
2490
b07b484a
AD
24912000-03-16 Akim Demaille <akim@epita.fr>
2492
2493 * src/bison.s1: Properly indent CPP directives.
2494
361f60b3
AD
24952000-03-16 Akim Demaille <akim@epita.fr>
2496
2497 * src/bison.s1: Properly indent the `alloca' CPP section.
2498
8c44d3ec
AD
24992000-03-16 Akim Demaille <akim@epita.fr>
2500
2501 Do not hard code values of directories in `configure.in'.
2502 Update the `configure' tool chain.
2503
2504 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2505 src/makefile.am.
2506 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2507 (AC_OUTPUT): Add m4/Makefile.
2508 Bump to bison 1.28a, 1.29 has never been released.
2509 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2510 handled via src/Makefile.am.
2511 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2512 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2513 autoheader.
2514 * Makefile.am (SUBDIRS): Add m4.
2515 (ACLOCAL_AM_FLAGS): New variable.
2516 (AUTOMAKE_OPTIONS): Add check-news.
2517 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2518 the proper line number and file name.
2519 (DEFS): Propagate the location of bison library files and of the
2520 locale files.
2521 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2522 builddir.
2523 * acinclude.m4: Remove, replaced by the directory m4.
2524 * m4/Makefile.am (EXTRA_DIST): New variable.
2525 * m4/gettext.m4: New file, from the fileutils.
2526 * m4/lcmessage.m4: Likewise
2527 * m4/progtest.m4: Likewise.
2528 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2529
f95997e7
AD
25302000-03-10 Akim Demaille <akim@epita.fr>
2531
2532 * src/closure.c:
2533 Formatting changes of various comments.
2534 Respect the GNU coding standards at various places.
2535 Don't use `_()' when no translation is needed.
2536
25371999-12-13 Jesse Thilo <jthilo@gnu.org>
2538
2539 * src/files.c:
2540 OS/2 honors TMPDIR environment variable.
2541
25421999-12-13 Jesse Thilo <jthilo@gnu.org>
2543
2544 * doc/bison.texinfo: Tweaked spelling and grammar.
2545 Updated ISBN.
2546 Removed reference to price of printed copy.
2547 Mention BISON_SIMPLE and BISON_HAIRY.
2548
25491999-12-13 Jesse Thilo <jthilo@gnu.org>
2550
2551 * configure.in, NEWS:
2552 Bison 1.29 released.
2553
25541999-10-27 Jesse Thilo <jthilo@gnu.org>
2555
2556 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2557 Added reference card.
2558
25591999-07-26 Jesse Thilo <jthilo@gnu.org>
2560
2561 * po/ru.po: Added Russian translation.
2562
25631999-07-26 Jesse Thilo <jthilo@gnu.org>
2564
2565 * configure.in: Added Russian translation.
2566
25671999-07-06 Jesse Thilo <jthilo@gnu.org>
2568
2569 * configure.in, NEWS, README:
2570 Released version 1.28.
2571
25721999-06-14 Jesse Thilo <jthilo@gnu.org>
2573
2574 * src/system.h:
2575 Squashed redefinition warning on some systems.
2576
2577 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2578 Have configure build version string instead of relying on ANSI string
2579 concatentation.
2580
25811999-06-14 Jesse Thilo <jthilo@gnu.org>
2582
2583 * po/POTFILES.in: Got rid of version.c.
2584
25851999-06-14 Jesse Thilo <jthilo@gnu.org>
2586
2587 * acconfig.h, configure.in:
2588 Have configure build version string instead of relying on ANSI string
2589 concatentation.
2590
25911999-06-08 Jesse Thilo <jthilo@gnu.org>
2592
2593 * doc/bison.1:
2594 Dropped mention of `+' for long-named options.
2595
25961999-05-30 Jesse Thilo <jthilo@gnu.org>
2597
2598 * src/files.c: Added <unistd.h> for unlink().
2599
2600 * src/Makefile.am, src/system.h:
2601 I18n fixes.
2602
26031999-05-30 Jesse Thilo <jthilo@gnu.org>
2604
2605 * README: Added a FAQ list.
2606
2607 * configure.in, acconfig.h:
2608 I18n fixes.
2609
26101999-05-30 Jesse Thilo <jthilo@gnu.org>
2611
2612 * doc/FAQ, doc/Makefile.am:
2613 Added a FAQ list.
2614
26151999-05-19 Jesse Thilo <jthilo@gnu.org>
2616
2617 * src/alloc.h, src/symtab.h, src/version.c:
2618 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2619
26201999-04-18 Jesse Thilo <jthilo@gnu.org>
2621
2622 * src/.cvsignore, src/Makefile.am:
2623 Reorganized: sources in `src', documentation in `doc'.
2624
2625 * src/lex.c (literalchar):
2626 fixed the code for escaping double quotes (thanks
2627 Jonathan Czisny.)
2628
26291999-04-18 Jesse Thilo <jthilo@gnu.org>
2630
2631 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2632 Adjusted paths to reflect directory reorganization.
2633
26341999-04-18 Jesse Thilo <jthilo@gnu.org>
2635
2636 * doc/.cvsignore, doc/Makefile.am:
2637 Reorganized: sources in `src', documentation in `doc'.
2638
26391999-04-18 Jesse Thilo <jthilo@gnu.org>
2640
2641 * configure.in:
2642 Updated AC_INIT file to reflect directory reorganization.
2643
2644 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2645 Reorganized: sources in `src', documentation in `doc'.
2646
26471999-04-13 Jesse Thilo <jthilo@gnu.org>
2648
2649 * src/allocate.c:
2650 Don't declare calloc() and realloc() if not necessary.
2651
26521999-04-13 Jesse Thilo <jthilo@gnu.org>
2653
2654 * configure.in, acconfig.h, acinclude.m4:
2655 Don't declare calloc() and realloc() if not necessary.
2656
26571999-03-23 Jesse Thilo <jthilo@gnu.org>
2658
2659 * po/.cvsignore: Added i18n support.
2660
26611999-03-23 Jesse Thilo <jthilo@gnu.org>
2662
2663 * acconfig.h, configure.in, Makefile.am:
2664 Added i18n support.
2665
26661999-03-22 Jesse Thilo <jthilo@gnu.org>
2667
2668 * src/bison.s1: Fixed #line numbers.
2669
26701999-03-15 Jesse Thilo <jthilo@gnu.org>
2671
2672 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2673 Added PO files from Translation Project.
2674
26751999-03-03 Jesse Thilo <jthilo@gnu.org>
2676
2677 * Makefile.am:
2678 Added support for non-ANSI compilers (ansi2knr).
2679
26801999-02-16 Jesse Thilo <jthilo@gnu.org>
2681
2682 * configure.in: Bumped version number to 1.27.
2683
2684 * Makefile.am:
2685 Added `bison.simple' to list of files removed by `make distclean'.
2686
26871999-02-12 Jesse Thilo <jthilo@gnu.org>
2688
2689 * src/files.c, src/files.h:
2690 Defined locations of parser files in config.h instead of Makefile.
2691
26921999-02-12 Jesse Thilo <jthilo@gnu.org>
2693
2694 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2695 Defined locations of parser files in config.h instead of Makefile.
2696
26971999-02-09 Jesse Thilo <jthilo@gnu.org>
2698
2699 * Makefile.am:
2700 Removed inappropriate use of $< macro.
2701
27021999-02-05 Jesse Thilo <jthilo@gnu.org>
2703
2704 * po/Makefile.in.in, po/POTFILES.in:
2705 Add `po' directory skeleton.
2706
27071999-01-27 Jesse Thilo <jthilo@gnu.org>
2708
2709 * README: Document help-bison list.
2710
2711 * configure.in: Add check for mkstemp().
2712
27131999-01-20 Jesse Thilo <jthilo@gnu.org>
2714
2715 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2716 Hush a few compiler warnings.
2717
2718 * src/files.c:
2719 Add tryclose(), which verifies that fclose was successful.
2720 Hush a couple of compiler warnings.
2721
27221999-01-20 Jesse Thilo <jthilo@gnu.org>
2723
2724 * Makefile.am, OChangeLog:
2725 ChangeLog is now automatically generated. Include the old version as
2726 OChangeLog.
2727
27281999-01-14 Jesse Thilo <jthilo@gnu.org>
2729
2730 * 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:
2731 Update FSF address.
2732
27331999-01-14 Jesse Thilo <jthilo@gnu.org>
2734
2735 * doc/bison.texinfo: Fix formatting glitch.
2736
2737 * doc/bison.texinfo: Update FSF address.
2738
27391999-01-14 Jesse Thilo <jthilo@gnu.org>
2740
2741 * acconfig.h: Update FSF address.
2742
27431999-01-08 Jesse Thilo <jthilo@gnu.org>
2744
2745 * src/system.h:
2746 Don't define PACKAGE here, since config.h defines it.
2747
27481998-12-30 Jesse Thilo <jthilo@gnu.org>
2749
2750 * src/reader.c: Update copyright date.
2751
2752 * src/main.c:
2753 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2754 favor of output directly to stderr (avoids buffer overruns).
2755
2756 * src/reader.c: Some checks for premature EOF.
2757
2758 * 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:
2759 Use prototypes if the compiler understands them.
2760
2761 * src/files.c: Honor TMPDIR on Unix hosts.
2762 Use prototypes if the compiler understands them.
2763
2764 * src/reader.c:
2765 Fix a couple of buffer overrun bugs.
2766 Use prototypes if the compiler understands them.
2767
2768 * src/system.h: Include unistd.h and ctype.h.
2769 Use #ifdef instead of #if for NLS symbols.
2770
27711998-12-30 Jesse Thilo <jthilo@gnu.org>
2772
2773 * doc/bison.texinfo:
2774 Delete comment "consider using @set for edition number, etc..." since
2775 we now are doing so.
2776
27771998-12-30 Jesse Thilo <jthilo@gnu.org>
2778
2779 * configure.in:
2780 Use prototypes if the compiler understands them.
2781
2782 * NEWS: Document 1.26 highlights.
2783
2784 * Makefile.am: Require Automake 1.3 or later.
2785
2786 * acconfig.h:
2787 Use prototypes if the compiler understands them.
2788
27891998-12-29 Jesse Thilo <jthilo@gnu.org>
2790
2791 * src/version.c:
2792 Use VERSION symbol from automake for version number.
2793
27941998-12-29 Jesse Thilo <jthilo@gnu.org>
2795
2796 * acconfig.h, configure.in, version.cin:
2797 Use VERSION symbol from automake for version number.
2798
27991998-11-28 Jesse Thilo <jthilo@gnu.org>
2800
2801 * Makefile.am:
2802 Distribute original version of simple parser (bison.s1), not built
2803 version (bison.simple).
2804
28051998-11-28 Jesse Thilo <jthilo@gnu.org>
2806
2807 * doc/bison.texinfo: Add info dir entry.
2808
2809 * doc/bison.texinfo:
2810 Let automake put version number into documentation.
2811
28121998-11-26 Jesse Thilo <jthilo@gnu.org>
2813
2814 * src/bison.cld, src/build.com, src/vmshlp.mar:
2815 Add non-RCS files from /gd/gnu/bison.
2816
28171998-11-26 Jesse Thilo <jthilo@gnu.org>
2818
2819 * doc/bison.1:
2820 Document the BISON_HAIRY and BISON_SIMPLE variables.
2821
28221998-11-25 Jesse Thilo <jthilo@gnu.org>
2823
2824 * src/version.c: Build version.c automatically.
2825
2826 * src/reader.c:
2827 Fix token numbering (used to start at 258, not 257).
2828
2829 * src/system.h: Include config.h.
2830
2831 * src/getargs.c: Update bug report address.
2832
2833 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2834 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2835
28361998-11-25 Jesse Thilo <jthilo@gnu.org>
2837
2838 * Makefile.am:
2839 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2840
2841 * configure.in, version.cin:
2842 Build version.c automatically.
2843
2844 * AUTHORS: Add AUTHORS file.
2845
2846 * README: Update bug report address.
2847
2848 * bison.simple:
2849 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2850
2851 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2852 Add automake stuff.
2853
28541998-11-25 Jesse Thilo <jthilo@gnu.org>
2855
2856 * doc/bison.texinfo: Clean up some formatting.
2857
28581998-05-05 Richard Stallman <rms@gnu.org>
2859
2860 * doc/bison.texinfo:
2861 Explain better why to make a pure parser.
2862
28631998-01-05 Richard Stallman <rms@gnu.org>
2864
2865 * src/files.c (openfiles):
2866 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2867 find a temporary directory, if possible. Do not unlink files while
2868 they are open.
2869
28701997-08-25 Richard Stallman <rms@gnu.org>
2871
2872 * src/reader.c (stack_offset;):
2873 Change some warni to warns.
2874
2875 * src/lex.c (literalchar): Use warns, not warni.
2876
28771997-06-28 Richard Stallman <rms@gnu.org>
2878
2879 * src/bison.s1: Add a Bison version comment.
2880
2881 * src/main.c (fatal, warn, berror):
2882 Use program_name.
2883
28841997-06-28 Richard Stallman <rms@gnu.org>
2885
2886 * Makefile.in (bison_version): New variable.
2887 (dist): Use that variable.
2888 (bison.s1): Substitute the Bison version into bison.simple.
2889
2890 * bison.simple: Add a Bison version comment.
2891
28921997-06-18 Richard Stallman <rms@gnu.org>
2893
2894 * src/main.c (fatal, warn, berror):
2895 Make error messages standard.
2896 (toomany): Improve error message text.
2897
2898 * 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:
2899 new.h renamed to alloc.h.
2900
29011997-06-18 Richard Stallman <rms@gnu.org>
2902
2903 * Makefile.in: new.h renamed to alloc.h.
2904
29051997-05-24 Richard Stallman <rms@gnu.org>
2906
2907 * src/lex.c (literalchar):
2908 Fix the code for escaping \, " and '.
2909
2910 (lex): Avoid trouble when there are many chars
2911 to discard in a char literal with just several chars in it.
2912
29131997-05-17 Richard Stallman <rms@gnu.org>
2914
2915 * src/bison.s1:
2916 Use malloc, if using alloca is troublesome.
2917 (YYSTACK_USE_ALLOCA): New flag macro.
2918 Define it for some systems and compilers.
2919 (YYSTACK_ALLOC): New macro.
2920 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2921 If it was malloc'd, free it.
2922
29231997-05-17 Richard Stallman <rms@gnu.org>
2924
2925 * bison.simple:
2926 Use malloc, if using alloca is troublesome.
2927 (YYSTACK_USE_ALLOCA): New flag macro.
2928 Define it for some systems and compilers.
2929 (YYSTACK_ALLOC): New macro.
2930 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2931 If it was malloc'd, free it.
2932
29331997-04-23 Richard Stallman <rms@gnu.org>
2934
2935 * src/bison.s1:
2936 (alloca) [__hpux]: Always define as __builtin_alloca.
2937
29381997-04-23 Richard Stallman <rms@gnu.org>
2939
2940 * bison.simple:
2941 (alloca) [__hpux]: Always define as __builtin_alloca.
2942
29431997-04-22 Richard Stallman <rms@gnu.org>
2944
2945 * src/bison.s1:
2946 [__hpux]: Include alloca.h (right for HPUX 10)
2947 instead of declaring alloca (right for HPUX 9).
2948
2949 * src/bison.s1 (__yy_memcpy):
2950 Declare arg `count' as unsigned int.
2951 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2952
29531997-04-22 Richard Stallman <rms@gnu.org>
2954
2955 * bison.simple:
2956 [__hpux]: Include alloca.h (right for HPUX 10)
2957 instead of declaring alloca (right for HPUX 9).
2958
2959 * bison.simple (__yy_memcpy):
2960 Declare arg `count' as unsigned int.
2961 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2962
29631997-01-03 Richard Stallman <rms@gnu.org>
2964
2965 * src/allocate.c: [__STDC__ or _MSC_VER]:
2966 Declare calloc and realloc to return void *.
2967
29681997-01-02 Richard Stallman <rms@gnu.org>
2969
2970 * src/system.h:
2971 [_MSC_VER]: Include stdlib.h and process.h.
2972 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2973
2974 * src/main.c (main): Return FAILURE as a value.
2975 (printable_version): Declare arg as int, not char.
2976
29771997-01-02 Richard Stallman <rms@gnu.org>
2978
2979 * Makefile.in (dist):
2980 Explicitly check for symlinks, and copy them.
2981
29821996-12-19 Richard Stallman <rms@gnu.org>
2983
2984 * src/files.c:
2985 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2986
29871996-12-18 Paul Eggert <eggert@gnu.org>
2988
2989 * src/bison.s1 (yyparse):
2990 If __GNUC__ and YYPARSE_PARAM are both defined,
2991 declare yyparse to have a void * argument.
2992
29931996-12-18 Paul Eggert <eggert@gnu.org>
2994
2995 * bison.simple (yyparse):
2996 If __GNUC__ and YYPARSE_PARAM are both defined,
2997 declare yyparse to have a void * argument.
2998
29991996-12-17 Richard Stallman <rms@gnu.org>
3000
3001 * src/reduce.c (nbits): Add some casts.
3002
30031996-08-12 Richard Stallman <rms@gnu.org>
3004
3005 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3006
30071996-08-12 Richard Stallman <rms@gnu.org>
3008
3009 * bison.simple: Test _MSDOS as well as _MSDOS_.
3010
30111996-07-31 Richard Stallman <rms@gnu.org>
3012
3013 * src/bison.s1:
3014 [__sun && __i386]: Include alloca.h.
3015
30161996-07-31 Richard Stallman <rms@gnu.org>
3017
3018 * bison.simple:
3019 [__sun && __i386]: Include alloca.h.
3020
30211996-07-30 Richard Stallman <rms@gnu.org>
3022
3023 * src/bison.s1: Comment change.
3024
3025 * src/bison.s1: Test _MSDOS_, not MSDOS.
3026
30271996-07-30 Richard Stallman <rms@gnu.org>
3028
3029 * bison.simple: Comment change.
3030
3031 * bison.simple: Test _MSDOS_, not MSDOS.
3032
30331996-06-01 Richard Stallman <rms@gnu.org>
3034
3035 * 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:
3036 Insert `_' macro around many string constants.
3037
3038 * src/main.c:
3039 Insert `_' macro around many string constants.
3040
3041 (main): Call setlocale, bindtextdomain and textdomain.
3042
3043 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3044 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3045 [ENABLE_NLS]: Include libintl.h.
3046 [ENABLE_NLS] (gettext): Define.
3047 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3048 (N_, PACKAGE, LOCALEDIR): New macros.
3049
30501996-06-01 Richard Stallman <rms@gnu.org>
3051
3052 * POTFILES.in: New file.
3053
3054 * Makefile.in (allocate.o):
3055 Define target explicitly.
3056
3057 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3058 (LDFLAGS): Set to @LDFLAGS@.
3059 (configure): Run autoconf only if preceding `cd' succeeds.
3060 (bison.s1): Redirect output to temporary file then move the
3061 temporary to the target, rather than redirecting directly to bison.s1.
3062 (clean): Remove config.status and config.log.
3063 (distclean): Don't remove config.status here.
3064
30651996-05-12 Richard Stallman <rms@gnu.org>
3066
3067 * src/bison.s1:
3068 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3069
30701996-05-12 Richard Stallman <rms@gnu.org>
3071
3072 * bison.simple:
3073 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3074
30751996-05-11 Richard Stallman <rms@gnu.org>
3076
3077 * src/bison.s1 (__yy_memcpy):
3078 Really reorder the args, as was supposedly done on Feb 14 1995.
3079 (yyparse): Calls changed accordingly.
3080
30811996-05-11 Richard Stallman <rms@gnu.org>
3082
3083 * Makefile.in (dist): Don't use $(srcdir).
3084
3085 * bison.simple (__yy_memcpy):
3086 Really reorder the args, as was supposedly done on Feb 14 1995.
3087 (yyparse): Calls changed accordingly.
3088
30891996-01-27 Richard Stallman <rms@gnu.org>
3090
3091 * src/output.c (output_rule_data):
3092 Test YYERROR_VERBOSE in the conditional
3093 around the definition of ttyname.
3094
30951995-12-29 Richard Stallman <rms@gnu.org>
3096
3097 * src/bison.s1:
3098 Fix line numbers in #line commands.
3099
31001995-12-29 Richard Stallman <rms@gnu.org>
3101
3102 * bison.simple:
3103 Fix line numbers in #line commands.
3104
31051995-12-27 Richard Stallman <rms@gnu.org>
3106
3107 * src/bison.s1 (YYPARSE_PARAM_DECL):
3108 In C++, make it always null.
3109 (YYPARSE_PARAM_ARG): New macro.
3110 (yyparse): Use YYPARSE_PARAM_ARG.
3111
31121995-12-27 Richard Stallman <rms@gnu.org>
3113
3114 * bison.simple (YYPARSE_PARAM_DECL):
3115 In C++, make it always null.
3116 (YYPARSE_PARAM_ARG): New macro.
3117 (yyparse): Use YYPARSE_PARAM_ARG.
3118
31191995-11-29 Richard Stallman <rms@gnu.org>
3120
3121 * doc/bison.texinfo:
3122 Describe literal string tokens, %raw, %no_lines, %token_table.
3123
31241995-11-29 Daniel Hagerty <hag@gnu.org>
3125
3126 * doc/bison.texinfo: Fixed update date
3127
31281995-10-16 Richard Stallman <rms@gnu.org>
3129
3130 * src/version.c: Version 1.25.
3131
31321995-10-16 Richard Stallman <rms@gnu.org>
3133
3134 * NEWS: *** empty log message ***
3135
31361995-10-16 Richard Stallman <rms@gnu.org>
3137
3138 * doc/bison.1, doc/bison.rnh:
3139 Add new options.
3140
31411995-10-15 Richard Stallman <rms@gnu.org>
3142
3143 * src/vmsgetargs.c, src/getargs.c:
3144 Added -n, -k, and -raw switches.
3145 (noparserflag, toknumflag, rawtoknumflag): New variables.
3146
3147 * src/symtab.h (SALIAS):
3148 New #define for adding aliases to %token.
3149 (struct bucket): Added `alias' field.
3150
3151 * src/reduce.c (reduce_grammar):
3152 Revise error message.
3153 (print_notices): Remove final `.' from error message.
3154
3155 * src/reader.c (reader_output_yylsp):
3156 New function.
3157 (readgram): Use `#if 0' around code that accepted %command
3158 inside grammar rules: The documentation doesn't allow it,
3159 and it will fail since the %command processors scan for the next %.
3160 (parse_token_decl): Extended the %token
3161 declaration to allow a multi-character symbol as an alias.
3162 (parse_thong_decl): New function.
3163 (read_declarations): Added %thong declarations.
3164 (read_declarations): Handle NOOP to deal with allowing
3165 % declarations as another means to specify the flags.
3166 (readgram): Allow %prec prior to semantics embedded in a rule.
3167 (skip_to_char, read_declarations, copy_definition)
3168 (parse_token_decl, parse_start_decl, parse_type_decl)
3169 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3170 (get_type_name, copy_guard, copy_action, readgram)
3171 (get_type, packsymbols): Revised most error messages.
3172 Changed `fatal' to `warnxxx' to avoid aborting for error.
3173 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3174 (read_declarations): Improve the error message for
3175 an invalid character. Do not abort.
3176 (read_declarations, copy_guard, copy_action): Use
3177 printable_version to avoid unprintable characters in printed output.
3178 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3179 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3180 Allow the type of a non-terminal can be given
3181 more than once, as long as all specifications give the same type.
3182
3183 * src/output.c:
3184 (output_headers, output_trailers, output, output_gram)
3185 (output_rule_data): Implement noparserflag variable.
3186 Implement toknumflag variable.
3187 (output): Call reader_output_yylsp to output LTYPESTR.
3188
3189 * src/main.c (main):
3190 If reader sees an error, don't process the grammar.
3191 (fatals): Updated to not use VARARGS1.
3192 (printable_version, int_to_string, warn, warni, warns, warnss)
3193 (warnsss): New error reporting functions. Avoid abort for error.
3194
3195 * src/lex.h:
3196 Added THONG and NOOP for alias processing.
3197 Added SETOPT for the new code that allows setting options with %flags.
3198
3199 * src/lex.c:
3200 Include getopt.h. Add some extern decls.
3201 (safegetc): New function to deal with EOF gracefully.
3202 (literalchar); new function to deal with reading \ escapes.
3203 (lex): Use literalchar.
3204 (lex): Implemented "..." tokens.
3205 (literalchar, lex, parse_percent_token): Made tokenbuffer
3206 always contain the token. This includes growing the token
3207 buffer while reading an integer.
3208 (parse_percent_token): Replaced if-else statement with percent_table.
3209 (parse_percent_token): Added % declarations as another
3210 way to specify the flags -n, -l, and -r. Also added hooks for
3211 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3212 major changes to files.c.
3213 (lex) Retain in the incoming stream a character following
3214 an incorrect '/'.
3215 (skip_white_space, lex): Revised most error messages
3216 and changed fatal to warn to avoid aborting.
3217 (percent_table): Added %thong declarations.
3218
3219 * src/gram.h: Comment changes.
3220
3221 * src/files.c (openfiles, open_extra_files, done):
3222 Add faction flag
3223 and actfile file. Handle noparserflag. Both for -n switch.
3224
3225 * src/conflicts.c (resolve_sr_conflict):
3226 Remove use of alloca.
3227
32281995-06-01 Jim Meyering <meyering@gnu.org>
3229
3230 * doc/bison.texinfo: *** empty log message ***
3231
32321995-05-06 Richard Stallman <rms@gnu.org>
3233
3234 * src/bison.s1: Comment change.
3235
32361995-05-06 Richard Stallman <rms@gnu.org>
3237
3238 * bison.simple: Comment change.
3239
32401995-05-03 Richard Stallman <rms@gnu.org>
3241
3242 * src/version.c: Version now 1.24.
3243
3244 * src/bison.s1: Change distribution terms.
3245
3246 * src/version.c: Version now 1.23.
3247
32481995-05-03 Richard Stallman <rms@gnu.org>
3249
3250 * doc/bison.texinfo:
3251 Rewrite "Conditions for Using Bison".
3252 Update version to 1.24.
3253
32541995-05-03 Richard Stallman <rms@gnu.org>
3255
3256 * bison.simple: Change distribution terms.
3257
32581995-02-23 Richard Stallman <rms@gnu.org>
3259
3260 * src/files.c: Test __VMS_POSIX as well as VMS.
3261
32621995-02-14 Jim Meyering <meyering@gnu.org>
3263
3264 * src/bison.s1 (__yy_memcpy):
3265 Renamed from __yy_bcopy to avoid
3266 confusion. Reverse FROM and TO arguments to be consistent with
3267 those of memcpy.
3268
32691995-02-14 Jim Meyering <meyering@gnu.org>
3270
3271 * bison.simple (__yy_memcpy):
3272 Renamed from __yy_bcopy to avoid
3273 confusion. Reverse FROM and TO arguments to be consistent with
3274 those of memcpy.
3275
32761994-11-10 David J. MacKenzie <djm@gnu.org>
3277
3278 * NEWS: reformat
3279
3280 * NEWS: New file.
3281
3282 * Makefile.in (DISTFILES): Include NEWS.
3283
3284 * Makefile.in (DISTFILES):
3285 Include install-sh, not install.sh.
3286
3287 * configure.in: Update to Autoconf v2 macro names.
3288
32891994-10-05 David J. MacKenzie <djm@gnu.org>
3290
3291 * Makefile.in: fix typo
3292
3293 * Makefile.in (prefix, exec_prefix):
3294 Let configure set them.
3295
32961994-09-28 David J. MacKenzie <djm@gnu.org>
3297
3298 * Makefile.in: Set datadir to $(prefix)/share.
3299
33001994-09-15 Richard Stallman <rms@gnu.org>
3301
3302 * src/bison.s1:
3303 Update copyright notice and GPL version.
3304
33051994-09-15 Richard Stallman <rms@gnu.org>
3306
3307 * bison.simple:
3308 Update copyright notice and GPL version.
3309
33101994-07-12 Richard Stallman <rms@gnu.org>
3311
3312 * src/reduce.c, src/reader.c:
3313 entered into RCS
3314
33151994-05-05 David J. MacKenzie <djm@gnu.org>
3316
3317 * Makefile.in: entered into RCS
3318
33191994-03-26 Richard Stallman <rms@gnu.org>
3320
3321 * src/bison.s1: entered into RCS
3322
33231994-03-26 Richard Stallman <rms@gnu.org>
3324
3325 * bison.simple: entered into RCS
3326
33271994-03-25 Richard Stallman <rms@gnu.org>
3328
3329 * src/main.c: entered into RCS
3330
33311994-03-24 Richard Stallman <rms@gnu.org>
3332
3333 * src/conflicts.c: entered into RCS
3334
33351994-01-02 Richard Stallman <rms@gnu.org>
3336
3337 * Makefile.in: *** empty log message ***
3338
33391993-11-21 Richard Stallman <rms@gnu.org>
3340
3341 * src/bison.s1: *** empty log message ***
3342
33431993-11-21 Richard Stallman <rms@gnu.org>
3344
3345 * doc/bison.texinfo: entered into RCS
3346
3347 * doc/bison.texinfo: *** empty log message ***
3348
33491993-11-21 Richard Stallman <rms@gnu.org>
3350
3351 * bison.simple: *** empty log message ***
3352
33531993-10-25 David J. MacKenzie <djm@gnu.org>
3354
3355 * doc/bison.texinfo: *** empty log message ***
3356
33571993-10-19 Richard Stallman <rms@gnu.org>
3358
3359 * src/bison.s1: *** empty log message ***
3360
33611993-10-19 Richard Stallman <rms@gnu.org>
3362
3363 * bison.simple: *** empty log message ***
3364
33651993-10-14 Richard Stallman <rms@gnu.org>
3366
3367 * src/bison.s1: *** empty log message ***
3368
33691993-10-14 Richard Stallman <rms@gnu.org>
3370
3371 * bison.simple: *** empty log message ***
3372
33731993-09-14 David J. MacKenzie <djm@gnu.org>
3374
3375 * doc/bison.texinfo: *** empty log message ***
3376
33771993-09-13 Noah Friedman <friedman@gnu.org>
3378
3379 * Makefile.in: *** empty log message ***
3380
33811993-09-10 Richard Stallman <rms@gnu.org>
3382
3383 * src/conflicts.c: *** empty log message ***
3384
3385 * src/system.h: entered into RCS
3386
33871993-09-10 Richard Stallman <rms@gnu.org>
3388
3389 * doc/bison.1: entered into RCS
3390
33911993-09-06 Noah Friedman <friedman@gnu.org>
3392
3393 * src/version.c: entered into RCS
3394
33951993-09-06 Noah Friedman <friedman@gnu.org>
3396
3397 * Makefile.in: *** empty log message ***
3398
33991993-07-30 David J. MacKenzie <djm@gnu.org>
3400
3401 * Makefile.in: *** empty log message ***
3402
34031993-07-24 Richard Stallman <rms@gnu.org>
3404
3405 * src/bison.s1: *** empty log message ***
3406
34071993-07-24 Richard Stallman <rms@gnu.org>
3408
3409 * bison.simple: *** empty log message ***
3410
34111993-07-08 David J. MacKenzie <djm@gnu.org>
3412
3413 * Makefile.in: *** empty log message ***
3414
34151993-07-04 Richard Stallman <rms@gnu.org>
3416
3417 * src/bison.s1: *** empty log message ***
3418
34191993-07-04 Richard Stallman <rms@gnu.org>
3420
3421 * bison.simple: *** empty log message ***
3422
34231993-06-26 David J. MacKenzie <djm@gnu.org>
3424
3425 * src/getargs.c: entered into RCS
3426
34271993-06-26 David J. MacKenzie <djm@gnu.org>
3428
3429 * doc/bison.texinfo: *** empty log message ***
3430
3431 * doc/bison.1: New file.
3432
34331993-06-25 Richard Stallman <rms@gnu.org>
3434
3435 * src/getargs.c: New file.
3436
34371993-06-16 Richard Stallman <rms@gnu.org>
3438
3439 * src/bison.s1: *** empty log message ***
3440
34411993-06-16 Richard Stallman <rms@gnu.org>
3442
3443 * bison.simple: *** empty log message ***
3444
34451993-06-03 Richard Stallman <rms@gnu.org>
3446
3447 * src/bison.s1: New file.
3448
34491993-06-03 Richard Stallman <rms@gnu.org>
3450
3451 * doc/bison.texinfo: *** empty log message ***
3452
34531993-06-03 Richard Stallman <rms@gnu.org>
3454
3455 * bison.simple: New file.
3456
34571993-05-19 Richard Stallman <rms@gnu.org>
3458
3459 * doc/bison.texinfo: New file.
3460
34611993-05-07 Noah Friedman <friedman@gnu.org>
3462
3463 * Makefile.in: *** empty log message ***
3464
34651993-04-28 Noah Friedman <friedman@gnu.org>
3466
3467 * src/reader.c: *** empty log message ***
3468
34691993-04-23 Noah Friedman <friedman@gnu.org>
3470
3471 * src/alloc.h: entered into RCS
3472
34731993-04-20 David J. MacKenzie <djm@gnu.org>
3474
3475 * src/version.c: *** empty log message ***
3476
3477 * src/files.c, src/allocate.c:
3478 entered into RCS
3479
3480 * src/reader.c: *** empty log message ***
3481
3482 * src/lex.c: entered into RCS
3483
3484 * src/conflicts.c: New file.
3485
3486 * src/symtab.c: entered into RCS
3487
3488 * src/alloc.h: New file.
3489
3490 * src/LR0.c: entered into RCS
3491
34921993-04-18 Noah Friedman <friedman@gnu.org>
3493
3494 * src/reader.c: New file.
3495
3496 * src/version.c: *** empty log message ***
3497
34981993-04-18 Noah Friedman <friedman@gnu.org>
3499
3500 * Makefile.in: *** empty log message ***
3501
35021993-04-17 Noah Friedman <friedman@gnu.org>
3503
3504 * Makefile.in: *** empty log message ***
3505
35061993-04-15 Richard Stallman <rms@gnu.org>
3507
3508 * src/main.c, src/files.c:
3509 New file.
3510
35111993-04-15 Noah Friedman <friedman@gnu.org>
3512
3513 * configure.in: entered into RCS
3514
3515 * configure.in: *** empty log message ***
3516
3517 * configure.in: New file.
3518
35191993-04-14 Richard Stallman <rms@gnu.org>
3520
3521 * Makefile.in: New file.
3522
35231993-04-13 Richard Stallman <rms@gnu.org>
3524
3525 * src/version.c: New file.
3526
35271993-03-25 Richard Stallman <rms@gnu.org>
3528
3529 * src/output.c: entered into RCS
3530
35311992-09-25 Richard Stallman <rms@gnu.org>
3532
3533 * configure.bat: entered into RCS
3534
35351992-06-22 Richard Stallman <rms@gnu.org>
3536
3537 * src/vmsgetargs.c: entered into RCS
3538
35391992-06-22 Richard Stallman <rms@gnu.org>
3540
3541 * doc/bison.rnh: entered into RCS
3542
35431992-04-20 David J. MacKenzie <djm@gnu.org>
3544
3545 * README: entered into RCS
3546
35471992-01-22 Richard Stallman <rms@gnu.org>
3548
3549 * src/machine.h: entered into RCS
3550
35511991-12-21 Richard Stallman <rms@gnu.org>
3552
3553 * src/lalr.c, src/closure.c:
3554 entered into RCS
3555
35561991-12-20 Richard Stallman <rms@gnu.org>
3557
3558 * src/state.h: entered into RCS
3559
35601991-12-18 Richard Stallman <rms@gnu.org>
3561
3562 * src/print.c, src/nullable.c, src/derives.c:
3563 entered into RCS
3564
35651991-11-03 David J. MacKenzie <djm@gnu.org>
3566
3567 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3568 entered into RCS
3569
35701988-09-09 Richard Stallman <rms@gnu.org>
3571
3572 * src/bison.hairy: entered into RCS
3573
35741987-12-16 Richard Stallman <rms@gnu.org>
3575
3576 * REFERENCES: entered into RCS