]> git.saurik.com Git - bison.git/blame - ChangeLog
Attaching lineno to buckets is stupid, since only one copy of each
[bison.git] / ChangeLog
CommitLineData
b29b2ed5
AD
12001-11-23 Akim Demaille <akim@epita.fr>
2
3 Attaching lineno to buckets is stupid, since only one copy of each
4 symbol is kept, only the line of the first occurrence is kept too.
5
6 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
7 * src/reader.c (rline_allocated): Remove, unused.
8 (symbol_list): Have a `line' member.
9 (symbol_list_new): New.
10 (readgram): Use it.
11 * src/print.c (print_grammar): Output the rule line numbers.
12 * tests/regression.at (Solved SR Conflicts)
13 (Unresolved SR Conflicts): Adjust.
14 Reported by Hans Aberg.
15
a81b1d4a
MA
162001-11-22 Marc Autret <autret_m@epita.fr>
17
18 * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0.
19
c1ecb3c1
MA
202001-11-22 Marc Autret <autret_m@epita.fr>
21
22 * src/muscle_tab.c (muscle_init): Remove initialization of
23 skeleton muscle.
24 * src/output.c (output_master_parser): Do it here.
25
fbe01355
AD
262001-11-20 Akim Demaille <akim@epita.fr>
27
28 * po/sv.po: New.
29 * configure.in (ALL_LINGUAS): Adjust.
30 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
31 longer contains strings to translate.
32
81e895c0
AD
332001-11-19 Akim Demaille <akim@epita.fr>
34
35 * src/conflicts.c (conflicts_print): Add a missing \n.
36
6bb1878b
AD
372001-11-19 Akim Demaille <akim@epita.fr>
38
39 * src/nullable.c (nullable_print): New.
40 (set_nullable): Call it when tracing.
41 Better locality of variables.
42
d9ec2d07
AD
432001-11-19 Akim Demaille <akim@epita.fr>
44
45 * src/print.c (print_actions): Better locality of variables.
46
720e5c1b
AD
472001-11-19 Akim Demaille <akim@epita.fr>
48
49 * src/derives.c (print_derives): Fix and enrich.
50 * src/closure.c (print_fderives): Likewise.
51
fb908786
AD
522001-11-19 Akim Demaille <akim@epita.fr>
53
54 * src/closure.c (itemsetend): Remove, replaced with...
55 (itemsetsize): new.
56
125ecb56
AD
572001-11-19 Akim Demaille <akim@epita.fr>
58
59 * src/LR0.c (kernel_end): Remove, replaced with...
60 (kernel_size): new.
61
d8cf039f
AD
622001-11-19 Akim Demaille <akim@epita.fr>
63
64 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
65 to clarify.
66
7bec0760
AD
672001-11-19 Akim Demaille <akim@epita.fr>
68
69 * src/closure.c (closure): Use arrays instead of pointers to clarify.
70
c87d4863
AD
712001-11-19 Akim Demaille <akim@epita.fr>
72
73 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
74 trace messages.
75 * src/LR0.c: Likewise.
76 (allocate_itemsets): Use arrays instead of pointers to clarify.
77
9bfe901c
AD
782001-11-19 Akim Demaille <akim@epita.fr>
79
80 * src/getargs.c (statistics_flag): Replace with...
81 (trace_flag): New.
82 (longopts): Accept --trace instead of --statistics.
83 * src/getargs.h, src/options.c: Adjust.
84 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
85 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
86
97db7bd4
AD
872001-11-19 Akim Demaille <akim@epita.fr>
88
cc72668c 89 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
97db7bd4
AD
90 pointers to clarify the code.
91 (save_reductions, save_shifts): Factor common parts of alternatives.
92
2c5f66ed
AD
932001-11-19 Akim Demaille <akim@epita.fr>
94
95 * src/LR0.c (new_state, get_state): Complete TRACE code.
96 * src/closure.c: Include `reader.h' to get `tags', needed by the
97 trace code.
98 Rename the conditional DEBUG as TRACE.
99 Output consistently TRACEs to stderr, not stdout.
100 * src/derives.c: Likewise.
101 * src/reduce.c: (inaccessable_symbols): Using if is better style
102 than goto.
103 Use `#if TRACE' instead of `#if 0' for tracing code.
104
300f275f
AD
1052001-11-19 Akim Demaille <akim@epita.fr>
106
107 * src/system.h (LIST_FREE, shortcpy): New.
108 * src/LR0.c: Use them.
109 * src/output.c (free_itemsets, free_reductions, free_shifts):
110 Remove, replaced by LIST_FREE.
111
f59c437a
AD
1122001-11-19 Akim Demaille <akim@epita.fr>
113
114 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
115 (REDUCTIONS_ALLOC): New.
116 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
117 allocation.
118
6986fd9e
AD
1192001-11-19 Akim Demaille <akim@epita.fr>
120
121 * src/LR0.c (new_state): Complete trace code.
122 * src/nullable.c (set_nullable): Don't translate traces.
123
4bc30f78
AD
1242001-11-19 Akim Demaille <akim@epita.fr>
125
126 * src/print_graph.c (print_core): Better locality of variables.
127 * src/print.c (print_core): Likewise.
128
08a946e0
AD
1292001-11-19 Akim Demaille <akim@epita.fr>
130
131 * src/vcg.c: You do the output, so you are responsible of the
132 handling of VCG syntax, in particular: use quotearg.
133 * src/print_graph.c: Don't.
134 (print_actions): Don't output the actions as part of the nodes,
135 since that's the job of the edges.
136 (print_state): Don't output by hand: fill the node description,
9bfe901c 137 and ask for its output.
08a946e0 138
f0473484
AD
1392001-11-19 Akim Demaille <akim@epita.fr>
140
cc72668c
AD
141 * src/bison.simple (yyparse): When verbosely reporting an error,
142 no longer put additional quotes around token names.
f0473484
AD
143 * tests/calc.at: Adjust.
144
e41dc700
AD
1452001-11-19 Akim Demaille <akim@epita.fr>
146
147 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
148 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
149 * src/output.c: Adjust.
150
652a871c
AD
1512001-11-19 Akim Demaille <akim@epita.fr>
152
153 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
154 (rule_t): this.
155 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
156
b2ed6e58
AD
1572001-11-19 Akim Demaille <akim@epita.fr>
158
159 * src/gram.h (rule_t): New.
160 (rule_table): New.
161 (rrhs, rlhs): Remove, part of state_t.
162 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
163 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
164 * src/reader.c, src/reduce.c: Adjust.
165
edad7067
AD
1662001-11-19 Akim Demaille <akim@epita.fr>
167
168 * src/reader.c (symbols_output): New, extracted from...
169 (packsymbols): Here.
170 (reader): Call it.
171
3feec034
AD
1722001-11-19 Akim Demaille <akim@epita.fr>
173
174 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
175 (maxrhs): this new function.
176
ddcd5fdf
AD
1772001-11-19 Akim Demaille <akim@epita.fr>
178
cc72668c 179 * src/lalr.c (F): New macro to access the variable F.
ddcd5fdf
AD
180 Adjust.
181
bb527fc2
AD
1822001-11-19 Akim Demaille <akim@epita.fr>
183
cc72668c 184 * src/lalr.h (LA): New macro to access the variable LA.
bb527fc2
AD
185 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
186 * src/lalr.c: Adjust.
187
a845a697
AD
1882001-11-19 Akim Demaille <akim@epita.fr>
189
190 * src/lalr.c (initialize_LA): Only initialize LA. Let...
191 (set_state_table): handle the `lookaheads' members.
192
f004bf6a
AD
1932001-11-19 Akim Demaille <akim@epita.fr>
194
cc72668c
AD
195 * src/lalr.h (lookaheads): Removed array, whose contents is now
196 a member of...
f004bf6a
AD
197 (state_t): this structure.
198 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
199 Adjust.
200
de326cc0
AD
2012001-11-19 Akim Demaille <akim@epita.fr>
202
cc72668c
AD
203 * src/lalr.h (consistent): Removed array, whose contents is now
204 a member of...
de326cc0
AD
205 (state_t): this structure.
206 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
207 Adjust.
208
90b4416b
AD
2092001-11-19 Akim Demaille <akim@epita.fr>
210
cc72668c
AD
211 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
212 contents are now members of...
90b4416b
AD
213 (state_t): this structure.
214 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
215 Adjust.
216
9703cc49
AD
2172001-11-19 Akim Demaille <akim@epita.fr>
218
219 * src/lalr.h (state_t): New.
220 (state_table): Be a state_t * instead of a core **.
221 (accessing_symbol): Remove, part of state_t.
222 * src/lalr.c: Adjust.
223 (set_accessing_symbol): Merge into...
224 (set_state_table): this.
225 * src/print_graph.c, src/conflicts.c: Adjust.
226
d803322e
AD
2272001-11-14 Akim Demaille <akim@epita.fr>
228
229 * tests/calc.at, tests/output.at, tests/regression.at,
230 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
231 now the tests are run in private dirs, therefore AC_CLEANUP and
232 family can be simplified to 0-ary.
233 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
234 use abs. path to find config.h.
235 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
236 stderr, there can be way too much random noise.
237 Instead pass -Werror to GCC and rely on the exit status.
238 Reported by Wolfram Wagner.
239
3d76b07d
AD
2402001-11-14 Akim Demaille <akim@epita.fr>
241
242 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
243 defined only if yyoverflow is defined, to avoid `warning: unused
244 variable `yyvs1''.
245 Reported by The Test Suite.
246
09b503c8
AD
2472001-11-14 Akim Demaille <akim@epita.fr>
248
249 * src/print.c: Include reduce.h.
250 Reported by Hans Aberg.
251
2522001-11-14 Akim Demaille <akim@epita.fr>
253
254 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
255 Revert a previous patch: these are really const.
256 * src/conflicts.c (conflict_report): Additional useless pair of
257 braces to pacify GCC's warnings for `if () if () {} else {}'.
258 * src/lex.c (parse_percent_token): Replace equal_offset with
259 arg_offset.
260 arg is const.
261 Be sure to strdup `arg' when used, since there is no reason for
262 token_buffer not to change.
263
0f37a994
AD
2642001-11-14 Akim Demaille <akim@epita.fr>
265
266 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
267 definition.
268 * src/main.c (main): Use them.
269 Suggested by Hans Aberg.
270
d39d93b8
AD
2712001-11-12 Akim Demaille <akim@epita.fr>
272
273 * src/system.h (ngettext): Now that we use ngettext, be sure to
274 provide a default definition when NLS are not used.
275
9edcd895
AD
2762001-11-12 Akim Demaille <akim@epita.fr>
277
278 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
279 Use @kbd to denote user input.
280 (Language and Grammar): ANSIfy the example.
281 Adjust its layout for info/notinfo.
282 (Location Tracking Calc): Output error messages to stderr.
283 Output locations in a more GNUtically correct way.
284 Fix a couple of Englishos.
285 Adjust @group/@end group pairs.
286
7da99ede
AD
2872001-11-12 Akim Demaille <akim@epita.fr>
288
289 %expext was not functioning at all.
290
291 * src/conflicts.c (expected_conflicts): Set to -1.
292 (conflict_report): Use ngettext.
293 (conflicts_print): Check %expect and make its violation an error.
294 * doc/bison.texinfo (Expect Decl): Adjust.
295 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
296 * tests/regression.at (%expect not enough, %expect right)
297 (%expect too much): New.
298
ba9dda1a
AD
2992001-11-12 Akim Demaille <akim@epita.fr>
300
301 * tests/regression.at (Conflicts): Rename as...
302 (Unresolved SR Conflicts): this.
303 (Solved SR Conflicts): New.
304
337c5bd1
AD
3052001-11-12 Akim Demaille <akim@epita.fr>
306
307 * src/reduce.c (print_results): Rename as...
308 (reduce_output): This.
309 Output to OUT, passed as argument, instead of output_obstack.
310 (dump_grammar): Likewise.
311 (reduce_free): New.
312 Also free V1.
313 (reduce_grammar): No longer call reduce_output, since...
314 * src/print.c (print_results): do it.
315 * src/main.c (main): Call reduce_free;
316
c73a41af
AD
3172001-11-12 Akim Demaille <akim@epita.fr>
318
319 * src/conflicts.c (print_reductions): Accept OUT as argument.
320 Output to it, not to output_obstack.
321 * src/print.c (print_actions): Adjust.
322
0df87bb6
AD
3232001-11-12 Akim Demaille <akim@epita.fr>
324
325 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
326 the result instead of using...
327 (src_total, rrc_total, src_count, rrc_count): Remove.
328 (any_conflicts): Remove.
329 (print_conflicts): Split into...
330 (conflicts_print, conflicts_output): New.
331 * src/conflicts.h: Adjust.
332 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 333 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
334 * tests/regression.at (Conflicts): New.
335 Reported by Tom Lane.
336
e4d3d4de
AD
3372001-11-12 Akim Demaille <akim@epita.fr>
338
339 * tests/regression.at (Invalid input): Remove, duplicate with
340 ``Invalid input: 1''.
341
6d7d248e
AD
3422001-11-12 Akim Demaille <akim@epita.fr>
343
344 * tests/torture.at (AT_DATA_STACK_TORTURE)
345 (Exploding the Stack Size with Alloca)
346 (Exploding the Stack Size with Malloc): New.
347
e9e4c321
AD
3482001-11-12 Akim Demaille <akim@epita.fr>
349
350 * src/bison.simple (YYSTACK_REALLOC): New.
351 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 352 Reported by Per Allansson.
e9e4c321 353
5f7e0832
AD
3542001-11-12 Pascal Bart <pascal.bart@epita.fr>
355
356 * src/bison.simple: Define type yystype instead of YYSTYPE, and
357 define CPP macro, which substitute YYSTYPE by yystype.
358 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
359 with yyltype/YYLTYPE. This allows inclusion of the generated
360 header within the parser if the compiler, such as GGC, accepts
361 multiple equivalent #defines.
362 From Akim.
363
e3f1699f
AD
3642001-11-05 Akim Demaille <akim@epita.fr>
365
366 * src/reader.c (symbols_output): New, extracted from...
367 (packsymbols): here.
368 (reader): Adjust.
369
65be0866
AD
3702001-11-05 Akim Demaille <akim@epita.fr>
371
372 * src/lex.c (parse_percent_token): s/quotearg/quote/.
373
e4d910bf
AD
3742001-11-05 Akim Demaille <akim@epita.fr>
375
376 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
377 pattern.
378
951366c1
AD
3792001-11-05 Akim Demaille <akim@epita.fr>
380
381 * src/options.h (struct option_table_struct): set_flags is void*.
382 * src/options.c (longopts): Support `--output' and `%output'.
383 (usage): Adjust.
384 * src/lex.h (tok_setopt): Remove, replaced with...
385 (tok_intopt, tok_stropt): these new guys.
386 * src/lex.c (getopt.h): Not needed.
387 (token_buffer, unlexed_token_buffer): Not const.
388 (percent_table): Promote `-' over `_' in directive names.
389 Active `%name-prefix', `file-prefix', and `output'.
390 (parse_percent_token): Accept possible arguments to directives.
391 Promote `-' over `_' in directive names.
392
d8988b2f
AD
3932001-11-04 Akim Demaille <akim@epita.fr>
394
395 * doc/bison.texinfo (Decl Summary): Split the list into
396 `directives for grammars' and `directives for bison'.
397 Sort'em.
398 Add description of `%name-prefix', `file-prefix', and `output'.
399 Promote `-' over `_' in directive names.
400 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
401 Simplify the description of `--name-prefix'.
402 Promote `-' over `_' in directive names.
403 Promote `--output' over `--output-file'.
404 Fix the description of `--defines'.
405 * tests/output.at: Exercise %file-prefix and %output.
406
6468d18e
AD
4072001-11-02 Akim Demaille <akim@epita.fr>
408
409 * doc/refcard.tex: Update.
410
6b7e85b9
AD
4112001-11-02 Akim Demaille <akim@epita.fr>
412
413 * src/symtab.h (SUNDEF): New.
414 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
415 stand for `uninitialized', instead of 0.
416 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
417 * src/lex.c (lex): Adjust.
418
419 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
420 Number it 0.
421 Let yylex return it instead of a plain 0.
422 Reported by Dick Streefland.
423
cd5aafcf
AD
4242001-11-02 Akim Demaille <akim@epita.fr>
425
426 * tests/regression.at (Mixing %token styles): New test.
427
037ca2f1
AD
4282001-11-02 Akim Demaille <akim@epita.fr>
429
430 * src/reader.c (parse_thong_decl): Formatting changes.
431 (token_translations_init): New, extracted from...
432 (packsymbols): Here.
433 Adjust.
434
270a173c
AD
4352001-11-01 Akim Demaille <akim@epita.fr>
436
437 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
438 Check that `9foo.y' produces correct cpp guards.
439 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
440 guards.
441 Reported by Wwp.
442
561f9a30
AD
4432001-11-01 Akim Demaille <akim@epita.fr>
444
445 * tests/regression.at (Invalid input: 2): New.
446 * src/lex.c (unlexed_token_buffer): New.
447 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
448 too.
449 Reported by Wwp.
450
f987e9d2
AD
4512001-11-01 Akim Demaille <akim@epita.fr>
452
453 * tests/calc.at: Catch up with 1.30.
454 * configure.in: Bump to 1.49a.
455 Adjust to newer Autotest.
456
0846f581
PB
4572001-10-19 Pascal Bart <pascal.bart@epita.fr>
458
459 * src/conflicts.c: Move global variables rrc_total and src_total ...
460 (print_conflicts): here.
461 * src/output.c (output): Free global variable user_toknums.
462 * src/lex.c (token_obstack): Become static.
463
3c1a79b3
AD
4642001-10-18 Akim Demaille <akim@epita.fr>
465
466 * tests/atlocal.in (GCC): Add.
467 * tests/calc.at: s/m4_match/m4_bmatch/.
468 s/m4_patsubst/m4_bpatsubst/.
469 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
470 * configure.in: AC_SUBST(GCC).
471
5d52e7d0
MA
4722001-10-14 Marc Autret <autret_m@epita.fr>
473
474 * src/options.c (create_long_option_table): Fix.
475
631aa1d3
AD
4762001-10-10 Akim Demaille <akim@epita.fr>
477
478 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
479
f6ec6d13
AD
4802001-10-04 Akim Demaille <akim@epita.fr>
481
482 * src/reader.c (parse_union_decl): Push the caracters in
483 union_obstack, not attrs_obstack.
484
342b8b6e
AD
4852001-10-04 Akim Demaille <akim@epita.fr>
486
487 Merge in the branch 1.29.
488
489 * src/reader.c (packsymbols): Use a temporary obstack for
490 `%%tokendef', since output_stack is already used elsewhere.
491
492 2001-10-02 Akim Demaille <akim@epita.fr>
493
494 Bump 1.29d.
495
496 2001-10-02 Akim Demaille <akim@epita.fr>
497
498 Version 1.29c.
499
500 2001-10-02 Akim Demaille <akim@epita.fr>
501
502 * tests/regression.at (Invalid CPP headers): New.
503 From Alexander Belopolsky.
504 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
505
506 2001-10-02 Akim Demaille <akim@epita.fr>
507
508 * tests/regression.at (Invalid input): New.
509 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
510 Reported by Shura.
511
512 2001-10-02 Akim Demaille <akim@epita.fr>
513
514 * tests/calc.at: Now that --debug works, the tests must be adjusted.
515
516 2001-10-02 Akim Demaille <akim@epita.fr>
517
518 * src/output.c (output_parser): Assert `skeleton'.
519 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
520 systems.
521 From Shura.
522
523 2001-10-01 Marc Autret <autret_m@epita.fr>
524
525 * src/lex.h: Echo modifications.
526 * src/lex.c (unlex): Parameter is now token_t.
527 From Hans Aberg.
528
529 2001-10-01 Marc Autret <autret_m@epita.fr>
530
531 * src/main.c: Include lex.h.
532 From Hans Aberg.
533
534 2001-09-29 Akim Demaille <akim@epita.fr>
535
536 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
537
538 2001-09-28 Akim Demaille <akim@epita.fr>
539
540 * tests/testsuite.at: Update to newer Autotest.
541 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
542
543 2001-09-27 Akim Demaille <akim@epita.fr>
544
545 Position independent wrapper.
546
547 * tests/bison: Remove.
548 * tests/bison.in: New.
549 * configure.in: Adjust.
550
551 2001-09-27 Paul Eggert <eggert@twinsun.com>
552
553 Port quotearg fixes from tar 1.13.24.
554
555 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
556 tm to be declared.
557 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
558 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
559
560 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
561 * m4/mbrtowc.m4: New file.
562 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
563 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
564
565 2001-09-27 Akim Demaille <akim@epita.fr>
566
567 Bump to 1.29c.
568
569 2001-09-27 Akim Demaille <akim@epita.fr>
570
571 Version 1.29b.
572
573 2001-09-25 Akim Demaille <akim@epita.fr>
574
575 * src/system.h: Include `xalloc.h'.
576 Remove it from the C files.
577 * src/files.c (output_files): Free the obstacks.
578 * src/lex.c (init_lex): Rename as...
579 (lex_init): this.
580 (lex_free): New.
581 * src/main.c (main): Use it.
582
583 2001-09-24 Marc Autret <autret_m@epita.fr>
584
585 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
586 to output informations in fout (FILE*).
587 (open_graph, close_graph): Likewise.
588 (output_graph, output_edge, output_node): Likewise.
589 * src/vcg.h: Update function prototypes.
590 * src/print_graph.c (print_graph): Open output graph file.
591 (print_actions): Adjust.
592 * src/files.h: Remove extern declaration.
593 * src/files.c: Remove graph_obstack declaration.
594 (open_files): Remove graph_obstack initialization.
595 (output_files): Remove graph_obstack saving.
596
597 2001-09-24 Marc Autret <autret_m@epita.fr>
598
599 * src/files.c (compute_output_file_names): Fix.
600
601 2001-09-24 Marc Autret <autret_m@epita.fr>,
602 Akim Demaille <akim@epita.fr>
603
604 * src/reader.c (reader): Remove call to free_symtab ().
605 * src/main.c (main): Call it here.
606 Include symtab.h.
607 * src/conflicts.c (initialize_conflicts): Rename as...
608 (solve_conflicts): this.
609 * src/print.c (print_core, print_actions, print_state)
610 (print_grammar): Dump to a file instead a `output_obstack'.
611 (print_results): Dump `output_obstack', and then proceed with the
612 FILE *.
613 * src/files.c (compute_output_file_names, close_files): New.
614 (output_files): Adjust.
615 * src/main.c (main): Adjust.
616
617 2001-09-23 Marc Autret <autret_m@epita.fr>
618
619 * src/files.c (compute_header_macro): Computes header macro name
620 from spec_defines_file when given.
621
622 2001-09-23 Marc Autret <autret_m@epita.fr>
623
624 * src/files.c (output_files): Add default extensions.
625
626 2001-09-22 Akim Demaille <akim@epita.fr>
627
628 * src/conflicts.c (finalize_conflicts): Rename as...
629 (free_conflicts): this.
630
631 2001-09-22 Akim Demaille <akim@epita.fr>
632
633 * src/gram.c (gram_free): Rename back as...
634 (dummy): this.
635 (output_token_translations): Free `token_translations'.
636 * src/symtab.c (free_symtab): Free the tag field.
637
638 2001-09-22 Akim Demaille <akim@epita.fr>
639
640 Remove `translations' as it is always set to true.
641
642 * src/gram.h: Adjust.
643 * src/reader.c (packsymbols, parse_token_decl): Adjust
644 * src/print.c (print_grammar): Adjust.
645 * src/output.c (output_token_translations): Adjust.
646 * src/lex.c (lex): Adjust.
647 * src/gram.c: Be sure the set pointers to NULL.
648 (dummy): Rename as...
649 (gram_free): this.
650
651 2001-09-22 Akim Demaille <akim@epita.fr>
652
653 * configure.in: Invoke AM_LIB_DMALLOC.
654 * src/system.h: Use dmalloc.
655 * src/LR0.c: Be sure to have pointers initialized to NULL.
656 (allocate_itemsets): Allocate kernel_items only if needed.
657
658 2001-09-22 Akim Demaille <akim@epita.fr>
659
660 * configure.in: Bump to 1.29b.
661 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
662 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
663 need xmalloc.c in calc.y.
664 From Pascal Bart.
665
666 2001-09-21 Akim Demaille <akim@epita.fr>
667
668 Version 1.29a.
669 * Makefile.maint, config/config.guess, config/config.sub,
670 * config/missing: Update from masters.
671 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
672 upon package.m4.
673 * configure.in (ALL_LINGUAS): Add `tr'.
674
675 2001-09-21 Akim Demaille <akim@epita.fr>
676
677 * tests/Makefile.am (package.m4): Move to...
678 ($(srcdir)/$(TESTSUITE)): here.
679
680 2001-09-20 Akim Demaille <akim@epita.fr>
681
682 * src/complain.c: No longer try to be standalone: use system.h.
683 Don't assume __STDC__ is defined to 1. Just test if it is defined.
684 * src/complain.h: Likewise.
685 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
686 Remove the unused variable `n'.
687 From Albert Chin-A-Young.
688
689 2001-09-18 Marc Autret <autret_m@epita.fr>
690
691 * doc/bison.1: Update.
692 * doc/bison.texinfo (Bison Options): Update --defines and --graph
693 descriptions.
694 (Option Cross Key): Update.
695 Add --graph.
696
697 2001-09-18 Marc Autret <autret_m@epita.fr>
698
699 * tests/regression.at: New test (comment in %union).
700
701 2001-09-18 Marc Autret <autret_m@epita.fr>
702
703 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
704 do that.
705 Reported by Keith Browne.
706
707 2001-09-18 Marc Autret <autret_m@epita.fr>
708
709 * tests/output.at: Add tests for --defines and --graph.
710
711 2001-09-18 Marc Autret <autret_m@epita.fr>
712
713 * tests/output.at: Removes tests of %{header,src}_extension features.
714
715 2001-09-18 Akim Demaille <akim@epita.fr>
716
717 * tests/Makefile.am (package.m4): New.
718 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
719 (_AT_CHECK_CALC_ERROR): Likewise.
720 Factor the `, ' part of verbose error messages.
721
722 2001-09-18 Marc Autret <autret_m@epita.fr>
723
724 * src/getargs.c (longopts): Declare --defines and --graph as options
725 with optional arguments.
726 * src/files.h: Add extern declarations.
727 * src/files.c (spec_graph_file, spec_defines_file): New.
728 (output_files): Update.
729 Remove CPP-outed code.
730
731 2001-09-18 Marc Autret <autret_m@epita.fr>
732
733 Turn off %{source,header}_extension feature.
734
735 * src/files.c (compute_exts_from_gf): Update.
736 (compute_exts_from_src): Update.
737 (output_files): CPP-out useless code.
738 * src/files.h: Remove {header,source}_extension extern declarations.
739 * src/reader.c (parse_dquoted_param): CPP-out.
740 (parse_header_extension_decl): Remove.
741 (parse_source_extension_decl): Remove.
742 (read_declarations): Remove cases tok_{hdrext,srcext}.
743 * src/lex.c (percent_table): Remove {header,source}_extension entries.
744 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
745
746 2001-09-10 Akim Demaille <akim@epita.fr>
747
748 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
749 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
750 (AT_CHECK_OUTPUT): this.
751 Merely check ls' exit status, its output is useless.
752
753 2001-09-10 Akim Demaille <akim@epita.fr>
754
755 * tests/calc.at: Use m4_match.
756 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
757
758 2001-09-10 Marc Autret <autret_m@epita.fr>,
759 Akim Demaille <akim@epita.fr>
760
761 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
762 enum color_e.
763 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
764 to `normal'.
765 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
766 * src/lex.h: Adjust prototype.
767 (token_t): Add `tok_undef'.
768 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
769 (parse_percent_token): Now returns token_t.
770 Add default statement in switch.
771 (lex): Separate `c' as an input variable, from the token_t result
772 part.
773 (unlexed): Is a token_t.
774
775 2001-09-10 Akim Demaille <akim@epita.fr>
776
777 * configure.in: Bump to 1.29a.
778
779 2001-09-07 Akim Demaille <akim@epita.fr>
780
781 Version 1.29.
782
783 2001-08-30 Akim Demaille <akim@epita.fr>
784
785 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
786 * m4/atconfig.m4: Remove.
787 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
788 * tests/bison: New.
789 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
790 m4_if, m4_patsubst, and m4_regexp.
791 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
792 `input' file instead of echo.
793
794 2001-08-29 Akim Demaille <akim@epita.fr>
795
796 Bump to 1.28e.
797
798 2001-08-29 Akim Demaille <akim@epita.fr>
799
800 Version 1.28d.
801
802 2001-08-29 Paul Eggert <eggert@twinsun.com>
803
804 * src/bison.simple (yyparse): Don't take the address of an
805 item before the start of an array, as that doesn't conform to
806 the C Standard.
807
808 2001-08-29 Robert Anisko <anisko_r@epita.fr>
809
810 * doc/bison.texinfo (Location Tracking Calc): New node.
811
812 2001-08-29 Paul Eggert <eggert@twinsun.com>
813
814 * src/output.c (output): Do not define const, as this now
815 causes more problems than it cures.
816
817 2001-08-29 Akim Demaille <akim@epita.fr>
818
819 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
820 the nodes.
821 Be sure to tag the `detailmenu'.
822
823 2001-08-29 Akim Demaille <akim@epita.fr>
824
825 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
826 download in a tmp dir.
827
828 2001-08-28 Marc Autret <autret_m@epita.fr>
829
830 * config/depcomp: New file.
831
832 2001-08-28 Marc Autret <autret_m@epita.fr>
833
834 * doc/bison.1 (mandoc): Adjust.
835 From Juan Manuel Guerrero.
836
837 2001-08-28 Marc Autret <autret_m@epita.fr>
838
839 * src/print_graph.c (print_state): Fix.
840
841 2001-08-27 Marc Autret <autret_m@epita.fr>
842
843 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
844 char * members.
845 Echo modifications to the functions prototypes.
846 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
847
848 2001-08-27 Marc Autret <autret_m@epita.fr>
849
850 * src/vcg.c: Include `xalloc.h'.
851 (add_colorentry): New.
852 (add_classname): New.
853 (add_infoname): New.
854 * src/vcg.h: Add new prototypes.
855
856 2001-08-27 Akim Demaille <akim@epita.fr>
857
858 * Makefile.maint: Sync. again with CVS Autoconf.
859
860 2001-08-27 Akim Demaille <akim@epita.fr>
861
862 * Makefile.maint: Formatting changes.
863 (po-update, cvs-update, update): New targets.
864 (AMTAR): Remove.
865
866 2001-08-27 Akim Demaille <akim@epita.fr>
867
868 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
869 * Makefile.maint: Sync. with CVS Autoconf.
870
871 2001-08-27 Marc Autret <autret_m@epita.fr>
872
873 * src/vcg.h (struct infoname_s): New.
874 (struct colorentry_s): New.
875 (graph_s): New fields {vertical,horizontal}_order in structure.
876 Add `infoname' field.
877 Add `colorentry' field;
878 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
879 (G_HORIZONTAL_ORDER): New.
880 (G_INFONAME): New.
881 (G_COLORENTRY): New.
882 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
883 Add output of `infoname'.
884 Add output of `colorentry'.
885
886 2001-08-27 Marc Autret <autret_m@epita.fr>
887
888 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
889 This one shadowed a global parameter.
890
891 2001-08-24 Marc Autret <autret_m@epita.fr>
892
893 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
894 instead of `unsigned'.
895 (print_state): Do not call obstack_object_size () in obstack_grow ()
896 to avoid macro variables shadowing.
897
898 2001-08-23 Marc Autret <autret_m@epita.fr>
899
900 * src/lex.c (percent_table): Typo: s/naem/name/.
901 Add graph option.
902 Normalize new options declarations.
903
904 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
905
906 * tests/suite.at: Exercise %header_extension and %source_extension.
907
908 2001-08-16 Marc Autret <autret_m@epita.fr>
909
910 * src/reader.c (parse_dquoted_param): New.
911 (parse_header_extension_decl): Use it.
912 (parse_source_extension_decl): Likewise.
913
914 2001-08-16 Marc Autret <autret_m@epita.fr>
915
916 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
917 (get_xxxx_str): Use assert () instead of complain ().
918 Remove return invokations in default cases.
919 (get_decision_str): Modify default behaviour. Remove second argument.
920 Echo modifications on calls.
921 (output_graph): Fix.
922
923 2001-08-16 Marc Autret <autret_m@epita.fr>
924
925 * src/getargs.c (usage): Update with ``-g, --graph''.
926
927 2001-08-16 Marc Autret <autret_m@epita.fr>
928
929 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
930 (Option Cross Key): Likewise.
931 * doc/bison.1: Update.
932
1c8c2190
PB
9332001-09-25 Pascal Bart <pascal.bart@epita.fr>
934
935 * src/output.c (output_master_parser): Don't finish action_obstack.
936 (output_parser): Don't care about the muscle action, here.
937 (prepare): Copy the action_obstack in the action muscle.
938 (output): Free action_obstack.
939
180d45ba
PB
9402001-09-23 Pascal Bart <pascal.bart@epita.fr>
941
942 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
943 will contain `%union' declaration.
944 (parse_union_decl): Delete #line directive output.
945 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
946 informations about %union.
947 (parse_union_decl): Copy the union_obstack in the muscle stype.
948 * src/bison.simple: Add new #line directive.
949 Add typdef %%stype YYSTYPE.
950
c51d1a19
PB
9512001-09-23 Pascal Bart <pascal.bart@epita.fr>
952
953 * src/bison.simple: Add new `#line' directive.
954
6f9344da
PB
9552001-09-22 Pascal Bart <pascal.bart@epita.fr>
956
957 * src/bison.simple: New `#line' directive.
958 * src/output.c (output_parser): Support new dynamic muscle input_line.
959
652def80
MA
9602001-09-22 Marc Autret <autret_m@epita.fr>
961
962 * src/output.c (output_master_parser): New.
963 (output_parser): Be more re-entrant.
964
25b222fa
MA
9652001-09-21 Marc Autret <autret_m@epita.fr>
966
967 * src/reader.c (copy_definition, parse_union_decl): Update and use
968 `linef' muscle.
969 (copy_action): Likewise.
970 Use obstack_1grow ().
971 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
972
6bc35ae5
MA
9732001-09-21 Marc Autret <autret_m@epita.fr>
974
975 * src/options.c (option_table): Adjust.
976 * src/lex.c (parse_percent_token): Fix.
977
c0629aa1
PB
9782001-09-20 Pascal Bart <pascal.bart@epita.fr>
979
980 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 981
82b6d266
PB
9822001-09-20 Pascal Bart <pascal.bart@epita.fr>
983
984 * src/lex.c (parse_percent_token): Change type of variable `tx', which
985 is now an option_table_struct*.
986 (option_strcmp): New function option_strcmp.
987 (parse_percent_token): Call option_strcmp.
988 * src/getargs.c (xalloc.h, options.h): Include it.
989 (getargs): Call create_long_option_table.
990 (getargs): Free longopts at the end of the function.
991 (shortopts): Move in options.c.
992 * src/options.c (create_long_option_table): New function. Convert
993 information from option_table to option structure.
994 * src/reader.c (options.h): Include it.
995
996 * src/Makefile.am: Adjust.
997 * src/options.c (option_table): Create from longopts and percent_table.
998 * src/getargs.c (longopts): Delete.
999 * src/lex.c (struct percent_table_struct): Delete.
1000 (percent_table): Delete.
1001 (options.h): Include it.
1002 * src/options.c: Create.
1003 * src/options.h: Create.
1004 Declare enum opt_access_e.
1005 Define struct option_table_struct.
1006
75f5aaea
MA
10072001-09-20 Marc Autret <autret_m@epita.fr>
1008
1009 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
1010 sections of Bison.
1011
f508cb0a
PB
10122001-09-19 Pascal Bart <pascal.bart@epita.fr>
1013
1014 * src/bison.simple: s/%%filename/%%skeleton.
1015 * src/muscle_tab.c (getargs.h): Include it.
1016 (muscle_init): Insert new muscle skeleton.
1017
13105fc1
PB
10182001-09-18 Pascal Bart <pascal.bart@epita.fr>
1019
1020 * src/output.c (output_parser): Delete unused variable actions_dumped.
1021
b0c4483e
PB
10222001-09-07 Pascal Bart <pascal.bart@epita.fr>
1023
1024 * src/output.c (output): Delete call to reader_output_yylsp.
1025 * src/reader.c (reader): Likewise.
1026 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 1027
11d82f03
MA
10282001-09-02 Marc Autret <autret_m@epita.fr>
1029
1030 * src/reader.c: Include muscle_tab.h.
1031 (parse_union_decl): Update.
1032 (parse_macro_decl): Rename parse_muscle_decl.
1033 Update to use renamed functions and variable.
1034 (read_declarations, copy_action, read_additionnal_code, : Updated
1035 with correct variables and functions names.
1036 (packsymbols, reader): Likewise.
342b8b6e 1037
11d82f03 1038 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 1039
11d82f03
MA
1040 * src/output.c: Include muscle_tab.h
1041 In all functions using macro_insert, change by using muscle_insert ().
1042 (macro_obstack): Rename muscle_obstack.
1043 Echo modifications in the whole file.
1044 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1045 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1046 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1047
1048 * src/muscle_tab.h: Update double inclusion macros.
1049 (macro_entry_s): Rename muscle_entry_s.
1050 Update prototypes.
342b8b6e 1051
11d82f03
MA
1052 * src/muscle_tab.c: Include muscle_tab.h.
1053 Rename macro_tabble to muscle_table.
1054 (mhash1, mhash2, mcmp): Use muscle_entry.
1055 (macro_init): Rename muscle_init. Update.
1056 (macro_insert): Rename muscle_insert. Update.
1057 (macro_find): Rename muscle_find. Update.
1058
1059 * src/main.c: Include muscle_tab.h.
1060 (main): Call muscle_init ().
1061 * src/Makefile.am (bison_SOURCES): Echo modifications.
1062
93a37297
MA
10632001-09-02 Marc Autret <autret_m@epita.fr>
1064
f753cd62 1065 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 1066
f753cd62
MA
1067 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1068
10692001-09-02 Marc Autret <autret_m@epita.fr>
1070
1071 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1072
682d48cd
PB
10732001-09-01 Pascal Bart <pascal.bart@epita.fr>
1074
342b8b6e 1075 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1076 filename.
1077
087c8fda
MA
10782001-09-01 Marc Autret <autret_m@epita.fr>
1079
1080 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1081 to an explicit value to activate the feature. We do it here.
1082
dda680cb
PB
10832001-08-31 Pascal Bart <pascal.bart@epita.fr>
1084
1085 * src/output.c (prepare): Delete the `filename' muscule insertion.
1086 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1087 (parse_union_decl): Likewise.
1088 * src/macrotab.c (macro_init): Initialize filename by infile.
1089
9e644e64
MA
10902001-08-31 Marc Autret <autret_m@epita.fr>
1091
1092 * src/bison.simple (YYLSP_NEEDED): New definition.
1093 * src/output.c (prepare): Add macro insertion of `locations_flag'
1094
17da6427
PB
10952001-08-31 Pascal Bart <pascal.bart@epita.fr>
1096
1097 * src/output.c (prepare): Delete insertion of previous muscles,
1098 and insert the `prefix' muscles.
1099 * src/macrotab.c (macro_init): Likewise.
1100 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1101 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1102 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1103 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1104 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1105 name_prefix.
1106
e8cb70b9
PB
11072001-08-31 Pascal Bart <pascal.bart@epita.fr>
1108
1109 * src/main.c (main): Standardize.
1110 * src/output.c (output_table_data, output_parser): Likewise.
1111 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1112
63c2d5de
MA
11132001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1114
342b8b6e 1115 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1116 %%epilogue.
1117 * src/output.c (output): Rename %%declarations to %%prologue.
1118 * src/bison.simple: Echo modifications.
342b8b6e 1119
d8cb5183
MA
11202001-08-31 Marc Autret <autret_m@epita.fr>
1121
1122 * src/reader.c (readgram): CleanUp.
1123 (output_token_defines): Likewise.
1124 (packsymbols): Likewise.
1125 (reader): Likewise.
1126 * src/output.c (output): CPP-out useless code.
1127
6c686258
PB
11282001-08-31 Pascal Bart <pascal.bart@epita.fr>
1129
342b8b6e 1130 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1131 output_trailers and output_headers.
1132 * src/output.h: Remove obsolete functions prototypes of output_headers
1133 and output_trailers.
1134
8f451ef7
PB
11352001-08-30 Pascal Bart <pascal.bart@epita.fr>
1136
1137 * src/main.c: Include macrotab.h.
342b8b6e 1138 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1139 Adjust functions prototypes.
1140 * src/macrotab.c (macro_insert): Constify key and value.
1141 (macro_find): Constify key.
1142 (macro_insert): Include 'xalloc.h'
1143 (macro_insert): Use XMALLOC.
1144 (macro_find): Constify return value.
1145 * src/output.c (output_table_data): Rename table to table_data.
1146 (output_parser): Constify macro_key, macro_value.
1147
997b6fd0 11482001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1149
1150 * src/reader.c (parse_skel_decl): New.
342b8b6e 1151 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1152 * src/lex.h (token_t): New token `tok_skel'.
1153 * src/lex.c (percent_table): Add skeleton option entry.
1154 Standardize.
1155
ff48177d
MA
11562001-08-29 Marc Autret <autret_m@epita.fr>
1157
1158 * src/bison.simple: Add %%user_code directive at the end.
1159 * src/reader.c (read_additionnal_code): New.
1160 (reader): Use it.
1161 * src/output.c (output_program): Remove.
1162 (output): Update.
1163
b33160bf
MA
11642001-08-28 Marc Autret <autret_m@epita.fr>
1165
1166 * src/output.c (output_actions): Clean up.
4e5caae2 1167 (output_gram): CPP-out useless code.
b33160bf
MA
1168 * src/reader.c (reader): Clean up, CPP-out useless code.
1169
d1a2daf7
PB
11702001-08-28 Pascal Bart <pascal.bart@epita.fr>
1171
342b8b6e 1172 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1173 directive.
d1a2daf7
PB
1174 * src/bison.simple: Add `%%definitions'.
1175
2b763dfe
MA
11762001-08-28 Marc Autret <autret_m@epita.fr>
1177
1178 * config/depcomp: New file.
1179
f1a87ef6
PE
11802001-08-27 Paul Eggert <eggert@twinsun.com>
1181
1182 * src/bison.simple (yyparse): Don't take the address of an
1183 item before the start of an array, as that doesn't conform to
1184 the C Standard.
1185
82e236e2
RA
11862001-08-27 Robert Anisko <robert.anisko@epita.fr>
1187
f1a87ef6 1188 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1189 obstack. It was done too late here.
1190
1191 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1192 completely wrong.
1193 (reader): Initialize the macro obstack here, since we need it to grow
1194 '%define' directives.
1195
1196 * src/reader.h: Declare the macro obstack as extern.
1197
b0cfa28a
RA
11982001-08-27 Robert Anisko <robert.anisko@epita.fr>
1199
1200 * src/output.c (output_parser): Fix. Store single '%' characters in
1201 the output obstack instead of throwing them away.
1202
6fc74234
AD
12032001-08-27 Akim Demaille <akim@epita.fr>
1204
1205 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1206
9c76d118
RA
12072001-08-25 Robert Anisko <robert.anisko@epita.fr>
1208
1209 * lib/Makefile.am: Adjust.
1210
a8289c62
RA
12112001-08-25 Robert Anisko <robert.anisko@epita.fr>
1212
1213 * src/bison.simple: Update and add '%%' directives.
1214
b6610515
RA
12152001-08-25 Robert Anisko <robert.anisko@epita.fr>
1216
1217 * src/reader.c (reader): Remove calls to 'output_headers' and
1218 'output_trailers'. Remove some C output.
1219 (readgram): Disable a piece of code that was writing a default
1220 definition for 'YYSTYPE'.
1221 (reader_output_yylsp): Remove.
1222 (packsymbols): Output token defintions to a macro.
1223 (copy_definition): Disable C output.
6fc74234 1224
b6610515
RA
1225 * src/reader.c (parse_macro_decl): New function used to parse macro
1226 declarations.
1227 (copy_string2): Put the body of copy_string into this new function.
1228 Add a parameter to let the caller choose whether he wants to copy the
1229 string delimiters or not.
1230 (copy_string): Be a simple call to copy_string2 with the last argument
1231 bound to true.
1232 (read_declarations): Add case for macro definition.
1233 (copy_identifier): New.
6fc74234 1234 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1235 rather than lex.
1236
26f609ff
RA
12372001-08-25 Robert Anisko <robert.anisko@epita.fr>
1238
1239 * src/output.c (prepare): Add prefixed names.
1240 (output_parser): Output semantic actions.
1241 (output_parser): Fix bug on '%%line' directives.
6fc74234 1242
26f609ff
RA
1243 * src/output.c (output_headers): Remove. The C code printed by this
1244 function should now be in the skeletons.
1245 (output_trailers): Remove.
1246 (output): Disable call to 'reader_output_yylsp'.
1247 (output_rule_data): Do not output tables to the table obstack.
1248
1249 * src/output.c: Remove some C dedicated output.
1250 Improve the use of macro and output obstacks.
1251 (output_defines): Remove.
6fc74234 1252
26f609ff
RA
1253 * src/output.c (output_token_translations): Associate 'translate'
1254 table with a macro. No output to the table obstack.
1255 (output_gram): Same for 'rhs' and 'prhs'.
1256 (output_stos): Same for 'stos'.
1257 (output_rule_data): Same for 'r1' and 'r2'.
1258 (token_actions): Same for 'defact'.
1259 (goto_actions): Same for 'defgoto'.
1260 (output_base): Same for 'pact' and 'pgoto'.
1261 (output_table): Same for 'table'.
1262 (output_check): Same for 'check'.
6fc74234 1263
26f609ff
RA
1264 * src/output.c (output_table_data): New function.
1265 (output_short_table): Remove.
1266 (output_short_or_char_table): Remove.
6fc74234 1267
26f609ff
RA
1268 * src/output.c (output_parser): Replace most of the skeleton copy code
1269 with something new. Skeletons are now processed character by character
1270 rather than line by line, and Bison looks for '%%' macros. This is the
1271 first step in making Bison's output process (a lot) more flexible.
1272 (output_parser): Use the macro table.
1273
6f43b113
RA
12742001-08-25 Robert Anisko <robert.anisko@epita.fr>
1275
1276 * src/main.c (main): Initialize the macro table.
1277
dd3127cf
RA
12782001-08-25 Robert Anisko <robert.anisko@epita.fr>
1279
1280 * src/lex.c (percent_table): Add tok_define.
1281 * src/lex.h: Add tok_define.
1282
aa321494
RA
12832001-08-25 Robert Anisko <robert.anisko@epita.fr>
1284
1285 * src/macrotab.c: New file.
1286 * src/macrotab.h: New file.
1287 * src/Makefile.am: Update.
1288
68bd3b6b
RA
12892001-08-25 Robert Anisko <robert.anisko@epita.fr>
1290
1291 * lib/hash.c: New file.
1292 * lib/hash.h: New file.
1293 * lib/Makefile.am: Update.
1294
45f8dd1e
AD
12952001-08-15 Akim Demaille <akim@epita.fr>
1296
1297 Version 1.28c.
1298
40a64a7a 12992001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1300
1301 * src/reader.c (readgram): Indent output macro YYSTYPE.
1302 (packsymbols): Likewise.
1303 (output_token_defines): Likewise.
1304 * src/files.c: Standardize.
1305 (compute_header_macro): New.
1306 (defines_obstack_save): New. Use compute_header_macro.
1307 (output_files): Update. Use defines_obstack_save.
1308
f9a8293a
AD
13092001-08-15 Akim Demaille <akim@epita.fr>
1310
1311 * doc/bison.texinfo (Table of Symbols): Document
1312 YYSTACK_USE_ALLOCA.
1313
150ca7a7
AD
13142001-08-15 Akim Demaille <akim@epita.fr>
1315
1316 * missing: Update from CVS Automake.
1317 * config/config.guess, config/config.sub, config/texinfo.tex:
1318 Update from gnu.org.
1319
69b5cec4
AD
13202001-08-15 Akim Demaille <akim@epita.fr>
1321
1322 * Makefile.maint: Sync with CVS Autoconf.
1323
f2b5126e
PB
13242001-08-14 Pascal Bart <pascal.bart@epita.fr>
1325
69b5cec4 1326 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1327 `fdl.texi'.
1328 * doc/fdl.texi: Add to package.
1329
4ecbf796
MA
13302001-08-14 Marc Autret <autret_m@epita.fr>
1331
1332 Turn on %{source,header}_extension features.
1333
69b5cec4 1334 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1335 source_extension.
1336 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1337 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1338 between options.
1339
95fb5662
MA
13402001-08-14 Marc Autret <autret_m@epita.fr>
1341
1342 * src/files.c (compute_base_names): Add extensions computing when
1343 `--file-prefix' used.
1344 Standardize function calls.
1345
78d09da9
MA
13462001-08-13 Marc Autret <autret_m@epita.fr>
1347
69b5cec4 1348 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1349 defining it (defined but null disables alloca).
1350
5a009f2c
MA
13512001-08-13 Marc Autret <autret_m@epita.fr>
1352
1353 * src/bison.simple (_yy_memcpy): CPP reformat.
1354
1e41465a
PB
13552001-08-13 Pascal Bart <pascal.bart@epita.fr>
1356
1357 * tests/atconfig.in (CPPFLAGS): Fix.
1358
c67a198d
PB
13592001-08-10 Pascal Bart <pascal.bart@epita.fr>
1360
79282c6c 1361 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1362 `gpl.texi'.
1363 * doc/gpl.texi: Add to package.
1364
09a6de7e
MA
13652001-08-10 Marc Autret <autret_m@epita.fr>
1366
1367 * src/print_graph.h: Fix.
1368 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1369
b77b9ee0
AD
13702001-08-10 Akim Demaille <akim@epita.fr>
1371
1372 * src/system.h: Provide default declarations for stpcpy, strndup,
1373 and strnlen.
1374
3e259915
MA
13752001-08-10 Robert Anisko <anisko_r@epita.fr>
1376
1377 * doc/bison.texinfo (Locations): Update @$ stuff.
1378
ca96bc2d
MA
13792001-08-09 Robert Anisko <anisko_r@epita.fr>
1380
1381 * src/bison.simple (YYLLOC_DEFAULT): Update.
1382 (yyparse): Adjust.
1383
fdc6758b
MA
13842001-08-08 Marc Autret <autret_m@epita.fr>
1385
b77b9ee0 1386 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1387 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1388 Reported by Fabrice Bauzac.
957d4dbf 1389
600cad3b
MA
13902001-08-08 Marc Autret <autret_m@epita.fr>
1391
1392 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1393 * src/vcg.c (output_node): Fix.
1394 * src/vcg.h: Cleanup.
1395 * src/print_graph.c: Add comments.
b77b9ee0 1396 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1397 the VCG graph output.
b77b9ee0 1398 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1399 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1400 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1401 blue.
1402 Get the current node name and node_obstack by argument.
1403 (node_obstack): New variable.
1404 (print_state): Manage node_obstack.
1405 (print_core): Use node_obstack given by argument.
1406 A node is not only computed here but in print_actions also.
1407 (print_graph): CPP out useless code instead of commenting it.
1408
976e528f
AD
14092001-08-07 Pascal Bart <pascal.bart@epita.fr>
1410
1411 * tests/atconfig.in (CPPFLAGS): Fix.
1412
20e8e5ca
AD
14132001-08-07 Akim Demaille <akim@epita.fr>
1414
1415 * src/print_graph.c (quote): New.
1416 (print_core): Use it.
1417
957d4dbf 14182001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1419
3e3da797
AD
1420 * src/vcg.c (complain.h): Include it.
1421 Unepitaize `return' invocations.
c4b66126 1422 [NDEBUG] (main): Remove.
79282c6c 1423 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1424 * src/files.c (open_files): Initialize graph_obstack.
1425 * src/print_graph.c (print_actions): CPP out useless code.
1426 (print_core): Don't output the last `\n' in labels.
1427 Use `quote'.
1428 * src/files.c (output_files): Output the VCG file.
1429 * src/main.c (main): Invoke print_graph ();
3e3da797 1430
957d4dbf 14312001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1432
1433 Automaton VCG graph output.
1434 Using option ``-g'' or long option ``--graph'', you can generate
1435 a gram_filename.vcg file containing a VCG description of the LALR (1)
1436 automaton of your grammar.
1437
1438 * src/main.c: Call to print_graph() function.
1439 * src/getargs.h: Update.
1440 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1441 (graph_flag): New flag.
1442 (longopts): Update.
1443 (getargs): Add case `g'.
1444 * src/files.c (graph_obstack): New obstack struct.
1445 (open_files): Initialize new obstack.
1446 (output_files): Saves graph_obstack if required.
1447 * src/files.h (graph_obstack): New extern declaration.
1448 * src/Makefile.am: Add new source files.
1449
957d4dbf 14502001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1451
1452 * src/print_graph.c, src/print_graph.h (graph): New.
1453 * src/vcg.h: New file.
1454 * src/vcg.c: New file, VCG graph handling.
1455
7333d403
AD
14562001-08-06 Marc Autret <autret_m@epita.fr>
1457
1458 Add of %source_extension and %header_extension which specify
1459 the source or/and the header output file extension.
1460
1461 * src/files.c (compute_base_names): Remove initialisation of
1462 src_extension and header_extension.
1463 (compute_exts_from_gf): Update.
1464 (compute_exts_from_src): Update.
1465 (output_files): Update.
1466 * src/reader.c (parse_header_extension_decl): New.
1467 (parse_source_extension_decl): New.
1468 (read_declarations): New case statements for the new tokens.
1469 * src/lex.c (percent_table): Add entries for %source_extension
1470 and %header_extension.
1471 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1472
84163231
AD
14732001-08-06 Marc Autret <autret_m@epita.fr>
1474
1475 * configure.in: Bump to 1.28c.
1476 * doc/bison.texinfo: Texinfo thingies.
1477
8303fc42
AD
14782001-08-04 Pascal Bart <pascal.bart@epita.fr>
1479
1480 * tests/atconfig.in (CPPFLAGS): Add.
1481 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1482
70a84437
AD
14832001-08-03 Akim Demaille <akim@epita.fr>
1484
1485 Version 1.28b.
1486
2ce10144
AD
14872001-08-03 Akim Demaille <akim@epita.fr>
1488
1489 * tests/Makefile.am (check-local): Ship testsuite.
1490 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1491 Include `string.h'.
1492
1e3e4bc1
AD
14932001-08-03 Akim Demaille <akim@epita.fr>
1494
1495 * configure.in: Try using -Wformat when compiling.
1496
42b45b7f
AD
14972001-08-03 Akim Demaille <akim@epita.fr>
1498
1499 * configure.in: Bump to 1.28b.
1500
8f13fe33
AD
15012001-08-03 Akim Demaille <akim@epita.fr>
1502
1503 * src/complain.c: Adjust strerror_r portability issues.
1504
b37ba92c
AD
15052001-08-03 Akim Demaille <akim@epita.fr>
1506
1507 Version 1.28a.
1508
b0ce6046
AD
15092001-08-03 Akim Demaille <akim@epita.fr>
1510
1511 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1512 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1513 * src/getargs.c: Include complain.h.
1514 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1515 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1516
d01c415b
AD
15172001-08-03 Akim Demaille <akim@epita.fr>
1518
1519 * src/reader.c (readgram): Display hidden chars in error messages.
1520
459dd1a6
AD
15212001-08-03 Akim Demaille <akim@epita.fr>
1522
1523 Update to gettext 0.10.39.
1524
53b74c0c
AD
15252001-08-03 Akim Demaille <akim@epita.fr>
1526
1527 * lib/strspn.c: New.
1528
234a3be3
AD
15292001-08-01 Marc Autret <autret_m@epita.fr>
1530
1531 * doc/bison.texinfo: Update.
1532 * doc/bison.1 (mandoc): Update.
1533 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1534 * src/files.c: Support output files extensions computing.
1535 (src_extension): New static variable.
1536 (header_extension): New static variable.
1537 (tr): New function.
1538 (get_extension_index): New function, gets the index of an extension
1539 filename in a string.
1540 (compute_exts_from_gf): New function, computes extensions from the
1541 grammar file extension.
1542 (compute_exts_from_src): New functions, computes extensions from the
1543 C source file extension, file given by ``-o'' option.
1544 (compute_base_names): Update.
1545 (output_files): Update.
1546
847bf1f5
AD
15472001-08-01 Robert Anisko <anisko_r@epita.fr>
1548
d995fee7 1549 * doc/bison.texi: Document @$.
847bf1f5
AD
1550 (Locations): New section.
1551
d074a105
AD
15522001-07-18 Akim Demaille <akim@epita.fr>
1553
1554 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1555 * config/prev-version.txt, config/move-if-change: New.
1556 * Makefile.am: Adjust.
1557
3419715d
AD
15582001-07-08 Pascal Bart <pascal.bart@epita.fr>
1559
1560 * src/bison.simple (yyparse): Suppress warning `comparaison
1561 between signed and unsigned'.
1562
62ab6972
AD
15632001-07-05 Pascal Bart <pascal.bart@epita.fr>
1564
1565 * src/getargs.h (raw_flag): Remove.
1566 * src/getargs.c: Die on `-r'/`--raw'.
1567 * src/lex.c (parse_percent_token): Die on `%raw'.
1568 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1569 * tests/calc.at: Suppress test with option `--raw'.
1570
1e24cc5b
AD
15712001-07-14 Akim Demaille <akim@epita.fr>
1572
1573 * config/: New.
1574 * configure.in: Require Autoconf 2.50.
1575 Update to gettext 0.10.38.
1576
32dfccf8
AD
15772001-03-16 Akim Demaille <akim@epita.fr>
1578
1579 * doc/bison.texinfo: ANSIfy the examples.
1580
cd5bd6ac
AD
15812001-03-16 Akim Demaille <akim@epita.fr>
1582
1583 * getargs.c (skeleton): New variable.
1584 (longopts): --skeleton is a new option.
1585 (shortopts, getargs): -S is a new option.
1586 * getargs.h: Declare skeleton.
1587 * output.c (output_parser): Use it.
1588
5141b016
AD
15892001-03-16 Akim Demaille <akim@epita.fr>
1590
1591 * m4/strerror_r.m4: New.
1592 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1593 * lib/error.h, lib/error.c: Update.
1594
447992b9
AD
15952001-03-16 Akim Demaille <akim@epita.fr>
1596
1597 * src/getargs.c (longopts): Clean up.
1598
274d42ce
AD
15992001-02-21 Akim Demaille <akim@epita.fr>
1600
1601 * src/reader.c (gensym): `gensym_count' is your own.
1602 Use a static buf to create the symbol name, as token_buffer is no
1603 longer a buffer.
1604
22c821f3
AD
16052001-02-08 Akim Demaille <akim@epita.fr>
1606
1607 * src/conflicts.c (conflict_report): Be sure not to append to res
1608 between two calls, which could happen if both first sprintf were
1609 skipped, but not the first cp += strlen.
1610
18569462
AD
16112001-02-08 Akim Demaille <akim@epita.fr>
1612
1613 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1614 New, from fileutils 4.0.37.
1615 * configure.in: Require Autoconf 2.49c. I took some time before
1616 making this decision. This is the only way out for portability
1617 issues in Bison, it would mean way too much duplicate effort to
1618 import in Bison features implemented in 2.49c since 2.13.
1619 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1620
0d8f3c8a
AD
16212001-02-02 Akim Demaille <akim@epita.fr>
1622
1623 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1624 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1625
f17bcd1f
AD
16262001-01-19 Akim Demaille <akim@epita.fr>
1627
1628 Get rid of the ad hoc handling of token_buffer in the scanner: use
1629 the obstacks.
1630
1631 * src/lex.c (token_obstack): New.
1632 (init_lex): Initialize it. No longer call...
1633 (grow_token_buffer): this. Remove it.
1634 Adjust all the places which used it to use the obstack.
1635
511e79b3
AD
16362001-01-19 Akim Demaille <akim@epita.fr>
1637
1638 * src/lex.h: Rename all the tokens:
1639 s/\bENDFILE\b/tok_eof/g;
1640 s/\bIDENTIFIER\b/tok_identifier/g;
1641 etc.
1642 Let them be enums, not #define, to ease debugging.
1643 Adjust all the code.
1644
0d6508ef
AD
16452001-01-18 Akim Demaille <akim@epita.fr>
1646
1647 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1648 * src/lex.c (maxtoken, grow_token_buffer): Static.
1649
6deb4447
AD
16502001-01-18 Akim Demaille <akim@epita.fr>
1651
1652 Since we now use obstacks, more % directives can be enabled.
1653
1654 * src/lex.c (percent_table): Also accept `%yacc',
1655 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1656 `%debug'.
1657 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1658 instead of returning a token.
1659 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1660 * src/reader.c (read_declarations): Adjust.
1661 * src/files.c (open_files): Don't call `compute_base_names', don't
1662 compute `attrsfile' since they depend upon data which might be
1663 *in* the input file now.
1664 (output_files): Do it here.
1665 * src/output.c (output_headers): Document the fact that this patch
1666 introduces a guaranteed SEGV for semantic parsers.
1667 * doc/bison.texinfo: Document them.
1668 * tests/suite.at: Exercise these %options.
1669
ff4423cc
AD
16702000-12-20 Akim Demaille <akim@epita.fr>
1671
1672 Also handle the output file (--verbose) with obstacks.
1673
1674 * files.c (foutput): Remove.
1675 (output_obstack): New.
1676 Adjust all dependencies.
1677 * src/conflicts.c: Return a string.
1678 * src/system.h (obstack_grow_string): Rename as...
1679 (obstack_sgrow): this. Be ready to work with non literals.
1680 (obstack_fgrow4): New.
1681
956dba3a
AD
16822000-12-20 Akim Demaille <akim@epita.fr>
1683
1684 * src/files.c (open_files): Fix the computation of short_base_name
1685 in the case of `-o foo.tab.c'.
1686
337bab46
AD
16872000-12-20 Akim Demaille <akim@epita.fr>
1688
1689 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1690 (copy_dollar): Now that everything uses obstacks, get rid of the
1691 FILE * parameters.
1692
5d3214b8
AD
16932000-12-20 Akim Demaille <akim@epita.fr>
1694
1695 * src/files.c (open_files): Actually the `.output' file is based
1696 on the short_base_name, not base_name.
1697 * tests/suite.at (Checking output file names): Adjust.
1698
29092a57
AD
16992000-12-20 Akim Demaille <akim@epita.fr>
1700
1701 * src/bison.s1: Remove, we now use directly...
1702 * src/bison.simple: this.
1703 * src/Makefile.am: Use pkgdata instead of data.
1704
ea5607fd
AD
17052000-12-20 Akim Demaille <akim@epita.fr>
1706
1707 * src/files.c (guard_obstack): New.
1708 (open_files): Initialize it.
1709 (output_files): Dump it...
1710 * src/files.h: Export it.
1711 * src/reader.c (copy_guard): Use it.
1712
27110317
AD
17132000-12-19 Akim Demaille <akim@epita.fr>
1714
1715 * src/files.c (outfile, defsfile, actfile): Removed as global
1716 vars.
1717 (open_files): Don't compute them.
1718 (output_files): Adjust.
1719 (base_name, short_base_name): Be global.
1720 Adjust dependencies.
1721
19c50364
AD
17222000-12-19 Akim Demaille <akim@epita.fr>
1723
1724 * src/files.c (strsuffix): New.
1725 (stringappend): Be just like strcat but allocate.
1726 (base_names): Eve out from open_files.
1727 Try to simplify the rather hairy computation of base_name and
1728 short_base_name.
1729 (open_files): Use it.
1730 * tests/suite.at (Checking output file names): New test.
1731
573c1d9f
AD
17322000-12-19 Akim Demaille <akim@epita.fr>
1733
1734 * src/system.h (obstack_grow_literal_string): Rename as...
1735 (obstack_grow_string): this.
1736 * src/output.c (output_parser): Recognize `%% actions' instead of
1737 `$'.
1738 * src/bison.s1: s/$/%% actions/.
1739 * src/bison.hairy: Likewise.
1740
ef7ddedd
AD
17412000-12-19 Akim Demaille <akim@epita.fr>
1742
1743 * src/output.c (output_parser): Compute the `#line' lines when
1744 there are.
1745 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1746 Suggested by Hans Aberg.
1747
ff61dabd
AD
17482000-12-19 Akim Demaille <akim@epita.fr>
1749
1750 Let the handling of the skeleton files be local to the procedures
1751 that use it.
1752
1753 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1754 longer static.
1755 (fparser, open_extra_files): Remove.
1756 (open_files, output_files): Don't take care of fparser.
1757 * src/files.h: Adjust.
1758 * src/output.c (output_parser): Open and close the file to the
1759 skeleton.
1760 * src/reader.c (read_declarations): When %semantic_parser, open
1761 fguard.
1762
55b96341
AD
17632000-12-19 Akim Demaille <akim@epita.fr>
1764
1765 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1766 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1767
358c15b7
AD
17682000-12-19 Akim Demaille <akim@epita.fr>
1769
1770 * src/files.c (open_files): Yipee! We no longer need all the code
1771 looking for `/tmp' since we have no tmp file.
1772
7de3329e
AD
17732000-12-19 Akim Demaille <akim@epita.fr>
1774
1775 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1776 New macros.
1777 * src/files.c (open_files): Less dependency on MSDOS etc.
1778
3abcd459
AD
17792000-12-14 Akim Demaille <akim@epita.fr>
1780
1781 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1782 Provide a default definition.
1783 Use it when executing the default @ action.
1784 * src/reader.c (reader_output_yylsp): No longer include
1785 `timestamp' and `text' in the default YYLTYPE.
1786
2a91a95e
AD
17872000-12-12 Akim Demaille <akim@epita.fr>
1788
1789 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1790 (copy_guard): Quote the file names.
1791 Reported by Laurent Mascherpa.
1792
14d3eb9b
AD
17932000-12-12 Akim Demaille <akim@epita.fr>
1794
1795 * src/output.c (output_headers, output_program, output): Be sure
1796 to escape special characters when outputting filenames.
1797 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1798 (output_headers): Don't depend on them, Use ACTSTR.
1799
d7045ec6
AD
18002000-11-17 Akim Demaille <akim@epita.fr>
1801
1802 * lib/obstack.h: Formatting changes.
1803 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1804 prevents type checking.
1805 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1806 cast the value to (void *): assigning a `foo *' to a `void *'
1807 variable is valid.
1808 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1809 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1810 append characters.
1811
6fd54b73
AD
18122000-11-17 Akim Demaille <akim@epita.fr>
1813
1814 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1815 as...
1816 (suite.m4, regression.m4, calc.m4): these.
1817 * tests/atgeneral.m4: Update from CVS Autoconf.
1818
4c50eae6
AD
18192000-11-17 Akim Demaille <akim@epita.fr>
1820
1821 * tests/regression.m4 (%union and --defines): New test,
1822 demonstrating a current bug in the obstack implementation.
1823
a35f64ea
AD
18242000-11-17 Akim Demaille <akim@epita.fr>
1825
1826 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1827 macros.
1828 Use them to declare the variables which are global or local to
1829 `yyparse'.
1830
7de23534
AD
18312000-11-17 Akim Demaille <akim@epita.fr>
1832
1833 * acconfig.h: Remove, no longer used.
1834
aa7815f5
AD
18352000-11-07 Akim Demaille <akim@epita.fr>
1836
1837 * src: s/Copyright (C)/Copyright/g.
1838
5af1f549
AD
18392000-11-07 Akim Demaille <akim@epita.fr>
1840
1841 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1842 defining.
1843 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1844
553e2b22
AD
18452000-11-07 Akim Demaille <akim@epita.fr>
1846
1847 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1848 Merge in a single CPP if/else.
1849
8a4f41d6
AD
18502000-11-07 Akim Demaille <akim@epita.fr>
1851
1852 * src/output.c (output): Remove useless variables.
1853 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1854 argument `data' for consistency with the prototypes.
1855 Qualify it `const'.
1856 (obstack_copy, obstack_copy0): Rename the second argument as
1857 `address' for consistency. Qualify it `const'.
1858 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1859 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1860 `const' their input argument (`data' or `address').
1861 Adjust the corresponding macros to include `const' in casts.
1862
095a3fb5
AD
18632000-11-03 Akim Demaille <akim@epita.fr>
1864
1865 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1866 s/PFILE1/BISON_HAIRY/.
1867 Adjust dependencies.
1868
d1cdce7c
AD
18692000-11-03 Akim Demaille <akim@epita.fr>
1870
090c5ebf 1871 For some reason, this was not applied.
d1cdce7c
AD
1872
1873 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1874 `unlink': it's no longer used.
1875
9311529b
AD
18762000-11-03 Akim Demaille <akim@epita.fr>
1877
1878 * src/files.c (skeleton_find): New function, eved out of...
1879 (open_files, open_extra_files): here.
1880
d8880f69
AD
18812000-11-03 Akim Demaille <akim@epita.fr>
1882
1883 Don't use `atexit'.
1884
1885 * src/files.c (obstack_save): New function.
1886 (done): Rename as...
1887 (output_files): this.
1888 Use `obstack_save'.
1889 * src/main.c (main): Don't use `atexit' to register `done', since
1890 it no longer has to remove tmp files, just call `output_files'
1891 when there are no errors.
1892
0dbb648e
AD
18932000-11-02 Akim Demaille <akim@epita.fr>
1894
1895 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1896 `unlink': it's no longer used.
1897 * src/files.h: Formatting changes.
1898
896fe5c1
AD
18992000-11-02 Akim Demaille <akim@epita.fr>
1900
1901 Remove the last uses of mktemp and unlink/delete.
1902
1903 * src/files.c (fdefines, ftable): Removed.
1904 (defines_ostack, table_obstack): New.
1905 Adjust dependencies of the former into uses of the latter.
1906 * src/output.c (output_short_or_char_table, output_short_table):
1907 Convert to using obstacks.
1908 * src/reader.c (copy_comment2): Accept one FILE * and two
1909 obstacks.
1910 (output_token_defines, reader_output_yylsp): Use obstacks.
1911 * src/system.h (obstack_fgrow3): New.
1912
dd60faec
AD
19132000-11-01 Akim Demaille <akim@epita.fr>
1914
1915 Change each use of `fattrs' into a use of `attrs_obstack'.
1916
1917 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1918 * src/files.c (fattrs): Remove.
1919 (attrs_obstack): New.
1920 Adjust all dependencies.
1921 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1922
8c7ebe49
AD
19232000-11-01 Akim Demaille <akim@epita.fr>
1924
1925 Introduce obstacks.
1926 Change each use of `faction' into a use of `action_obstack'.
1927
1928 * lib/obstack.h, lib/obstack.c: New files.
1929 * src/files.c (faction): Remove.
1930 (action_obstack): New.
1931 Adjust all dependencies.
1932
77aee789
AD
19332000-10-20 Akim Demaille <akim@epita.fr>
1934
1935 * lib/quote.h (PARAMS): New macro. Use it.
1936
43591cec
AD
19372000-10-16 Akim Demaille <akim@epita.fr>
1938
1939 * src/output.c (output_short_or_char_table): New function.
1940 (output_short_table, output_token_translations): Use it.
1941 (goto_actions): Use output_short_table.
1942
1e9798d5
AD
19432000-10-16 Akim Demaille <akim@epita.fr>
1944
1945 * src/symtab.c (bucket_new): New function.
1946 (getsym): Use it.
1947
1948 * src/output.c (output_short_table): New argument to display the
1949 comment associated with the table.
1950 Adjust dependencies.
1951 (output_gram): Use it.
1952 (output_rule_data): Nicer output layout for YYTNAME.
1953
f282676b
AD
19542000-10-16 Akim Demaille <akim@epita.fr>
1955
1956 * src/lex.c (read_typename): New function.
1957 (lex): Use it.
1958 * src/reader.c (copy_dollar): Likewise.
1959
550a72a3
AD
19602000-10-16 Akim Demaille <akim@epita.fr>
1961
1962 * src/reader.c (copy_comment2): Expect the input stream to be on
1963 the `/' which is suspected to open a comment, instead of being
1964 called after `//' or `/*' was read.
1965 (copy_comment, copy_definition, parse_union_decl, copy_action)
1966 (copy_guard): Adjust.
1967
131e2fef
AD
19682000-10-16 Akim Demaille <akim@epita.fr>
1969
1970 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1971 `read_signed_integer'.
1972
79282c5a
AD
19732000-10-16 Akim Demaille <akim@epita.fr>
1974
1975 * src/reader.c (copy_dollar): New function.
1976 (copy_guard, copy_action): Use it.
1977
ff4a34be
AD
19782000-10-16 Akim Demaille <akim@epita.fr>
1979
1980 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1981 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1982 New files, from Fileutils 4.0.27.
1983 * src/main.c (printable_version): Remove.
1984 * src/lex.c, src/reader.c: Use `quote'.
1985
19862000-10-04 Akim Demaille <akim@epita.fr>
1987
1988 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1989
14ded682
AD
19902000-10-04 Akim Demaille <akim@epita.fr>
1991
1992 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1993
8e03724b
AD
19942000-10-04 Akim Demaille <akim@epita.fr>
1995
1996 When a literal string is used to define two different tokens,
1997 `bison -v' segfaults.
1998 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1999
2000 * tests/regression.m4: New file.
2001 Include the core of the sample provided by Piotr Gackiewicz.
2002 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2003 properly.
2004
a9e64249
AD
20052000-10-04 Akim Demaille <akim@epita.fr>
2006
2007 * src/reader.c (parse_expect_decl): Keep `count' within the size
2008 of `buffer'.
2009 From Neil Booth.
2010
da9abf43
AD
20112000-10-02 Paul Eggert <eggert@twinsun.com>
2012
2013 * bison.s1 (yyparse): Assign the default value
2014 unconditionally, to avoid a GCC warning and make the parser a
2015 tad smaller.
2016
c33638bb
AD
20172000-10-02 Akim Demaille <akim@epita.fr>
2018
2019 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2020 options.
2021
444c570a
AD
20222000-10-02 Akim Demaille <akim@epita.fr>
2023
2024 * src/derives.c, src/print.c, src/reduce.c: To ease the
2025 translation, move some `\n' out of the translated strings.
2026
89cab50d
AD
20272000-10-02 Akim Demaille <akim@epita.fr>
2028
2029 The location tracking mechanism is precious for parse error
2030 messages. Nevertheless, it is enabled only when `@n' is used in
2031 the grammar, which is a different issue (you can use it in error
2032 message, but not in the grammar per se). Therefore, there should
2033 be another means to enable it.
2034
2035 * src/getargs.c (getargs): Support `--locations'.
2036 (usage): Report it.
2037 * src/getargs.h (locationsflag): Export it.
2038 * src/lex.c (percent_table): Support `%locations'.
2039 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2040 with `locationsflag'.
2041 * doc/bison.texinfo: Document `--locations' and `%locations'.
2042 Sort the options.
2043 * tests/calc.m4: Test it.
2044
2045 For regularity of the names, replace each
2046 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2047 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2048 In addition replace each `flag' with `_flag'.
2049
d6c2cba0
AD
20502000-10-02 Akim Demaille <akim@epita.fr>
2051
2052 Also test parse error messages, including with YYERROR_VERBOSE.
2053
2054 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2055 associative).
2056 Use it to check the computations.
2057 Use it to check `nonassoc' is honored.
2058 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2059 `--yyerror-verbose'.
2060 (_AT_CHECK_CALC): Adjust to this option.
2061 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2062
5a35a6cb
AD
20632000-10-02 Akim Demaille <akim@epita.fr>
2064
2065 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2066 the latter demonstrates a flaw in the handling of non debugging
2067 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2068 was used in order to simplify:
2069
2070 #if YYDEBUG
2071 if (yydebug)
2072 {
2073 ...
2074 }
2075 #endif
2076
2077 into
2078
2079 if (yydebug)
2080 {
2081 ...
2082 }
2083
2084 unfortunately this leads to a CPP conflict when
2085 `--name-prefix=foo' is used since it produces `#define yydebug
2086 foodebug'.
2087
2088 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2089 (YYDPRINTF): New macro.
2090 Spread its use.
2091 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2092 the bison options.
2093 Also test `--verbose', `--defines' and `--name-prefix'.
2094
71da9eea
AD
20952000-10-02 Akim Demaille <akim@epita.fr>
2096
2097 Improve the readability of the produced parsers.
2098
2099 * src/bison.s1: Formatting changes.
2100 Improve the comment related to the `$' mark.
2101 (yydefault): Don't fall through to `yyresume': `goto' there.
2102 * src/output.c (output_parser): When the `$' is met, skip the end
2103 of its line.
2104 New variable, `number_of_dollar_signs', to check there's exactly
2105 one `$' in the parser skeleton.
2106
95e36146
AD
21072000-10-02 Akim Demaille <akim@epita.fr>
2108
2109 * lib/xstrdup.c: New file, from the fileutils.
2110 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2111 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2112 instead of strlen + xmalloc + strcpy.
2113 * src/symtab.c (copys): Remove, use xstrdup instead.
2114
d7020c20
AD
21152000-10-02 Akim Demaille <akim@epita.fr>
2116
2117 * src/gram.h (associativity): New enum type which replaces the
2118 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2119 `right_assoc', `left_assoc' and `non_assoc'.
2120 Adjust all dependencies.
2121 * src/reader.c: Formatting changes.
2122 (LTYPESTR): Don't define it, use it as a literal in
2123 `reader_output_yylsp'.
2124 * src/symtab.h (symbol_class): New enum type which replaces the
2125 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2126 `sunknown', `stoken and `snterm'.
2127
1916f98e
AD
21282000-10-02 Akim Demaille <akim@epita.fr>
2129
2130 * src/getargs.c (fixed_outfiles): Rename as...
2131 (yaccflag): for consistency and accuracy.
2132 Adjust dependencies.
2133
d7913476
AD
21342000-10-02 Akim Demaille <akim@epita.fr>
2135
2136 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2137 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2138 difficult and introduced a lot of core dump. It turns out that
2139 Bison used an implementation of `xmalloc' based on `calloc', and
2140 at various places it does depend upon the initialization to 0. I
2141 have not tried to isolate the pertinent places, and all the former
2142 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2143 someone should address this issue.
2144
2145 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2146 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2147 files.
2148 Adjust dependencies.
2149 * src/warshall.h: New file.
2150 Propagate.
2151
340ef489
AD
21522000-10-02 Akim Demaille <akim@epita.fr>
2153
2154 Various anti-`extern in *.c' changes.
2155
2156 * src/system.h: Include `assert.h'.
2157
b2ca4022
AD
21582000-10-02 Akim Demaille <akim@epita.fr>
2159
2160 * src/state.h (nstates, final_state, first_state, first_shift)
2161 (first_reduction): Move their exportation from here...
2162 * src/LR0.h: to here.
2163 Adjust dependencies.
2164 * src/getargs.c (statisticsflag): New variable.
2165 Add support for `--statistics'.
2166 Adjust dependencies.
2167
2168 Remove a lot of now useless `extern' statements in most files.
2169
403b315b
AD
21702000-10-02 Akim Demaille <akim@epita.fr>
2171
2172 * src/LR0.h: New file.
2173 Propagate its use.
2174
07a58c13
AD
21752000-10-02 Akim Demaille <akim@epita.fr>
2176
2177 * src/print.h: New file.
2178 Propagate its use.
2179 * src/print.c: Formatting and ordering changes.
2180 (verbose, terse): Replace with...
2181 (print_results): this new function.
2182 Adjust dependencies.
2183
0619caf0
AD
21842000-10-02 Akim Demaille <akim@epita.fr>
2185
2186 * src/conflicts.c (conflict_report): New function.
2187 (conflict_log, verbose_conflict_log): Replace with...
2188 (print_conflicts): this function.
2189 Adjust dependencies.
2190 * src/conflicts.h: New file.
2191 Propagate its inclusion.
2192
3519ec76
AD
21932000-10-02 Akim Demaille <akim@epita.fr>
2194
2195 * src/nullable.h: New file.
2196 Propagate its inclusion.
2197 * src/nullable.c: Formatting changes.
2198
015acc48
AD
21992000-10-02 Akim Demaille <akim@epita.fr>
2200
2201 * src/reduce.h: New file.
2202 Propagate its inclusion.
2203 * src/reduce.c: Topological sort and other formatting changes.
2204 (bool, TRUE, FALSE): Move their definition to...
2205 * src/system.h: here.
2206
8963a27b
AD
22072000-10-02 Akim Demaille <akim@epita.fr>
2208
2209 * src/files.c: Formatting changes.
2210 (tryopen, tryclose, openfiles): Rename as...
2211 (xfopen, xfclose, open_files): this.
2212 (stringappend): static.
2213 * src/files.h: Complete the list of exported symbols.
2214 Propagate its use.
2215
a70083a3
AD
22162000-10-02 Akim Demaille <akim@epita.fr>
2217
2218 * src/reader.h: New file.
2219 Propagate its use instead of tedious list of `extern' and
2220 prototypes.
2221 * src/reader.c: Formatting changes, topological sort,
2222 s/register//.
2223
abadc117
AD
22242000-10-02 Akim Demaille <akim@epita.fr>
2225
2226 * src/lex.h: Prototype `lex.c' exported functions.
2227 * src/reader.c: Adjust.
2228 * src/lex.c: Formatting changes.
2229 (safegetc): Rename as...
2230 (xgetc): this.
2231
720d742f
AD
22322000-10-02 Akim Demaille <akim@epita.fr>
2233
2234 * src/lalr.h: New file.
2235 Propagate its inclusion instead of prototypes and `extern'.
2236 * src/lalr.c: Formatting changes, topological sorting etc.
2237
f2acea59
AD
22382000-10-02 Akim Demaille <akim@epita.fr>
2239
2240 * src/output.c (token_actions): Introduce a temporary array,
2241 YYDEFACT, that makes it possible for this function to use
2242 output_short_table.
2243
d019d655
AD
22442000-10-02 Akim Demaille <akim@epita.fr>
2245
2246 `user_toknums' is output as a `short[]' in `output.c', while it is
2247 defined as a `int[]' in `reader.c'. For consistency with the
2248 other output tables, `user_toknums' is now defined as a table of
2249 shorts.
2250
2251 * src/reader.c (user_toknums): Be a short table instead of an int
2252 table.
2253 Adjust dependencies.
2254
2255 Factor the short table outputs.
2256
2257 * src/output.c (output_short_table): New function.
2258 * src/output.c (output_gram, output_stos, output_rule_data)
2259 (output_base, output_table, output_check): Use it.
2260
6c89f1c1
AD
22612000-10-02 Akim Demaille <akim@epita.fr>
2262
2263 * src/output.c (output): Topological sort of the functions, in
2264 order to get rid of the `static' prototypes.
2265 No longer use `register'.
2266 * src/output.h: New file.
2267 Propagate its inclusion in files explicitly prototyping functions
2268 from output.c.
2269
d9efd181
AD
22702000-09-21 Akim Demaille <akim@epita.fr>
2271
2272 * src/atgeneral.m4: Update from Autoconf.
2273
c29240e7 22742000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2275
2276 * src/closure.h: New file.
2277 * src/closure.c: Formatting changes, topological sort over the
2278 functions, use of closure.h.
2279 (initialize_closure, finalize_closure): Rename as...
2280 (new_closure, free_closure): these. Adjust dependencies.
2281 * src/LR0.c: Formatting changes, topological sort, use of
2282 cloture.h.
2283 (initialize_states): Rename as...
2284 (new_states): this.
2285 * src/Makefile.am (noinst_HEADERS): Adjust.
2286
499daa50
AD
22872000-09-20 Akim Demaille <akim@epita.fr>
2288
2289 * src/acconfig.h: Don't protect config.h against multiple
2290 inclusion.
2291 Don't define PARAMS.
2292 * src/system.h: Define PARAMS.
2293 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2294 purpose of config.h. system.h must not try to fix wrong
2295 definitions in config.h.
2296
cc84fd5d
AD
22972000-09-20 Akim Demaille <akim@epita.fr>
2298
2299 * src/derives.h: New file.
2300 * src/main.c, src/derives.h: Use it.
2301 Formatting changes.
2302 * src/Makefile.am (noinst_HEADERS): Adjust.
2303
db5b3a89
AD
23042000-09-20 Akim Demaille <akim@epita.fr>
2305
2306 * tests/atgeneral.m4: Update from Autoconf.
2307 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2308 (AT_CHECK_CALC): New macros.
2309 Use these macros to test bison with options `', `--raw',
2310 `--debug', `--yacc', `--yacc --debug'.
2311
ceed8467
AD
23122000-09-19 Akim Demaille <akim@epita.fr>
2313
2314 * src/output.c: Formatting changes.
2315 * src/machine.h: Remove, leaving its contents in...
2316 * src/system.h: here.
2317 Include stdio.h.
2318 Adjust all dependencies on stdio.h and machine.h.
2319 * src/getargs.h: New file.
2320 Let all `extern' declarations about getargs.c be replaced with
2321 inclusion of `getargs.h'.
2322 * src/Makefile.am (noinst_HEADERS): Adjust.
2323
2324 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2325 scope.
2326 (yyerror): Returns void, not int.
2327 * doc/bison.texinfo: Formatting changes.
2328
05a1d24b
AD
23292000-09-19 Akim Demaille <akim@epita.fr>
2330
2331 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2332 portable.
2333
cbd25751
AD
23342000-09-18 Akim Demaille <akim@epita.fr>
2335
2336 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2337 * src/Makefile.am (INCLUDES): Don't.
2338 Be ready to fetch headers in lib/.
2339
13863333
AD
23402000-09-18 Akim Demaille <akim@epita.fr>
2341
2342 * doc/bison.texinfo: Update the copyright.
2343 ANSIfy and GNUify the examples.
2344 Remove the old menu.
2345
0d533154
AD
23462000-09-18 Akim Demaille <akim@epita.fr>
2347
2348 First set of tests: use the `calc' example from the documentation.
2349
2350 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2351 is defined only when YYDEBUG is.
2352 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2353 * src/files.c (tryopen, tryclose): Formatting changes.
2354 Move to the top and be static.
2355 * src/reader.c (read_signed_integer): Likewise.
2356 * tests/calc.m4: New file.
2357 * Makefile.am, suite.m4: Adjust.
2358 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2359
e79137ac
AD
23602000-09-18 Akim Demaille <akim@epita.fr>
2361
2362 Add support for an Autotest test suite for Bison.
2363
2364 * m4/m4.m4, m4/atconfig.m4: New files.
2365 * m4/Makefile.am (EXTRA_DIST): Adjust.
2366 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2367 files.
2368 * src/getargs.c: Display a more standard --version message.
2369 * src/reader.c (reader): Formatting changes.
2370 No longer depend upon VERSION_STRING.
2371 * configure.in: No longer use `dnl'.
2372 Set up the test suite and the new directory `tests/.
2373 (VERSION_STRING): Remove.
2374
27821bff
AD
23752000-04-14 Akim Demaille <akim@epita.fr>
2376
2377 * src/reader.c (copy_comment2): New function, same as former
2378 `copy_comment', but outputs into two FILE *.
2379 (copy_comment): Use it.
2380 (parse_union_decl): Use it.
2381 (get_type, parse_start_decl): Use the same `invalid' message.
2382 (parse_start_decl, parse_union_decl): Use the same `multiple'
2383 message.
2384 (parse_union_decl, copy_guard, copy_action): Use the same
2385 `unmatched' message.
2386 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2387
cfe5fbc0
AD
23882000-03-31 Akim Demaille <akim@epita.fr>
2389
2390 * src/files.c (tryopen, tryclose): Move to the top.
2391 Be static.
2392
cb7db13e
AD
23932000-03-31 Akim Demaille <akim@epita.fr>
2394
2395 * src/main.c (main): Don't call `done', exit does it.
2396
a0f6b076
AD
23972000-03-31 Akim Demaille <akim@epita.fr>
2398
36281465
AD
2399 * allocate.c: s/return (foo)/return foo/.
2400 * lalr.c: Likewise.
2401 * LR0.c: Likewise.
2402 * output.c: Likewise.
2403 * reader.c: Likewise.
2404 * symtab.c: Likewise.
2405 * vmsgetargs.c: Likewise.
2406
24072000-03-31 Akim Demaille <akim@epita.fr>
2408
2409 Clean up the error reporting functions.
a0f6b076
AD
2410
2411 * src/report.c: New file.
2412 * src/report.h: Likewise.
2413 * src/Makefile.am: Adjust.
2414 * m4/error.m4: New file.
2415 * m4/Makefile.am: Adjust.
2416 * configure.in (jm_PREREQ_ERROR): Call it.
2417 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2418 Remove.
2419 (fatal, fatals): Remove. All callers use complain.c::fatal.
2420 (warn, warni, warns, warnss, warnss): Remove. All callers use
2421 complain.c::complain.
2422 (toomany): Remove, use fatal instead.
2423 * src/files.c (done): No argument, use complain_message_count.
2424 * src/main.c (main): Register `done' to `atexit'.
2425
2426 * src/getargs.c (usage): More `fputs', less `fprintf'.
2427
18539825
AD
24282000-03-28 Akim Demaille <akim@epita.fr>
2429
2430 * lib/: New directory.
2431 * Makefile.am (SUBDIRS): Adjust.
2432 * configure.in: Adjust.
2433 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2434 useless.
2435 * src/alloca.c: Moved to lib/.
2436 * src/getopt.c: Likewise.
2437 * src/getopt1.c: Likewise.
2438 * src/getopt.h: Likewise.
2439 * src/ansi2knr.c: Likewise.
2440 * src/ansi2knr.1: Likewise.
2441 * src/Makefile.am: Adjust.
2442 * lib/Makefile.am: New file.
2443
9f306f2a
AD
24442000-03-28 Akim Demaille <akim@epita.fr>
2445
2446 * src/getargs.c (usage): Refresh the help message.
2447
0ba347b6
AD
24482000-03-17 Akim Demaille <akim@epita.fr>
2449
2450 * src/getopt1.c: Updated from textutils 2.0e
2451 * src/getopt.c: Likewise.
2452 * src/getopt.h: Likewise.
2453
dbe7f271
AD
24542000-03-17 Akim Demaille <akim@epita.fr>
2455
2456 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2457 the file name, not the whole `#line LINE FILE'.
2458
75bbe78d
AD
24592000-03-17 Akim Demaille <akim@epita.fr>
2460
2461 On syntax errors, report the token on which we choked.
2462
aa5fd0ee
AD
2463 * src/bison.s1 (yyparse): In the label yyerrlab, when
2464 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2465
7b306f52
AD
24662000-03-17 Akim Demaille <akim@epita.fr>
2467
aa5fd0ee 2468 * src/reader.c (copy_at): New function.
7b306f52
AD
2469 (copy_guard): Use it.
2470 (copy_action): Use it.
2471
e87b5700
AD
24722000-03-17 Akim Demaille <akim@epita.fr>
2473
2474 Be kind to translators, save some useless translations.
2475
aa5fd0ee 2476 * src/main.c (banner): New function.
e87b5700
AD
2477 (fatal_banner): Use it.
2478 (warn_banner): Use it.
2479
ae3c3164
AD
24802000-03-17 Akim Demaille <akim@epita.fr>
2481
aa5fd0ee
AD
2482 * src/reader.c (copy_definition): Use copy_string and
2483 copy_comment. Removed now unused `match', `ended',
2484 `cplus_comment'.
ae3c3164
AD
2485 (copy_comment, copy_string): Moved, to be visible from
2486 copy_definition.
2487
4dc58e7c
AD
24882000-03-17 Akim Demaille <akim@epita.fr>
2489
aa5fd0ee
AD
2490 * src/reader.c (copy_string): Declare `static inline'. No
2491 problems with inline, since it is checked by configure.
4dc58e7c
AD
2492 (copy_comment): Likewise.
2493
0a6384c4
AD
24942000-03-17 Akim Demaille <akim@epita.fr>
2495
aa5fd0ee 2496 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2497
3cef001a
AD
24982000-03-17 Akim Demaille <akim@epita.fr>
2499
aa5fd0ee 2500 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2501 (copy_action): Use it. Removed now unused `match', `ended',
2502 `cplus_comment'.
2503 (copy_guard): Likewise.
2504
ca36d2ef
AD
25052000-03-17 Akim Demaille <akim@epita.fr>
2506
aa5fd0ee 2507 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2508 (copy_action): Use it.
2509 (copy_guard): Likewise.
2510
6666f98f
AD
25112000-03-17 Akim Demaille <akim@epita.fr>
2512
2513 Change the handling of @s so that they behave exactly like $s.
2514 There is now a pseudo variable @$ (readble and writable), location
2515 of the lhs of the rule (by default ranging from the location of
2516 the first symbol of the rhs, to the location of the last symbol,
2517 or, if the rhs is empty, YYLLOC).
2518
2519 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2520 yyval.
2521 (yyparse): When providing a default semantic action, provide a
2522 default location action.
2523 (after the $): No longer change `*YYLSP', just stack YYLOC the
2524 same way you stack YYVAL.
2525 * src/reader.c (read_declarations): Use warns.
2526 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2527 (copy_action, case '@'): Likewise.
2528 Use a standard error message, to save useless work from
2529 translators.
2530
41aca2e0
AD
25312000-03-17 Akim Demaille <akim@epita.fr>
2532
aa5fd0ee
AD
2533 * src/bison.s1: Formatting and cosmetics changes.
2534 * src/reader.c: Likewise.
41aca2e0
AD
2535 Update the Copyright notice.
2536
dc08c1d5
AD
25372000-03-17 Akim Demaille <akim@epita.fr>
2538
aa5fd0ee
AD
2539 * src/bison.s1 (#line): All set to `#line' only, since the
2540 Makefile now handles them.
dc08c1d5 2541
9ee3c97b
AD
25422000-03-16 Akim Demaille <akim@epita.fr>
2543
2544 * src/output.c (output_rule_data): Output the documentation of
2545 some of the tables.
2546 (Copyright notice): Update.
2547 Formatting changes.
2548
0de741ca
AD
25492000-03-16 Akim Demaille <akim@epita.fr>
2550
2551 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2552 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2553 One `#if YYDEBUG' remains, since it uses variables which are
2554 defined only if `YYDEBUG != 0'.
2555
bb10be54
AD
25562000-03-16 Akim Demaille <akim@epita.fr>
2557
2558 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2559 and related variables so that the similarities are highlighted.
2560
b07b484a
AD
25612000-03-16 Akim Demaille <akim@epita.fr>
2562
2563 * src/bison.s1: Properly indent CPP directives.
2564
361f60b3
AD
25652000-03-16 Akim Demaille <akim@epita.fr>
2566
2567 * src/bison.s1: Properly indent the `alloca' CPP section.
2568
8c44d3ec
AD
25692000-03-16 Akim Demaille <akim@epita.fr>
2570
2571 Do not hard code values of directories in `configure.in'.
2572 Update the `configure' tool chain.
2573
2574 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2575 src/makefile.am.
2576 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2577 (AC_OUTPUT): Add m4/Makefile.
2578 Bump to bison 1.28a, 1.29 has never been released.
2579 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2580 handled via src/Makefile.am.
2581 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2582 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2583 autoheader.
2584 * Makefile.am (SUBDIRS): Add m4.
2585 (ACLOCAL_AM_FLAGS): New variable.
2586 (AUTOMAKE_OPTIONS): Add check-news.
2587 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2588 the proper line number and file name.
2589 (DEFS): Propagate the location of bison library files and of the
2590 locale files.
2591 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2592 builddir.
2593 * acinclude.m4: Remove, replaced by the directory m4.
2594 * m4/Makefile.am (EXTRA_DIST): New variable.
2595 * m4/gettext.m4: New file, from the fileutils.
2596 * m4/lcmessage.m4: Likewise
2597 * m4/progtest.m4: Likewise.
2598 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2599
f95997e7
AD
26002000-03-10 Akim Demaille <akim@epita.fr>
2601
2602 * src/closure.c:
2603 Formatting changes of various comments.
2604 Respect the GNU coding standards at various places.
2605 Don't use `_()' when no translation is needed.
2606
26071999-12-13 Jesse Thilo <jthilo@gnu.org>
2608
2609 * src/files.c:
2610 OS/2 honors TMPDIR environment variable.
2611
26121999-12-13 Jesse Thilo <jthilo@gnu.org>
2613
2614 * doc/bison.texinfo: Tweaked spelling and grammar.
2615 Updated ISBN.
2616 Removed reference to price of printed copy.
2617 Mention BISON_SIMPLE and BISON_HAIRY.
2618
26191999-12-13 Jesse Thilo <jthilo@gnu.org>
2620
2621 * configure.in, NEWS:
2622 Bison 1.29 released.
2623
26241999-10-27 Jesse Thilo <jthilo@gnu.org>
2625
2626 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2627 Added reference card.
2628
26291999-07-26 Jesse Thilo <jthilo@gnu.org>
2630
2631 * po/ru.po: Added Russian translation.
2632
26331999-07-26 Jesse Thilo <jthilo@gnu.org>
2634
2635 * configure.in: Added Russian translation.
2636
26371999-07-06 Jesse Thilo <jthilo@gnu.org>
2638
2639 * configure.in, NEWS, README:
2640 Released version 1.28.
2641
26421999-06-14 Jesse Thilo <jthilo@gnu.org>
2643
2644 * src/system.h:
2645 Squashed redefinition warning on some systems.
2646
2647 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2648 Have configure build version string instead of relying on ANSI string
2649 concatentation.
2650
26511999-06-14 Jesse Thilo <jthilo@gnu.org>
2652
2653 * po/POTFILES.in: Got rid of version.c.
2654
26551999-06-14 Jesse Thilo <jthilo@gnu.org>
2656
2657 * acconfig.h, configure.in:
2658 Have configure build version string instead of relying on ANSI string
2659 concatentation.
2660
26611999-06-08 Jesse Thilo <jthilo@gnu.org>
2662
2663 * doc/bison.1:
2664 Dropped mention of `+' for long-named options.
2665
26661999-05-30 Jesse Thilo <jthilo@gnu.org>
2667
2668 * src/files.c: Added <unistd.h> for unlink().
2669
2670 * src/Makefile.am, src/system.h:
2671 I18n fixes.
2672
26731999-05-30 Jesse Thilo <jthilo@gnu.org>
2674
2675 * README: Added a FAQ list.
2676
2677 * configure.in, acconfig.h:
2678 I18n fixes.
2679
26801999-05-30 Jesse Thilo <jthilo@gnu.org>
2681
2682 * doc/FAQ, doc/Makefile.am:
2683 Added a FAQ list.
2684
26851999-05-19 Jesse Thilo <jthilo@gnu.org>
2686
2687 * src/alloc.h, src/symtab.h, src/version.c:
2688 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2689
26901999-04-18 Jesse Thilo <jthilo@gnu.org>
2691
2692 * src/.cvsignore, src/Makefile.am:
2693 Reorganized: sources in `src', documentation in `doc'.
2694
2695 * src/lex.c (literalchar):
2696 fixed the code for escaping double quotes (thanks
2697 Jonathan Czisny.)
2698
26991999-04-18 Jesse Thilo <jthilo@gnu.org>
2700
2701 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2702 Adjusted paths to reflect directory reorganization.
2703
27041999-04-18 Jesse Thilo <jthilo@gnu.org>
2705
2706 * doc/.cvsignore, doc/Makefile.am:
2707 Reorganized: sources in `src', documentation in `doc'.
2708
27091999-04-18 Jesse Thilo <jthilo@gnu.org>
2710
2711 * configure.in:
2712 Updated AC_INIT file to reflect directory reorganization.
2713
2714 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2715 Reorganized: sources in `src', documentation in `doc'.
2716
27171999-04-13 Jesse Thilo <jthilo@gnu.org>
2718
2719 * src/allocate.c:
2720 Don't declare calloc() and realloc() if not necessary.
2721
27221999-04-13 Jesse Thilo <jthilo@gnu.org>
2723
2724 * configure.in, acconfig.h, acinclude.m4:
2725 Don't declare calloc() and realloc() if not necessary.
2726
27271999-03-23 Jesse Thilo <jthilo@gnu.org>
2728
2729 * po/.cvsignore: Added i18n support.
2730
27311999-03-23 Jesse Thilo <jthilo@gnu.org>
2732
2733 * acconfig.h, configure.in, Makefile.am:
2734 Added i18n support.
2735
27361999-03-22 Jesse Thilo <jthilo@gnu.org>
2737
2738 * src/bison.s1: Fixed #line numbers.
2739
27401999-03-15 Jesse Thilo <jthilo@gnu.org>
2741
2742 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2743 Added PO files from Translation Project.
2744
27451999-03-03 Jesse Thilo <jthilo@gnu.org>
2746
2747 * Makefile.am:
2748 Added support for non-ANSI compilers (ansi2knr).
2749
27501999-02-16 Jesse Thilo <jthilo@gnu.org>
2751
2752 * configure.in: Bumped version number to 1.27.
2753
2754 * Makefile.am:
2755 Added `bison.simple' to list of files removed by `make distclean'.
2756
27571999-02-12 Jesse Thilo <jthilo@gnu.org>
2758
2759 * src/files.c, src/files.h:
2760 Defined locations of parser files in config.h instead of Makefile.
2761
27621999-02-12 Jesse Thilo <jthilo@gnu.org>
2763
2764 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2765 Defined locations of parser files in config.h instead of Makefile.
2766
27671999-02-09 Jesse Thilo <jthilo@gnu.org>
2768
2769 * Makefile.am:
2770 Removed inappropriate use of $< macro.
2771
27721999-02-05 Jesse Thilo <jthilo@gnu.org>
2773
2774 * po/Makefile.in.in, po/POTFILES.in:
2775 Add `po' directory skeleton.
2776
27771999-01-27 Jesse Thilo <jthilo@gnu.org>
2778
2779 * README: Document help-bison list.
2780
2781 * configure.in: Add check for mkstemp().
2782
27831999-01-20 Jesse Thilo <jthilo@gnu.org>
2784
2785 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2786 Hush a few compiler warnings.
2787
2788 * src/files.c:
2789 Add tryclose(), which verifies that fclose was successful.
2790 Hush a couple of compiler warnings.
2791
27921999-01-20 Jesse Thilo <jthilo@gnu.org>
2793
2794 * Makefile.am, OChangeLog:
2795 ChangeLog is now automatically generated. Include the old version as
2796 OChangeLog.
2797
27981999-01-14 Jesse Thilo <jthilo@gnu.org>
2799
2800 * 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:
2801 Update FSF address.
2802
28031999-01-14 Jesse Thilo <jthilo@gnu.org>
2804
2805 * doc/bison.texinfo: Fix formatting glitch.
2806
2807 * doc/bison.texinfo: Update FSF address.
2808
28091999-01-14 Jesse Thilo <jthilo@gnu.org>
2810
2811 * acconfig.h: Update FSF address.
2812
28131999-01-08 Jesse Thilo <jthilo@gnu.org>
2814
2815 * src/system.h:
2816 Don't define PACKAGE here, since config.h defines it.
2817
28181998-12-30 Jesse Thilo <jthilo@gnu.org>
2819
2820 * src/reader.c: Update copyright date.
2821
2822 * src/main.c:
2823 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2824 favor of output directly to stderr (avoids buffer overruns).
2825
2826 * src/reader.c: Some checks for premature EOF.
2827
2828 * 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:
2829 Use prototypes if the compiler understands them.
2830
2831 * src/files.c: Honor TMPDIR on Unix hosts.
2832 Use prototypes if the compiler understands them.
2833
2834 * src/reader.c:
2835 Fix a couple of buffer overrun bugs.
2836 Use prototypes if the compiler understands them.
2837
2838 * src/system.h: Include unistd.h and ctype.h.
2839 Use #ifdef instead of #if for NLS symbols.
2840
28411998-12-30 Jesse Thilo <jthilo@gnu.org>
2842
2843 * doc/bison.texinfo:
2844 Delete comment "consider using @set for edition number, etc..." since
2845 we now are doing so.
2846
28471998-12-30 Jesse Thilo <jthilo@gnu.org>
2848
2849 * configure.in:
2850 Use prototypes if the compiler understands them.
2851
2852 * NEWS: Document 1.26 highlights.
2853
2854 * Makefile.am: Require Automake 1.3 or later.
2855
2856 * acconfig.h:
2857 Use prototypes if the compiler understands them.
2858
28591998-12-29 Jesse Thilo <jthilo@gnu.org>
2860
2861 * src/version.c:
2862 Use VERSION symbol from automake for version number.
2863
28641998-12-29 Jesse Thilo <jthilo@gnu.org>
2865
2866 * acconfig.h, configure.in, version.cin:
2867 Use VERSION symbol from automake for version number.
2868
28691998-11-28 Jesse Thilo <jthilo@gnu.org>
2870
2871 * Makefile.am:
2872 Distribute original version of simple parser (bison.s1), not built
2873 version (bison.simple).
2874
28751998-11-28 Jesse Thilo <jthilo@gnu.org>
2876
2877 * doc/bison.texinfo: Add info dir entry.
2878
2879 * doc/bison.texinfo:
2880 Let automake put version number into documentation.
2881
28821998-11-26 Jesse Thilo <jthilo@gnu.org>
2883
2884 * src/bison.cld, src/build.com, src/vmshlp.mar:
2885 Add non-RCS files from /gd/gnu/bison.
2886
28871998-11-26 Jesse Thilo <jthilo@gnu.org>
2888
2889 * doc/bison.1:
2890 Document the BISON_HAIRY and BISON_SIMPLE variables.
2891
28921998-11-25 Jesse Thilo <jthilo@gnu.org>
2893
2894 * src/version.c: Build version.c automatically.
2895
2896 * src/reader.c:
2897 Fix token numbering (used to start at 258, not 257).
2898
2899 * src/system.h: Include config.h.
2900
2901 * src/getargs.c: Update bug report address.
2902
2903 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2904 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2905
29061998-11-25 Jesse Thilo <jthilo@gnu.org>
2907
2908 * Makefile.am:
2909 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2910
2911 * configure.in, version.cin:
2912 Build version.c automatically.
2913
2914 * AUTHORS: Add AUTHORS file.
2915
2916 * README: Update bug report address.
2917
2918 * bison.simple:
2919 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2920
2921 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2922 Add automake stuff.
2923
29241998-11-25 Jesse Thilo <jthilo@gnu.org>
2925
2926 * doc/bison.texinfo: Clean up some formatting.
2927
29281998-05-05 Richard Stallman <rms@gnu.org>
2929
2930 * doc/bison.texinfo:
2931 Explain better why to make a pure parser.
2932
29331998-01-05 Richard Stallman <rms@gnu.org>
2934
2935 * src/files.c (openfiles):
2936 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2937 find a temporary directory, if possible. Do not unlink files while
2938 they are open.
2939
29401997-08-25 Richard Stallman <rms@gnu.org>
2941
2942 * src/reader.c (stack_offset;):
2943 Change some warni to warns.
2944
2945 * src/lex.c (literalchar): Use warns, not warni.
2946
29471997-06-28 Richard Stallman <rms@gnu.org>
2948
2949 * src/bison.s1: Add a Bison version comment.
2950
2951 * src/main.c (fatal, warn, berror):
2952 Use program_name.
2953
29541997-06-28 Richard Stallman <rms@gnu.org>
2955
2956 * Makefile.in (bison_version): New variable.
2957 (dist): Use that variable.
2958 (bison.s1): Substitute the Bison version into bison.simple.
2959
2960 * bison.simple: Add a Bison version comment.
2961
29621997-06-18 Richard Stallman <rms@gnu.org>
2963
2964 * src/main.c (fatal, warn, berror):
2965 Make error messages standard.
2966 (toomany): Improve error message text.
2967
2968 * 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:
2969 new.h renamed to alloc.h.
2970
29711997-06-18 Richard Stallman <rms@gnu.org>
2972
2973 * Makefile.in: new.h renamed to alloc.h.
2974
29751997-05-24 Richard Stallman <rms@gnu.org>
2976
2977 * src/lex.c (literalchar):
2978 Fix the code for escaping \, " and '.
2979
2980 (lex): Avoid trouble when there are many chars
2981 to discard in a char literal with just several chars in it.
2982
29831997-05-17 Richard Stallman <rms@gnu.org>
2984
2985 * src/bison.s1:
2986 Use malloc, if using alloca is troublesome.
2987 (YYSTACK_USE_ALLOCA): New flag macro.
2988 Define it for some systems and compilers.
2989 (YYSTACK_ALLOC): New macro.
2990 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2991 If it was malloc'd, free it.
2992
29931997-05-17 Richard Stallman <rms@gnu.org>
2994
2995 * bison.simple:
2996 Use malloc, if using alloca is troublesome.
2997 (YYSTACK_USE_ALLOCA): New flag macro.
2998 Define it for some systems and compilers.
2999 (YYSTACK_ALLOC): New macro.
3000 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3001 If it was malloc'd, free it.
3002
30031997-04-23 Richard Stallman <rms@gnu.org>
3004
3005 * src/bison.s1:
3006 (alloca) [__hpux]: Always define as __builtin_alloca.
3007
30081997-04-23 Richard Stallman <rms@gnu.org>
3009
3010 * bison.simple:
3011 (alloca) [__hpux]: Always define as __builtin_alloca.
3012
30131997-04-22 Richard Stallman <rms@gnu.org>
3014
3015 * src/bison.s1:
3016 [__hpux]: Include alloca.h (right for HPUX 10)
3017 instead of declaring alloca (right for HPUX 9).
3018
3019 * src/bison.s1 (__yy_memcpy):
3020 Declare arg `count' as unsigned int.
3021 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3022
30231997-04-22 Richard Stallman <rms@gnu.org>
3024
3025 * bison.simple:
3026 [__hpux]: Include alloca.h (right for HPUX 10)
3027 instead of declaring alloca (right for HPUX 9).
3028
3029 * bison.simple (__yy_memcpy):
3030 Declare arg `count' as unsigned int.
3031 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3032
30331997-01-03 Richard Stallman <rms@gnu.org>
3034
3035 * src/allocate.c: [__STDC__ or _MSC_VER]:
3036 Declare calloc and realloc to return void *.
3037
30381997-01-02 Richard Stallman <rms@gnu.org>
3039
3040 * src/system.h:
3041 [_MSC_VER]: Include stdlib.h and process.h.
3042 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3043
3044 * src/main.c (main): Return FAILURE as a value.
3045 (printable_version): Declare arg as int, not char.
3046
30471997-01-02 Richard Stallman <rms@gnu.org>
3048
3049 * Makefile.in (dist):
3050 Explicitly check for symlinks, and copy them.
3051
30521996-12-19 Richard Stallman <rms@gnu.org>
3053
3054 * src/files.c:
3055 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3056
30571996-12-18 Paul Eggert <eggert@gnu.org>
3058
3059 * src/bison.s1 (yyparse):
3060 If __GNUC__ and YYPARSE_PARAM are both defined,
3061 declare yyparse to have a void * argument.
3062
30631996-12-18 Paul Eggert <eggert@gnu.org>
3064
3065 * bison.simple (yyparse):
3066 If __GNUC__ and YYPARSE_PARAM are both defined,
3067 declare yyparse to have a void * argument.
3068
30691996-12-17 Richard Stallman <rms@gnu.org>
3070
3071 * src/reduce.c (nbits): Add some casts.
3072
30731996-08-12 Richard Stallman <rms@gnu.org>
3074
3075 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3076
30771996-08-12 Richard Stallman <rms@gnu.org>
3078
3079 * bison.simple: Test _MSDOS as well as _MSDOS_.
3080
30811996-07-31 Richard Stallman <rms@gnu.org>
3082
3083 * src/bison.s1:
3084 [__sun && __i386]: Include alloca.h.
3085
30861996-07-31 Richard Stallman <rms@gnu.org>
3087
3088 * bison.simple:
3089 [__sun && __i386]: Include alloca.h.
3090
30911996-07-30 Richard Stallman <rms@gnu.org>
3092
3093 * src/bison.s1: Comment change.
3094
3095 * src/bison.s1: Test _MSDOS_, not MSDOS.
3096
30971996-07-30 Richard Stallman <rms@gnu.org>
3098
3099 * bison.simple: Comment change.
3100
3101 * bison.simple: Test _MSDOS_, not MSDOS.
3102
31031996-06-01 Richard Stallman <rms@gnu.org>
3104
3105 * 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:
3106 Insert `_' macro around many string constants.
3107
3108 * src/main.c:
3109 Insert `_' macro around many string constants.
3110
3111 (main): Call setlocale, bindtextdomain and textdomain.
3112
3113 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3114 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3115 [ENABLE_NLS]: Include libintl.h.
3116 [ENABLE_NLS] (gettext): Define.
3117 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3118 (N_, PACKAGE, LOCALEDIR): New macros.
3119
31201996-06-01 Richard Stallman <rms@gnu.org>
3121
3122 * POTFILES.in: New file.
3123
3124 * Makefile.in (allocate.o):
3125 Define target explicitly.
3126
3127 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3128 (LDFLAGS): Set to @LDFLAGS@.
3129 (configure): Run autoconf only if preceding `cd' succeeds.
3130 (bison.s1): Redirect output to temporary file then move the
3131 temporary to the target, rather than redirecting directly to bison.s1.
3132 (clean): Remove config.status and config.log.
3133 (distclean): Don't remove config.status here.
3134
31351996-05-12 Richard Stallman <rms@gnu.org>
3136
3137 * src/bison.s1:
3138 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3139
31401996-05-12 Richard Stallman <rms@gnu.org>
3141
3142 * bison.simple:
3143 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3144
31451996-05-11 Richard Stallman <rms@gnu.org>
3146
3147 * src/bison.s1 (__yy_memcpy):
3148 Really reorder the args, as was supposedly done on Feb 14 1995.
3149 (yyparse): Calls changed accordingly.
3150
31511996-05-11 Richard Stallman <rms@gnu.org>
3152
3153 * Makefile.in (dist): Don't use $(srcdir).
3154
3155 * bison.simple (__yy_memcpy):
3156 Really reorder the args, as was supposedly done on Feb 14 1995.
3157 (yyparse): Calls changed accordingly.
3158
31591996-01-27 Richard Stallman <rms@gnu.org>
3160
3161 * src/output.c (output_rule_data):
3162 Test YYERROR_VERBOSE in the conditional
3163 around the definition of ttyname.
3164
31651995-12-29 Richard Stallman <rms@gnu.org>
3166
3167 * src/bison.s1:
3168 Fix line numbers in #line commands.
3169
31701995-12-29 Richard Stallman <rms@gnu.org>
3171
3172 * bison.simple:
3173 Fix line numbers in #line commands.
3174
31751995-12-27 Richard Stallman <rms@gnu.org>
3176
3177 * src/bison.s1 (YYPARSE_PARAM_DECL):
3178 In C++, make it always null.
3179 (YYPARSE_PARAM_ARG): New macro.
3180 (yyparse): Use YYPARSE_PARAM_ARG.
3181
31821995-12-27 Richard Stallman <rms@gnu.org>
3183
3184 * bison.simple (YYPARSE_PARAM_DECL):
3185 In C++, make it always null.
3186 (YYPARSE_PARAM_ARG): New macro.
3187 (yyparse): Use YYPARSE_PARAM_ARG.
3188
31891995-11-29 Richard Stallman <rms@gnu.org>
3190
3191 * doc/bison.texinfo:
3192 Describe literal string tokens, %raw, %no_lines, %token_table.
3193
31941995-11-29 Daniel Hagerty <hag@gnu.org>
3195
3196 * doc/bison.texinfo: Fixed update date
3197
31981995-10-16 Richard Stallman <rms@gnu.org>
3199
3200 * src/version.c: Version 1.25.
3201
32021995-10-16 Richard Stallman <rms@gnu.org>
3203
3204 * NEWS: *** empty log message ***
3205
32061995-10-16 Richard Stallman <rms@gnu.org>
3207
3208 * doc/bison.1, doc/bison.rnh:
3209 Add new options.
3210
32111995-10-15 Richard Stallman <rms@gnu.org>
3212
3213 * src/vmsgetargs.c, src/getargs.c:
3214 Added -n, -k, and -raw switches.
3215 (noparserflag, toknumflag, rawtoknumflag): New variables.
3216
3217 * src/symtab.h (SALIAS):
3218 New #define for adding aliases to %token.
3219 (struct bucket): Added `alias' field.
3220
3221 * src/reduce.c (reduce_grammar):
3222 Revise error message.
3223 (print_notices): Remove final `.' from error message.
3224
3225 * src/reader.c (reader_output_yylsp):
3226 New function.
3227 (readgram): Use `#if 0' around code that accepted %command
3228 inside grammar rules: The documentation doesn't allow it,
3229 and it will fail since the %command processors scan for the next %.
3230 (parse_token_decl): Extended the %token
3231 declaration to allow a multi-character symbol as an alias.
3232 (parse_thong_decl): New function.
3233 (read_declarations): Added %thong declarations.
3234 (read_declarations): Handle NOOP to deal with allowing
3235 % declarations as another means to specify the flags.
3236 (readgram): Allow %prec prior to semantics embedded in a rule.
3237 (skip_to_char, read_declarations, copy_definition)
3238 (parse_token_decl, parse_start_decl, parse_type_decl)
3239 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3240 (get_type_name, copy_guard, copy_action, readgram)
3241 (get_type, packsymbols): Revised most error messages.
3242 Changed `fatal' to `warnxxx' to avoid aborting for error.
3243 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3244 (read_declarations): Improve the error message for
3245 an invalid character. Do not abort.
3246 (read_declarations, copy_guard, copy_action): Use
3247 printable_version to avoid unprintable characters in printed output.
3248 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3249 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3250 Allow the type of a non-terminal can be given
3251 more than once, as long as all specifications give the same type.
3252
3253 * src/output.c:
3254 (output_headers, output_trailers, output, output_gram)
3255 (output_rule_data): Implement noparserflag variable.
3256 Implement toknumflag variable.
3257 (output): Call reader_output_yylsp to output LTYPESTR.
3258
3259 * src/main.c (main):
3260 If reader sees an error, don't process the grammar.
3261 (fatals): Updated to not use VARARGS1.
3262 (printable_version, int_to_string, warn, warni, warns, warnss)
3263 (warnsss): New error reporting functions. Avoid abort for error.
3264
3265 * src/lex.h:
3266 Added THONG and NOOP for alias processing.
3267 Added SETOPT for the new code that allows setting options with %flags.
3268
3269 * src/lex.c:
3270 Include getopt.h. Add some extern decls.
3271 (safegetc): New function to deal with EOF gracefully.
3272 (literalchar); new function to deal with reading \ escapes.
3273 (lex): Use literalchar.
3274 (lex): Implemented "..." tokens.
3275 (literalchar, lex, parse_percent_token): Made tokenbuffer
3276 always contain the token. This includes growing the token
3277 buffer while reading an integer.
3278 (parse_percent_token): Replaced if-else statement with percent_table.
3279 (parse_percent_token): Added % declarations as another
3280 way to specify the flags -n, -l, and -r. Also added hooks for
3281 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3282 major changes to files.c.
3283 (lex) Retain in the incoming stream a character following
3284 an incorrect '/'.
3285 (skip_white_space, lex): Revised most error messages
3286 and changed fatal to warn to avoid aborting.
3287 (percent_table): Added %thong declarations.
3288
3289 * src/gram.h: Comment changes.
3290
3291 * src/files.c (openfiles, open_extra_files, done):
3292 Add faction flag
3293 and actfile file. Handle noparserflag. Both for -n switch.
3294
3295 * src/conflicts.c (resolve_sr_conflict):
3296 Remove use of alloca.
3297
32981995-06-01 Jim Meyering <meyering@gnu.org>
3299
3300 * doc/bison.texinfo: *** empty log message ***
3301
33021995-05-06 Richard Stallman <rms@gnu.org>
3303
3304 * src/bison.s1: Comment change.
3305
33061995-05-06 Richard Stallman <rms@gnu.org>
3307
3308 * bison.simple: Comment change.
3309
33101995-05-03 Richard Stallman <rms@gnu.org>
3311
3312 * src/version.c: Version now 1.24.
3313
3314 * src/bison.s1: Change distribution terms.
3315
3316 * src/version.c: Version now 1.23.
3317
33181995-05-03 Richard Stallman <rms@gnu.org>
3319
3320 * doc/bison.texinfo:
3321 Rewrite "Conditions for Using Bison".
3322 Update version to 1.24.
3323
33241995-05-03 Richard Stallman <rms@gnu.org>
3325
3326 * bison.simple: Change distribution terms.
3327
33281995-02-23 Richard Stallman <rms@gnu.org>
3329
3330 * src/files.c: Test __VMS_POSIX as well as VMS.
3331
33321995-02-14 Jim Meyering <meyering@gnu.org>
3333
3334 * src/bison.s1 (__yy_memcpy):
3335 Renamed from __yy_bcopy to avoid
3336 confusion. Reverse FROM and TO arguments to be consistent with
3337 those of memcpy.
3338
33391995-02-14 Jim Meyering <meyering@gnu.org>
3340
3341 * bison.simple (__yy_memcpy):
3342 Renamed from __yy_bcopy to avoid
3343 confusion. Reverse FROM and TO arguments to be consistent with
3344 those of memcpy.
3345
33461994-11-10 David J. MacKenzie <djm@gnu.org>
3347
3348 * NEWS: reformat
3349
3350 * NEWS: New file.
3351
3352 * Makefile.in (DISTFILES): Include NEWS.
3353
3354 * Makefile.in (DISTFILES):
3355 Include install-sh, not install.sh.
3356
3357 * configure.in: Update to Autoconf v2 macro names.
3358
33591994-10-05 David J. MacKenzie <djm@gnu.org>
3360
3361 * Makefile.in: fix typo
3362
3363 * Makefile.in (prefix, exec_prefix):
3364 Let configure set them.
3365
33661994-09-28 David J. MacKenzie <djm@gnu.org>
3367
3368 * Makefile.in: Set datadir to $(prefix)/share.
3369
33701994-09-15 Richard Stallman <rms@gnu.org>
3371
3372 * src/bison.s1:
3373 Update copyright notice and GPL version.
3374
33751994-09-15 Richard Stallman <rms@gnu.org>
3376
3377 * bison.simple:
3378 Update copyright notice and GPL version.
3379
33801994-07-12 Richard Stallman <rms@gnu.org>
3381
3382 * src/reduce.c, src/reader.c:
3383 entered into RCS
3384
33851994-05-05 David J. MacKenzie <djm@gnu.org>
3386
3387 * Makefile.in: entered into RCS
3388
33891994-03-26 Richard Stallman <rms@gnu.org>
3390
3391 * src/bison.s1: entered into RCS
3392
33931994-03-26 Richard Stallman <rms@gnu.org>
3394
3395 * bison.simple: entered into RCS
3396
33971994-03-25 Richard Stallman <rms@gnu.org>
3398
3399 * src/main.c: entered into RCS
3400
34011994-03-24 Richard Stallman <rms@gnu.org>
3402
3403 * src/conflicts.c: entered into RCS
3404
34051994-01-02 Richard Stallman <rms@gnu.org>
3406
3407 * Makefile.in: *** empty log message ***
3408
34091993-11-21 Richard Stallman <rms@gnu.org>
3410
3411 * src/bison.s1: *** empty log message ***
3412
34131993-11-21 Richard Stallman <rms@gnu.org>
3414
3415 * doc/bison.texinfo: entered into RCS
3416
3417 * doc/bison.texinfo: *** empty log message ***
3418
34191993-11-21 Richard Stallman <rms@gnu.org>
3420
3421 * bison.simple: *** empty log message ***
3422
34231993-10-25 David J. MacKenzie <djm@gnu.org>
3424
3425 * doc/bison.texinfo: *** empty log message ***
3426
34271993-10-19 Richard Stallman <rms@gnu.org>
3428
3429 * src/bison.s1: *** empty log message ***
3430
34311993-10-19 Richard Stallman <rms@gnu.org>
3432
3433 * bison.simple: *** empty log message ***
3434
34351993-10-14 Richard Stallman <rms@gnu.org>
3436
3437 * src/bison.s1: *** empty log message ***
3438
34391993-10-14 Richard Stallman <rms@gnu.org>
3440
3441 * bison.simple: *** empty log message ***
3442
34431993-09-14 David J. MacKenzie <djm@gnu.org>
3444
3445 * doc/bison.texinfo: *** empty log message ***
3446
34471993-09-13 Noah Friedman <friedman@gnu.org>
3448
3449 * Makefile.in: *** empty log message ***
3450
34511993-09-10 Richard Stallman <rms@gnu.org>
3452
3453 * src/conflicts.c: *** empty log message ***
3454
3455 * src/system.h: entered into RCS
3456
34571993-09-10 Richard Stallman <rms@gnu.org>
3458
3459 * doc/bison.1: entered into RCS
3460
34611993-09-06 Noah Friedman <friedman@gnu.org>
3462
3463 * src/version.c: entered into RCS
3464
34651993-09-06 Noah Friedman <friedman@gnu.org>
3466
3467 * Makefile.in: *** empty log message ***
3468
34691993-07-30 David J. MacKenzie <djm@gnu.org>
3470
3471 * Makefile.in: *** empty log message ***
3472
34731993-07-24 Richard Stallman <rms@gnu.org>
3474
3475 * src/bison.s1: *** empty log message ***
3476
34771993-07-24 Richard Stallman <rms@gnu.org>
3478
3479 * bison.simple: *** empty log message ***
3480
34811993-07-08 David J. MacKenzie <djm@gnu.org>
3482
3483 * Makefile.in: *** empty log message ***
3484
34851993-07-04 Richard Stallman <rms@gnu.org>
3486
3487 * src/bison.s1: *** empty log message ***
3488
34891993-07-04 Richard Stallman <rms@gnu.org>
3490
3491 * bison.simple: *** empty log message ***
3492
34931993-06-26 David J. MacKenzie <djm@gnu.org>
3494
3495 * src/getargs.c: entered into RCS
3496
34971993-06-26 David J. MacKenzie <djm@gnu.org>
3498
3499 * doc/bison.texinfo: *** empty log message ***
3500
3501 * doc/bison.1: New file.
3502
35031993-06-25 Richard Stallman <rms@gnu.org>
3504
3505 * src/getargs.c: New file.
3506
35071993-06-16 Richard Stallman <rms@gnu.org>
3508
3509 * src/bison.s1: *** empty log message ***
3510
35111993-06-16 Richard Stallman <rms@gnu.org>
3512
3513 * bison.simple: *** empty log message ***
3514
35151993-06-03 Richard Stallman <rms@gnu.org>
3516
3517 * src/bison.s1: New file.
3518
35191993-06-03 Richard Stallman <rms@gnu.org>
3520
3521 * doc/bison.texinfo: *** empty log message ***
3522
35231993-06-03 Richard Stallman <rms@gnu.org>
3524
3525 * bison.simple: New file.
3526
35271993-05-19 Richard Stallman <rms@gnu.org>
3528
3529 * doc/bison.texinfo: New file.
3530
35311993-05-07 Noah Friedman <friedman@gnu.org>
3532
3533 * Makefile.in: *** empty log message ***
3534
35351993-04-28 Noah Friedman <friedman@gnu.org>
3536
3537 * src/reader.c: *** empty log message ***
3538
35391993-04-23 Noah Friedman <friedman@gnu.org>
3540
3541 * src/alloc.h: entered into RCS
3542
35431993-04-20 David J. MacKenzie <djm@gnu.org>
3544
3545 * src/version.c: *** empty log message ***
3546
3547 * src/files.c, src/allocate.c:
3548 entered into RCS
3549
3550 * src/reader.c: *** empty log message ***
3551
3552 * src/lex.c: entered into RCS
3553
3554 * src/conflicts.c: New file.
3555
3556 * src/symtab.c: entered into RCS
3557
3558 * src/alloc.h: New file.
3559
3560 * src/LR0.c: entered into RCS
3561
35621993-04-18 Noah Friedman <friedman@gnu.org>
3563
3564 * src/reader.c: New file.
3565
3566 * src/version.c: *** empty log message ***
3567
35681993-04-18 Noah Friedman <friedman@gnu.org>
3569
3570 * Makefile.in: *** empty log message ***
3571
35721993-04-17 Noah Friedman <friedman@gnu.org>
3573
3574 * Makefile.in: *** empty log message ***
3575
35761993-04-15 Richard Stallman <rms@gnu.org>
3577
3578 * src/main.c, src/files.c:
3579 New file.
3580
35811993-04-15 Noah Friedman <friedman@gnu.org>
3582
3583 * configure.in: entered into RCS
3584
3585 * configure.in: *** empty log message ***
3586
3587 * configure.in: New file.
3588
35891993-04-14 Richard Stallman <rms@gnu.org>
3590
3591 * Makefile.in: New file.
3592
35931993-04-13 Richard Stallman <rms@gnu.org>
3594
3595 * src/version.c: New file.
3596
35971993-03-25 Richard Stallman <rms@gnu.org>
3598
3599 * src/output.c: entered into RCS
3600
36011992-09-25 Richard Stallman <rms@gnu.org>
3602
3603 * configure.bat: entered into RCS
3604
36051992-06-22 Richard Stallman <rms@gnu.org>
3606
3607 * src/vmsgetargs.c: entered into RCS
3608
36091992-06-22 Richard Stallman <rms@gnu.org>
3610
3611 * doc/bison.rnh: entered into RCS
3612
36131992-04-20 David J. MacKenzie <djm@gnu.org>
3614
3615 * README: entered into RCS
3616
36171992-01-22 Richard Stallman <rms@gnu.org>
3618
3619 * src/machine.h: entered into RCS
3620
36211991-12-21 Richard Stallman <rms@gnu.org>
3622
3623 * src/lalr.c, src/closure.c:
3624 entered into RCS
3625
36261991-12-20 Richard Stallman <rms@gnu.org>
3627
3628 * src/state.h: entered into RCS
3629
36301991-12-18 Richard Stallman <rms@gnu.org>
3631
3632 * src/print.c, src/nullable.c, src/derives.c:
3633 entered into RCS
3634
36351991-11-03 David J. MacKenzie <djm@gnu.org>
3636
3637 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3638 entered into RCS
3639
36401988-09-09 Richard Stallman <rms@gnu.org>
3641
3642 * src/bison.hairy: entered into RCS
3643
36441987-12-16 Richard Stallman <rms@gnu.org>
3645
3646 * REFERENCES: entered into RCS