]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/reduce.c (dump_grammar): Don't translate trace messages.
[bison.git] / ChangeLog
CommitLineData
6013d43f
AD
12001-11-28 Akim Demaille <akim@epita.fr>
2
3 * src/reduce.c (dump_grammar): Don't translate trace messages.
4
cb4956ee
AD
52001-11-28 Akim Demaille <akim@epita.fr>
6
7 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
8 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
9 as all tags are free'ed afterwards.
10 From Enrico Scholz.
11
648185ab
PE
122001-11-27 Paul Eggert <eggert@twinsun.com>
13
14 * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to
15 use alloca when we didn't want to, and vice versa.
16
68254a03
MA
172001-11-27 Marc Autret <autret_m@epita.fr>
18
19 * src/muscle_tab.c (muscle_init): Remove 'verbose' muscle initialization.
20 * src/output.c (prepare): Remove its update.
21
04d843a2
MA
222001-11-27 Marc Autret <autret_m@epita.fr>
23
24 * tests/torture.at [AT_DATA]: Remove YYERROR_VERBOSE definition.
25 Use %error-verbose.
26
d2079671 272001-11-27 Marc Autret <autret_m@epita.fr>
eeeb962b
MA
28
29 * src/bison.simple: Remove YYERROR_VERBOSE using.
30 Use %%error_verbose.
31 (yyparse): Likewise.
32 * src/output.c (prepare): Give its final value.
33 * src/muscle_tab.c (muscle_init): Init new muscle 'error_verbose'.
34 * src/getargs.h: Add its extern declaration.
35 * src/getargs.c (error_verbose_flag): New int.
36 (getargs): Update to catch new case.
37 * src/options.c (option_table): 'error-verbose' is a new option.
38 (shortopts): Update.
39
e0327bc8
AD
402001-11-27 Akim Demaille <akim@epita.fr>
41
42 * src/system.h: Use intl/libgettext.h.
43 * src/Makefile.am (INCLUDES): Add -I $(top_srcdir).
44
000f1a3c
AD
452001-11-27 Akim Demaille <akim@epita.fr>
46
47 * tests/torture.at (Exploding the Stack Size with Malloc):
48 s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/.
49
26cfe0be
AD
502001-11-27 Akim Demaille <akim@epita.fr>
51
52 * src/files.c: Include error.h.
53 Reported by Hans Aberg.
54
f6bd5427
MA
552001-11-26 Marc Autret <autret_m@epita.fr>
56
d2079671 57 * src/reader.c (parse_include_decl): New, not yet implemented.
f6bd5427
MA
58 (read_declarations): Add case tok_include.
59 * src/getargs.h (include): Add its extern definition.
60 * src/getargs.c (include): New const char *.
61 (getargs): Add case '-I'.
62 * src/options.c (option_table): Add include as command line and
63 percent option.
64 * src/lex.h (token_t): Add tok_include.
65
2ca209c1
AD
662001-11-26 Akim Demaille <akim@epita.fr>
67
68 * src/reader.c (readgram): Make sure rules for mid-rule actions
69 have a lineno equal to that of their host rule.
70 Reported by Hans Aberg.
71 * tests/regression.at (Rule Line Numbers): New.
72
0e41b407
AD
732001-11-26 Akim Demaille <akim@epita.fr>
74
75 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
76 size_ts.
77
782001-11-26 Akim Demaille <akim@epita.fr>
79
80 * src/complain.c, src/complain.h (error): Remove, provided by
81 lib/error.[ch].
82
e0c40012
AD
832001-11-26 Akim Demaille <akim@epita.fr>
84
85 * src/reader.c (read_declarations): Don't abort on tok_illegal,
86 issue an error message.
87 * tests/regression.at (Invalid %directive): New.
88 Reported by Hans Aberg.
89
5e147124
AD
902001-11-26 Akim Demaille <akim@epita.fr>
91
92 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
93 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
94
a034c8b8
AD
952001-11-26 Akim Demaille <akim@epita.fr>
96
97 * src/conflicts.c (conflicts_print): Don't complain at all when
98 there are no reduce/reduce conflicts, and as many shift/reduce
99 conflicts as expected.
100 * tests/regression.at (%expect right): Adjust.
101
c64a20f3
AD
1022001-11-23 Akim Demaille <akim@epita.fr>
103
104 * lib/alloca.c: Update, from fileutils.
105
5b0d29bb
AD
1062001-11-23 Akim Demaille <akim@epita.fr>
107
108 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
109
722c4bfe
AD
1102001-11-23 Akim Demaille <akim@epita.fr>
111
112 * src/system.h: Include alloca.h.
113 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
114
6255b435
AD
1152001-11-23 Akim Demaille <akim@epita.fr>
116
117 * src/print_graph.c (print_actions): Remove `rule', unused.
118 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
119 pacify GCC's signed < unsigned warnings.
120 * src/closure.c (itemsetsize): Likewise.
121 * src/reader.c (symbol_list_new): Static.
122
b29b2ed5
AD
1232001-11-23 Akim Demaille <akim@epita.fr>
124
125 Attaching lineno to buckets is stupid, since only one copy of each
126 symbol is kept, only the line of the first occurrence is kept too.
127
128 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
129 * src/reader.c (rline_allocated): Remove, unused.
130 (symbol_list): Have a `line' member.
131 (symbol_list_new): New.
132 (readgram): Use it.
133 * src/print.c (print_grammar): Output the rule line numbers.
134 * tests/regression.at (Solved SR Conflicts)
135 (Unresolved SR Conflicts): Adjust.
136 Reported by Hans Aberg.
137
a81b1d4a
MA
1382001-11-22 Marc Autret <autret_m@epita.fr>
139
140 * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0.
141
c1ecb3c1
MA
1422001-11-22 Marc Autret <autret_m@epita.fr>
143
144 * src/muscle_tab.c (muscle_init): Remove initialization of
145 skeleton muscle.
146 * src/output.c (output_master_parser): Do it here.
147
fbe01355
AD
1482001-11-20 Akim Demaille <akim@epita.fr>
149
150 * po/sv.po: New.
151 * configure.in (ALL_LINGUAS): Adjust.
152 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
153 longer contains strings to translate.
154
81e895c0
AD
1552001-11-19 Akim Demaille <akim@epita.fr>
156
157 * src/conflicts.c (conflicts_print): Add a missing \n.
158
6bb1878b
AD
1592001-11-19 Akim Demaille <akim@epita.fr>
160
161 * src/nullable.c (nullable_print): New.
162 (set_nullable): Call it when tracing.
163 Better locality of variables.
164
d9ec2d07
AD
1652001-11-19 Akim Demaille <akim@epita.fr>
166
167 * src/print.c (print_actions): Better locality of variables.
168
720e5c1b
AD
1692001-11-19 Akim Demaille <akim@epita.fr>
170
171 * src/derives.c (print_derives): Fix and enrich.
172 * src/closure.c (print_fderives): Likewise.
173
fb908786
AD
1742001-11-19 Akim Demaille <akim@epita.fr>
175
176 * src/closure.c (itemsetend): Remove, replaced with...
177 (itemsetsize): new.
178
125ecb56
AD
1792001-11-19 Akim Demaille <akim@epita.fr>
180
181 * src/LR0.c (kernel_end): Remove, replaced with...
182 (kernel_size): new.
183
d8cf039f
AD
1842001-11-19 Akim Demaille <akim@epita.fr>
185
186 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
187 to clarify.
188
7bec0760
AD
1892001-11-19 Akim Demaille <akim@epita.fr>
190
191 * src/closure.c (closure): Use arrays instead of pointers to clarify.
192
c87d4863
AD
1932001-11-19 Akim Demaille <akim@epita.fr>
194
195 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
196 trace messages.
197 * src/LR0.c: Likewise.
198 (allocate_itemsets): Use arrays instead of pointers to clarify.
199
9bfe901c
AD
2002001-11-19 Akim Demaille <akim@epita.fr>
201
202 * src/getargs.c (statistics_flag): Replace with...
203 (trace_flag): New.
204 (longopts): Accept --trace instead of --statistics.
205 * src/getargs.h, src/options.c: Adjust.
206 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
207 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
208
97db7bd4
AD
2092001-11-19 Akim Demaille <akim@epita.fr>
210
cc72668c 211 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
97db7bd4
AD
212 pointers to clarify the code.
213 (save_reductions, save_shifts): Factor common parts of alternatives.
214
2c5f66ed
AD
2152001-11-19 Akim Demaille <akim@epita.fr>
216
217 * src/LR0.c (new_state, get_state): Complete TRACE code.
218 * src/closure.c: Include `reader.h' to get `tags', needed by the
219 trace code.
220 Rename the conditional DEBUG as TRACE.
221 Output consistently TRACEs to stderr, not stdout.
222 * src/derives.c: Likewise.
223 * src/reduce.c: (inaccessable_symbols): Using if is better style
224 than goto.
225 Use `#if TRACE' instead of `#if 0' for tracing code.
226
300f275f
AD
2272001-11-19 Akim Demaille <akim@epita.fr>
228
229 * src/system.h (LIST_FREE, shortcpy): New.
230 * src/LR0.c: Use them.
231 * src/output.c (free_itemsets, free_reductions, free_shifts):
232 Remove, replaced by LIST_FREE.
233
f59c437a
AD
2342001-11-19 Akim Demaille <akim@epita.fr>
235
236 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
237 (REDUCTIONS_ALLOC): New.
238 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
239 allocation.
240
6986fd9e
AD
2412001-11-19 Akim Demaille <akim@epita.fr>
242
243 * src/LR0.c (new_state): Complete trace code.
244 * src/nullable.c (set_nullable): Don't translate traces.
245
4bc30f78
AD
2462001-11-19 Akim Demaille <akim@epita.fr>
247
248 * src/print_graph.c (print_core): Better locality of variables.
249 * src/print.c (print_core): Likewise.
250
08a946e0
AD
2512001-11-19 Akim Demaille <akim@epita.fr>
252
253 * src/vcg.c: You do the output, so you are responsible of the
254 handling of VCG syntax, in particular: use quotearg.
255 * src/print_graph.c: Don't.
256 (print_actions): Don't output the actions as part of the nodes,
257 since that's the job of the edges.
258 (print_state): Don't output by hand: fill the node description,
9bfe901c 259 and ask for its output.
08a946e0 260
f0473484
AD
2612001-11-19 Akim Demaille <akim@epita.fr>
262
cc72668c
AD
263 * src/bison.simple (yyparse): When verbosely reporting an error,
264 no longer put additional quotes around token names.
f0473484
AD
265 * tests/calc.at: Adjust.
266
e41dc700
AD
2672001-11-19 Akim Demaille <akim@epita.fr>
268
269 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
270 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
271 * src/output.c: Adjust.
272
652a871c
AD
2732001-11-19 Akim Demaille <akim@epita.fr>
274
275 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
276 (rule_t): this.
277 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
278
b2ed6e58
AD
2792001-11-19 Akim Demaille <akim@epita.fr>
280
281 * src/gram.h (rule_t): New.
282 (rule_table): New.
283 (rrhs, rlhs): Remove, part of state_t.
284 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
285 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
286 * src/reader.c, src/reduce.c: Adjust.
287
edad7067
AD
2882001-11-19 Akim Demaille <akim@epita.fr>
289
290 * src/reader.c (symbols_output): New, extracted from...
291 (packsymbols): Here.
292 (reader): Call it.
293
3feec034
AD
2942001-11-19 Akim Demaille <akim@epita.fr>
295
296 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
297 (maxrhs): this new function.
298
ddcd5fdf
AD
2992001-11-19 Akim Demaille <akim@epita.fr>
300
cc72668c 301 * src/lalr.c (F): New macro to access the variable F.
ddcd5fdf
AD
302 Adjust.
303
bb527fc2
AD
3042001-11-19 Akim Demaille <akim@epita.fr>
305
cc72668c 306 * src/lalr.h (LA): New macro to access the variable LA.
bb527fc2
AD
307 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
308 * src/lalr.c: Adjust.
309
a845a697
AD
3102001-11-19 Akim Demaille <akim@epita.fr>
311
312 * src/lalr.c (initialize_LA): Only initialize LA. Let...
313 (set_state_table): handle the `lookaheads' members.
314
f004bf6a
AD
3152001-11-19 Akim Demaille <akim@epita.fr>
316
cc72668c
AD
317 * src/lalr.h (lookaheads): Removed array, whose contents is now
318 a member of...
f004bf6a
AD
319 (state_t): this structure.
320 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
321 Adjust.
322
de326cc0
AD
3232001-11-19 Akim Demaille <akim@epita.fr>
324
cc72668c
AD
325 * src/lalr.h (consistent): Removed array, whose contents is now
326 a member of...
de326cc0
AD
327 (state_t): this structure.
328 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
329 Adjust.
330
90b4416b
AD
3312001-11-19 Akim Demaille <akim@epita.fr>
332
cc72668c
AD
333 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
334 contents are now members of...
90b4416b
AD
335 (state_t): this structure.
336 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
337 Adjust.
338
9703cc49
AD
3392001-11-19 Akim Demaille <akim@epita.fr>
340
341 * src/lalr.h (state_t): New.
342 (state_table): Be a state_t * instead of a core **.
343 (accessing_symbol): Remove, part of state_t.
344 * src/lalr.c: Adjust.
345 (set_accessing_symbol): Merge into...
346 (set_state_table): this.
347 * src/print_graph.c, src/conflicts.c: Adjust.
348
d803322e
AD
3492001-11-14 Akim Demaille <akim@epita.fr>
350
351 * tests/calc.at, tests/output.at, tests/regression.at,
352 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
353 now the tests are run in private dirs, therefore AC_CLEANUP and
354 family can be simplified to 0-ary.
355 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
356 use abs. path to find config.h.
357 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
358 stderr, there can be way too much random noise.
359 Instead pass -Werror to GCC and rely on the exit status.
360 Reported by Wolfram Wagner.
361
3d76b07d
AD
3622001-11-14 Akim Demaille <akim@epita.fr>
363
364 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
365 defined only if yyoverflow is defined, to avoid `warning: unused
366 variable `yyvs1''.
367 Reported by The Test Suite.
368
09b503c8
AD
3692001-11-14 Akim Demaille <akim@epita.fr>
370
371 * src/print.c: Include reduce.h.
372 Reported by Hans Aberg.
373
3742001-11-14 Akim Demaille <akim@epita.fr>
375
376 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
377 Revert a previous patch: these are really const.
378 * src/conflicts.c (conflict_report): Additional useless pair of
379 braces to pacify GCC's warnings for `if () if () {} else {}'.
380 * src/lex.c (parse_percent_token): Replace equal_offset with
381 arg_offset.
382 arg is const.
383 Be sure to strdup `arg' when used, since there is no reason for
384 token_buffer not to change.
385
0f37a994
AD
3862001-11-14 Akim Demaille <akim@epita.fr>
387
388 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
389 definition.
390 * src/main.c (main): Use them.
391 Suggested by Hans Aberg.
392
d39d93b8
AD
3932001-11-12 Akim Demaille <akim@epita.fr>
394
395 * src/system.h (ngettext): Now that we use ngettext, be sure to
396 provide a default definition when NLS are not used.
397
9edcd895
AD
3982001-11-12 Akim Demaille <akim@epita.fr>
399
400 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
401 Use @kbd to denote user input.
402 (Language and Grammar): ANSIfy the example.
403 Adjust its layout for info/notinfo.
404 (Location Tracking Calc): Output error messages to stderr.
405 Output locations in a more GNUtically correct way.
406 Fix a couple of Englishos.
407 Adjust @group/@end group pairs.
408
7da99ede
AD
4092001-11-12 Akim Demaille <akim@epita.fr>
410
411 %expext was not functioning at all.
412
413 * src/conflicts.c (expected_conflicts): Set to -1.
414 (conflict_report): Use ngettext.
415 (conflicts_print): Check %expect and make its violation an error.
416 * doc/bison.texinfo (Expect Decl): Adjust.
417 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
418 * tests/regression.at (%expect not enough, %expect right)
419 (%expect too much): New.
420
ba9dda1a
AD
4212001-11-12 Akim Demaille <akim@epita.fr>
422
423 * tests/regression.at (Conflicts): Rename as...
424 (Unresolved SR Conflicts): this.
425 (Solved SR Conflicts): New.
426
337c5bd1
AD
4272001-11-12 Akim Demaille <akim@epita.fr>
428
429 * src/reduce.c (print_results): Rename as...
430 (reduce_output): This.
431 Output to OUT, passed as argument, instead of output_obstack.
432 (dump_grammar): Likewise.
433 (reduce_free): New.
434 Also free V1.
435 (reduce_grammar): No longer call reduce_output, since...
436 * src/print.c (print_results): do it.
437 * src/main.c (main): Call reduce_free;
438
c73a41af
AD
4392001-11-12 Akim Demaille <akim@epita.fr>
440
441 * src/conflicts.c (print_reductions): Accept OUT as argument.
442 Output to it, not to output_obstack.
443 * src/print.c (print_actions): Adjust.
444
0df87bb6
AD
4452001-11-12 Akim Demaille <akim@epita.fr>
446
447 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
448 the result instead of using...
449 (src_total, rrc_total, src_count, rrc_count): Remove.
450 (any_conflicts): Remove.
451 (print_conflicts): Split into...
452 (conflicts_print, conflicts_output): New.
453 * src/conflicts.h: Adjust.
454 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 455 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
456 * tests/regression.at (Conflicts): New.
457 Reported by Tom Lane.
458
e4d3d4de
AD
4592001-11-12 Akim Demaille <akim@epita.fr>
460
461 * tests/regression.at (Invalid input): Remove, duplicate with
462 ``Invalid input: 1''.
463
6d7d248e
AD
4642001-11-12 Akim Demaille <akim@epita.fr>
465
466 * tests/torture.at (AT_DATA_STACK_TORTURE)
467 (Exploding the Stack Size with Alloca)
468 (Exploding the Stack Size with Malloc): New.
469
e9e4c321
AD
4702001-11-12 Akim Demaille <akim@epita.fr>
471
472 * src/bison.simple (YYSTACK_REALLOC): New.
473 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 474 Reported by Per Allansson.
e9e4c321 475
5f7e0832
AD
4762001-11-12 Pascal Bart <pascal.bart@epita.fr>
477
478 * src/bison.simple: Define type yystype instead of YYSTYPE, and
479 define CPP macro, which substitute YYSTYPE by yystype.
480 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
481 with yyltype/YYLTYPE. This allows inclusion of the generated
482 header within the parser if the compiler, such as GGC, accepts
483 multiple equivalent #defines.
484 From Akim.
485
e3f1699f
AD
4862001-11-05 Akim Demaille <akim@epita.fr>
487
488 * src/reader.c (symbols_output): New, extracted from...
489 (packsymbols): here.
490 (reader): Adjust.
491
65be0866
AD
4922001-11-05 Akim Demaille <akim@epita.fr>
493
494 * src/lex.c (parse_percent_token): s/quotearg/quote/.
495
e4d910bf
AD
4962001-11-05 Akim Demaille <akim@epita.fr>
497
498 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
499 pattern.
500
951366c1
AD
5012001-11-05 Akim Demaille <akim@epita.fr>
502
503 * src/options.h (struct option_table_struct): set_flags is void*.
504 * src/options.c (longopts): Support `--output' and `%output'.
505 (usage): Adjust.
506 * src/lex.h (tok_setopt): Remove, replaced with...
507 (tok_intopt, tok_stropt): these new guys.
508 * src/lex.c (getopt.h): Not needed.
509 (token_buffer, unlexed_token_buffer): Not const.
510 (percent_table): Promote `-' over `_' in directive names.
511 Active `%name-prefix', `file-prefix', and `output'.
512 (parse_percent_token): Accept possible arguments to directives.
513 Promote `-' over `_' in directive names.
514
d8988b2f
AD
5152001-11-04 Akim Demaille <akim@epita.fr>
516
517 * doc/bison.texinfo (Decl Summary): Split the list into
518 `directives for grammars' and `directives for bison'.
519 Sort'em.
520 Add description of `%name-prefix', `file-prefix', and `output'.
521 Promote `-' over `_' in directive names.
522 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
523 Simplify the description of `--name-prefix'.
524 Promote `-' over `_' in directive names.
525 Promote `--output' over `--output-file'.
526 Fix the description of `--defines'.
527 * tests/output.at: Exercise %file-prefix and %output.
528
6468d18e
AD
5292001-11-02 Akim Demaille <akim@epita.fr>
530
531 * doc/refcard.tex: Update.
532
6b7e85b9
AD
5332001-11-02 Akim Demaille <akim@epita.fr>
534
535 * src/symtab.h (SUNDEF): New.
536 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
537 stand for `uninitialized', instead of 0.
538 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
539 * src/lex.c (lex): Adjust.
540
541 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
542 Number it 0.
543 Let yylex return it instead of a plain 0.
544 Reported by Dick Streefland.
545
cd5aafcf
AD
5462001-11-02 Akim Demaille <akim@epita.fr>
547
548 * tests/regression.at (Mixing %token styles): New test.
549
037ca2f1
AD
5502001-11-02 Akim Demaille <akim@epita.fr>
551
552 * src/reader.c (parse_thong_decl): Formatting changes.
553 (token_translations_init): New, extracted from...
554 (packsymbols): Here.
555 Adjust.
556
270a173c
AD
5572001-11-01 Akim Demaille <akim@epita.fr>
558
559 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
560 Check that `9foo.y' produces correct cpp guards.
561 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
562 guards.
563 Reported by Wwp.
564
561f9a30
AD
5652001-11-01 Akim Demaille <akim@epita.fr>
566
567 * tests/regression.at (Invalid input: 2): New.
568 * src/lex.c (unlexed_token_buffer): New.
569 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
570 too.
571 Reported by Wwp.
572
f987e9d2
AD
5732001-11-01 Akim Demaille <akim@epita.fr>
574
575 * tests/calc.at: Catch up with 1.30.
576 * configure.in: Bump to 1.49a.
577 Adjust to newer Autotest.
578
0846f581
PB
5792001-10-19 Pascal Bart <pascal.bart@epita.fr>
580
581 * src/conflicts.c: Move global variables rrc_total and src_total ...
582 (print_conflicts): here.
583 * src/output.c (output): Free global variable user_toknums.
584 * src/lex.c (token_obstack): Become static.
585
3c1a79b3
AD
5862001-10-18 Akim Demaille <akim@epita.fr>
587
588 * tests/atlocal.in (GCC): Add.
589 * tests/calc.at: s/m4_match/m4_bmatch/.
590 s/m4_patsubst/m4_bpatsubst/.
591 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
592 * configure.in: AC_SUBST(GCC).
593
5d52e7d0
MA
5942001-10-14 Marc Autret <autret_m@epita.fr>
595
596 * src/options.c (create_long_option_table): Fix.
597
631aa1d3
AD
5982001-10-10 Akim Demaille <akim@epita.fr>
599
600 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
601
f6ec6d13
AD
6022001-10-04 Akim Demaille <akim@epita.fr>
603
604 * src/reader.c (parse_union_decl): Push the caracters in
605 union_obstack, not attrs_obstack.
606
342b8b6e
AD
6072001-10-04 Akim Demaille <akim@epita.fr>
608
609 Merge in the branch 1.29.
610
611 * src/reader.c (packsymbols): Use a temporary obstack for
612 `%%tokendef', since output_stack is already used elsewhere.
613
614 2001-10-02 Akim Demaille <akim@epita.fr>
615
616 Bump 1.29d.
617
618 2001-10-02 Akim Demaille <akim@epita.fr>
619
620 Version 1.29c.
621
622 2001-10-02 Akim Demaille <akim@epita.fr>
623
624 * tests/regression.at (Invalid CPP headers): New.
625 From Alexander Belopolsky.
626 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
627
628 2001-10-02 Akim Demaille <akim@epita.fr>
629
630 * tests/regression.at (Invalid input): New.
631 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
632 Reported by Shura.
633
634 2001-10-02 Akim Demaille <akim@epita.fr>
635
636 * tests/calc.at: Now that --debug works, the tests must be adjusted.
637
638 2001-10-02 Akim Demaille <akim@epita.fr>
639
640 * src/output.c (output_parser): Assert `skeleton'.
641 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
642 systems.
643 From Shura.
644
645 2001-10-01 Marc Autret <autret_m@epita.fr>
646
647 * src/lex.h: Echo modifications.
648 * src/lex.c (unlex): Parameter is now token_t.
649 From Hans Aberg.
650
651 2001-10-01 Marc Autret <autret_m@epita.fr>
652
653 * src/main.c: Include lex.h.
654 From Hans Aberg.
655
656 2001-09-29 Akim Demaille <akim@epita.fr>
657
658 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
659
660 2001-09-28 Akim Demaille <akim@epita.fr>
661
662 * tests/testsuite.at: Update to newer Autotest.
663 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
664
665 2001-09-27 Akim Demaille <akim@epita.fr>
666
667 Position independent wrapper.
668
669 * tests/bison: Remove.
670 * tests/bison.in: New.
671 * configure.in: Adjust.
672
673 2001-09-27 Paul Eggert <eggert@twinsun.com>
674
675 Port quotearg fixes from tar 1.13.24.
676
677 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
678 tm to be declared.
679 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
680 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
681
682 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
683 * m4/mbrtowc.m4: New file.
684 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
685 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
686
687 2001-09-27 Akim Demaille <akim@epita.fr>
688
689 Bump to 1.29c.
690
691 2001-09-27 Akim Demaille <akim@epita.fr>
692
693 Version 1.29b.
694
695 2001-09-25 Akim Demaille <akim@epita.fr>
696
697 * src/system.h: Include `xalloc.h'.
698 Remove it from the C files.
699 * src/files.c (output_files): Free the obstacks.
700 * src/lex.c (init_lex): Rename as...
701 (lex_init): this.
702 (lex_free): New.
703 * src/main.c (main): Use it.
704
705 2001-09-24 Marc Autret <autret_m@epita.fr>
706
707 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
708 to output informations in fout (FILE*).
709 (open_graph, close_graph): Likewise.
710 (output_graph, output_edge, output_node): Likewise.
711 * src/vcg.h: Update function prototypes.
712 * src/print_graph.c (print_graph): Open output graph file.
713 (print_actions): Adjust.
714 * src/files.h: Remove extern declaration.
715 * src/files.c: Remove graph_obstack declaration.
716 (open_files): Remove graph_obstack initialization.
717 (output_files): Remove graph_obstack saving.
718
719 2001-09-24 Marc Autret <autret_m@epita.fr>
720
721 * src/files.c (compute_output_file_names): Fix.
722
723 2001-09-24 Marc Autret <autret_m@epita.fr>,
724 Akim Demaille <akim@epita.fr>
725
726 * src/reader.c (reader): Remove call to free_symtab ().
727 * src/main.c (main): Call it here.
728 Include symtab.h.
729 * src/conflicts.c (initialize_conflicts): Rename as...
730 (solve_conflicts): this.
731 * src/print.c (print_core, print_actions, print_state)
732 (print_grammar): Dump to a file instead a `output_obstack'.
733 (print_results): Dump `output_obstack', and then proceed with the
734 FILE *.
735 * src/files.c (compute_output_file_names, close_files): New.
736 (output_files): Adjust.
737 * src/main.c (main): Adjust.
738
739 2001-09-23 Marc Autret <autret_m@epita.fr>
740
741 * src/files.c (compute_header_macro): Computes header macro name
742 from spec_defines_file when given.
743
744 2001-09-23 Marc Autret <autret_m@epita.fr>
745
746 * src/files.c (output_files): Add default extensions.
747
748 2001-09-22 Akim Demaille <akim@epita.fr>
749
750 * src/conflicts.c (finalize_conflicts): Rename as...
751 (free_conflicts): this.
752
753 2001-09-22 Akim Demaille <akim@epita.fr>
754
755 * src/gram.c (gram_free): Rename back as...
756 (dummy): this.
757 (output_token_translations): Free `token_translations'.
758 * src/symtab.c (free_symtab): Free the tag field.
759
760 2001-09-22 Akim Demaille <akim@epita.fr>
761
762 Remove `translations' as it is always set to true.
763
764 * src/gram.h: Adjust.
765 * src/reader.c (packsymbols, parse_token_decl): Adjust
766 * src/print.c (print_grammar): Adjust.
767 * src/output.c (output_token_translations): Adjust.
768 * src/lex.c (lex): Adjust.
769 * src/gram.c: Be sure the set pointers to NULL.
770 (dummy): Rename as...
771 (gram_free): this.
772
773 2001-09-22 Akim Demaille <akim@epita.fr>
774
775 * configure.in: Invoke AM_LIB_DMALLOC.
776 * src/system.h: Use dmalloc.
777 * src/LR0.c: Be sure to have pointers initialized to NULL.
778 (allocate_itemsets): Allocate kernel_items only if needed.
779
780 2001-09-22 Akim Demaille <akim@epita.fr>
781
782 * configure.in: Bump to 1.29b.
783 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
784 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
785 need xmalloc.c in calc.y.
786 From Pascal Bart.
787
788 2001-09-21 Akim Demaille <akim@epita.fr>
789
790 Version 1.29a.
791 * Makefile.maint, config/config.guess, config/config.sub,
792 * config/missing: Update from masters.
793 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
794 upon package.m4.
795 * configure.in (ALL_LINGUAS): Add `tr'.
796
797 2001-09-21 Akim Demaille <akim@epita.fr>
798
799 * tests/Makefile.am (package.m4): Move to...
800 ($(srcdir)/$(TESTSUITE)): here.
801
802 2001-09-20 Akim Demaille <akim@epita.fr>
803
804 * src/complain.c: No longer try to be standalone: use system.h.
805 Don't assume __STDC__ is defined to 1. Just test if it is defined.
806 * src/complain.h: Likewise.
807 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
808 Remove the unused variable `n'.
809 From Albert Chin-A-Young.
810
811 2001-09-18 Marc Autret <autret_m@epita.fr>
812
813 * doc/bison.1: Update.
814 * doc/bison.texinfo (Bison Options): Update --defines and --graph
815 descriptions.
816 (Option Cross Key): Update.
817 Add --graph.
818
819 2001-09-18 Marc Autret <autret_m@epita.fr>
820
821 * tests/regression.at: New test (comment in %union).
822
823 2001-09-18 Marc Autret <autret_m@epita.fr>
824
825 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
826 do that.
827 Reported by Keith Browne.
828
829 2001-09-18 Marc Autret <autret_m@epita.fr>
830
831 * tests/output.at: Add tests for --defines and --graph.
832
833 2001-09-18 Marc Autret <autret_m@epita.fr>
834
835 * tests/output.at: Removes tests of %{header,src}_extension features.
836
837 2001-09-18 Akim Demaille <akim@epita.fr>
838
839 * tests/Makefile.am (package.m4): New.
840 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
841 (_AT_CHECK_CALC_ERROR): Likewise.
842 Factor the `, ' part of verbose error messages.
843
844 2001-09-18 Marc Autret <autret_m@epita.fr>
845
846 * src/getargs.c (longopts): Declare --defines and --graph as options
847 with optional arguments.
848 * src/files.h: Add extern declarations.
849 * src/files.c (spec_graph_file, spec_defines_file): New.
850 (output_files): Update.
851 Remove CPP-outed code.
852
853 2001-09-18 Marc Autret <autret_m@epita.fr>
854
855 Turn off %{source,header}_extension feature.
856
857 * src/files.c (compute_exts_from_gf): Update.
858 (compute_exts_from_src): Update.
859 (output_files): CPP-out useless code.
860 * src/files.h: Remove {header,source}_extension extern declarations.
861 * src/reader.c (parse_dquoted_param): CPP-out.
862 (parse_header_extension_decl): Remove.
863 (parse_source_extension_decl): Remove.
864 (read_declarations): Remove cases tok_{hdrext,srcext}.
865 * src/lex.c (percent_table): Remove {header,source}_extension entries.
866 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
867
868 2001-09-10 Akim Demaille <akim@epita.fr>
869
870 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
871 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
872 (AT_CHECK_OUTPUT): this.
873 Merely check ls' exit status, its output is useless.
874
875 2001-09-10 Akim Demaille <akim@epita.fr>
876
877 * tests/calc.at: Use m4_match.
878 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
879
880 2001-09-10 Marc Autret <autret_m@epita.fr>,
881 Akim Demaille <akim@epita.fr>
882
883 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
884 enum color_e.
885 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
886 to `normal'.
887 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
888 * src/lex.h: Adjust prototype.
889 (token_t): Add `tok_undef'.
890 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
891 (parse_percent_token): Now returns token_t.
892 Add default statement in switch.
893 (lex): Separate `c' as an input variable, from the token_t result
894 part.
895 (unlexed): Is a token_t.
896
897 2001-09-10 Akim Demaille <akim@epita.fr>
898
899 * configure.in: Bump to 1.29a.
900
901 2001-09-07 Akim Demaille <akim@epita.fr>
902
903 Version 1.29.
904
905 2001-08-30 Akim Demaille <akim@epita.fr>
906
907 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
908 * m4/atconfig.m4: Remove.
909 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
910 * tests/bison: New.
911 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
912 m4_if, m4_patsubst, and m4_regexp.
913 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
914 `input' file instead of echo.
915
916 2001-08-29 Akim Demaille <akim@epita.fr>
917
918 Bump to 1.28e.
919
920 2001-08-29 Akim Demaille <akim@epita.fr>
921
922 Version 1.28d.
923
924 2001-08-29 Paul Eggert <eggert@twinsun.com>
925
926 * src/bison.simple (yyparse): Don't take the address of an
927 item before the start of an array, as that doesn't conform to
928 the C Standard.
929
930 2001-08-29 Robert Anisko <anisko_r@epita.fr>
931
932 * doc/bison.texinfo (Location Tracking Calc): New node.
933
934 2001-08-29 Paul Eggert <eggert@twinsun.com>
935
936 * src/output.c (output): Do not define const, as this now
937 causes more problems than it cures.
938
939 2001-08-29 Akim Demaille <akim@epita.fr>
940
941 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
942 the nodes.
943 Be sure to tag the `detailmenu'.
944
945 2001-08-29 Akim Demaille <akim@epita.fr>
946
947 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
948 download in a tmp dir.
949
950 2001-08-28 Marc Autret <autret_m@epita.fr>
951
952 * config/depcomp: New file.
953
954 2001-08-28 Marc Autret <autret_m@epita.fr>
955
956 * doc/bison.1 (mandoc): Adjust.
957 From Juan Manuel Guerrero.
958
959 2001-08-28 Marc Autret <autret_m@epita.fr>
960
961 * src/print_graph.c (print_state): Fix.
962
963 2001-08-27 Marc Autret <autret_m@epita.fr>
964
965 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
966 char * members.
967 Echo modifications to the functions prototypes.
968 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
969
970 2001-08-27 Marc Autret <autret_m@epita.fr>
971
972 * src/vcg.c: Include `xalloc.h'.
973 (add_colorentry): New.
974 (add_classname): New.
975 (add_infoname): New.
976 * src/vcg.h: Add new prototypes.
977
978 2001-08-27 Akim Demaille <akim@epita.fr>
979
980 * Makefile.maint: Sync. again with CVS Autoconf.
981
982 2001-08-27 Akim Demaille <akim@epita.fr>
983
984 * Makefile.maint: Formatting changes.
985 (po-update, cvs-update, update): New targets.
986 (AMTAR): Remove.
987
988 2001-08-27 Akim Demaille <akim@epita.fr>
989
990 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
991 * Makefile.maint: Sync. with CVS Autoconf.
992
993 2001-08-27 Marc Autret <autret_m@epita.fr>
994
995 * src/vcg.h (struct infoname_s): New.
996 (struct colorentry_s): New.
997 (graph_s): New fields {vertical,horizontal}_order in structure.
998 Add `infoname' field.
999 Add `colorentry' field;
1000 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
1001 (G_HORIZONTAL_ORDER): New.
1002 (G_INFONAME): New.
1003 (G_COLORENTRY): New.
1004 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
1005 Add output of `infoname'.
1006 Add output of `colorentry'.
1007
1008 2001-08-27 Marc Autret <autret_m@epita.fr>
1009
1010 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
1011 This one shadowed a global parameter.
1012
1013 2001-08-24 Marc Autret <autret_m@epita.fr>
1014
1015 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
1016 instead of `unsigned'.
1017 (print_state): Do not call obstack_object_size () in obstack_grow ()
1018 to avoid macro variables shadowing.
1019
1020 2001-08-23 Marc Autret <autret_m@epita.fr>
1021
1022 * src/lex.c (percent_table): Typo: s/naem/name/.
1023 Add graph option.
1024 Normalize new options declarations.
1025
1026 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
1027
1028 * tests/suite.at: Exercise %header_extension and %source_extension.
1029
1030 2001-08-16 Marc Autret <autret_m@epita.fr>
1031
1032 * src/reader.c (parse_dquoted_param): New.
1033 (parse_header_extension_decl): Use it.
1034 (parse_source_extension_decl): Likewise.
1035
1036 2001-08-16 Marc Autret <autret_m@epita.fr>
1037
1038 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
1039 (get_xxxx_str): Use assert () instead of complain ().
1040 Remove return invokations in default cases.
1041 (get_decision_str): Modify default behaviour. Remove second argument.
1042 Echo modifications on calls.
1043 (output_graph): Fix.
1044
1045 2001-08-16 Marc Autret <autret_m@epita.fr>
1046
1047 * src/getargs.c (usage): Update with ``-g, --graph''.
1048
1049 2001-08-16 Marc Autret <autret_m@epita.fr>
1050
1051 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
1052 (Option Cross Key): Likewise.
1053 * doc/bison.1: Update.
1054
1c8c2190
PB
10552001-09-25 Pascal Bart <pascal.bart@epita.fr>
1056
1057 * src/output.c (output_master_parser): Don't finish action_obstack.
1058 (output_parser): Don't care about the muscle action, here.
1059 (prepare): Copy the action_obstack in the action muscle.
1060 (output): Free action_obstack.
1061
180d45ba
PB
10622001-09-23 Pascal Bart <pascal.bart@epita.fr>
1063
1064 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
1065 will contain `%union' declaration.
1066 (parse_union_decl): Delete #line directive output.
1067 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
1068 informations about %union.
1069 (parse_union_decl): Copy the union_obstack in the muscle stype.
1070 * src/bison.simple: Add new #line directive.
1071 Add typdef %%stype YYSTYPE.
1072
c51d1a19
PB
10732001-09-23 Pascal Bart <pascal.bart@epita.fr>
1074
1075 * src/bison.simple: Add new `#line' directive.
1076
6f9344da
PB
10772001-09-22 Pascal Bart <pascal.bart@epita.fr>
1078
1079 * src/bison.simple: New `#line' directive.
1080 * src/output.c (output_parser): Support new dynamic muscle input_line.
1081
652def80
MA
10822001-09-22 Marc Autret <autret_m@epita.fr>
1083
1084 * src/output.c (output_master_parser): New.
1085 (output_parser): Be more re-entrant.
1086
25b222fa
MA
10872001-09-21 Marc Autret <autret_m@epita.fr>
1088
1089 * src/reader.c (copy_definition, parse_union_decl): Update and use
1090 `linef' muscle.
1091 (copy_action): Likewise.
1092 Use obstack_1grow ().
1093 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
1094
6bc35ae5
MA
10952001-09-21 Marc Autret <autret_m@epita.fr>
1096
1097 * src/options.c (option_table): Adjust.
1098 * src/lex.c (parse_percent_token): Fix.
1099
c0629aa1
PB
11002001-09-20 Pascal Bart <pascal.bart@epita.fr>
1101
1102 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 1103
82b6d266
PB
11042001-09-20 Pascal Bart <pascal.bart@epita.fr>
1105
1106 * src/lex.c (parse_percent_token): Change type of variable `tx', which
1107 is now an option_table_struct*.
1108 (option_strcmp): New function option_strcmp.
1109 (parse_percent_token): Call option_strcmp.
1110 * src/getargs.c (xalloc.h, options.h): Include it.
1111 (getargs): Call create_long_option_table.
1112 (getargs): Free longopts at the end of the function.
1113 (shortopts): Move in options.c.
1114 * src/options.c (create_long_option_table): New function. Convert
1115 information from option_table to option structure.
1116 * src/reader.c (options.h): Include it.
1117
1118 * src/Makefile.am: Adjust.
1119 * src/options.c (option_table): Create from longopts and percent_table.
1120 * src/getargs.c (longopts): Delete.
1121 * src/lex.c (struct percent_table_struct): Delete.
1122 (percent_table): Delete.
1123 (options.h): Include it.
1124 * src/options.c: Create.
1125 * src/options.h: Create.
1126 Declare enum opt_access_e.
1127 Define struct option_table_struct.
1128
75f5aaea
MA
11292001-09-20 Marc Autret <autret_m@epita.fr>
1130
1131 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
1132 sections of Bison.
1133
f508cb0a
PB
11342001-09-19 Pascal Bart <pascal.bart@epita.fr>
1135
1136 * src/bison.simple: s/%%filename/%%skeleton.
1137 * src/muscle_tab.c (getargs.h): Include it.
1138 (muscle_init): Insert new muscle skeleton.
1139
13105fc1
PB
11402001-09-18 Pascal Bart <pascal.bart@epita.fr>
1141
1142 * src/output.c (output_parser): Delete unused variable actions_dumped.
1143
b0c4483e
PB
11442001-09-07 Pascal Bart <pascal.bart@epita.fr>
1145
1146 * src/output.c (output): Delete call to reader_output_yylsp.
1147 * src/reader.c (reader): Likewise.
1148 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 1149
11d82f03
MA
11502001-09-02 Marc Autret <autret_m@epita.fr>
1151
1152 * src/reader.c: Include muscle_tab.h.
1153 (parse_union_decl): Update.
1154 (parse_macro_decl): Rename parse_muscle_decl.
1155 Update to use renamed functions and variable.
1156 (read_declarations, copy_action, read_additionnal_code, : Updated
1157 with correct variables and functions names.
1158 (packsymbols, reader): Likewise.
342b8b6e 1159
11d82f03 1160 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 1161
11d82f03
MA
1162 * src/output.c: Include muscle_tab.h
1163 In all functions using macro_insert, change by using muscle_insert ().
1164 (macro_obstack): Rename muscle_obstack.
1165 Echo modifications in the whole file.
1166 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1167 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1168 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1169
1170 * src/muscle_tab.h: Update double inclusion macros.
1171 (macro_entry_s): Rename muscle_entry_s.
1172 Update prototypes.
342b8b6e 1173
11d82f03
MA
1174 * src/muscle_tab.c: Include muscle_tab.h.
1175 Rename macro_tabble to muscle_table.
1176 (mhash1, mhash2, mcmp): Use muscle_entry.
1177 (macro_init): Rename muscle_init. Update.
1178 (macro_insert): Rename muscle_insert. Update.
1179 (macro_find): Rename muscle_find. Update.
1180
1181 * src/main.c: Include muscle_tab.h.
1182 (main): Call muscle_init ().
1183 * src/Makefile.am (bison_SOURCES): Echo modifications.
1184
93a37297
MA
11852001-09-02 Marc Autret <autret_m@epita.fr>
1186
f753cd62 1187 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 1188
f753cd62
MA
1189 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1190
11912001-09-02 Marc Autret <autret_m@epita.fr>
1192
1193 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1194
682d48cd
PB
11952001-09-01 Pascal Bart <pascal.bart@epita.fr>
1196
342b8b6e 1197 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1198 filename.
1199
087c8fda
MA
12002001-09-01 Marc Autret <autret_m@epita.fr>
1201
1202 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1203 to an explicit value to activate the feature. We do it here.
1204
dda680cb
PB
12052001-08-31 Pascal Bart <pascal.bart@epita.fr>
1206
1207 * src/output.c (prepare): Delete the `filename' muscule insertion.
1208 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1209 (parse_union_decl): Likewise.
1210 * src/macrotab.c (macro_init): Initialize filename by infile.
1211
9e644e64
MA
12122001-08-31 Marc Autret <autret_m@epita.fr>
1213
1214 * src/bison.simple (YYLSP_NEEDED): New definition.
1215 * src/output.c (prepare): Add macro insertion of `locations_flag'
1216
17da6427
PB
12172001-08-31 Pascal Bart <pascal.bart@epita.fr>
1218
1219 * src/output.c (prepare): Delete insertion of previous muscles,
1220 and insert the `prefix' muscles.
1221 * src/macrotab.c (macro_init): Likewise.
1222 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1223 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1224 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1225 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1226 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1227 name_prefix.
1228
e8cb70b9
PB
12292001-08-31 Pascal Bart <pascal.bart@epita.fr>
1230
1231 * src/main.c (main): Standardize.
1232 * src/output.c (output_table_data, output_parser): Likewise.
1233 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1234
63c2d5de
MA
12352001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1236
342b8b6e 1237 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1238 %%epilogue.
1239 * src/output.c (output): Rename %%declarations to %%prologue.
1240 * src/bison.simple: Echo modifications.
342b8b6e 1241
d8cb5183
MA
12422001-08-31 Marc Autret <autret_m@epita.fr>
1243
1244 * src/reader.c (readgram): CleanUp.
1245 (output_token_defines): Likewise.
1246 (packsymbols): Likewise.
1247 (reader): Likewise.
1248 * src/output.c (output): CPP-out useless code.
1249
6c686258
PB
12502001-08-31 Pascal Bart <pascal.bart@epita.fr>
1251
342b8b6e 1252 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1253 output_trailers and output_headers.
1254 * src/output.h: Remove obsolete functions prototypes of output_headers
1255 and output_trailers.
1256
8f451ef7
PB
12572001-08-30 Pascal Bart <pascal.bart@epita.fr>
1258
1259 * src/main.c: Include macrotab.h.
342b8b6e 1260 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1261 Adjust functions prototypes.
1262 * src/macrotab.c (macro_insert): Constify key and value.
1263 (macro_find): Constify key.
1264 (macro_insert): Include 'xalloc.h'
1265 (macro_insert): Use XMALLOC.
1266 (macro_find): Constify return value.
1267 * src/output.c (output_table_data): Rename table to table_data.
1268 (output_parser): Constify macro_key, macro_value.
1269
997b6fd0 12702001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1271
1272 * src/reader.c (parse_skel_decl): New.
342b8b6e 1273 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1274 * src/lex.h (token_t): New token `tok_skel'.
1275 * src/lex.c (percent_table): Add skeleton option entry.
1276 Standardize.
1277
ff48177d
MA
12782001-08-29 Marc Autret <autret_m@epita.fr>
1279
1280 * src/bison.simple: Add %%user_code directive at the end.
1281 * src/reader.c (read_additionnal_code): New.
1282 (reader): Use it.
1283 * src/output.c (output_program): Remove.
1284 (output): Update.
1285
b33160bf
MA
12862001-08-28 Marc Autret <autret_m@epita.fr>
1287
1288 * src/output.c (output_actions): Clean up.
4e5caae2 1289 (output_gram): CPP-out useless code.
b33160bf
MA
1290 * src/reader.c (reader): Clean up, CPP-out useless code.
1291
d1a2daf7
PB
12922001-08-28 Pascal Bart <pascal.bart@epita.fr>
1293
342b8b6e 1294 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1295 directive.
d1a2daf7
PB
1296 * src/bison.simple: Add `%%definitions'.
1297
2b763dfe
MA
12982001-08-28 Marc Autret <autret_m@epita.fr>
1299
1300 * config/depcomp: New file.
1301
f1a87ef6
PE
13022001-08-27 Paul Eggert <eggert@twinsun.com>
1303
1304 * src/bison.simple (yyparse): Don't take the address of an
1305 item before the start of an array, as that doesn't conform to
1306 the C Standard.
1307
82e236e2
RA
13082001-08-27 Robert Anisko <robert.anisko@epita.fr>
1309
f1a87ef6 1310 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1311 obstack. It was done too late here.
1312
1313 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1314 completely wrong.
1315 (reader): Initialize the macro obstack here, since we need it to grow
1316 '%define' directives.
1317
1318 * src/reader.h: Declare the macro obstack as extern.
1319
b0cfa28a
RA
13202001-08-27 Robert Anisko <robert.anisko@epita.fr>
1321
1322 * src/output.c (output_parser): Fix. Store single '%' characters in
1323 the output obstack instead of throwing them away.
1324
6fc74234
AD
13252001-08-27 Akim Demaille <akim@epita.fr>
1326
1327 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1328
9c76d118
RA
13292001-08-25 Robert Anisko <robert.anisko@epita.fr>
1330
1331 * lib/Makefile.am: Adjust.
1332
a8289c62
RA
13332001-08-25 Robert Anisko <robert.anisko@epita.fr>
1334
1335 * src/bison.simple: Update and add '%%' directives.
1336
b6610515
RA
13372001-08-25 Robert Anisko <robert.anisko@epita.fr>
1338
1339 * src/reader.c (reader): Remove calls to 'output_headers' and
1340 'output_trailers'. Remove some C output.
1341 (readgram): Disable a piece of code that was writing a default
1342 definition for 'YYSTYPE'.
1343 (reader_output_yylsp): Remove.
1344 (packsymbols): Output token defintions to a macro.
1345 (copy_definition): Disable C output.
6fc74234 1346
b6610515
RA
1347 * src/reader.c (parse_macro_decl): New function used to parse macro
1348 declarations.
1349 (copy_string2): Put the body of copy_string into this new function.
1350 Add a parameter to let the caller choose whether he wants to copy the
1351 string delimiters or not.
1352 (copy_string): Be a simple call to copy_string2 with the last argument
1353 bound to true.
1354 (read_declarations): Add case for macro definition.
1355 (copy_identifier): New.
6fc74234 1356 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1357 rather than lex.
1358
26f609ff
RA
13592001-08-25 Robert Anisko <robert.anisko@epita.fr>
1360
1361 * src/output.c (prepare): Add prefixed names.
1362 (output_parser): Output semantic actions.
1363 (output_parser): Fix bug on '%%line' directives.
6fc74234 1364
26f609ff
RA
1365 * src/output.c (output_headers): Remove. The C code printed by this
1366 function should now be in the skeletons.
1367 (output_trailers): Remove.
1368 (output): Disable call to 'reader_output_yylsp'.
1369 (output_rule_data): Do not output tables to the table obstack.
1370
1371 * src/output.c: Remove some C dedicated output.
1372 Improve the use of macro and output obstacks.
1373 (output_defines): Remove.
6fc74234 1374
26f609ff
RA
1375 * src/output.c (output_token_translations): Associate 'translate'
1376 table with a macro. No output to the table obstack.
1377 (output_gram): Same for 'rhs' and 'prhs'.
1378 (output_stos): Same for 'stos'.
1379 (output_rule_data): Same for 'r1' and 'r2'.
1380 (token_actions): Same for 'defact'.
1381 (goto_actions): Same for 'defgoto'.
1382 (output_base): Same for 'pact' and 'pgoto'.
1383 (output_table): Same for 'table'.
1384 (output_check): Same for 'check'.
6fc74234 1385
26f609ff
RA
1386 * src/output.c (output_table_data): New function.
1387 (output_short_table): Remove.
1388 (output_short_or_char_table): Remove.
6fc74234 1389
26f609ff
RA
1390 * src/output.c (output_parser): Replace most of the skeleton copy code
1391 with something new. Skeletons are now processed character by character
1392 rather than line by line, and Bison looks for '%%' macros. This is the
1393 first step in making Bison's output process (a lot) more flexible.
1394 (output_parser): Use the macro table.
1395
6f43b113
RA
13962001-08-25 Robert Anisko <robert.anisko@epita.fr>
1397
1398 * src/main.c (main): Initialize the macro table.
1399
dd3127cf
RA
14002001-08-25 Robert Anisko <robert.anisko@epita.fr>
1401
1402 * src/lex.c (percent_table): Add tok_define.
1403 * src/lex.h: Add tok_define.
1404
aa321494
RA
14052001-08-25 Robert Anisko <robert.anisko@epita.fr>
1406
1407 * src/macrotab.c: New file.
1408 * src/macrotab.h: New file.
1409 * src/Makefile.am: Update.
1410
68bd3b6b
RA
14112001-08-25 Robert Anisko <robert.anisko@epita.fr>
1412
1413 * lib/hash.c: New file.
1414 * lib/hash.h: New file.
1415 * lib/Makefile.am: Update.
1416
45f8dd1e
AD
14172001-08-15 Akim Demaille <akim@epita.fr>
1418
1419 Version 1.28c.
1420
40a64a7a 14212001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1422
1423 * src/reader.c (readgram): Indent output macro YYSTYPE.
1424 (packsymbols): Likewise.
1425 (output_token_defines): Likewise.
1426 * src/files.c: Standardize.
1427 (compute_header_macro): New.
1428 (defines_obstack_save): New. Use compute_header_macro.
1429 (output_files): Update. Use defines_obstack_save.
1430
f9a8293a
AD
14312001-08-15 Akim Demaille <akim@epita.fr>
1432
1433 * doc/bison.texinfo (Table of Symbols): Document
1434 YYSTACK_USE_ALLOCA.
1435
150ca7a7
AD
14362001-08-15 Akim Demaille <akim@epita.fr>
1437
1438 * missing: Update from CVS Automake.
1439 * config/config.guess, config/config.sub, config/texinfo.tex:
1440 Update from gnu.org.
1441
69b5cec4
AD
14422001-08-15 Akim Demaille <akim@epita.fr>
1443
1444 * Makefile.maint: Sync with CVS Autoconf.
1445
f2b5126e
PB
14462001-08-14 Pascal Bart <pascal.bart@epita.fr>
1447
69b5cec4 1448 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1449 `fdl.texi'.
1450 * doc/fdl.texi: Add to package.
1451
4ecbf796
MA
14522001-08-14 Marc Autret <autret_m@epita.fr>
1453
1454 Turn on %{source,header}_extension features.
1455
69b5cec4 1456 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1457 source_extension.
1458 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1459 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1460 between options.
1461
95fb5662
MA
14622001-08-14 Marc Autret <autret_m@epita.fr>
1463
1464 * src/files.c (compute_base_names): Add extensions computing when
1465 `--file-prefix' used.
1466 Standardize function calls.
1467
78d09da9
MA
14682001-08-13 Marc Autret <autret_m@epita.fr>
1469
69b5cec4 1470 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1471 defining it (defined but null disables alloca).
1472
5a009f2c
MA
14732001-08-13 Marc Autret <autret_m@epita.fr>
1474
1475 * src/bison.simple (_yy_memcpy): CPP reformat.
1476
1e41465a
PB
14772001-08-13 Pascal Bart <pascal.bart@epita.fr>
1478
1479 * tests/atconfig.in (CPPFLAGS): Fix.
1480
c67a198d
PB
14812001-08-10 Pascal Bart <pascal.bart@epita.fr>
1482
79282c6c 1483 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1484 `gpl.texi'.
1485 * doc/gpl.texi: Add to package.
1486
09a6de7e
MA
14872001-08-10 Marc Autret <autret_m@epita.fr>
1488
1489 * src/print_graph.h: Fix.
1490 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1491
b77b9ee0
AD
14922001-08-10 Akim Demaille <akim@epita.fr>
1493
1494 * src/system.h: Provide default declarations for stpcpy, strndup,
1495 and strnlen.
1496
3e259915
MA
14972001-08-10 Robert Anisko <anisko_r@epita.fr>
1498
1499 * doc/bison.texinfo (Locations): Update @$ stuff.
1500
ca96bc2d
MA
15012001-08-09 Robert Anisko <anisko_r@epita.fr>
1502
1503 * src/bison.simple (YYLLOC_DEFAULT): Update.
1504 (yyparse): Adjust.
1505
fdc6758b
MA
15062001-08-08 Marc Autret <autret_m@epita.fr>
1507
b77b9ee0 1508 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1509 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1510 Reported by Fabrice Bauzac.
957d4dbf 1511
600cad3b
MA
15122001-08-08 Marc Autret <autret_m@epita.fr>
1513
1514 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1515 * src/vcg.c (output_node): Fix.
1516 * src/vcg.h: Cleanup.
1517 * src/print_graph.c: Add comments.
b77b9ee0 1518 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1519 the VCG graph output.
b77b9ee0 1520 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1521 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1522 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1523 blue.
1524 Get the current node name and node_obstack by argument.
1525 (node_obstack): New variable.
1526 (print_state): Manage node_obstack.
1527 (print_core): Use node_obstack given by argument.
1528 A node is not only computed here but in print_actions also.
1529 (print_graph): CPP out useless code instead of commenting it.
1530
976e528f
AD
15312001-08-07 Pascal Bart <pascal.bart@epita.fr>
1532
1533 * tests/atconfig.in (CPPFLAGS): Fix.
1534
20e8e5ca
AD
15352001-08-07 Akim Demaille <akim@epita.fr>
1536
1537 * src/print_graph.c (quote): New.
1538 (print_core): Use it.
1539
957d4dbf 15402001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1541
3e3da797
AD
1542 * src/vcg.c (complain.h): Include it.
1543 Unepitaize `return' invocations.
c4b66126 1544 [NDEBUG] (main): Remove.
79282c6c 1545 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1546 * src/files.c (open_files): Initialize graph_obstack.
1547 * src/print_graph.c (print_actions): CPP out useless code.
1548 (print_core): Don't output the last `\n' in labels.
1549 Use `quote'.
1550 * src/files.c (output_files): Output the VCG file.
1551 * src/main.c (main): Invoke print_graph ();
3e3da797 1552
957d4dbf 15532001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1554
1555 Automaton VCG graph output.
1556 Using option ``-g'' or long option ``--graph'', you can generate
1557 a gram_filename.vcg file containing a VCG description of the LALR (1)
1558 automaton of your grammar.
1559
1560 * src/main.c: Call to print_graph() function.
1561 * src/getargs.h: Update.
1562 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1563 (graph_flag): New flag.
1564 (longopts): Update.
1565 (getargs): Add case `g'.
1566 * src/files.c (graph_obstack): New obstack struct.
1567 (open_files): Initialize new obstack.
1568 (output_files): Saves graph_obstack if required.
1569 * src/files.h (graph_obstack): New extern declaration.
1570 * src/Makefile.am: Add new source files.
1571
957d4dbf 15722001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1573
1574 * src/print_graph.c, src/print_graph.h (graph): New.
1575 * src/vcg.h: New file.
1576 * src/vcg.c: New file, VCG graph handling.
1577
7333d403
AD
15782001-08-06 Marc Autret <autret_m@epita.fr>
1579
1580 Add of %source_extension and %header_extension which specify
1581 the source or/and the header output file extension.
1582
1583 * src/files.c (compute_base_names): Remove initialisation of
1584 src_extension and header_extension.
1585 (compute_exts_from_gf): Update.
1586 (compute_exts_from_src): Update.
1587 (output_files): Update.
1588 * src/reader.c (parse_header_extension_decl): New.
1589 (parse_source_extension_decl): New.
1590 (read_declarations): New case statements for the new tokens.
1591 * src/lex.c (percent_table): Add entries for %source_extension
1592 and %header_extension.
1593 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1594
84163231
AD
15952001-08-06 Marc Autret <autret_m@epita.fr>
1596
1597 * configure.in: Bump to 1.28c.
1598 * doc/bison.texinfo: Texinfo thingies.
1599
8303fc42
AD
16002001-08-04 Pascal Bart <pascal.bart@epita.fr>
1601
1602 * tests/atconfig.in (CPPFLAGS): Add.
1603 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1604
70a84437
AD
16052001-08-03 Akim Demaille <akim@epita.fr>
1606
1607 Version 1.28b.
1608
2ce10144
AD
16092001-08-03 Akim Demaille <akim@epita.fr>
1610
1611 * tests/Makefile.am (check-local): Ship testsuite.
1612 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1613 Include `string.h'.
1614
1e3e4bc1
AD
16152001-08-03 Akim Demaille <akim@epita.fr>
1616
1617 * configure.in: Try using -Wformat when compiling.
1618
42b45b7f
AD
16192001-08-03 Akim Demaille <akim@epita.fr>
1620
1621 * configure.in: Bump to 1.28b.
1622
8f13fe33
AD
16232001-08-03 Akim Demaille <akim@epita.fr>
1624
1625 * src/complain.c: Adjust strerror_r portability issues.
1626
b37ba92c
AD
16272001-08-03 Akim Demaille <akim@epita.fr>
1628
1629 Version 1.28a.
1630
b0ce6046
AD
16312001-08-03 Akim Demaille <akim@epita.fr>
1632
1633 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1634 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1635 * src/getargs.c: Include complain.h.
1636 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1637 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1638
d01c415b
AD
16392001-08-03 Akim Demaille <akim@epita.fr>
1640
1641 * src/reader.c (readgram): Display hidden chars in error messages.
1642
459dd1a6
AD
16432001-08-03 Akim Demaille <akim@epita.fr>
1644
1645 Update to gettext 0.10.39.
1646
53b74c0c
AD
16472001-08-03 Akim Demaille <akim@epita.fr>
1648
1649 * lib/strspn.c: New.
1650
234a3be3
AD
16512001-08-01 Marc Autret <autret_m@epita.fr>
1652
1653 * doc/bison.texinfo: Update.
1654 * doc/bison.1 (mandoc): Update.
1655 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1656 * src/files.c: Support output files extensions computing.
1657 (src_extension): New static variable.
1658 (header_extension): New static variable.
1659 (tr): New function.
1660 (get_extension_index): New function, gets the index of an extension
1661 filename in a string.
1662 (compute_exts_from_gf): New function, computes extensions from the
1663 grammar file extension.
1664 (compute_exts_from_src): New functions, computes extensions from the
1665 C source file extension, file given by ``-o'' option.
1666 (compute_base_names): Update.
1667 (output_files): Update.
1668
847bf1f5
AD
16692001-08-01 Robert Anisko <anisko_r@epita.fr>
1670
d995fee7 1671 * doc/bison.texi: Document @$.
847bf1f5
AD
1672 (Locations): New section.
1673
d074a105
AD
16742001-07-18 Akim Demaille <akim@epita.fr>
1675
1676 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1677 * config/prev-version.txt, config/move-if-change: New.
1678 * Makefile.am: Adjust.
1679
3419715d
AD
16802001-07-08 Pascal Bart <pascal.bart@epita.fr>
1681
1682 * src/bison.simple (yyparse): Suppress warning `comparaison
1683 between signed and unsigned'.
1684
62ab6972
AD
16852001-07-05 Pascal Bart <pascal.bart@epita.fr>
1686
1687 * src/getargs.h (raw_flag): Remove.
1688 * src/getargs.c: Die on `-r'/`--raw'.
1689 * src/lex.c (parse_percent_token): Die on `%raw'.
1690 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1691 * tests/calc.at: Suppress test with option `--raw'.
1692
1e24cc5b
AD
16932001-07-14 Akim Demaille <akim@epita.fr>
1694
1695 * config/: New.
1696 * configure.in: Require Autoconf 2.50.
1697 Update to gettext 0.10.38.
1698
32dfccf8
AD
16992001-03-16 Akim Demaille <akim@epita.fr>
1700
1701 * doc/bison.texinfo: ANSIfy the examples.
1702
cd5bd6ac
AD
17032001-03-16 Akim Demaille <akim@epita.fr>
1704
1705 * getargs.c (skeleton): New variable.
1706 (longopts): --skeleton is a new option.
1707 (shortopts, getargs): -S is a new option.
1708 * getargs.h: Declare skeleton.
1709 * output.c (output_parser): Use it.
1710
5141b016
AD
17112001-03-16 Akim Demaille <akim@epita.fr>
1712
1713 * m4/strerror_r.m4: New.
1714 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1715 * lib/error.h, lib/error.c: Update.
1716
447992b9
AD
17172001-03-16 Akim Demaille <akim@epita.fr>
1718
1719 * src/getargs.c (longopts): Clean up.
1720
274d42ce
AD
17212001-02-21 Akim Demaille <akim@epita.fr>
1722
1723 * src/reader.c (gensym): `gensym_count' is your own.
1724 Use a static buf to create the symbol name, as token_buffer is no
1725 longer a buffer.
1726
22c821f3
AD
17272001-02-08 Akim Demaille <akim@epita.fr>
1728
1729 * src/conflicts.c (conflict_report): Be sure not to append to res
1730 between two calls, which could happen if both first sprintf were
1731 skipped, but not the first cp += strlen.
1732
18569462
AD
17332001-02-08 Akim Demaille <akim@epita.fr>
1734
1735 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1736 New, from fileutils 4.0.37.
1737 * configure.in: Require Autoconf 2.49c. I took some time before
1738 making this decision. This is the only way out for portability
1739 issues in Bison, it would mean way too much duplicate effort to
1740 import in Bison features implemented in 2.49c since 2.13.
1741 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1742
0d8f3c8a
AD
17432001-02-02 Akim Demaille <akim@epita.fr>
1744
1745 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1746 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1747
f17bcd1f
AD
17482001-01-19 Akim Demaille <akim@epita.fr>
1749
1750 Get rid of the ad hoc handling of token_buffer in the scanner: use
1751 the obstacks.
1752
1753 * src/lex.c (token_obstack): New.
1754 (init_lex): Initialize it. No longer call...
1755 (grow_token_buffer): this. Remove it.
1756 Adjust all the places which used it to use the obstack.
1757
511e79b3
AD
17582001-01-19 Akim Demaille <akim@epita.fr>
1759
1760 * src/lex.h: Rename all the tokens:
1761 s/\bENDFILE\b/tok_eof/g;
1762 s/\bIDENTIFIER\b/tok_identifier/g;
1763 etc.
1764 Let them be enums, not #define, to ease debugging.
1765 Adjust all the code.
1766
0d6508ef
AD
17672001-01-18 Akim Demaille <akim@epita.fr>
1768
1769 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1770 * src/lex.c (maxtoken, grow_token_buffer): Static.
1771
6deb4447
AD
17722001-01-18 Akim Demaille <akim@epita.fr>
1773
1774 Since we now use obstacks, more % directives can be enabled.
1775
1776 * src/lex.c (percent_table): Also accept `%yacc',
1777 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1778 `%debug'.
1779 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1780 instead of returning a token.
1781 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1782 * src/reader.c (read_declarations): Adjust.
1783 * src/files.c (open_files): Don't call `compute_base_names', don't
1784 compute `attrsfile' since they depend upon data which might be
1785 *in* the input file now.
1786 (output_files): Do it here.
1787 * src/output.c (output_headers): Document the fact that this patch
1788 introduces a guaranteed SEGV for semantic parsers.
1789 * doc/bison.texinfo: Document them.
1790 * tests/suite.at: Exercise these %options.
1791
ff4423cc
AD
17922000-12-20 Akim Demaille <akim@epita.fr>
1793
1794 Also handle the output file (--verbose) with obstacks.
1795
1796 * files.c (foutput): Remove.
1797 (output_obstack): New.
1798 Adjust all dependencies.
1799 * src/conflicts.c: Return a string.
1800 * src/system.h (obstack_grow_string): Rename as...
1801 (obstack_sgrow): this. Be ready to work with non literals.
1802 (obstack_fgrow4): New.
1803
956dba3a
AD
18042000-12-20 Akim Demaille <akim@epita.fr>
1805
1806 * src/files.c (open_files): Fix the computation of short_base_name
1807 in the case of `-o foo.tab.c'.
1808
337bab46
AD
18092000-12-20 Akim Demaille <akim@epita.fr>
1810
1811 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1812 (copy_dollar): Now that everything uses obstacks, get rid of the
1813 FILE * parameters.
1814
5d3214b8
AD
18152000-12-20 Akim Demaille <akim@epita.fr>
1816
1817 * src/files.c (open_files): Actually the `.output' file is based
1818 on the short_base_name, not base_name.
1819 * tests/suite.at (Checking output file names): Adjust.
1820
29092a57
AD
18212000-12-20 Akim Demaille <akim@epita.fr>
1822
1823 * src/bison.s1: Remove, we now use directly...
1824 * src/bison.simple: this.
1825 * src/Makefile.am: Use pkgdata instead of data.
1826
ea5607fd
AD
18272000-12-20 Akim Demaille <akim@epita.fr>
1828
1829 * src/files.c (guard_obstack): New.
1830 (open_files): Initialize it.
1831 (output_files): Dump it...
1832 * src/files.h: Export it.
1833 * src/reader.c (copy_guard): Use it.
1834
27110317
AD
18352000-12-19 Akim Demaille <akim@epita.fr>
1836
1837 * src/files.c (outfile, defsfile, actfile): Removed as global
1838 vars.
1839 (open_files): Don't compute them.
1840 (output_files): Adjust.
1841 (base_name, short_base_name): Be global.
1842 Adjust dependencies.
1843
19c50364
AD
18442000-12-19 Akim Demaille <akim@epita.fr>
1845
1846 * src/files.c (strsuffix): New.
1847 (stringappend): Be just like strcat but allocate.
1848 (base_names): Eve out from open_files.
1849 Try to simplify the rather hairy computation of base_name and
1850 short_base_name.
1851 (open_files): Use it.
1852 * tests/suite.at (Checking output file names): New test.
1853
573c1d9f
AD
18542000-12-19 Akim Demaille <akim@epita.fr>
1855
1856 * src/system.h (obstack_grow_literal_string): Rename as...
1857 (obstack_grow_string): this.
1858 * src/output.c (output_parser): Recognize `%% actions' instead of
1859 `$'.
1860 * src/bison.s1: s/$/%% actions/.
1861 * src/bison.hairy: Likewise.
1862
ef7ddedd
AD
18632000-12-19 Akim Demaille <akim@epita.fr>
1864
1865 * src/output.c (output_parser): Compute the `#line' lines when
1866 there are.
1867 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1868 Suggested by Hans Aberg.
1869
ff61dabd
AD
18702000-12-19 Akim Demaille <akim@epita.fr>
1871
1872 Let the handling of the skeleton files be local to the procedures
1873 that use it.
1874
1875 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1876 longer static.
1877 (fparser, open_extra_files): Remove.
1878 (open_files, output_files): Don't take care of fparser.
1879 * src/files.h: Adjust.
1880 * src/output.c (output_parser): Open and close the file to the
1881 skeleton.
1882 * src/reader.c (read_declarations): When %semantic_parser, open
1883 fguard.
1884
55b96341
AD
18852000-12-19 Akim Demaille <akim@epita.fr>
1886
1887 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1888 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1889
358c15b7
AD
18902000-12-19 Akim Demaille <akim@epita.fr>
1891
1892 * src/files.c (open_files): Yipee! We no longer need all the code
1893 looking for `/tmp' since we have no tmp file.
1894
7de3329e
AD
18952000-12-19 Akim Demaille <akim@epita.fr>
1896
1897 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1898 New macros.
1899 * src/files.c (open_files): Less dependency on MSDOS etc.
1900
3abcd459
AD
19012000-12-14 Akim Demaille <akim@epita.fr>
1902
1903 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1904 Provide a default definition.
1905 Use it when executing the default @ action.
1906 * src/reader.c (reader_output_yylsp): No longer include
1907 `timestamp' and `text' in the default YYLTYPE.
1908
2a91a95e
AD
19092000-12-12 Akim Demaille <akim@epita.fr>
1910
1911 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1912 (copy_guard): Quote the file names.
1913 Reported by Laurent Mascherpa.
1914
14d3eb9b
AD
19152000-12-12 Akim Demaille <akim@epita.fr>
1916
1917 * src/output.c (output_headers, output_program, output): Be sure
1918 to escape special characters when outputting filenames.
1919 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1920 (output_headers): Don't depend on them, Use ACTSTR.
1921
d7045ec6
AD
19222000-11-17 Akim Demaille <akim@epita.fr>
1923
1924 * lib/obstack.h: Formatting changes.
1925 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1926 prevents type checking.
1927 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1928 cast the value to (void *): assigning a `foo *' to a `void *'
1929 variable is valid.
1930 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1931 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1932 append characters.
1933
6fd54b73
AD
19342000-11-17 Akim Demaille <akim@epita.fr>
1935
1936 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1937 as...
1938 (suite.m4, regression.m4, calc.m4): these.
1939 * tests/atgeneral.m4: Update from CVS Autoconf.
1940
4c50eae6
AD
19412000-11-17 Akim Demaille <akim@epita.fr>
1942
1943 * tests/regression.m4 (%union and --defines): New test,
1944 demonstrating a current bug in the obstack implementation.
1945
a35f64ea
AD
19462000-11-17 Akim Demaille <akim@epita.fr>
1947
1948 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1949 macros.
1950 Use them to declare the variables which are global or local to
1951 `yyparse'.
1952
7de23534
AD
19532000-11-17 Akim Demaille <akim@epita.fr>
1954
1955 * acconfig.h: Remove, no longer used.
1956
aa7815f5
AD
19572000-11-07 Akim Demaille <akim@epita.fr>
1958
1959 * src: s/Copyright (C)/Copyright/g.
1960
5af1f549
AD
19612000-11-07 Akim Demaille <akim@epita.fr>
1962
1963 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1964 defining.
1965 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1966
553e2b22
AD
19672000-11-07 Akim Demaille <akim@epita.fr>
1968
1969 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1970 Merge in a single CPP if/else.
1971
8a4f41d6
AD
19722000-11-07 Akim Demaille <akim@epita.fr>
1973
1974 * src/output.c (output): Remove useless variables.
1975 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1976 argument `data' for consistency with the prototypes.
1977 Qualify it `const'.
1978 (obstack_copy, obstack_copy0): Rename the second argument as
1979 `address' for consistency. Qualify it `const'.
1980 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1981 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1982 `const' their input argument (`data' or `address').
1983 Adjust the corresponding macros to include `const' in casts.
1984
095a3fb5
AD
19852000-11-03 Akim Demaille <akim@epita.fr>
1986
1987 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1988 s/PFILE1/BISON_HAIRY/.
1989 Adjust dependencies.
1990
d1cdce7c
AD
19912000-11-03 Akim Demaille <akim@epita.fr>
1992
090c5ebf 1993 For some reason, this was not applied.
d1cdce7c
AD
1994
1995 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1996 `unlink': it's no longer used.
1997
9311529b
AD
19982000-11-03 Akim Demaille <akim@epita.fr>
1999
2000 * src/files.c (skeleton_find): New function, eved out of...
2001 (open_files, open_extra_files): here.
2002
d8880f69
AD
20032000-11-03 Akim Demaille <akim@epita.fr>
2004
2005 Don't use `atexit'.
2006
2007 * src/files.c (obstack_save): New function.
2008 (done): Rename as...
2009 (output_files): this.
2010 Use `obstack_save'.
2011 * src/main.c (main): Don't use `atexit' to register `done', since
2012 it no longer has to remove tmp files, just call `output_files'
2013 when there are no errors.
2014
0dbb648e
AD
20152000-11-02 Akim Demaille <akim@epita.fr>
2016
2017 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
2018 `unlink': it's no longer used.
2019 * src/files.h: Formatting changes.
2020
896fe5c1
AD
20212000-11-02 Akim Demaille <akim@epita.fr>
2022
2023 Remove the last uses of mktemp and unlink/delete.
2024
2025 * src/files.c (fdefines, ftable): Removed.
2026 (defines_ostack, table_obstack): New.
2027 Adjust dependencies of the former into uses of the latter.
2028 * src/output.c (output_short_or_char_table, output_short_table):
2029 Convert to using obstacks.
2030 * src/reader.c (copy_comment2): Accept one FILE * and two
2031 obstacks.
2032 (output_token_defines, reader_output_yylsp): Use obstacks.
2033 * src/system.h (obstack_fgrow3): New.
2034
dd60faec
AD
20352000-11-01 Akim Demaille <akim@epita.fr>
2036
2037 Change each use of `fattrs' into a use of `attrs_obstack'.
2038
2039 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
2040 * src/files.c (fattrs): Remove.
2041 (attrs_obstack): New.
2042 Adjust all dependencies.
2043 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
2044
8c7ebe49
AD
20452000-11-01 Akim Demaille <akim@epita.fr>
2046
2047 Introduce obstacks.
2048 Change each use of `faction' into a use of `action_obstack'.
2049
2050 * lib/obstack.h, lib/obstack.c: New files.
2051 * src/files.c (faction): Remove.
2052 (action_obstack): New.
2053 Adjust all dependencies.
2054
77aee789
AD
20552000-10-20 Akim Demaille <akim@epita.fr>
2056
2057 * lib/quote.h (PARAMS): New macro. Use it.
2058
43591cec
AD
20592000-10-16 Akim Demaille <akim@epita.fr>
2060
2061 * src/output.c (output_short_or_char_table): New function.
2062 (output_short_table, output_token_translations): Use it.
2063 (goto_actions): Use output_short_table.
2064
1e9798d5
AD
20652000-10-16 Akim Demaille <akim@epita.fr>
2066
2067 * src/symtab.c (bucket_new): New function.
2068 (getsym): Use it.
2069
2070 * src/output.c (output_short_table): New argument to display the
2071 comment associated with the table.
2072 Adjust dependencies.
2073 (output_gram): Use it.
2074 (output_rule_data): Nicer output layout for YYTNAME.
2075
f282676b
AD
20762000-10-16 Akim Demaille <akim@epita.fr>
2077
2078 * src/lex.c (read_typename): New function.
2079 (lex): Use it.
2080 * src/reader.c (copy_dollar): Likewise.
2081
550a72a3
AD
20822000-10-16 Akim Demaille <akim@epita.fr>
2083
2084 * src/reader.c (copy_comment2): Expect the input stream to be on
2085 the `/' which is suspected to open a comment, instead of being
2086 called after `//' or `/*' was read.
2087 (copy_comment, copy_definition, parse_union_decl, copy_action)
2088 (copy_guard): Adjust.
2089
131e2fef
AD
20902000-10-16 Akim Demaille <akim@epita.fr>
2091
2092 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2093 `read_signed_integer'.
2094
79282c5a
AD
20952000-10-16 Akim Demaille <akim@epita.fr>
2096
2097 * src/reader.c (copy_dollar): New function.
2098 (copy_guard, copy_action): Use it.
2099
ff4a34be
AD
21002000-10-16 Akim Demaille <akim@epita.fr>
2101
2102 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2103 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2104 New files, from Fileutils 4.0.27.
2105 * src/main.c (printable_version): Remove.
2106 * src/lex.c, src/reader.c: Use `quote'.
2107
21082000-10-04 Akim Demaille <akim@epita.fr>
2109
2110 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2111
14ded682
AD
21122000-10-04 Akim Demaille <akim@epita.fr>
2113
2114 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2115
8e03724b
AD
21162000-10-04 Akim Demaille <akim@epita.fr>
2117
2118 When a literal string is used to define two different tokens,
2119 `bison -v' segfaults.
2120 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2121
2122 * tests/regression.m4: New file.
2123 Include the core of the sample provided by Piotr Gackiewicz.
2124 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2125 properly.
2126
a9e64249
AD
21272000-10-04 Akim Demaille <akim@epita.fr>
2128
2129 * src/reader.c (parse_expect_decl): Keep `count' within the size
2130 of `buffer'.
2131 From Neil Booth.
2132
da9abf43
AD
21332000-10-02 Paul Eggert <eggert@twinsun.com>
2134
2135 * bison.s1 (yyparse): Assign the default value
2136 unconditionally, to avoid a GCC warning and make the parser a
2137 tad smaller.
2138
c33638bb
AD
21392000-10-02 Akim Demaille <akim@epita.fr>
2140
2141 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2142 options.
2143
444c570a
AD
21442000-10-02 Akim Demaille <akim@epita.fr>
2145
2146 * src/derives.c, src/print.c, src/reduce.c: To ease the
2147 translation, move some `\n' out of the translated strings.
2148
89cab50d
AD
21492000-10-02 Akim Demaille <akim@epita.fr>
2150
2151 The location tracking mechanism is precious for parse error
2152 messages. Nevertheless, it is enabled only when `@n' is used in
2153 the grammar, which is a different issue (you can use it in error
2154 message, but not in the grammar per se). Therefore, there should
2155 be another means to enable it.
2156
2157 * src/getargs.c (getargs): Support `--locations'.
2158 (usage): Report it.
2159 * src/getargs.h (locationsflag): Export it.
2160 * src/lex.c (percent_table): Support `%locations'.
2161 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2162 with `locationsflag'.
2163 * doc/bison.texinfo: Document `--locations' and `%locations'.
2164 Sort the options.
2165 * tests/calc.m4: Test it.
2166
2167 For regularity of the names, replace each
2168 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2169 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2170 In addition replace each `flag' with `_flag'.
2171
d6c2cba0
AD
21722000-10-02 Akim Demaille <akim@epita.fr>
2173
2174 Also test parse error messages, including with YYERROR_VERBOSE.
2175
2176 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2177 associative).
2178 Use it to check the computations.
2179 Use it to check `nonassoc' is honored.
2180 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2181 `--yyerror-verbose'.
2182 (_AT_CHECK_CALC): Adjust to this option.
2183 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2184
5a35a6cb
AD
21852000-10-02 Akim Demaille <akim@epita.fr>
2186
2187 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2188 the latter demonstrates a flaw in the handling of non debugging
2189 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2190 was used in order to simplify:
2191
2192 #if YYDEBUG
2193 if (yydebug)
2194 {
2195 ...
2196 }
2197 #endif
2198
2199 into
2200
2201 if (yydebug)
2202 {
2203 ...
2204 }
2205
2206 unfortunately this leads to a CPP conflict when
2207 `--name-prefix=foo' is used since it produces `#define yydebug
2208 foodebug'.
2209
2210 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2211 (YYDPRINTF): New macro.
2212 Spread its use.
2213 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2214 the bison options.
2215 Also test `--verbose', `--defines' and `--name-prefix'.
2216
71da9eea
AD
22172000-10-02 Akim Demaille <akim@epita.fr>
2218
2219 Improve the readability of the produced parsers.
2220
2221 * src/bison.s1: Formatting changes.
2222 Improve the comment related to the `$' mark.
2223 (yydefault): Don't fall through to `yyresume': `goto' there.
2224 * src/output.c (output_parser): When the `$' is met, skip the end
2225 of its line.
2226 New variable, `number_of_dollar_signs', to check there's exactly
2227 one `$' in the parser skeleton.
2228
95e36146
AD
22292000-10-02 Akim Demaille <akim@epita.fr>
2230
2231 * lib/xstrdup.c: New file, from the fileutils.
2232 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2233 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2234 instead of strlen + xmalloc + strcpy.
2235 * src/symtab.c (copys): Remove, use xstrdup instead.
2236
d7020c20
AD
22372000-10-02 Akim Demaille <akim@epita.fr>
2238
2239 * src/gram.h (associativity): New enum type which replaces the
2240 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2241 `right_assoc', `left_assoc' and `non_assoc'.
2242 Adjust all dependencies.
2243 * src/reader.c: Formatting changes.
2244 (LTYPESTR): Don't define it, use it as a literal in
2245 `reader_output_yylsp'.
2246 * src/symtab.h (symbol_class): New enum type which replaces the
2247 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2248 `sunknown', `stoken and `snterm'.
2249
1916f98e
AD
22502000-10-02 Akim Demaille <akim@epita.fr>
2251
2252 * src/getargs.c (fixed_outfiles): Rename as...
2253 (yaccflag): for consistency and accuracy.
2254 Adjust dependencies.
2255
d7913476
AD
22562000-10-02 Akim Demaille <akim@epita.fr>
2257
2258 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2259 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2260 difficult and introduced a lot of core dump. It turns out that
2261 Bison used an implementation of `xmalloc' based on `calloc', and
2262 at various places it does depend upon the initialization to 0. I
2263 have not tried to isolate the pertinent places, and all the former
2264 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2265 someone should address this issue.
2266
2267 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2268 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2269 files.
2270 Adjust dependencies.
2271 * src/warshall.h: New file.
2272 Propagate.
2273
340ef489
AD
22742000-10-02 Akim Demaille <akim@epita.fr>
2275
2276 Various anti-`extern in *.c' changes.
2277
2278 * src/system.h: Include `assert.h'.
2279
b2ca4022
AD
22802000-10-02 Akim Demaille <akim@epita.fr>
2281
2282 * src/state.h (nstates, final_state, first_state, first_shift)
2283 (first_reduction): Move their exportation from here...
2284 * src/LR0.h: to here.
2285 Adjust dependencies.
2286 * src/getargs.c (statisticsflag): New variable.
2287 Add support for `--statistics'.
2288 Adjust dependencies.
2289
2290 Remove a lot of now useless `extern' statements in most files.
2291
403b315b
AD
22922000-10-02 Akim Demaille <akim@epita.fr>
2293
2294 * src/LR0.h: New file.
2295 Propagate its use.
2296
07a58c13
AD
22972000-10-02 Akim Demaille <akim@epita.fr>
2298
2299 * src/print.h: New file.
2300 Propagate its use.
2301 * src/print.c: Formatting and ordering changes.
2302 (verbose, terse): Replace with...
2303 (print_results): this new function.
2304 Adjust dependencies.
2305
0619caf0
AD
23062000-10-02 Akim Demaille <akim@epita.fr>
2307
2308 * src/conflicts.c (conflict_report): New function.
2309 (conflict_log, verbose_conflict_log): Replace with...
2310 (print_conflicts): this function.
2311 Adjust dependencies.
2312 * src/conflicts.h: New file.
2313 Propagate its inclusion.
2314
3519ec76
AD
23152000-10-02 Akim Demaille <akim@epita.fr>
2316
2317 * src/nullable.h: New file.
2318 Propagate its inclusion.
2319 * src/nullable.c: Formatting changes.
2320
015acc48
AD
23212000-10-02 Akim Demaille <akim@epita.fr>
2322
2323 * src/reduce.h: New file.
2324 Propagate its inclusion.
2325 * src/reduce.c: Topological sort and other formatting changes.
2326 (bool, TRUE, FALSE): Move their definition to...
2327 * src/system.h: here.
2328
8963a27b
AD
23292000-10-02 Akim Demaille <akim@epita.fr>
2330
2331 * src/files.c: Formatting changes.
2332 (tryopen, tryclose, openfiles): Rename as...
2333 (xfopen, xfclose, open_files): this.
2334 (stringappend): static.
2335 * src/files.h: Complete the list of exported symbols.
2336 Propagate its use.
2337
a70083a3
AD
23382000-10-02 Akim Demaille <akim@epita.fr>
2339
2340 * src/reader.h: New file.
2341 Propagate its use instead of tedious list of `extern' and
2342 prototypes.
2343 * src/reader.c: Formatting changes, topological sort,
2344 s/register//.
2345
abadc117
AD
23462000-10-02 Akim Demaille <akim@epita.fr>
2347
2348 * src/lex.h: Prototype `lex.c' exported functions.
2349 * src/reader.c: Adjust.
2350 * src/lex.c: Formatting changes.
2351 (safegetc): Rename as...
2352 (xgetc): this.
2353
720d742f
AD
23542000-10-02 Akim Demaille <akim@epita.fr>
2355
2356 * src/lalr.h: New file.
2357 Propagate its inclusion instead of prototypes and `extern'.
2358 * src/lalr.c: Formatting changes, topological sorting etc.
2359
f2acea59
AD
23602000-10-02 Akim Demaille <akim@epita.fr>
2361
2362 * src/output.c (token_actions): Introduce a temporary array,
2363 YYDEFACT, that makes it possible for this function to use
2364 output_short_table.
2365
d019d655
AD
23662000-10-02 Akim Demaille <akim@epita.fr>
2367
2368 `user_toknums' is output as a `short[]' in `output.c', while it is
2369 defined as a `int[]' in `reader.c'. For consistency with the
2370 other output tables, `user_toknums' is now defined as a table of
2371 shorts.
2372
2373 * src/reader.c (user_toknums): Be a short table instead of an int
2374 table.
2375 Adjust dependencies.
2376
2377 Factor the short table outputs.
2378
2379 * src/output.c (output_short_table): New function.
2380 * src/output.c (output_gram, output_stos, output_rule_data)
2381 (output_base, output_table, output_check): Use it.
2382
6c89f1c1
AD
23832000-10-02 Akim Demaille <akim@epita.fr>
2384
2385 * src/output.c (output): Topological sort of the functions, in
2386 order to get rid of the `static' prototypes.
2387 No longer use `register'.
2388 * src/output.h: New file.
2389 Propagate its inclusion in files explicitly prototyping functions
2390 from output.c.
2391
d9efd181
AD
23922000-09-21 Akim Demaille <akim@epita.fr>
2393
2394 * src/atgeneral.m4: Update from Autoconf.
2395
c29240e7 23962000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2397
2398 * src/closure.h: New file.
2399 * src/closure.c: Formatting changes, topological sort over the
2400 functions, use of closure.h.
2401 (initialize_closure, finalize_closure): Rename as...
2402 (new_closure, free_closure): these. Adjust dependencies.
2403 * src/LR0.c: Formatting changes, topological sort, use of
2404 cloture.h.
2405 (initialize_states): Rename as...
2406 (new_states): this.
2407 * src/Makefile.am (noinst_HEADERS): Adjust.
2408
499daa50
AD
24092000-09-20 Akim Demaille <akim@epita.fr>
2410
2411 * src/acconfig.h: Don't protect config.h against multiple
2412 inclusion.
2413 Don't define PARAMS.
2414 * src/system.h: Define PARAMS.
2415 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2416 purpose of config.h. system.h must not try to fix wrong
2417 definitions in config.h.
2418
cc84fd5d
AD
24192000-09-20 Akim Demaille <akim@epita.fr>
2420
2421 * src/derives.h: New file.
2422 * src/main.c, src/derives.h: Use it.
2423 Formatting changes.
2424 * src/Makefile.am (noinst_HEADERS): Adjust.
2425
db5b3a89
AD
24262000-09-20 Akim Demaille <akim@epita.fr>
2427
2428 * tests/atgeneral.m4: Update from Autoconf.
2429 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2430 (AT_CHECK_CALC): New macros.
2431 Use these macros to test bison with options `', `--raw',
2432 `--debug', `--yacc', `--yacc --debug'.
2433
ceed8467
AD
24342000-09-19 Akim Demaille <akim@epita.fr>
2435
2436 * src/output.c: Formatting changes.
2437 * src/machine.h: Remove, leaving its contents in...
2438 * src/system.h: here.
2439 Include stdio.h.
2440 Adjust all dependencies on stdio.h and machine.h.
2441 * src/getargs.h: New file.
2442 Let all `extern' declarations about getargs.c be replaced with
2443 inclusion of `getargs.h'.
2444 * src/Makefile.am (noinst_HEADERS): Adjust.
2445
2446 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2447 scope.
2448 (yyerror): Returns void, not int.
2449 * doc/bison.texinfo: Formatting changes.
2450
05a1d24b
AD
24512000-09-19 Akim Demaille <akim@epita.fr>
2452
2453 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2454 portable.
2455
cbd25751
AD
24562000-09-18 Akim Demaille <akim@epita.fr>
2457
2458 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2459 * src/Makefile.am (INCLUDES): Don't.
2460 Be ready to fetch headers in lib/.
2461
13863333
AD
24622000-09-18 Akim Demaille <akim@epita.fr>
2463
2464 * doc/bison.texinfo: Update the copyright.
2465 ANSIfy and GNUify the examples.
2466 Remove the old menu.
2467
0d533154
AD
24682000-09-18 Akim Demaille <akim@epita.fr>
2469
2470 First set of tests: use the `calc' example from the documentation.
2471
2472 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2473 is defined only when YYDEBUG is.
2474 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2475 * src/files.c (tryopen, tryclose): Formatting changes.
2476 Move to the top and be static.
2477 * src/reader.c (read_signed_integer): Likewise.
2478 * tests/calc.m4: New file.
2479 * Makefile.am, suite.m4: Adjust.
2480 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2481
e79137ac
AD
24822000-09-18 Akim Demaille <akim@epita.fr>
2483
2484 Add support for an Autotest test suite for Bison.
2485
2486 * m4/m4.m4, m4/atconfig.m4: New files.
2487 * m4/Makefile.am (EXTRA_DIST): Adjust.
2488 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2489 files.
2490 * src/getargs.c: Display a more standard --version message.
2491 * src/reader.c (reader): Formatting changes.
2492 No longer depend upon VERSION_STRING.
2493 * configure.in: No longer use `dnl'.
2494 Set up the test suite and the new directory `tests/.
2495 (VERSION_STRING): Remove.
2496
27821bff
AD
24972000-04-14 Akim Demaille <akim@epita.fr>
2498
2499 * src/reader.c (copy_comment2): New function, same as former
2500 `copy_comment', but outputs into two FILE *.
2501 (copy_comment): Use it.
2502 (parse_union_decl): Use it.
2503 (get_type, parse_start_decl): Use the same `invalid' message.
2504 (parse_start_decl, parse_union_decl): Use the same `multiple'
2505 message.
2506 (parse_union_decl, copy_guard, copy_action): Use the same
2507 `unmatched' message.
2508 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2509
cfe5fbc0
AD
25102000-03-31 Akim Demaille <akim@epita.fr>
2511
2512 * src/files.c (tryopen, tryclose): Move to the top.
2513 Be static.
2514
cb7db13e
AD
25152000-03-31 Akim Demaille <akim@epita.fr>
2516
2517 * src/main.c (main): Don't call `done', exit does it.
2518
a0f6b076
AD
25192000-03-31 Akim Demaille <akim@epita.fr>
2520
36281465
AD
2521 * allocate.c: s/return (foo)/return foo/.
2522 * lalr.c: Likewise.
2523 * LR0.c: Likewise.
2524 * output.c: Likewise.
2525 * reader.c: Likewise.
2526 * symtab.c: Likewise.
2527 * vmsgetargs.c: Likewise.
2528
25292000-03-31 Akim Demaille <akim@epita.fr>
2530
2531 Clean up the error reporting functions.
a0f6b076
AD
2532
2533 * src/report.c: New file.
2534 * src/report.h: Likewise.
2535 * src/Makefile.am: Adjust.
2536 * m4/error.m4: New file.
2537 * m4/Makefile.am: Adjust.
2538 * configure.in (jm_PREREQ_ERROR): Call it.
2539 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2540 Remove.
2541 (fatal, fatals): Remove. All callers use complain.c::fatal.
2542 (warn, warni, warns, warnss, warnss): Remove. All callers use
2543 complain.c::complain.
2544 (toomany): Remove, use fatal instead.
2545 * src/files.c (done): No argument, use complain_message_count.
2546 * src/main.c (main): Register `done' to `atexit'.
2547
2548 * src/getargs.c (usage): More `fputs', less `fprintf'.
2549
18539825
AD
25502000-03-28 Akim Demaille <akim@epita.fr>
2551
2552 * lib/: New directory.
2553 * Makefile.am (SUBDIRS): Adjust.
2554 * configure.in: Adjust.
2555 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2556 useless.
2557 * src/alloca.c: Moved to lib/.
2558 * src/getopt.c: Likewise.
2559 * src/getopt1.c: Likewise.
2560 * src/getopt.h: Likewise.
2561 * src/ansi2knr.c: Likewise.
2562 * src/ansi2knr.1: Likewise.
2563 * src/Makefile.am: Adjust.
2564 * lib/Makefile.am: New file.
2565
9f306f2a
AD
25662000-03-28 Akim Demaille <akim@epita.fr>
2567
2568 * src/getargs.c (usage): Refresh the help message.
2569
0ba347b6
AD
25702000-03-17 Akim Demaille <akim@epita.fr>
2571
2572 * src/getopt1.c: Updated from textutils 2.0e
2573 * src/getopt.c: Likewise.
2574 * src/getopt.h: Likewise.
2575
dbe7f271
AD
25762000-03-17 Akim Demaille <akim@epita.fr>
2577
2578 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2579 the file name, not the whole `#line LINE FILE'.
2580
75bbe78d
AD
25812000-03-17 Akim Demaille <akim@epita.fr>
2582
2583 On syntax errors, report the token on which we choked.
2584
aa5fd0ee
AD
2585 * src/bison.s1 (yyparse): In the label yyerrlab, when
2586 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2587
7b306f52
AD
25882000-03-17 Akim Demaille <akim@epita.fr>
2589
aa5fd0ee 2590 * src/reader.c (copy_at): New function.
7b306f52
AD
2591 (copy_guard): Use it.
2592 (copy_action): Use it.
2593
e87b5700
AD
25942000-03-17 Akim Demaille <akim@epita.fr>
2595
2596 Be kind to translators, save some useless translations.
2597
aa5fd0ee 2598 * src/main.c (banner): New function.
e87b5700
AD
2599 (fatal_banner): Use it.
2600 (warn_banner): Use it.
2601
ae3c3164
AD
26022000-03-17 Akim Demaille <akim@epita.fr>
2603
aa5fd0ee
AD
2604 * src/reader.c (copy_definition): Use copy_string and
2605 copy_comment. Removed now unused `match', `ended',
2606 `cplus_comment'.
ae3c3164
AD
2607 (copy_comment, copy_string): Moved, to be visible from
2608 copy_definition.
2609
4dc58e7c
AD
26102000-03-17 Akim Demaille <akim@epita.fr>
2611
aa5fd0ee
AD
2612 * src/reader.c (copy_string): Declare `static inline'. No
2613 problems with inline, since it is checked by configure.
4dc58e7c
AD
2614 (copy_comment): Likewise.
2615
0a6384c4
AD
26162000-03-17 Akim Demaille <akim@epita.fr>
2617
aa5fd0ee 2618 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2619
3cef001a
AD
26202000-03-17 Akim Demaille <akim@epita.fr>
2621
aa5fd0ee 2622 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2623 (copy_action): Use it. Removed now unused `match', `ended',
2624 `cplus_comment'.
2625 (copy_guard): Likewise.
2626
ca36d2ef
AD
26272000-03-17 Akim Demaille <akim@epita.fr>
2628
aa5fd0ee 2629 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2630 (copy_action): Use it.
2631 (copy_guard): Likewise.
2632
6666f98f
AD
26332000-03-17 Akim Demaille <akim@epita.fr>
2634
2635 Change the handling of @s so that they behave exactly like $s.
2636 There is now a pseudo variable @$ (readble and writable), location
2637 of the lhs of the rule (by default ranging from the location of
2638 the first symbol of the rhs, to the location of the last symbol,
2639 or, if the rhs is empty, YYLLOC).
2640
2641 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2642 yyval.
2643 (yyparse): When providing a default semantic action, provide a
2644 default location action.
2645 (after the $): No longer change `*YYLSP', just stack YYLOC the
2646 same way you stack YYVAL.
2647 * src/reader.c (read_declarations): Use warns.
2648 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2649 (copy_action, case '@'): Likewise.
2650 Use a standard error message, to save useless work from
2651 translators.
2652
41aca2e0
AD
26532000-03-17 Akim Demaille <akim@epita.fr>
2654
aa5fd0ee
AD
2655 * src/bison.s1: Formatting and cosmetics changes.
2656 * src/reader.c: Likewise.
41aca2e0
AD
2657 Update the Copyright notice.
2658
dc08c1d5
AD
26592000-03-17 Akim Demaille <akim@epita.fr>
2660
aa5fd0ee
AD
2661 * src/bison.s1 (#line): All set to `#line' only, since the
2662 Makefile now handles them.
dc08c1d5 2663
9ee3c97b
AD
26642000-03-16 Akim Demaille <akim@epita.fr>
2665
2666 * src/output.c (output_rule_data): Output the documentation of
2667 some of the tables.
2668 (Copyright notice): Update.
2669 Formatting changes.
2670
0de741ca
AD
26712000-03-16 Akim Demaille <akim@epita.fr>
2672
2673 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2674 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2675 One `#if YYDEBUG' remains, since it uses variables which are
2676 defined only if `YYDEBUG != 0'.
2677
bb10be54
AD
26782000-03-16 Akim Demaille <akim@epita.fr>
2679
2680 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2681 and related variables so that the similarities are highlighted.
2682
b07b484a
AD
26832000-03-16 Akim Demaille <akim@epita.fr>
2684
2685 * src/bison.s1: Properly indent CPP directives.
2686
361f60b3
AD
26872000-03-16 Akim Demaille <akim@epita.fr>
2688
2689 * src/bison.s1: Properly indent the `alloca' CPP section.
2690
8c44d3ec
AD
26912000-03-16 Akim Demaille <akim@epita.fr>
2692
2693 Do not hard code values of directories in `configure.in'.
2694 Update the `configure' tool chain.
2695
2696 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2697 src/makefile.am.
2698 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2699 (AC_OUTPUT): Add m4/Makefile.
2700 Bump to bison 1.28a, 1.29 has never been released.
2701 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2702 handled via src/Makefile.am.
2703 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2704 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2705 autoheader.
2706 * Makefile.am (SUBDIRS): Add m4.
2707 (ACLOCAL_AM_FLAGS): New variable.
2708 (AUTOMAKE_OPTIONS): Add check-news.
2709 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2710 the proper line number and file name.
2711 (DEFS): Propagate the location of bison library files and of the
2712 locale files.
2713 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2714 builddir.
2715 * acinclude.m4: Remove, replaced by the directory m4.
2716 * m4/Makefile.am (EXTRA_DIST): New variable.
2717 * m4/gettext.m4: New file, from the fileutils.
2718 * m4/lcmessage.m4: Likewise
2719 * m4/progtest.m4: Likewise.
2720 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2721
f95997e7
AD
27222000-03-10 Akim Demaille <akim@epita.fr>
2723
2724 * src/closure.c:
2725 Formatting changes of various comments.
2726 Respect the GNU coding standards at various places.
2727 Don't use `_()' when no translation is needed.
2728
27291999-12-13 Jesse Thilo <jthilo@gnu.org>
2730
2731 * src/files.c:
2732 OS/2 honors TMPDIR environment variable.
2733
27341999-12-13 Jesse Thilo <jthilo@gnu.org>
2735
2736 * doc/bison.texinfo: Tweaked spelling and grammar.
2737 Updated ISBN.
2738 Removed reference to price of printed copy.
2739 Mention BISON_SIMPLE and BISON_HAIRY.
2740
27411999-12-13 Jesse Thilo <jthilo@gnu.org>
2742
2743 * configure.in, NEWS:
2744 Bison 1.29 released.
2745
27461999-10-27 Jesse Thilo <jthilo@gnu.org>
2747
2748 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2749 Added reference card.
2750
27511999-07-26 Jesse Thilo <jthilo@gnu.org>
2752
2753 * po/ru.po: Added Russian translation.
2754
27551999-07-26 Jesse Thilo <jthilo@gnu.org>
2756
2757 * configure.in: Added Russian translation.
2758
27591999-07-06 Jesse Thilo <jthilo@gnu.org>
2760
2761 * configure.in, NEWS, README:
2762 Released version 1.28.
2763
27641999-06-14 Jesse Thilo <jthilo@gnu.org>
2765
2766 * src/system.h:
2767 Squashed redefinition warning on some systems.
2768
2769 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2770 Have configure build version string instead of relying on ANSI string
2771 concatentation.
2772
27731999-06-14 Jesse Thilo <jthilo@gnu.org>
2774
2775 * po/POTFILES.in: Got rid of version.c.
2776
27771999-06-14 Jesse Thilo <jthilo@gnu.org>
2778
2779 * acconfig.h, configure.in:
2780 Have configure build version string instead of relying on ANSI string
2781 concatentation.
2782
27831999-06-08 Jesse Thilo <jthilo@gnu.org>
2784
2785 * doc/bison.1:
2786 Dropped mention of `+' for long-named options.
2787
27881999-05-30 Jesse Thilo <jthilo@gnu.org>
2789
2790 * src/files.c: Added <unistd.h> for unlink().
2791
2792 * src/Makefile.am, src/system.h:
2793 I18n fixes.
2794
27951999-05-30 Jesse Thilo <jthilo@gnu.org>
2796
2797 * README: Added a FAQ list.
2798
2799 * configure.in, acconfig.h:
2800 I18n fixes.
2801
28021999-05-30 Jesse Thilo <jthilo@gnu.org>
2803
2804 * doc/FAQ, doc/Makefile.am:
2805 Added a FAQ list.
2806
28071999-05-19 Jesse Thilo <jthilo@gnu.org>
2808
2809 * src/alloc.h, src/symtab.h, src/version.c:
2810 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2811
28121999-04-18 Jesse Thilo <jthilo@gnu.org>
2813
2814 * src/.cvsignore, src/Makefile.am:
2815 Reorganized: sources in `src', documentation in `doc'.
2816
2817 * src/lex.c (literalchar):
2818 fixed the code for escaping double quotes (thanks
2819 Jonathan Czisny.)
2820
28211999-04-18 Jesse Thilo <jthilo@gnu.org>
2822
2823 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2824 Adjusted paths to reflect directory reorganization.
2825
28261999-04-18 Jesse Thilo <jthilo@gnu.org>
2827
2828 * doc/.cvsignore, doc/Makefile.am:
2829 Reorganized: sources in `src', documentation in `doc'.
2830
28311999-04-18 Jesse Thilo <jthilo@gnu.org>
2832
2833 * configure.in:
2834 Updated AC_INIT file to reflect directory reorganization.
2835
2836 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2837 Reorganized: sources in `src', documentation in `doc'.
2838
28391999-04-13 Jesse Thilo <jthilo@gnu.org>
2840
2841 * src/allocate.c:
2842 Don't declare calloc() and realloc() if not necessary.
2843
28441999-04-13 Jesse Thilo <jthilo@gnu.org>
2845
2846 * configure.in, acconfig.h, acinclude.m4:
2847 Don't declare calloc() and realloc() if not necessary.
2848
28491999-03-23 Jesse Thilo <jthilo@gnu.org>
2850
2851 * po/.cvsignore: Added i18n support.
2852
28531999-03-23 Jesse Thilo <jthilo@gnu.org>
2854
2855 * acconfig.h, configure.in, Makefile.am:
2856 Added i18n support.
2857
28581999-03-22 Jesse Thilo <jthilo@gnu.org>
2859
2860 * src/bison.s1: Fixed #line numbers.
2861
28621999-03-15 Jesse Thilo <jthilo@gnu.org>
2863
2864 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2865 Added PO files from Translation Project.
2866
28671999-03-03 Jesse Thilo <jthilo@gnu.org>
2868
2869 * Makefile.am:
2870 Added support for non-ANSI compilers (ansi2knr).
2871
28721999-02-16 Jesse Thilo <jthilo@gnu.org>
2873
2874 * configure.in: Bumped version number to 1.27.
2875
2876 * Makefile.am:
2877 Added `bison.simple' to list of files removed by `make distclean'.
2878
28791999-02-12 Jesse Thilo <jthilo@gnu.org>
2880
2881 * src/files.c, src/files.h:
2882 Defined locations of parser files in config.h instead of Makefile.
2883
28841999-02-12 Jesse Thilo <jthilo@gnu.org>
2885
2886 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2887 Defined locations of parser files in config.h instead of Makefile.
2888
28891999-02-09 Jesse Thilo <jthilo@gnu.org>
2890
2891 * Makefile.am:
2892 Removed inappropriate use of $< macro.
2893
28941999-02-05 Jesse Thilo <jthilo@gnu.org>
2895
2896 * po/Makefile.in.in, po/POTFILES.in:
2897 Add `po' directory skeleton.
2898
28991999-01-27 Jesse Thilo <jthilo@gnu.org>
2900
2901 * README: Document help-bison list.
2902
2903 * configure.in: Add check for mkstemp().
2904
29051999-01-20 Jesse Thilo <jthilo@gnu.org>
2906
2907 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2908 Hush a few compiler warnings.
2909
2910 * src/files.c:
2911 Add tryclose(), which verifies that fclose was successful.
2912 Hush a couple of compiler warnings.
2913
29141999-01-20 Jesse Thilo <jthilo@gnu.org>
2915
2916 * Makefile.am, OChangeLog:
2917 ChangeLog is now automatically generated. Include the old version as
2918 OChangeLog.
2919
29201999-01-14 Jesse Thilo <jthilo@gnu.org>
2921
2922 * 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:
2923 Update FSF address.
2924
29251999-01-14 Jesse Thilo <jthilo@gnu.org>
2926
2927 * doc/bison.texinfo: Fix formatting glitch.
2928
2929 * doc/bison.texinfo: Update FSF address.
2930
29311999-01-14 Jesse Thilo <jthilo@gnu.org>
2932
2933 * acconfig.h: Update FSF address.
2934
29351999-01-08 Jesse Thilo <jthilo@gnu.org>
2936
2937 * src/system.h:
2938 Don't define PACKAGE here, since config.h defines it.
2939
29401998-12-30 Jesse Thilo <jthilo@gnu.org>
2941
2942 * src/reader.c: Update copyright date.
2943
2944 * src/main.c:
2945 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2946 favor of output directly to stderr (avoids buffer overruns).
2947
2948 * src/reader.c: Some checks for premature EOF.
2949
2950 * 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:
2951 Use prototypes if the compiler understands them.
2952
2953 * src/files.c: Honor TMPDIR on Unix hosts.
2954 Use prototypes if the compiler understands them.
2955
2956 * src/reader.c:
2957 Fix a couple of buffer overrun bugs.
2958 Use prototypes if the compiler understands them.
2959
2960 * src/system.h: Include unistd.h and ctype.h.
2961 Use #ifdef instead of #if for NLS symbols.
2962
29631998-12-30 Jesse Thilo <jthilo@gnu.org>
2964
2965 * doc/bison.texinfo:
2966 Delete comment "consider using @set for edition number, etc..." since
2967 we now are doing so.
2968
29691998-12-30 Jesse Thilo <jthilo@gnu.org>
2970
2971 * configure.in:
2972 Use prototypes if the compiler understands them.
2973
2974 * NEWS: Document 1.26 highlights.
2975
2976 * Makefile.am: Require Automake 1.3 or later.
2977
2978 * acconfig.h:
2979 Use prototypes if the compiler understands them.
2980
29811998-12-29 Jesse Thilo <jthilo@gnu.org>
2982
2983 * src/version.c:
2984 Use VERSION symbol from automake for version number.
2985
29861998-12-29 Jesse Thilo <jthilo@gnu.org>
2987
2988 * acconfig.h, configure.in, version.cin:
2989 Use VERSION symbol from automake for version number.
2990
29911998-11-28 Jesse Thilo <jthilo@gnu.org>
2992
2993 * Makefile.am:
2994 Distribute original version of simple parser (bison.s1), not built
2995 version (bison.simple).
2996
29971998-11-28 Jesse Thilo <jthilo@gnu.org>
2998
2999 * doc/bison.texinfo: Add info dir entry.
3000
3001 * doc/bison.texinfo:
3002 Let automake put version number into documentation.
3003
30041998-11-26 Jesse Thilo <jthilo@gnu.org>
3005
3006 * src/bison.cld, src/build.com, src/vmshlp.mar:
3007 Add non-RCS files from /gd/gnu/bison.
3008
30091998-11-26 Jesse Thilo <jthilo@gnu.org>
3010
3011 * doc/bison.1:
3012 Document the BISON_HAIRY and BISON_SIMPLE variables.
3013
30141998-11-25 Jesse Thilo <jthilo@gnu.org>
3015
3016 * src/version.c: Build version.c automatically.
3017
3018 * src/reader.c:
3019 Fix token numbering (used to start at 258, not 257).
3020
3021 * src/system.h: Include config.h.
3022
3023 * src/getargs.c: Update bug report address.
3024
3025 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
3026 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
3027
30281998-11-25 Jesse Thilo <jthilo@gnu.org>
3029
3030 * Makefile.am:
3031 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3032
3033 * configure.in, version.cin:
3034 Build version.c automatically.
3035
3036 * AUTHORS: Add AUTHORS file.
3037
3038 * README: Update bug report address.
3039
3040 * bison.simple:
3041 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
3042
3043 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
3044 Add automake stuff.
3045
30461998-11-25 Jesse Thilo <jthilo@gnu.org>
3047
3048 * doc/bison.texinfo: Clean up some formatting.
3049
30501998-05-05 Richard Stallman <rms@gnu.org>
3051
3052 * doc/bison.texinfo:
3053 Explain better why to make a pure parser.
3054
30551998-01-05 Richard Stallman <rms@gnu.org>
3056
3057 * src/files.c (openfiles):
3058 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
3059 find a temporary directory, if possible. Do not unlink files while
3060 they are open.
3061
30621997-08-25 Richard Stallman <rms@gnu.org>
3063
3064 * src/reader.c (stack_offset;):
3065 Change some warni to warns.
3066
3067 * src/lex.c (literalchar): Use warns, not warni.
3068
30691997-06-28 Richard Stallman <rms@gnu.org>
3070
3071 * src/bison.s1: Add a Bison version comment.
3072
3073 * src/main.c (fatal, warn, berror):
3074 Use program_name.
3075
30761997-06-28 Richard Stallman <rms@gnu.org>
3077
3078 * Makefile.in (bison_version): New variable.
3079 (dist): Use that variable.
3080 (bison.s1): Substitute the Bison version into bison.simple.
3081
3082 * bison.simple: Add a Bison version comment.
3083
30841997-06-18 Richard Stallman <rms@gnu.org>
3085
3086 * src/main.c (fatal, warn, berror):
3087 Make error messages standard.
3088 (toomany): Improve error message text.
3089
3090 * 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:
3091 new.h renamed to alloc.h.
3092
30931997-06-18 Richard Stallman <rms@gnu.org>
3094
3095 * Makefile.in: new.h renamed to alloc.h.
3096
30971997-05-24 Richard Stallman <rms@gnu.org>
3098
3099 * src/lex.c (literalchar):
3100 Fix the code for escaping \, " and '.
3101
3102 (lex): Avoid trouble when there are many chars
3103 to discard in a char literal with just several chars in it.
3104
31051997-05-17 Richard Stallman <rms@gnu.org>
3106
3107 * src/bison.s1:
3108 Use malloc, if using alloca is troublesome.
3109 (YYSTACK_USE_ALLOCA): New flag macro.
3110 Define it for some systems and compilers.
3111 (YYSTACK_ALLOC): New macro.
3112 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3113 If it was malloc'd, free it.
3114
31151997-05-17 Richard Stallman <rms@gnu.org>
3116
3117 * bison.simple:
3118 Use malloc, if using alloca is troublesome.
3119 (YYSTACK_USE_ALLOCA): New flag macro.
3120 Define it for some systems and compilers.
3121 (YYSTACK_ALLOC): New macro.
3122 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3123 If it was malloc'd, free it.
3124
31251997-04-23 Richard Stallman <rms@gnu.org>
3126
3127 * src/bison.s1:
3128 (alloca) [__hpux]: Always define as __builtin_alloca.
3129
31301997-04-23 Richard Stallman <rms@gnu.org>
3131
3132 * bison.simple:
3133 (alloca) [__hpux]: Always define as __builtin_alloca.
3134
31351997-04-22 Richard Stallman <rms@gnu.org>
3136
3137 * src/bison.s1:
3138 [__hpux]: Include alloca.h (right for HPUX 10)
3139 instead of declaring alloca (right for HPUX 9).
3140
3141 * src/bison.s1 (__yy_memcpy):
3142 Declare arg `count' as unsigned int.
3143 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3144
31451997-04-22 Richard Stallman <rms@gnu.org>
3146
3147 * bison.simple:
3148 [__hpux]: Include alloca.h (right for HPUX 10)
3149 instead of declaring alloca (right for HPUX 9).
3150
3151 * bison.simple (__yy_memcpy):
3152 Declare arg `count' as unsigned int.
3153 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3154
31551997-01-03 Richard Stallman <rms@gnu.org>
3156
3157 * src/allocate.c: [__STDC__ or _MSC_VER]:
3158 Declare calloc and realloc to return void *.
3159
31601997-01-02 Richard Stallman <rms@gnu.org>
3161
3162 * src/system.h:
3163 [_MSC_VER]: Include stdlib.h and process.h.
3164 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3165
3166 * src/main.c (main): Return FAILURE as a value.
3167 (printable_version): Declare arg as int, not char.
3168
31691997-01-02 Richard Stallman <rms@gnu.org>
3170
3171 * Makefile.in (dist):
3172 Explicitly check for symlinks, and copy them.
3173
31741996-12-19 Richard Stallman <rms@gnu.org>
3175
3176 * src/files.c:
3177 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3178
31791996-12-18 Paul Eggert <eggert@gnu.org>
3180
3181 * src/bison.s1 (yyparse):
3182 If __GNUC__ and YYPARSE_PARAM are both defined,
3183 declare yyparse to have a void * argument.
3184
31851996-12-18 Paul Eggert <eggert@gnu.org>
3186
3187 * bison.simple (yyparse):
3188 If __GNUC__ and YYPARSE_PARAM are both defined,
3189 declare yyparse to have a void * argument.
3190
31911996-12-17 Richard Stallman <rms@gnu.org>
3192
3193 * src/reduce.c (nbits): Add some casts.
3194
31951996-08-12 Richard Stallman <rms@gnu.org>
3196
3197 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3198
31991996-08-12 Richard Stallman <rms@gnu.org>
3200
3201 * bison.simple: Test _MSDOS as well as _MSDOS_.
3202
32031996-07-31 Richard Stallman <rms@gnu.org>
3204
3205 * src/bison.s1:
3206 [__sun && __i386]: Include alloca.h.
3207
32081996-07-31 Richard Stallman <rms@gnu.org>
3209
3210 * bison.simple:
3211 [__sun && __i386]: Include alloca.h.
3212
32131996-07-30 Richard Stallman <rms@gnu.org>
3214
3215 * src/bison.s1: Comment change.
3216
3217 * src/bison.s1: Test _MSDOS_, not MSDOS.
3218
32191996-07-30 Richard Stallman <rms@gnu.org>
3220
3221 * bison.simple: Comment change.
3222
3223 * bison.simple: Test _MSDOS_, not MSDOS.
3224
32251996-06-01 Richard Stallman <rms@gnu.org>
3226
3227 * 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:
3228 Insert `_' macro around many string constants.
3229
3230 * src/main.c:
3231 Insert `_' macro around many string constants.
3232
3233 (main): Call setlocale, bindtextdomain and textdomain.
3234
3235 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3236 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3237 [ENABLE_NLS]: Include libintl.h.
3238 [ENABLE_NLS] (gettext): Define.
3239 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3240 (N_, PACKAGE, LOCALEDIR): New macros.
3241
32421996-06-01 Richard Stallman <rms@gnu.org>
3243
3244 * POTFILES.in: New file.
3245
3246 * Makefile.in (allocate.o):
3247 Define target explicitly.
3248
3249 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3250 (LDFLAGS): Set to @LDFLAGS@.
3251 (configure): Run autoconf only if preceding `cd' succeeds.
3252 (bison.s1): Redirect output to temporary file then move the
3253 temporary to the target, rather than redirecting directly to bison.s1.
3254 (clean): Remove config.status and config.log.
3255 (distclean): Don't remove config.status here.
3256
32571996-05-12 Richard Stallman <rms@gnu.org>
3258
3259 * src/bison.s1:
3260 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3261
32621996-05-12 Richard Stallman <rms@gnu.org>
3263
3264 * bison.simple:
3265 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3266
32671996-05-11 Richard Stallman <rms@gnu.org>
3268
3269 * src/bison.s1 (__yy_memcpy):
3270 Really reorder the args, as was supposedly done on Feb 14 1995.
3271 (yyparse): Calls changed accordingly.
3272
32731996-05-11 Richard Stallman <rms@gnu.org>
3274
3275 * Makefile.in (dist): Don't use $(srcdir).
3276
3277 * bison.simple (__yy_memcpy):
3278 Really reorder the args, as was supposedly done on Feb 14 1995.
3279 (yyparse): Calls changed accordingly.
3280
32811996-01-27 Richard Stallman <rms@gnu.org>
3282
3283 * src/output.c (output_rule_data):
3284 Test YYERROR_VERBOSE in the conditional
3285 around the definition of ttyname.
3286
32871995-12-29 Richard Stallman <rms@gnu.org>
3288
3289 * src/bison.s1:
3290 Fix line numbers in #line commands.
3291
32921995-12-29 Richard Stallman <rms@gnu.org>
3293
3294 * bison.simple:
3295 Fix line numbers in #line commands.
3296
32971995-12-27 Richard Stallman <rms@gnu.org>
3298
3299 * src/bison.s1 (YYPARSE_PARAM_DECL):
3300 In C++, make it always null.
3301 (YYPARSE_PARAM_ARG): New macro.
3302 (yyparse): Use YYPARSE_PARAM_ARG.
3303
33041995-12-27 Richard Stallman <rms@gnu.org>
3305
3306 * bison.simple (YYPARSE_PARAM_DECL):
3307 In C++, make it always null.
3308 (YYPARSE_PARAM_ARG): New macro.
3309 (yyparse): Use YYPARSE_PARAM_ARG.
3310
33111995-11-29 Richard Stallman <rms@gnu.org>
3312
3313 * doc/bison.texinfo:
3314 Describe literal string tokens, %raw, %no_lines, %token_table.
3315
33161995-11-29 Daniel Hagerty <hag@gnu.org>
3317
3318 * doc/bison.texinfo: Fixed update date
3319
33201995-10-16 Richard Stallman <rms@gnu.org>
3321
3322 * src/version.c: Version 1.25.
3323
33241995-10-16 Richard Stallman <rms@gnu.org>
3325
3326 * NEWS: *** empty log message ***
3327
33281995-10-16 Richard Stallman <rms@gnu.org>
3329
3330 * doc/bison.1, doc/bison.rnh:
3331 Add new options.
3332
33331995-10-15 Richard Stallman <rms@gnu.org>
3334
3335 * src/vmsgetargs.c, src/getargs.c:
3336 Added -n, -k, and -raw switches.
3337 (noparserflag, toknumflag, rawtoknumflag): New variables.
3338
3339 * src/symtab.h (SALIAS):
3340 New #define for adding aliases to %token.
3341 (struct bucket): Added `alias' field.
3342
3343 * src/reduce.c (reduce_grammar):
3344 Revise error message.
3345 (print_notices): Remove final `.' from error message.
3346
3347 * src/reader.c (reader_output_yylsp):
3348 New function.
3349 (readgram): Use `#if 0' around code that accepted %command
3350 inside grammar rules: The documentation doesn't allow it,
3351 and it will fail since the %command processors scan for the next %.
3352 (parse_token_decl): Extended the %token
3353 declaration to allow a multi-character symbol as an alias.
3354 (parse_thong_decl): New function.
3355 (read_declarations): Added %thong declarations.
3356 (read_declarations): Handle NOOP to deal with allowing
3357 % declarations as another means to specify the flags.
3358 (readgram): Allow %prec prior to semantics embedded in a rule.
3359 (skip_to_char, read_declarations, copy_definition)
3360 (parse_token_decl, parse_start_decl, parse_type_decl)
3361 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3362 (get_type_name, copy_guard, copy_action, readgram)
3363 (get_type, packsymbols): Revised most error messages.
3364 Changed `fatal' to `warnxxx' to avoid aborting for error.
3365 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3366 (read_declarations): Improve the error message for
3367 an invalid character. Do not abort.
3368 (read_declarations, copy_guard, copy_action): Use
3369 printable_version to avoid unprintable characters in printed output.
3370 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3371 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3372 Allow the type of a non-terminal can be given
3373 more than once, as long as all specifications give the same type.
3374
3375 * src/output.c:
3376 (output_headers, output_trailers, output, output_gram)
3377 (output_rule_data): Implement noparserflag variable.
3378 Implement toknumflag variable.
3379 (output): Call reader_output_yylsp to output LTYPESTR.
3380
3381 * src/main.c (main):
3382 If reader sees an error, don't process the grammar.
3383 (fatals): Updated to not use VARARGS1.
3384 (printable_version, int_to_string, warn, warni, warns, warnss)
3385 (warnsss): New error reporting functions. Avoid abort for error.
3386
3387 * src/lex.h:
3388 Added THONG and NOOP for alias processing.
3389 Added SETOPT for the new code that allows setting options with %flags.
3390
3391 * src/lex.c:
3392 Include getopt.h. Add some extern decls.
3393 (safegetc): New function to deal with EOF gracefully.
3394 (literalchar); new function to deal with reading \ escapes.
3395 (lex): Use literalchar.
3396 (lex): Implemented "..." tokens.
3397 (literalchar, lex, parse_percent_token): Made tokenbuffer
3398 always contain the token. This includes growing the token
3399 buffer while reading an integer.
3400 (parse_percent_token): Replaced if-else statement with percent_table.
3401 (parse_percent_token): Added % declarations as another
3402 way to specify the flags -n, -l, and -r. Also added hooks for
3403 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3404 major changes to files.c.
3405 (lex) Retain in the incoming stream a character following
3406 an incorrect '/'.
3407 (skip_white_space, lex): Revised most error messages
3408 and changed fatal to warn to avoid aborting.
3409 (percent_table): Added %thong declarations.
3410
3411 * src/gram.h: Comment changes.
3412
3413 * src/files.c (openfiles, open_extra_files, done):
3414 Add faction flag
3415 and actfile file. Handle noparserflag. Both for -n switch.
3416
3417 * src/conflicts.c (resolve_sr_conflict):
3418 Remove use of alloca.
3419
34201995-06-01 Jim Meyering <meyering@gnu.org>
3421
3422 * doc/bison.texinfo: *** empty log message ***
3423
34241995-05-06 Richard Stallman <rms@gnu.org>
3425
3426 * src/bison.s1: Comment change.
3427
34281995-05-06 Richard Stallman <rms@gnu.org>
3429
3430 * bison.simple: Comment change.
3431
34321995-05-03 Richard Stallman <rms@gnu.org>
3433
3434 * src/version.c: Version now 1.24.
3435
3436 * src/bison.s1: Change distribution terms.
3437
3438 * src/version.c: Version now 1.23.
3439
34401995-05-03 Richard Stallman <rms@gnu.org>
3441
3442 * doc/bison.texinfo:
3443 Rewrite "Conditions for Using Bison".
3444 Update version to 1.24.
3445
34461995-05-03 Richard Stallman <rms@gnu.org>
3447
3448 * bison.simple: Change distribution terms.
3449
34501995-02-23 Richard Stallman <rms@gnu.org>
3451
3452 * src/files.c: Test __VMS_POSIX as well as VMS.
3453
34541995-02-14 Jim Meyering <meyering@gnu.org>
3455
3456 * src/bison.s1 (__yy_memcpy):
3457 Renamed from __yy_bcopy to avoid
3458 confusion. Reverse FROM and TO arguments to be consistent with
3459 those of memcpy.
3460
34611995-02-14 Jim Meyering <meyering@gnu.org>
3462
3463 * bison.simple (__yy_memcpy):
3464 Renamed from __yy_bcopy to avoid
3465 confusion. Reverse FROM and TO arguments to be consistent with
3466 those of memcpy.
3467
34681994-11-10 David J. MacKenzie <djm@gnu.org>
3469
3470 * NEWS: reformat
3471
3472 * NEWS: New file.
3473
3474 * Makefile.in (DISTFILES): Include NEWS.
3475
3476 * Makefile.in (DISTFILES):
3477 Include install-sh, not install.sh.
3478
3479 * configure.in: Update to Autoconf v2 macro names.
3480
34811994-10-05 David J. MacKenzie <djm@gnu.org>
3482
3483 * Makefile.in: fix typo
3484
3485 * Makefile.in (prefix, exec_prefix):
3486 Let configure set them.
3487
34881994-09-28 David J. MacKenzie <djm@gnu.org>
3489
3490 * Makefile.in: Set datadir to $(prefix)/share.
3491
34921994-09-15 Richard Stallman <rms@gnu.org>
3493
3494 * src/bison.s1:
3495 Update copyright notice and GPL version.
3496
34971994-09-15 Richard Stallman <rms@gnu.org>
3498
3499 * bison.simple:
3500 Update copyright notice and GPL version.
3501
35021994-07-12 Richard Stallman <rms@gnu.org>
3503
3504 * src/reduce.c, src/reader.c:
3505 entered into RCS
3506
35071994-05-05 David J. MacKenzie <djm@gnu.org>
3508
3509 * Makefile.in: entered into RCS
3510
35111994-03-26 Richard Stallman <rms@gnu.org>
3512
3513 * src/bison.s1: entered into RCS
3514
35151994-03-26 Richard Stallman <rms@gnu.org>
3516
3517 * bison.simple: entered into RCS
3518
35191994-03-25 Richard Stallman <rms@gnu.org>
3520
3521 * src/main.c: entered into RCS
3522
35231994-03-24 Richard Stallman <rms@gnu.org>
3524
3525 * src/conflicts.c: entered into RCS
3526
35271994-01-02 Richard Stallman <rms@gnu.org>
3528
3529 * Makefile.in: *** empty log message ***
3530
35311993-11-21 Richard Stallman <rms@gnu.org>
3532
3533 * src/bison.s1: *** empty log message ***
3534
35351993-11-21 Richard Stallman <rms@gnu.org>
3536
3537 * doc/bison.texinfo: entered into RCS
3538
3539 * doc/bison.texinfo: *** empty log message ***
3540
35411993-11-21 Richard Stallman <rms@gnu.org>
3542
3543 * bison.simple: *** empty log message ***
3544
35451993-10-25 David J. MacKenzie <djm@gnu.org>
3546
3547 * doc/bison.texinfo: *** empty log message ***
3548
35491993-10-19 Richard Stallman <rms@gnu.org>
3550
3551 * src/bison.s1: *** empty log message ***
3552
35531993-10-19 Richard Stallman <rms@gnu.org>
3554
3555 * bison.simple: *** empty log message ***
3556
35571993-10-14 Richard Stallman <rms@gnu.org>
3558
3559 * src/bison.s1: *** empty log message ***
3560
35611993-10-14 Richard Stallman <rms@gnu.org>
3562
3563 * bison.simple: *** empty log message ***
3564
35651993-09-14 David J. MacKenzie <djm@gnu.org>
3566
3567 * doc/bison.texinfo: *** empty log message ***
3568
35691993-09-13 Noah Friedman <friedman@gnu.org>
3570
3571 * Makefile.in: *** empty log message ***
3572
35731993-09-10 Richard Stallman <rms@gnu.org>
3574
3575 * src/conflicts.c: *** empty log message ***
3576
3577 * src/system.h: entered into RCS
3578
35791993-09-10 Richard Stallman <rms@gnu.org>
3580
3581 * doc/bison.1: entered into RCS
3582
35831993-09-06 Noah Friedman <friedman@gnu.org>
3584
3585 * src/version.c: entered into RCS
3586
35871993-09-06 Noah Friedman <friedman@gnu.org>
3588
3589 * Makefile.in: *** empty log message ***
3590
35911993-07-30 David J. MacKenzie <djm@gnu.org>
3592
3593 * Makefile.in: *** empty log message ***
3594
35951993-07-24 Richard Stallman <rms@gnu.org>
3596
3597 * src/bison.s1: *** empty log message ***
3598
35991993-07-24 Richard Stallman <rms@gnu.org>
3600
3601 * bison.simple: *** empty log message ***
3602
36031993-07-08 David J. MacKenzie <djm@gnu.org>
3604
3605 * Makefile.in: *** empty log message ***
3606
36071993-07-04 Richard Stallman <rms@gnu.org>
3608
3609 * src/bison.s1: *** empty log message ***
3610
36111993-07-04 Richard Stallman <rms@gnu.org>
3612
3613 * bison.simple: *** empty log message ***
3614
36151993-06-26 David J. MacKenzie <djm@gnu.org>
3616
3617 * src/getargs.c: entered into RCS
3618
36191993-06-26 David J. MacKenzie <djm@gnu.org>
3620
3621 * doc/bison.texinfo: *** empty log message ***
3622
3623 * doc/bison.1: New file.
3624
36251993-06-25 Richard Stallman <rms@gnu.org>
3626
3627 * src/getargs.c: New file.
3628
36291993-06-16 Richard Stallman <rms@gnu.org>
3630
3631 * src/bison.s1: *** empty log message ***
3632
36331993-06-16 Richard Stallman <rms@gnu.org>
3634
3635 * bison.simple: *** empty log message ***
3636
36371993-06-03 Richard Stallman <rms@gnu.org>
3638
3639 * src/bison.s1: New file.
3640
36411993-06-03 Richard Stallman <rms@gnu.org>
3642
3643 * doc/bison.texinfo: *** empty log message ***
3644
36451993-06-03 Richard Stallman <rms@gnu.org>
3646
3647 * bison.simple: New file.
3648
36491993-05-19 Richard Stallman <rms@gnu.org>
3650
3651 * doc/bison.texinfo: New file.
3652
36531993-05-07 Noah Friedman <friedman@gnu.org>
3654
3655 * Makefile.in: *** empty log message ***
3656
36571993-04-28 Noah Friedman <friedman@gnu.org>
3658
3659 * src/reader.c: *** empty log message ***
3660
36611993-04-23 Noah Friedman <friedman@gnu.org>
3662
3663 * src/alloc.h: entered into RCS
3664
36651993-04-20 David J. MacKenzie <djm@gnu.org>
3666
3667 * src/version.c: *** empty log message ***
3668
3669 * src/files.c, src/allocate.c:
3670 entered into RCS
3671
3672 * src/reader.c: *** empty log message ***
3673
3674 * src/lex.c: entered into RCS
3675
3676 * src/conflicts.c: New file.
3677
3678 * src/symtab.c: entered into RCS
3679
3680 * src/alloc.h: New file.
3681
3682 * src/LR0.c: entered into RCS
3683
36841993-04-18 Noah Friedman <friedman@gnu.org>
3685
3686 * src/reader.c: New file.
3687
3688 * src/version.c: *** empty log message ***
3689
36901993-04-18 Noah Friedman <friedman@gnu.org>
3691
3692 * Makefile.in: *** empty log message ***
3693
36941993-04-17 Noah Friedman <friedman@gnu.org>
3695
3696 * Makefile.in: *** empty log message ***
3697
36981993-04-15 Richard Stallman <rms@gnu.org>
3699
3700 * src/main.c, src/files.c:
3701 New file.
3702
37031993-04-15 Noah Friedman <friedman@gnu.org>
3704
3705 * configure.in: entered into RCS
3706
3707 * configure.in: *** empty log message ***
3708
3709 * configure.in: New file.
3710
37111993-04-14 Richard Stallman <rms@gnu.org>
3712
3713 * Makefile.in: New file.
3714
37151993-04-13 Richard Stallman <rms@gnu.org>
3716
3717 * src/version.c: New file.
3718
37191993-03-25 Richard Stallman <rms@gnu.org>
3720
3721 * src/output.c: entered into RCS
3722
37231992-09-25 Richard Stallman <rms@gnu.org>
3724
3725 * configure.bat: entered into RCS
3726
37271992-06-22 Richard Stallman <rms@gnu.org>
3728
3729 * src/vmsgetargs.c: entered into RCS
3730
37311992-06-22 Richard Stallman <rms@gnu.org>
3732
3733 * doc/bison.rnh: entered into RCS
3734
37351992-04-20 David J. MacKenzie <djm@gnu.org>
3736
3737 * README: entered into RCS
3738
37391992-01-22 Richard Stallman <rms@gnu.org>
3740
3741 * src/machine.h: entered into RCS
3742
37431991-12-21 Richard Stallman <rms@gnu.org>
3744
3745 * src/lalr.c, src/closure.c:
3746 entered into RCS
3747
37481991-12-20 Richard Stallman <rms@gnu.org>
3749
3750 * src/state.h: entered into RCS
3751
37521991-12-18 Richard Stallman <rms@gnu.org>
3753
3754 * src/print.c, src/nullable.c, src/derives.c:
3755 entered into RCS
3756
37571991-11-03 David J. MacKenzie <djm@gnu.org>
3758
3759 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3760 entered into RCS
3761
37621988-09-09 Richard Stallman <rms@gnu.org>
3763
3764 * src/bison.hairy: entered into RCS
3765
37661987-12-16 Richard Stallman <rms@gnu.org>
3767
3768 * REFERENCES: entered into RCS