]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/closure.c (itemsetend): Remove, replaced with...
[bison.git] / ChangeLog
CommitLineData
fb908786
AD
12001-11-19 Akim Demaille <akim@epita.fr>
2
3 * src/closure.c (itemsetend): Remove, replaced with...
4 (itemsetsize): new.
5
6
125ecb56
AD
72001-11-19 Akim Demaille <akim@epita.fr>
8
9 * src/LR0.c (kernel_end): Remove, replaced with...
10 (kernel_size): new.
11
12
d8cf039f
AD
132001-11-19 Akim Demaille <akim@epita.fr>
14
15 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
16 to clarify.
17
18
7bec0760
AD
192001-11-19 Akim Demaille <akim@epita.fr>
20
21 * src/closure.c (closure): Use arrays instead of pointers to clarify.
22
23
c87d4863
AD
242001-11-19 Akim Demaille <akim@epita.fr>
25
26 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
27 trace messages.
28 * src/LR0.c: Likewise.
29 (allocate_itemsets): Use arrays instead of pointers to clarify.
30
9bfe901c
AD
312001-11-19 Akim Demaille <akim@epita.fr>
32
33 * src/getargs.c (statistics_flag): Replace with...
34 (trace_flag): New.
35 (longopts): Accept --trace instead of --statistics.
36 * src/getargs.h, src/options.c: Adjust.
37 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
38 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
39
97db7bd4
AD
402001-11-19 Akim Demaille <akim@epita.fr>
41
42 * src/LR0.c (new_itemsets, get_state): Use more arrays and less
43 pointers to clarify the code.
44 (save_reductions, save_shifts): Factor common parts of alternatives.
45
2c5f66ed
AD
462001-11-19 Akim Demaille <akim@epita.fr>
47
48 * src/LR0.c (new_state, get_state): Complete TRACE code.
49 * src/closure.c: Include `reader.h' to get `tags', needed by the
50 trace code.
51 Rename the conditional DEBUG as TRACE.
52 Output consistently TRACEs to stderr, not stdout.
53 * src/derives.c: Likewise.
54 * src/reduce.c: (inaccessable_symbols): Using if is better style
55 than goto.
56 Use `#if TRACE' instead of `#if 0' for tracing code.
57
300f275f
AD
582001-11-19 Akim Demaille <akim@epita.fr>
59
60 * src/system.h (LIST_FREE, shortcpy): New.
61 * src/LR0.c: Use them.
62 * src/output.c (free_itemsets, free_reductions, free_shifts):
63 Remove, replaced by LIST_FREE.
64
9bfe901c 65
f59c437a
AD
662001-11-19 Akim Demaille <akim@epita.fr>
67
68 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
69 (REDUCTIONS_ALLOC): New.
70 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
71 allocation.
72
9bfe901c 73
6986fd9e
AD
742001-11-19 Akim Demaille <akim@epita.fr>
75
76 * src/LR0.c (new_state): Complete trace code.
77 * src/nullable.c (set_nullable): Don't translate traces.
78
79
4bc30f78
AD
802001-11-19 Akim Demaille <akim@epita.fr>
81
82 * src/print_graph.c (print_core): Better locality of variables.
83 * src/print.c (print_core): Likewise.
84
08a946e0
AD
852001-11-19 Akim Demaille <akim@epita.fr>
86
87 * src/vcg.c: You do the output, so you are responsible of the
88 handling of VCG syntax, in particular: use quotearg.
89 * src/print_graph.c: Don't.
90 (print_actions): Don't output the actions as part of the nodes,
91 since that's the job of the edges.
92 (print_state): Don't output by hand: fill the node description,
9bfe901c 93 and ask for its output.
08a946e0 94
f0473484
AD
952001-11-19 Akim Demaille <akim@epita.fr>
96
97 * src/bison.simple (yyparse): When reporting verbosely an error,
98 no longer issue additional quotes around token names.
99 * tests/calc.at: Adjust.
100
e41dc700
AD
1012001-11-19 Akim Demaille <akim@epita.fr>
102
103 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
104 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
105 * src/output.c: Adjust.
106
9bfe901c 107
652a871c
AD
1082001-11-19 Akim Demaille <akim@epita.fr>
109
110 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
111 (rule_t): this.
112 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
113
b2ed6e58
AD
1142001-11-19 Akim Demaille <akim@epita.fr>
115
116 * src/gram.h (rule_t): New.
117 (rule_table): New.
118 (rrhs, rlhs): Remove, part of state_t.
119 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
120 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
121 * src/reader.c, src/reduce.c: Adjust.
122
9bfe901c 123
edad7067
AD
1242001-11-19 Akim Demaille <akim@epita.fr>
125
126 * src/reader.c (symbols_output): New, extracted from...
127 (packsymbols): Here.
128 (reader): Call it.
129
3feec034
AD
1302001-11-19 Akim Demaille <akim@epita.fr>
131
132 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
133 (maxrhs): this new function.
134
ddcd5fdf
AD
1352001-11-19 Akim Demaille <akim@epita.fr>
136
137 * src/lalr.c (F): New macro to access to the variable F.
138 Adjust.
139
bb527fc2
AD
1402001-11-19 Akim Demaille <akim@epita.fr>
141
142 * src/lalr.h (LA): New macro to access to the variable LA.
143 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
144 * src/lalr.c: Adjust.
145
a845a697
AD
1462001-11-19 Akim Demaille <akim@epita.fr>
147
148 * src/lalr.c (initialize_LA): Only initialize LA. Let...
149 (set_state_table): handle the `lookaheads' members.
150
9bfe901c 151
f004bf6a
AD
1522001-11-19 Akim Demaille <akim@epita.fr>
153
154 * src/lalr.h (lookaheads): Removed array, which contents is now
155 member of...
156 (state_t): this structure.
157 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
158 Adjust.
159
de326cc0
AD
1602001-11-19 Akim Demaille <akim@epita.fr>
161
162 * src/lalr.h (consistent): Removed array, which contents is now
163 member of...
164 (state_t): this structure.
165 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
166 Adjust.
167
90b4416b
AD
1682001-11-19 Akim Demaille <akim@epita.fr>
169
170 * src/lalr.h (reduction_table, shift_table): Removed arrays, which
171 contents is now members of...
172 (state_t): this structure.
173 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
174 Adjust.
175
9bfe901c 176
9703cc49
AD
1772001-11-19 Akim Demaille <akim@epita.fr>
178
179 * src/lalr.h (state_t): New.
180 (state_table): Be a state_t * instead of a core **.
181 (accessing_symbol): Remove, part of state_t.
182 * src/lalr.c: Adjust.
183 (set_accessing_symbol): Merge into...
184 (set_state_table): this.
185 * src/print_graph.c, src/conflicts.c: Adjust.
186
d803322e
AD
1872001-11-14 Akim Demaille <akim@epita.fr>
188
189 * tests/calc.at, tests/output.at, tests/regression.at,
190 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
191 now the tests are run in private dirs, therefore AC_CLEANUP and
192 family can be simplified to 0-ary.
193 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
194 use abs. path to find config.h.
195 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
196 stderr, there can be way too much random noise.
197 Instead pass -Werror to GCC and rely on the exit status.
198 Reported by Wolfram Wagner.
199
3d76b07d
AD
2002001-11-14 Akim Demaille <akim@epita.fr>
201
202 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
203 defined only if yyoverflow is defined, to avoid `warning: unused
204 variable `yyvs1''.
205 Reported by The Test Suite.
206
09b503c8
AD
2072001-11-14 Akim Demaille <akim@epita.fr>
208
209 * src/print.c: Include reduce.h.
210 Reported by Hans Aberg.
211
2122001-11-14 Akim Demaille <akim@epita.fr>
213
214 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
215 Revert a previous patch: these are really const.
216 * src/conflicts.c (conflict_report): Additional useless pair of
217 braces to pacify GCC's warnings for `if () if () {} else {}'.
218 * src/lex.c (parse_percent_token): Replace equal_offset with
219 arg_offset.
220 arg is const.
221 Be sure to strdup `arg' when used, since there is no reason for
222 token_buffer not to change.
223
0f37a994
AD
2242001-11-14 Akim Demaille <akim@epita.fr>
225
226 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
227 definition.
228 * src/main.c (main): Use them.
229 Suggested by Hans Aberg.
230
d39d93b8
AD
2312001-11-12 Akim Demaille <akim@epita.fr>
232
233 * src/system.h (ngettext): Now that we use ngettext, be sure to
234 provide a default definition when NLS are not used.
235
9edcd895
AD
2362001-11-12 Akim Demaille <akim@epita.fr>
237
238 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
239 Use @kbd to denote user input.
240 (Language and Grammar): ANSIfy the example.
241 Adjust its layout for info/notinfo.
242 (Location Tracking Calc): Output error messages to stderr.
243 Output locations in a more GNUtically correct way.
244 Fix a couple of Englishos.
245 Adjust @group/@end group pairs.
246
7da99ede
AD
2472001-11-12 Akim Demaille <akim@epita.fr>
248
249 %expext was not functioning at all.
250
251 * src/conflicts.c (expected_conflicts): Set to -1.
252 (conflict_report): Use ngettext.
253 (conflicts_print): Check %expect and make its violation an error.
254 * doc/bison.texinfo (Expect Decl): Adjust.
255 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
256 * tests/regression.at (%expect not enough, %expect right)
257 (%expect too much): New.
258
ba9dda1a
AD
2592001-11-12 Akim Demaille <akim@epita.fr>
260
261 * tests/regression.at (Conflicts): Rename as...
262 (Unresolved SR Conflicts): this.
263 (Solved SR Conflicts): New.
264
337c5bd1
AD
2652001-11-12 Akim Demaille <akim@epita.fr>
266
267 * src/reduce.c (print_results): Rename as...
268 (reduce_output): This.
269 Output to OUT, passed as argument, instead of output_obstack.
270 (dump_grammar): Likewise.
271 (reduce_free): New.
272 Also free V1.
273 (reduce_grammar): No longer call reduce_output, since...
274 * src/print.c (print_results): do it.
275 * src/main.c (main): Call reduce_free;
276
c73a41af
AD
2772001-11-12 Akim Demaille <akim@epita.fr>
278
279 * src/conflicts.c (print_reductions): Accept OUT as argument.
280 Output to it, not to output_obstack.
281 * src/print.c (print_actions): Adjust.
282
0df87bb6
AD
2832001-11-12 Akim Demaille <akim@epita.fr>
284
285 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
286 the result instead of using...
287 (src_total, rrc_total, src_count, rrc_count): Remove.
288 (any_conflicts): Remove.
289 (print_conflicts): Split into...
290 (conflicts_print, conflicts_output): New.
291 * src/conflicts.h: Adjust.
292 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 293 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
294 * tests/regression.at (Conflicts): New.
295 Reported by Tom Lane.
296
e4d3d4de
AD
2972001-11-12 Akim Demaille <akim@epita.fr>
298
299 * tests/regression.at (Invalid input): Remove, duplicate with
300 ``Invalid input: 1''.
301
6d7d248e
AD
3022001-11-12 Akim Demaille <akim@epita.fr>
303
304 * tests/torture.at (AT_DATA_STACK_TORTURE)
305 (Exploding the Stack Size with Alloca)
306 (Exploding the Stack Size with Malloc): New.
307
e9e4c321
AD
3082001-11-12 Akim Demaille <akim@epita.fr>
309
310 * src/bison.simple (YYSTACK_REALLOC): New.
311 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 312 Reported by Per Allansson.
e9e4c321 313
5f7e0832
AD
3142001-11-12 Pascal Bart <pascal.bart@epita.fr>
315
316 * src/bison.simple: Define type yystype instead of YYSTYPE, and
317 define CPP macro, which substitute YYSTYPE by yystype.
318 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
319 with yyltype/YYLTYPE. This allows inclusion of the generated
320 header within the parser if the compiler, such as GGC, accepts
321 multiple equivalent #defines.
322 From Akim.
323
e3f1699f
AD
3242001-11-05 Akim Demaille <akim@epita.fr>
325
326 * src/reader.c (symbols_output): New, extracted from...
327 (packsymbols): here.
328 (reader): Adjust.
329
65be0866
AD
3302001-11-05 Akim Demaille <akim@epita.fr>
331
332 * src/lex.c (parse_percent_token): s/quotearg/quote/.
333
e4d910bf
AD
3342001-11-05 Akim Demaille <akim@epita.fr>
335
336 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
337 pattern.
338
951366c1
AD
3392001-11-05 Akim Demaille <akim@epita.fr>
340
341 * src/options.h (struct option_table_struct): set_flags is void*.
342 * src/options.c (longopts): Support `--output' and `%output'.
343 (usage): Adjust.
344 * src/lex.h (tok_setopt): Remove, replaced with...
345 (tok_intopt, tok_stropt): these new guys.
346 * src/lex.c (getopt.h): Not needed.
347 (token_buffer, unlexed_token_buffer): Not const.
348 (percent_table): Promote `-' over `_' in directive names.
349 Active `%name-prefix', `file-prefix', and `output'.
350 (parse_percent_token): Accept possible arguments to directives.
351 Promote `-' over `_' in directive names.
352
d8988b2f
AD
3532001-11-04 Akim Demaille <akim@epita.fr>
354
355 * doc/bison.texinfo (Decl Summary): Split the list into
356 `directives for grammars' and `directives for bison'.
357 Sort'em.
358 Add description of `%name-prefix', `file-prefix', and `output'.
359 Promote `-' over `_' in directive names.
360 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
361 Simplify the description of `--name-prefix'.
362 Promote `-' over `_' in directive names.
363 Promote `--output' over `--output-file'.
364 Fix the description of `--defines'.
365 * tests/output.at: Exercise %file-prefix and %output.
366
6468d18e
AD
3672001-11-02 Akim Demaille <akim@epita.fr>
368
369 * doc/refcard.tex: Update.
370
6b7e85b9
AD
3712001-11-02 Akim Demaille <akim@epita.fr>
372
373 * src/symtab.h (SUNDEF): New.
374 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
375 stand for `uninitialized', instead of 0.
376 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
377 * src/lex.c (lex): Adjust.
378
379 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
380 Number it 0.
381 Let yylex return it instead of a plain 0.
382 Reported by Dick Streefland.
383
cd5aafcf
AD
3842001-11-02 Akim Demaille <akim@epita.fr>
385
386 * tests/regression.at (Mixing %token styles): New test.
387
037ca2f1
AD
3882001-11-02 Akim Demaille <akim@epita.fr>
389
390 * src/reader.c (parse_thong_decl): Formatting changes.
391 (token_translations_init): New, extracted from...
392 (packsymbols): Here.
393 Adjust.
394
270a173c
AD
3952001-11-01 Akim Demaille <akim@epita.fr>
396
397 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
398 Check that `9foo.y' produces correct cpp guards.
399 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
400 guards.
401 Reported by Wwp.
402
561f9a30
AD
4032001-11-01 Akim Demaille <akim@epita.fr>
404
405 * tests/regression.at (Invalid input: 2): New.
406 * src/lex.c (unlexed_token_buffer): New.
407 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
408 too.
409 Reported by Wwp.
410
f987e9d2
AD
4112001-11-01 Akim Demaille <akim@epita.fr>
412
413 * tests/calc.at: Catch up with 1.30.
414 * configure.in: Bump to 1.49a.
415 Adjust to newer Autotest.
416
0846f581
PB
4172001-10-19 Pascal Bart <pascal.bart@epita.fr>
418
419 * src/conflicts.c: Move global variables rrc_total and src_total ...
420 (print_conflicts): here.
421 * src/output.c (output): Free global variable user_toknums.
422 * src/lex.c (token_obstack): Become static.
423
3c1a79b3
AD
4242001-10-18 Akim Demaille <akim@epita.fr>
425
426 * tests/atlocal.in (GCC): Add.
427 * tests/calc.at: s/m4_match/m4_bmatch/.
428 s/m4_patsubst/m4_bpatsubst/.
429 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
430 * configure.in: AC_SUBST(GCC).
431
5d52e7d0
MA
4322001-10-14 Marc Autret <autret_m@epita.fr>
433
434 * src/options.c (create_long_option_table): Fix.
435
631aa1d3
AD
4362001-10-10 Akim Demaille <akim@epita.fr>
437
438 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
439
f6ec6d13
AD
4402001-10-04 Akim Demaille <akim@epita.fr>
441
442 * src/reader.c (parse_union_decl): Push the caracters in
443 union_obstack, not attrs_obstack.
444
342b8b6e
AD
4452001-10-04 Akim Demaille <akim@epita.fr>
446
447 Merge in the branch 1.29.
448
449 * src/reader.c (packsymbols): Use a temporary obstack for
450 `%%tokendef', since output_stack is already used elsewhere.
451
452 2001-10-02 Akim Demaille <akim@epita.fr>
453
454 Bump 1.29d.
455
456 2001-10-02 Akim Demaille <akim@epita.fr>
457
458 Version 1.29c.
459
460 2001-10-02 Akim Demaille <akim@epita.fr>
461
462 * tests/regression.at (Invalid CPP headers): New.
463 From Alexander Belopolsky.
464 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
465
466 2001-10-02 Akim Demaille <akim@epita.fr>
467
468 * tests/regression.at (Invalid input): New.
469 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
470 Reported by Shura.
471
472 2001-10-02 Akim Demaille <akim@epita.fr>
473
474 * tests/calc.at: Now that --debug works, the tests must be adjusted.
475
476 2001-10-02 Akim Demaille <akim@epita.fr>
477
478 * src/output.c (output_parser): Assert `skeleton'.
479 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
480 systems.
481 From Shura.
482
483 2001-10-01 Marc Autret <autret_m@epita.fr>
484
485 * src/lex.h: Echo modifications.
486 * src/lex.c (unlex): Parameter is now token_t.
487 From Hans Aberg.
488
489 2001-10-01 Marc Autret <autret_m@epita.fr>
490
491 * src/main.c: Include lex.h.
492 From Hans Aberg.
493
494 2001-09-29 Akim Demaille <akim@epita.fr>
495
496 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
497
498 2001-09-28 Akim Demaille <akim@epita.fr>
499
500 * tests/testsuite.at: Update to newer Autotest.
501 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
502
503 2001-09-27 Akim Demaille <akim@epita.fr>
504
505 Position independent wrapper.
506
507 * tests/bison: Remove.
508 * tests/bison.in: New.
509 * configure.in: Adjust.
510
511 2001-09-27 Paul Eggert <eggert@twinsun.com>
512
513 Port quotearg fixes from tar 1.13.24.
514
515 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
516 tm to be declared.
517 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
518 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
519
520 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
521 * m4/mbrtowc.m4: New file.
522 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
523 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
524
525 2001-09-27 Akim Demaille <akim@epita.fr>
526
527 Bump to 1.29c.
528
529 2001-09-27 Akim Demaille <akim@epita.fr>
530
531 Version 1.29b.
532
533 2001-09-25 Akim Demaille <akim@epita.fr>
534
535 * src/system.h: Include `xalloc.h'.
536 Remove it from the C files.
537 * src/files.c (output_files): Free the obstacks.
538 * src/lex.c (init_lex): Rename as...
539 (lex_init): this.
540 (lex_free): New.
541 * src/main.c (main): Use it.
542
543 2001-09-24 Marc Autret <autret_m@epita.fr>
544
545 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
546 to output informations in fout (FILE*).
547 (open_graph, close_graph): Likewise.
548 (output_graph, output_edge, output_node): Likewise.
549 * src/vcg.h: Update function prototypes.
550 * src/print_graph.c (print_graph): Open output graph file.
551 (print_actions): Adjust.
552 * src/files.h: Remove extern declaration.
553 * src/files.c: Remove graph_obstack declaration.
554 (open_files): Remove graph_obstack initialization.
555 (output_files): Remove graph_obstack saving.
556
557 2001-09-24 Marc Autret <autret_m@epita.fr>
558
559 * src/files.c (compute_output_file_names): Fix.
560
561 2001-09-24 Marc Autret <autret_m@epita.fr>,
562 Akim Demaille <akim@epita.fr>
563
564 * src/reader.c (reader): Remove call to free_symtab ().
565 * src/main.c (main): Call it here.
566 Include symtab.h.
567 * src/conflicts.c (initialize_conflicts): Rename as...
568 (solve_conflicts): this.
569 * src/print.c (print_core, print_actions, print_state)
570 (print_grammar): Dump to a file instead a `output_obstack'.
571 (print_results): Dump `output_obstack', and then proceed with the
572 FILE *.
573 * src/files.c (compute_output_file_names, close_files): New.
574 (output_files): Adjust.
575 * src/main.c (main): Adjust.
576
577 2001-09-23 Marc Autret <autret_m@epita.fr>
578
579 * src/files.c (compute_header_macro): Computes header macro name
580 from spec_defines_file when given.
581
582 2001-09-23 Marc Autret <autret_m@epita.fr>
583
584 * src/files.c (output_files): Add default extensions.
585
586 2001-09-22 Akim Demaille <akim@epita.fr>
587
588 * src/conflicts.c (finalize_conflicts): Rename as...
589 (free_conflicts): this.
590
591 2001-09-22 Akim Demaille <akim@epita.fr>
592
593 * src/gram.c (gram_free): Rename back as...
594 (dummy): this.
595 (output_token_translations): Free `token_translations'.
596 * src/symtab.c (free_symtab): Free the tag field.
597
598 2001-09-22 Akim Demaille <akim@epita.fr>
599
600 Remove `translations' as it is always set to true.
601
602 * src/gram.h: Adjust.
603 * src/reader.c (packsymbols, parse_token_decl): Adjust
604 * src/print.c (print_grammar): Adjust.
605 * src/output.c (output_token_translations): Adjust.
606 * src/lex.c (lex): Adjust.
607 * src/gram.c: Be sure the set pointers to NULL.
608 (dummy): Rename as...
609 (gram_free): this.
610
611 2001-09-22 Akim Demaille <akim@epita.fr>
612
613 * configure.in: Invoke AM_LIB_DMALLOC.
614 * src/system.h: Use dmalloc.
615 * src/LR0.c: Be sure to have pointers initialized to NULL.
616 (allocate_itemsets): Allocate kernel_items only if needed.
617
618 2001-09-22 Akim Demaille <akim@epita.fr>
619
620 * configure.in: Bump to 1.29b.
621 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
622 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
623 need xmalloc.c in calc.y.
624 From Pascal Bart.
625
626 2001-09-21 Akim Demaille <akim@epita.fr>
627
628 Version 1.29a.
629 * Makefile.maint, config/config.guess, config/config.sub,
630 * config/missing: Update from masters.
631 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
632 upon package.m4.
633 * configure.in (ALL_LINGUAS): Add `tr'.
634
635 2001-09-21 Akim Demaille <akim@epita.fr>
636
637 * tests/Makefile.am (package.m4): Move to...
638 ($(srcdir)/$(TESTSUITE)): here.
639
640 2001-09-20 Akim Demaille <akim@epita.fr>
641
642 * src/complain.c: No longer try to be standalone: use system.h.
643 Don't assume __STDC__ is defined to 1. Just test if it is defined.
644 * src/complain.h: Likewise.
645 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
646 Remove the unused variable `n'.
647 From Albert Chin-A-Young.
648
649 2001-09-18 Marc Autret <autret_m@epita.fr>
650
651 * doc/bison.1: Update.
652 * doc/bison.texinfo (Bison Options): Update --defines and --graph
653 descriptions.
654 (Option Cross Key): Update.
655 Add --graph.
656
657 2001-09-18 Marc Autret <autret_m@epita.fr>
658
659 * tests/regression.at: New test (comment in %union).
660
661 2001-09-18 Marc Autret <autret_m@epita.fr>
662
663 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
664 do that.
665 Reported by Keith Browne.
666
667 2001-09-18 Marc Autret <autret_m@epita.fr>
668
669 * tests/output.at: Add tests for --defines and --graph.
670
671 2001-09-18 Marc Autret <autret_m@epita.fr>
672
673 * tests/output.at: Removes tests of %{header,src}_extension features.
674
675 2001-09-18 Akim Demaille <akim@epita.fr>
676
677 * tests/Makefile.am (package.m4): New.
678 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
679 (_AT_CHECK_CALC_ERROR): Likewise.
680 Factor the `, ' part of verbose error messages.
681
682 2001-09-18 Marc Autret <autret_m@epita.fr>
683
684 * src/getargs.c (longopts): Declare --defines and --graph as options
685 with optional arguments.
686 * src/files.h: Add extern declarations.
687 * src/files.c (spec_graph_file, spec_defines_file): New.
688 (output_files): Update.
689 Remove CPP-outed code.
690
691 2001-09-18 Marc Autret <autret_m@epita.fr>
692
693 Turn off %{source,header}_extension feature.
694
695 * src/files.c (compute_exts_from_gf): Update.
696 (compute_exts_from_src): Update.
697 (output_files): CPP-out useless code.
698 * src/files.h: Remove {header,source}_extension extern declarations.
699 * src/reader.c (parse_dquoted_param): CPP-out.
700 (parse_header_extension_decl): Remove.
701 (parse_source_extension_decl): Remove.
702 (read_declarations): Remove cases tok_{hdrext,srcext}.
703 * src/lex.c (percent_table): Remove {header,source}_extension entries.
704 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
705
706 2001-09-10 Akim Demaille <akim@epita.fr>
707
708 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
709 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
710 (AT_CHECK_OUTPUT): this.
711 Merely check ls' exit status, its output is useless.
712
713 2001-09-10 Akim Demaille <akim@epita.fr>
714
715 * tests/calc.at: Use m4_match.
716 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
717
718 2001-09-10 Marc Autret <autret_m@epita.fr>,
719 Akim Demaille <akim@epita.fr>
720
721 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
722 enum color_e.
723 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
724 to `normal'.
725 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
726 * src/lex.h: Adjust prototype.
727 (token_t): Add `tok_undef'.
728 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
729 (parse_percent_token): Now returns token_t.
730 Add default statement in switch.
731 (lex): Separate `c' as an input variable, from the token_t result
732 part.
733 (unlexed): Is a token_t.
734
735 2001-09-10 Akim Demaille <akim@epita.fr>
736
737 * configure.in: Bump to 1.29a.
738
739 2001-09-07 Akim Demaille <akim@epita.fr>
740
741 Version 1.29.
742
743 2001-08-30 Akim Demaille <akim@epita.fr>
744
745 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
746 * m4/atconfig.m4: Remove.
747 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
748 * tests/bison: New.
749 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
750 m4_if, m4_patsubst, and m4_regexp.
751 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
752 `input' file instead of echo.
753
754 2001-08-29 Akim Demaille <akim@epita.fr>
755
756 Bump to 1.28e.
757
758 2001-08-29 Akim Demaille <akim@epita.fr>
759
760 Version 1.28d.
761
762 2001-08-29 Paul Eggert <eggert@twinsun.com>
763
764 * src/bison.simple (yyparse): Don't take the address of an
765 item before the start of an array, as that doesn't conform to
766 the C Standard.
767
768 2001-08-29 Robert Anisko <anisko_r@epita.fr>
769
770 * doc/bison.texinfo (Location Tracking Calc): New node.
771
772 2001-08-29 Paul Eggert <eggert@twinsun.com>
773
774 * src/output.c (output): Do not define const, as this now
775 causes more problems than it cures.
776
777 2001-08-29 Akim Demaille <akim@epita.fr>
778
779 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
780 the nodes.
781 Be sure to tag the `detailmenu'.
782
783 2001-08-29 Akim Demaille <akim@epita.fr>
784
785 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
786 download in a tmp dir.
787
788 2001-08-28 Marc Autret <autret_m@epita.fr>
789
790 * config/depcomp: New file.
791
792 2001-08-28 Marc Autret <autret_m@epita.fr>
793
794 * doc/bison.1 (mandoc): Adjust.
795 From Juan Manuel Guerrero.
796
797 2001-08-28 Marc Autret <autret_m@epita.fr>
798
799 * src/print_graph.c (print_state): Fix.
800
801 2001-08-27 Marc Autret <autret_m@epita.fr>
802
803 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
804 char * members.
805 Echo modifications to the functions prototypes.
806 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
807
808 2001-08-27 Marc Autret <autret_m@epita.fr>
809
810 * src/vcg.c: Include `xalloc.h'.
811 (add_colorentry): New.
812 (add_classname): New.
813 (add_infoname): New.
814 * src/vcg.h: Add new prototypes.
815
816 2001-08-27 Akim Demaille <akim@epita.fr>
817
818 * Makefile.maint: Sync. again with CVS Autoconf.
819
820 2001-08-27 Akim Demaille <akim@epita.fr>
821
822 * Makefile.maint: Formatting changes.
823 (po-update, cvs-update, update): New targets.
824 (AMTAR): Remove.
825
826 2001-08-27 Akim Demaille <akim@epita.fr>
827
828 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
829 * Makefile.maint: Sync. with CVS Autoconf.
830
831 2001-08-27 Marc Autret <autret_m@epita.fr>
832
833 * src/vcg.h (struct infoname_s): New.
834 (struct colorentry_s): New.
835 (graph_s): New fields {vertical,horizontal}_order in structure.
836 Add `infoname' field.
837 Add `colorentry' field;
838 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
839 (G_HORIZONTAL_ORDER): New.
840 (G_INFONAME): New.
841 (G_COLORENTRY): New.
842 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
843 Add output of `infoname'.
844 Add output of `colorentry'.
845
846 2001-08-27 Marc Autret <autret_m@epita.fr>
847
848 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
849 This one shadowed a global parameter.
850
851 2001-08-24 Marc Autret <autret_m@epita.fr>
852
853 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
854 instead of `unsigned'.
855 (print_state): Do not call obstack_object_size () in obstack_grow ()
856 to avoid macro variables shadowing.
857
858 2001-08-23 Marc Autret <autret_m@epita.fr>
859
860 * src/lex.c (percent_table): Typo: s/naem/name/.
861 Add graph option.
862 Normalize new options declarations.
863
864 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
865
866 * tests/suite.at: Exercise %header_extension and %source_extension.
867
868 2001-08-16 Marc Autret <autret_m@epita.fr>
869
870 * src/reader.c (parse_dquoted_param): New.
871 (parse_header_extension_decl): Use it.
872 (parse_source_extension_decl): Likewise.
873
874 2001-08-16 Marc Autret <autret_m@epita.fr>
875
876 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
877 (get_xxxx_str): Use assert () instead of complain ().
878 Remove return invokations in default cases.
879 (get_decision_str): Modify default behaviour. Remove second argument.
880 Echo modifications on calls.
881 (output_graph): Fix.
882
883 2001-08-16 Marc Autret <autret_m@epita.fr>
884
885 * src/getargs.c (usage): Update with ``-g, --graph''.
886
887 2001-08-16 Marc Autret <autret_m@epita.fr>
888
889 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
890 (Option Cross Key): Likewise.
891 * doc/bison.1: Update.
892
1c8c2190
PB
8932001-09-25 Pascal Bart <pascal.bart@epita.fr>
894
895 * src/output.c (output_master_parser): Don't finish action_obstack.
896 (output_parser): Don't care about the muscle action, here.
897 (prepare): Copy the action_obstack in the action muscle.
898 (output): Free action_obstack.
899
180d45ba
PB
9002001-09-23 Pascal Bart <pascal.bart@epita.fr>
901
902 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
903 will contain `%union' declaration.
904 (parse_union_decl): Delete #line directive output.
905 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
906 informations about %union.
907 (parse_union_decl): Copy the union_obstack in the muscle stype.
908 * src/bison.simple: Add new #line directive.
909 Add typdef %%stype YYSTYPE.
910
c51d1a19
PB
9112001-09-23 Pascal Bart <pascal.bart@epita.fr>
912
913 * src/bison.simple: Add new `#line' directive.
914
6f9344da
PB
9152001-09-22 Pascal Bart <pascal.bart@epita.fr>
916
917 * src/bison.simple: New `#line' directive.
918 * src/output.c (output_parser): Support new dynamic muscle input_line.
919
652def80
MA
9202001-09-22 Marc Autret <autret_m@epita.fr>
921
922 * src/output.c (output_master_parser): New.
923 (output_parser): Be more re-entrant.
924
25b222fa
MA
9252001-09-21 Marc Autret <autret_m@epita.fr>
926
927 * src/reader.c (copy_definition, parse_union_decl): Update and use
928 `linef' muscle.
929 (copy_action): Likewise.
930 Use obstack_1grow ().
931 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
932
6bc35ae5
MA
9332001-09-21 Marc Autret <autret_m@epita.fr>
934
935 * src/options.c (option_table): Adjust.
936 * src/lex.c (parse_percent_token): Fix.
937
c0629aa1
PB
9382001-09-20 Pascal Bart <pascal.bart@epita.fr>
939
940 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 941
82b6d266
PB
9422001-09-20 Pascal Bart <pascal.bart@epita.fr>
943
944 * src/lex.c (parse_percent_token): Change type of variable `tx', which
945 is now an option_table_struct*.
946 (option_strcmp): New function option_strcmp.
947 (parse_percent_token): Call option_strcmp.
948 * src/getargs.c (xalloc.h, options.h): Include it.
949 (getargs): Call create_long_option_table.
950 (getargs): Free longopts at the end of the function.
951 (shortopts): Move in options.c.
952 * src/options.c (create_long_option_table): New function. Convert
953 information from option_table to option structure.
954 * src/reader.c (options.h): Include it.
955
956 * src/Makefile.am: Adjust.
957 * src/options.c (option_table): Create from longopts and percent_table.
958 * src/getargs.c (longopts): Delete.
959 * src/lex.c (struct percent_table_struct): Delete.
960 (percent_table): Delete.
961 (options.h): Include it.
962 * src/options.c: Create.
963 * src/options.h: Create.
964 Declare enum opt_access_e.
965 Define struct option_table_struct.
966
75f5aaea
MA
9672001-09-20 Marc Autret <autret_m@epita.fr>
968
969 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
970 sections of Bison.
971
f508cb0a
PB
9722001-09-19 Pascal Bart <pascal.bart@epita.fr>
973
974 * src/bison.simple: s/%%filename/%%skeleton.
975 * src/muscle_tab.c (getargs.h): Include it.
976 (muscle_init): Insert new muscle skeleton.
977
13105fc1
PB
9782001-09-18 Pascal Bart <pascal.bart@epita.fr>
979
980 * src/output.c (output_parser): Delete unused variable actions_dumped.
981
b0c4483e
PB
9822001-09-07 Pascal Bart <pascal.bart@epita.fr>
983
984 * src/output.c (output): Delete call to reader_output_yylsp.
985 * src/reader.c (reader): Likewise.
986 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 987
11d82f03
MA
9882001-09-02 Marc Autret <autret_m@epita.fr>
989
990 * src/reader.c: Include muscle_tab.h.
991 (parse_union_decl): Update.
992 (parse_macro_decl): Rename parse_muscle_decl.
993 Update to use renamed functions and variable.
994 (read_declarations, copy_action, read_additionnal_code, : Updated
995 with correct variables and functions names.
996 (packsymbols, reader): Likewise.
342b8b6e 997
11d82f03 998 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 999
11d82f03
MA
1000 * src/output.c: Include muscle_tab.h
1001 In all functions using macro_insert, change by using muscle_insert ().
1002 (macro_obstack): Rename muscle_obstack.
1003 Echo modifications in the whole file.
1004 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1005 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1006 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1007
1008 * src/muscle_tab.h: Update double inclusion macros.
1009 (macro_entry_s): Rename muscle_entry_s.
1010 Update prototypes.
342b8b6e 1011
11d82f03
MA
1012 * src/muscle_tab.c: Include muscle_tab.h.
1013 Rename macro_tabble to muscle_table.
1014 (mhash1, mhash2, mcmp): Use muscle_entry.
1015 (macro_init): Rename muscle_init. Update.
1016 (macro_insert): Rename muscle_insert. Update.
1017 (macro_find): Rename muscle_find. Update.
1018
1019 * src/main.c: Include muscle_tab.h.
1020 (main): Call muscle_init ().
1021 * src/Makefile.am (bison_SOURCES): Echo modifications.
1022
93a37297
MA
10232001-09-02 Marc Autret <autret_m@epita.fr>
1024
f753cd62 1025 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 1026
f753cd62
MA
1027 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1028
10292001-09-02 Marc Autret <autret_m@epita.fr>
1030
1031 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1032
682d48cd
PB
10332001-09-01 Pascal Bart <pascal.bart@epita.fr>
1034
342b8b6e 1035 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1036 filename.
1037
087c8fda
MA
10382001-09-01 Marc Autret <autret_m@epita.fr>
1039
1040 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1041 to an explicit value to activate the feature. We do it here.
1042
dda680cb
PB
10432001-08-31 Pascal Bart <pascal.bart@epita.fr>
1044
1045 * src/output.c (prepare): Delete the `filename' muscule insertion.
1046 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1047 (parse_union_decl): Likewise.
1048 * src/macrotab.c (macro_init): Initialize filename by infile.
1049
9e644e64
MA
10502001-08-31 Marc Autret <autret_m@epita.fr>
1051
1052 * src/bison.simple (YYLSP_NEEDED): New definition.
1053 * src/output.c (prepare): Add macro insertion of `locations_flag'
1054
17da6427
PB
10552001-08-31 Pascal Bart <pascal.bart@epita.fr>
1056
1057 * src/output.c (prepare): Delete insertion of previous muscles,
1058 and insert the `prefix' muscles.
1059 * src/macrotab.c (macro_init): Likewise.
1060 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1061 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1062 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1063 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1064 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1065 name_prefix.
1066
e8cb70b9
PB
10672001-08-31 Pascal Bart <pascal.bart@epita.fr>
1068
1069 * src/main.c (main): Standardize.
1070 * src/output.c (output_table_data, output_parser): Likewise.
1071 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1072
63c2d5de
MA
10732001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1074
342b8b6e 1075 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1076 %%epilogue.
1077 * src/output.c (output): Rename %%declarations to %%prologue.
1078 * src/bison.simple: Echo modifications.
342b8b6e 1079
d8cb5183
MA
10802001-08-31 Marc Autret <autret_m@epita.fr>
1081
1082 * src/reader.c (readgram): CleanUp.
1083 (output_token_defines): Likewise.
1084 (packsymbols): Likewise.
1085 (reader): Likewise.
1086 * src/output.c (output): CPP-out useless code.
1087
6c686258
PB
10882001-08-31 Pascal Bart <pascal.bart@epita.fr>
1089
342b8b6e 1090 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1091 output_trailers and output_headers.
1092 * src/output.h: Remove obsolete functions prototypes of output_headers
1093 and output_trailers.
1094
8f451ef7
PB
10952001-08-30 Pascal Bart <pascal.bart@epita.fr>
1096
1097 * src/main.c: Include macrotab.h.
342b8b6e 1098 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1099 Adjust functions prototypes.
1100 * src/macrotab.c (macro_insert): Constify key and value.
1101 (macro_find): Constify key.
1102 (macro_insert): Include 'xalloc.h'
1103 (macro_insert): Use XMALLOC.
1104 (macro_find): Constify return value.
1105 * src/output.c (output_table_data): Rename table to table_data.
1106 (output_parser): Constify macro_key, macro_value.
1107
997b6fd0 11082001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1109
1110 * src/reader.c (parse_skel_decl): New.
342b8b6e 1111 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1112 * src/lex.h (token_t): New token `tok_skel'.
1113 * src/lex.c (percent_table): Add skeleton option entry.
1114 Standardize.
1115
ff48177d
MA
11162001-08-29 Marc Autret <autret_m@epita.fr>
1117
1118 * src/bison.simple: Add %%user_code directive at the end.
1119 * src/reader.c (read_additionnal_code): New.
1120 (reader): Use it.
1121 * src/output.c (output_program): Remove.
1122 (output): Update.
1123
b33160bf
MA
11242001-08-28 Marc Autret <autret_m@epita.fr>
1125
1126 * src/output.c (output_actions): Clean up.
4e5caae2 1127 (output_gram): CPP-out useless code.
b33160bf
MA
1128 * src/reader.c (reader): Clean up, CPP-out useless code.
1129
d1a2daf7
PB
11302001-08-28 Pascal Bart <pascal.bart@epita.fr>
1131
342b8b6e 1132 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1133 directive.
d1a2daf7
PB
1134 * src/bison.simple: Add `%%definitions'.
1135
2b763dfe
MA
11362001-08-28 Marc Autret <autret_m@epita.fr>
1137
1138 * config/depcomp: New file.
1139
f1a87ef6
PE
11402001-08-27 Paul Eggert <eggert@twinsun.com>
1141
1142 * src/bison.simple (yyparse): Don't take the address of an
1143 item before the start of an array, as that doesn't conform to
1144 the C Standard.
1145
82e236e2
RA
11462001-08-27 Robert Anisko <robert.anisko@epita.fr>
1147
f1a87ef6 1148 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1149 obstack. It was done too late here.
1150
1151 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1152 completely wrong.
1153 (reader): Initialize the macro obstack here, since we need it to grow
1154 '%define' directives.
1155
1156 * src/reader.h: Declare the macro obstack as extern.
1157
b0cfa28a
RA
11582001-08-27 Robert Anisko <robert.anisko@epita.fr>
1159
1160 * src/output.c (output_parser): Fix. Store single '%' characters in
1161 the output obstack instead of throwing them away.
1162
6fc74234
AD
11632001-08-27 Akim Demaille <akim@epita.fr>
1164
1165 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1166
9c76d118
RA
11672001-08-25 Robert Anisko <robert.anisko@epita.fr>
1168
1169 * lib/Makefile.am: Adjust.
1170
a8289c62
RA
11712001-08-25 Robert Anisko <robert.anisko@epita.fr>
1172
1173 * src/bison.simple: Update and add '%%' directives.
1174
b6610515
RA
11752001-08-25 Robert Anisko <robert.anisko@epita.fr>
1176
1177 * src/reader.c (reader): Remove calls to 'output_headers' and
1178 'output_trailers'. Remove some C output.
1179 (readgram): Disable a piece of code that was writing a default
1180 definition for 'YYSTYPE'.
1181 (reader_output_yylsp): Remove.
1182 (packsymbols): Output token defintions to a macro.
1183 (copy_definition): Disable C output.
6fc74234 1184
b6610515
RA
1185 * src/reader.c (parse_macro_decl): New function used to parse macro
1186 declarations.
1187 (copy_string2): Put the body of copy_string into this new function.
1188 Add a parameter to let the caller choose whether he wants to copy the
1189 string delimiters or not.
1190 (copy_string): Be a simple call to copy_string2 with the last argument
1191 bound to true.
1192 (read_declarations): Add case for macro definition.
1193 (copy_identifier): New.
6fc74234 1194 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1195 rather than lex.
1196
26f609ff
RA
11972001-08-25 Robert Anisko <robert.anisko@epita.fr>
1198
1199 * src/output.c (prepare): Add prefixed names.
1200 (output_parser): Output semantic actions.
1201 (output_parser): Fix bug on '%%line' directives.
6fc74234 1202
26f609ff
RA
1203 * src/output.c (output_headers): Remove. The C code printed by this
1204 function should now be in the skeletons.
1205 (output_trailers): Remove.
1206 (output): Disable call to 'reader_output_yylsp'.
1207 (output_rule_data): Do not output tables to the table obstack.
1208
1209 * src/output.c: Remove some C dedicated output.
1210 Improve the use of macro and output obstacks.
1211 (output_defines): Remove.
6fc74234 1212
26f609ff
RA
1213 * src/output.c (output_token_translations): Associate 'translate'
1214 table with a macro. No output to the table obstack.
1215 (output_gram): Same for 'rhs' and 'prhs'.
1216 (output_stos): Same for 'stos'.
1217 (output_rule_data): Same for 'r1' and 'r2'.
1218 (token_actions): Same for 'defact'.
1219 (goto_actions): Same for 'defgoto'.
1220 (output_base): Same for 'pact' and 'pgoto'.
1221 (output_table): Same for 'table'.
1222 (output_check): Same for 'check'.
6fc74234 1223
26f609ff
RA
1224 * src/output.c (output_table_data): New function.
1225 (output_short_table): Remove.
1226 (output_short_or_char_table): Remove.
6fc74234 1227
26f609ff
RA
1228 * src/output.c (output_parser): Replace most of the skeleton copy code
1229 with something new. Skeletons are now processed character by character
1230 rather than line by line, and Bison looks for '%%' macros. This is the
1231 first step in making Bison's output process (a lot) more flexible.
1232 (output_parser): Use the macro table.
1233
6f43b113
RA
12342001-08-25 Robert Anisko <robert.anisko@epita.fr>
1235
1236 * src/main.c (main): Initialize the macro table.
1237
dd3127cf
RA
12382001-08-25 Robert Anisko <robert.anisko@epita.fr>
1239
1240 * src/lex.c (percent_table): Add tok_define.
1241 * src/lex.h: Add tok_define.
1242
aa321494
RA
12432001-08-25 Robert Anisko <robert.anisko@epita.fr>
1244
1245 * src/macrotab.c: New file.
1246 * src/macrotab.h: New file.
1247 * src/Makefile.am: Update.
1248
68bd3b6b
RA
12492001-08-25 Robert Anisko <robert.anisko@epita.fr>
1250
1251 * lib/hash.c: New file.
1252 * lib/hash.h: New file.
1253 * lib/Makefile.am: Update.
1254
45f8dd1e
AD
12552001-08-15 Akim Demaille <akim@epita.fr>
1256
1257 Version 1.28c.
1258
40a64a7a 12592001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1260
1261 * src/reader.c (readgram): Indent output macro YYSTYPE.
1262 (packsymbols): Likewise.
1263 (output_token_defines): Likewise.
1264 * src/files.c: Standardize.
1265 (compute_header_macro): New.
1266 (defines_obstack_save): New. Use compute_header_macro.
1267 (output_files): Update. Use defines_obstack_save.
1268
f9a8293a
AD
12692001-08-15 Akim Demaille <akim@epita.fr>
1270
1271 * doc/bison.texinfo (Table of Symbols): Document
1272 YYSTACK_USE_ALLOCA.
1273
150ca7a7
AD
12742001-08-15 Akim Demaille <akim@epita.fr>
1275
1276 * missing: Update from CVS Automake.
1277 * config/config.guess, config/config.sub, config/texinfo.tex:
1278 Update from gnu.org.
1279
69b5cec4
AD
12802001-08-15 Akim Demaille <akim@epita.fr>
1281
1282 * Makefile.maint: Sync with CVS Autoconf.
1283
f2b5126e
PB
12842001-08-14 Pascal Bart <pascal.bart@epita.fr>
1285
69b5cec4 1286 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1287 `fdl.texi'.
1288 * doc/fdl.texi: Add to package.
1289
4ecbf796
MA
12902001-08-14 Marc Autret <autret_m@epita.fr>
1291
1292 Turn on %{source,header}_extension features.
1293
69b5cec4 1294 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1295 source_extension.
1296 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1297 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1298 between options.
1299
95fb5662
MA
13002001-08-14 Marc Autret <autret_m@epita.fr>
1301
1302 * src/files.c (compute_base_names): Add extensions computing when
1303 `--file-prefix' used.
1304 Standardize function calls.
1305
78d09da9
MA
13062001-08-13 Marc Autret <autret_m@epita.fr>
1307
69b5cec4 1308 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1309 defining it (defined but null disables alloca).
1310
5a009f2c
MA
13112001-08-13 Marc Autret <autret_m@epita.fr>
1312
1313 * src/bison.simple (_yy_memcpy): CPP reformat.
1314
1e41465a
PB
13152001-08-13 Pascal Bart <pascal.bart@epita.fr>
1316
1317 * tests/atconfig.in (CPPFLAGS): Fix.
1318
c67a198d
PB
13192001-08-10 Pascal Bart <pascal.bart@epita.fr>
1320
79282c6c 1321 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1322 `gpl.texi'.
1323 * doc/gpl.texi: Add to package.
1324
09a6de7e
MA
13252001-08-10 Marc Autret <autret_m@epita.fr>
1326
1327 * src/print_graph.h: Fix.
1328 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1329
b77b9ee0
AD
13302001-08-10 Akim Demaille <akim@epita.fr>
1331
1332 * src/system.h: Provide default declarations for stpcpy, strndup,
1333 and strnlen.
1334
3e259915
MA
13352001-08-10 Robert Anisko <anisko_r@epita.fr>
1336
1337 * doc/bison.texinfo (Locations): Update @$ stuff.
1338
ca96bc2d
MA
13392001-08-09 Robert Anisko <anisko_r@epita.fr>
1340
1341 * src/bison.simple (YYLLOC_DEFAULT): Update.
1342 (yyparse): Adjust.
1343
fdc6758b
MA
13442001-08-08 Marc Autret <autret_m@epita.fr>
1345
b77b9ee0 1346 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1347 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1348 Reported by Fabrice Bauzac.
957d4dbf 1349
600cad3b
MA
13502001-08-08 Marc Autret <autret_m@epita.fr>
1351
1352 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1353 * src/vcg.c (output_node): Fix.
1354 * src/vcg.h: Cleanup.
1355 * src/print_graph.c: Add comments.
b77b9ee0 1356 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1357 the VCG graph output.
b77b9ee0 1358 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1359 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1360 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1361 blue.
1362 Get the current node name and node_obstack by argument.
1363 (node_obstack): New variable.
1364 (print_state): Manage node_obstack.
1365 (print_core): Use node_obstack given by argument.
1366 A node is not only computed here but in print_actions also.
1367 (print_graph): CPP out useless code instead of commenting it.
1368
976e528f
AD
13692001-08-07 Pascal Bart <pascal.bart@epita.fr>
1370
1371 * tests/atconfig.in (CPPFLAGS): Fix.
1372
20e8e5ca
AD
13732001-08-07 Akim Demaille <akim@epita.fr>
1374
1375 * src/print_graph.c (quote): New.
1376 (print_core): Use it.
1377
957d4dbf 13782001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1379
3e3da797
AD
1380 * src/vcg.c (complain.h): Include it.
1381 Unepitaize `return' invocations.
c4b66126 1382 [NDEBUG] (main): Remove.
79282c6c 1383 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1384 * src/files.c (open_files): Initialize graph_obstack.
1385 * src/print_graph.c (print_actions): CPP out useless code.
1386 (print_core): Don't output the last `\n' in labels.
1387 Use `quote'.
1388 * src/files.c (output_files): Output the VCG file.
1389 * src/main.c (main): Invoke print_graph ();
3e3da797 1390
957d4dbf 13912001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1392
1393 Automaton VCG graph output.
1394 Using option ``-g'' or long option ``--graph'', you can generate
1395 a gram_filename.vcg file containing a VCG description of the LALR (1)
1396 automaton of your grammar.
1397
1398 * src/main.c: Call to print_graph() function.
1399 * src/getargs.h: Update.
1400 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1401 (graph_flag): New flag.
1402 (longopts): Update.
1403 (getargs): Add case `g'.
1404 * src/files.c (graph_obstack): New obstack struct.
1405 (open_files): Initialize new obstack.
1406 (output_files): Saves graph_obstack if required.
1407 * src/files.h (graph_obstack): New extern declaration.
1408 * src/Makefile.am: Add new source files.
1409
957d4dbf 14102001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1411
1412 * src/print_graph.c, src/print_graph.h (graph): New.
1413 * src/vcg.h: New file.
1414 * src/vcg.c: New file, VCG graph handling.
1415
7333d403
AD
14162001-08-06 Marc Autret <autret_m@epita.fr>
1417
1418 Add of %source_extension and %header_extension which specify
1419 the source or/and the header output file extension.
1420
1421 * src/files.c (compute_base_names): Remove initialisation of
1422 src_extension and header_extension.
1423 (compute_exts_from_gf): Update.
1424 (compute_exts_from_src): Update.
1425 (output_files): Update.
1426 * src/reader.c (parse_header_extension_decl): New.
1427 (parse_source_extension_decl): New.
1428 (read_declarations): New case statements for the new tokens.
1429 * src/lex.c (percent_table): Add entries for %source_extension
1430 and %header_extension.
1431 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1432
84163231
AD
14332001-08-06 Marc Autret <autret_m@epita.fr>
1434
1435 * configure.in: Bump to 1.28c.
1436 * doc/bison.texinfo: Texinfo thingies.
1437
8303fc42
AD
14382001-08-04 Pascal Bart <pascal.bart@epita.fr>
1439
1440 * tests/atconfig.in (CPPFLAGS): Add.
1441 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1442
70a84437
AD
14432001-08-03 Akim Demaille <akim@epita.fr>
1444
1445 Version 1.28b.
1446
2ce10144
AD
14472001-08-03 Akim Demaille <akim@epita.fr>
1448
1449 * tests/Makefile.am (check-local): Ship testsuite.
1450 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1451 Include `string.h'.
1452
1e3e4bc1
AD
14532001-08-03 Akim Demaille <akim@epita.fr>
1454
1455 * configure.in: Try using -Wformat when compiling.
1456
42b45b7f
AD
14572001-08-03 Akim Demaille <akim@epita.fr>
1458
1459 * configure.in: Bump to 1.28b.
1460
8f13fe33
AD
14612001-08-03 Akim Demaille <akim@epita.fr>
1462
1463 * src/complain.c: Adjust strerror_r portability issues.
1464
b37ba92c
AD
14652001-08-03 Akim Demaille <akim@epita.fr>
1466
1467 Version 1.28a.
1468
b0ce6046
AD
14692001-08-03 Akim Demaille <akim@epita.fr>
1470
1471 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1472 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1473 * src/getargs.c: Include complain.h.
1474 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1475 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1476
d01c415b
AD
14772001-08-03 Akim Demaille <akim@epita.fr>
1478
1479 * src/reader.c (readgram): Display hidden chars in error messages.
1480
459dd1a6
AD
14812001-08-03 Akim Demaille <akim@epita.fr>
1482
1483 Update to gettext 0.10.39.
1484
53b74c0c
AD
14852001-08-03 Akim Demaille <akim@epita.fr>
1486
1487 * lib/strspn.c: New.
1488
234a3be3
AD
14892001-08-01 Marc Autret <autret_m@epita.fr>
1490
1491 * doc/bison.texinfo: Update.
1492 * doc/bison.1 (mandoc): Update.
1493 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1494 * src/files.c: Support output files extensions computing.
1495 (src_extension): New static variable.
1496 (header_extension): New static variable.
1497 (tr): New function.
1498 (get_extension_index): New function, gets the index of an extension
1499 filename in a string.
1500 (compute_exts_from_gf): New function, computes extensions from the
1501 grammar file extension.
1502 (compute_exts_from_src): New functions, computes extensions from the
1503 C source file extension, file given by ``-o'' option.
1504 (compute_base_names): Update.
1505 (output_files): Update.
1506
847bf1f5
AD
15072001-08-01 Robert Anisko <anisko_r@epita.fr>
1508
d995fee7 1509 * doc/bison.texi: Document @$.
847bf1f5
AD
1510 (Locations): New section.
1511
d074a105
AD
15122001-07-18 Akim Demaille <akim@epita.fr>
1513
1514 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1515 * config/prev-version.txt, config/move-if-change: New.
1516 * Makefile.am: Adjust.
1517
3419715d
AD
15182001-07-08 Pascal Bart <pascal.bart@epita.fr>
1519
1520 * src/bison.simple (yyparse): Suppress warning `comparaison
1521 between signed and unsigned'.
1522
62ab6972
AD
15232001-07-05 Pascal Bart <pascal.bart@epita.fr>
1524
1525 * src/getargs.h (raw_flag): Remove.
1526 * src/getargs.c: Die on `-r'/`--raw'.
1527 * src/lex.c (parse_percent_token): Die on `%raw'.
1528 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1529 * tests/calc.at: Suppress test with option `--raw'.
1530
1e24cc5b
AD
15312001-07-14 Akim Demaille <akim@epita.fr>
1532
1533 * config/: New.
1534 * configure.in: Require Autoconf 2.50.
1535 Update to gettext 0.10.38.
1536
32dfccf8
AD
15372001-03-16 Akim Demaille <akim@epita.fr>
1538
1539 * doc/bison.texinfo: ANSIfy the examples.
1540
cd5bd6ac
AD
15412001-03-16 Akim Demaille <akim@epita.fr>
1542
1543 * getargs.c (skeleton): New variable.
1544 (longopts): --skeleton is a new option.
1545 (shortopts, getargs): -S is a new option.
1546 * getargs.h: Declare skeleton.
1547 * output.c (output_parser): Use it.
1548
5141b016
AD
15492001-03-16 Akim Demaille <akim@epita.fr>
1550
1551 * m4/strerror_r.m4: New.
1552 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1553 * lib/error.h, lib/error.c: Update.
1554
447992b9
AD
15552001-03-16 Akim Demaille <akim@epita.fr>
1556
1557 * src/getargs.c (longopts): Clean up.
1558
274d42ce
AD
15592001-02-21 Akim Demaille <akim@epita.fr>
1560
1561 * src/reader.c (gensym): `gensym_count' is your own.
1562 Use a static buf to create the symbol name, as token_buffer is no
1563 longer a buffer.
1564
22c821f3
AD
15652001-02-08 Akim Demaille <akim@epita.fr>
1566
1567 * src/conflicts.c (conflict_report): Be sure not to append to res
1568 between two calls, which could happen if both first sprintf were
1569 skipped, but not the first cp += strlen.
1570
18569462
AD
15712001-02-08 Akim Demaille <akim@epita.fr>
1572
1573 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1574 New, from fileutils 4.0.37.
1575 * configure.in: Require Autoconf 2.49c. I took some time before
1576 making this decision. This is the only way out for portability
1577 issues in Bison, it would mean way too much duplicate effort to
1578 import in Bison features implemented in 2.49c since 2.13.
1579 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1580
0d8f3c8a
AD
15812001-02-02 Akim Demaille <akim@epita.fr>
1582
1583 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1584 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1585
f17bcd1f
AD
15862001-01-19 Akim Demaille <akim@epita.fr>
1587
1588 Get rid of the ad hoc handling of token_buffer in the scanner: use
1589 the obstacks.
1590
1591 * src/lex.c (token_obstack): New.
1592 (init_lex): Initialize it. No longer call...
1593 (grow_token_buffer): this. Remove it.
1594 Adjust all the places which used it to use the obstack.
1595
511e79b3
AD
15962001-01-19 Akim Demaille <akim@epita.fr>
1597
1598 * src/lex.h: Rename all the tokens:
1599 s/\bENDFILE\b/tok_eof/g;
1600 s/\bIDENTIFIER\b/tok_identifier/g;
1601 etc.
1602 Let them be enums, not #define, to ease debugging.
1603 Adjust all the code.
1604
0d6508ef
AD
16052001-01-18 Akim Demaille <akim@epita.fr>
1606
1607 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1608 * src/lex.c (maxtoken, grow_token_buffer): Static.
1609
6deb4447
AD
16102001-01-18 Akim Demaille <akim@epita.fr>
1611
1612 Since we now use obstacks, more % directives can be enabled.
1613
1614 * src/lex.c (percent_table): Also accept `%yacc',
1615 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1616 `%debug'.
1617 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1618 instead of returning a token.
1619 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1620 * src/reader.c (read_declarations): Adjust.
1621 * src/files.c (open_files): Don't call `compute_base_names', don't
1622 compute `attrsfile' since they depend upon data which might be
1623 *in* the input file now.
1624 (output_files): Do it here.
1625 * src/output.c (output_headers): Document the fact that this patch
1626 introduces a guaranteed SEGV for semantic parsers.
1627 * doc/bison.texinfo: Document them.
1628 * tests/suite.at: Exercise these %options.
1629
ff4423cc
AD
16302000-12-20 Akim Demaille <akim@epita.fr>
1631
1632 Also handle the output file (--verbose) with obstacks.
1633
1634 * files.c (foutput): Remove.
1635 (output_obstack): New.
1636 Adjust all dependencies.
1637 * src/conflicts.c: Return a string.
1638 * src/system.h (obstack_grow_string): Rename as...
1639 (obstack_sgrow): this. Be ready to work with non literals.
1640 (obstack_fgrow4): New.
1641
956dba3a
AD
16422000-12-20 Akim Demaille <akim@epita.fr>
1643
1644 * src/files.c (open_files): Fix the computation of short_base_name
1645 in the case of `-o foo.tab.c'.
1646
337bab46
AD
16472000-12-20 Akim Demaille <akim@epita.fr>
1648
1649 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1650 (copy_dollar): Now that everything uses obstacks, get rid of the
1651 FILE * parameters.
1652
5d3214b8
AD
16532000-12-20 Akim Demaille <akim@epita.fr>
1654
1655 * src/files.c (open_files): Actually the `.output' file is based
1656 on the short_base_name, not base_name.
1657 * tests/suite.at (Checking output file names): Adjust.
1658
29092a57
AD
16592000-12-20 Akim Demaille <akim@epita.fr>
1660
1661 * src/bison.s1: Remove, we now use directly...
1662 * src/bison.simple: this.
1663 * src/Makefile.am: Use pkgdata instead of data.
1664
ea5607fd
AD
16652000-12-20 Akim Demaille <akim@epita.fr>
1666
1667 * src/files.c (guard_obstack): New.
1668 (open_files): Initialize it.
1669 (output_files): Dump it...
1670 * src/files.h: Export it.
1671 * src/reader.c (copy_guard): Use it.
1672
27110317
AD
16732000-12-19 Akim Demaille <akim@epita.fr>
1674
1675 * src/files.c (outfile, defsfile, actfile): Removed as global
1676 vars.
1677 (open_files): Don't compute them.
1678 (output_files): Adjust.
1679 (base_name, short_base_name): Be global.
1680 Adjust dependencies.
1681
19c50364
AD
16822000-12-19 Akim Demaille <akim@epita.fr>
1683
1684 * src/files.c (strsuffix): New.
1685 (stringappend): Be just like strcat but allocate.
1686 (base_names): Eve out from open_files.
1687 Try to simplify the rather hairy computation of base_name and
1688 short_base_name.
1689 (open_files): Use it.
1690 * tests/suite.at (Checking output file names): New test.
1691
573c1d9f
AD
16922000-12-19 Akim Demaille <akim@epita.fr>
1693
1694 * src/system.h (obstack_grow_literal_string): Rename as...
1695 (obstack_grow_string): this.
1696 * src/output.c (output_parser): Recognize `%% actions' instead of
1697 `$'.
1698 * src/bison.s1: s/$/%% actions/.
1699 * src/bison.hairy: Likewise.
1700
ef7ddedd
AD
17012000-12-19 Akim Demaille <akim@epita.fr>
1702
1703 * src/output.c (output_parser): Compute the `#line' lines when
1704 there are.
1705 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1706 Suggested by Hans Aberg.
1707
ff61dabd
AD
17082000-12-19 Akim Demaille <akim@epita.fr>
1709
1710 Let the handling of the skeleton files be local to the procedures
1711 that use it.
1712
1713 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1714 longer static.
1715 (fparser, open_extra_files): Remove.
1716 (open_files, output_files): Don't take care of fparser.
1717 * src/files.h: Adjust.
1718 * src/output.c (output_parser): Open and close the file to the
1719 skeleton.
1720 * src/reader.c (read_declarations): When %semantic_parser, open
1721 fguard.
1722
55b96341
AD
17232000-12-19 Akim Demaille <akim@epita.fr>
1724
1725 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1726 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1727
358c15b7
AD
17282000-12-19 Akim Demaille <akim@epita.fr>
1729
1730 * src/files.c (open_files): Yipee! We no longer need all the code
1731 looking for `/tmp' since we have no tmp file.
1732
7de3329e
AD
17332000-12-19 Akim Demaille <akim@epita.fr>
1734
1735 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1736 New macros.
1737 * src/files.c (open_files): Less dependency on MSDOS etc.
1738
3abcd459
AD
17392000-12-14 Akim Demaille <akim@epita.fr>
1740
1741 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1742 Provide a default definition.
1743 Use it when executing the default @ action.
1744 * src/reader.c (reader_output_yylsp): No longer include
1745 `timestamp' and `text' in the default YYLTYPE.
1746
2a91a95e
AD
17472000-12-12 Akim Demaille <akim@epita.fr>
1748
1749 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1750 (copy_guard): Quote the file names.
1751 Reported by Laurent Mascherpa.
1752
14d3eb9b
AD
17532000-12-12 Akim Demaille <akim@epita.fr>
1754
1755 * src/output.c (output_headers, output_program, output): Be sure
1756 to escape special characters when outputting filenames.
1757 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1758 (output_headers): Don't depend on them, Use ACTSTR.
1759
d7045ec6
AD
17602000-11-17 Akim Demaille <akim@epita.fr>
1761
1762 * lib/obstack.h: Formatting changes.
1763 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1764 prevents type checking.
1765 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1766 cast the value to (void *): assigning a `foo *' to a `void *'
1767 variable is valid.
1768 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1769 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1770 append characters.
1771
6fd54b73
AD
17722000-11-17 Akim Demaille <akim@epita.fr>
1773
1774 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1775 as...
1776 (suite.m4, regression.m4, calc.m4): these.
1777 * tests/atgeneral.m4: Update from CVS Autoconf.
1778
4c50eae6
AD
17792000-11-17 Akim Demaille <akim@epita.fr>
1780
1781 * tests/regression.m4 (%union and --defines): New test,
1782 demonstrating a current bug in the obstack implementation.
1783
a35f64ea
AD
17842000-11-17 Akim Demaille <akim@epita.fr>
1785
1786 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1787 macros.
1788 Use them to declare the variables which are global or local to
1789 `yyparse'.
1790
7de23534
AD
17912000-11-17 Akim Demaille <akim@epita.fr>
1792
1793 * acconfig.h: Remove, no longer used.
1794
aa7815f5
AD
17952000-11-07 Akim Demaille <akim@epita.fr>
1796
1797 * src: s/Copyright (C)/Copyright/g.
1798
5af1f549
AD
17992000-11-07 Akim Demaille <akim@epita.fr>
1800
1801 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1802 defining.
1803 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1804
553e2b22
AD
18052000-11-07 Akim Demaille <akim@epita.fr>
1806
1807 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1808 Merge in a single CPP if/else.
1809
8a4f41d6
AD
18102000-11-07 Akim Demaille <akim@epita.fr>
1811
1812 * src/output.c (output): Remove useless variables.
1813 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1814 argument `data' for consistency with the prototypes.
1815 Qualify it `const'.
1816 (obstack_copy, obstack_copy0): Rename the second argument as
1817 `address' for consistency. Qualify it `const'.
1818 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1819 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1820 `const' their input argument (`data' or `address').
1821 Adjust the corresponding macros to include `const' in casts.
1822
095a3fb5
AD
18232000-11-03 Akim Demaille <akim@epita.fr>
1824
1825 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1826 s/PFILE1/BISON_HAIRY/.
1827 Adjust dependencies.
1828
d1cdce7c
AD
18292000-11-03 Akim Demaille <akim@epita.fr>
1830
090c5ebf 1831 For some reason, this was not applied.
d1cdce7c
AD
1832
1833 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1834 `unlink': it's no longer used.
1835
9311529b
AD
18362000-11-03 Akim Demaille <akim@epita.fr>
1837
1838 * src/files.c (skeleton_find): New function, eved out of...
1839 (open_files, open_extra_files): here.
1840
d8880f69
AD
18412000-11-03 Akim Demaille <akim@epita.fr>
1842
1843 Don't use `atexit'.
1844
1845 * src/files.c (obstack_save): New function.
1846 (done): Rename as...
1847 (output_files): this.
1848 Use `obstack_save'.
1849 * src/main.c (main): Don't use `atexit' to register `done', since
1850 it no longer has to remove tmp files, just call `output_files'
1851 when there are no errors.
1852
0dbb648e
AD
18532000-11-02 Akim Demaille <akim@epita.fr>
1854
1855 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1856 `unlink': it's no longer used.
1857 * src/files.h: Formatting changes.
1858
896fe5c1
AD
18592000-11-02 Akim Demaille <akim@epita.fr>
1860
1861 Remove the last uses of mktemp and unlink/delete.
1862
1863 * src/files.c (fdefines, ftable): Removed.
1864 (defines_ostack, table_obstack): New.
1865 Adjust dependencies of the former into uses of the latter.
1866 * src/output.c (output_short_or_char_table, output_short_table):
1867 Convert to using obstacks.
1868 * src/reader.c (copy_comment2): Accept one FILE * and two
1869 obstacks.
1870 (output_token_defines, reader_output_yylsp): Use obstacks.
1871 * src/system.h (obstack_fgrow3): New.
1872
dd60faec
AD
18732000-11-01 Akim Demaille <akim@epita.fr>
1874
1875 Change each use of `fattrs' into a use of `attrs_obstack'.
1876
1877 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1878 * src/files.c (fattrs): Remove.
1879 (attrs_obstack): New.
1880 Adjust all dependencies.
1881 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1882
8c7ebe49
AD
18832000-11-01 Akim Demaille <akim@epita.fr>
1884
1885 Introduce obstacks.
1886 Change each use of `faction' into a use of `action_obstack'.
1887
1888 * lib/obstack.h, lib/obstack.c: New files.
1889 * src/files.c (faction): Remove.
1890 (action_obstack): New.
1891 Adjust all dependencies.
1892
77aee789
AD
18932000-10-20 Akim Demaille <akim@epita.fr>
1894
1895 * lib/quote.h (PARAMS): New macro. Use it.
1896
43591cec
AD
18972000-10-16 Akim Demaille <akim@epita.fr>
1898
1899 * src/output.c (output_short_or_char_table): New function.
1900 (output_short_table, output_token_translations): Use it.
1901 (goto_actions): Use output_short_table.
1902
1e9798d5
AD
19032000-10-16 Akim Demaille <akim@epita.fr>
1904
1905 * src/symtab.c (bucket_new): New function.
1906 (getsym): Use it.
1907
1908 * src/output.c (output_short_table): New argument to display the
1909 comment associated with the table.
1910 Adjust dependencies.
1911 (output_gram): Use it.
1912 (output_rule_data): Nicer output layout for YYTNAME.
1913
f282676b
AD
19142000-10-16 Akim Demaille <akim@epita.fr>
1915
1916 * src/lex.c (read_typename): New function.
1917 (lex): Use it.
1918 * src/reader.c (copy_dollar): Likewise.
1919
550a72a3
AD
19202000-10-16 Akim Demaille <akim@epita.fr>
1921
1922 * src/reader.c (copy_comment2): Expect the input stream to be on
1923 the `/' which is suspected to open a comment, instead of being
1924 called after `//' or `/*' was read.
1925 (copy_comment, copy_definition, parse_union_decl, copy_action)
1926 (copy_guard): Adjust.
1927
131e2fef
AD
19282000-10-16 Akim Demaille <akim@epita.fr>
1929
1930 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1931 `read_signed_integer'.
1932
79282c5a
AD
19332000-10-16 Akim Demaille <akim@epita.fr>
1934
1935 * src/reader.c (copy_dollar): New function.
1936 (copy_guard, copy_action): Use it.
1937
ff4a34be
AD
19382000-10-16 Akim Demaille <akim@epita.fr>
1939
1940 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1941 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1942 New files, from Fileutils 4.0.27.
1943 * src/main.c (printable_version): Remove.
1944 * src/lex.c, src/reader.c: Use `quote'.
1945
19462000-10-04 Akim Demaille <akim@epita.fr>
1947
1948 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1949
14ded682
AD
19502000-10-04 Akim Demaille <akim@epita.fr>
1951
1952 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1953
8e03724b
AD
19542000-10-04 Akim Demaille <akim@epita.fr>
1955
1956 When a literal string is used to define two different tokens,
1957 `bison -v' segfaults.
1958 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1959
1960 * tests/regression.m4: New file.
1961 Include the core of the sample provided by Piotr Gackiewicz.
1962 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1963 properly.
1964
a9e64249
AD
19652000-10-04 Akim Demaille <akim@epita.fr>
1966
1967 * src/reader.c (parse_expect_decl): Keep `count' within the size
1968 of `buffer'.
1969 From Neil Booth.
1970
da9abf43
AD
19712000-10-02 Paul Eggert <eggert@twinsun.com>
1972
1973 * bison.s1 (yyparse): Assign the default value
1974 unconditionally, to avoid a GCC warning and make the parser a
1975 tad smaller.
1976
c33638bb
AD
19772000-10-02 Akim Demaille <akim@epita.fr>
1978
1979 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1980 options.
1981
444c570a
AD
19822000-10-02 Akim Demaille <akim@epita.fr>
1983
1984 * src/derives.c, src/print.c, src/reduce.c: To ease the
1985 translation, move some `\n' out of the translated strings.
1986
89cab50d
AD
19872000-10-02 Akim Demaille <akim@epita.fr>
1988
1989 The location tracking mechanism is precious for parse error
1990 messages. Nevertheless, it is enabled only when `@n' is used in
1991 the grammar, which is a different issue (you can use it in error
1992 message, but not in the grammar per se). Therefore, there should
1993 be another means to enable it.
1994
1995 * src/getargs.c (getargs): Support `--locations'.
1996 (usage): Report it.
1997 * src/getargs.h (locationsflag): Export it.
1998 * src/lex.c (percent_table): Support `%locations'.
1999 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2000 with `locationsflag'.
2001 * doc/bison.texinfo: Document `--locations' and `%locations'.
2002 Sort the options.
2003 * tests/calc.m4: Test it.
2004
2005 For regularity of the names, replace each
2006 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2007 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2008 In addition replace each `flag' with `_flag'.
2009
d6c2cba0
AD
20102000-10-02 Akim Demaille <akim@epita.fr>
2011
2012 Also test parse error messages, including with YYERROR_VERBOSE.
2013
2014 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2015 associative).
2016 Use it to check the computations.
2017 Use it to check `nonassoc' is honored.
2018 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2019 `--yyerror-verbose'.
2020 (_AT_CHECK_CALC): Adjust to this option.
2021 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2022
5a35a6cb
AD
20232000-10-02 Akim Demaille <akim@epita.fr>
2024
2025 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2026 the latter demonstrates a flaw in the handling of non debugging
2027 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2028 was used in order to simplify:
2029
2030 #if YYDEBUG
2031 if (yydebug)
2032 {
2033 ...
2034 }
2035 #endif
2036
2037 into
2038
2039 if (yydebug)
2040 {
2041 ...
2042 }
2043
2044 unfortunately this leads to a CPP conflict when
2045 `--name-prefix=foo' is used since it produces `#define yydebug
2046 foodebug'.
2047
2048 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2049 (YYDPRINTF): New macro.
2050 Spread its use.
2051 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2052 the bison options.
2053 Also test `--verbose', `--defines' and `--name-prefix'.
2054
71da9eea
AD
20552000-10-02 Akim Demaille <akim@epita.fr>
2056
2057 Improve the readability of the produced parsers.
2058
2059 * src/bison.s1: Formatting changes.
2060 Improve the comment related to the `$' mark.
2061 (yydefault): Don't fall through to `yyresume': `goto' there.
2062 * src/output.c (output_parser): When the `$' is met, skip the end
2063 of its line.
2064 New variable, `number_of_dollar_signs', to check there's exactly
2065 one `$' in the parser skeleton.
2066
95e36146
AD
20672000-10-02 Akim Demaille <akim@epita.fr>
2068
2069 * lib/xstrdup.c: New file, from the fileutils.
2070 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2071 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2072 instead of strlen + xmalloc + strcpy.
2073 * src/symtab.c (copys): Remove, use xstrdup instead.
2074
d7020c20
AD
20752000-10-02 Akim Demaille <akim@epita.fr>
2076
2077 * src/gram.h (associativity): New enum type which replaces the
2078 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2079 `right_assoc', `left_assoc' and `non_assoc'.
2080 Adjust all dependencies.
2081 * src/reader.c: Formatting changes.
2082 (LTYPESTR): Don't define it, use it as a literal in
2083 `reader_output_yylsp'.
2084 * src/symtab.h (symbol_class): New enum type which replaces the
2085 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2086 `sunknown', `stoken and `snterm'.
2087
1916f98e
AD
20882000-10-02 Akim Demaille <akim@epita.fr>
2089
2090 * src/getargs.c (fixed_outfiles): Rename as...
2091 (yaccflag): for consistency and accuracy.
2092 Adjust dependencies.
2093
d7913476
AD
20942000-10-02 Akim Demaille <akim@epita.fr>
2095
2096 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2097 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2098 difficult and introduced a lot of core dump. It turns out that
2099 Bison used an implementation of `xmalloc' based on `calloc', and
2100 at various places it does depend upon the initialization to 0. I
2101 have not tried to isolate the pertinent places, and all the former
2102 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2103 someone should address this issue.
2104
2105 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2106 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2107 files.
2108 Adjust dependencies.
2109 * src/warshall.h: New file.
2110 Propagate.
2111
340ef489
AD
21122000-10-02 Akim Demaille <akim@epita.fr>
2113
2114 Various anti-`extern in *.c' changes.
2115
2116 * src/system.h: Include `assert.h'.
2117
b2ca4022
AD
21182000-10-02 Akim Demaille <akim@epita.fr>
2119
2120 * src/state.h (nstates, final_state, first_state, first_shift)
2121 (first_reduction): Move their exportation from here...
2122 * src/LR0.h: to here.
2123 Adjust dependencies.
2124 * src/getargs.c (statisticsflag): New variable.
2125 Add support for `--statistics'.
2126 Adjust dependencies.
2127
2128 Remove a lot of now useless `extern' statements in most files.
2129
403b315b
AD
21302000-10-02 Akim Demaille <akim@epita.fr>
2131
2132 * src/LR0.h: New file.
2133 Propagate its use.
2134
07a58c13
AD
21352000-10-02 Akim Demaille <akim@epita.fr>
2136
2137 * src/print.h: New file.
2138 Propagate its use.
2139 * src/print.c: Formatting and ordering changes.
2140 (verbose, terse): Replace with...
2141 (print_results): this new function.
2142 Adjust dependencies.
2143
0619caf0
AD
21442000-10-02 Akim Demaille <akim@epita.fr>
2145
2146 * src/conflicts.c (conflict_report): New function.
2147 (conflict_log, verbose_conflict_log): Replace with...
2148 (print_conflicts): this function.
2149 Adjust dependencies.
2150 * src/conflicts.h: New file.
2151 Propagate its inclusion.
2152
3519ec76
AD
21532000-10-02 Akim Demaille <akim@epita.fr>
2154
2155 * src/nullable.h: New file.
2156 Propagate its inclusion.
2157 * src/nullable.c: Formatting changes.
2158
015acc48
AD
21592000-10-02 Akim Demaille <akim@epita.fr>
2160
2161 * src/reduce.h: New file.
2162 Propagate its inclusion.
2163 * src/reduce.c: Topological sort and other formatting changes.
2164 (bool, TRUE, FALSE): Move their definition to...
2165 * src/system.h: here.
2166
8963a27b
AD
21672000-10-02 Akim Demaille <akim@epita.fr>
2168
2169 * src/files.c: Formatting changes.
2170 (tryopen, tryclose, openfiles): Rename as...
2171 (xfopen, xfclose, open_files): this.
2172 (stringappend): static.
2173 * src/files.h: Complete the list of exported symbols.
2174 Propagate its use.
2175
a70083a3
AD
21762000-10-02 Akim Demaille <akim@epita.fr>
2177
2178 * src/reader.h: New file.
2179 Propagate its use instead of tedious list of `extern' and
2180 prototypes.
2181 * src/reader.c: Formatting changes, topological sort,
2182 s/register//.
2183
abadc117
AD
21842000-10-02 Akim Demaille <akim@epita.fr>
2185
2186 * src/lex.h: Prototype `lex.c' exported functions.
2187 * src/reader.c: Adjust.
2188 * src/lex.c: Formatting changes.
2189 (safegetc): Rename as...
2190 (xgetc): this.
2191
720d742f
AD
21922000-10-02 Akim Demaille <akim@epita.fr>
2193
2194 * src/lalr.h: New file.
2195 Propagate its inclusion instead of prototypes and `extern'.
2196 * src/lalr.c: Formatting changes, topological sorting etc.
2197
f2acea59
AD
21982000-10-02 Akim Demaille <akim@epita.fr>
2199
2200 * src/output.c (token_actions): Introduce a temporary array,
2201 YYDEFACT, that makes it possible for this function to use
2202 output_short_table.
2203
d019d655
AD
22042000-10-02 Akim Demaille <akim@epita.fr>
2205
2206 `user_toknums' is output as a `short[]' in `output.c', while it is
2207 defined as a `int[]' in `reader.c'. For consistency with the
2208 other output tables, `user_toknums' is now defined as a table of
2209 shorts.
2210
2211 * src/reader.c (user_toknums): Be a short table instead of an int
2212 table.
2213 Adjust dependencies.
2214
2215 Factor the short table outputs.
2216
2217 * src/output.c (output_short_table): New function.
2218 * src/output.c (output_gram, output_stos, output_rule_data)
2219 (output_base, output_table, output_check): Use it.
2220
6c89f1c1
AD
22212000-10-02 Akim Demaille <akim@epita.fr>
2222
2223 * src/output.c (output): Topological sort of the functions, in
2224 order to get rid of the `static' prototypes.
2225 No longer use `register'.
2226 * src/output.h: New file.
2227 Propagate its inclusion in files explicitly prototyping functions
2228 from output.c.
2229
d9efd181
AD
22302000-09-21 Akim Demaille <akim@epita.fr>
2231
2232 * src/atgeneral.m4: Update from Autoconf.
2233
c29240e7 22342000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2235
2236 * src/closure.h: New file.
2237 * src/closure.c: Formatting changes, topological sort over the
2238 functions, use of closure.h.
2239 (initialize_closure, finalize_closure): Rename as...
2240 (new_closure, free_closure): these. Adjust dependencies.
2241 * src/LR0.c: Formatting changes, topological sort, use of
2242 cloture.h.
2243 (initialize_states): Rename as...
2244 (new_states): this.
2245 * src/Makefile.am (noinst_HEADERS): Adjust.
2246
499daa50
AD
22472000-09-20 Akim Demaille <akim@epita.fr>
2248
2249 * src/acconfig.h: Don't protect config.h against multiple
2250 inclusion.
2251 Don't define PARAMS.
2252 * src/system.h: Define PARAMS.
2253 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2254 purpose of config.h. system.h must not try to fix wrong
2255 definitions in config.h.
2256
cc84fd5d
AD
22572000-09-20 Akim Demaille <akim@epita.fr>
2258
2259 * src/derives.h: New file.
2260 * src/main.c, src/derives.h: Use it.
2261 Formatting changes.
2262 * src/Makefile.am (noinst_HEADERS): Adjust.
2263
db5b3a89
AD
22642000-09-20 Akim Demaille <akim@epita.fr>
2265
2266 * tests/atgeneral.m4: Update from Autoconf.
2267 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2268 (AT_CHECK_CALC): New macros.
2269 Use these macros to test bison with options `', `--raw',
2270 `--debug', `--yacc', `--yacc --debug'.
2271
ceed8467
AD
22722000-09-19 Akim Demaille <akim@epita.fr>
2273
2274 * src/output.c: Formatting changes.
2275 * src/machine.h: Remove, leaving its contents in...
2276 * src/system.h: here.
2277 Include stdio.h.
2278 Adjust all dependencies on stdio.h and machine.h.
2279 * src/getargs.h: New file.
2280 Let all `extern' declarations about getargs.c be replaced with
2281 inclusion of `getargs.h'.
2282 * src/Makefile.am (noinst_HEADERS): Adjust.
2283
2284 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2285 scope.
2286 (yyerror): Returns void, not int.
2287 * doc/bison.texinfo: Formatting changes.
2288
05a1d24b
AD
22892000-09-19 Akim Demaille <akim@epita.fr>
2290
2291 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2292 portable.
2293
cbd25751
AD
22942000-09-18 Akim Demaille <akim@epita.fr>
2295
2296 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2297 * src/Makefile.am (INCLUDES): Don't.
2298 Be ready to fetch headers in lib/.
2299
13863333
AD
23002000-09-18 Akim Demaille <akim@epita.fr>
2301
2302 * doc/bison.texinfo: Update the copyright.
2303 ANSIfy and GNUify the examples.
2304 Remove the old menu.
2305
0d533154
AD
23062000-09-18 Akim Demaille <akim@epita.fr>
2307
2308 First set of tests: use the `calc' example from the documentation.
2309
2310 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2311 is defined only when YYDEBUG is.
2312 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2313 * src/files.c (tryopen, tryclose): Formatting changes.
2314 Move to the top and be static.
2315 * src/reader.c (read_signed_integer): Likewise.
2316 * tests/calc.m4: New file.
2317 * Makefile.am, suite.m4: Adjust.
2318 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2319
e79137ac
AD
23202000-09-18 Akim Demaille <akim@epita.fr>
2321
2322 Add support for an Autotest test suite for Bison.
2323
2324 * m4/m4.m4, m4/atconfig.m4: New files.
2325 * m4/Makefile.am (EXTRA_DIST): Adjust.
2326 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2327 files.
2328 * src/getargs.c: Display a more standard --version message.
2329 * src/reader.c (reader): Formatting changes.
2330 No longer depend upon VERSION_STRING.
2331 * configure.in: No longer use `dnl'.
2332 Set up the test suite and the new directory `tests/.
2333 (VERSION_STRING): Remove.
2334
27821bff
AD
23352000-04-14 Akim Demaille <akim@epita.fr>
2336
2337 * src/reader.c (copy_comment2): New function, same as former
2338 `copy_comment', but outputs into two FILE *.
2339 (copy_comment): Use it.
2340 (parse_union_decl): Use it.
2341 (get_type, parse_start_decl): Use the same `invalid' message.
2342 (parse_start_decl, parse_union_decl): Use the same `multiple'
2343 message.
2344 (parse_union_decl, copy_guard, copy_action): Use the same
2345 `unmatched' message.
2346 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2347
cfe5fbc0
AD
23482000-03-31 Akim Demaille <akim@epita.fr>
2349
2350 * src/files.c (tryopen, tryclose): Move to the top.
2351 Be static.
2352
cb7db13e
AD
23532000-03-31 Akim Demaille <akim@epita.fr>
2354
2355 * src/main.c (main): Don't call `done', exit does it.
2356
a0f6b076
AD
23572000-03-31 Akim Demaille <akim@epita.fr>
2358
36281465
AD
2359 * allocate.c: s/return (foo)/return foo/.
2360 * lalr.c: Likewise.
2361 * LR0.c: Likewise.
2362 * output.c: Likewise.
2363 * reader.c: Likewise.
2364 * symtab.c: Likewise.
2365 * vmsgetargs.c: Likewise.
2366
23672000-03-31 Akim Demaille <akim@epita.fr>
2368
2369 Clean up the error reporting functions.
a0f6b076
AD
2370
2371 * src/report.c: New file.
2372 * src/report.h: Likewise.
2373 * src/Makefile.am: Adjust.
2374 * m4/error.m4: New file.
2375 * m4/Makefile.am: Adjust.
2376 * configure.in (jm_PREREQ_ERROR): Call it.
2377 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2378 Remove.
2379 (fatal, fatals): Remove. All callers use complain.c::fatal.
2380 (warn, warni, warns, warnss, warnss): Remove. All callers use
2381 complain.c::complain.
2382 (toomany): Remove, use fatal instead.
2383 * src/files.c (done): No argument, use complain_message_count.
2384 * src/main.c (main): Register `done' to `atexit'.
2385
2386 * src/getargs.c (usage): More `fputs', less `fprintf'.
2387
18539825
AD
23882000-03-28 Akim Demaille <akim@epita.fr>
2389
2390 * lib/: New directory.
2391 * Makefile.am (SUBDIRS): Adjust.
2392 * configure.in: Adjust.
2393 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2394 useless.
2395 * src/alloca.c: Moved to lib/.
2396 * src/getopt.c: Likewise.
2397 * src/getopt1.c: Likewise.
2398 * src/getopt.h: Likewise.
2399 * src/ansi2knr.c: Likewise.
2400 * src/ansi2knr.1: Likewise.
2401 * src/Makefile.am: Adjust.
2402 * lib/Makefile.am: New file.
2403
9f306f2a
AD
24042000-03-28 Akim Demaille <akim@epita.fr>
2405
2406 * src/getargs.c (usage): Refresh the help message.
2407
0ba347b6
AD
24082000-03-17 Akim Demaille <akim@epita.fr>
2409
2410 * src/getopt1.c: Updated from textutils 2.0e
2411 * src/getopt.c: Likewise.
2412 * src/getopt.h: Likewise.
2413
dbe7f271
AD
24142000-03-17 Akim Demaille <akim@epita.fr>
2415
2416 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2417 the file name, not the whole `#line LINE FILE'.
2418
75bbe78d
AD
24192000-03-17 Akim Demaille <akim@epita.fr>
2420
2421 On syntax errors, report the token on which we choked.
2422
aa5fd0ee
AD
2423 * src/bison.s1 (yyparse): In the label yyerrlab, when
2424 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2425
7b306f52
AD
24262000-03-17 Akim Demaille <akim@epita.fr>
2427
aa5fd0ee 2428 * src/reader.c (copy_at): New function.
7b306f52
AD
2429 (copy_guard): Use it.
2430 (copy_action): Use it.
2431
e87b5700
AD
24322000-03-17 Akim Demaille <akim@epita.fr>
2433
2434 Be kind to translators, save some useless translations.
2435
aa5fd0ee 2436 * src/main.c (banner): New function.
e87b5700
AD
2437 (fatal_banner): Use it.
2438 (warn_banner): Use it.
2439
ae3c3164
AD
24402000-03-17 Akim Demaille <akim@epita.fr>
2441
aa5fd0ee
AD
2442 * src/reader.c (copy_definition): Use copy_string and
2443 copy_comment. Removed now unused `match', `ended',
2444 `cplus_comment'.
ae3c3164
AD
2445 (copy_comment, copy_string): Moved, to be visible from
2446 copy_definition.
2447
4dc58e7c
AD
24482000-03-17 Akim Demaille <akim@epita.fr>
2449
aa5fd0ee
AD
2450 * src/reader.c (copy_string): Declare `static inline'. No
2451 problems with inline, since it is checked by configure.
4dc58e7c
AD
2452 (copy_comment): Likewise.
2453
0a6384c4
AD
24542000-03-17 Akim Demaille <akim@epita.fr>
2455
aa5fd0ee 2456 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2457
3cef001a
AD
24582000-03-17 Akim Demaille <akim@epita.fr>
2459
aa5fd0ee 2460 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2461 (copy_action): Use it. Removed now unused `match', `ended',
2462 `cplus_comment'.
2463 (copy_guard): Likewise.
2464
ca36d2ef
AD
24652000-03-17 Akim Demaille <akim@epita.fr>
2466
aa5fd0ee 2467 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2468 (copy_action): Use it.
2469 (copy_guard): Likewise.
2470
6666f98f
AD
24712000-03-17 Akim Demaille <akim@epita.fr>
2472
2473 Change the handling of @s so that they behave exactly like $s.
2474 There is now a pseudo variable @$ (readble and writable), location
2475 of the lhs of the rule (by default ranging from the location of
2476 the first symbol of the rhs, to the location of the last symbol,
2477 or, if the rhs is empty, YYLLOC).
2478
2479 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2480 yyval.
2481 (yyparse): When providing a default semantic action, provide a
2482 default location action.
2483 (after the $): No longer change `*YYLSP', just stack YYLOC the
2484 same way you stack YYVAL.
2485 * src/reader.c (read_declarations): Use warns.
2486 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2487 (copy_action, case '@'): Likewise.
2488 Use a standard error message, to save useless work from
2489 translators.
2490
41aca2e0
AD
24912000-03-17 Akim Demaille <akim@epita.fr>
2492
aa5fd0ee
AD
2493 * src/bison.s1: Formatting and cosmetics changes.
2494 * src/reader.c: Likewise.
41aca2e0
AD
2495 Update the Copyright notice.
2496
dc08c1d5
AD
24972000-03-17 Akim Demaille <akim@epita.fr>
2498
aa5fd0ee
AD
2499 * src/bison.s1 (#line): All set to `#line' only, since the
2500 Makefile now handles them.
dc08c1d5 2501
9ee3c97b
AD
25022000-03-16 Akim Demaille <akim@epita.fr>
2503
2504 * src/output.c (output_rule_data): Output the documentation of
2505 some of the tables.
2506 (Copyright notice): Update.
2507 Formatting changes.
2508
0de741ca
AD
25092000-03-16 Akim Demaille <akim@epita.fr>
2510
2511 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2512 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2513 One `#if YYDEBUG' remains, since it uses variables which are
2514 defined only if `YYDEBUG != 0'.
2515
bb10be54
AD
25162000-03-16 Akim Demaille <akim@epita.fr>
2517
2518 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2519 and related variables so that the similarities are highlighted.
2520
b07b484a
AD
25212000-03-16 Akim Demaille <akim@epita.fr>
2522
2523 * src/bison.s1: Properly indent CPP directives.
2524
361f60b3
AD
25252000-03-16 Akim Demaille <akim@epita.fr>
2526
2527 * src/bison.s1: Properly indent the `alloca' CPP section.
2528
8c44d3ec
AD
25292000-03-16 Akim Demaille <akim@epita.fr>
2530
2531 Do not hard code values of directories in `configure.in'.
2532 Update the `configure' tool chain.
2533
2534 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2535 src/makefile.am.
2536 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2537 (AC_OUTPUT): Add m4/Makefile.
2538 Bump to bison 1.28a, 1.29 has never been released.
2539 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2540 handled via src/Makefile.am.
2541 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2542 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2543 autoheader.
2544 * Makefile.am (SUBDIRS): Add m4.
2545 (ACLOCAL_AM_FLAGS): New variable.
2546 (AUTOMAKE_OPTIONS): Add check-news.
2547 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2548 the proper line number and file name.
2549 (DEFS): Propagate the location of bison library files and of the
2550 locale files.
2551 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2552 builddir.
2553 * acinclude.m4: Remove, replaced by the directory m4.
2554 * m4/Makefile.am (EXTRA_DIST): New variable.
2555 * m4/gettext.m4: New file, from the fileutils.
2556 * m4/lcmessage.m4: Likewise
2557 * m4/progtest.m4: Likewise.
2558 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2559
f95997e7
AD
25602000-03-10 Akim Demaille <akim@epita.fr>
2561
2562 * src/closure.c:
2563 Formatting changes of various comments.
2564 Respect the GNU coding standards at various places.
2565 Don't use `_()' when no translation is needed.
2566
25671999-12-13 Jesse Thilo <jthilo@gnu.org>
2568
2569 * src/files.c:
2570 OS/2 honors TMPDIR environment variable.
2571
25721999-12-13 Jesse Thilo <jthilo@gnu.org>
2573
2574 * doc/bison.texinfo: Tweaked spelling and grammar.
2575 Updated ISBN.
2576 Removed reference to price of printed copy.
2577 Mention BISON_SIMPLE and BISON_HAIRY.
2578
25791999-12-13 Jesse Thilo <jthilo@gnu.org>
2580
2581 * configure.in, NEWS:
2582 Bison 1.29 released.
2583
25841999-10-27 Jesse Thilo <jthilo@gnu.org>
2585
2586 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2587 Added reference card.
2588
25891999-07-26 Jesse Thilo <jthilo@gnu.org>
2590
2591 * po/ru.po: Added Russian translation.
2592
25931999-07-26 Jesse Thilo <jthilo@gnu.org>
2594
2595 * configure.in: Added Russian translation.
2596
25971999-07-06 Jesse Thilo <jthilo@gnu.org>
2598
2599 * configure.in, NEWS, README:
2600 Released version 1.28.
2601
26021999-06-14 Jesse Thilo <jthilo@gnu.org>
2603
2604 * src/system.h:
2605 Squashed redefinition warning on some systems.
2606
2607 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2608 Have configure build version string instead of relying on ANSI string
2609 concatentation.
2610
26111999-06-14 Jesse Thilo <jthilo@gnu.org>
2612
2613 * po/POTFILES.in: Got rid of version.c.
2614
26151999-06-14 Jesse Thilo <jthilo@gnu.org>
2616
2617 * acconfig.h, configure.in:
2618 Have configure build version string instead of relying on ANSI string
2619 concatentation.
2620
26211999-06-08 Jesse Thilo <jthilo@gnu.org>
2622
2623 * doc/bison.1:
2624 Dropped mention of `+' for long-named options.
2625
26261999-05-30 Jesse Thilo <jthilo@gnu.org>
2627
2628 * src/files.c: Added <unistd.h> for unlink().
2629
2630 * src/Makefile.am, src/system.h:
2631 I18n fixes.
2632
26331999-05-30 Jesse Thilo <jthilo@gnu.org>
2634
2635 * README: Added a FAQ list.
2636
2637 * configure.in, acconfig.h:
2638 I18n fixes.
2639
26401999-05-30 Jesse Thilo <jthilo@gnu.org>
2641
2642 * doc/FAQ, doc/Makefile.am:
2643 Added a FAQ list.
2644
26451999-05-19 Jesse Thilo <jthilo@gnu.org>
2646
2647 * src/alloc.h, src/symtab.h, src/version.c:
2648 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2649
26501999-04-18 Jesse Thilo <jthilo@gnu.org>
2651
2652 * src/.cvsignore, src/Makefile.am:
2653 Reorganized: sources in `src', documentation in `doc'.
2654
2655 * src/lex.c (literalchar):
2656 fixed the code for escaping double quotes (thanks
2657 Jonathan Czisny.)
2658
26591999-04-18 Jesse Thilo <jthilo@gnu.org>
2660
2661 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2662 Adjusted paths to reflect directory reorganization.
2663
26641999-04-18 Jesse Thilo <jthilo@gnu.org>
2665
2666 * doc/.cvsignore, doc/Makefile.am:
2667 Reorganized: sources in `src', documentation in `doc'.
2668
26691999-04-18 Jesse Thilo <jthilo@gnu.org>
2670
2671 * configure.in:
2672 Updated AC_INIT file to reflect directory reorganization.
2673
2674 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2675 Reorganized: sources in `src', documentation in `doc'.
2676
26771999-04-13 Jesse Thilo <jthilo@gnu.org>
2678
2679 * src/allocate.c:
2680 Don't declare calloc() and realloc() if not necessary.
2681
26821999-04-13 Jesse Thilo <jthilo@gnu.org>
2683
2684 * configure.in, acconfig.h, acinclude.m4:
2685 Don't declare calloc() and realloc() if not necessary.
2686
26871999-03-23 Jesse Thilo <jthilo@gnu.org>
2688
2689 * po/.cvsignore: Added i18n support.
2690
26911999-03-23 Jesse Thilo <jthilo@gnu.org>
2692
2693 * acconfig.h, configure.in, Makefile.am:
2694 Added i18n support.
2695
26961999-03-22 Jesse Thilo <jthilo@gnu.org>
2697
2698 * src/bison.s1: Fixed #line numbers.
2699
27001999-03-15 Jesse Thilo <jthilo@gnu.org>
2701
2702 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2703 Added PO files from Translation Project.
2704
27051999-03-03 Jesse Thilo <jthilo@gnu.org>
2706
2707 * Makefile.am:
2708 Added support for non-ANSI compilers (ansi2knr).
2709
27101999-02-16 Jesse Thilo <jthilo@gnu.org>
2711
2712 * configure.in: Bumped version number to 1.27.
2713
2714 * Makefile.am:
2715 Added `bison.simple' to list of files removed by `make distclean'.
2716
27171999-02-12 Jesse Thilo <jthilo@gnu.org>
2718
2719 * src/files.c, src/files.h:
2720 Defined locations of parser files in config.h instead of Makefile.
2721
27221999-02-12 Jesse Thilo <jthilo@gnu.org>
2723
2724 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2725 Defined locations of parser files in config.h instead of Makefile.
2726
27271999-02-09 Jesse Thilo <jthilo@gnu.org>
2728
2729 * Makefile.am:
2730 Removed inappropriate use of $< macro.
2731
27321999-02-05 Jesse Thilo <jthilo@gnu.org>
2733
2734 * po/Makefile.in.in, po/POTFILES.in:
2735 Add `po' directory skeleton.
2736
27371999-01-27 Jesse Thilo <jthilo@gnu.org>
2738
2739 * README: Document help-bison list.
2740
2741 * configure.in: Add check for mkstemp().
2742
27431999-01-20 Jesse Thilo <jthilo@gnu.org>
2744
2745 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2746 Hush a few compiler warnings.
2747
2748 * src/files.c:
2749 Add tryclose(), which verifies that fclose was successful.
2750 Hush a couple of compiler warnings.
2751
27521999-01-20 Jesse Thilo <jthilo@gnu.org>
2753
2754 * Makefile.am, OChangeLog:
2755 ChangeLog is now automatically generated. Include the old version as
2756 OChangeLog.
2757
27581999-01-14 Jesse Thilo <jthilo@gnu.org>
2759
2760 * 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:
2761 Update FSF address.
2762
27631999-01-14 Jesse Thilo <jthilo@gnu.org>
2764
2765 * doc/bison.texinfo: Fix formatting glitch.
2766
2767 * doc/bison.texinfo: Update FSF address.
2768
27691999-01-14 Jesse Thilo <jthilo@gnu.org>
2770
2771 * acconfig.h: Update FSF address.
2772
27731999-01-08 Jesse Thilo <jthilo@gnu.org>
2774
2775 * src/system.h:
2776 Don't define PACKAGE here, since config.h defines it.
2777
27781998-12-30 Jesse Thilo <jthilo@gnu.org>
2779
2780 * src/reader.c: Update copyright date.
2781
2782 * src/main.c:
2783 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2784 favor of output directly to stderr (avoids buffer overruns).
2785
2786 * src/reader.c: Some checks for premature EOF.
2787
2788 * 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:
2789 Use prototypes if the compiler understands them.
2790
2791 * src/files.c: Honor TMPDIR on Unix hosts.
2792 Use prototypes if the compiler understands them.
2793
2794 * src/reader.c:
2795 Fix a couple of buffer overrun bugs.
2796 Use prototypes if the compiler understands them.
2797
2798 * src/system.h: Include unistd.h and ctype.h.
2799 Use #ifdef instead of #if for NLS symbols.
2800
28011998-12-30 Jesse Thilo <jthilo@gnu.org>
2802
2803 * doc/bison.texinfo:
2804 Delete comment "consider using @set for edition number, etc..." since
2805 we now are doing so.
2806
28071998-12-30 Jesse Thilo <jthilo@gnu.org>
2808
2809 * configure.in:
2810 Use prototypes if the compiler understands them.
2811
2812 * NEWS: Document 1.26 highlights.
2813
2814 * Makefile.am: Require Automake 1.3 or later.
2815
2816 * acconfig.h:
2817 Use prototypes if the compiler understands them.
2818
28191998-12-29 Jesse Thilo <jthilo@gnu.org>
2820
2821 * src/version.c:
2822 Use VERSION symbol from automake for version number.
2823
28241998-12-29 Jesse Thilo <jthilo@gnu.org>
2825
2826 * acconfig.h, configure.in, version.cin:
2827 Use VERSION symbol from automake for version number.
2828
28291998-11-28 Jesse Thilo <jthilo@gnu.org>
2830
2831 * Makefile.am:
2832 Distribute original version of simple parser (bison.s1), not built
2833 version (bison.simple).
2834
28351998-11-28 Jesse Thilo <jthilo@gnu.org>
2836
2837 * doc/bison.texinfo: Add info dir entry.
2838
2839 * doc/bison.texinfo:
2840 Let automake put version number into documentation.
2841
28421998-11-26 Jesse Thilo <jthilo@gnu.org>
2843
2844 * src/bison.cld, src/build.com, src/vmshlp.mar:
2845 Add non-RCS files from /gd/gnu/bison.
2846
28471998-11-26 Jesse Thilo <jthilo@gnu.org>
2848
2849 * doc/bison.1:
2850 Document the BISON_HAIRY and BISON_SIMPLE variables.
2851
28521998-11-25 Jesse Thilo <jthilo@gnu.org>
2853
2854 * src/version.c: Build version.c automatically.
2855
2856 * src/reader.c:
2857 Fix token numbering (used to start at 258, not 257).
2858
2859 * src/system.h: Include config.h.
2860
2861 * src/getargs.c: Update bug report address.
2862
2863 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2864 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2865
28661998-11-25 Jesse Thilo <jthilo@gnu.org>
2867
2868 * Makefile.am:
2869 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2870
2871 * configure.in, version.cin:
2872 Build version.c automatically.
2873
2874 * AUTHORS: Add AUTHORS file.
2875
2876 * README: Update bug report address.
2877
2878 * bison.simple:
2879 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2880
2881 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2882 Add automake stuff.
2883
28841998-11-25 Jesse Thilo <jthilo@gnu.org>
2885
2886 * doc/bison.texinfo: Clean up some formatting.
2887
28881998-05-05 Richard Stallman <rms@gnu.org>
2889
2890 * doc/bison.texinfo:
2891 Explain better why to make a pure parser.
2892
28931998-01-05 Richard Stallman <rms@gnu.org>
2894
2895 * src/files.c (openfiles):
2896 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2897 find a temporary directory, if possible. Do not unlink files while
2898 they are open.
2899
29001997-08-25 Richard Stallman <rms@gnu.org>
2901
2902 * src/reader.c (stack_offset;):
2903 Change some warni to warns.
2904
2905 * src/lex.c (literalchar): Use warns, not warni.
2906
29071997-06-28 Richard Stallman <rms@gnu.org>
2908
2909 * src/bison.s1: Add a Bison version comment.
2910
2911 * src/main.c (fatal, warn, berror):
2912 Use program_name.
2913
29141997-06-28 Richard Stallman <rms@gnu.org>
2915
2916 * Makefile.in (bison_version): New variable.
2917 (dist): Use that variable.
2918 (bison.s1): Substitute the Bison version into bison.simple.
2919
2920 * bison.simple: Add a Bison version comment.
2921
29221997-06-18 Richard Stallman <rms@gnu.org>
2923
2924 * src/main.c (fatal, warn, berror):
2925 Make error messages standard.
2926 (toomany): Improve error message text.
2927
2928 * 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:
2929 new.h renamed to alloc.h.
2930
29311997-06-18 Richard Stallman <rms@gnu.org>
2932
2933 * Makefile.in: new.h renamed to alloc.h.
2934
29351997-05-24 Richard Stallman <rms@gnu.org>
2936
2937 * src/lex.c (literalchar):
2938 Fix the code for escaping \, " and '.
2939
2940 (lex): Avoid trouble when there are many chars
2941 to discard in a char literal with just several chars in it.
2942
29431997-05-17 Richard Stallman <rms@gnu.org>
2944
2945 * src/bison.s1:
2946 Use malloc, if using alloca is troublesome.
2947 (YYSTACK_USE_ALLOCA): New flag macro.
2948 Define it for some systems and compilers.
2949 (YYSTACK_ALLOC): New macro.
2950 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2951 If it was malloc'd, free it.
2952
29531997-05-17 Richard Stallman <rms@gnu.org>
2954
2955 * bison.simple:
2956 Use malloc, if using alloca is troublesome.
2957 (YYSTACK_USE_ALLOCA): New flag macro.
2958 Define it for some systems and compilers.
2959 (YYSTACK_ALLOC): New macro.
2960 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2961 If it was malloc'd, free it.
2962
29631997-04-23 Richard Stallman <rms@gnu.org>
2964
2965 * src/bison.s1:
2966 (alloca) [__hpux]: Always define as __builtin_alloca.
2967
29681997-04-23 Richard Stallman <rms@gnu.org>
2969
2970 * bison.simple:
2971 (alloca) [__hpux]: Always define as __builtin_alloca.
2972
29731997-04-22 Richard Stallman <rms@gnu.org>
2974
2975 * src/bison.s1:
2976 [__hpux]: Include alloca.h (right for HPUX 10)
2977 instead of declaring alloca (right for HPUX 9).
2978
2979 * src/bison.s1 (__yy_memcpy):
2980 Declare arg `count' as unsigned int.
2981 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2982
29831997-04-22 Richard Stallman <rms@gnu.org>
2984
2985 * bison.simple:
2986 [__hpux]: Include alloca.h (right for HPUX 10)
2987 instead of declaring alloca (right for HPUX 9).
2988
2989 * bison.simple (__yy_memcpy):
2990 Declare arg `count' as unsigned int.
2991 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2992
29931997-01-03 Richard Stallman <rms@gnu.org>
2994
2995 * src/allocate.c: [__STDC__ or _MSC_VER]:
2996 Declare calloc and realloc to return void *.
2997
29981997-01-02 Richard Stallman <rms@gnu.org>
2999
3000 * src/system.h:
3001 [_MSC_VER]: Include stdlib.h and process.h.
3002 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3003
3004 * src/main.c (main): Return FAILURE as a value.
3005 (printable_version): Declare arg as int, not char.
3006
30071997-01-02 Richard Stallman <rms@gnu.org>
3008
3009 * Makefile.in (dist):
3010 Explicitly check for symlinks, and copy them.
3011
30121996-12-19 Richard Stallman <rms@gnu.org>
3013
3014 * src/files.c:
3015 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3016
30171996-12-18 Paul Eggert <eggert@gnu.org>
3018
3019 * src/bison.s1 (yyparse):
3020 If __GNUC__ and YYPARSE_PARAM are both defined,
3021 declare yyparse to have a void * argument.
3022
30231996-12-18 Paul Eggert <eggert@gnu.org>
3024
3025 * bison.simple (yyparse):
3026 If __GNUC__ and YYPARSE_PARAM are both defined,
3027 declare yyparse to have a void * argument.
3028
30291996-12-17 Richard Stallman <rms@gnu.org>
3030
3031 * src/reduce.c (nbits): Add some casts.
3032
30331996-08-12 Richard Stallman <rms@gnu.org>
3034
3035 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3036
30371996-08-12 Richard Stallman <rms@gnu.org>
3038
3039 * bison.simple: Test _MSDOS as well as _MSDOS_.
3040
30411996-07-31 Richard Stallman <rms@gnu.org>
3042
3043 * src/bison.s1:
3044 [__sun && __i386]: Include alloca.h.
3045
30461996-07-31 Richard Stallman <rms@gnu.org>
3047
3048 * bison.simple:
3049 [__sun && __i386]: Include alloca.h.
3050
30511996-07-30 Richard Stallman <rms@gnu.org>
3052
3053 * src/bison.s1: Comment change.
3054
3055 * src/bison.s1: Test _MSDOS_, not MSDOS.
3056
30571996-07-30 Richard Stallman <rms@gnu.org>
3058
3059 * bison.simple: Comment change.
3060
3061 * bison.simple: Test _MSDOS_, not MSDOS.
3062
30631996-06-01 Richard Stallman <rms@gnu.org>
3064
3065 * 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:
3066 Insert `_' macro around many string constants.
3067
3068 * src/main.c:
3069 Insert `_' macro around many string constants.
3070
3071 (main): Call setlocale, bindtextdomain and textdomain.
3072
3073 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3074 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3075 [ENABLE_NLS]: Include libintl.h.
3076 [ENABLE_NLS] (gettext): Define.
3077 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3078 (N_, PACKAGE, LOCALEDIR): New macros.
3079
30801996-06-01 Richard Stallman <rms@gnu.org>
3081
3082 * POTFILES.in: New file.
3083
3084 * Makefile.in (allocate.o):
3085 Define target explicitly.
3086
3087 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3088 (LDFLAGS): Set to @LDFLAGS@.
3089 (configure): Run autoconf only if preceding `cd' succeeds.
3090 (bison.s1): Redirect output to temporary file then move the
3091 temporary to the target, rather than redirecting directly to bison.s1.
3092 (clean): Remove config.status and config.log.
3093 (distclean): Don't remove config.status here.
3094
30951996-05-12 Richard Stallman <rms@gnu.org>
3096
3097 * src/bison.s1:
3098 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3099
31001996-05-12 Richard Stallman <rms@gnu.org>
3101
3102 * bison.simple:
3103 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3104
31051996-05-11 Richard Stallman <rms@gnu.org>
3106
3107 * src/bison.s1 (__yy_memcpy):
3108 Really reorder the args, as was supposedly done on Feb 14 1995.
3109 (yyparse): Calls changed accordingly.
3110
31111996-05-11 Richard Stallman <rms@gnu.org>
3112
3113 * Makefile.in (dist): Don't use $(srcdir).
3114
3115 * bison.simple (__yy_memcpy):
3116 Really reorder the args, as was supposedly done on Feb 14 1995.
3117 (yyparse): Calls changed accordingly.
3118
31191996-01-27 Richard Stallman <rms@gnu.org>
3120
3121 * src/output.c (output_rule_data):
3122 Test YYERROR_VERBOSE in the conditional
3123 around the definition of ttyname.
3124
31251995-12-29 Richard Stallman <rms@gnu.org>
3126
3127 * src/bison.s1:
3128 Fix line numbers in #line commands.
3129
31301995-12-29 Richard Stallman <rms@gnu.org>
3131
3132 * bison.simple:
3133 Fix line numbers in #line commands.
3134
31351995-12-27 Richard Stallman <rms@gnu.org>
3136
3137 * src/bison.s1 (YYPARSE_PARAM_DECL):
3138 In C++, make it always null.
3139 (YYPARSE_PARAM_ARG): New macro.
3140 (yyparse): Use YYPARSE_PARAM_ARG.
3141
31421995-12-27 Richard Stallman <rms@gnu.org>
3143
3144 * bison.simple (YYPARSE_PARAM_DECL):
3145 In C++, make it always null.
3146 (YYPARSE_PARAM_ARG): New macro.
3147 (yyparse): Use YYPARSE_PARAM_ARG.
3148
31491995-11-29 Richard Stallman <rms@gnu.org>
3150
3151 * doc/bison.texinfo:
3152 Describe literal string tokens, %raw, %no_lines, %token_table.
3153
31541995-11-29 Daniel Hagerty <hag@gnu.org>
3155
3156 * doc/bison.texinfo: Fixed update date
3157
31581995-10-16 Richard Stallman <rms@gnu.org>
3159
3160 * src/version.c: Version 1.25.
3161
31621995-10-16 Richard Stallman <rms@gnu.org>
3163
3164 * NEWS: *** empty log message ***
3165
31661995-10-16 Richard Stallman <rms@gnu.org>
3167
3168 * doc/bison.1, doc/bison.rnh:
3169 Add new options.
3170
31711995-10-15 Richard Stallman <rms@gnu.org>
3172
3173 * src/vmsgetargs.c, src/getargs.c:
3174 Added -n, -k, and -raw switches.
3175 (noparserflag, toknumflag, rawtoknumflag): New variables.
3176
3177 * src/symtab.h (SALIAS):
3178 New #define for adding aliases to %token.
3179 (struct bucket): Added `alias' field.
3180
3181 * src/reduce.c (reduce_grammar):
3182 Revise error message.
3183 (print_notices): Remove final `.' from error message.
3184
3185 * src/reader.c (reader_output_yylsp):
3186 New function.
3187 (readgram): Use `#if 0' around code that accepted %command
3188 inside grammar rules: The documentation doesn't allow it,
3189 and it will fail since the %command processors scan for the next %.
3190 (parse_token_decl): Extended the %token
3191 declaration to allow a multi-character symbol as an alias.
3192 (parse_thong_decl): New function.
3193 (read_declarations): Added %thong declarations.
3194 (read_declarations): Handle NOOP to deal with allowing
3195 % declarations as another means to specify the flags.
3196 (readgram): Allow %prec prior to semantics embedded in a rule.
3197 (skip_to_char, read_declarations, copy_definition)
3198 (parse_token_decl, parse_start_decl, parse_type_decl)
3199 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3200 (get_type_name, copy_guard, copy_action, readgram)
3201 (get_type, packsymbols): Revised most error messages.
3202 Changed `fatal' to `warnxxx' to avoid aborting for error.
3203 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3204 (read_declarations): Improve the error message for
3205 an invalid character. Do not abort.
3206 (read_declarations, copy_guard, copy_action): Use
3207 printable_version to avoid unprintable characters in printed output.
3208 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3209 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3210 Allow the type of a non-terminal can be given
3211 more than once, as long as all specifications give the same type.
3212
3213 * src/output.c:
3214 (output_headers, output_trailers, output, output_gram)
3215 (output_rule_data): Implement noparserflag variable.
3216 Implement toknumflag variable.
3217 (output): Call reader_output_yylsp to output LTYPESTR.
3218
3219 * src/main.c (main):
3220 If reader sees an error, don't process the grammar.
3221 (fatals): Updated to not use VARARGS1.
3222 (printable_version, int_to_string, warn, warni, warns, warnss)
3223 (warnsss): New error reporting functions. Avoid abort for error.
3224
3225 * src/lex.h:
3226 Added THONG and NOOP for alias processing.
3227 Added SETOPT for the new code that allows setting options with %flags.
3228
3229 * src/lex.c:
3230 Include getopt.h. Add some extern decls.
3231 (safegetc): New function to deal with EOF gracefully.
3232 (literalchar); new function to deal with reading \ escapes.
3233 (lex): Use literalchar.
3234 (lex): Implemented "..." tokens.
3235 (literalchar, lex, parse_percent_token): Made tokenbuffer
3236 always contain the token. This includes growing the token
3237 buffer while reading an integer.
3238 (parse_percent_token): Replaced if-else statement with percent_table.
3239 (parse_percent_token): Added % declarations as another
3240 way to specify the flags -n, -l, and -r. Also added hooks for
3241 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3242 major changes to files.c.
3243 (lex) Retain in the incoming stream a character following
3244 an incorrect '/'.
3245 (skip_white_space, lex): Revised most error messages
3246 and changed fatal to warn to avoid aborting.
3247 (percent_table): Added %thong declarations.
3248
3249 * src/gram.h: Comment changes.
3250
3251 * src/files.c (openfiles, open_extra_files, done):
3252 Add faction flag
3253 and actfile file. Handle noparserflag. Both for -n switch.
3254
3255 * src/conflicts.c (resolve_sr_conflict):
3256 Remove use of alloca.
3257
32581995-06-01 Jim Meyering <meyering@gnu.org>
3259
3260 * doc/bison.texinfo: *** empty log message ***
3261
32621995-05-06 Richard Stallman <rms@gnu.org>
3263
3264 * src/bison.s1: Comment change.
3265
32661995-05-06 Richard Stallman <rms@gnu.org>
3267
3268 * bison.simple: Comment change.
3269
32701995-05-03 Richard Stallman <rms@gnu.org>
3271
3272 * src/version.c: Version now 1.24.
3273
3274 * src/bison.s1: Change distribution terms.
3275
3276 * src/version.c: Version now 1.23.
3277
32781995-05-03 Richard Stallman <rms@gnu.org>
3279
3280 * doc/bison.texinfo:
3281 Rewrite "Conditions for Using Bison".
3282 Update version to 1.24.
3283
32841995-05-03 Richard Stallman <rms@gnu.org>
3285
3286 * bison.simple: Change distribution terms.
3287
32881995-02-23 Richard Stallman <rms@gnu.org>
3289
3290 * src/files.c: Test __VMS_POSIX as well as VMS.
3291
32921995-02-14 Jim Meyering <meyering@gnu.org>
3293
3294 * src/bison.s1 (__yy_memcpy):
3295 Renamed from __yy_bcopy to avoid
3296 confusion. Reverse FROM and TO arguments to be consistent with
3297 those of memcpy.
3298
32991995-02-14 Jim Meyering <meyering@gnu.org>
3300
3301 * bison.simple (__yy_memcpy):
3302 Renamed from __yy_bcopy to avoid
3303 confusion. Reverse FROM and TO arguments to be consistent with
3304 those of memcpy.
3305
33061994-11-10 David J. MacKenzie <djm@gnu.org>
3307
3308 * NEWS: reformat
3309
3310 * NEWS: New file.
3311
3312 * Makefile.in (DISTFILES): Include NEWS.
3313
3314 * Makefile.in (DISTFILES):
3315 Include install-sh, not install.sh.
3316
3317 * configure.in: Update to Autoconf v2 macro names.
3318
33191994-10-05 David J. MacKenzie <djm@gnu.org>
3320
3321 * Makefile.in: fix typo
3322
3323 * Makefile.in (prefix, exec_prefix):
3324 Let configure set them.
3325
33261994-09-28 David J. MacKenzie <djm@gnu.org>
3327
3328 * Makefile.in: Set datadir to $(prefix)/share.
3329
33301994-09-15 Richard Stallman <rms@gnu.org>
3331
3332 * src/bison.s1:
3333 Update copyright notice and GPL version.
3334
33351994-09-15 Richard Stallman <rms@gnu.org>
3336
3337 * bison.simple:
3338 Update copyright notice and GPL version.
3339
33401994-07-12 Richard Stallman <rms@gnu.org>
3341
3342 * src/reduce.c, src/reader.c:
3343 entered into RCS
3344
33451994-05-05 David J. MacKenzie <djm@gnu.org>
3346
3347 * Makefile.in: entered into RCS
3348
33491994-03-26 Richard Stallman <rms@gnu.org>
3350
3351 * src/bison.s1: entered into RCS
3352
33531994-03-26 Richard Stallman <rms@gnu.org>
3354
3355 * bison.simple: entered into RCS
3356
33571994-03-25 Richard Stallman <rms@gnu.org>
3358
3359 * src/main.c: entered into RCS
3360
33611994-03-24 Richard Stallman <rms@gnu.org>
3362
3363 * src/conflicts.c: entered into RCS
3364
33651994-01-02 Richard Stallman <rms@gnu.org>
3366
3367 * Makefile.in: *** empty log message ***
3368
33691993-11-21 Richard Stallman <rms@gnu.org>
3370
3371 * src/bison.s1: *** empty log message ***
3372
33731993-11-21 Richard Stallman <rms@gnu.org>
3374
3375 * doc/bison.texinfo: entered into RCS
3376
3377 * doc/bison.texinfo: *** empty log message ***
3378
33791993-11-21 Richard Stallman <rms@gnu.org>
3380
3381 * bison.simple: *** empty log message ***
3382
33831993-10-25 David J. MacKenzie <djm@gnu.org>
3384
3385 * doc/bison.texinfo: *** empty log message ***
3386
33871993-10-19 Richard Stallman <rms@gnu.org>
3388
3389 * src/bison.s1: *** empty log message ***
3390
33911993-10-19 Richard Stallman <rms@gnu.org>
3392
3393 * bison.simple: *** empty log message ***
3394
33951993-10-14 Richard Stallman <rms@gnu.org>
3396
3397 * src/bison.s1: *** empty log message ***
3398
33991993-10-14 Richard Stallman <rms@gnu.org>
3400
3401 * bison.simple: *** empty log message ***
3402
34031993-09-14 David J. MacKenzie <djm@gnu.org>
3404
3405 * doc/bison.texinfo: *** empty log message ***
3406
34071993-09-13 Noah Friedman <friedman@gnu.org>
3408
3409 * Makefile.in: *** empty log message ***
3410
34111993-09-10 Richard Stallman <rms@gnu.org>
3412
3413 * src/conflicts.c: *** empty log message ***
3414
3415 * src/system.h: entered into RCS
3416
34171993-09-10 Richard Stallman <rms@gnu.org>
3418
3419 * doc/bison.1: entered into RCS
3420
34211993-09-06 Noah Friedman <friedman@gnu.org>
3422
3423 * src/version.c: entered into RCS
3424
34251993-09-06 Noah Friedman <friedman@gnu.org>
3426
3427 * Makefile.in: *** empty log message ***
3428
34291993-07-30 David J. MacKenzie <djm@gnu.org>
3430
3431 * Makefile.in: *** empty log message ***
3432
34331993-07-24 Richard Stallman <rms@gnu.org>
3434
3435 * src/bison.s1: *** empty log message ***
3436
34371993-07-24 Richard Stallman <rms@gnu.org>
3438
3439 * bison.simple: *** empty log message ***
3440
34411993-07-08 David J. MacKenzie <djm@gnu.org>
3442
3443 * Makefile.in: *** empty log message ***
3444
34451993-07-04 Richard Stallman <rms@gnu.org>
3446
3447 * src/bison.s1: *** empty log message ***
3448
34491993-07-04 Richard Stallman <rms@gnu.org>
3450
3451 * bison.simple: *** empty log message ***
3452
34531993-06-26 David J. MacKenzie <djm@gnu.org>
3454
3455 * src/getargs.c: entered into RCS
3456
34571993-06-26 David J. MacKenzie <djm@gnu.org>
3458
3459 * doc/bison.texinfo: *** empty log message ***
3460
3461 * doc/bison.1: New file.
3462
34631993-06-25 Richard Stallman <rms@gnu.org>
3464
3465 * src/getargs.c: New file.
3466
34671993-06-16 Richard Stallman <rms@gnu.org>
3468
3469 * src/bison.s1: *** empty log message ***
3470
34711993-06-16 Richard Stallman <rms@gnu.org>
3472
3473 * bison.simple: *** empty log message ***
3474
34751993-06-03 Richard Stallman <rms@gnu.org>
3476
3477 * src/bison.s1: New file.
3478
34791993-06-03 Richard Stallman <rms@gnu.org>
3480
3481 * doc/bison.texinfo: *** empty log message ***
3482
34831993-06-03 Richard Stallman <rms@gnu.org>
3484
3485 * bison.simple: New file.
3486
34871993-05-19 Richard Stallman <rms@gnu.org>
3488
3489 * doc/bison.texinfo: New file.
3490
34911993-05-07 Noah Friedman <friedman@gnu.org>
3492
3493 * Makefile.in: *** empty log message ***
3494
34951993-04-28 Noah Friedman <friedman@gnu.org>
3496
3497 * src/reader.c: *** empty log message ***
3498
34991993-04-23 Noah Friedman <friedman@gnu.org>
3500
3501 * src/alloc.h: entered into RCS
3502
35031993-04-20 David J. MacKenzie <djm@gnu.org>
3504
3505 * src/version.c: *** empty log message ***
3506
3507 * src/files.c, src/allocate.c:
3508 entered into RCS
3509
3510 * src/reader.c: *** empty log message ***
3511
3512 * src/lex.c: entered into RCS
3513
3514 * src/conflicts.c: New file.
3515
3516 * src/symtab.c: entered into RCS
3517
3518 * src/alloc.h: New file.
3519
3520 * src/LR0.c: entered into RCS
3521
35221993-04-18 Noah Friedman <friedman@gnu.org>
3523
3524 * src/reader.c: New file.
3525
3526 * src/version.c: *** empty log message ***
3527
35281993-04-18 Noah Friedman <friedman@gnu.org>
3529
3530 * Makefile.in: *** empty log message ***
3531
35321993-04-17 Noah Friedman <friedman@gnu.org>
3533
3534 * Makefile.in: *** empty log message ***
3535
35361993-04-15 Richard Stallman <rms@gnu.org>
3537
3538 * src/main.c, src/files.c:
3539 New file.
3540
35411993-04-15 Noah Friedman <friedman@gnu.org>
3542
3543 * configure.in: entered into RCS
3544
3545 * configure.in: *** empty log message ***
3546
3547 * configure.in: New file.
3548
35491993-04-14 Richard Stallman <rms@gnu.org>
3550
3551 * Makefile.in: New file.
3552
35531993-04-13 Richard Stallman <rms@gnu.org>
3554
3555 * src/version.c: New file.
3556
35571993-03-25 Richard Stallman <rms@gnu.org>
3558
3559 * src/output.c: entered into RCS
3560
35611992-09-25 Richard Stallman <rms@gnu.org>
3562
3563 * configure.bat: entered into RCS
3564
35651992-06-22 Richard Stallman <rms@gnu.org>
3566
3567 * src/vmsgetargs.c: entered into RCS
3568
35691992-06-22 Richard Stallman <rms@gnu.org>
3570
3571 * doc/bison.rnh: entered into RCS
3572
35731992-04-20 David J. MacKenzie <djm@gnu.org>
3574
3575 * README: entered into RCS
3576
35771992-01-22 Richard Stallman <rms@gnu.org>
3578
3579 * src/machine.h: entered into RCS
3580
35811991-12-21 Richard Stallman <rms@gnu.org>
3582
3583 * src/lalr.c, src/closure.c:
3584 entered into RCS
3585
35861991-12-20 Richard Stallman <rms@gnu.org>
3587
3588 * src/state.h: entered into RCS
3589
35901991-12-18 Richard Stallman <rms@gnu.org>
3591
3592 * src/print.c, src/nullable.c, src/derives.c:
3593 entered into RCS
3594
35951991-11-03 David J. MacKenzie <djm@gnu.org>
3596
3597 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3598 entered into RCS
3599
36001988-09-09 Richard Stallman <rms@gnu.org>
3601
3602 * src/bison.hairy: entered into RCS
3603
36041987-12-16 Richard Stallman <rms@gnu.org>
3605
3606 * REFERENCES: entered into RCS