]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/bison.simple: Remove YYERROR_VERBOSE using.
[bison.git] / ChangeLog
CommitLineData
eeeb962b
MA
12001-11-26 Marc Autret <autret_m@epita.fr>
2
3 * src/bison.simple: Remove YYERROR_VERBOSE using.
4 Use %%error_verbose.
5 (yyparse): Likewise.
6 * src/output.c (prepare): Give its final value.
7 * src/muscle_tab.c (muscle_init): Init new muscle 'error_verbose'.
8 * src/getargs.h: Add its extern declaration.
9 * src/getargs.c (error_verbose_flag): New int.
10 (getargs): Update to catch new case.
11 * src/options.c (option_table): 'error-verbose' is a new option.
12 (shortopts): Update.
13
e0327bc8
AD
142001-11-27 Akim Demaille <akim@epita.fr>
15
16 * src/system.h: Use intl/libgettext.h.
17 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
18
000f1a3c
AD
192001-11-27 Akim Demaille <akim@epita.fr>
20
21 * tests/torture.at (Exploding the Stack Size with Malloc):
22 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
23
26cfe0be
AD
242001-11-27 Akim Demaille <akim@epita.fr>
25
26 * src/files.c: Include error.h.
27 Reported by Hans Aberg.
28
f6bd5427
MA
292001-11-26 Marc Autret <autret_m@epita.fr>
30
31 * src/reader.c (parse_include_decl): New, Not yet implemented.
32 (read_declarations): Add case tok_include.
33 * src/getargs.h (include): Add its extern definition.
34 * src/getargs.c (include): New const char *.
35 (getargs): Add case '-I'.
36 * src/options.c (option_table): Add include as command line and
37 percent option.
38 * src/lex.h (token_t): Add tok_include.
39
2ca209c1
AD
402001-11-26 Akim Demaille <akim@epita.fr>
41
42 * src/reader.c (readgram): Make sure rules for mid-rule actions
43 have a lineno equal to that of their host rule.
44 Reported by Hans Aberg.
45 * tests/regression.at (Rule Line Numbers): New.
46
0e41b407
AD
472001-11-26 Akim Demaille <akim@epita.fr>
48
49 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
50 size_ts.
51
522001-11-26 Akim Demaille <akim@epita.fr>
53
54 * src/complain.c, src/complain.h (error): Remove, provided by
55 lib/error.[ch].
56
e0c40012
AD
572001-11-26 Akim Demaille <akim@epita.fr>
58
59 * src/reader.c (read_declarations): Don't abort on tok_illegal,
60 issue an error message.
61 * tests/regression.at (Invalid %directive): New.
62 Reported by Hans Aberg.
63
5e147124
AD
642001-11-26 Akim Demaille <akim@epita.fr>
65
66 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
67 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
68
a034c8b8
AD
692001-11-26 Akim Demaille <akim@epita.fr>
70
71 * src/conflicts.c (conflicts_print): Don't complain at all when
72 there are no reduce/reduce conflicts, and as many shift/reduce
73 conflicts as expected.
74 * tests/regression.at (%expect right): Adjust.
75
c64a20f3
AD
762001-11-23 Akim Demaille <akim@epita.fr>
77
78 * lib/alloca.c: Update, from fileutils.
79
5b0d29bb
AD
802001-11-23 Akim Demaille <akim@epita.fr>
81
82 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
83
722c4bfe
AD
842001-11-23 Akim Demaille <akim@epita.fr>
85
86 * src/system.h: Include alloca.h.
87 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
88
6255b435
AD
892001-11-23 Akim Demaille <akim@epita.fr>
90
91 * src/print_graph.c (print_actions): Remove `rule', unused.
92 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
93 pacify GCC's signed < unsigned warnings.
94 * src/closure.c (itemsetsize): Likewise.
95 * src/reader.c (symbol_list_new): Static.
96
b29b2ed5
AD
972001-11-23 Akim Demaille <akim@epita.fr>
98
99 Attaching lineno to buckets is stupid, since only one copy of each
100 symbol is kept, only the line of the first occurrence is kept too.
101
102 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
103 * src/reader.c (rline_allocated): Remove, unused.
104 (symbol_list): Have a `line' member.
105 (symbol_list_new): New.
106 (readgram): Use it.
107 * src/print.c (print_grammar): Output the rule line numbers.
108 * tests/regression.at (Solved SR Conflicts)
109 (Unresolved SR Conflicts): Adjust.
110 Reported by Hans Aberg.
111
a81b1d4a
MA
1122001-11-22 Marc Autret <autret_m@epita.fr>
113
114 * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0.
115
c1ecb3c1
MA
1162001-11-22 Marc Autret <autret_m@epita.fr>
117
118 * src/muscle_tab.c (muscle_init): Remove initialization of
119 skeleton muscle.
120 * src/output.c (output_master_parser): Do it here.
121
fbe01355
AD
1222001-11-20 Akim Demaille <akim@epita.fr>
123
124 * po/sv.po: New.
125 * configure.in (ALL_LINGUAS): Adjust.
126 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
127 longer contains strings to translate.
128
81e895c0
AD
1292001-11-19 Akim Demaille <akim@epita.fr>
130
131 * src/conflicts.c (conflicts_print): Add a missing \n.
132
6bb1878b
AD
1332001-11-19 Akim Demaille <akim@epita.fr>
134
135 * src/nullable.c (nullable_print): New.
136 (set_nullable): Call it when tracing.
137 Better locality of variables.
138
d9ec2d07
AD
1392001-11-19 Akim Demaille <akim@epita.fr>
140
141 * src/print.c (print_actions): Better locality of variables.
142
720e5c1b
AD
1432001-11-19 Akim Demaille <akim@epita.fr>
144
145 * src/derives.c (print_derives): Fix and enrich.
146 * src/closure.c (print_fderives): Likewise.
147
fb908786
AD
1482001-11-19 Akim Demaille <akim@epita.fr>
149
150 * src/closure.c (itemsetend): Remove, replaced with...
151 (itemsetsize): new.
152
125ecb56
AD
1532001-11-19 Akim Demaille <akim@epita.fr>
154
155 * src/LR0.c (kernel_end): Remove, replaced with...
156 (kernel_size): new.
157
d8cf039f
AD
1582001-11-19 Akim Demaille <akim@epita.fr>
159
160 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
161 to clarify.
162
7bec0760
AD
1632001-11-19 Akim Demaille <akim@epita.fr>
164
165 * src/closure.c (closure): Use arrays instead of pointers to clarify.
166
c87d4863
AD
1672001-11-19 Akim Demaille <akim@epita.fr>
168
169 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
170 trace messages.
171 * src/LR0.c: Likewise.
172 (allocate_itemsets): Use arrays instead of pointers to clarify.
173
9bfe901c
AD
1742001-11-19 Akim Demaille <akim@epita.fr>
175
176 * src/getargs.c (statistics_flag): Replace with...
177 (trace_flag): New.
178 (longopts): Accept --trace instead of --statistics.
179 * src/getargs.h, src/options.c: Adjust.
180 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
181 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
182
97db7bd4
AD
1832001-11-19 Akim Demaille <akim@epita.fr>
184
cc72668c 185 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
97db7bd4
AD
186 pointers to clarify the code.
187 (save_reductions, save_shifts): Factor common parts of alternatives.
188
2c5f66ed
AD
1892001-11-19 Akim Demaille <akim@epita.fr>
190
191 * src/LR0.c (new_state, get_state): Complete TRACE code.
192 * src/closure.c: Include `reader.h' to get `tags', needed by the
193 trace code.
194 Rename the conditional DEBUG as TRACE.
195 Output consistently TRACEs to stderr, not stdout.
196 * src/derives.c: Likewise.
197 * src/reduce.c: (inaccessable_symbols): Using if is better style
198 than goto.
199 Use `#if TRACE' instead of `#if 0' for tracing code.
200
300f275f
AD
2012001-11-19 Akim Demaille <akim@epita.fr>
202
203 * src/system.h (LIST_FREE, shortcpy): New.
204 * src/LR0.c: Use them.
205 * src/output.c (free_itemsets, free_reductions, free_shifts):
206 Remove, replaced by LIST_FREE.
207
f59c437a
AD
2082001-11-19 Akim Demaille <akim@epita.fr>
209
210 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
211 (REDUCTIONS_ALLOC): New.
212 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
213 allocation.
214
6986fd9e
AD
2152001-11-19 Akim Demaille <akim@epita.fr>
216
217 * src/LR0.c (new_state): Complete trace code.
218 * src/nullable.c (set_nullable): Don't translate traces.
219
4bc30f78
AD
2202001-11-19 Akim Demaille <akim@epita.fr>
221
222 * src/print_graph.c (print_core): Better locality of variables.
223 * src/print.c (print_core): Likewise.
224
08a946e0
AD
2252001-11-19 Akim Demaille <akim@epita.fr>
226
227 * src/vcg.c: You do the output, so you are responsible of the
228 handling of VCG syntax, in particular: use quotearg.
229 * src/print_graph.c: Don't.
230 (print_actions): Don't output the actions as part of the nodes,
231 since that's the job of the edges.
232 (print_state): Don't output by hand: fill the node description,
9bfe901c 233 and ask for its output.
08a946e0 234
f0473484
AD
2352001-11-19 Akim Demaille <akim@epita.fr>
236
cc72668c
AD
237 * src/bison.simple (yyparse): When verbosely reporting an error,
238 no longer put additional quotes around token names.
f0473484
AD
239 * tests/calc.at: Adjust.
240
e41dc700
AD
2412001-11-19 Akim Demaille <akim@epita.fr>
242
243 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
244 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
245 * src/output.c: Adjust.
246
652a871c
AD
2472001-11-19 Akim Demaille <akim@epita.fr>
248
249 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
250 (rule_t): this.
251 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
252
b2ed6e58
AD
2532001-11-19 Akim Demaille <akim@epita.fr>
254
255 * src/gram.h (rule_t): New.
256 (rule_table): New.
257 (rrhs, rlhs): Remove, part of state_t.
258 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
259 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
260 * src/reader.c, src/reduce.c: Adjust.
261
edad7067
AD
2622001-11-19 Akim Demaille <akim@epita.fr>
263
264 * src/reader.c (symbols_output): New, extracted from...
265 (packsymbols): Here.
266 (reader): Call it.
267
3feec034
AD
2682001-11-19 Akim Demaille <akim@epita.fr>
269
270 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
271 (maxrhs): this new function.
272
ddcd5fdf
AD
2732001-11-19 Akim Demaille <akim@epita.fr>
274
cc72668c 275 * src/lalr.c (F): New macro to access the variable F.
ddcd5fdf
AD
276 Adjust.
277
bb527fc2
AD
2782001-11-19 Akim Demaille <akim@epita.fr>
279
cc72668c 280 * src/lalr.h (LA): New macro to access the variable LA.
bb527fc2
AD
281 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
282 * src/lalr.c: Adjust.
283
a845a697
AD
2842001-11-19 Akim Demaille <akim@epita.fr>
285
286 * src/lalr.c (initialize_LA): Only initialize LA. Let...
287 (set_state_table): handle the `lookaheads' members.
288
f004bf6a
AD
2892001-11-19 Akim Demaille <akim@epita.fr>
290
cc72668c
AD
291 * src/lalr.h (lookaheads): Removed array, whose contents is now
292 a member of...
f004bf6a
AD
293 (state_t): this structure.
294 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
295 Adjust.
296
de326cc0
AD
2972001-11-19 Akim Demaille <akim@epita.fr>
298
cc72668c
AD
299 * src/lalr.h (consistent): Removed array, whose contents is now
300 a member of...
de326cc0
AD
301 (state_t): this structure.
302 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
303 Adjust.
304
90b4416b
AD
3052001-11-19 Akim Demaille <akim@epita.fr>
306
cc72668c
AD
307 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
308 contents are now members of...
90b4416b
AD
309 (state_t): this structure.
310 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
311 Adjust.
312
9703cc49
AD
3132001-11-19 Akim Demaille <akim@epita.fr>
314
315 * src/lalr.h (state_t): New.
316 (state_table): Be a state_t * instead of a core **.
317 (accessing_symbol): Remove, part of state_t.
318 * src/lalr.c: Adjust.
319 (set_accessing_symbol): Merge into...
320 (set_state_table): this.
321 * src/print_graph.c, src/conflicts.c: Adjust.
322
d803322e
AD
3232001-11-14 Akim Demaille <akim@epita.fr>
324
325 * tests/calc.at, tests/output.at, tests/regression.at,
326 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
327 now the tests are run in private dirs, therefore AC_CLEANUP and
328 family can be simplified to 0-ary.
329 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
330 use abs. path to find config.h.
331 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
332 stderr, there can be way too much random noise.
333 Instead pass -Werror to GCC and rely on the exit status.
334 Reported by Wolfram Wagner.
335
3d76b07d
AD
3362001-11-14 Akim Demaille <akim@epita.fr>
337
338 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
339 defined only if yyoverflow is defined, to avoid `warning: unused
340 variable `yyvs1''.
341 Reported by The Test Suite.
342
09b503c8
AD
3432001-11-14 Akim Demaille <akim@epita.fr>
344
345 * src/print.c: Include reduce.h.
346 Reported by Hans Aberg.
347
3482001-11-14 Akim Demaille <akim@epita.fr>
349
350 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
351 Revert a previous patch: these are really const.
352 * src/conflicts.c (conflict_report): Additional useless pair of
353 braces to pacify GCC's warnings for `if () if () {} else {}'.
354 * src/lex.c (parse_percent_token): Replace equal_offset with
355 arg_offset.
356 arg is const.
357 Be sure to strdup `arg' when used, since there is no reason for
358 token_buffer not to change.
359
0f37a994
AD
3602001-11-14 Akim Demaille <akim@epita.fr>
361
362 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
363 definition.
364 * src/main.c (main): Use them.
365 Suggested by Hans Aberg.
366
d39d93b8
AD
3672001-11-12 Akim Demaille <akim@epita.fr>
368
369 * src/system.h (ngettext): Now that we use ngettext, be sure to
370 provide a default definition when NLS are not used.
371
9edcd895
AD
3722001-11-12 Akim Demaille <akim@epita.fr>
373
374 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
375 Use @kbd to denote user input.
376 (Language and Grammar): ANSIfy the example.
377 Adjust its layout for info/notinfo.
378 (Location Tracking Calc): Output error messages to stderr.
379 Output locations in a more GNUtically correct way.
380 Fix a couple of Englishos.
381 Adjust @group/@end group pairs.
382
7da99ede
AD
3832001-11-12 Akim Demaille <akim@epita.fr>
384
385 %expext was not functioning at all.
386
387 * src/conflicts.c (expected_conflicts): Set to -1.
388 (conflict_report): Use ngettext.
389 (conflicts_print): Check %expect and make its violation an error.
390 * doc/bison.texinfo (Expect Decl): Adjust.
391 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
392 * tests/regression.at (%expect not enough, %expect right)
393 (%expect too much): New.
394
ba9dda1a
AD
3952001-11-12 Akim Demaille <akim@epita.fr>
396
397 * tests/regression.at (Conflicts): Rename as...
398 (Unresolved SR Conflicts): this.
399 (Solved SR Conflicts): New.
400
337c5bd1
AD
4012001-11-12 Akim Demaille <akim@epita.fr>
402
403 * src/reduce.c (print_results): Rename as...
404 (reduce_output): This.
405 Output to OUT, passed as argument, instead of output_obstack.
406 (dump_grammar): Likewise.
407 (reduce_free): New.
408 Also free V1.
409 (reduce_grammar): No longer call reduce_output, since...
410 * src/print.c (print_results): do it.
411 * src/main.c (main): Call reduce_free;
412
c73a41af
AD
4132001-11-12 Akim Demaille <akim@epita.fr>
414
415 * src/conflicts.c (print_reductions): Accept OUT as argument.
416 Output to it, not to output_obstack.
417 * src/print.c (print_actions): Adjust.
418
0df87bb6
AD
4192001-11-12 Akim Demaille <akim@epita.fr>
420
421 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
422 the result instead of using...
423 (src_total, rrc_total, src_count, rrc_count): Remove.
424 (any_conflicts): Remove.
425 (print_conflicts): Split into...
426 (conflicts_print, conflicts_output): New.
427 * src/conflicts.h: Adjust.
428 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 429 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
430 * tests/regression.at (Conflicts): New.
431 Reported by Tom Lane.
432
e4d3d4de
AD
4332001-11-12 Akim Demaille <akim@epita.fr>
434
435 * tests/regression.at (Invalid input): Remove, duplicate with
436 ``Invalid input: 1''.
437
6d7d248e
AD
4382001-11-12 Akim Demaille <akim@epita.fr>
439
440 * tests/torture.at (AT_DATA_STACK_TORTURE)
441 (Exploding the Stack Size with Alloca)
442 (Exploding the Stack Size with Malloc): New.
443
e9e4c321
AD
4442001-11-12 Akim Demaille <akim@epita.fr>
445
446 * src/bison.simple (YYSTACK_REALLOC): New.
447 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 448 Reported by Per Allansson.
e9e4c321 449
5f7e0832
AD
4502001-11-12 Pascal Bart <pascal.bart@epita.fr>
451
452 * src/bison.simple: Define type yystype instead of YYSTYPE, and
453 define CPP macro, which substitute YYSTYPE by yystype.
454 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
455 with yyltype/YYLTYPE. This allows inclusion of the generated
456 header within the parser if the compiler, such as GGC, accepts
457 multiple equivalent #defines.
458 From Akim.
459
e3f1699f
AD
4602001-11-05 Akim Demaille <akim@epita.fr>
461
462 * src/reader.c (symbols_output): New, extracted from...
463 (packsymbols): here.
464 (reader): Adjust.
465
65be0866
AD
4662001-11-05 Akim Demaille <akim@epita.fr>
467
468 * src/lex.c (parse_percent_token): s/quotearg/quote/.
469
e4d910bf
AD
4702001-11-05 Akim Demaille <akim@epita.fr>
471
472 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
473 pattern.
474
951366c1
AD
4752001-11-05 Akim Demaille <akim@epita.fr>
476
477 * src/options.h (struct option_table_struct): set_flags is void*.
478 * src/options.c (longopts): Support `--output' and `%output'.
479 (usage): Adjust.
480 * src/lex.h (tok_setopt): Remove, replaced with...
481 (tok_intopt, tok_stropt): these new guys.
482 * src/lex.c (getopt.h): Not needed.
483 (token_buffer, unlexed_token_buffer): Not const.
484 (percent_table): Promote `-' over `_' in directive names.
485 Active `%name-prefix', `file-prefix', and `output'.
486 (parse_percent_token): Accept possible arguments to directives.
487 Promote `-' over `_' in directive names.
488
d8988b2f
AD
4892001-11-04 Akim Demaille <akim@epita.fr>
490
491 * doc/bison.texinfo (Decl Summary): Split the list into
492 `directives for grammars' and `directives for bison'.
493 Sort'em.
494 Add description of `%name-prefix', `file-prefix', and `output'.
495 Promote `-' over `_' in directive names.
496 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
497 Simplify the description of `--name-prefix'.
498 Promote `-' over `_' in directive names.
499 Promote `--output' over `--output-file'.
500 Fix the description of `--defines'.
501 * tests/output.at: Exercise %file-prefix and %output.
502
6468d18e
AD
5032001-11-02 Akim Demaille <akim@epita.fr>
504
505 * doc/refcard.tex: Update.
506
6b7e85b9
AD
5072001-11-02 Akim Demaille <akim@epita.fr>
508
509 * src/symtab.h (SUNDEF): New.
510 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
511 stand for `uninitialized', instead of 0.
512 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
513 * src/lex.c (lex): Adjust.
514
515 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
516 Number it 0.
517 Let yylex return it instead of a plain 0.
518 Reported by Dick Streefland.
519
cd5aafcf
AD
5202001-11-02 Akim Demaille <akim@epita.fr>
521
522 * tests/regression.at (Mixing %token styles): New test.
523
037ca2f1
AD
5242001-11-02 Akim Demaille <akim@epita.fr>
525
526 * src/reader.c (parse_thong_decl): Formatting changes.
527 (token_translations_init): New, extracted from...
528 (packsymbols): Here.
529 Adjust.
530
270a173c
AD
5312001-11-01 Akim Demaille <akim@epita.fr>
532
533 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
534 Check that `9foo.y' produces correct cpp guards.
535 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
536 guards.
537 Reported by Wwp.
538
561f9a30
AD
5392001-11-01 Akim Demaille <akim@epita.fr>
540
541 * tests/regression.at (Invalid input: 2): New.
542 * src/lex.c (unlexed_token_buffer): New.
543 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
544 too.
545 Reported by Wwp.
546
f987e9d2
AD
5472001-11-01 Akim Demaille <akim@epita.fr>
548
549 * tests/calc.at: Catch up with 1.30.
550 * configure.in: Bump to 1.49a.
551 Adjust to newer Autotest.
552
0846f581
PB
5532001-10-19 Pascal Bart <pascal.bart@epita.fr>
554
555 * src/conflicts.c: Move global variables rrc_total and src_total ...
556 (print_conflicts): here.
557 * src/output.c (output): Free global variable user_toknums.
558 * src/lex.c (token_obstack): Become static.
559
3c1a79b3
AD
5602001-10-18 Akim Demaille <akim@epita.fr>
561
562 * tests/atlocal.in (GCC): Add.
563 * tests/calc.at: s/m4_match/m4_bmatch/.
564 s/m4_patsubst/m4_bpatsubst/.
565 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
566 * configure.in: AC_SUBST(GCC).
567
5d52e7d0
MA
5682001-10-14 Marc Autret <autret_m@epita.fr>
569
570 * src/options.c (create_long_option_table): Fix.
571
631aa1d3
AD
5722001-10-10 Akim Demaille <akim@epita.fr>
573
574 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
575
f6ec6d13
AD
5762001-10-04 Akim Demaille <akim@epita.fr>
577
578 * src/reader.c (parse_union_decl): Push the caracters in
579 union_obstack, not attrs_obstack.
580
342b8b6e
AD
5812001-10-04 Akim Demaille <akim@epita.fr>
582
583 Merge in the branch 1.29.
584
585 * src/reader.c (packsymbols): Use a temporary obstack for
586 `%%tokendef', since output_stack is already used elsewhere.
587
588 2001-10-02 Akim Demaille <akim@epita.fr>
589
590 Bump 1.29d.
591
592 2001-10-02 Akim Demaille <akim@epita.fr>
593
594 Version 1.29c.
595
596 2001-10-02 Akim Demaille <akim@epita.fr>
597
598 * tests/regression.at (Invalid CPP headers): New.
599 From Alexander Belopolsky.
600 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
601
602 2001-10-02 Akim Demaille <akim@epita.fr>
603
604 * tests/regression.at (Invalid input): New.
605 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
606 Reported by Shura.
607
608 2001-10-02 Akim Demaille <akim@epita.fr>
609
610 * tests/calc.at: Now that --debug works, the tests must be adjusted.
611
612 2001-10-02 Akim Demaille <akim@epita.fr>
613
614 * src/output.c (output_parser): Assert `skeleton'.
615 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
616 systems.
617 From Shura.
618
619 2001-10-01 Marc Autret <autret_m@epita.fr>
620
621 * src/lex.h: Echo modifications.
622 * src/lex.c (unlex): Parameter is now token_t.
623 From Hans Aberg.
624
625 2001-10-01 Marc Autret <autret_m@epita.fr>
626
627 * src/main.c: Include lex.h.
628 From Hans Aberg.
629
630 2001-09-29 Akim Demaille <akim@epita.fr>
631
632 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
633
634 2001-09-28 Akim Demaille <akim@epita.fr>
635
636 * tests/testsuite.at: Update to newer Autotest.
637 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
638
639 2001-09-27 Akim Demaille <akim@epita.fr>
640
641 Position independent wrapper.
642
643 * tests/bison: Remove.
644 * tests/bison.in: New.
645 * configure.in: Adjust.
646
647 2001-09-27 Paul Eggert <eggert@twinsun.com>
648
649 Port quotearg fixes from tar 1.13.24.
650
651 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
652 tm to be declared.
653 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
654 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
655
656 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
657 * m4/mbrtowc.m4: New file.
658 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
659 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
660
661 2001-09-27 Akim Demaille <akim@epita.fr>
662
663 Bump to 1.29c.
664
665 2001-09-27 Akim Demaille <akim@epita.fr>
666
667 Version 1.29b.
668
669 2001-09-25 Akim Demaille <akim@epita.fr>
670
671 * src/system.h: Include `xalloc.h'.
672 Remove it from the C files.
673 * src/files.c (output_files): Free the obstacks.
674 * src/lex.c (init_lex): Rename as...
675 (lex_init): this.
676 (lex_free): New.
677 * src/main.c (main): Use it.
678
679 2001-09-24 Marc Autret <autret_m@epita.fr>
680
681 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
682 to output informations in fout (FILE*).
683 (open_graph, close_graph): Likewise.
684 (output_graph, output_edge, output_node): Likewise.
685 * src/vcg.h: Update function prototypes.
686 * src/print_graph.c (print_graph): Open output graph file.
687 (print_actions): Adjust.
688 * src/files.h: Remove extern declaration.
689 * src/files.c: Remove graph_obstack declaration.
690 (open_files): Remove graph_obstack initialization.
691 (output_files): Remove graph_obstack saving.
692
693 2001-09-24 Marc Autret <autret_m@epita.fr>
694
695 * src/files.c (compute_output_file_names): Fix.
696
697 2001-09-24 Marc Autret <autret_m@epita.fr>,
698 Akim Demaille <akim@epita.fr>
699
700 * src/reader.c (reader): Remove call to free_symtab ().
701 * src/main.c (main): Call it here.
702 Include symtab.h.
703 * src/conflicts.c (initialize_conflicts): Rename as...
704 (solve_conflicts): this.
705 * src/print.c (print_core, print_actions, print_state)
706 (print_grammar): Dump to a file instead a `output_obstack'.
707 (print_results): Dump `output_obstack', and then proceed with the
708 FILE *.
709 * src/files.c (compute_output_file_names, close_files): New.
710 (output_files): Adjust.
711 * src/main.c (main): Adjust.
712
713 2001-09-23 Marc Autret <autret_m@epita.fr>
714
715 * src/files.c (compute_header_macro): Computes header macro name
716 from spec_defines_file when given.
717
718 2001-09-23 Marc Autret <autret_m@epita.fr>
719
720 * src/files.c (output_files): Add default extensions.
721
722 2001-09-22 Akim Demaille <akim@epita.fr>
723
724 * src/conflicts.c (finalize_conflicts): Rename as...
725 (free_conflicts): this.
726
727 2001-09-22 Akim Demaille <akim@epita.fr>
728
729 * src/gram.c (gram_free): Rename back as...
730 (dummy): this.
731 (output_token_translations): Free `token_translations'.
732 * src/symtab.c (free_symtab): Free the tag field.
733
734 2001-09-22 Akim Demaille <akim@epita.fr>
735
736 Remove `translations' as it is always set to true.
737
738 * src/gram.h: Adjust.
739 * src/reader.c (packsymbols, parse_token_decl): Adjust
740 * src/print.c (print_grammar): Adjust.
741 * src/output.c (output_token_translations): Adjust.
742 * src/lex.c (lex): Adjust.
743 * src/gram.c: Be sure the set pointers to NULL.
744 (dummy): Rename as...
745 (gram_free): this.
746
747 2001-09-22 Akim Demaille <akim@epita.fr>
748
749 * configure.in: Invoke AM_LIB_DMALLOC.
750 * src/system.h: Use dmalloc.
751 * src/LR0.c: Be sure to have pointers initialized to NULL.
752 (allocate_itemsets): Allocate kernel_items only if needed.
753
754 2001-09-22 Akim Demaille <akim@epita.fr>
755
756 * configure.in: Bump to 1.29b.
757 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
758 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
759 need xmalloc.c in calc.y.
760 From Pascal Bart.
761
762 2001-09-21 Akim Demaille <akim@epita.fr>
763
764 Version 1.29a.
765 * Makefile.maint, config/config.guess, config/config.sub,
766 * config/missing: Update from masters.
767 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
768 upon package.m4.
769 * configure.in (ALL_LINGUAS): Add `tr'.
770
771 2001-09-21 Akim Demaille <akim@epita.fr>
772
773 * tests/Makefile.am (package.m4): Move to...
774 ($(srcdir)/$(TESTSUITE)): here.
775
776 2001-09-20 Akim Demaille <akim@epita.fr>
777
778 * src/complain.c: No longer try to be standalone: use system.h.
779 Don't assume __STDC__ is defined to 1. Just test if it is defined.
780 * src/complain.h: Likewise.
781 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
782 Remove the unused variable `n'.
783 From Albert Chin-A-Young.
784
785 2001-09-18 Marc Autret <autret_m@epita.fr>
786
787 * doc/bison.1: Update.
788 * doc/bison.texinfo (Bison Options): Update --defines and --graph
789 descriptions.
790 (Option Cross Key): Update.
791 Add --graph.
792
793 2001-09-18 Marc Autret <autret_m@epita.fr>
794
795 * tests/regression.at: New test (comment in %union).
796
797 2001-09-18 Marc Autret <autret_m@epita.fr>
798
799 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
800 do that.
801 Reported by Keith Browne.
802
803 2001-09-18 Marc Autret <autret_m@epita.fr>
804
805 * tests/output.at: Add tests for --defines and --graph.
806
807 2001-09-18 Marc Autret <autret_m@epita.fr>
808
809 * tests/output.at: Removes tests of %{header,src}_extension features.
810
811 2001-09-18 Akim Demaille <akim@epita.fr>
812
813 * tests/Makefile.am (package.m4): New.
814 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
815 (_AT_CHECK_CALC_ERROR): Likewise.
816 Factor the `, ' part of verbose error messages.
817
818 2001-09-18 Marc Autret <autret_m@epita.fr>
819
820 * src/getargs.c (longopts): Declare --defines and --graph as options
821 with optional arguments.
822 * src/files.h: Add extern declarations.
823 * src/files.c (spec_graph_file, spec_defines_file): New.
824 (output_files): Update.
825 Remove CPP-outed code.
826
827 2001-09-18 Marc Autret <autret_m@epita.fr>
828
829 Turn off %{source,header}_extension feature.
830
831 * src/files.c (compute_exts_from_gf): Update.
832 (compute_exts_from_src): Update.
833 (output_files): CPP-out useless code.
834 * src/files.h: Remove {header,source}_extension extern declarations.
835 * src/reader.c (parse_dquoted_param): CPP-out.
836 (parse_header_extension_decl): Remove.
837 (parse_source_extension_decl): Remove.
838 (read_declarations): Remove cases tok_{hdrext,srcext}.
839 * src/lex.c (percent_table): Remove {header,source}_extension entries.
840 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
841
842 2001-09-10 Akim Demaille <akim@epita.fr>
843
844 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
845 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
846 (AT_CHECK_OUTPUT): this.
847 Merely check ls' exit status, its output is useless.
848
849 2001-09-10 Akim Demaille <akim@epita.fr>
850
851 * tests/calc.at: Use m4_match.
852 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
853
854 2001-09-10 Marc Autret <autret_m@epita.fr>,
855 Akim Demaille <akim@epita.fr>
856
857 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
858 enum color_e.
859 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
860 to `normal'.
861 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
862 * src/lex.h: Adjust prototype.
863 (token_t): Add `tok_undef'.
864 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
865 (parse_percent_token): Now returns token_t.
866 Add default statement in switch.
867 (lex): Separate `c' as an input variable, from the token_t result
868 part.
869 (unlexed): Is a token_t.
870
871 2001-09-10 Akim Demaille <akim@epita.fr>
872
873 * configure.in: Bump to 1.29a.
874
875 2001-09-07 Akim Demaille <akim@epita.fr>
876
877 Version 1.29.
878
879 2001-08-30 Akim Demaille <akim@epita.fr>
880
881 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
882 * m4/atconfig.m4: Remove.
883 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
884 * tests/bison: New.
885 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
886 m4_if, m4_patsubst, and m4_regexp.
887 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
888 `input' file instead of echo.
889
890 2001-08-29 Akim Demaille <akim@epita.fr>
891
892 Bump to 1.28e.
893
894 2001-08-29 Akim Demaille <akim@epita.fr>
895
896 Version 1.28d.
897
898 2001-08-29 Paul Eggert <eggert@twinsun.com>
899
900 * src/bison.simple (yyparse): Don't take the address of an
901 item before the start of an array, as that doesn't conform to
902 the C Standard.
903
904 2001-08-29 Robert Anisko <anisko_r@epita.fr>
905
906 * doc/bison.texinfo (Location Tracking Calc): New node.
907
908 2001-08-29 Paul Eggert <eggert@twinsun.com>
909
910 * src/output.c (output): Do not define const, as this now
911 causes more problems than it cures.
912
913 2001-08-29 Akim Demaille <akim@epita.fr>
914
915 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
916 the nodes.
917 Be sure to tag the `detailmenu'.
918
919 2001-08-29 Akim Demaille <akim@epita.fr>
920
921 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
922 download in a tmp dir.
923
924 2001-08-28 Marc Autret <autret_m@epita.fr>
925
926 * config/depcomp: New file.
927
928 2001-08-28 Marc Autret <autret_m@epita.fr>
929
930 * doc/bison.1 (mandoc): Adjust.
931 From Juan Manuel Guerrero.
932
933 2001-08-28 Marc Autret <autret_m@epita.fr>
934
935 * src/print_graph.c (print_state): Fix.
936
937 2001-08-27 Marc Autret <autret_m@epita.fr>
938
939 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
940 char * members.
941 Echo modifications to the functions prototypes.
942 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
943
944 2001-08-27 Marc Autret <autret_m@epita.fr>
945
946 * src/vcg.c: Include `xalloc.h'.
947 (add_colorentry): New.
948 (add_classname): New.
949 (add_infoname): New.
950 * src/vcg.h: Add new prototypes.
951
952 2001-08-27 Akim Demaille <akim@epita.fr>
953
954 * Makefile.maint: Sync. again with CVS Autoconf.
955
956 2001-08-27 Akim Demaille <akim@epita.fr>
957
958 * Makefile.maint: Formatting changes.
959 (po-update, cvs-update, update): New targets.
960 (AMTAR): Remove.
961
962 2001-08-27 Akim Demaille <akim@epita.fr>
963
964 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
965 * Makefile.maint: Sync. with CVS Autoconf.
966
967 2001-08-27 Marc Autret <autret_m@epita.fr>
968
969 * src/vcg.h (struct infoname_s): New.
970 (struct colorentry_s): New.
971 (graph_s): New fields {vertical,horizontal}_order in structure.
972 Add `infoname' field.
973 Add `colorentry' field;
974 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
975 (G_HORIZONTAL_ORDER): New.
976 (G_INFONAME): New.
977 (G_COLORENTRY): New.
978 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
979 Add output of `infoname'.
980 Add output of `colorentry'.
981
982 2001-08-27 Marc Autret <autret_m@epita.fr>
983
984 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
985 This one shadowed a global parameter.
986
987 2001-08-24 Marc Autret <autret_m@epita.fr>
988
989 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
990 instead of `unsigned'.
991 (print_state): Do not call obstack_object_size () in obstack_grow ()
992 to avoid macro variables shadowing.
993
994 2001-08-23 Marc Autret <autret_m@epita.fr>
995
996 * src/lex.c (percent_table): Typo: s/naem/name/.
997 Add graph option.
998 Normalize new options declarations.
999
1000 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1001
1002 * tests/suite.at: Exercise %header_extension and %source_extension.
1003
1004 2001-08-16 Marc Autret <autret_m@epita.fr>
1005
1006 * src/reader.c (parse_dquoted_param): New.
1007 (parse_header_extension_decl): Use it.
1008 (parse_source_extension_decl): Likewise.
1009
1010 2001-08-16 Marc Autret <autret_m@epita.fr>
1011
1012 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1013 (get_xxxx_str): Use assert () instead of complain ().
1014 Remove return invokations in default cases.
1015 (get_decision_str): Modify default behaviour. Remove second argument.
1016 Echo modifications on calls.
1017 (output_graph): Fix.
1018
1019 2001-08-16 Marc Autret <autret_m@epita.fr>
1020
1021 * src/getargs.c (usage): Update with ``-g, --graph''.
1022
1023 2001-08-16 Marc Autret <autret_m@epita.fr>
1024
1025 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1026 (Option Cross Key): Likewise.
1027 * doc/bison.1: Update.
1028
1c8c2190
PB
10292001-09-25 Pascal Bart <pascal.bart@epita.fr>
1030
1031 * src/output.c (output_master_parser): Don't finish action_obstack.
1032 (output_parser): Don't care about the muscle action, here.
1033 (prepare): Copy the action_obstack in the action muscle.
1034 (output): Free action_obstack.
1035
180d45ba
PB
10362001-09-23 Pascal Bart <pascal.bart@epita.fr>
1037
1038 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
1039 will contain `%union' declaration.
1040 (parse_union_decl): Delete #line directive output.
1041 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
1042 informations about %union.
1043 (parse_union_decl): Copy the union_obstack in the muscle stype.
1044 * src/bison.simple: Add new #line directive.
1045 Add typdef %%stype YYSTYPE.
1046
c51d1a19
PB
10472001-09-23 Pascal Bart <pascal.bart@epita.fr>
1048
1049 * src/bison.simple: Add new `#line' directive.
1050
6f9344da
PB
10512001-09-22 Pascal Bart <pascal.bart@epita.fr>
1052
1053 * src/bison.simple: New `#line' directive.
1054 * src/output.c (output_parser): Support new dynamic muscle input_line.
1055
652def80
MA
10562001-09-22 Marc Autret <autret_m@epita.fr>
1057
1058 * src/output.c (output_master_parser): New.
1059 (output_parser): Be more re-entrant.
1060
25b222fa
MA
10612001-09-21 Marc Autret <autret_m@epita.fr>
1062
1063 * src/reader.c (copy_definition, parse_union_decl): Update and use
1064 `linef' muscle.
1065 (copy_action): Likewise.
1066 Use obstack_1grow ().
1067 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
1068
6bc35ae5
MA
10692001-09-21 Marc Autret <autret_m@epita.fr>
1070
1071 * src/options.c (option_table): Adjust.
1072 * src/lex.c (parse_percent_token): Fix.
1073
c0629aa1
PB
10742001-09-20 Pascal Bart <pascal.bart@epita.fr>
1075
1076 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 1077
82b6d266
PB
10782001-09-20 Pascal Bart <pascal.bart@epita.fr>
1079
1080 * src/lex.c (parse_percent_token): Change type of variable `tx', which
1081 is now an option_table_struct*.
1082 (option_strcmp): New function option_strcmp.
1083 (parse_percent_token): Call option_strcmp.
1084 * src/getargs.c (xalloc.h, options.h): Include it.
1085 (getargs): Call create_long_option_table.
1086 (getargs): Free longopts at the end of the function.
1087 (shortopts): Move in options.c.
1088 * src/options.c (create_long_option_table): New function. Convert
1089 information from option_table to option structure.
1090 * src/reader.c (options.h): Include it.
1091
1092 * src/Makefile.am: Adjust.
1093 * src/options.c (option_table): Create from longopts and percent_table.
1094 * src/getargs.c (longopts): Delete.
1095 * src/lex.c (struct percent_table_struct): Delete.
1096 (percent_table): Delete.
1097 (options.h): Include it.
1098 * src/options.c: Create.
1099 * src/options.h: Create.
1100 Declare enum opt_access_e.
1101 Define struct option_table_struct.
1102
75f5aaea
MA
11032001-09-20 Marc Autret <autret_m@epita.fr>
1104
1105 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
1106 sections of Bison.
1107
f508cb0a
PB
11082001-09-19 Pascal Bart <pascal.bart@epita.fr>
1109
1110 * src/bison.simple: s/%%filename/%%skeleton.
1111 * src/muscle_tab.c (getargs.h): Include it.
1112 (muscle_init): Insert new muscle skeleton.
1113
13105fc1
PB
11142001-09-18 Pascal Bart <pascal.bart@epita.fr>
1115
1116 * src/output.c (output_parser): Delete unused variable actions_dumped.
1117
b0c4483e
PB
11182001-09-07 Pascal Bart <pascal.bart@epita.fr>
1119
1120 * src/output.c (output): Delete call to reader_output_yylsp.
1121 * src/reader.c (reader): Likewise.
1122 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 1123
11d82f03
MA
11242001-09-02 Marc Autret <autret_m@epita.fr>
1125
1126 * src/reader.c: Include muscle_tab.h.
1127 (parse_union_decl): Update.
1128 (parse_macro_decl): Rename parse_muscle_decl.
1129 Update to use renamed functions and variable.
1130 (read_declarations, copy_action, read_additionnal_code, : Updated
1131 with correct variables and functions names.
1132 (packsymbols, reader): Likewise.
342b8b6e 1133
11d82f03 1134 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 1135
11d82f03
MA
1136 * src/output.c: Include muscle_tab.h
1137 In all functions using macro_insert, change by using muscle_insert ().
1138 (macro_obstack): Rename muscle_obstack.
1139 Echo modifications in the whole file.
1140 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1141 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1142 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1143
1144 * src/muscle_tab.h: Update double inclusion macros.
1145 (macro_entry_s): Rename muscle_entry_s.
1146 Update prototypes.
342b8b6e 1147
11d82f03
MA
1148 * src/muscle_tab.c: Include muscle_tab.h.
1149 Rename macro_tabble to muscle_table.
1150 (mhash1, mhash2, mcmp): Use muscle_entry.
1151 (macro_init): Rename muscle_init. Update.
1152 (macro_insert): Rename muscle_insert. Update.
1153 (macro_find): Rename muscle_find. Update.
1154
1155 * src/main.c: Include muscle_tab.h.
1156 (main): Call muscle_init ().
1157 * src/Makefile.am (bison_SOURCES): Echo modifications.
1158
93a37297
MA
11592001-09-02 Marc Autret <autret_m@epita.fr>
1160
f753cd62 1161 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 1162
f753cd62
MA
1163 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1164
11652001-09-02 Marc Autret <autret_m@epita.fr>
1166
1167 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1168
682d48cd
PB
11692001-09-01 Pascal Bart <pascal.bart@epita.fr>
1170
342b8b6e 1171 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1172 filename.
1173
087c8fda
MA
11742001-09-01 Marc Autret <autret_m@epita.fr>
1175
1176 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1177 to an explicit value to activate the feature. We do it here.
1178
dda680cb
PB
11792001-08-31 Pascal Bart <pascal.bart@epita.fr>
1180
1181 * src/output.c (prepare): Delete the `filename' muscule insertion.
1182 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1183 (parse_union_decl): Likewise.
1184 * src/macrotab.c (macro_init): Initialize filename by infile.
1185
9e644e64
MA
11862001-08-31 Marc Autret <autret_m@epita.fr>
1187
1188 * src/bison.simple (YYLSP_NEEDED): New definition.
1189 * src/output.c (prepare): Add macro insertion of `locations_flag'
1190
17da6427
PB
11912001-08-31 Pascal Bart <pascal.bart@epita.fr>
1192
1193 * src/output.c (prepare): Delete insertion of previous muscles,
1194 and insert the `prefix' muscles.
1195 * src/macrotab.c (macro_init): Likewise.
1196 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1197 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1198 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1199 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1200 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1201 name_prefix.
1202
e8cb70b9
PB
12032001-08-31 Pascal Bart <pascal.bart@epita.fr>
1204
1205 * src/main.c (main): Standardize.
1206 * src/output.c (output_table_data, output_parser): Likewise.
1207 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1208
63c2d5de
MA
12092001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1210
342b8b6e 1211 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1212 %%epilogue.
1213 * src/output.c (output): Rename %%declarations to %%prologue.
1214 * src/bison.simple: Echo modifications.
342b8b6e 1215
d8cb5183
MA
12162001-08-31 Marc Autret <autret_m@epita.fr>
1217
1218 * src/reader.c (readgram): CleanUp.
1219 (output_token_defines): Likewise.
1220 (packsymbols): Likewise.
1221 (reader): Likewise.
1222 * src/output.c (output): CPP-out useless code.
1223
6c686258
PB
12242001-08-31 Pascal Bart <pascal.bart@epita.fr>
1225
342b8b6e 1226 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1227 output_trailers and output_headers.
1228 * src/output.h: Remove obsolete functions prototypes of output_headers
1229 and output_trailers.
1230
8f451ef7
PB
12312001-08-30 Pascal Bart <pascal.bart@epita.fr>
1232
1233 * src/main.c: Include macrotab.h.
342b8b6e 1234 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1235 Adjust functions prototypes.
1236 * src/macrotab.c (macro_insert): Constify key and value.
1237 (macro_find): Constify key.
1238 (macro_insert): Include 'xalloc.h'
1239 (macro_insert): Use XMALLOC.
1240 (macro_find): Constify return value.
1241 * src/output.c (output_table_data): Rename table to table_data.
1242 (output_parser): Constify macro_key, macro_value.
1243
997b6fd0 12442001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1245
1246 * src/reader.c (parse_skel_decl): New.
342b8b6e 1247 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1248 * src/lex.h (token_t): New token `tok_skel'.
1249 * src/lex.c (percent_table): Add skeleton option entry.
1250 Standardize.
1251
ff48177d
MA
12522001-08-29 Marc Autret <autret_m@epita.fr>
1253
1254 * src/bison.simple: Add %%user_code directive at the end.
1255 * src/reader.c (read_additionnal_code): New.
1256 (reader): Use it.
1257 * src/output.c (output_program): Remove.
1258 (output): Update.
1259
b33160bf
MA
12602001-08-28 Marc Autret <autret_m@epita.fr>
1261
1262 * src/output.c (output_actions): Clean up.
4e5caae2 1263 (output_gram): CPP-out useless code.
b33160bf
MA
1264 * src/reader.c (reader): Clean up, CPP-out useless code.
1265
d1a2daf7
PB
12662001-08-28 Pascal Bart <pascal.bart@epita.fr>
1267
342b8b6e 1268 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1269 directive.
d1a2daf7
PB
1270 * src/bison.simple: Add `%%definitions'.
1271
2b763dfe
MA
12722001-08-28 Marc Autret <autret_m@epita.fr>
1273
1274 * config/depcomp: New file.
1275
f1a87ef6
PE
12762001-08-27 Paul Eggert <eggert@twinsun.com>
1277
1278 * src/bison.simple (yyparse): Don't take the address of an
1279 item before the start of an array, as that doesn't conform to
1280 the C Standard.
1281
82e236e2
RA
12822001-08-27 Robert Anisko <robert.anisko@epita.fr>
1283
f1a87ef6 1284 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1285 obstack. It was done too late here.
1286
1287 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1288 completely wrong.
1289 (reader): Initialize the macro obstack here, since we need it to grow
1290 '%define' directives.
1291
1292 * src/reader.h: Declare the macro obstack as extern.
1293
b0cfa28a
RA
12942001-08-27 Robert Anisko <robert.anisko@epita.fr>
1295
1296 * src/output.c (output_parser): Fix. Store single '%' characters in
1297 the output obstack instead of throwing them away.
1298
6fc74234
AD
12992001-08-27 Akim Demaille <akim@epita.fr>
1300
1301 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1302
9c76d118
RA
13032001-08-25 Robert Anisko <robert.anisko@epita.fr>
1304
1305 * lib/Makefile.am: Adjust.
1306
a8289c62
RA
13072001-08-25 Robert Anisko <robert.anisko@epita.fr>
1308
1309 * src/bison.simple: Update and add '%%' directives.
1310
b6610515
RA
13112001-08-25 Robert Anisko <robert.anisko@epita.fr>
1312
1313 * src/reader.c (reader): Remove calls to 'output_headers' and
1314 'output_trailers'. Remove some C output.
1315 (readgram): Disable a piece of code that was writing a default
1316 definition for 'YYSTYPE'.
1317 (reader_output_yylsp): Remove.
1318 (packsymbols): Output token defintions to a macro.
1319 (copy_definition): Disable C output.
6fc74234 1320
b6610515
RA
1321 * src/reader.c (parse_macro_decl): New function used to parse macro
1322 declarations.
1323 (copy_string2): Put the body of copy_string into this new function.
1324 Add a parameter to let the caller choose whether he wants to copy the
1325 string delimiters or not.
1326 (copy_string): Be a simple call to copy_string2 with the last argument
1327 bound to true.
1328 (read_declarations): Add case for macro definition.
1329 (copy_identifier): New.
6fc74234 1330 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1331 rather than lex.
1332
26f609ff
RA
13332001-08-25 Robert Anisko <robert.anisko@epita.fr>
1334
1335 * src/output.c (prepare): Add prefixed names.
1336 (output_parser): Output semantic actions.
1337 (output_parser): Fix bug on '%%line' directives.
6fc74234 1338
26f609ff
RA
1339 * src/output.c (output_headers): Remove. The C code printed by this
1340 function should now be in the skeletons.
1341 (output_trailers): Remove.
1342 (output): Disable call to 'reader_output_yylsp'.
1343 (output_rule_data): Do not output tables to the table obstack.
1344
1345 * src/output.c: Remove some C dedicated output.
1346 Improve the use of macro and output obstacks.
1347 (output_defines): Remove.
6fc74234 1348
26f609ff
RA
1349 * src/output.c (output_token_translations): Associate 'translate'
1350 table with a macro. No output to the table obstack.
1351 (output_gram): Same for 'rhs' and 'prhs'.
1352 (output_stos): Same for 'stos'.
1353 (output_rule_data): Same for 'r1' and 'r2'.
1354 (token_actions): Same for 'defact'.
1355 (goto_actions): Same for 'defgoto'.
1356 (output_base): Same for 'pact' and 'pgoto'.
1357 (output_table): Same for 'table'.
1358 (output_check): Same for 'check'.
6fc74234 1359
26f609ff
RA
1360 * src/output.c (output_table_data): New function.
1361 (output_short_table): Remove.
1362 (output_short_or_char_table): Remove.
6fc74234 1363
26f609ff
RA
1364 * src/output.c (output_parser): Replace most of the skeleton copy code
1365 with something new. Skeletons are now processed character by character
1366 rather than line by line, and Bison looks for '%%' macros. This is the
1367 first step in making Bison's output process (a lot) more flexible.
1368 (output_parser): Use the macro table.
1369
6f43b113
RA
13702001-08-25 Robert Anisko <robert.anisko@epita.fr>
1371
1372 * src/main.c (main): Initialize the macro table.
1373
dd3127cf
RA
13742001-08-25 Robert Anisko <robert.anisko@epita.fr>
1375
1376 * src/lex.c (percent_table): Add tok_define.
1377 * src/lex.h: Add tok_define.
1378
aa321494
RA
13792001-08-25 Robert Anisko <robert.anisko@epita.fr>
1380
1381 * src/macrotab.c: New file.
1382 * src/macrotab.h: New file.
1383 * src/Makefile.am: Update.
1384
68bd3b6b
RA
13852001-08-25 Robert Anisko <robert.anisko@epita.fr>
1386
1387 * lib/hash.c: New file.
1388 * lib/hash.h: New file.
1389 * lib/Makefile.am: Update.
1390
45f8dd1e
AD
13912001-08-15 Akim Demaille <akim@epita.fr>
1392
1393 Version 1.28c.
1394
40a64a7a 13952001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1396
1397 * src/reader.c (readgram): Indent output macro YYSTYPE.
1398 (packsymbols): Likewise.
1399 (output_token_defines): Likewise.
1400 * src/files.c: Standardize.
1401 (compute_header_macro): New.
1402 (defines_obstack_save): New. Use compute_header_macro.
1403 (output_files): Update. Use defines_obstack_save.
1404
f9a8293a
AD
14052001-08-15 Akim Demaille <akim@epita.fr>
1406
1407 * doc/bison.texinfo (Table of Symbols): Document
1408 YYSTACK_USE_ALLOCA.
1409
150ca7a7
AD
14102001-08-15 Akim Demaille <akim@epita.fr>
1411
1412 * missing: Update from CVS Automake.
1413 * config/config.guess, config/config.sub, config/texinfo.tex:
1414 Update from gnu.org.
1415
69b5cec4
AD
14162001-08-15 Akim Demaille <akim@epita.fr>
1417
1418 * Makefile.maint: Sync with CVS Autoconf.
1419
f2b5126e
PB
14202001-08-14 Pascal Bart <pascal.bart@epita.fr>
1421
69b5cec4 1422 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1423 `fdl.texi'.
1424 * doc/fdl.texi: Add to package.
1425
4ecbf796
MA
14262001-08-14 Marc Autret <autret_m@epita.fr>
1427
1428 Turn on %{source,header}_extension features.
1429
69b5cec4 1430 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1431 source_extension.
1432 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1433 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1434 between options.
1435
95fb5662
MA
14362001-08-14 Marc Autret <autret_m@epita.fr>
1437
1438 * src/files.c (compute_base_names): Add extensions computing when
1439 `--file-prefix' used.
1440 Standardize function calls.
1441
78d09da9
MA
14422001-08-13 Marc Autret <autret_m@epita.fr>
1443
69b5cec4 1444 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1445 defining it (defined but null disables alloca).
1446
5a009f2c
MA
14472001-08-13 Marc Autret <autret_m@epita.fr>
1448
1449 * src/bison.simple (_yy_memcpy): CPP reformat.
1450
1e41465a
PB
14512001-08-13 Pascal Bart <pascal.bart@epita.fr>
1452
1453 * tests/atconfig.in (CPPFLAGS): Fix.
1454
c67a198d
PB
14552001-08-10 Pascal Bart <pascal.bart@epita.fr>
1456
79282c6c 1457 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1458 `gpl.texi'.
1459 * doc/gpl.texi: Add to package.
1460
09a6de7e
MA
14612001-08-10 Marc Autret <autret_m@epita.fr>
1462
1463 * src/print_graph.h: Fix.
1464 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1465
b77b9ee0
AD
14662001-08-10 Akim Demaille <akim@epita.fr>
1467
1468 * src/system.h: Provide default declarations for stpcpy, strndup,
1469 and strnlen.
1470
3e259915
MA
14712001-08-10 Robert Anisko <anisko_r@epita.fr>
1472
1473 * doc/bison.texinfo (Locations): Update @$ stuff.
1474
ca96bc2d
MA
14752001-08-09 Robert Anisko <anisko_r@epita.fr>
1476
1477 * src/bison.simple (YYLLOC_DEFAULT): Update.
1478 (yyparse): Adjust.
1479
fdc6758b
MA
14802001-08-08 Marc Autret <autret_m@epita.fr>
1481
b77b9ee0 1482 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1483 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1484 Reported by Fabrice Bauzac.
957d4dbf 1485
600cad3b
MA
14862001-08-08 Marc Autret <autret_m@epita.fr>
1487
1488 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1489 * src/vcg.c (output_node): Fix.
1490 * src/vcg.h: Cleanup.
1491 * src/print_graph.c: Add comments.
b77b9ee0 1492 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1493 the VCG graph output.
b77b9ee0 1494 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1495 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1496 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1497 blue.
1498 Get the current node name and node_obstack by argument.
1499 (node_obstack): New variable.
1500 (print_state): Manage node_obstack.
1501 (print_core): Use node_obstack given by argument.
1502 A node is not only computed here but in print_actions also.
1503 (print_graph): CPP out useless code instead of commenting it.
1504
976e528f
AD
15052001-08-07 Pascal Bart <pascal.bart@epita.fr>
1506
1507 * tests/atconfig.in (CPPFLAGS): Fix.
1508
20e8e5ca
AD
15092001-08-07 Akim Demaille <akim@epita.fr>
1510
1511 * src/print_graph.c (quote): New.
1512 (print_core): Use it.
1513
957d4dbf 15142001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1515
3e3da797
AD
1516 * src/vcg.c (complain.h): Include it.
1517 Unepitaize `return' invocations.
c4b66126 1518 [NDEBUG] (main): Remove.
79282c6c 1519 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1520 * src/files.c (open_files): Initialize graph_obstack.
1521 * src/print_graph.c (print_actions): CPP out useless code.
1522 (print_core): Don't output the last `\n' in labels.
1523 Use `quote'.
1524 * src/files.c (output_files): Output the VCG file.
1525 * src/main.c (main): Invoke print_graph ();
3e3da797 1526
957d4dbf 15272001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1528
1529 Automaton VCG graph output.
1530 Using option ``-g'' or long option ``--graph'', you can generate
1531 a gram_filename.vcg file containing a VCG description of the LALR (1)
1532 automaton of your grammar.
1533
1534 * src/main.c: Call to print_graph() function.
1535 * src/getargs.h: Update.
1536 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1537 (graph_flag): New flag.
1538 (longopts): Update.
1539 (getargs): Add case `g'.
1540 * src/files.c (graph_obstack): New obstack struct.
1541 (open_files): Initialize new obstack.
1542 (output_files): Saves graph_obstack if required.
1543 * src/files.h (graph_obstack): New extern declaration.
1544 * src/Makefile.am: Add new source files.
1545
957d4dbf 15462001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1547
1548 * src/print_graph.c, src/print_graph.h (graph): New.
1549 * src/vcg.h: New file.
1550 * src/vcg.c: New file, VCG graph handling.
1551
7333d403
AD
15522001-08-06 Marc Autret <autret_m@epita.fr>
1553
1554 Add of %source_extension and %header_extension which specify
1555 the source or/and the header output file extension.
1556
1557 * src/files.c (compute_base_names): Remove initialisation of
1558 src_extension and header_extension.
1559 (compute_exts_from_gf): Update.
1560 (compute_exts_from_src): Update.
1561 (output_files): Update.
1562 * src/reader.c (parse_header_extension_decl): New.
1563 (parse_source_extension_decl): New.
1564 (read_declarations): New case statements for the new tokens.
1565 * src/lex.c (percent_table): Add entries for %source_extension
1566 and %header_extension.
1567 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1568
84163231
AD
15692001-08-06 Marc Autret <autret_m@epita.fr>
1570
1571 * configure.in: Bump to 1.28c.
1572 * doc/bison.texinfo: Texinfo thingies.
1573
8303fc42
AD
15742001-08-04 Pascal Bart <pascal.bart@epita.fr>
1575
1576 * tests/atconfig.in (CPPFLAGS): Add.
1577 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1578
70a84437
AD
15792001-08-03 Akim Demaille <akim@epita.fr>
1580
1581 Version 1.28b.
1582
2ce10144
AD
15832001-08-03 Akim Demaille <akim@epita.fr>
1584
1585 * tests/Makefile.am (check-local): Ship testsuite.
1586 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1587 Include `string.h'.
1588
1e3e4bc1
AD
15892001-08-03 Akim Demaille <akim@epita.fr>
1590
1591 * configure.in: Try using -Wformat when compiling.
1592
42b45b7f
AD
15932001-08-03 Akim Demaille <akim@epita.fr>
1594
1595 * configure.in: Bump to 1.28b.
1596
8f13fe33
AD
15972001-08-03 Akim Demaille <akim@epita.fr>
1598
1599 * src/complain.c: Adjust strerror_r portability issues.
1600
b37ba92c
AD
16012001-08-03 Akim Demaille <akim@epita.fr>
1602
1603 Version 1.28a.
1604
b0ce6046
AD
16052001-08-03 Akim Demaille <akim@epita.fr>
1606
1607 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1608 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1609 * src/getargs.c: Include complain.h.
1610 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1611 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1612
d01c415b
AD
16132001-08-03 Akim Demaille <akim@epita.fr>
1614
1615 * src/reader.c (readgram): Display hidden chars in error messages.
1616
459dd1a6
AD
16172001-08-03 Akim Demaille <akim@epita.fr>
1618
1619 Update to gettext 0.10.39.
1620
53b74c0c
AD
16212001-08-03 Akim Demaille <akim@epita.fr>
1622
1623 * lib/strspn.c: New.
1624
234a3be3
AD
16252001-08-01 Marc Autret <autret_m@epita.fr>
1626
1627 * doc/bison.texinfo: Update.
1628 * doc/bison.1 (mandoc): Update.
1629 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1630 * src/files.c: Support output files extensions computing.
1631 (src_extension): New static variable.
1632 (header_extension): New static variable.
1633 (tr): New function.
1634 (get_extension_index): New function, gets the index of an extension
1635 filename in a string.
1636 (compute_exts_from_gf): New function, computes extensions from the
1637 grammar file extension.
1638 (compute_exts_from_src): New functions, computes extensions from the
1639 C source file extension, file given by ``-o'' option.
1640 (compute_base_names): Update.
1641 (output_files): Update.
1642
847bf1f5
AD
16432001-08-01 Robert Anisko <anisko_r@epita.fr>
1644
d995fee7 1645 * doc/bison.texi: Document @$.
847bf1f5
AD
1646 (Locations): New section.
1647
d074a105
AD
16482001-07-18 Akim Demaille <akim@epita.fr>
1649
1650 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1651 * config/prev-version.txt, config/move-if-change: New.
1652 * Makefile.am: Adjust.
1653
3419715d
AD
16542001-07-08 Pascal Bart <pascal.bart@epita.fr>
1655
1656 * src/bison.simple (yyparse): Suppress warning `comparaison
1657 between signed and unsigned'.
1658
62ab6972
AD
16592001-07-05 Pascal Bart <pascal.bart@epita.fr>
1660
1661 * src/getargs.h (raw_flag): Remove.
1662 * src/getargs.c: Die on `-r'/`--raw'.
1663 * src/lex.c (parse_percent_token): Die on `%raw'.
1664 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1665 * tests/calc.at: Suppress test with option `--raw'.
1666
1e24cc5b
AD
16672001-07-14 Akim Demaille <akim@epita.fr>
1668
1669 * config/: New.
1670 * configure.in: Require Autoconf 2.50.
1671 Update to gettext 0.10.38.
1672
32dfccf8
AD
16732001-03-16 Akim Demaille <akim@epita.fr>
1674
1675 * doc/bison.texinfo: ANSIfy the examples.
1676
cd5bd6ac
AD
16772001-03-16 Akim Demaille <akim@epita.fr>
1678
1679 * getargs.c (skeleton): New variable.
1680 (longopts): --skeleton is a new option.
1681 (shortopts, getargs): -S is a new option.
1682 * getargs.h: Declare skeleton.
1683 * output.c (output_parser): Use it.
1684
5141b016
AD
16852001-03-16 Akim Demaille <akim@epita.fr>
1686
1687 * m4/strerror_r.m4: New.
1688 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1689 * lib/error.h, lib/error.c: Update.
1690
447992b9
AD
16912001-03-16 Akim Demaille <akim@epita.fr>
1692
1693 * src/getargs.c (longopts): Clean up.
1694
274d42ce
AD
16952001-02-21 Akim Demaille <akim@epita.fr>
1696
1697 * src/reader.c (gensym): `gensym_count' is your own.
1698 Use a static buf to create the symbol name, as token_buffer is no
1699 longer a buffer.
1700
22c821f3
AD
17012001-02-08 Akim Demaille <akim@epita.fr>
1702
1703 * src/conflicts.c (conflict_report): Be sure not to append to res
1704 between two calls, which could happen if both first sprintf were
1705 skipped, but not the first cp += strlen.
1706
18569462
AD
17072001-02-08 Akim Demaille <akim@epita.fr>
1708
1709 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1710 New, from fileutils 4.0.37.
1711 * configure.in: Require Autoconf 2.49c. I took some time before
1712 making this decision. This is the only way out for portability
1713 issues in Bison, it would mean way too much duplicate effort to
1714 import in Bison features implemented in 2.49c since 2.13.
1715 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1716
0d8f3c8a
AD
17172001-02-02 Akim Demaille <akim@epita.fr>
1718
1719 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1720 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1721
f17bcd1f
AD
17222001-01-19 Akim Demaille <akim@epita.fr>
1723
1724 Get rid of the ad hoc handling of token_buffer in the scanner: use
1725 the obstacks.
1726
1727 * src/lex.c (token_obstack): New.
1728 (init_lex): Initialize it. No longer call...
1729 (grow_token_buffer): this. Remove it.
1730 Adjust all the places which used it to use the obstack.
1731
511e79b3
AD
17322001-01-19 Akim Demaille <akim@epita.fr>
1733
1734 * src/lex.h: Rename all the tokens:
1735 s/\bENDFILE\b/tok_eof/g;
1736 s/\bIDENTIFIER\b/tok_identifier/g;
1737 etc.
1738 Let them be enums, not #define, to ease debugging.
1739 Adjust all the code.
1740
0d6508ef
AD
17412001-01-18 Akim Demaille <akim@epita.fr>
1742
1743 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1744 * src/lex.c (maxtoken, grow_token_buffer): Static.
1745
6deb4447
AD
17462001-01-18 Akim Demaille <akim@epita.fr>
1747
1748 Since we now use obstacks, more % directives can be enabled.
1749
1750 * src/lex.c (percent_table): Also accept `%yacc',
1751 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1752 `%debug'.
1753 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1754 instead of returning a token.
1755 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1756 * src/reader.c (read_declarations): Adjust.
1757 * src/files.c (open_files): Don't call `compute_base_names', don't
1758 compute `attrsfile' since they depend upon data which might be
1759 *in* the input file now.
1760 (output_files): Do it here.
1761 * src/output.c (output_headers): Document the fact that this patch
1762 introduces a guaranteed SEGV for semantic parsers.
1763 * doc/bison.texinfo: Document them.
1764 * tests/suite.at: Exercise these %options.
1765
ff4423cc
AD
17662000-12-20 Akim Demaille <akim@epita.fr>
1767
1768 Also handle the output file (--verbose) with obstacks.
1769
1770 * files.c (foutput): Remove.
1771 (output_obstack): New.
1772 Adjust all dependencies.
1773 * src/conflicts.c: Return a string.
1774 * src/system.h (obstack_grow_string): Rename as...
1775 (obstack_sgrow): this. Be ready to work with non literals.
1776 (obstack_fgrow4): New.
1777
956dba3a
AD
17782000-12-20 Akim Demaille <akim@epita.fr>
1779
1780 * src/files.c (open_files): Fix the computation of short_base_name
1781 in the case of `-o foo.tab.c'.
1782
337bab46
AD
17832000-12-20 Akim Demaille <akim@epita.fr>
1784
1785 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1786 (copy_dollar): Now that everything uses obstacks, get rid of the
1787 FILE * parameters.
1788
5d3214b8
AD
17892000-12-20 Akim Demaille <akim@epita.fr>
1790
1791 * src/files.c (open_files): Actually the `.output' file is based
1792 on the short_base_name, not base_name.
1793 * tests/suite.at (Checking output file names): Adjust.
1794
29092a57
AD
17952000-12-20 Akim Demaille <akim@epita.fr>
1796
1797 * src/bison.s1: Remove, we now use directly...
1798 * src/bison.simple: this.
1799 * src/Makefile.am: Use pkgdata instead of data.
1800
ea5607fd
AD
18012000-12-20 Akim Demaille <akim@epita.fr>
1802
1803 * src/files.c (guard_obstack): New.
1804 (open_files): Initialize it.
1805 (output_files): Dump it...
1806 * src/files.h: Export it.
1807 * src/reader.c (copy_guard): Use it.
1808
27110317
AD
18092000-12-19 Akim Demaille <akim@epita.fr>
1810
1811 * src/files.c (outfile, defsfile, actfile): Removed as global
1812 vars.
1813 (open_files): Don't compute them.
1814 (output_files): Adjust.
1815 (base_name, short_base_name): Be global.
1816 Adjust dependencies.
1817
19c50364
AD
18182000-12-19 Akim Demaille <akim@epita.fr>
1819
1820 * src/files.c (strsuffix): New.
1821 (stringappend): Be just like strcat but allocate.
1822 (base_names): Eve out from open_files.
1823 Try to simplify the rather hairy computation of base_name and
1824 short_base_name.
1825 (open_files): Use it.
1826 * tests/suite.at (Checking output file names): New test.
1827
573c1d9f
AD
18282000-12-19 Akim Demaille <akim@epita.fr>
1829
1830 * src/system.h (obstack_grow_literal_string): Rename as...
1831 (obstack_grow_string): this.
1832 * src/output.c (output_parser): Recognize `%% actions' instead of
1833 `$'.
1834 * src/bison.s1: s/$/%% actions/.
1835 * src/bison.hairy: Likewise.
1836
ef7ddedd
AD
18372000-12-19 Akim Demaille <akim@epita.fr>
1838
1839 * src/output.c (output_parser): Compute the `#line' lines when
1840 there are.
1841 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1842 Suggested by Hans Aberg.
1843
ff61dabd
AD
18442000-12-19 Akim Demaille <akim@epita.fr>
1845
1846 Let the handling of the skeleton files be local to the procedures
1847 that use it.
1848
1849 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1850 longer static.
1851 (fparser, open_extra_files): Remove.
1852 (open_files, output_files): Don't take care of fparser.
1853 * src/files.h: Adjust.
1854 * src/output.c (output_parser): Open and close the file to the
1855 skeleton.
1856 * src/reader.c (read_declarations): When %semantic_parser, open
1857 fguard.
1858
55b96341
AD
18592000-12-19 Akim Demaille <akim@epita.fr>
1860
1861 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1862 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1863
358c15b7
AD
18642000-12-19 Akim Demaille <akim@epita.fr>
1865
1866 * src/files.c (open_files): Yipee! We no longer need all the code
1867 looking for `/tmp' since we have no tmp file.
1868
7de3329e
AD
18692000-12-19 Akim Demaille <akim@epita.fr>
1870
1871 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1872 New macros.
1873 * src/files.c (open_files): Less dependency on MSDOS etc.
1874
3abcd459
AD
18752000-12-14 Akim Demaille <akim@epita.fr>
1876
1877 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1878 Provide a default definition.
1879 Use it when executing the default @ action.
1880 * src/reader.c (reader_output_yylsp): No longer include
1881 `timestamp' and `text' in the default YYLTYPE.
1882
2a91a95e
AD
18832000-12-12 Akim Demaille <akim@epita.fr>
1884
1885 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1886 (copy_guard): Quote the file names.
1887 Reported by Laurent Mascherpa.
1888
14d3eb9b
AD
18892000-12-12 Akim Demaille <akim@epita.fr>
1890
1891 * src/output.c (output_headers, output_program, output): Be sure
1892 to escape special characters when outputting filenames.
1893 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1894 (output_headers): Don't depend on them, Use ACTSTR.
1895
d7045ec6
AD
18962000-11-17 Akim Demaille <akim@epita.fr>
1897
1898 * lib/obstack.h: Formatting changes.
1899 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1900 prevents type checking.
1901 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1902 cast the value to (void *): assigning a `foo *' to a `void *'
1903 variable is valid.
1904 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1905 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1906 append characters.
1907
6fd54b73
AD
19082000-11-17 Akim Demaille <akim@epita.fr>
1909
1910 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1911 as...
1912 (suite.m4, regression.m4, calc.m4): these.
1913 * tests/atgeneral.m4: Update from CVS Autoconf.
1914
4c50eae6
AD
19152000-11-17 Akim Demaille <akim@epita.fr>
1916
1917 * tests/regression.m4 (%union and --defines): New test,
1918 demonstrating a current bug in the obstack implementation.
1919
a35f64ea
AD
19202000-11-17 Akim Demaille <akim@epita.fr>
1921
1922 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1923 macros.
1924 Use them to declare the variables which are global or local to
1925 `yyparse'.
1926
7de23534
AD
19272000-11-17 Akim Demaille <akim@epita.fr>
1928
1929 * acconfig.h: Remove, no longer used.
1930
aa7815f5
AD
19312000-11-07 Akim Demaille <akim@epita.fr>
1932
1933 * src: s/Copyright (C)/Copyright/g.
1934
5af1f549
AD
19352000-11-07 Akim Demaille <akim@epita.fr>
1936
1937 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1938 defining.
1939 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1940
553e2b22
AD
19412000-11-07 Akim Demaille <akim@epita.fr>
1942
1943 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1944 Merge in a single CPP if/else.
1945
8a4f41d6
AD
19462000-11-07 Akim Demaille <akim@epita.fr>
1947
1948 * src/output.c (output): Remove useless variables.
1949 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1950 argument `data' for consistency with the prototypes.
1951 Qualify it `const'.
1952 (obstack_copy, obstack_copy0): Rename the second argument as
1953 `address' for consistency. Qualify it `const'.
1954 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1955 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1956 `const' their input argument (`data' or `address').
1957 Adjust the corresponding macros to include `const' in casts.
1958
095a3fb5
AD
19592000-11-03 Akim Demaille <akim@epita.fr>
1960
1961 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1962 s/PFILE1/BISON_HAIRY/.
1963 Adjust dependencies.
1964
d1cdce7c
AD
19652000-11-03 Akim Demaille <akim@epita.fr>
1966
090c5ebf 1967 For some reason, this was not applied.
d1cdce7c
AD
1968
1969 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1970 `unlink': it's no longer used.
1971
9311529b
AD
19722000-11-03 Akim Demaille <akim@epita.fr>
1973
1974 * src/files.c (skeleton_find): New function, eved out of...
1975 (open_files, open_extra_files): here.
1976
d8880f69
AD
19772000-11-03 Akim Demaille <akim@epita.fr>
1978
1979 Don't use `atexit'.
1980
1981 * src/files.c (obstack_save): New function.
1982 (done): Rename as...
1983 (output_files): this.
1984 Use `obstack_save'.
1985 * src/main.c (main): Don't use `atexit' to register `done', since
1986 it no longer has to remove tmp files, just call `output_files'
1987 when there are no errors.
1988
0dbb648e
AD
19892000-11-02 Akim Demaille <akim@epita.fr>
1990
1991 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1992 `unlink': it's no longer used.
1993 * src/files.h: Formatting changes.
1994
896fe5c1
AD
19952000-11-02 Akim Demaille <akim@epita.fr>
1996
1997 Remove the last uses of mktemp and unlink/delete.
1998
1999 * src/files.c (fdefines, ftable): Removed.
2000 (defines_ostack, table_obstack): New.
2001 Adjust dependencies of the former into uses of the latter.
2002 * src/output.c (output_short_or_char_table, output_short_table):
2003 Convert to using obstacks.
2004 * src/reader.c (copy_comment2): Accept one FILE * and two
2005 obstacks.
2006 (output_token_defines, reader_output_yylsp): Use obstacks.
2007 * src/system.h (obstack_fgrow3): New.
2008
dd60faec
AD
20092000-11-01 Akim Demaille <akim@epita.fr>
2010
2011 Change each use of `fattrs' into a use of `attrs_obstack'.
2012
2013 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2014 * src/files.c (fattrs): Remove.
2015 (attrs_obstack): New.
2016 Adjust all dependencies.
2017 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2018
8c7ebe49
AD
20192000-11-01 Akim Demaille <akim@epita.fr>
2020
2021 Introduce obstacks.
2022 Change each use of `faction' into a use of `action_obstack'.
2023
2024 * lib/obstack.h, lib/obstack.c: New files.
2025 * src/files.c (faction): Remove.
2026 (action_obstack): New.
2027 Adjust all dependencies.
2028
77aee789
AD
20292000-10-20 Akim Demaille <akim@epita.fr>
2030
2031 * lib/quote.h (PARAMS): New macro. Use it.
2032
43591cec
AD
20332000-10-16 Akim Demaille <akim@epita.fr>
2034
2035 * src/output.c (output_short_or_char_table): New function.
2036 (output_short_table, output_token_translations): Use it.
2037 (goto_actions): Use output_short_table.
2038
1e9798d5
AD
20392000-10-16 Akim Demaille <akim@epita.fr>
2040
2041 * src/symtab.c (bucket_new): New function.
2042 (getsym): Use it.
2043
2044 * src/output.c (output_short_table): New argument to display the
2045 comment associated with the table.
2046 Adjust dependencies.
2047 (output_gram): Use it.
2048 (output_rule_data): Nicer output layout for YYTNAME.
2049
f282676b
AD
20502000-10-16 Akim Demaille <akim@epita.fr>
2051
2052 * src/lex.c (read_typename): New function.
2053 (lex): Use it.
2054 * src/reader.c (copy_dollar): Likewise.
2055
550a72a3
AD
20562000-10-16 Akim Demaille <akim@epita.fr>
2057
2058 * src/reader.c (copy_comment2): Expect the input stream to be on
2059 the `/' which is suspected to open a comment, instead of being
2060 called after `//' or `/*' was read.
2061 (copy_comment, copy_definition, parse_union_decl, copy_action)
2062 (copy_guard): Adjust.
2063
131e2fef
AD
20642000-10-16 Akim Demaille <akim@epita.fr>
2065
2066 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2067 `read_signed_integer'.
2068
79282c5a
AD
20692000-10-16 Akim Demaille <akim@epita.fr>
2070
2071 * src/reader.c (copy_dollar): New function.
2072 (copy_guard, copy_action): Use it.
2073
ff4a34be
AD
20742000-10-16 Akim Demaille <akim@epita.fr>
2075
2076 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2077 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2078 New files, from Fileutils 4.0.27.
2079 * src/main.c (printable_version): Remove.
2080 * src/lex.c, src/reader.c: Use `quote'.
2081
20822000-10-04 Akim Demaille <akim@epita.fr>
2083
2084 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2085
14ded682
AD
20862000-10-04 Akim Demaille <akim@epita.fr>
2087
2088 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2089
8e03724b
AD
20902000-10-04 Akim Demaille <akim@epita.fr>
2091
2092 When a literal string is used to define two different tokens,
2093 `bison -v' segfaults.
2094 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2095
2096 * tests/regression.m4: New file.
2097 Include the core of the sample provided by Piotr Gackiewicz.
2098 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2099 properly.
2100
a9e64249
AD
21012000-10-04 Akim Demaille <akim@epita.fr>
2102
2103 * src/reader.c (parse_expect_decl): Keep `count' within the size
2104 of `buffer'.
2105 From Neil Booth.
2106
da9abf43
AD
21072000-10-02 Paul Eggert <eggert@twinsun.com>
2108
2109 * bison.s1 (yyparse): Assign the default value
2110 unconditionally, to avoid a GCC warning and make the parser a
2111 tad smaller.
2112
c33638bb
AD
21132000-10-02 Akim Demaille <akim@epita.fr>
2114
2115 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2116 options.
2117
444c570a
AD
21182000-10-02 Akim Demaille <akim@epita.fr>
2119
2120 * src/derives.c, src/print.c, src/reduce.c: To ease the
2121 translation, move some `\n' out of the translated strings.
2122
89cab50d
AD
21232000-10-02 Akim Demaille <akim@epita.fr>
2124
2125 The location tracking mechanism is precious for parse error
2126 messages. Nevertheless, it is enabled only when `@n' is used in
2127 the grammar, which is a different issue (you can use it in error
2128 message, but not in the grammar per se). Therefore, there should
2129 be another means to enable it.
2130
2131 * src/getargs.c (getargs): Support `--locations'.
2132 (usage): Report it.
2133 * src/getargs.h (locationsflag): Export it.
2134 * src/lex.c (percent_table): Support `%locations'.
2135 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2136 with `locationsflag'.
2137 * doc/bison.texinfo: Document `--locations' and `%locations'.
2138 Sort the options.
2139 * tests/calc.m4: Test it.
2140
2141 For regularity of the names, replace each
2142 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2143 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2144 In addition replace each `flag' with `_flag'.
2145
d6c2cba0
AD
21462000-10-02 Akim Demaille <akim@epita.fr>
2147
2148 Also test parse error messages, including with YYERROR_VERBOSE.
2149
2150 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2151 associative).
2152 Use it to check the computations.
2153 Use it to check `nonassoc' is honored.
2154 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2155 `--yyerror-verbose'.
2156 (_AT_CHECK_CALC): Adjust to this option.
2157 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2158
5a35a6cb
AD
21592000-10-02 Akim Demaille <akim@epita.fr>
2160
2161 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2162 the latter demonstrates a flaw in the handling of non debugging
2163 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2164 was used in order to simplify:
2165
2166 #if YYDEBUG
2167 if (yydebug)
2168 {
2169 ...
2170 }
2171 #endif
2172
2173 into
2174
2175 if (yydebug)
2176 {
2177 ...
2178 }
2179
2180 unfortunately this leads to a CPP conflict when
2181 `--name-prefix=foo' is used since it produces `#define yydebug
2182 foodebug'.
2183
2184 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2185 (YYDPRINTF): New macro.
2186 Spread its use.
2187 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2188 the bison options.
2189 Also test `--verbose', `--defines' and `--name-prefix'.
2190
71da9eea
AD
21912000-10-02 Akim Demaille <akim@epita.fr>
2192
2193 Improve the readability of the produced parsers.
2194
2195 * src/bison.s1: Formatting changes.
2196 Improve the comment related to the `$' mark.
2197 (yydefault): Don't fall through to `yyresume': `goto' there.
2198 * src/output.c (output_parser): When the `$' is met, skip the end
2199 of its line.
2200 New variable, `number_of_dollar_signs', to check there's exactly
2201 one `$' in the parser skeleton.
2202
95e36146
AD
22032000-10-02 Akim Demaille <akim@epita.fr>
2204
2205 * lib/xstrdup.c: New file, from the fileutils.
2206 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2207 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2208 instead of strlen + xmalloc + strcpy.
2209 * src/symtab.c (copys): Remove, use xstrdup instead.
2210
d7020c20
AD
22112000-10-02 Akim Demaille <akim@epita.fr>
2212
2213 * src/gram.h (associativity): New enum type which replaces the
2214 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2215 `right_assoc', `left_assoc' and `non_assoc'.
2216 Adjust all dependencies.
2217 * src/reader.c: Formatting changes.
2218 (LTYPESTR): Don't define it, use it as a literal in
2219 `reader_output_yylsp'.
2220 * src/symtab.h (symbol_class): New enum type which replaces the
2221 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2222 `sunknown', `stoken and `snterm'.
2223
1916f98e
AD
22242000-10-02 Akim Demaille <akim@epita.fr>
2225
2226 * src/getargs.c (fixed_outfiles): Rename as...
2227 (yaccflag): for consistency and accuracy.
2228 Adjust dependencies.
2229
d7913476
AD
22302000-10-02 Akim Demaille <akim@epita.fr>
2231
2232 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2233 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2234 difficult and introduced a lot of core dump. It turns out that
2235 Bison used an implementation of `xmalloc' based on `calloc', and
2236 at various places it does depend upon the initialization to 0. I
2237 have not tried to isolate the pertinent places, and all the former
2238 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2239 someone should address this issue.
2240
2241 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2242 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2243 files.
2244 Adjust dependencies.
2245 * src/warshall.h: New file.
2246 Propagate.
2247
340ef489
AD
22482000-10-02 Akim Demaille <akim@epita.fr>
2249
2250 Various anti-`extern in *.c' changes.
2251
2252 * src/system.h: Include `assert.h'.
2253
b2ca4022
AD
22542000-10-02 Akim Demaille <akim@epita.fr>
2255
2256 * src/state.h (nstates, final_state, first_state, first_shift)
2257 (first_reduction): Move their exportation from here...
2258 * src/LR0.h: to here.
2259 Adjust dependencies.
2260 * src/getargs.c (statisticsflag): New variable.
2261 Add support for `--statistics'.
2262 Adjust dependencies.
2263
2264 Remove a lot of now useless `extern' statements in most files.
2265
403b315b
AD
22662000-10-02 Akim Demaille <akim@epita.fr>
2267
2268 * src/LR0.h: New file.
2269 Propagate its use.
2270
07a58c13
AD
22712000-10-02 Akim Demaille <akim@epita.fr>
2272
2273 * src/print.h: New file.
2274 Propagate its use.
2275 * src/print.c: Formatting and ordering changes.
2276 (verbose, terse): Replace with...
2277 (print_results): this new function.
2278 Adjust dependencies.
2279
0619caf0
AD
22802000-10-02 Akim Demaille <akim@epita.fr>
2281
2282 * src/conflicts.c (conflict_report): New function.
2283 (conflict_log, verbose_conflict_log): Replace with...
2284 (print_conflicts): this function.
2285 Adjust dependencies.
2286 * src/conflicts.h: New file.
2287 Propagate its inclusion.
2288
3519ec76
AD
22892000-10-02 Akim Demaille <akim@epita.fr>
2290
2291 * src/nullable.h: New file.
2292 Propagate its inclusion.
2293 * src/nullable.c: Formatting changes.
2294
015acc48
AD
22952000-10-02 Akim Demaille <akim@epita.fr>
2296
2297 * src/reduce.h: New file.
2298 Propagate its inclusion.
2299 * src/reduce.c: Topological sort and other formatting changes.
2300 (bool, TRUE, FALSE): Move their definition to...
2301 * src/system.h: here.
2302
8963a27b
AD
23032000-10-02 Akim Demaille <akim@epita.fr>
2304
2305 * src/files.c: Formatting changes.
2306 (tryopen, tryclose, openfiles): Rename as...
2307 (xfopen, xfclose, open_files): this.
2308 (stringappend): static.
2309 * src/files.h: Complete the list of exported symbols.
2310 Propagate its use.
2311
a70083a3
AD
23122000-10-02 Akim Demaille <akim@epita.fr>
2313
2314 * src/reader.h: New file.
2315 Propagate its use instead of tedious list of `extern' and
2316 prototypes.
2317 * src/reader.c: Formatting changes, topological sort,
2318 s/register//.
2319
abadc117
AD
23202000-10-02 Akim Demaille <akim@epita.fr>
2321
2322 * src/lex.h: Prototype `lex.c' exported functions.
2323 * src/reader.c: Adjust.
2324 * src/lex.c: Formatting changes.
2325 (safegetc): Rename as...
2326 (xgetc): this.
2327
720d742f
AD
23282000-10-02 Akim Demaille <akim@epita.fr>
2329
2330 * src/lalr.h: New file.
2331 Propagate its inclusion instead of prototypes and `extern'.
2332 * src/lalr.c: Formatting changes, topological sorting etc.
2333
f2acea59
AD
23342000-10-02 Akim Demaille <akim@epita.fr>
2335
2336 * src/output.c (token_actions): Introduce a temporary array,
2337 YYDEFACT, that makes it possible for this function to use
2338 output_short_table.
2339
d019d655
AD
23402000-10-02 Akim Demaille <akim@epita.fr>
2341
2342 `user_toknums' is output as a `short[]' in `output.c', while it is
2343 defined as a `int[]' in `reader.c'. For consistency with the
2344 other output tables, `user_toknums' is now defined as a table of
2345 shorts.
2346
2347 * src/reader.c (user_toknums): Be a short table instead of an int
2348 table.
2349 Adjust dependencies.
2350
2351 Factor the short table outputs.
2352
2353 * src/output.c (output_short_table): New function.
2354 * src/output.c (output_gram, output_stos, output_rule_data)
2355 (output_base, output_table, output_check): Use it.
2356
6c89f1c1
AD
23572000-10-02 Akim Demaille <akim@epita.fr>
2358
2359 * src/output.c (output): Topological sort of the functions, in
2360 order to get rid of the `static' prototypes.
2361 No longer use `register'.
2362 * src/output.h: New file.
2363 Propagate its inclusion in files explicitly prototyping functions
2364 from output.c.
2365
d9efd181
AD
23662000-09-21 Akim Demaille <akim@epita.fr>
2367
2368 * src/atgeneral.m4: Update from Autoconf.
2369
c29240e7 23702000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2371
2372 * src/closure.h: New file.
2373 * src/closure.c: Formatting changes, topological sort over the
2374 functions, use of closure.h.
2375 (initialize_closure, finalize_closure): Rename as...
2376 (new_closure, free_closure): these. Adjust dependencies.
2377 * src/LR0.c: Formatting changes, topological sort, use of
2378 cloture.h.
2379 (initialize_states): Rename as...
2380 (new_states): this.
2381 * src/Makefile.am (noinst_HEADERS): Adjust.
2382
499daa50
AD
23832000-09-20 Akim Demaille <akim@epita.fr>
2384
2385 * src/acconfig.h: Don't protect config.h against multiple
2386 inclusion.
2387 Don't define PARAMS.
2388 * src/system.h: Define PARAMS.
2389 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2390 purpose of config.h. system.h must not try to fix wrong
2391 definitions in config.h.
2392
cc84fd5d
AD
23932000-09-20 Akim Demaille <akim@epita.fr>
2394
2395 * src/derives.h: New file.
2396 * src/main.c, src/derives.h: Use it.
2397 Formatting changes.
2398 * src/Makefile.am (noinst_HEADERS): Adjust.
2399
db5b3a89
AD
24002000-09-20 Akim Demaille <akim@epita.fr>
2401
2402 * tests/atgeneral.m4: Update from Autoconf.
2403 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2404 (AT_CHECK_CALC): New macros.
2405 Use these macros to test bison with options `', `--raw',
2406 `--debug', `--yacc', `--yacc --debug'.
2407
ceed8467
AD
24082000-09-19 Akim Demaille <akim@epita.fr>
2409
2410 * src/output.c: Formatting changes.
2411 * src/machine.h: Remove, leaving its contents in...
2412 * src/system.h: here.
2413 Include stdio.h.
2414 Adjust all dependencies on stdio.h and machine.h.
2415 * src/getargs.h: New file.
2416 Let all `extern' declarations about getargs.c be replaced with
2417 inclusion of `getargs.h'.
2418 * src/Makefile.am (noinst_HEADERS): Adjust.
2419
2420 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2421 scope.
2422 (yyerror): Returns void, not int.
2423 * doc/bison.texinfo: Formatting changes.
2424
05a1d24b
AD
24252000-09-19 Akim Demaille <akim@epita.fr>
2426
2427 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2428 portable.
2429
cbd25751
AD
24302000-09-18 Akim Demaille <akim@epita.fr>
2431
2432 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2433 * src/Makefile.am (INCLUDES): Don't.
2434 Be ready to fetch headers in lib/.
2435
13863333
AD
24362000-09-18 Akim Demaille <akim@epita.fr>
2437
2438 * doc/bison.texinfo: Update the copyright.
2439 ANSIfy and GNUify the examples.
2440 Remove the old menu.
2441
0d533154
AD
24422000-09-18 Akim Demaille <akim@epita.fr>
2443
2444 First set of tests: use the `calc' example from the documentation.
2445
2446 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2447 is defined only when YYDEBUG is.
2448 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2449 * src/files.c (tryopen, tryclose): Formatting changes.
2450 Move to the top and be static.
2451 * src/reader.c (read_signed_integer): Likewise.
2452 * tests/calc.m4: New file.
2453 * Makefile.am, suite.m4: Adjust.
2454 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2455
e79137ac
AD
24562000-09-18 Akim Demaille <akim@epita.fr>
2457
2458 Add support for an Autotest test suite for Bison.
2459
2460 * m4/m4.m4, m4/atconfig.m4: New files.
2461 * m4/Makefile.am (EXTRA_DIST): Adjust.
2462 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2463 files.
2464 * src/getargs.c: Display a more standard --version message.
2465 * src/reader.c (reader): Formatting changes.
2466 No longer depend upon VERSION_STRING.
2467 * configure.in: No longer use `dnl'.
2468 Set up the test suite and the new directory `tests/.
2469 (VERSION_STRING): Remove.
2470
27821bff
AD
24712000-04-14 Akim Demaille <akim@epita.fr>
2472
2473 * src/reader.c (copy_comment2): New function, same as former
2474 `copy_comment', but outputs into two FILE *.
2475 (copy_comment): Use it.
2476 (parse_union_decl): Use it.
2477 (get_type, parse_start_decl): Use the same `invalid' message.
2478 (parse_start_decl, parse_union_decl): Use the same `multiple'
2479 message.
2480 (parse_union_decl, copy_guard, copy_action): Use the same
2481 `unmatched' message.
2482 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2483
cfe5fbc0
AD
24842000-03-31 Akim Demaille <akim@epita.fr>
2485
2486 * src/files.c (tryopen, tryclose): Move to the top.
2487 Be static.
2488
cb7db13e
AD
24892000-03-31 Akim Demaille <akim@epita.fr>
2490
2491 * src/main.c (main): Don't call `done', exit does it.
2492
a0f6b076
AD
24932000-03-31 Akim Demaille <akim@epita.fr>
2494
36281465
AD
2495 * allocate.c: s/return (foo)/return foo/.
2496 * lalr.c: Likewise.
2497 * LR0.c: Likewise.
2498 * output.c: Likewise.
2499 * reader.c: Likewise.
2500 * symtab.c: Likewise.
2501 * vmsgetargs.c: Likewise.
2502
25032000-03-31 Akim Demaille <akim@epita.fr>
2504
2505 Clean up the error reporting functions.
a0f6b076
AD
2506
2507 * src/report.c: New file.
2508 * src/report.h: Likewise.
2509 * src/Makefile.am: Adjust.
2510 * m4/error.m4: New file.
2511 * m4/Makefile.am: Adjust.
2512 * configure.in (jm_PREREQ_ERROR): Call it.
2513 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2514 Remove.
2515 (fatal, fatals): Remove. All callers use complain.c::fatal.
2516 (warn, warni, warns, warnss, warnss): Remove. All callers use
2517 complain.c::complain.
2518 (toomany): Remove, use fatal instead.
2519 * src/files.c (done): No argument, use complain_message_count.
2520 * src/main.c (main): Register `done' to `atexit'.
2521
2522 * src/getargs.c (usage): More `fputs', less `fprintf'.
2523
18539825
AD
25242000-03-28 Akim Demaille <akim@epita.fr>
2525
2526 * lib/: New directory.
2527 * Makefile.am (SUBDIRS): Adjust.
2528 * configure.in: Adjust.
2529 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2530 useless.
2531 * src/alloca.c: Moved to lib/.
2532 * src/getopt.c: Likewise.
2533 * src/getopt1.c: Likewise.
2534 * src/getopt.h: Likewise.
2535 * src/ansi2knr.c: Likewise.
2536 * src/ansi2knr.1: Likewise.
2537 * src/Makefile.am: Adjust.
2538 * lib/Makefile.am: New file.
2539
9f306f2a
AD
25402000-03-28 Akim Demaille <akim@epita.fr>
2541
2542 * src/getargs.c (usage): Refresh the help message.
2543
0ba347b6
AD
25442000-03-17 Akim Demaille <akim@epita.fr>
2545
2546 * src/getopt1.c: Updated from textutils 2.0e
2547 * src/getopt.c: Likewise.
2548 * src/getopt.h: Likewise.
2549
dbe7f271
AD
25502000-03-17 Akim Demaille <akim@epita.fr>
2551
2552 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2553 the file name, not the whole `#line LINE FILE'.
2554
75bbe78d
AD
25552000-03-17 Akim Demaille <akim@epita.fr>
2556
2557 On syntax errors, report the token on which we choked.
2558
aa5fd0ee
AD
2559 * src/bison.s1 (yyparse): In the label yyerrlab, when
2560 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2561
7b306f52
AD
25622000-03-17 Akim Demaille <akim@epita.fr>
2563
aa5fd0ee 2564 * src/reader.c (copy_at): New function.
7b306f52
AD
2565 (copy_guard): Use it.
2566 (copy_action): Use it.
2567
e87b5700
AD
25682000-03-17 Akim Demaille <akim@epita.fr>
2569
2570 Be kind to translators, save some useless translations.
2571
aa5fd0ee 2572 * src/main.c (banner): New function.
e87b5700
AD
2573 (fatal_banner): Use it.
2574 (warn_banner): Use it.
2575
ae3c3164
AD
25762000-03-17 Akim Demaille <akim@epita.fr>
2577
aa5fd0ee
AD
2578 * src/reader.c (copy_definition): Use copy_string and
2579 copy_comment. Removed now unused `match', `ended',
2580 `cplus_comment'.
ae3c3164
AD
2581 (copy_comment, copy_string): Moved, to be visible from
2582 copy_definition.
2583
4dc58e7c
AD
25842000-03-17 Akim Demaille <akim@epita.fr>
2585
aa5fd0ee
AD
2586 * src/reader.c (copy_string): Declare `static inline'. No
2587 problems with inline, since it is checked by configure.
4dc58e7c
AD
2588 (copy_comment): Likewise.
2589
0a6384c4
AD
25902000-03-17 Akim Demaille <akim@epita.fr>
2591
aa5fd0ee 2592 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2593
3cef001a
AD
25942000-03-17 Akim Demaille <akim@epita.fr>
2595
aa5fd0ee 2596 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2597 (copy_action): Use it. Removed now unused `match', `ended',
2598 `cplus_comment'.
2599 (copy_guard): Likewise.
2600
ca36d2ef
AD
26012000-03-17 Akim Demaille <akim@epita.fr>
2602
aa5fd0ee 2603 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2604 (copy_action): Use it.
2605 (copy_guard): Likewise.
2606
6666f98f
AD
26072000-03-17 Akim Demaille <akim@epita.fr>
2608
2609 Change the handling of @s so that they behave exactly like $s.
2610 There is now a pseudo variable @$ (readble and writable), location
2611 of the lhs of the rule (by default ranging from the location of
2612 the first symbol of the rhs, to the location of the last symbol,
2613 or, if the rhs is empty, YYLLOC).
2614
2615 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2616 yyval.
2617 (yyparse): When providing a default semantic action, provide a
2618 default location action.
2619 (after the $): No longer change `*YYLSP', just stack YYLOC the
2620 same way you stack YYVAL.
2621 * src/reader.c (read_declarations): Use warns.
2622 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2623 (copy_action, case '@'): Likewise.
2624 Use a standard error message, to save useless work from
2625 translators.
2626
41aca2e0
AD
26272000-03-17 Akim Demaille <akim@epita.fr>
2628
aa5fd0ee
AD
2629 * src/bison.s1: Formatting and cosmetics changes.
2630 * src/reader.c: Likewise.
41aca2e0
AD
2631 Update the Copyright notice.
2632
dc08c1d5
AD
26332000-03-17 Akim Demaille <akim@epita.fr>
2634
aa5fd0ee
AD
2635 * src/bison.s1 (#line): All set to `#line' only, since the
2636 Makefile now handles them.
dc08c1d5 2637
9ee3c97b
AD
26382000-03-16 Akim Demaille <akim@epita.fr>
2639
2640 * src/output.c (output_rule_data): Output the documentation of
2641 some of the tables.
2642 (Copyright notice): Update.
2643 Formatting changes.
2644
0de741ca
AD
26452000-03-16 Akim Demaille <akim@epita.fr>
2646
2647 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2648 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2649 One `#if YYDEBUG' remains, since it uses variables which are
2650 defined only if `YYDEBUG != 0'.
2651
bb10be54
AD
26522000-03-16 Akim Demaille <akim@epita.fr>
2653
2654 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2655 and related variables so that the similarities are highlighted.
2656
b07b484a
AD
26572000-03-16 Akim Demaille <akim@epita.fr>
2658
2659 * src/bison.s1: Properly indent CPP directives.
2660
361f60b3
AD
26612000-03-16 Akim Demaille <akim@epita.fr>
2662
2663 * src/bison.s1: Properly indent the `alloca' CPP section.
2664
8c44d3ec
AD
26652000-03-16 Akim Demaille <akim@epita.fr>
2666
2667 Do not hard code values of directories in `configure.in'.
2668 Update the `configure' tool chain.
2669
2670 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2671 src/makefile.am.
2672 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2673 (AC_OUTPUT): Add m4/Makefile.
2674 Bump to bison 1.28a, 1.29 has never been released.
2675 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2676 handled via src/Makefile.am.
2677 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2678 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2679 autoheader.
2680 * Makefile.am (SUBDIRS): Add m4.
2681 (ACLOCAL_AM_FLAGS): New variable.
2682 (AUTOMAKE_OPTIONS): Add check-news.
2683 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2684 the proper line number and file name.
2685 (DEFS): Propagate the location of bison library files and of the
2686 locale files.
2687 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2688 builddir.
2689 * acinclude.m4: Remove, replaced by the directory m4.
2690 * m4/Makefile.am (EXTRA_DIST): New variable.
2691 * m4/gettext.m4: New file, from the fileutils.
2692 * m4/lcmessage.m4: Likewise
2693 * m4/progtest.m4: Likewise.
2694 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2695
f95997e7
AD
26962000-03-10 Akim Demaille <akim@epita.fr>
2697
2698 * src/closure.c:
2699 Formatting changes of various comments.
2700 Respect the GNU coding standards at various places.
2701 Don't use `_()' when no translation is needed.
2702
27031999-12-13 Jesse Thilo <jthilo@gnu.org>
2704
2705 * src/files.c:
2706 OS/2 honors TMPDIR environment variable.
2707
27081999-12-13 Jesse Thilo <jthilo@gnu.org>
2709
2710 * doc/bison.texinfo: Tweaked spelling and grammar.
2711 Updated ISBN.
2712 Removed reference to price of printed copy.
2713 Mention BISON_SIMPLE and BISON_HAIRY.
2714
27151999-12-13 Jesse Thilo <jthilo@gnu.org>
2716
2717 * configure.in, NEWS:
2718 Bison 1.29 released.
2719
27201999-10-27 Jesse Thilo <jthilo@gnu.org>
2721
2722 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2723 Added reference card.
2724
27251999-07-26 Jesse Thilo <jthilo@gnu.org>
2726
2727 * po/ru.po: Added Russian translation.
2728
27291999-07-26 Jesse Thilo <jthilo@gnu.org>
2730
2731 * configure.in: Added Russian translation.
2732
27331999-07-06 Jesse Thilo <jthilo@gnu.org>
2734
2735 * configure.in, NEWS, README:
2736 Released version 1.28.
2737
27381999-06-14 Jesse Thilo <jthilo@gnu.org>
2739
2740 * src/system.h:
2741 Squashed redefinition warning on some systems.
2742
2743 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2744 Have configure build version string instead of relying on ANSI string
2745 concatentation.
2746
27471999-06-14 Jesse Thilo <jthilo@gnu.org>
2748
2749 * po/POTFILES.in: Got rid of version.c.
2750
27511999-06-14 Jesse Thilo <jthilo@gnu.org>
2752
2753 * acconfig.h, configure.in:
2754 Have configure build version string instead of relying on ANSI string
2755 concatentation.
2756
27571999-06-08 Jesse Thilo <jthilo@gnu.org>
2758
2759 * doc/bison.1:
2760 Dropped mention of `+' for long-named options.
2761
27621999-05-30 Jesse Thilo <jthilo@gnu.org>
2763
2764 * src/files.c: Added <unistd.h> for unlink().
2765
2766 * src/Makefile.am, src/system.h:
2767 I18n fixes.
2768
27691999-05-30 Jesse Thilo <jthilo@gnu.org>
2770
2771 * README: Added a FAQ list.
2772
2773 * configure.in, acconfig.h:
2774 I18n fixes.
2775
27761999-05-30 Jesse Thilo <jthilo@gnu.org>
2777
2778 * doc/FAQ, doc/Makefile.am:
2779 Added a FAQ list.
2780
27811999-05-19 Jesse Thilo <jthilo@gnu.org>
2782
2783 * src/alloc.h, src/symtab.h, src/version.c:
2784 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2785
27861999-04-18 Jesse Thilo <jthilo@gnu.org>
2787
2788 * src/.cvsignore, src/Makefile.am:
2789 Reorganized: sources in `src', documentation in `doc'.
2790
2791 * src/lex.c (literalchar):
2792 fixed the code for escaping double quotes (thanks
2793 Jonathan Czisny.)
2794
27951999-04-18 Jesse Thilo <jthilo@gnu.org>
2796
2797 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2798 Adjusted paths to reflect directory reorganization.
2799
28001999-04-18 Jesse Thilo <jthilo@gnu.org>
2801
2802 * doc/.cvsignore, doc/Makefile.am:
2803 Reorganized: sources in `src', documentation in `doc'.
2804
28051999-04-18 Jesse Thilo <jthilo@gnu.org>
2806
2807 * configure.in:
2808 Updated AC_INIT file to reflect directory reorganization.
2809
2810 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2811 Reorganized: sources in `src', documentation in `doc'.
2812
28131999-04-13 Jesse Thilo <jthilo@gnu.org>
2814
2815 * src/allocate.c:
2816 Don't declare calloc() and realloc() if not necessary.
2817
28181999-04-13 Jesse Thilo <jthilo@gnu.org>
2819
2820 * configure.in, acconfig.h, acinclude.m4:
2821 Don't declare calloc() and realloc() if not necessary.
2822
28231999-03-23 Jesse Thilo <jthilo@gnu.org>
2824
2825 * po/.cvsignore: Added i18n support.
2826
28271999-03-23 Jesse Thilo <jthilo@gnu.org>
2828
2829 * acconfig.h, configure.in, Makefile.am:
2830 Added i18n support.
2831
28321999-03-22 Jesse Thilo <jthilo@gnu.org>
2833
2834 * src/bison.s1: Fixed #line numbers.
2835
28361999-03-15 Jesse Thilo <jthilo@gnu.org>
2837
2838 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2839 Added PO files from Translation Project.
2840
28411999-03-03 Jesse Thilo <jthilo@gnu.org>
2842
2843 * Makefile.am:
2844 Added support for non-ANSI compilers (ansi2knr).
2845
28461999-02-16 Jesse Thilo <jthilo@gnu.org>
2847
2848 * configure.in: Bumped version number to 1.27.
2849
2850 * Makefile.am:
2851 Added `bison.simple' to list of files removed by `make distclean'.
2852
28531999-02-12 Jesse Thilo <jthilo@gnu.org>
2854
2855 * src/files.c, src/files.h:
2856 Defined locations of parser files in config.h instead of Makefile.
2857
28581999-02-12 Jesse Thilo <jthilo@gnu.org>
2859
2860 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2861 Defined locations of parser files in config.h instead of Makefile.
2862
28631999-02-09 Jesse Thilo <jthilo@gnu.org>
2864
2865 * Makefile.am:
2866 Removed inappropriate use of $< macro.
2867
28681999-02-05 Jesse Thilo <jthilo@gnu.org>
2869
2870 * po/Makefile.in.in, po/POTFILES.in:
2871 Add `po' directory skeleton.
2872
28731999-01-27 Jesse Thilo <jthilo@gnu.org>
2874
2875 * README: Document help-bison list.
2876
2877 * configure.in: Add check for mkstemp().
2878
28791999-01-20 Jesse Thilo <jthilo@gnu.org>
2880
2881 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2882 Hush a few compiler warnings.
2883
2884 * src/files.c:
2885 Add tryclose(), which verifies that fclose was successful.
2886 Hush a couple of compiler warnings.
2887
28881999-01-20 Jesse Thilo <jthilo@gnu.org>
2889
2890 * Makefile.am, OChangeLog:
2891 ChangeLog is now automatically generated. Include the old version as
2892 OChangeLog.
2893
28941999-01-14 Jesse Thilo <jthilo@gnu.org>
2895
2896 * 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:
2897 Update FSF address.
2898
28991999-01-14 Jesse Thilo <jthilo@gnu.org>
2900
2901 * doc/bison.texinfo: Fix formatting glitch.
2902
2903 * doc/bison.texinfo: Update FSF address.
2904
29051999-01-14 Jesse Thilo <jthilo@gnu.org>
2906
2907 * acconfig.h: Update FSF address.
2908
29091999-01-08 Jesse Thilo <jthilo@gnu.org>
2910
2911 * src/system.h:
2912 Don't define PACKAGE here, since config.h defines it.
2913
29141998-12-30 Jesse Thilo <jthilo@gnu.org>
2915
2916 * src/reader.c: Update copyright date.
2917
2918 * src/main.c:
2919 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2920 favor of output directly to stderr (avoids buffer overruns).
2921
2922 * src/reader.c: Some checks for premature EOF.
2923
2924 * 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:
2925 Use prototypes if the compiler understands them.
2926
2927 * src/files.c: Honor TMPDIR on Unix hosts.
2928 Use prototypes if the compiler understands them.
2929
2930 * src/reader.c:
2931 Fix a couple of buffer overrun bugs.
2932 Use prototypes if the compiler understands them.
2933
2934 * src/system.h: Include unistd.h and ctype.h.
2935 Use #ifdef instead of #if for NLS symbols.
2936
29371998-12-30 Jesse Thilo <jthilo@gnu.org>
2938
2939 * doc/bison.texinfo:
2940 Delete comment "consider using @set for edition number, etc..." since
2941 we now are doing so.
2942
29431998-12-30 Jesse Thilo <jthilo@gnu.org>
2944
2945 * configure.in:
2946 Use prototypes if the compiler understands them.
2947
2948 * NEWS: Document 1.26 highlights.
2949
2950 * Makefile.am: Require Automake 1.3 or later.
2951
2952 * acconfig.h:
2953 Use prototypes if the compiler understands them.
2954
29551998-12-29 Jesse Thilo <jthilo@gnu.org>
2956
2957 * src/version.c:
2958 Use VERSION symbol from automake for version number.
2959
29601998-12-29 Jesse Thilo <jthilo@gnu.org>
2961
2962 * acconfig.h, configure.in, version.cin:
2963 Use VERSION symbol from automake for version number.
2964
29651998-11-28 Jesse Thilo <jthilo@gnu.org>
2966
2967 * Makefile.am:
2968 Distribute original version of simple parser (bison.s1), not built
2969 version (bison.simple).
2970
29711998-11-28 Jesse Thilo <jthilo@gnu.org>
2972
2973 * doc/bison.texinfo: Add info dir entry.
2974
2975 * doc/bison.texinfo:
2976 Let automake put version number into documentation.
2977
29781998-11-26 Jesse Thilo <jthilo@gnu.org>
2979
2980 * src/bison.cld, src/build.com, src/vmshlp.mar:
2981 Add non-RCS files from /gd/gnu/bison.
2982
29831998-11-26 Jesse Thilo <jthilo@gnu.org>
2984
2985 * doc/bison.1:
2986 Document the BISON_HAIRY and BISON_SIMPLE variables.
2987
29881998-11-25 Jesse Thilo <jthilo@gnu.org>
2989
2990 * src/version.c: Build version.c automatically.
2991
2992 * src/reader.c:
2993 Fix token numbering (used to start at 258, not 257).
2994
2995 * src/system.h: Include config.h.
2996
2997 * src/getargs.c: Update bug report address.
2998
2999 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3000 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3001
30021998-11-25 Jesse Thilo <jthilo@gnu.org>
3003
3004 * Makefile.am:
3005 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3006
3007 * configure.in, version.cin:
3008 Build version.c automatically.
3009
3010 * AUTHORS: Add AUTHORS file.
3011
3012 * README: Update bug report address.
3013
3014 * bison.simple:
3015 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3016
3017 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3018 Add automake stuff.
3019
30201998-11-25 Jesse Thilo <jthilo@gnu.org>
3021
3022 * doc/bison.texinfo: Clean up some formatting.
3023
30241998-05-05 Richard Stallman <rms@gnu.org>
3025
3026 * doc/bison.texinfo:
3027 Explain better why to make a pure parser.
3028
30291998-01-05 Richard Stallman <rms@gnu.org>
3030
3031 * src/files.c (openfiles):
3032 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3033 find a temporary directory, if possible. Do not unlink files while
3034 they are open.
3035
30361997-08-25 Richard Stallman <rms@gnu.org>
3037
3038 * src/reader.c (stack_offset;):
3039 Change some warni to warns.
3040
3041 * src/lex.c (literalchar): Use warns, not warni.
3042
30431997-06-28 Richard Stallman <rms@gnu.org>
3044
3045 * src/bison.s1: Add a Bison version comment.
3046
3047 * src/main.c (fatal, warn, berror):
3048 Use program_name.
3049
30501997-06-28 Richard Stallman <rms@gnu.org>
3051
3052 * Makefile.in (bison_version): New variable.
3053 (dist): Use that variable.
3054 (bison.s1): Substitute the Bison version into bison.simple.
3055
3056 * bison.simple: Add a Bison version comment.
3057
30581997-06-18 Richard Stallman <rms@gnu.org>
3059
3060 * src/main.c (fatal, warn, berror):
3061 Make error messages standard.
3062 (toomany): Improve error message text.
3063
3064 * 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:
3065 new.h renamed to alloc.h.
3066
30671997-06-18 Richard Stallman <rms@gnu.org>
3068
3069 * Makefile.in: new.h renamed to alloc.h.
3070
30711997-05-24 Richard Stallman <rms@gnu.org>
3072
3073 * src/lex.c (literalchar):
3074 Fix the code for escaping \, " and '.
3075
3076 (lex): Avoid trouble when there are many chars
3077 to discard in a char literal with just several chars in it.
3078
30791997-05-17 Richard Stallman <rms@gnu.org>
3080
3081 * src/bison.s1:
3082 Use malloc, if using alloca is troublesome.
3083 (YYSTACK_USE_ALLOCA): New flag macro.
3084 Define it for some systems and compilers.
3085 (YYSTACK_ALLOC): New macro.
3086 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3087 If it was malloc'd, free it.
3088
30891997-05-17 Richard Stallman <rms@gnu.org>
3090
3091 * bison.simple:
3092 Use malloc, if using alloca is troublesome.
3093 (YYSTACK_USE_ALLOCA): New flag macro.
3094 Define it for some systems and compilers.
3095 (YYSTACK_ALLOC): New macro.
3096 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3097 If it was malloc'd, free it.
3098
30991997-04-23 Richard Stallman <rms@gnu.org>
3100
3101 * src/bison.s1:
3102 (alloca) [__hpux]: Always define as __builtin_alloca.
3103
31041997-04-23 Richard Stallman <rms@gnu.org>
3105
3106 * bison.simple:
3107 (alloca) [__hpux]: Always define as __builtin_alloca.
3108
31091997-04-22 Richard Stallman <rms@gnu.org>
3110
3111 * src/bison.s1:
3112 [__hpux]: Include alloca.h (right for HPUX 10)
3113 instead of declaring alloca (right for HPUX 9).
3114
3115 * src/bison.s1 (__yy_memcpy):
3116 Declare arg `count' as unsigned int.
3117 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3118
31191997-04-22 Richard Stallman <rms@gnu.org>
3120
3121 * bison.simple:
3122 [__hpux]: Include alloca.h (right for HPUX 10)
3123 instead of declaring alloca (right for HPUX 9).
3124
3125 * bison.simple (__yy_memcpy):
3126 Declare arg `count' as unsigned int.
3127 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3128
31291997-01-03 Richard Stallman <rms@gnu.org>
3130
3131 * src/allocate.c: [__STDC__ or _MSC_VER]:
3132 Declare calloc and realloc to return void *.
3133
31341997-01-02 Richard Stallman <rms@gnu.org>
3135
3136 * src/system.h:
3137 [_MSC_VER]: Include stdlib.h and process.h.
3138 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3139
3140 * src/main.c (main): Return FAILURE as a value.
3141 (printable_version): Declare arg as int, not char.
3142
31431997-01-02 Richard Stallman <rms@gnu.org>
3144
3145 * Makefile.in (dist):
3146 Explicitly check for symlinks, and copy them.
3147
31481996-12-19 Richard Stallman <rms@gnu.org>
3149
3150 * src/files.c:
3151 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3152
31531996-12-18 Paul Eggert <eggert@gnu.org>
3154
3155 * src/bison.s1 (yyparse):
3156 If __GNUC__ and YYPARSE_PARAM are both defined,
3157 declare yyparse to have a void * argument.
3158
31591996-12-18 Paul Eggert <eggert@gnu.org>
3160
3161 * bison.simple (yyparse):
3162 If __GNUC__ and YYPARSE_PARAM are both defined,
3163 declare yyparse to have a void * argument.
3164
31651996-12-17 Richard Stallman <rms@gnu.org>
3166
3167 * src/reduce.c (nbits): Add some casts.
3168
31691996-08-12 Richard Stallman <rms@gnu.org>
3170
3171 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3172
31731996-08-12 Richard Stallman <rms@gnu.org>
3174
3175 * bison.simple: Test _MSDOS as well as _MSDOS_.
3176
31771996-07-31 Richard Stallman <rms@gnu.org>
3178
3179 * src/bison.s1:
3180 [__sun && __i386]: Include alloca.h.
3181
31821996-07-31 Richard Stallman <rms@gnu.org>
3183
3184 * bison.simple:
3185 [__sun && __i386]: Include alloca.h.
3186
31871996-07-30 Richard Stallman <rms@gnu.org>
3188
3189 * src/bison.s1: Comment change.
3190
3191 * src/bison.s1: Test _MSDOS_, not MSDOS.
3192
31931996-07-30 Richard Stallman <rms@gnu.org>
3194
3195 * bison.simple: Comment change.
3196
3197 * bison.simple: Test _MSDOS_, not MSDOS.
3198
31991996-06-01 Richard Stallman <rms@gnu.org>
3200
3201 * 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:
3202 Insert `_' macro around many string constants.
3203
3204 * src/main.c:
3205 Insert `_' macro around many string constants.
3206
3207 (main): Call setlocale, bindtextdomain and textdomain.
3208
3209 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3210 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3211 [ENABLE_NLS]: Include libintl.h.
3212 [ENABLE_NLS] (gettext): Define.
3213 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3214 (N_, PACKAGE, LOCALEDIR): New macros.
3215
32161996-06-01 Richard Stallman <rms@gnu.org>
3217
3218 * POTFILES.in: New file.
3219
3220 * Makefile.in (allocate.o):
3221 Define target explicitly.
3222
3223 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3224 (LDFLAGS): Set to @LDFLAGS@.
3225 (configure): Run autoconf only if preceding `cd' succeeds.
3226 (bison.s1): Redirect output to temporary file then move the
3227 temporary to the target, rather than redirecting directly to bison.s1.
3228 (clean): Remove config.status and config.log.
3229 (distclean): Don't remove config.status here.
3230
32311996-05-12 Richard Stallman <rms@gnu.org>
3232
3233 * src/bison.s1:
3234 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3235
32361996-05-12 Richard Stallman <rms@gnu.org>
3237
3238 * bison.simple:
3239 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3240
32411996-05-11 Richard Stallman <rms@gnu.org>
3242
3243 * src/bison.s1 (__yy_memcpy):
3244 Really reorder the args, as was supposedly done on Feb 14 1995.
3245 (yyparse): Calls changed accordingly.
3246
32471996-05-11 Richard Stallman <rms@gnu.org>
3248
3249 * Makefile.in (dist): Don't use $(srcdir).
3250
3251 * bison.simple (__yy_memcpy):
3252 Really reorder the args, as was supposedly done on Feb 14 1995.
3253 (yyparse): Calls changed accordingly.
3254
32551996-01-27 Richard Stallman <rms@gnu.org>
3256
3257 * src/output.c (output_rule_data):
3258 Test YYERROR_VERBOSE in the conditional
3259 around the definition of ttyname.
3260
32611995-12-29 Richard Stallman <rms@gnu.org>
3262
3263 * src/bison.s1:
3264 Fix line numbers in #line commands.
3265
32661995-12-29 Richard Stallman <rms@gnu.org>
3267
3268 * bison.simple:
3269 Fix line numbers in #line commands.
3270
32711995-12-27 Richard Stallman <rms@gnu.org>
3272
3273 * src/bison.s1 (YYPARSE_PARAM_DECL):
3274 In C++, make it always null.
3275 (YYPARSE_PARAM_ARG): New macro.
3276 (yyparse): Use YYPARSE_PARAM_ARG.
3277
32781995-12-27 Richard Stallman <rms@gnu.org>
3279
3280 * bison.simple (YYPARSE_PARAM_DECL):
3281 In C++, make it always null.
3282 (YYPARSE_PARAM_ARG): New macro.
3283 (yyparse): Use YYPARSE_PARAM_ARG.
3284
32851995-11-29 Richard Stallman <rms@gnu.org>
3286
3287 * doc/bison.texinfo:
3288 Describe literal string tokens, %raw, %no_lines, %token_table.
3289
32901995-11-29 Daniel Hagerty <hag@gnu.org>
3291
3292 * doc/bison.texinfo: Fixed update date
3293
32941995-10-16 Richard Stallman <rms@gnu.org>
3295
3296 * src/version.c: Version 1.25.
3297
32981995-10-16 Richard Stallman <rms@gnu.org>
3299
3300 * NEWS: *** empty log message ***
3301
33021995-10-16 Richard Stallman <rms@gnu.org>
3303
3304 * doc/bison.1, doc/bison.rnh:
3305 Add new options.
3306
33071995-10-15 Richard Stallman <rms@gnu.org>
3308
3309 * src/vmsgetargs.c, src/getargs.c:
3310 Added -n, -k, and -raw switches.
3311 (noparserflag, toknumflag, rawtoknumflag): New variables.
3312
3313 * src/symtab.h (SALIAS):
3314 New #define for adding aliases to %token.
3315 (struct bucket): Added `alias' field.
3316
3317 * src/reduce.c (reduce_grammar):
3318 Revise error message.
3319 (print_notices): Remove final `.' from error message.
3320
3321 * src/reader.c (reader_output_yylsp):
3322 New function.
3323 (readgram): Use `#if 0' around code that accepted %command
3324 inside grammar rules: The documentation doesn't allow it,
3325 and it will fail since the %command processors scan for the next %.
3326 (parse_token_decl): Extended the %token
3327 declaration to allow a multi-character symbol as an alias.
3328 (parse_thong_decl): New function.
3329 (read_declarations): Added %thong declarations.
3330 (read_declarations): Handle NOOP to deal with allowing
3331 % declarations as another means to specify the flags.
3332 (readgram): Allow %prec prior to semantics embedded in a rule.
3333 (skip_to_char, read_declarations, copy_definition)
3334 (parse_token_decl, parse_start_decl, parse_type_decl)
3335 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3336 (get_type_name, copy_guard, copy_action, readgram)
3337 (get_type, packsymbols): Revised most error messages.
3338 Changed `fatal' to `warnxxx' to avoid aborting for error.
3339 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3340 (read_declarations): Improve the error message for
3341 an invalid character. Do not abort.
3342 (read_declarations, copy_guard, copy_action): Use
3343 printable_version to avoid unprintable characters in printed output.
3344 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3345 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3346 Allow the type of a non-terminal can be given
3347 more than once, as long as all specifications give the same type.
3348
3349 * src/output.c:
3350 (output_headers, output_trailers, output, output_gram)
3351 (output_rule_data): Implement noparserflag variable.
3352 Implement toknumflag variable.
3353 (output): Call reader_output_yylsp to output LTYPESTR.
3354
3355 * src/main.c (main):
3356 If reader sees an error, don't process the grammar.
3357 (fatals): Updated to not use VARARGS1.
3358 (printable_version, int_to_string, warn, warni, warns, warnss)
3359 (warnsss): New error reporting functions. Avoid abort for error.
3360
3361 * src/lex.h:
3362 Added THONG and NOOP for alias processing.
3363 Added SETOPT for the new code that allows setting options with %flags.
3364
3365 * src/lex.c:
3366 Include getopt.h. Add some extern decls.
3367 (safegetc): New function to deal with EOF gracefully.
3368 (literalchar); new function to deal with reading \ escapes.
3369 (lex): Use literalchar.
3370 (lex): Implemented "..." tokens.
3371 (literalchar, lex, parse_percent_token): Made tokenbuffer
3372 always contain the token. This includes growing the token
3373 buffer while reading an integer.
3374 (parse_percent_token): Replaced if-else statement with percent_table.
3375 (parse_percent_token): Added % declarations as another
3376 way to specify the flags -n, -l, and -r. Also added hooks for
3377 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3378 major changes to files.c.
3379 (lex) Retain in the incoming stream a character following
3380 an incorrect '/'.
3381 (skip_white_space, lex): Revised most error messages
3382 and changed fatal to warn to avoid aborting.
3383 (percent_table): Added %thong declarations.
3384
3385 * src/gram.h: Comment changes.
3386
3387 * src/files.c (openfiles, open_extra_files, done):
3388 Add faction flag
3389 and actfile file. Handle noparserflag. Both for -n switch.
3390
3391 * src/conflicts.c (resolve_sr_conflict):
3392 Remove use of alloca.
3393
33941995-06-01 Jim Meyering <meyering@gnu.org>
3395
3396 * doc/bison.texinfo: *** empty log message ***
3397
33981995-05-06 Richard Stallman <rms@gnu.org>
3399
3400 * src/bison.s1: Comment change.
3401
34021995-05-06 Richard Stallman <rms@gnu.org>
3403
3404 * bison.simple: Comment change.
3405
34061995-05-03 Richard Stallman <rms@gnu.org>
3407
3408 * src/version.c: Version now 1.24.
3409
3410 * src/bison.s1: Change distribution terms.
3411
3412 * src/version.c: Version now 1.23.
3413
34141995-05-03 Richard Stallman <rms@gnu.org>
3415
3416 * doc/bison.texinfo:
3417 Rewrite "Conditions for Using Bison".
3418 Update version to 1.24.
3419
34201995-05-03 Richard Stallman <rms@gnu.org>
3421
3422 * bison.simple: Change distribution terms.
3423
34241995-02-23 Richard Stallman <rms@gnu.org>
3425
3426 * src/files.c: Test __VMS_POSIX as well as VMS.
3427
34281995-02-14 Jim Meyering <meyering@gnu.org>
3429
3430 * src/bison.s1 (__yy_memcpy):
3431 Renamed from __yy_bcopy to avoid
3432 confusion. Reverse FROM and TO arguments to be consistent with
3433 those of memcpy.
3434
34351995-02-14 Jim Meyering <meyering@gnu.org>
3436
3437 * bison.simple (__yy_memcpy):
3438 Renamed from __yy_bcopy to avoid
3439 confusion. Reverse FROM and TO arguments to be consistent with
3440 those of memcpy.
3441
34421994-11-10 David J. MacKenzie <djm@gnu.org>
3443
3444 * NEWS: reformat
3445
3446 * NEWS: New file.
3447
3448 * Makefile.in (DISTFILES): Include NEWS.
3449
3450 * Makefile.in (DISTFILES):
3451 Include install-sh, not install.sh.
3452
3453 * configure.in: Update to Autoconf v2 macro names.
3454
34551994-10-05 David J. MacKenzie <djm@gnu.org>
3456
3457 * Makefile.in: fix typo
3458
3459 * Makefile.in (prefix, exec_prefix):
3460 Let configure set them.
3461
34621994-09-28 David J. MacKenzie <djm@gnu.org>
3463
3464 * Makefile.in: Set datadir to $(prefix)/share.
3465
34661994-09-15 Richard Stallman <rms@gnu.org>
3467
3468 * src/bison.s1:
3469 Update copyright notice and GPL version.
3470
34711994-09-15 Richard Stallman <rms@gnu.org>
3472
3473 * bison.simple:
3474 Update copyright notice and GPL version.
3475
34761994-07-12 Richard Stallman <rms@gnu.org>
3477
3478 * src/reduce.c, src/reader.c:
3479 entered into RCS
3480
34811994-05-05 David J. MacKenzie <djm@gnu.org>
3482
3483 * Makefile.in: entered into RCS
3484
34851994-03-26 Richard Stallman <rms@gnu.org>
3486
3487 * src/bison.s1: entered into RCS
3488
34891994-03-26 Richard Stallman <rms@gnu.org>
3490
3491 * bison.simple: entered into RCS
3492
34931994-03-25 Richard Stallman <rms@gnu.org>
3494
3495 * src/main.c: entered into RCS
3496
34971994-03-24 Richard Stallman <rms@gnu.org>
3498
3499 * src/conflicts.c: entered into RCS
3500
35011994-01-02 Richard Stallman <rms@gnu.org>
3502
3503 * Makefile.in: *** empty log message ***
3504
35051993-11-21 Richard Stallman <rms@gnu.org>
3506
3507 * src/bison.s1: *** empty log message ***
3508
35091993-11-21 Richard Stallman <rms@gnu.org>
3510
3511 * doc/bison.texinfo: entered into RCS
3512
3513 * doc/bison.texinfo: *** empty log message ***
3514
35151993-11-21 Richard Stallman <rms@gnu.org>
3516
3517 * bison.simple: *** empty log message ***
3518
35191993-10-25 David J. MacKenzie <djm@gnu.org>
3520
3521 * doc/bison.texinfo: *** empty log message ***
3522
35231993-10-19 Richard Stallman <rms@gnu.org>
3524
3525 * src/bison.s1: *** empty log message ***
3526
35271993-10-19 Richard Stallman <rms@gnu.org>
3528
3529 * bison.simple: *** empty log message ***
3530
35311993-10-14 Richard Stallman <rms@gnu.org>
3532
3533 * src/bison.s1: *** empty log message ***
3534
35351993-10-14 Richard Stallman <rms@gnu.org>
3536
3537 * bison.simple: *** empty log message ***
3538
35391993-09-14 David J. MacKenzie <djm@gnu.org>
3540
3541 * doc/bison.texinfo: *** empty log message ***
3542
35431993-09-13 Noah Friedman <friedman@gnu.org>
3544
3545 * Makefile.in: *** empty log message ***
3546
35471993-09-10 Richard Stallman <rms@gnu.org>
3548
3549 * src/conflicts.c: *** empty log message ***
3550
3551 * src/system.h: entered into RCS
3552
35531993-09-10 Richard Stallman <rms@gnu.org>
3554
3555 * doc/bison.1: entered into RCS
3556
35571993-09-06 Noah Friedman <friedman@gnu.org>
3558
3559 * src/version.c: entered into RCS
3560
35611993-09-06 Noah Friedman <friedman@gnu.org>
3562
3563 * Makefile.in: *** empty log message ***
3564
35651993-07-30 David J. MacKenzie <djm@gnu.org>
3566
3567 * Makefile.in: *** empty log message ***
3568
35691993-07-24 Richard Stallman <rms@gnu.org>
3570
3571 * src/bison.s1: *** empty log message ***
3572
35731993-07-24 Richard Stallman <rms@gnu.org>
3574
3575 * bison.simple: *** empty log message ***
3576
35771993-07-08 David J. MacKenzie <djm@gnu.org>
3578
3579 * Makefile.in: *** empty log message ***
3580
35811993-07-04 Richard Stallman <rms@gnu.org>
3582
3583 * src/bison.s1: *** empty log message ***
3584
35851993-07-04 Richard Stallman <rms@gnu.org>
3586
3587 * bison.simple: *** empty log message ***
3588
35891993-06-26 David J. MacKenzie <djm@gnu.org>
3590
3591 * src/getargs.c: entered into RCS
3592
35931993-06-26 David J. MacKenzie <djm@gnu.org>
3594
3595 * doc/bison.texinfo: *** empty log message ***
3596
3597 * doc/bison.1: New file.
3598
35991993-06-25 Richard Stallman <rms@gnu.org>
3600
3601 * src/getargs.c: New file.
3602
36031993-06-16 Richard Stallman <rms@gnu.org>
3604
3605 * src/bison.s1: *** empty log message ***
3606
36071993-06-16 Richard Stallman <rms@gnu.org>
3608
3609 * bison.simple: *** empty log message ***
3610
36111993-06-03 Richard Stallman <rms@gnu.org>
3612
3613 * src/bison.s1: New file.
3614
36151993-06-03 Richard Stallman <rms@gnu.org>
3616
3617 * doc/bison.texinfo: *** empty log message ***
3618
36191993-06-03 Richard Stallman <rms@gnu.org>
3620
3621 * bison.simple: New file.
3622
36231993-05-19 Richard Stallman <rms@gnu.org>
3624
3625 * doc/bison.texinfo: New file.
3626
36271993-05-07 Noah Friedman <friedman@gnu.org>
3628
3629 * Makefile.in: *** empty log message ***
3630
36311993-04-28 Noah Friedman <friedman@gnu.org>
3632
3633 * src/reader.c: *** empty log message ***
3634
36351993-04-23 Noah Friedman <friedman@gnu.org>
3636
3637 * src/alloc.h: entered into RCS
3638
36391993-04-20 David J. MacKenzie <djm@gnu.org>
3640
3641 * src/version.c: *** empty log message ***
3642
3643 * src/files.c, src/allocate.c:
3644 entered into RCS
3645
3646 * src/reader.c: *** empty log message ***
3647
3648 * src/lex.c: entered into RCS
3649
3650 * src/conflicts.c: New file.
3651
3652 * src/symtab.c: entered into RCS
3653
3654 * src/alloc.h: New file.
3655
3656 * src/LR0.c: entered into RCS
3657
36581993-04-18 Noah Friedman <friedman@gnu.org>
3659
3660 * src/reader.c: New file.
3661
3662 * src/version.c: *** empty log message ***
3663
36641993-04-18 Noah Friedman <friedman@gnu.org>
3665
3666 * Makefile.in: *** empty log message ***
3667
36681993-04-17 Noah Friedman <friedman@gnu.org>
3669
3670 * Makefile.in: *** empty log message ***
3671
36721993-04-15 Richard Stallman <rms@gnu.org>
3673
3674 * src/main.c, src/files.c:
3675 New file.
3676
36771993-04-15 Noah Friedman <friedman@gnu.org>
3678
3679 * configure.in: entered into RCS
3680
3681 * configure.in: *** empty log message ***
3682
3683 * configure.in: New file.
3684
36851993-04-14 Richard Stallman <rms@gnu.org>
3686
3687 * Makefile.in: New file.
3688
36891993-04-13 Richard Stallman <rms@gnu.org>
3690
3691 * src/version.c: New file.
3692
36931993-03-25 Richard Stallman <rms@gnu.org>
3694
3695 * src/output.c: entered into RCS
3696
36971992-09-25 Richard Stallman <rms@gnu.org>
3698
3699 * configure.bat: entered into RCS
3700
37011992-06-22 Richard Stallman <rms@gnu.org>
3702
3703 * src/vmsgetargs.c: entered into RCS
3704
37051992-06-22 Richard Stallman <rms@gnu.org>
3706
3707 * doc/bison.rnh: entered into RCS
3708
37091992-04-20 David J. MacKenzie <djm@gnu.org>
3710
3711 * README: entered into RCS
3712
37131992-01-22 Richard Stallman <rms@gnu.org>
3714
3715 * src/machine.h: entered into RCS
3716
37171991-12-21 Richard Stallman <rms@gnu.org>
3718
3719 * src/lalr.c, src/closure.c:
3720 entered into RCS
3721
37221991-12-20 Richard Stallman <rms@gnu.org>
3723
3724 * src/state.h: entered into RCS
3725
37261991-12-18 Richard Stallman <rms@gnu.org>
3727
3728 * src/print.c, src/nullable.c, src/derives.c:
3729 entered into RCS
3730
37311991-11-03 David J. MacKenzie <djm@gnu.org>
3732
3733 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3734 entered into RCS
3735
37361988-09-09 Richard Stallman <rms@gnu.org>
3737
3738 * src/bison.hairy: entered into RCS
3739
37401987-12-16 Richard Stallman <rms@gnu.org>
3741
3742 * REFERENCES: entered into RCS