]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/LR0.c (allocate_itemsets): kernel_size contains ints, not
[bison.git] / ChangeLog
CommitLineData
0e41b407
AD
12001-11-26 Akim Demaille <akim@epita.fr>
2
3 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not
4 size_ts.
5
62001-11-26 Akim Demaille <akim@epita.fr>
7
8 * src/complain.c, src/complain.h (error): Remove, provided by
9 lib/error.[ch].
10
e0c40012
AD
112001-11-26 Akim Demaille <akim@epita.fr>
12
13 * src/reader.c (read_declarations): Don't abort on tok_illegal,
14 issue an error message.
15 * tests/regression.at (Invalid %directive): New.
16 Reported by Hans Aberg.
17
5e147124
AD
182001-11-26 Akim Demaille <akim@epita.fr>
19
20 * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE.
21 * lib/Makefile.am (libbison_a_SOURCES): Adjust.
22
a034c8b8
AD
232001-11-26 Akim Demaille <akim@epita.fr>
24
25 * src/conflicts.c (conflicts_print): Don't complain at all when
26 there are no reduce/reduce conflicts, and as many shift/reduce
27 conflicts as expected.
28 * tests/regression.at (%expect right): Adjust.
29
b83f0407
MA
302001-11-25 Marc Autret <autret_m@epita.fr>
31
32 * doc/bison.texinfo (Mystery Conflicts): Hint '-v' use.
33 From Golubev I. N.
34
c64a20f3
AD
352001-11-23 Akim Demaille <akim@epita.fr>
36
37 * lib/alloca.c: Update, from fileutils.
38
5b0d29bb
AD
392001-11-23 Akim Demaille <akim@epita.fr>
40
41 * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@.
42
722c4bfe
AD
432001-11-23 Akim Demaille <akim@epita.fr>
44
45 * src/system.h: Include alloca.h.
46 * src/main.c (main) [C_ALLOCA]: Call alloca (0).
47
6255b435
AD
482001-11-23 Akim Demaille <akim@epita.fr>
49
50 * src/print_graph.c (print_actions): Remove `rule', unused.
51 * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to
52 pacify GCC's signed < unsigned warnings.
53 * src/closure.c (itemsetsize): Likewise.
54 * src/reader.c (symbol_list_new): Static.
55
b29b2ed5
AD
562001-11-23 Akim Demaille <akim@epita.fr>
57
58 Attaching lineno to buckets is stupid, since only one copy of each
59 symbol is kept, only the line of the first occurrence is kept too.
60
61 * src/symtab.h, src/symtab.c (bucket): Remove the line member.
62 * src/reader.c (rline_allocated): Remove, unused.
63 (symbol_list): Have a `line' member.
64 (symbol_list_new): New.
65 (readgram): Use it.
66 * src/print.c (print_grammar): Output the rule line numbers.
67 * tests/regression.at (Solved SR Conflicts)
68 (Unresolved SR Conflicts): Adjust.
69 Reported by Hans Aberg.
70
a81b1d4a
MA
712001-11-22 Marc Autret <autret_m@epita.fr>
72
73 * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0.
74
c1ecb3c1
MA
752001-11-22 Marc Autret <autret_m@epita.fr>
76
77 * src/muscle_tab.c (muscle_init): Remove initialization of
78 skeleton muscle.
79 * src/output.c (output_master_parser): Do it here.
80
fbe01355
AD
812001-11-20 Akim Demaille <akim@epita.fr>
82
83 * po/sv.po: New.
84 * configure.in (ALL_LINGUAS): Adjust.
85 * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no
86 longer contains strings to translate.
87
81e895c0
AD
882001-11-19 Akim Demaille <akim@epita.fr>
89
90 * src/conflicts.c (conflicts_print): Add a missing \n.
91
6bb1878b
AD
922001-11-19 Akim Demaille <akim@epita.fr>
93
94 * src/nullable.c (nullable_print): New.
95 (set_nullable): Call it when tracing.
96 Better locality of variables.
97
d9ec2d07
AD
982001-11-19 Akim Demaille <akim@epita.fr>
99
100 * src/print.c (print_actions): Better locality of variables.
101
720e5c1b
AD
1022001-11-19 Akim Demaille <akim@epita.fr>
103
104 * src/derives.c (print_derives): Fix and enrich.
105 * src/closure.c (print_fderives): Likewise.
106
fb908786
AD
1072001-11-19 Akim Demaille <akim@epita.fr>
108
109 * src/closure.c (itemsetend): Remove, replaced with...
110 (itemsetsize): new.
111
125ecb56
AD
1122001-11-19 Akim Demaille <akim@epita.fr>
113
114 * src/LR0.c (kernel_end): Remove, replaced with...
115 (kernel_size): new.
116
d8cf039f
AD
1172001-11-19 Akim Demaille <akim@epita.fr>
118
119 * src/conflicts.c (set_conflicts): Use arrays instead of pointers
120 to clarify.
121
7bec0760
AD
1222001-11-19 Akim Demaille <akim@epita.fr>
123
124 * src/closure.c (closure): Use arrays instead of pointers to clarify.
125
c87d4863
AD
1262001-11-19 Akim Demaille <akim@epita.fr>
127
128 * src/closure.c, src/derives.c, src/nullable.c: Adjust various
129 trace messages.
130 * src/LR0.c: Likewise.
131 (allocate_itemsets): Use arrays instead of pointers to clarify.
132
9bfe901c
AD
1332001-11-19 Akim Demaille <akim@epita.fr>
134
135 * src/getargs.c (statistics_flag): Replace with...
136 (trace_flag): New.
137 (longopts): Accept --trace instead of --statistics.
138 * src/getargs.h, src/options.c: Adjust.
139 * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c,
140 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
141
97db7bd4
AD
1422001-11-19 Akim Demaille <akim@epita.fr>
143
cc72668c 144 * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer
97db7bd4
AD
145 pointers to clarify the code.
146 (save_reductions, save_shifts): Factor common parts of alternatives.
147
2c5f66ed
AD
1482001-11-19 Akim Demaille <akim@epita.fr>
149
150 * src/LR0.c (new_state, get_state): Complete TRACE code.
151 * src/closure.c: Include `reader.h' to get `tags', needed by the
152 trace code.
153 Rename the conditional DEBUG as TRACE.
154 Output consistently TRACEs to stderr, not stdout.
155 * src/derives.c: Likewise.
156 * src/reduce.c: (inaccessable_symbols): Using if is better style
157 than goto.
158 Use `#if TRACE' instead of `#if 0' for tracing code.
159
300f275f
AD
1602001-11-19 Akim Demaille <akim@epita.fr>
161
162 * src/system.h (LIST_FREE, shortcpy): New.
163 * src/LR0.c: Use them.
164 * src/output.c (free_itemsets, free_reductions, free_shifts):
165 Remove, replaced by LIST_FREE.
166
f59c437a
AD
1672001-11-19 Akim Demaille <akim@epita.fr>
168
169 * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC)
170 (REDUCTIONS_ALLOC): New.
171 * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory
172 allocation.
173
6986fd9e
AD
1742001-11-19 Akim Demaille <akim@epita.fr>
175
176 * src/LR0.c (new_state): Complete trace code.
177 * src/nullable.c (set_nullable): Don't translate traces.
178
4bc30f78
AD
1792001-11-19 Akim Demaille <akim@epita.fr>
180
181 * src/print_graph.c (print_core): Better locality of variables.
182 * src/print.c (print_core): Likewise.
183
08a946e0
AD
1842001-11-19 Akim Demaille <akim@epita.fr>
185
186 * src/vcg.c: You do the output, so you are responsible of the
187 handling of VCG syntax, in particular: use quotearg.
188 * src/print_graph.c: Don't.
189 (print_actions): Don't output the actions as part of the nodes,
190 since that's the job of the edges.
191 (print_state): Don't output by hand: fill the node description,
9bfe901c 192 and ask for its output.
08a946e0 193
f0473484
AD
1942001-11-19 Akim Demaille <akim@epita.fr>
195
cc72668c
AD
196 * src/bison.simple (yyparse): When verbosely reporting an error,
197 no longer put additional quotes around token names.
f0473484
AD
198 * tests/calc.at: Adjust.
199
e41dc700
AD
2002001-11-19 Akim Demaille <akim@epita.fr>
201
202 * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'.
203 * src/reader.c (record_rule_lines, rline, rline_allocated): Remove.
204 * src/output.c: Adjust.
205
652a871c
AD
2062001-11-19 Akim Demaille <akim@epita.fr>
207
208 * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of...
209 (rule_t): this.
210 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
211
b2ed6e58
AD
2122001-11-19 Akim Demaille <akim@epita.fr>
213
214 * src/gram.h (rule_t): New.
215 (rule_table): New.
216 (rrhs, rlhs): Remove, part of state_t.
217 * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c,
218 * src/lalr.c, src/nullable.c, src/output.c, src/print.c,
219 * src/reader.c, src/reduce.c: Adjust.
220
edad7067
AD
2212001-11-19 Akim Demaille <akim@epita.fr>
222
223 * src/reader.c (symbols_output): New, extracted from...
224 (packsymbols): Here.
225 (reader): Call it.
226
3feec034
AD
2272001-11-19 Akim Demaille <akim@epita.fr>
228
229 * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with...
230 (maxrhs): this new function.
231
ddcd5fdf
AD
2322001-11-19 Akim Demaille <akim@epita.fr>
233
cc72668c 234 * src/lalr.c (F): New macro to access the variable F.
ddcd5fdf
AD
235 Adjust.
236
bb527fc2
AD
2372001-11-19 Akim Demaille <akim@epita.fr>
238
cc72668c 239 * src/lalr.h (LA): New macro to access the variable LA.
bb527fc2
AD
240 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
241 * src/lalr.c: Adjust.
242
a845a697
AD
2432001-11-19 Akim Demaille <akim@epita.fr>
244
245 * src/lalr.c (initialize_LA): Only initialize LA. Let...
246 (set_state_table): handle the `lookaheads' members.
247
f004bf6a
AD
2482001-11-19 Akim Demaille <akim@epita.fr>
249
cc72668c
AD
250 * src/lalr.h (lookaheads): Removed array, whose contents is now
251 a member of...
f004bf6a
AD
252 (state_t): this structure.
253 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
254 Adjust.
255
de326cc0
AD
2562001-11-19 Akim Demaille <akim@epita.fr>
257
cc72668c
AD
258 * src/lalr.h (consistent): Removed array, whose contents is now
259 a member of...
de326cc0
AD
260 (state_t): this structure.
261 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
262 Adjust.
263
90b4416b
AD
2642001-11-19 Akim Demaille <akim@epita.fr>
265
cc72668c
AD
266 * src/lalr.h (reduction_table, shift_table): Removed arrays, whose
267 contents are now members of...
90b4416b
AD
268 (state_t): this structure.
269 * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
270 Adjust.
271
9703cc49
AD
2722001-11-19 Akim Demaille <akim@epita.fr>
273
274 * src/lalr.h (state_t): New.
275 (state_table): Be a state_t * instead of a core **.
276 (accessing_symbol): Remove, part of state_t.
277 * src/lalr.c: Adjust.
278 (set_accessing_symbol): Merge into...
279 (set_state_table): this.
280 * src/print_graph.c, src/conflicts.c: Adjust.
281
d803322e
AD
2822001-11-14 Akim Demaille <akim@epita.fr>
283
284 * tests/calc.at, tests/output.at, tests/regression.at,
285 * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g:
286 now the tests are run in private dirs, therefore AC_CLEANUP and
287 family can be simplified to 0-ary.
288 * tests/atlocal.in: Now that we run `elsewhere' than in tests/,
289 use abs. path to find config.h.
290 * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's
291 stderr, there can be way too much random noise.
292 Instead pass -Werror to GCC and rely on the exit status.
293 Reported by Wolfram Wagner.
294
3d76b07d
AD
2952001-11-14 Akim Demaille <akim@epita.fr>
296
297 * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be
298 defined only if yyoverflow is defined, to avoid `warning: unused
299 variable `yyvs1''.
300 Reported by The Test Suite.
301
09b503c8
AD
3022001-11-14 Akim Demaille <akim@epita.fr>
303
304 * src/print.c: Include reduce.h.
305 Reported by Hans Aberg.
306
3072001-11-14 Akim Demaille <akim@epita.fr>
308
309 * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer):
310 Revert a previous patch: these are really const.
311 * src/conflicts.c (conflict_report): Additional useless pair of
312 braces to pacify GCC's warnings for `if () if () {} else {}'.
313 * src/lex.c (parse_percent_token): Replace equal_offset with
314 arg_offset.
315 arg is const.
316 Be sure to strdup `arg' when used, since there is no reason for
317 token_buffer not to change.
318
0f37a994
AD
3192001-11-14 Akim Demaille <akim@epita.fr>
320
321 * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper
322 definition.
323 * src/main.c (main): Use them.
324 Suggested by Hans Aberg.
325
d39d93b8
AD
3262001-11-12 Akim Demaille <akim@epita.fr>
327
328 * src/system.h (ngettext): Now that we use ngettext, be sure to
329 provide a default definition when NLS are not used.
330
9edcd895
AD
3312001-11-12 Akim Demaille <akim@epita.fr>
332
333 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
334 Use @kbd to denote user input.
335 (Language and Grammar): ANSIfy the example.
336 Adjust its layout for info/notinfo.
337 (Location Tracking Calc): Output error messages to stderr.
338 Output locations in a more GNUtically correct way.
339 Fix a couple of Englishos.
340 Adjust @group/@end group pairs.
341
7da99ede
AD
3422001-11-12 Akim Demaille <akim@epita.fr>
343
344 %expext was not functioning at all.
345
346 * src/conflicts.c (expected_conflicts): Set to -1.
347 (conflict_report): Use ngettext.
348 (conflicts_print): Check %expect and make its violation an error.
349 * doc/bison.texinfo (Expect Decl): Adjust.
350 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
351 * tests/regression.at (%expect not enough, %expect right)
352 (%expect too much): New.
353
ba9dda1a
AD
3542001-11-12 Akim Demaille <akim@epita.fr>
355
356 * tests/regression.at (Conflicts): Rename as...
357 (Unresolved SR Conflicts): this.
358 (Solved SR Conflicts): New.
359
337c5bd1
AD
3602001-11-12 Akim Demaille <akim@epita.fr>
361
362 * src/reduce.c (print_results): Rename as...
363 (reduce_output): This.
364 Output to OUT, passed as argument, instead of output_obstack.
365 (dump_grammar): Likewise.
366 (reduce_free): New.
367 Also free V1.
368 (reduce_grammar): No longer call reduce_output, since...
369 * src/print.c (print_results): do it.
370 * src/main.c (main): Call reduce_free;
371
c73a41af
AD
3722001-11-12 Akim Demaille <akim@epita.fr>
373
374 * src/conflicts.c (print_reductions): Accept OUT as argument.
375 Output to it, not to output_obstack.
376 * src/print.c (print_actions): Adjust.
377
0df87bb6
AD
3782001-11-12 Akim Demaille <akim@epita.fr>
379
380 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
381 the result instead of using...
382 (src_total, rrc_total, src_count, rrc_count): Remove.
383 (any_conflicts): Remove.
384 (print_conflicts): Split into...
385 (conflicts_print, conflicts_output): New.
386 * src/conflicts.h: Adjust.
387 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
0f37a994 388 * src/print.c (print_grammar): Issue `\n' between two rules.
0df87bb6
AD
389 * tests/regression.at (Conflicts): New.
390 Reported by Tom Lane.
391
e4d3d4de
AD
3922001-11-12 Akim Demaille <akim@epita.fr>
393
394 * tests/regression.at (Invalid input): Remove, duplicate with
395 ``Invalid input: 1''.
396
6d7d248e
AD
3972001-11-12 Akim Demaille <akim@epita.fr>
398
399 * tests/torture.at (AT_DATA_STACK_TORTURE)
400 (Exploding the Stack Size with Alloca)
401 (Exploding the Stack Size with Malloc): New.
402
e9e4c321
AD
4032001-11-12 Akim Demaille <akim@epita.fr>
404
405 * src/bison.simple (YYSTACK_REALLOC): New.
406 (yyparse) [!yyoverflow]: Use it and free the old stack.
0f37a994 407 Reported by Per Allansson.
e9e4c321 408
5f7e0832
AD
4092001-11-12 Pascal Bart <pascal.bart@epita.fr>
410
411 * src/bison.simple: Define type yystype instead of YYSTYPE, and
412 define CPP macro, which substitute YYSTYPE by yystype.
413 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
414 with yyltype/YYLTYPE. This allows inclusion of the generated
415 header within the parser if the compiler, such as GGC, accepts
416 multiple equivalent #defines.
417 From Akim.
418
e3f1699f
AD
4192001-11-05 Akim Demaille <akim@epita.fr>
420
421 * src/reader.c (symbols_output): New, extracted from...
422 (packsymbols): here.
423 (reader): Adjust.
424
65be0866
AD
4252001-11-05 Akim Demaille <akim@epita.fr>
426
427 * src/lex.c (parse_percent_token): s/quotearg/quote/.
428
e4d910bf
AD
4292001-11-05 Akim Demaille <akim@epita.fr>
430
431 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
432 pattern.
433
951366c1
AD
4342001-11-05 Akim Demaille <akim@epita.fr>
435
436 * src/options.h (struct option_table_struct): set_flags is void*.
437 * src/options.c (longopts): Support `--output' and `%output'.
438 (usage): Adjust.
439 * src/lex.h (tok_setopt): Remove, replaced with...
440 (tok_intopt, tok_stropt): these new guys.
441 * src/lex.c (getopt.h): Not needed.
442 (token_buffer, unlexed_token_buffer): Not const.
443 (percent_table): Promote `-' over `_' in directive names.
444 Active `%name-prefix', `file-prefix', and `output'.
445 (parse_percent_token): Accept possible arguments to directives.
446 Promote `-' over `_' in directive names.
447
d8988b2f
AD
4482001-11-04 Akim Demaille <akim@epita.fr>
449
450 * doc/bison.texinfo (Decl Summary): Split the list into
451 `directives for grammars' and `directives for bison'.
452 Sort'em.
453 Add description of `%name-prefix', `file-prefix', and `output'.
454 Promote `-' over `_' in directive names.
455 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
456 Simplify the description of `--name-prefix'.
457 Promote `-' over `_' in directive names.
458 Promote `--output' over `--output-file'.
459 Fix the description of `--defines'.
460 * tests/output.at: Exercise %file-prefix and %output.
461
6468d18e
AD
4622001-11-02 Akim Demaille <akim@epita.fr>
463
464 * doc/refcard.tex: Update.
465
6b7e85b9
AD
4662001-11-02 Akim Demaille <akim@epita.fr>
467
468 * src/symtab.h (SUNDEF): New.
469 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
470 stand for `uninitialized', instead of 0.
471 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
472 * src/lex.c (lex): Adjust.
473
474 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
475 Number it 0.
476 Let yylex return it instead of a plain 0.
477 Reported by Dick Streefland.
478
cd5aafcf
AD
4792001-11-02 Akim Demaille <akim@epita.fr>
480
481 * tests/regression.at (Mixing %token styles): New test.
482
037ca2f1
AD
4832001-11-02 Akim Demaille <akim@epita.fr>
484
485 * src/reader.c (parse_thong_decl): Formatting changes.
486 (token_translations_init): New, extracted from...
487 (packsymbols): Here.
488 Adjust.
489
270a173c
AD
4902001-11-01 Akim Demaille <akim@epita.fr>
491
492 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
493 Check that `9foo.y' produces correct cpp guards.
494 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
495 guards.
496 Reported by Wwp.
497
561f9a30
AD
4982001-11-01 Akim Demaille <akim@epita.fr>
499
500 * tests/regression.at (Invalid input: 2): New.
501 * src/lex.c (unlexed_token_buffer): New.
502 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
503 too.
504 Reported by Wwp.
505
f987e9d2
AD
5062001-11-01 Akim Demaille <akim@epita.fr>
507
508 * tests/calc.at: Catch up with 1.30.
509 * configure.in: Bump to 1.49a.
510 Adjust to newer Autotest.
511
0846f581
PB
5122001-10-19 Pascal Bart <pascal.bart@epita.fr>
513
514 * src/conflicts.c: Move global variables rrc_total and src_total ...
515 (print_conflicts): here.
516 * src/output.c (output): Free global variable user_toknums.
517 * src/lex.c (token_obstack): Become static.
518
3c1a79b3
AD
5192001-10-18 Akim Demaille <akim@epita.fr>
520
521 * tests/atlocal.in (GCC): Add.
522 * tests/calc.at: s/m4_match/m4_bmatch/.
523 s/m4_patsubst/m4_bpatsubst/.
524 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
525 * configure.in: AC_SUBST(GCC).
526
5d52e7d0
MA
5272001-10-14 Marc Autret <autret_m@epita.fr>
528
529 * src/options.c (create_long_option_table): Fix.
530
631aa1d3
AD
5312001-10-10 Akim Demaille <akim@epita.fr>
532
533 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
534
f6ec6d13
AD
5352001-10-04 Akim Demaille <akim@epita.fr>
536
537 * src/reader.c (parse_union_decl): Push the caracters in
538 union_obstack, not attrs_obstack.
539
342b8b6e
AD
5402001-10-04 Akim Demaille <akim@epita.fr>
541
542 Merge in the branch 1.29.
543
544 * src/reader.c (packsymbols): Use a temporary obstack for
545 `%%tokendef', since output_stack is already used elsewhere.
546
547 2001-10-02 Akim Demaille <akim@epita.fr>
548
549 Bump 1.29d.
550
551 2001-10-02 Akim Demaille <akim@epita.fr>
552
553 Version 1.29c.
554
555 2001-10-02 Akim Demaille <akim@epita.fr>
556
557 * tests/regression.at (Invalid CPP headers): New.
558 From Alexander Belopolsky.
559 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
560
561 2001-10-02 Akim Demaille <akim@epita.fr>
562
563 * tests/regression.at (Invalid input): New.
564 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
565 Reported by Shura.
566
567 2001-10-02 Akim Demaille <akim@epita.fr>
568
569 * tests/calc.at: Now that --debug works, the tests must be adjusted.
570
571 2001-10-02 Akim Demaille <akim@epita.fr>
572
573 * src/output.c (output_parser): Assert `skeleton'.
574 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
575 systems.
576 From Shura.
577
578 2001-10-01 Marc Autret <autret_m@epita.fr>
579
580 * src/lex.h: Echo modifications.
581 * src/lex.c (unlex): Parameter is now token_t.
582 From Hans Aberg.
583
584 2001-10-01 Marc Autret <autret_m@epita.fr>
585
586 * src/main.c: Include lex.h.
587 From Hans Aberg.
588
589 2001-09-29 Akim Demaille <akim@epita.fr>
590
591 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
592
593 2001-09-28 Akim Demaille <akim@epita.fr>
594
595 * tests/testsuite.at: Update to newer Autotest.
596 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
597
598 2001-09-27 Akim Demaille <akim@epita.fr>
599
600 Position independent wrapper.
601
602 * tests/bison: Remove.
603 * tests/bison.in: New.
604 * configure.in: Adjust.
605
606 2001-09-27 Paul Eggert <eggert@twinsun.com>
607
608 Port quotearg fixes from tar 1.13.24.
609
610 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
611 tm to be declared.
612 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
613 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
614
615 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
616 * m4/mbrtowc.m4: New file.
617 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
618 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
619
620 2001-09-27 Akim Demaille <akim@epita.fr>
621
622 Bump to 1.29c.
623
624 2001-09-27 Akim Demaille <akim@epita.fr>
625
626 Version 1.29b.
627
628 2001-09-25 Akim Demaille <akim@epita.fr>
629
630 * src/system.h: Include `xalloc.h'.
631 Remove it from the C files.
632 * src/files.c (output_files): Free the obstacks.
633 * src/lex.c (init_lex): Rename as...
634 (lex_init): this.
635 (lex_free): New.
636 * src/main.c (main): Use it.
637
638 2001-09-24 Marc Autret <autret_m@epita.fr>
639
640 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
641 to output informations in fout (FILE*).
642 (open_graph, close_graph): Likewise.
643 (output_graph, output_edge, output_node): Likewise.
644 * src/vcg.h: Update function prototypes.
645 * src/print_graph.c (print_graph): Open output graph file.
646 (print_actions): Adjust.
647 * src/files.h: Remove extern declaration.
648 * src/files.c: Remove graph_obstack declaration.
649 (open_files): Remove graph_obstack initialization.
650 (output_files): Remove graph_obstack saving.
651
652 2001-09-24 Marc Autret <autret_m@epita.fr>
653
654 * src/files.c (compute_output_file_names): Fix.
655
656 2001-09-24 Marc Autret <autret_m@epita.fr>,
657 Akim Demaille <akim@epita.fr>
658
659 * src/reader.c (reader): Remove call to free_symtab ().
660 * src/main.c (main): Call it here.
661 Include symtab.h.
662 * src/conflicts.c (initialize_conflicts): Rename as...
663 (solve_conflicts): this.
664 * src/print.c (print_core, print_actions, print_state)
665 (print_grammar): Dump to a file instead a `output_obstack'.
666 (print_results): Dump `output_obstack', and then proceed with the
667 FILE *.
668 * src/files.c (compute_output_file_names, close_files): New.
669 (output_files): Adjust.
670 * src/main.c (main): Adjust.
671
672 2001-09-23 Marc Autret <autret_m@epita.fr>
673
674 * src/files.c (compute_header_macro): Computes header macro name
675 from spec_defines_file when given.
676
677 2001-09-23 Marc Autret <autret_m@epita.fr>
678
679 * src/files.c (output_files): Add default extensions.
680
681 2001-09-22 Akim Demaille <akim@epita.fr>
682
683 * src/conflicts.c (finalize_conflicts): Rename as...
684 (free_conflicts): this.
685
686 2001-09-22 Akim Demaille <akim@epita.fr>
687
688 * src/gram.c (gram_free): Rename back as...
689 (dummy): this.
690 (output_token_translations): Free `token_translations'.
691 * src/symtab.c (free_symtab): Free the tag field.
692
693 2001-09-22 Akim Demaille <akim@epita.fr>
694
695 Remove `translations' as it is always set to true.
696
697 * src/gram.h: Adjust.
698 * src/reader.c (packsymbols, parse_token_decl): Adjust
699 * src/print.c (print_grammar): Adjust.
700 * src/output.c (output_token_translations): Adjust.
701 * src/lex.c (lex): Adjust.
702 * src/gram.c: Be sure the set pointers to NULL.
703 (dummy): Rename as...
704 (gram_free): this.
705
706 2001-09-22 Akim Demaille <akim@epita.fr>
707
708 * configure.in: Invoke AM_LIB_DMALLOC.
709 * src/system.h: Use dmalloc.
710 * src/LR0.c: Be sure to have pointers initialized to NULL.
711 (allocate_itemsets): Allocate kernel_items only if needed.
712
713 2001-09-22 Akim Demaille <akim@epita.fr>
714
715 * configure.in: Bump to 1.29b.
716 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
717 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
718 need xmalloc.c in calc.y.
719 From Pascal Bart.
720
721 2001-09-21 Akim Demaille <akim@epita.fr>
722
723 Version 1.29a.
724 * Makefile.maint, config/config.guess, config/config.sub,
725 * config/missing: Update from masters.
726 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
727 upon package.m4.
728 * configure.in (ALL_LINGUAS): Add `tr'.
729
730 2001-09-21 Akim Demaille <akim@epita.fr>
731
732 * tests/Makefile.am (package.m4): Move to...
733 ($(srcdir)/$(TESTSUITE)): here.
734
735 2001-09-20 Akim Demaille <akim@epita.fr>
736
737 * src/complain.c: No longer try to be standalone: use system.h.
738 Don't assume __STDC__ is defined to 1. Just test if it is defined.
739 * src/complain.h: Likewise.
740 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
741 Remove the unused variable `n'.
742 From Albert Chin-A-Young.
743
744 2001-09-18 Marc Autret <autret_m@epita.fr>
745
746 * doc/bison.1: Update.
747 * doc/bison.texinfo (Bison Options): Update --defines and --graph
748 descriptions.
749 (Option Cross Key): Update.
750 Add --graph.
751
752 2001-09-18 Marc Autret <autret_m@epita.fr>
753
754 * tests/regression.at: New test (comment in %union).
755
756 2001-09-18 Marc Autret <autret_m@epita.fr>
757
758 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
759 do that.
760 Reported by Keith Browne.
761
762 2001-09-18 Marc Autret <autret_m@epita.fr>
763
764 * tests/output.at: Add tests for --defines and --graph.
765
766 2001-09-18 Marc Autret <autret_m@epita.fr>
767
768 * tests/output.at: Removes tests of %{header,src}_extension features.
769
770 2001-09-18 Akim Demaille <akim@epita.fr>
771
772 * tests/Makefile.am (package.m4): New.
773 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
774 (_AT_CHECK_CALC_ERROR): Likewise.
775 Factor the `, ' part of verbose error messages.
776
777 2001-09-18 Marc Autret <autret_m@epita.fr>
778
779 * src/getargs.c (longopts): Declare --defines and --graph as options
780 with optional arguments.
781 * src/files.h: Add extern declarations.
782 * src/files.c (spec_graph_file, spec_defines_file): New.
783 (output_files): Update.
784 Remove CPP-outed code.
785
786 2001-09-18 Marc Autret <autret_m@epita.fr>
787
788 Turn off %{source,header}_extension feature.
789
790 * src/files.c (compute_exts_from_gf): Update.
791 (compute_exts_from_src): Update.
792 (output_files): CPP-out useless code.
793 * src/files.h: Remove {header,source}_extension extern declarations.
794 * src/reader.c (parse_dquoted_param): CPP-out.
795 (parse_header_extension_decl): Remove.
796 (parse_source_extension_decl): Remove.
797 (read_declarations): Remove cases tok_{hdrext,srcext}.
798 * src/lex.c (percent_table): Remove {header,source}_extension entries.
799 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
800
801 2001-09-10 Akim Demaille <akim@epita.fr>
802
803 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
804 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
805 (AT_CHECK_OUTPUT): this.
806 Merely check ls' exit status, its output is useless.
807
808 2001-09-10 Akim Demaille <akim@epita.fr>
809
810 * tests/calc.at: Use m4_match.
811 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
812
813 2001-09-10 Marc Autret <autret_m@epita.fr>,
814 Akim Demaille <akim@epita.fr>
815
816 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
817 enum color_e.
818 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
819 to `normal'.
820 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
821 * src/lex.h: Adjust prototype.
822 (token_t): Add `tok_undef'.
823 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
824 (parse_percent_token): Now returns token_t.
825 Add default statement in switch.
826 (lex): Separate `c' as an input variable, from the token_t result
827 part.
828 (unlexed): Is a token_t.
829
830 2001-09-10 Akim Demaille <akim@epita.fr>
831
832 * configure.in: Bump to 1.29a.
833
834 2001-09-07 Akim Demaille <akim@epita.fr>
835
836 Version 1.29.
837
838 2001-08-30 Akim Demaille <akim@epita.fr>
839
840 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
841 * m4/atconfig.m4: Remove.
842 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
843 * tests/bison: New.
844 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
845 m4_if, m4_patsubst, and m4_regexp.
846 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
847 `input' file instead of echo.
848
849 2001-08-29 Akim Demaille <akim@epita.fr>
850
851 Bump to 1.28e.
852
853 2001-08-29 Akim Demaille <akim@epita.fr>
854
855 Version 1.28d.
856
857 2001-08-29 Paul Eggert <eggert@twinsun.com>
858
859 * src/bison.simple (yyparse): Don't take the address of an
860 item before the start of an array, as that doesn't conform to
861 the C Standard.
862
863 2001-08-29 Robert Anisko <anisko_r@epita.fr>
864
865 * doc/bison.texinfo (Location Tracking Calc): New node.
866
867 2001-08-29 Paul Eggert <eggert@twinsun.com>
868
869 * src/output.c (output): Do not define const, as this now
870 causes more problems than it cures.
871
872 2001-08-29 Akim Demaille <akim@epita.fr>
873
874 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
875 the nodes.
876 Be sure to tag the `detailmenu'.
877
878 2001-08-29 Akim Demaille <akim@epita.fr>
879
880 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
881 download in a tmp dir.
882
883 2001-08-28 Marc Autret <autret_m@epita.fr>
884
885 * config/depcomp: New file.
886
887 2001-08-28 Marc Autret <autret_m@epita.fr>
888
889 * doc/bison.1 (mandoc): Adjust.
890 From Juan Manuel Guerrero.
891
892 2001-08-28 Marc Autret <autret_m@epita.fr>
893
894 * src/print_graph.c (print_state): Fix.
895
896 2001-08-27 Marc Autret <autret_m@epita.fr>
897
898 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
899 char * members.
900 Echo modifications to the functions prototypes.
901 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
902
903 2001-08-27 Marc Autret <autret_m@epita.fr>
904
905 * src/vcg.c: Include `xalloc.h'.
906 (add_colorentry): New.
907 (add_classname): New.
908 (add_infoname): New.
909 * src/vcg.h: Add new prototypes.
910
911 2001-08-27 Akim Demaille <akim@epita.fr>
912
913 * Makefile.maint: Sync. again with CVS Autoconf.
914
915 2001-08-27 Akim Demaille <akim@epita.fr>
916
917 * Makefile.maint: Formatting changes.
918 (po-update, cvs-update, update): New targets.
919 (AMTAR): Remove.
920
921 2001-08-27 Akim Demaille <akim@epita.fr>
922
923 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
924 * Makefile.maint: Sync. with CVS Autoconf.
925
926 2001-08-27 Marc Autret <autret_m@epita.fr>
927
928 * src/vcg.h (struct infoname_s): New.
929 (struct colorentry_s): New.
930 (graph_s): New fields {vertical,horizontal}_order in structure.
931 Add `infoname' field.
932 Add `colorentry' field;
933 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
934 (G_HORIZONTAL_ORDER): New.
935 (G_INFONAME): New.
936 (G_COLORENTRY): New.
937 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
938 Add output of `infoname'.
939 Add output of `colorentry'.
940
941 2001-08-27 Marc Autret <autret_m@epita.fr>
942
943 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
944 This one shadowed a global parameter.
945
946 2001-08-24 Marc Autret <autret_m@epita.fr>
947
948 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
949 instead of `unsigned'.
950 (print_state): Do not call obstack_object_size () in obstack_grow ()
951 to avoid macro variables shadowing.
952
953 2001-08-23 Marc Autret <autret_m@epita.fr>
954
955 * src/lex.c (percent_table): Typo: s/naem/name/.
956 Add graph option.
957 Normalize new options declarations.
958
959 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
960
961 * tests/suite.at: Exercise %header_extension and %source_extension.
962
963 2001-08-16 Marc Autret <autret_m@epita.fr>
964
965 * src/reader.c (parse_dquoted_param): New.
966 (parse_header_extension_decl): Use it.
967 (parse_source_extension_decl): Likewise.
968
969 2001-08-16 Marc Autret <autret_m@epita.fr>
970
971 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
972 (get_xxxx_str): Use assert () instead of complain ().
973 Remove return invokations in default cases.
974 (get_decision_str): Modify default behaviour. Remove second argument.
975 Echo modifications on calls.
976 (output_graph): Fix.
977
978 2001-08-16 Marc Autret <autret_m@epita.fr>
979
980 * src/getargs.c (usage): Update with ``-g, --graph''.
981
982 2001-08-16 Marc Autret <autret_m@epita.fr>
983
984 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
985 (Option Cross Key): Likewise.
986 * doc/bison.1: Update.
987
1c8c2190
PB
9882001-09-25 Pascal Bart <pascal.bart@epita.fr>
989
990 * src/output.c (output_master_parser): Don't finish action_obstack.
991 (output_parser): Don't care about the muscle action, here.
992 (prepare): Copy the action_obstack in the action muscle.
993 (output): Free action_obstack.
994
180d45ba
PB
9952001-09-23 Pascal Bart <pascal.bart@epita.fr>
996
997 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
998 will contain `%union' declaration.
999 (parse_union_decl): Delete #line directive output.
1000 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
1001 informations about %union.
1002 (parse_union_decl): Copy the union_obstack in the muscle stype.
1003 * src/bison.simple: Add new #line directive.
1004 Add typdef %%stype YYSTYPE.
1005
c51d1a19
PB
10062001-09-23 Pascal Bart <pascal.bart@epita.fr>
1007
1008 * src/bison.simple: Add new `#line' directive.
1009
6f9344da
PB
10102001-09-22 Pascal Bart <pascal.bart@epita.fr>
1011
1012 * src/bison.simple: New `#line' directive.
1013 * src/output.c (output_parser): Support new dynamic muscle input_line.
1014
652def80
MA
10152001-09-22 Marc Autret <autret_m@epita.fr>
1016
1017 * src/output.c (output_master_parser): New.
1018 (output_parser): Be more re-entrant.
1019
25b222fa
MA
10202001-09-21 Marc Autret <autret_m@epita.fr>
1021
1022 * src/reader.c (copy_definition, parse_union_decl): Update and use
1023 `linef' muscle.
1024 (copy_action): Likewise.
1025 Use obstack_1grow ().
1026 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
1027
6bc35ae5
MA
10282001-09-21 Marc Autret <autret_m@epita.fr>
1029
1030 * src/options.c (option_table): Adjust.
1031 * src/lex.c (parse_percent_token): Fix.
1032
c0629aa1
PB
10332001-09-20 Pascal Bart <pascal.bart@epita.fr>
1034
1035 * src/options.c (symtab.h): Include it, need by lex.h.
342b8b6e 1036
82b6d266
PB
10372001-09-20 Pascal Bart <pascal.bart@epita.fr>
1038
1039 * src/lex.c (parse_percent_token): Change type of variable `tx', which
1040 is now an option_table_struct*.
1041 (option_strcmp): New function option_strcmp.
1042 (parse_percent_token): Call option_strcmp.
1043 * src/getargs.c (xalloc.h, options.h): Include it.
1044 (getargs): Call create_long_option_table.
1045 (getargs): Free longopts at the end of the function.
1046 (shortopts): Move in options.c.
1047 * src/options.c (create_long_option_table): New function. Convert
1048 information from option_table to option structure.
1049 * src/reader.c (options.h): Include it.
1050
1051 * src/Makefile.am: Adjust.
1052 * src/options.c (option_table): Create from longopts and percent_table.
1053 * src/getargs.c (longopts): Delete.
1054 * src/lex.c (struct percent_table_struct): Delete.
1055 (percent_table): Delete.
1056 (options.h): Include it.
1057 * src/options.c: Create.
1058 * src/options.h: Create.
1059 Declare enum opt_access_e.
1060 Define struct option_table_struct.
1061
75f5aaea
MA
10622001-09-20 Marc Autret <autret_m@epita.fr>
1063
1064 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
1065 sections of Bison.
1066
f508cb0a
PB
10672001-09-19 Pascal Bart <pascal.bart@epita.fr>
1068
1069 * src/bison.simple: s/%%filename/%%skeleton.
1070 * src/muscle_tab.c (getargs.h): Include it.
1071 (muscle_init): Insert new muscle skeleton.
1072
13105fc1
PB
10732001-09-18 Pascal Bart <pascal.bart@epita.fr>
1074
1075 * src/output.c (output_parser): Delete unused variable actions_dumped.
1076
b0c4483e
PB
10772001-09-07 Pascal Bart <pascal.bart@epita.fr>
1078
1079 * src/output.c (output): Delete call to reader_output_yylsp.
1080 * src/reader.c (reader): Likewise.
1081 * src/reader.h: Delete declaration of reader_output_yylsp.
342b8b6e 1082
11d82f03
MA
10832001-09-02 Marc Autret <autret_m@epita.fr>
1084
1085 * src/reader.c: Include muscle_tab.h.
1086 (parse_union_decl): Update.
1087 (parse_macro_decl): Rename parse_muscle_decl.
1088 Update to use renamed functions and variable.
1089 (read_declarations, copy_action, read_additionnal_code, : Updated
1090 with correct variables and functions names.
1091 (packsymbols, reader): Likewise.
342b8b6e 1092
11d82f03 1093 * src/reader.h (muscle_obstack): Extern declaration update.
342b8b6e 1094
11d82f03
MA
1095 * src/output.c: Include muscle_tab.h
1096 In all functions using macro_insert, change by using muscle_insert ().
1097 (macro_obstack): Rename muscle_obstack.
1098 Echo modifications in the whole file.
1099 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
1100 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
1101 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
1102
1103 * src/muscle_tab.h: Update double inclusion macros.
1104 (macro_entry_s): Rename muscle_entry_s.
1105 Update prototypes.
342b8b6e 1106
11d82f03
MA
1107 * src/muscle_tab.c: Include muscle_tab.h.
1108 Rename macro_tabble to muscle_table.
1109 (mhash1, mhash2, mcmp): Use muscle_entry.
1110 (macro_init): Rename muscle_init. Update.
1111 (macro_insert): Rename muscle_insert. Update.
1112 (macro_find): Rename muscle_find. Update.
1113
1114 * src/main.c: Include muscle_tab.h.
1115 (main): Call muscle_init ().
1116 * src/Makefile.am (bison_SOURCES): Echo modifications.
1117
93a37297
MA
11182001-09-02 Marc Autret <autret_m@epita.fr>
1119
f753cd62 1120 Now the files macro_tab.[ch] are named muscle_tab.[ch].
342b8b6e 1121
f753cd62
MA
1122 * src/muscle_tab.c, src/muscle_tab.h: Add files.
1123
11242001-09-02 Marc Autret <autret_m@epita.fr>
1125
1126 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 1127
682d48cd
PB
11282001-09-01 Pascal Bart <pascal.bart@epita.fr>
1129
342b8b6e 1130 * src/reader.c (copy_guard): Use muscle to specify the `#line'
682d48cd
PB
1131 filename.
1132
087c8fda
MA
11332001-09-01 Marc Autret <autret_m@epita.fr>
1134
1135 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
1136 to an explicit value to activate the feature. We do it here.
1137
dda680cb
PB
11382001-08-31 Pascal Bart <pascal.bart@epita.fr>
1139
1140 * src/output.c (prepare): Delete the `filename' muscule insertion.
1141 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
1142 (parse_union_decl): Likewise.
1143 * src/macrotab.c (macro_init): Initialize filename by infile.
1144
9e644e64
MA
11452001-08-31 Marc Autret <autret_m@epita.fr>
1146
1147 * src/bison.simple (YYLSP_NEEDED): New definition.
1148 * src/output.c (prepare): Add macro insertion of `locations_flag'
1149
17da6427
PB
11502001-08-31 Pascal Bart <pascal.bart@epita.fr>
1151
1152 * src/output.c (prepare): Delete insertion of previous muscles,
1153 and insert the `prefix' muscles.
1154 * src/macrotab.c (macro_init): Likewise.
1155 (macro_init): Initialization prefix directive by `yy'.
342b8b6e 1156 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
17da6427
PB
1157 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
1158 yylval, yydebug, yyerror, yynerrs and yyparse.
342b8b6e 1159 New directive `#define' to substitute yydebug, ... with option
17da6427
PB
1160 name_prefix.
1161
e8cb70b9
PB
11622001-08-31 Pascal Bart <pascal.bart@epita.fr>
1163
1164 * src/main.c (main): Standardize.
1165 * src/output.c (output_table_data, output_parser): Likewise.
1166 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
1167
63c2d5de
MA
11682001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
1169
342b8b6e 1170 * src/reader.c (read_additionnal_code): Rename %%user_code to
63c2d5de
MA
1171 %%epilogue.
1172 * src/output.c (output): Rename %%declarations to %%prologue.
1173 * src/bison.simple: Echo modifications.
342b8b6e 1174
d8cb5183
MA
11752001-08-31 Marc Autret <autret_m@epita.fr>
1176
1177 * src/reader.c (readgram): CleanUp.
1178 (output_token_defines): Likewise.
1179 (packsymbols): Likewise.
1180 (reader): Likewise.
1181 * src/output.c (output): CPP-out useless code.
1182
6c686258
PB
11832001-08-31 Pascal Bart <pascal.bart@epita.fr>
1184
342b8b6e 1185 * src/reader.c (reader): Delete obsolete call to function
6c686258
PB
1186 output_trailers and output_headers.
1187 * src/output.h: Remove obsolete functions prototypes of output_headers
1188 and output_trailers.
1189
8f451ef7
PB
11902001-08-30 Pascal Bart <pascal.bart@epita.fr>
1191
1192 * src/main.c: Include macrotab.h.
342b8b6e 1193 * src/macrotab.h (macro_entry_s): Constify fields.
8f451ef7
PB
1194 Adjust functions prototypes.
1195 * src/macrotab.c (macro_insert): Constify key and value.
1196 (macro_find): Constify key.
1197 (macro_insert): Include 'xalloc.h'
1198 (macro_insert): Use XMALLOC.
1199 (macro_find): Constify return value.
1200 * src/output.c (output_table_data): Rename table to table_data.
1201 (output_parser): Constify macro_key, macro_value.
1202
997b6fd0 12032001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
1204
1205 * src/reader.c (parse_skel_decl): New.
342b8b6e 1206 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
2ba3b73c
MA
1207 * src/lex.h (token_t): New token `tok_skel'.
1208 * src/lex.c (percent_table): Add skeleton option entry.
1209 Standardize.
1210
ff48177d
MA
12112001-08-29 Marc Autret <autret_m@epita.fr>
1212
1213 * src/bison.simple: Add %%user_code directive at the end.
1214 * src/reader.c (read_additionnal_code): New.
1215 (reader): Use it.
1216 * src/output.c (output_program): Remove.
1217 (output): Update.
1218
b33160bf
MA
12192001-08-28 Marc Autret <autret_m@epita.fr>
1220
1221 * src/output.c (output_actions): Clean up.
4e5caae2 1222 (output_gram): CPP-out useless code.
b33160bf
MA
1223 * src/reader.c (reader): Clean up, CPP-out useless code.
1224
d1a2daf7
PB
12252001-08-28 Pascal Bart <pascal.bart@epita.fr>
1226
342b8b6e 1227 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
535c0e75 1228 directive.
d1a2daf7
PB
1229 * src/bison.simple: Add `%%definitions'.
1230
2b763dfe
MA
12312001-08-28 Marc Autret <autret_m@epita.fr>
1232
1233 * config/depcomp: New file.
1234
f1a87ef6
PE
12352001-08-27 Paul Eggert <eggert@twinsun.com>
1236
1237 * src/bison.simple (yyparse): Don't take the address of an
1238 item before the start of an array, as that doesn't conform to
1239 the C Standard.
1240
82e236e2
RA
12412001-08-27 Robert Anisko <robert.anisko@epita.fr>
1242
f1a87ef6 1243 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
1244 obstack. It was done too late here.
1245
1246 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
1247 completely wrong.
1248 (reader): Initialize the macro obstack here, since we need it to grow
1249 '%define' directives.
1250
1251 * src/reader.h: Declare the macro obstack as extern.
1252
b0cfa28a
RA
12532001-08-27 Robert Anisko <robert.anisko@epita.fr>
1254
1255 * src/output.c (output_parser): Fix. Store single '%' characters in
1256 the output obstack instead of throwing them away.
1257
6fc74234
AD
12582001-08-27 Akim Demaille <akim@epita.fr>
1259
1260 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
1261
9c76d118
RA
12622001-08-25 Robert Anisko <robert.anisko@epita.fr>
1263
1264 * lib/Makefile.am: Adjust.
1265
a8289c62
RA
12662001-08-25 Robert Anisko <robert.anisko@epita.fr>
1267
1268 * src/bison.simple: Update and add '%%' directives.
1269
b6610515
RA
12702001-08-25 Robert Anisko <robert.anisko@epita.fr>
1271
1272 * src/reader.c (reader): Remove calls to 'output_headers' and
1273 'output_trailers'. Remove some C output.
1274 (readgram): Disable a piece of code that was writing a default
1275 definition for 'YYSTYPE'.
1276 (reader_output_yylsp): Remove.
1277 (packsymbols): Output token defintions to a macro.
1278 (copy_definition): Disable C output.
6fc74234 1279
b6610515
RA
1280 * src/reader.c (parse_macro_decl): New function used to parse macro
1281 declarations.
1282 (copy_string2): Put the body of copy_string into this new function.
1283 Add a parameter to let the caller choose whether he wants to copy the
1284 string delimiters or not.
1285 (copy_string): Be a simple call to copy_string2 with the last argument
1286 bound to true.
1287 (read_declarations): Add case for macro definition.
1288 (copy_identifier): New.
6fc74234 1289 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
1290 rather than lex.
1291
26f609ff
RA
12922001-08-25 Robert Anisko <robert.anisko@epita.fr>
1293
1294 * src/output.c (prepare): Add prefixed names.
1295 (output_parser): Output semantic actions.
1296 (output_parser): Fix bug on '%%line' directives.
6fc74234 1297
26f609ff
RA
1298 * src/output.c (output_headers): Remove. The C code printed by this
1299 function should now be in the skeletons.
1300 (output_trailers): Remove.
1301 (output): Disable call to 'reader_output_yylsp'.
1302 (output_rule_data): Do not output tables to the table obstack.
1303
1304 * src/output.c: Remove some C dedicated output.
1305 Improve the use of macro and output obstacks.
1306 (output_defines): Remove.
6fc74234 1307
26f609ff
RA
1308 * src/output.c (output_token_translations): Associate 'translate'
1309 table with a macro. No output to the table obstack.
1310 (output_gram): Same for 'rhs' and 'prhs'.
1311 (output_stos): Same for 'stos'.
1312 (output_rule_data): Same for 'r1' and 'r2'.
1313 (token_actions): Same for 'defact'.
1314 (goto_actions): Same for 'defgoto'.
1315 (output_base): Same for 'pact' and 'pgoto'.
1316 (output_table): Same for 'table'.
1317 (output_check): Same for 'check'.
6fc74234 1318
26f609ff
RA
1319 * src/output.c (output_table_data): New function.
1320 (output_short_table): Remove.
1321 (output_short_or_char_table): Remove.
6fc74234 1322
26f609ff
RA
1323 * src/output.c (output_parser): Replace most of the skeleton copy code
1324 with something new. Skeletons are now processed character by character
1325 rather than line by line, and Bison looks for '%%' macros. This is the
1326 first step in making Bison's output process (a lot) more flexible.
1327 (output_parser): Use the macro table.
1328
6f43b113
RA
13292001-08-25 Robert Anisko <robert.anisko@epita.fr>
1330
1331 * src/main.c (main): Initialize the macro table.
1332
dd3127cf
RA
13332001-08-25 Robert Anisko <robert.anisko@epita.fr>
1334
1335 * src/lex.c (percent_table): Add tok_define.
1336 * src/lex.h: Add tok_define.
1337
aa321494
RA
13382001-08-25 Robert Anisko <robert.anisko@epita.fr>
1339
1340 * src/macrotab.c: New file.
1341 * src/macrotab.h: New file.
1342 * src/Makefile.am: Update.
1343
68bd3b6b
RA
13442001-08-25 Robert Anisko <robert.anisko@epita.fr>
1345
1346 * lib/hash.c: New file.
1347 * lib/hash.h: New file.
1348 * lib/Makefile.am: Update.
1349
45f8dd1e
AD
13502001-08-15 Akim Demaille <akim@epita.fr>
1351
1352 Version 1.28c.
1353
40a64a7a 13542001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
1355
1356 * src/reader.c (readgram): Indent output macro YYSTYPE.
1357 (packsymbols): Likewise.
1358 (output_token_defines): Likewise.
1359 * src/files.c: Standardize.
1360 (compute_header_macro): New.
1361 (defines_obstack_save): New. Use compute_header_macro.
1362 (output_files): Update. Use defines_obstack_save.
1363
f9a8293a
AD
13642001-08-15 Akim Demaille <akim@epita.fr>
1365
1366 * doc/bison.texinfo (Table of Symbols): Document
1367 YYSTACK_USE_ALLOCA.
1368
150ca7a7
AD
13692001-08-15 Akim Demaille <akim@epita.fr>
1370
1371 * missing: Update from CVS Automake.
1372 * config/config.guess, config/config.sub, config/texinfo.tex:
1373 Update from gnu.org.
1374
69b5cec4
AD
13752001-08-15 Akim Demaille <akim@epita.fr>
1376
1377 * Makefile.maint: Sync with CVS Autoconf.
1378
f2b5126e
PB
13792001-08-14 Pascal Bart <pascal.bart@epita.fr>
1380
69b5cec4 1381 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
1382 `fdl.texi'.
1383 * doc/fdl.texi: Add to package.
1384
4ecbf796
MA
13852001-08-14 Marc Autret <autret_m@epita.fr>
1386
1387 Turn on %{source,header}_extension features.
1388
69b5cec4 1389 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
1390 source_extension.
1391 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 1392 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
1393 between options.
1394
95fb5662
MA
13952001-08-14 Marc Autret <autret_m@epita.fr>
1396
1397 * src/files.c (compute_base_names): Add extensions computing when
1398 `--file-prefix' used.
1399 Standardize function calls.
1400
78d09da9
MA
14012001-08-13 Marc Autret <autret_m@epita.fr>
1402
69b5cec4 1403 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
1404 defining it (defined but null disables alloca).
1405
5a009f2c
MA
14062001-08-13 Marc Autret <autret_m@epita.fr>
1407
1408 * src/bison.simple (_yy_memcpy): CPP reformat.
1409
1e41465a
PB
14102001-08-13 Pascal Bart <pascal.bart@epita.fr>
1411
1412 * tests/atconfig.in (CPPFLAGS): Fix.
1413
c67a198d
PB
14142001-08-10 Pascal Bart <pascal.bart@epita.fr>
1415
79282c6c 1416 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
1417 `gpl.texi'.
1418 * doc/gpl.texi: Add to package.
1419
09a6de7e
MA
14202001-08-10 Marc Autret <autret_m@epita.fr>
1421
1422 * src/print_graph.h: Fix.
1423 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1424
b77b9ee0
AD
14252001-08-10 Akim Demaille <akim@epita.fr>
1426
1427 * src/system.h: Provide default declarations for stpcpy, strndup,
1428 and strnlen.
1429
3e259915
MA
14302001-08-10 Robert Anisko <anisko_r@epita.fr>
1431
1432 * doc/bison.texinfo (Locations): Update @$ stuff.
1433
ca96bc2d
MA
14342001-08-09 Robert Anisko <anisko_r@epita.fr>
1435
1436 * src/bison.simple (YYLLOC_DEFAULT): Update.
1437 (yyparse): Adjust.
1438
fdc6758b
MA
14392001-08-08 Marc Autret <autret_m@epita.fr>
1440
b77b9ee0 1441 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
1442 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1443 Reported by Fabrice Bauzac.
957d4dbf 1444
600cad3b
MA
14452001-08-08 Marc Autret <autret_m@epita.fr>
1446
1447 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1448 * src/vcg.c (output_node): Fix.
1449 * src/vcg.h: Cleanup.
1450 * src/print_graph.c: Add comments.
b77b9ee0 1451 (node_output_size): New global variable. Simplify the formatting of
600cad3b 1452 the VCG graph output.
b77b9ee0 1453 (print_actions): Unused code is now used. It notifies the final state
600cad3b 1454 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 1455 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
1456 blue.
1457 Get the current node name and node_obstack by argument.
1458 (node_obstack): New variable.
1459 (print_state): Manage node_obstack.
1460 (print_core): Use node_obstack given by argument.
1461 A node is not only computed here but in print_actions also.
1462 (print_graph): CPP out useless code instead of commenting it.
1463
976e528f
AD
14642001-08-07 Pascal Bart <pascal.bart@epita.fr>
1465
1466 * tests/atconfig.in (CPPFLAGS): Fix.
1467
20e8e5ca
AD
14682001-08-07 Akim Demaille <akim@epita.fr>
1469
1470 * src/print_graph.c (quote): New.
1471 (print_core): Use it.
1472
957d4dbf 14732001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 1474
3e3da797
AD
1475 * src/vcg.c (complain.h): Include it.
1476 Unepitaize `return' invocations.
c4b66126 1477 [NDEBUG] (main): Remove.
79282c6c 1478 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
1479 * src/files.c (open_files): Initialize graph_obstack.
1480 * src/print_graph.c (print_actions): CPP out useless code.
1481 (print_core): Don't output the last `\n' in labels.
1482 Use `quote'.
1483 * src/files.c (output_files): Output the VCG file.
1484 * src/main.c (main): Invoke print_graph ();
3e3da797 1485
957d4dbf 14862001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
1487
1488 Automaton VCG graph output.
1489 Using option ``-g'' or long option ``--graph'', you can generate
1490 a gram_filename.vcg file containing a VCG description of the LALR (1)
1491 automaton of your grammar.
1492
1493 * src/main.c: Call to print_graph() function.
1494 * src/getargs.h: Update.
1495 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1496 (graph_flag): New flag.
1497 (longopts): Update.
1498 (getargs): Add case `g'.
1499 * src/files.c (graph_obstack): New obstack struct.
1500 (open_files): Initialize new obstack.
1501 (output_files): Saves graph_obstack if required.
1502 * src/files.h (graph_obstack): New extern declaration.
1503 * src/Makefile.am: Add new source files.
1504
957d4dbf 15052001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
1506
1507 * src/print_graph.c, src/print_graph.h (graph): New.
1508 * src/vcg.h: New file.
1509 * src/vcg.c: New file, VCG graph handling.
1510
7333d403
AD
15112001-08-06 Marc Autret <autret_m@epita.fr>
1512
1513 Add of %source_extension and %header_extension which specify
1514 the source or/and the header output file extension.
1515
1516 * src/files.c (compute_base_names): Remove initialisation of
1517 src_extension and header_extension.
1518 (compute_exts_from_gf): Update.
1519 (compute_exts_from_src): Update.
1520 (output_files): Update.
1521 * src/reader.c (parse_header_extension_decl): New.
1522 (parse_source_extension_decl): New.
1523 (read_declarations): New case statements for the new tokens.
1524 * src/lex.c (percent_table): Add entries for %source_extension
1525 and %header_extension.
1526 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1527
84163231
AD
15282001-08-06 Marc Autret <autret_m@epita.fr>
1529
1530 * configure.in: Bump to 1.28c.
1531 * doc/bison.texinfo: Texinfo thingies.
1532
8303fc42
AD
15332001-08-04 Pascal Bart <pascal.bart@epita.fr>
1534
1535 * tests/atconfig.in (CPPFLAGS): Add.
1536 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1537
70a84437
AD
15382001-08-03 Akim Demaille <akim@epita.fr>
1539
1540 Version 1.28b.
1541
2ce10144
AD
15422001-08-03 Akim Demaille <akim@epita.fr>
1543
1544 * tests/Makefile.am (check-local): Ship testsuite.
1545 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1546 Include `string.h'.
1547
1e3e4bc1
AD
15482001-08-03 Akim Demaille <akim@epita.fr>
1549
1550 * configure.in: Try using -Wformat when compiling.
1551
42b45b7f
AD
15522001-08-03 Akim Demaille <akim@epita.fr>
1553
1554 * configure.in: Bump to 1.28b.
1555
8f13fe33
AD
15562001-08-03 Akim Demaille <akim@epita.fr>
1557
1558 * src/complain.c: Adjust strerror_r portability issues.
1559
b37ba92c
AD
15602001-08-03 Akim Demaille <akim@epita.fr>
1561
1562 Version 1.28a.
1563
b0ce6046
AD
15642001-08-03 Akim Demaille <akim@epita.fr>
1565
1566 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1567 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1568 * src/getargs.c: Include complain.h.
1569 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1570 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1571
d01c415b
AD
15722001-08-03 Akim Demaille <akim@epita.fr>
1573
1574 * src/reader.c (readgram): Display hidden chars in error messages.
1575
459dd1a6
AD
15762001-08-03 Akim Demaille <akim@epita.fr>
1577
1578 Update to gettext 0.10.39.
1579
53b74c0c
AD
15802001-08-03 Akim Demaille <akim@epita.fr>
1581
1582 * lib/strspn.c: New.
1583
234a3be3
AD
15842001-08-01 Marc Autret <autret_m@epita.fr>
1585
1586 * doc/bison.texinfo: Update.
1587 * doc/bison.1 (mandoc): Update.
1588 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1589 * src/files.c: Support output files extensions computing.
1590 (src_extension): New static variable.
1591 (header_extension): New static variable.
1592 (tr): New function.
1593 (get_extension_index): New function, gets the index of an extension
1594 filename in a string.
1595 (compute_exts_from_gf): New function, computes extensions from the
1596 grammar file extension.
1597 (compute_exts_from_src): New functions, computes extensions from the
1598 C source file extension, file given by ``-o'' option.
1599 (compute_base_names): Update.
1600 (output_files): Update.
1601
847bf1f5
AD
16022001-08-01 Robert Anisko <anisko_r@epita.fr>
1603
d995fee7 1604 * doc/bison.texi: Document @$.
847bf1f5
AD
1605 (Locations): New section.
1606
d074a105
AD
16072001-07-18 Akim Demaille <akim@epita.fr>
1608
1609 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1610 * config/prev-version.txt, config/move-if-change: New.
1611 * Makefile.am: Adjust.
1612
3419715d
AD
16132001-07-08 Pascal Bart <pascal.bart@epita.fr>
1614
1615 * src/bison.simple (yyparse): Suppress warning `comparaison
1616 between signed and unsigned'.
1617
62ab6972
AD
16182001-07-05 Pascal Bart <pascal.bart@epita.fr>
1619
1620 * src/getargs.h (raw_flag): Remove.
1621 * src/getargs.c: Die on `-r'/`--raw'.
1622 * src/lex.c (parse_percent_token): Die on `%raw'.
1623 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1624 * tests/calc.at: Suppress test with option `--raw'.
1625
1e24cc5b
AD
16262001-07-14 Akim Demaille <akim@epita.fr>
1627
1628 * config/: New.
1629 * configure.in: Require Autoconf 2.50.
1630 Update to gettext 0.10.38.
1631
32dfccf8
AD
16322001-03-16 Akim Demaille <akim@epita.fr>
1633
1634 * doc/bison.texinfo: ANSIfy the examples.
1635
cd5bd6ac
AD
16362001-03-16 Akim Demaille <akim@epita.fr>
1637
1638 * getargs.c (skeleton): New variable.
1639 (longopts): --skeleton is a new option.
1640 (shortopts, getargs): -S is a new option.
1641 * getargs.h: Declare skeleton.
1642 * output.c (output_parser): Use it.
1643
5141b016
AD
16442001-03-16 Akim Demaille <akim@epita.fr>
1645
1646 * m4/strerror_r.m4: New.
1647 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1648 * lib/error.h, lib/error.c: Update.
1649
447992b9
AD
16502001-03-16 Akim Demaille <akim@epita.fr>
1651
1652 * src/getargs.c (longopts): Clean up.
1653
274d42ce
AD
16542001-02-21 Akim Demaille <akim@epita.fr>
1655
1656 * src/reader.c (gensym): `gensym_count' is your own.
1657 Use a static buf to create the symbol name, as token_buffer is no
1658 longer a buffer.
1659
22c821f3
AD
16602001-02-08 Akim Demaille <akim@epita.fr>
1661
1662 * src/conflicts.c (conflict_report): Be sure not to append to res
1663 between two calls, which could happen if both first sprintf were
1664 skipped, but not the first cp += strlen.
1665
18569462
AD
16662001-02-08 Akim Demaille <akim@epita.fr>
1667
1668 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1669 New, from fileutils 4.0.37.
1670 * configure.in: Require Autoconf 2.49c. I took some time before
1671 making this decision. This is the only way out for portability
1672 issues in Bison, it would mean way too much duplicate effort to
1673 import in Bison features implemented in 2.49c since 2.13.
1674 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1675
0d8f3c8a
AD
16762001-02-02 Akim Demaille <akim@epita.fr>
1677
1678 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 1679 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 1680
f17bcd1f
AD
16812001-01-19 Akim Demaille <akim@epita.fr>
1682
1683 Get rid of the ad hoc handling of token_buffer in the scanner: use
1684 the obstacks.
1685
1686 * src/lex.c (token_obstack): New.
1687 (init_lex): Initialize it. No longer call...
1688 (grow_token_buffer): this. Remove it.
1689 Adjust all the places which used it to use the obstack.
1690
511e79b3
AD
16912001-01-19 Akim Demaille <akim@epita.fr>
1692
1693 * src/lex.h: Rename all the tokens:
1694 s/\bENDFILE\b/tok_eof/g;
1695 s/\bIDENTIFIER\b/tok_identifier/g;
1696 etc.
1697 Let them be enums, not #define, to ease debugging.
1698 Adjust all the code.
1699
0d6508ef
AD
17002001-01-18 Akim Demaille <akim@epita.fr>
1701
1702 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1703 * src/lex.c (maxtoken, grow_token_buffer): Static.
1704
6deb4447
AD
17052001-01-18 Akim Demaille <akim@epita.fr>
1706
1707 Since we now use obstacks, more % directives can be enabled.
1708
1709 * src/lex.c (percent_table): Also accept `%yacc',
1710 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1711 `%debug'.
1712 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1713 instead of returning a token.
1714 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1715 * src/reader.c (read_declarations): Adjust.
1716 * src/files.c (open_files): Don't call `compute_base_names', don't
1717 compute `attrsfile' since they depend upon data which might be
1718 *in* the input file now.
1719 (output_files): Do it here.
1720 * src/output.c (output_headers): Document the fact that this patch
1721 introduces a guaranteed SEGV for semantic parsers.
1722 * doc/bison.texinfo: Document them.
1723 * tests/suite.at: Exercise these %options.
1724
ff4423cc
AD
17252000-12-20 Akim Demaille <akim@epita.fr>
1726
1727 Also handle the output file (--verbose) with obstacks.
1728
1729 * files.c (foutput): Remove.
1730 (output_obstack): New.
1731 Adjust all dependencies.
1732 * src/conflicts.c: Return a string.
1733 * src/system.h (obstack_grow_string): Rename as...
1734 (obstack_sgrow): this. Be ready to work with non literals.
1735 (obstack_fgrow4): New.
1736
956dba3a
AD
17372000-12-20 Akim Demaille <akim@epita.fr>
1738
1739 * src/files.c (open_files): Fix the computation of short_base_name
1740 in the case of `-o foo.tab.c'.
1741
337bab46
AD
17422000-12-20 Akim Demaille <akim@epita.fr>
1743
1744 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1745 (copy_dollar): Now that everything uses obstacks, get rid of the
1746 FILE * parameters.
1747
5d3214b8
AD
17482000-12-20 Akim Demaille <akim@epita.fr>
1749
1750 * src/files.c (open_files): Actually the `.output' file is based
1751 on the short_base_name, not base_name.
1752 * tests/suite.at (Checking output file names): Adjust.
1753
29092a57
AD
17542000-12-20 Akim Demaille <akim@epita.fr>
1755
1756 * src/bison.s1: Remove, we now use directly...
1757 * src/bison.simple: this.
1758 * src/Makefile.am: Use pkgdata instead of data.
1759
ea5607fd
AD
17602000-12-20 Akim Demaille <akim@epita.fr>
1761
1762 * src/files.c (guard_obstack): New.
1763 (open_files): Initialize it.
1764 (output_files): Dump it...
1765 * src/files.h: Export it.
1766 * src/reader.c (copy_guard): Use it.
1767
27110317
AD
17682000-12-19 Akim Demaille <akim@epita.fr>
1769
1770 * src/files.c (outfile, defsfile, actfile): Removed as global
1771 vars.
1772 (open_files): Don't compute them.
1773 (output_files): Adjust.
1774 (base_name, short_base_name): Be global.
1775 Adjust dependencies.
1776
19c50364
AD
17772000-12-19 Akim Demaille <akim@epita.fr>
1778
1779 * src/files.c (strsuffix): New.
1780 (stringappend): Be just like strcat but allocate.
1781 (base_names): Eve out from open_files.
1782 Try to simplify the rather hairy computation of base_name and
1783 short_base_name.
1784 (open_files): Use it.
1785 * tests/suite.at (Checking output file names): New test.
1786
573c1d9f
AD
17872000-12-19 Akim Demaille <akim@epita.fr>
1788
1789 * src/system.h (obstack_grow_literal_string): Rename as...
1790 (obstack_grow_string): this.
1791 * src/output.c (output_parser): Recognize `%% actions' instead of
1792 `$'.
1793 * src/bison.s1: s/$/%% actions/.
1794 * src/bison.hairy: Likewise.
1795
ef7ddedd
AD
17962000-12-19 Akim Demaille <akim@epita.fr>
1797
1798 * src/output.c (output_parser): Compute the `#line' lines when
1799 there are.
1800 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1801 Suggested by Hans Aberg.
1802
ff61dabd
AD
18032000-12-19 Akim Demaille <akim@epita.fr>
1804
1805 Let the handling of the skeleton files be local to the procedures
1806 that use it.
1807
1808 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1809 longer static.
1810 (fparser, open_extra_files): Remove.
1811 (open_files, output_files): Don't take care of fparser.
1812 * src/files.h: Adjust.
1813 * src/output.c (output_parser): Open and close the file to the
1814 skeleton.
1815 * src/reader.c (read_declarations): When %semantic_parser, open
1816 fguard.
1817
55b96341
AD
18182000-12-19 Akim Demaille <akim@epita.fr>
1819
1820 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1821 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1822
358c15b7
AD
18232000-12-19 Akim Demaille <akim@epita.fr>
1824
1825 * src/files.c (open_files): Yipee! We no longer need all the code
1826 looking for `/tmp' since we have no tmp file.
1827
7de3329e
AD
18282000-12-19 Akim Demaille <akim@epita.fr>
1829
1830 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1831 New macros.
1832 * src/files.c (open_files): Less dependency on MSDOS etc.
1833
3abcd459
AD
18342000-12-14 Akim Demaille <akim@epita.fr>
1835
1836 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1837 Provide a default definition.
1838 Use it when executing the default @ action.
1839 * src/reader.c (reader_output_yylsp): No longer include
1840 `timestamp' and `text' in the default YYLTYPE.
1841
2a91a95e
AD
18422000-12-12 Akim Demaille <akim@epita.fr>
1843
1844 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1845 (copy_guard): Quote the file names.
1846 Reported by Laurent Mascherpa.
1847
14d3eb9b
AD
18482000-12-12 Akim Demaille <akim@epita.fr>
1849
1850 * src/output.c (output_headers, output_program, output): Be sure
1851 to escape special characters when outputting filenames.
1852 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1853 (output_headers): Don't depend on them, Use ACTSTR.
1854
d7045ec6
AD
18552000-11-17 Akim Demaille <akim@epita.fr>
1856
1857 * lib/obstack.h: Formatting changes.
1858 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1859 prevents type checking.
1860 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1861 cast the value to (void *): assigning a `foo *' to a `void *'
1862 variable is valid.
1863 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1864 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1865 append characters.
1866
6fd54b73
AD
18672000-11-17 Akim Demaille <akim@epita.fr>
1868
1869 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1870 as...
1871 (suite.m4, regression.m4, calc.m4): these.
1872 * tests/atgeneral.m4: Update from CVS Autoconf.
1873
4c50eae6
AD
18742000-11-17 Akim Demaille <akim@epita.fr>
1875
1876 * tests/regression.m4 (%union and --defines): New test,
1877 demonstrating a current bug in the obstack implementation.
1878
a35f64ea
AD
18792000-11-17 Akim Demaille <akim@epita.fr>
1880
1881 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1882 macros.
1883 Use them to declare the variables which are global or local to
1884 `yyparse'.
1885
7de23534
AD
18862000-11-17 Akim Demaille <akim@epita.fr>
1887
1888 * acconfig.h: Remove, no longer used.
1889
aa7815f5
AD
18902000-11-07 Akim Demaille <akim@epita.fr>
1891
1892 * src: s/Copyright (C)/Copyright/g.
1893
5af1f549
AD
18942000-11-07 Akim Demaille <akim@epita.fr>
1895
1896 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1897 defining.
1898 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1899
553e2b22
AD
19002000-11-07 Akim Demaille <akim@epita.fr>
1901
1902 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1903 Merge in a single CPP if/else.
1904
8a4f41d6
AD
19052000-11-07 Akim Demaille <akim@epita.fr>
1906
1907 * src/output.c (output): Remove useless variables.
1908 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1909 argument `data' for consistency with the prototypes.
1910 Qualify it `const'.
1911 (obstack_copy, obstack_copy0): Rename the second argument as
1912 `address' for consistency. Qualify it `const'.
1913 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1914 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1915 `const' their input argument (`data' or `address').
1916 Adjust the corresponding macros to include `const' in casts.
1917
095a3fb5
AD
19182000-11-03 Akim Demaille <akim@epita.fr>
1919
1920 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1921 s/PFILE1/BISON_HAIRY/.
1922 Adjust dependencies.
1923
d1cdce7c
AD
19242000-11-03 Akim Demaille <akim@epita.fr>
1925
090c5ebf 1926 For some reason, this was not applied.
d1cdce7c
AD
1927
1928 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1929 `unlink': it's no longer used.
1930
9311529b
AD
19312000-11-03 Akim Demaille <akim@epita.fr>
1932
1933 * src/files.c (skeleton_find): New function, eved out of...
1934 (open_files, open_extra_files): here.
1935
d8880f69
AD
19362000-11-03 Akim Demaille <akim@epita.fr>
1937
1938 Don't use `atexit'.
1939
1940 * src/files.c (obstack_save): New function.
1941 (done): Rename as...
1942 (output_files): this.
1943 Use `obstack_save'.
1944 * src/main.c (main): Don't use `atexit' to register `done', since
1945 it no longer has to remove tmp files, just call `output_files'
1946 when there are no errors.
1947
0dbb648e
AD
19482000-11-02 Akim Demaille <akim@epita.fr>
1949
1950 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1951 `unlink': it's no longer used.
1952 * src/files.h: Formatting changes.
1953
896fe5c1
AD
19542000-11-02 Akim Demaille <akim@epita.fr>
1955
1956 Remove the last uses of mktemp and unlink/delete.
1957
1958 * src/files.c (fdefines, ftable): Removed.
1959 (defines_ostack, table_obstack): New.
1960 Adjust dependencies of the former into uses of the latter.
1961 * src/output.c (output_short_or_char_table, output_short_table):
1962 Convert to using obstacks.
1963 * src/reader.c (copy_comment2): Accept one FILE * and two
1964 obstacks.
1965 (output_token_defines, reader_output_yylsp): Use obstacks.
1966 * src/system.h (obstack_fgrow3): New.
1967
dd60faec
AD
19682000-11-01 Akim Demaille <akim@epita.fr>
1969
1970 Change each use of `fattrs' into a use of `attrs_obstack'.
1971
1972 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1973 * src/files.c (fattrs): Remove.
1974 (attrs_obstack): New.
1975 Adjust all dependencies.
1976 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1977
8c7ebe49
AD
19782000-11-01 Akim Demaille <akim@epita.fr>
1979
1980 Introduce obstacks.
1981 Change each use of `faction' into a use of `action_obstack'.
1982
1983 * lib/obstack.h, lib/obstack.c: New files.
1984 * src/files.c (faction): Remove.
1985 (action_obstack): New.
1986 Adjust all dependencies.
1987
77aee789
AD
19882000-10-20 Akim Demaille <akim@epita.fr>
1989
1990 * lib/quote.h (PARAMS): New macro. Use it.
1991
43591cec
AD
19922000-10-16 Akim Demaille <akim@epita.fr>
1993
1994 * src/output.c (output_short_or_char_table): New function.
1995 (output_short_table, output_token_translations): Use it.
1996 (goto_actions): Use output_short_table.
1997
1e9798d5
AD
19982000-10-16 Akim Demaille <akim@epita.fr>
1999
2000 * src/symtab.c (bucket_new): New function.
2001 (getsym): Use it.
2002
2003 * src/output.c (output_short_table): New argument to display the
2004 comment associated with the table.
2005 Adjust dependencies.
2006 (output_gram): Use it.
2007 (output_rule_data): Nicer output layout for YYTNAME.
2008
f282676b
AD
20092000-10-16 Akim Demaille <akim@epita.fr>
2010
2011 * src/lex.c (read_typename): New function.
2012 (lex): Use it.
2013 * src/reader.c (copy_dollar): Likewise.
2014
550a72a3
AD
20152000-10-16 Akim Demaille <akim@epita.fr>
2016
2017 * src/reader.c (copy_comment2): Expect the input stream to be on
2018 the `/' which is suspected to open a comment, instead of being
2019 called after `//' or `/*' was read.
2020 (copy_comment, copy_definition, parse_union_decl, copy_action)
2021 (copy_guard): Adjust.
2022
131e2fef
AD
20232000-10-16 Akim Demaille <akim@epita.fr>
2024
2025 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
2026 `read_signed_integer'.
2027
79282c5a
AD
20282000-10-16 Akim Demaille <akim@epita.fr>
2029
2030 * src/reader.c (copy_dollar): New function.
2031 (copy_guard, copy_action): Use it.
2032
ff4a34be
AD
20332000-10-16 Akim Demaille <akim@epita.fr>
2034
2035 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
2036 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
2037 New files, from Fileutils 4.0.27.
2038 * src/main.c (printable_version): Remove.
2039 * src/lex.c, src/reader.c: Use `quote'.
2040
20412000-10-04 Akim Demaille <akim@epita.fr>
2042
2043 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
2044
14ded682
AD
20452000-10-04 Akim Demaille <akim@epita.fr>
2046
2047 * doc/bison.texinfo: Various typos spotted by Neil Booth.
2048
8e03724b
AD
20492000-10-04 Akim Demaille <akim@epita.fr>
2050
2051 When a literal string is used to define two different tokens,
2052 `bison -v' segfaults.
2053 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
2054
2055 * tests/regression.m4: New file.
2056 Include the core of the sample provided by Piotr Gackiewicz.
2057 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
2058 properly.
2059
a9e64249
AD
20602000-10-04 Akim Demaille <akim@epita.fr>
2061
2062 * src/reader.c (parse_expect_decl): Keep `count' within the size
2063 of `buffer'.
2064 From Neil Booth.
2065
da9abf43
AD
20662000-10-02 Paul Eggert <eggert@twinsun.com>
2067
2068 * bison.s1 (yyparse): Assign the default value
2069 unconditionally, to avoid a GCC warning and make the parser a
2070 tad smaller.
2071
c33638bb
AD
20722000-10-02 Akim Demaille <akim@epita.fr>
2073
2074 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
2075 options.
2076
444c570a
AD
20772000-10-02 Akim Demaille <akim@epita.fr>
2078
2079 * src/derives.c, src/print.c, src/reduce.c: To ease the
2080 translation, move some `\n' out of the translated strings.
2081
89cab50d
AD
20822000-10-02 Akim Demaille <akim@epita.fr>
2083
2084 The location tracking mechanism is precious for parse error
2085 messages. Nevertheless, it is enabled only when `@n' is used in
2086 the grammar, which is a different issue (you can use it in error
2087 message, but not in the grammar per se). Therefore, there should
2088 be another means to enable it.
2089
2090 * src/getargs.c (getargs): Support `--locations'.
2091 (usage): Report it.
2092 * src/getargs.h (locationsflag): Export it.
2093 * src/lex.c (percent_table): Support `%locations'.
2094 * src/reader.c (yylsp_needed): Remove this variable, now replaced
2095 with `locationsflag'.
2096 * doc/bison.texinfo: Document `--locations' and `%locations'.
2097 Sort the options.
2098 * tests/calc.m4: Test it.
2099
2100 For regularity of the names, replace each
2101 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
2102 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
2103 In addition replace each `flag' with `_flag'.
2104
d6c2cba0
AD
21052000-10-02 Akim Demaille <akim@epita.fr>
2106
2107 Also test parse error messages, including with YYERROR_VERBOSE.
2108
2109 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
2110 associative).
2111 Use it to check the computations.
2112 Use it to check `nonassoc' is honored.
2113 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
2114 `--yyerror-verbose'.
2115 (_AT_CHECK_CALC): Adjust to this option.
2116 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
2117
5a35a6cb
AD
21182000-10-02 Akim Demaille <akim@epita.fr>
2119
2120 Test also `--verbose', `--defines' and `--name-prefix'. Testing
2121 the latter demonstrates a flaw in the handling of non debugging
2122 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
2123 was used in order to simplify:
2124
2125 #if YYDEBUG
2126 if (yydebug)
2127 {
2128 ...
2129 }
2130 #endif
2131
2132 into
2133
2134 if (yydebug)
2135 {
2136 ...
2137 }
2138
2139 unfortunately this leads to a CPP conflict when
2140 `--name-prefix=foo' is used since it produces `#define yydebug
2141 foodebug'.
2142
2143 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
2144 (YYDPRINTF): New macro.
2145 Spread its use.
2146 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
2147 the bison options.
2148 Also test `--verbose', `--defines' and `--name-prefix'.
2149
71da9eea
AD
21502000-10-02 Akim Demaille <akim@epita.fr>
2151
2152 Improve the readability of the produced parsers.
2153
2154 * src/bison.s1: Formatting changes.
2155 Improve the comment related to the `$' mark.
2156 (yydefault): Don't fall through to `yyresume': `goto' there.
2157 * src/output.c (output_parser): When the `$' is met, skip the end
2158 of its line.
2159 New variable, `number_of_dollar_signs', to check there's exactly
2160 one `$' in the parser skeleton.
2161
95e36146
AD
21622000-10-02 Akim Demaille <akim@epita.fr>
2163
2164 * lib/xstrdup.c: New file, from the fileutils.
2165 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
2166 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
2167 instead of strlen + xmalloc + strcpy.
2168 * src/symtab.c (copys): Remove, use xstrdup instead.
2169
d7020c20
AD
21702000-10-02 Akim Demaille <akim@epita.fr>
2171
2172 * src/gram.h (associativity): New enum type which replaces the
2173 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
2174 `right_assoc', `left_assoc' and `non_assoc'.
2175 Adjust all dependencies.
2176 * src/reader.c: Formatting changes.
2177 (LTYPESTR): Don't define it, use it as a literal in
2178 `reader_output_yylsp'.
2179 * src/symtab.h (symbol_class): New enum type which replaces the
2180 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
2181 `sunknown', `stoken and `snterm'.
2182
1916f98e
AD
21832000-10-02 Akim Demaille <akim@epita.fr>
2184
2185 * src/getargs.c (fixed_outfiles): Rename as...
2186 (yaccflag): for consistency and accuracy.
2187 Adjust dependencies.
2188
d7913476
AD
21892000-10-02 Akim Demaille <akim@epita.fr>
2190
2191 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
2192 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
2193 difficult and introduced a lot of core dump. It turns out that
2194 Bison used an implementation of `xmalloc' based on `calloc', and
2195 at various places it does depend upon the initialization to 0. I
2196 have not tried to isolate the pertinent places, and all the former
2197 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
2198 someone should address this issue.
2199
2200 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
2201 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
2202 files.
2203 Adjust dependencies.
2204 * src/warshall.h: New file.
2205 Propagate.
2206
340ef489
AD
22072000-10-02 Akim Demaille <akim@epita.fr>
2208
2209 Various anti-`extern in *.c' changes.
2210
2211 * src/system.h: Include `assert.h'.
2212
b2ca4022
AD
22132000-10-02 Akim Demaille <akim@epita.fr>
2214
2215 * src/state.h (nstates, final_state, first_state, first_shift)
2216 (first_reduction): Move their exportation from here...
2217 * src/LR0.h: to here.
2218 Adjust dependencies.
2219 * src/getargs.c (statisticsflag): New variable.
2220 Add support for `--statistics'.
2221 Adjust dependencies.
2222
2223 Remove a lot of now useless `extern' statements in most files.
2224
403b315b
AD
22252000-10-02 Akim Demaille <akim@epita.fr>
2226
2227 * src/LR0.h: New file.
2228 Propagate its use.
2229
07a58c13
AD
22302000-10-02 Akim Demaille <akim@epita.fr>
2231
2232 * src/print.h: New file.
2233 Propagate its use.
2234 * src/print.c: Formatting and ordering changes.
2235 (verbose, terse): Replace with...
2236 (print_results): this new function.
2237 Adjust dependencies.
2238
0619caf0
AD
22392000-10-02 Akim Demaille <akim@epita.fr>
2240
2241 * src/conflicts.c (conflict_report): New function.
2242 (conflict_log, verbose_conflict_log): Replace with...
2243 (print_conflicts): this function.
2244 Adjust dependencies.
2245 * src/conflicts.h: New file.
2246 Propagate its inclusion.
2247
3519ec76
AD
22482000-10-02 Akim Demaille <akim@epita.fr>
2249
2250 * src/nullable.h: New file.
2251 Propagate its inclusion.
2252 * src/nullable.c: Formatting changes.
2253
015acc48
AD
22542000-10-02 Akim Demaille <akim@epita.fr>
2255
2256 * src/reduce.h: New file.
2257 Propagate its inclusion.
2258 * src/reduce.c: Topological sort and other formatting changes.
2259 (bool, TRUE, FALSE): Move their definition to...
2260 * src/system.h: here.
2261
8963a27b
AD
22622000-10-02 Akim Demaille <akim@epita.fr>
2263
2264 * src/files.c: Formatting changes.
2265 (tryopen, tryclose, openfiles): Rename as...
2266 (xfopen, xfclose, open_files): this.
2267 (stringappend): static.
2268 * src/files.h: Complete the list of exported symbols.
2269 Propagate its use.
2270
a70083a3
AD
22712000-10-02 Akim Demaille <akim@epita.fr>
2272
2273 * src/reader.h: New file.
2274 Propagate its use instead of tedious list of `extern' and
2275 prototypes.
2276 * src/reader.c: Formatting changes, topological sort,
2277 s/register//.
2278
abadc117
AD
22792000-10-02 Akim Demaille <akim@epita.fr>
2280
2281 * src/lex.h: Prototype `lex.c' exported functions.
2282 * src/reader.c: Adjust.
2283 * src/lex.c: Formatting changes.
2284 (safegetc): Rename as...
2285 (xgetc): this.
2286
720d742f
AD
22872000-10-02 Akim Demaille <akim@epita.fr>
2288
2289 * src/lalr.h: New file.
2290 Propagate its inclusion instead of prototypes and `extern'.
2291 * src/lalr.c: Formatting changes, topological sorting etc.
2292
f2acea59
AD
22932000-10-02 Akim Demaille <akim@epita.fr>
2294
2295 * src/output.c (token_actions): Introduce a temporary array,
2296 YYDEFACT, that makes it possible for this function to use
2297 output_short_table.
2298
d019d655
AD
22992000-10-02 Akim Demaille <akim@epita.fr>
2300
2301 `user_toknums' is output as a `short[]' in `output.c', while it is
2302 defined as a `int[]' in `reader.c'. For consistency with the
2303 other output tables, `user_toknums' is now defined as a table of
2304 shorts.
2305
2306 * src/reader.c (user_toknums): Be a short table instead of an int
2307 table.
2308 Adjust dependencies.
2309
2310 Factor the short table outputs.
2311
2312 * src/output.c (output_short_table): New function.
2313 * src/output.c (output_gram, output_stos, output_rule_data)
2314 (output_base, output_table, output_check): Use it.
2315
6c89f1c1
AD
23162000-10-02 Akim Demaille <akim@epita.fr>
2317
2318 * src/output.c (output): Topological sort of the functions, in
2319 order to get rid of the `static' prototypes.
2320 No longer use `register'.
2321 * src/output.h: New file.
2322 Propagate its inclusion in files explicitly prototyping functions
2323 from output.c.
2324
d9efd181
AD
23252000-09-21 Akim Demaille <akim@epita.fr>
2326
2327 * src/atgeneral.m4: Update from Autoconf.
2328
c29240e7 23292000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
2330
2331 * src/closure.h: New file.
2332 * src/closure.c: Formatting changes, topological sort over the
2333 functions, use of closure.h.
2334 (initialize_closure, finalize_closure): Rename as...
2335 (new_closure, free_closure): these. Adjust dependencies.
2336 * src/LR0.c: Formatting changes, topological sort, use of
2337 cloture.h.
2338 (initialize_states): Rename as...
2339 (new_states): this.
2340 * src/Makefile.am (noinst_HEADERS): Adjust.
2341
499daa50
AD
23422000-09-20 Akim Demaille <akim@epita.fr>
2343
2344 * src/acconfig.h: Don't protect config.h against multiple
2345 inclusion.
2346 Don't define PARAMS.
2347 * src/system.h: Define PARAMS.
2348 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2349 purpose of config.h. system.h must not try to fix wrong
2350 definitions in config.h.
2351
cc84fd5d
AD
23522000-09-20 Akim Demaille <akim@epita.fr>
2353
2354 * src/derives.h: New file.
2355 * src/main.c, src/derives.h: Use it.
2356 Formatting changes.
2357 * src/Makefile.am (noinst_HEADERS): Adjust.
2358
db5b3a89
AD
23592000-09-20 Akim Demaille <akim@epita.fr>
2360
2361 * tests/atgeneral.m4: Update from Autoconf.
2362 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2363 (AT_CHECK_CALC): New macros.
2364 Use these macros to test bison with options `', `--raw',
2365 `--debug', `--yacc', `--yacc --debug'.
2366
ceed8467
AD
23672000-09-19 Akim Demaille <akim@epita.fr>
2368
2369 * src/output.c: Formatting changes.
2370 * src/machine.h: Remove, leaving its contents in...
2371 * src/system.h: here.
2372 Include stdio.h.
2373 Adjust all dependencies on stdio.h and machine.h.
2374 * src/getargs.h: New file.
2375 Let all `extern' declarations about getargs.c be replaced with
2376 inclusion of `getargs.h'.
2377 * src/Makefile.am (noinst_HEADERS): Adjust.
2378
2379 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2380 scope.
2381 (yyerror): Returns void, not int.
2382 * doc/bison.texinfo: Formatting changes.
2383
05a1d24b
AD
23842000-09-19 Akim Demaille <akim@epita.fr>
2385
2386 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2387 portable.
2388
cbd25751
AD
23892000-09-18 Akim Demaille <akim@epita.fr>
2390
2391 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2392 * src/Makefile.am (INCLUDES): Don't.
2393 Be ready to fetch headers in lib/.
2394
13863333
AD
23952000-09-18 Akim Demaille <akim@epita.fr>
2396
2397 * doc/bison.texinfo: Update the copyright.
2398 ANSIfy and GNUify the examples.
2399 Remove the old menu.
2400
0d533154
AD
24012000-09-18 Akim Demaille <akim@epita.fr>
2402
2403 First set of tests: use the `calc' example from the documentation.
2404
2405 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2406 is defined only when YYDEBUG is.
2407 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2408 * src/files.c (tryopen, tryclose): Formatting changes.
2409 Move to the top and be static.
2410 * src/reader.c (read_signed_integer): Likewise.
2411 * tests/calc.m4: New file.
2412 * Makefile.am, suite.m4: Adjust.
2413 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2414
e79137ac
AD
24152000-09-18 Akim Demaille <akim@epita.fr>
2416
2417 Add support for an Autotest test suite for Bison.
2418
2419 * m4/m4.m4, m4/atconfig.m4: New files.
2420 * m4/Makefile.am (EXTRA_DIST): Adjust.
2421 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2422 files.
2423 * src/getargs.c: Display a more standard --version message.
2424 * src/reader.c (reader): Formatting changes.
2425 No longer depend upon VERSION_STRING.
2426 * configure.in: No longer use `dnl'.
2427 Set up the test suite and the new directory `tests/.
2428 (VERSION_STRING): Remove.
2429
27821bff
AD
24302000-04-14 Akim Demaille <akim@epita.fr>
2431
2432 * src/reader.c (copy_comment2): New function, same as former
2433 `copy_comment', but outputs into two FILE *.
2434 (copy_comment): Use it.
2435 (parse_union_decl): Use it.
2436 (get_type, parse_start_decl): Use the same `invalid' message.
2437 (parse_start_decl, parse_union_decl): Use the same `multiple'
2438 message.
2439 (parse_union_decl, copy_guard, copy_action): Use the same
2440 `unmatched' message.
2441 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2442
cfe5fbc0
AD
24432000-03-31 Akim Demaille <akim@epita.fr>
2444
2445 * src/files.c (tryopen, tryclose): Move to the top.
2446 Be static.
2447
cb7db13e
AD
24482000-03-31 Akim Demaille <akim@epita.fr>
2449
2450 * src/main.c (main): Don't call `done', exit does it.
2451
a0f6b076
AD
24522000-03-31 Akim Demaille <akim@epita.fr>
2453
36281465
AD
2454 * allocate.c: s/return (foo)/return foo/.
2455 * lalr.c: Likewise.
2456 * LR0.c: Likewise.
2457 * output.c: Likewise.
2458 * reader.c: Likewise.
2459 * symtab.c: Likewise.
2460 * vmsgetargs.c: Likewise.
2461
24622000-03-31 Akim Demaille <akim@epita.fr>
2463
2464 Clean up the error reporting functions.
a0f6b076
AD
2465
2466 * src/report.c: New file.
2467 * src/report.h: Likewise.
2468 * src/Makefile.am: Adjust.
2469 * m4/error.m4: New file.
2470 * m4/Makefile.am: Adjust.
2471 * configure.in (jm_PREREQ_ERROR): Call it.
2472 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2473 Remove.
2474 (fatal, fatals): Remove. All callers use complain.c::fatal.
2475 (warn, warni, warns, warnss, warnss): Remove. All callers use
2476 complain.c::complain.
2477 (toomany): Remove, use fatal instead.
2478 * src/files.c (done): No argument, use complain_message_count.
2479 * src/main.c (main): Register `done' to `atexit'.
2480
2481 * src/getargs.c (usage): More `fputs', less `fprintf'.
2482
18539825
AD
24832000-03-28 Akim Demaille <akim@epita.fr>
2484
2485 * lib/: New directory.
2486 * Makefile.am (SUBDIRS): Adjust.
2487 * configure.in: Adjust.
2488 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2489 useless.
2490 * src/alloca.c: Moved to lib/.
2491 * src/getopt.c: Likewise.
2492 * src/getopt1.c: Likewise.
2493 * src/getopt.h: Likewise.
2494 * src/ansi2knr.c: Likewise.
2495 * src/ansi2knr.1: Likewise.
2496 * src/Makefile.am: Adjust.
2497 * lib/Makefile.am: New file.
2498
9f306f2a
AD
24992000-03-28 Akim Demaille <akim@epita.fr>
2500
2501 * src/getargs.c (usage): Refresh the help message.
2502
0ba347b6
AD
25032000-03-17 Akim Demaille <akim@epita.fr>
2504
2505 * src/getopt1.c: Updated from textutils 2.0e
2506 * src/getopt.c: Likewise.
2507 * src/getopt.h: Likewise.
2508
dbe7f271
AD
25092000-03-17 Akim Demaille <akim@epita.fr>
2510
2511 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2512 the file name, not the whole `#line LINE FILE'.
2513
75bbe78d
AD
25142000-03-17 Akim Demaille <akim@epita.fr>
2515
2516 On syntax errors, report the token on which we choked.
2517
aa5fd0ee
AD
2518 * src/bison.s1 (yyparse): In the label yyerrlab, when
2519 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 2520
7b306f52
AD
25212000-03-17 Akim Demaille <akim@epita.fr>
2522
aa5fd0ee 2523 * src/reader.c (copy_at): New function.
7b306f52
AD
2524 (copy_guard): Use it.
2525 (copy_action): Use it.
2526
e87b5700
AD
25272000-03-17 Akim Demaille <akim@epita.fr>
2528
2529 Be kind to translators, save some useless translations.
2530
aa5fd0ee 2531 * src/main.c (banner): New function.
e87b5700
AD
2532 (fatal_banner): Use it.
2533 (warn_banner): Use it.
2534
ae3c3164
AD
25352000-03-17 Akim Demaille <akim@epita.fr>
2536
aa5fd0ee
AD
2537 * src/reader.c (copy_definition): Use copy_string and
2538 copy_comment. Removed now unused `match', `ended',
2539 `cplus_comment'.
ae3c3164
AD
2540 (copy_comment, copy_string): Moved, to be visible from
2541 copy_definition.
2542
4dc58e7c
AD
25432000-03-17 Akim Demaille <akim@epita.fr>
2544
aa5fd0ee
AD
2545 * src/reader.c (copy_string): Declare `static inline'. No
2546 problems with inline, since it is checked by configure.
4dc58e7c
AD
2547 (copy_comment): Likewise.
2548
0a6384c4
AD
25492000-03-17 Akim Demaille <akim@epita.fr>
2550
aa5fd0ee 2551 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 2552
3cef001a
AD
25532000-03-17 Akim Demaille <akim@epita.fr>
2554
aa5fd0ee 2555 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
2556 (copy_action): Use it. Removed now unused `match', `ended',
2557 `cplus_comment'.
2558 (copy_guard): Likewise.
2559
ca36d2ef
AD
25602000-03-17 Akim Demaille <akim@epita.fr>
2561
aa5fd0ee 2562 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
2563 (copy_action): Use it.
2564 (copy_guard): Likewise.
2565
6666f98f
AD
25662000-03-17 Akim Demaille <akim@epita.fr>
2567
2568 Change the handling of @s so that they behave exactly like $s.
2569 There is now a pseudo variable @$ (readble and writable), location
2570 of the lhs of the rule (by default ranging from the location of
2571 the first symbol of the rhs, to the location of the last symbol,
2572 or, if the rhs is empty, YYLLOC).
2573
2574 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2575 yyval.
2576 (yyparse): When providing a default semantic action, provide a
2577 default location action.
2578 (after the $): No longer change `*YYLSP', just stack YYLOC the
2579 same way you stack YYVAL.
2580 * src/reader.c (read_declarations): Use warns.
2581 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2582 (copy_action, case '@'): Likewise.
2583 Use a standard error message, to save useless work from
2584 translators.
2585
41aca2e0
AD
25862000-03-17 Akim Demaille <akim@epita.fr>
2587
aa5fd0ee
AD
2588 * src/bison.s1: Formatting and cosmetics changes.
2589 * src/reader.c: Likewise.
41aca2e0
AD
2590 Update the Copyright notice.
2591
dc08c1d5
AD
25922000-03-17 Akim Demaille <akim@epita.fr>
2593
aa5fd0ee
AD
2594 * src/bison.s1 (#line): All set to `#line' only, since the
2595 Makefile now handles them.
dc08c1d5 2596
9ee3c97b
AD
25972000-03-16 Akim Demaille <akim@epita.fr>
2598
2599 * src/output.c (output_rule_data): Output the documentation of
2600 some of the tables.
2601 (Copyright notice): Update.
2602 Formatting changes.
2603
0de741ca
AD
26042000-03-16 Akim Demaille <akim@epita.fr>
2605
2606 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2607 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2608 One `#if YYDEBUG' remains, since it uses variables which are
2609 defined only if `YYDEBUG != 0'.
2610
bb10be54
AD
26112000-03-16 Akim Demaille <akim@epita.fr>
2612
2613 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2614 and related variables so that the similarities are highlighted.
2615
b07b484a
AD
26162000-03-16 Akim Demaille <akim@epita.fr>
2617
2618 * src/bison.s1: Properly indent CPP directives.
2619
361f60b3
AD
26202000-03-16 Akim Demaille <akim@epita.fr>
2621
2622 * src/bison.s1: Properly indent the `alloca' CPP section.
2623
8c44d3ec
AD
26242000-03-16 Akim Demaille <akim@epita.fr>
2625
2626 Do not hard code values of directories in `configure.in'.
2627 Update the `configure' tool chain.
2628
2629 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2630 src/makefile.am.
2631 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2632 (AC_OUTPUT): Add m4/Makefile.
2633 Bump to bison 1.28a, 1.29 has never been released.
2634 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2635 handled via src/Makefile.am.
2636 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2637 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2638 autoheader.
2639 * Makefile.am (SUBDIRS): Add m4.
2640 (ACLOCAL_AM_FLAGS): New variable.
2641 (AUTOMAKE_OPTIONS): Add check-news.
2642 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2643 the proper line number and file name.
2644 (DEFS): Propagate the location of bison library files and of the
2645 locale files.
2646 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2647 builddir.
2648 * acinclude.m4: Remove, replaced by the directory m4.
2649 * m4/Makefile.am (EXTRA_DIST): New variable.
2650 * m4/gettext.m4: New file, from the fileutils.
2651 * m4/lcmessage.m4: Likewise
2652 * m4/progtest.m4: Likewise.
2653 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2654
f95997e7
AD
26552000-03-10 Akim Demaille <akim@epita.fr>
2656
2657 * src/closure.c:
2658 Formatting changes of various comments.
2659 Respect the GNU coding standards at various places.
2660 Don't use `_()' when no translation is needed.
2661
26621999-12-13 Jesse Thilo <jthilo@gnu.org>
2663
2664 * src/files.c:
2665 OS/2 honors TMPDIR environment variable.
2666
26671999-12-13 Jesse Thilo <jthilo@gnu.org>
2668
2669 * doc/bison.texinfo: Tweaked spelling and grammar.
2670 Updated ISBN.
2671 Removed reference to price of printed copy.
2672 Mention BISON_SIMPLE and BISON_HAIRY.
2673
26741999-12-13 Jesse Thilo <jthilo@gnu.org>
2675
2676 * configure.in, NEWS:
2677 Bison 1.29 released.
2678
26791999-10-27 Jesse Thilo <jthilo@gnu.org>
2680
2681 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2682 Added reference card.
2683
26841999-07-26 Jesse Thilo <jthilo@gnu.org>
2685
2686 * po/ru.po: Added Russian translation.
2687
26881999-07-26 Jesse Thilo <jthilo@gnu.org>
2689
2690 * configure.in: Added Russian translation.
2691
26921999-07-06 Jesse Thilo <jthilo@gnu.org>
2693
2694 * configure.in, NEWS, README:
2695 Released version 1.28.
2696
26971999-06-14 Jesse Thilo <jthilo@gnu.org>
2698
2699 * src/system.h:
2700 Squashed redefinition warning on some systems.
2701
2702 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2703 Have configure build version string instead of relying on ANSI string
2704 concatentation.
2705
27061999-06-14 Jesse Thilo <jthilo@gnu.org>
2707
2708 * po/POTFILES.in: Got rid of version.c.
2709
27101999-06-14 Jesse Thilo <jthilo@gnu.org>
2711
2712 * acconfig.h, configure.in:
2713 Have configure build version string instead of relying on ANSI string
2714 concatentation.
2715
27161999-06-08 Jesse Thilo <jthilo@gnu.org>
2717
2718 * doc/bison.1:
2719 Dropped mention of `+' for long-named options.
2720
27211999-05-30 Jesse Thilo <jthilo@gnu.org>
2722
2723 * src/files.c: Added <unistd.h> for unlink().
2724
2725 * src/Makefile.am, src/system.h:
2726 I18n fixes.
2727
27281999-05-30 Jesse Thilo <jthilo@gnu.org>
2729
2730 * README: Added a FAQ list.
2731
2732 * configure.in, acconfig.h:
2733 I18n fixes.
2734
27351999-05-30 Jesse Thilo <jthilo@gnu.org>
2736
2737 * doc/FAQ, doc/Makefile.am:
2738 Added a FAQ list.
2739
27401999-05-19 Jesse Thilo <jthilo@gnu.org>
2741
2742 * src/alloc.h, src/symtab.h, src/version.c:
2743 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2744
27451999-04-18 Jesse Thilo <jthilo@gnu.org>
2746
2747 * src/.cvsignore, src/Makefile.am:
2748 Reorganized: sources in `src', documentation in `doc'.
2749
2750 * src/lex.c (literalchar):
2751 fixed the code for escaping double quotes (thanks
2752 Jonathan Czisny.)
2753
27541999-04-18 Jesse Thilo <jthilo@gnu.org>
2755
2756 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2757 Adjusted paths to reflect directory reorganization.
2758
27591999-04-18 Jesse Thilo <jthilo@gnu.org>
2760
2761 * doc/.cvsignore, doc/Makefile.am:
2762 Reorganized: sources in `src', documentation in `doc'.
2763
27641999-04-18 Jesse Thilo <jthilo@gnu.org>
2765
2766 * configure.in:
2767 Updated AC_INIT file to reflect directory reorganization.
2768
2769 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2770 Reorganized: sources in `src', documentation in `doc'.
2771
27721999-04-13 Jesse Thilo <jthilo@gnu.org>
2773
2774 * src/allocate.c:
2775 Don't declare calloc() and realloc() if not necessary.
2776
27771999-04-13 Jesse Thilo <jthilo@gnu.org>
2778
2779 * configure.in, acconfig.h, acinclude.m4:
2780 Don't declare calloc() and realloc() if not necessary.
2781
27821999-03-23 Jesse Thilo <jthilo@gnu.org>
2783
2784 * po/.cvsignore: Added i18n support.
2785
27861999-03-23 Jesse Thilo <jthilo@gnu.org>
2787
2788 * acconfig.h, configure.in, Makefile.am:
2789 Added i18n support.
2790
27911999-03-22 Jesse Thilo <jthilo@gnu.org>
2792
2793 * src/bison.s1: Fixed #line numbers.
2794
27951999-03-15 Jesse Thilo <jthilo@gnu.org>
2796
2797 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2798 Added PO files from Translation Project.
2799
28001999-03-03 Jesse Thilo <jthilo@gnu.org>
2801
2802 * Makefile.am:
2803 Added support for non-ANSI compilers (ansi2knr).
2804
28051999-02-16 Jesse Thilo <jthilo@gnu.org>
2806
2807 * configure.in: Bumped version number to 1.27.
2808
2809 * Makefile.am:
2810 Added `bison.simple' to list of files removed by `make distclean'.
2811
28121999-02-12 Jesse Thilo <jthilo@gnu.org>
2813
2814 * src/files.c, src/files.h:
2815 Defined locations of parser files in config.h instead of Makefile.
2816
28171999-02-12 Jesse Thilo <jthilo@gnu.org>
2818
2819 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2820 Defined locations of parser files in config.h instead of Makefile.
2821
28221999-02-09 Jesse Thilo <jthilo@gnu.org>
2823
2824 * Makefile.am:
2825 Removed inappropriate use of $< macro.
2826
28271999-02-05 Jesse Thilo <jthilo@gnu.org>
2828
2829 * po/Makefile.in.in, po/POTFILES.in:
2830 Add `po' directory skeleton.
2831
28321999-01-27 Jesse Thilo <jthilo@gnu.org>
2833
2834 * README: Document help-bison list.
2835
2836 * configure.in: Add check for mkstemp().
2837
28381999-01-20 Jesse Thilo <jthilo@gnu.org>
2839
2840 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2841 Hush a few compiler warnings.
2842
2843 * src/files.c:
2844 Add tryclose(), which verifies that fclose was successful.
2845 Hush a couple of compiler warnings.
2846
28471999-01-20 Jesse Thilo <jthilo@gnu.org>
2848
2849 * Makefile.am, OChangeLog:
2850 ChangeLog is now automatically generated. Include the old version as
2851 OChangeLog.
2852
28531999-01-14 Jesse Thilo <jthilo@gnu.org>
2854
2855 * 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:
2856 Update FSF address.
2857
28581999-01-14 Jesse Thilo <jthilo@gnu.org>
2859
2860 * doc/bison.texinfo: Fix formatting glitch.
2861
2862 * doc/bison.texinfo: Update FSF address.
2863
28641999-01-14 Jesse Thilo <jthilo@gnu.org>
2865
2866 * acconfig.h: Update FSF address.
2867
28681999-01-08 Jesse Thilo <jthilo@gnu.org>
2869
2870 * src/system.h:
2871 Don't define PACKAGE here, since config.h defines it.
2872
28731998-12-30 Jesse Thilo <jthilo@gnu.org>
2874
2875 * src/reader.c: Update copyright date.
2876
2877 * src/main.c:
2878 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2879 favor of output directly to stderr (avoids buffer overruns).
2880
2881 * src/reader.c: Some checks for premature EOF.
2882
2883 * 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:
2884 Use prototypes if the compiler understands them.
2885
2886 * src/files.c: Honor TMPDIR on Unix hosts.
2887 Use prototypes if the compiler understands them.
2888
2889 * src/reader.c:
2890 Fix a couple of buffer overrun bugs.
2891 Use prototypes if the compiler understands them.
2892
2893 * src/system.h: Include unistd.h and ctype.h.
2894 Use #ifdef instead of #if for NLS symbols.
2895
28961998-12-30 Jesse Thilo <jthilo@gnu.org>
2897
2898 * doc/bison.texinfo:
2899 Delete comment "consider using @set for edition number, etc..." since
2900 we now are doing so.
2901
29021998-12-30 Jesse Thilo <jthilo@gnu.org>
2903
2904 * configure.in:
2905 Use prototypes if the compiler understands them.
2906
2907 * NEWS: Document 1.26 highlights.
2908
2909 * Makefile.am: Require Automake 1.3 or later.
2910
2911 * acconfig.h:
2912 Use prototypes if the compiler understands them.
2913
29141998-12-29 Jesse Thilo <jthilo@gnu.org>
2915
2916 * src/version.c:
2917 Use VERSION symbol from automake for version number.
2918
29191998-12-29 Jesse Thilo <jthilo@gnu.org>
2920
2921 * acconfig.h, configure.in, version.cin:
2922 Use VERSION symbol from automake for version number.
2923
29241998-11-28 Jesse Thilo <jthilo@gnu.org>
2925
2926 * Makefile.am:
2927 Distribute original version of simple parser (bison.s1), not built
2928 version (bison.simple).
2929
29301998-11-28 Jesse Thilo <jthilo@gnu.org>
2931
2932 * doc/bison.texinfo: Add info dir entry.
2933
2934 * doc/bison.texinfo:
2935 Let automake put version number into documentation.
2936
29371998-11-26 Jesse Thilo <jthilo@gnu.org>
2938
2939 * src/bison.cld, src/build.com, src/vmshlp.mar:
2940 Add non-RCS files from /gd/gnu/bison.
2941
29421998-11-26 Jesse Thilo <jthilo@gnu.org>
2943
2944 * doc/bison.1:
2945 Document the BISON_HAIRY and BISON_SIMPLE variables.
2946
29471998-11-25 Jesse Thilo <jthilo@gnu.org>
2948
2949 * src/version.c: Build version.c automatically.
2950
2951 * src/reader.c:
2952 Fix token numbering (used to start at 258, not 257).
2953
2954 * src/system.h: Include config.h.
2955
2956 * src/getargs.c: Update bug report address.
2957
2958 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2959 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2960
29611998-11-25 Jesse Thilo <jthilo@gnu.org>
2962
2963 * Makefile.am:
2964 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2965
2966 * configure.in, version.cin:
2967 Build version.c automatically.
2968
2969 * AUTHORS: Add AUTHORS file.
2970
2971 * README: Update bug report address.
2972
2973 * bison.simple:
2974 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2975
2976 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2977 Add automake stuff.
2978
29791998-11-25 Jesse Thilo <jthilo@gnu.org>
2980
2981 * doc/bison.texinfo: Clean up some formatting.
2982
29831998-05-05 Richard Stallman <rms@gnu.org>
2984
2985 * doc/bison.texinfo:
2986 Explain better why to make a pure parser.
2987
29881998-01-05 Richard Stallman <rms@gnu.org>
2989
2990 * src/files.c (openfiles):
2991 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2992 find a temporary directory, if possible. Do not unlink files while
2993 they are open.
2994
29951997-08-25 Richard Stallman <rms@gnu.org>
2996
2997 * src/reader.c (stack_offset;):
2998 Change some warni to warns.
2999
3000 * src/lex.c (literalchar): Use warns, not warni.
3001
30021997-06-28 Richard Stallman <rms@gnu.org>
3003
3004 * src/bison.s1: Add a Bison version comment.
3005
3006 * src/main.c (fatal, warn, berror):
3007 Use program_name.
3008
30091997-06-28 Richard Stallman <rms@gnu.org>
3010
3011 * Makefile.in (bison_version): New variable.
3012 (dist): Use that variable.
3013 (bison.s1): Substitute the Bison version into bison.simple.
3014
3015 * bison.simple: Add a Bison version comment.
3016
30171997-06-18 Richard Stallman <rms@gnu.org>
3018
3019 * src/main.c (fatal, warn, berror):
3020 Make error messages standard.
3021 (toomany): Improve error message text.
3022
3023 * 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:
3024 new.h renamed to alloc.h.
3025
30261997-06-18 Richard Stallman <rms@gnu.org>
3027
3028 * Makefile.in: new.h renamed to alloc.h.
3029
30301997-05-24 Richard Stallman <rms@gnu.org>
3031
3032 * src/lex.c (literalchar):
3033 Fix the code for escaping \, " and '.
3034
3035 (lex): Avoid trouble when there are many chars
3036 to discard in a char literal with just several chars in it.
3037
30381997-05-17 Richard Stallman <rms@gnu.org>
3039
3040 * src/bison.s1:
3041 Use malloc, if using alloca is troublesome.
3042 (YYSTACK_USE_ALLOCA): New flag macro.
3043 Define it for some systems and compilers.
3044 (YYSTACK_ALLOC): New macro.
3045 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3046 If it was malloc'd, free it.
3047
30481997-05-17 Richard Stallman <rms@gnu.org>
3049
3050 * bison.simple:
3051 Use malloc, if using alloca is troublesome.
3052 (YYSTACK_USE_ALLOCA): New flag macro.
3053 Define it for some systems and compilers.
3054 (YYSTACK_ALLOC): New macro.
3055 (yyparse): Use YYSTACK_ALLOC to allocate stack.
3056 If it was malloc'd, free it.
3057
30581997-04-23 Richard Stallman <rms@gnu.org>
3059
3060 * src/bison.s1:
3061 (alloca) [__hpux]: Always define as __builtin_alloca.
3062
30631997-04-23 Richard Stallman <rms@gnu.org>
3064
3065 * bison.simple:
3066 (alloca) [__hpux]: Always define as __builtin_alloca.
3067
30681997-04-22 Richard Stallman <rms@gnu.org>
3069
3070 * src/bison.s1:
3071 [__hpux]: Include alloca.h (right for HPUX 10)
3072 instead of declaring alloca (right for HPUX 9).
3073
3074 * src/bison.s1 (__yy_memcpy):
3075 Declare arg `count' as unsigned int.
3076 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3077
30781997-04-22 Richard Stallman <rms@gnu.org>
3079
3080 * bison.simple:
3081 [__hpux]: Include alloca.h (right for HPUX 10)
3082 instead of declaring alloca (right for HPUX 9).
3083
3084 * bison.simple (__yy_memcpy):
3085 Declare arg `count' as unsigned int.
3086 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
3087
30881997-01-03 Richard Stallman <rms@gnu.org>
3089
3090 * src/allocate.c: [__STDC__ or _MSC_VER]:
3091 Declare calloc and realloc to return void *.
3092
30931997-01-02 Richard Stallman <rms@gnu.org>
3094
3095 * src/system.h:
3096 [_MSC_VER]: Include stdlib.h and process.h.
3097 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
3098
3099 * src/main.c (main): Return FAILURE as a value.
3100 (printable_version): Declare arg as int, not char.
3101
31021997-01-02 Richard Stallman <rms@gnu.org>
3103
3104 * Makefile.in (dist):
3105 Explicitly check for symlinks, and copy them.
3106
31071996-12-19 Richard Stallman <rms@gnu.org>
3108
3109 * src/files.c:
3110 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
3111
31121996-12-18 Paul Eggert <eggert@gnu.org>
3113
3114 * src/bison.s1 (yyparse):
3115 If __GNUC__ and YYPARSE_PARAM are both defined,
3116 declare yyparse to have a void * argument.
3117
31181996-12-18 Paul Eggert <eggert@gnu.org>
3119
3120 * bison.simple (yyparse):
3121 If __GNUC__ and YYPARSE_PARAM are both defined,
3122 declare yyparse to have a void * argument.
3123
31241996-12-17 Richard Stallman <rms@gnu.org>
3125
3126 * src/reduce.c (nbits): Add some casts.
3127
31281996-08-12 Richard Stallman <rms@gnu.org>
3129
3130 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
3131
31321996-08-12 Richard Stallman <rms@gnu.org>
3133
3134 * bison.simple: Test _MSDOS as well as _MSDOS_.
3135
31361996-07-31 Richard Stallman <rms@gnu.org>
3137
3138 * src/bison.s1:
3139 [__sun && __i386]: Include alloca.h.
3140
31411996-07-31 Richard Stallman <rms@gnu.org>
3142
3143 * bison.simple:
3144 [__sun && __i386]: Include alloca.h.
3145
31461996-07-30 Richard Stallman <rms@gnu.org>
3147
3148 * src/bison.s1: Comment change.
3149
3150 * src/bison.s1: Test _MSDOS_, not MSDOS.
3151
31521996-07-30 Richard Stallman <rms@gnu.org>
3153
3154 * bison.simple: Comment change.
3155
3156 * bison.simple: Test _MSDOS_, not MSDOS.
3157
31581996-06-01 Richard Stallman <rms@gnu.org>
3159
3160 * 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:
3161 Insert `_' macro around many string constants.
3162
3163 * src/main.c:
3164 Insert `_' macro around many string constants.
3165
3166 (main): Call setlocale, bindtextdomain and textdomain.
3167
3168 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
3169 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
3170 [ENABLE_NLS]: Include libintl.h.
3171 [ENABLE_NLS] (gettext): Define.
3172 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
3173 (N_, PACKAGE, LOCALEDIR): New macros.
3174
31751996-06-01 Richard Stallman <rms@gnu.org>
3176
3177 * POTFILES.in: New file.
3178
3179 * Makefile.in (allocate.o):
3180 Define target explicitly.
3181
3182 * Makefile.in (CFLAGS): Set to @CFLAGS@.
3183 (LDFLAGS): Set to @LDFLAGS@.
3184 (configure): Run autoconf only if preceding `cd' succeeds.
3185 (bison.s1): Redirect output to temporary file then move the
3186 temporary to the target, rather than redirecting directly to bison.s1.
3187 (clean): Remove config.status and config.log.
3188 (distclean): Don't remove config.status here.
3189
31901996-05-12 Richard Stallman <rms@gnu.org>
3191
3192 * src/bison.s1:
3193 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3194
31951996-05-12 Richard Stallman <rms@gnu.org>
3196
3197 * bison.simple:
3198 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
3199
32001996-05-11 Richard Stallman <rms@gnu.org>
3201
3202 * src/bison.s1 (__yy_memcpy):
3203 Really reorder the args, as was supposedly done on Feb 14 1995.
3204 (yyparse): Calls changed accordingly.
3205
32061996-05-11 Richard Stallman <rms@gnu.org>
3207
3208 * Makefile.in (dist): Don't use $(srcdir).
3209
3210 * bison.simple (__yy_memcpy):
3211 Really reorder the args, as was supposedly done on Feb 14 1995.
3212 (yyparse): Calls changed accordingly.
3213
32141996-01-27 Richard Stallman <rms@gnu.org>
3215
3216 * src/output.c (output_rule_data):
3217 Test YYERROR_VERBOSE in the conditional
3218 around the definition of ttyname.
3219
32201995-12-29 Richard Stallman <rms@gnu.org>
3221
3222 * src/bison.s1:
3223 Fix line numbers in #line commands.
3224
32251995-12-29 Richard Stallman <rms@gnu.org>
3226
3227 * bison.simple:
3228 Fix line numbers in #line commands.
3229
32301995-12-27 Richard Stallman <rms@gnu.org>
3231
3232 * src/bison.s1 (YYPARSE_PARAM_DECL):
3233 In C++, make it always null.
3234 (YYPARSE_PARAM_ARG): New macro.
3235 (yyparse): Use YYPARSE_PARAM_ARG.
3236
32371995-12-27 Richard Stallman <rms@gnu.org>
3238
3239 * bison.simple (YYPARSE_PARAM_DECL):
3240 In C++, make it always null.
3241 (YYPARSE_PARAM_ARG): New macro.
3242 (yyparse): Use YYPARSE_PARAM_ARG.
3243
32441995-11-29 Richard Stallman <rms@gnu.org>
3245
3246 * doc/bison.texinfo:
3247 Describe literal string tokens, %raw, %no_lines, %token_table.
3248
32491995-11-29 Daniel Hagerty <hag@gnu.org>
3250
3251 * doc/bison.texinfo: Fixed update date
3252
32531995-10-16 Richard Stallman <rms@gnu.org>
3254
3255 * src/version.c: Version 1.25.
3256
32571995-10-16 Richard Stallman <rms@gnu.org>
3258
3259 * NEWS: *** empty log message ***
3260
32611995-10-16 Richard Stallman <rms@gnu.org>
3262
3263 * doc/bison.1, doc/bison.rnh:
3264 Add new options.
3265
32661995-10-15 Richard Stallman <rms@gnu.org>
3267
3268 * src/vmsgetargs.c, src/getargs.c:
3269 Added -n, -k, and -raw switches.
3270 (noparserflag, toknumflag, rawtoknumflag): New variables.
3271
3272 * src/symtab.h (SALIAS):
3273 New #define for adding aliases to %token.
3274 (struct bucket): Added `alias' field.
3275
3276 * src/reduce.c (reduce_grammar):
3277 Revise error message.
3278 (print_notices): Remove final `.' from error message.
3279
3280 * src/reader.c (reader_output_yylsp):
3281 New function.
3282 (readgram): Use `#if 0' around code that accepted %command
3283 inside grammar rules: The documentation doesn't allow it,
3284 and it will fail since the %command processors scan for the next %.
3285 (parse_token_decl): Extended the %token
3286 declaration to allow a multi-character symbol as an alias.
3287 (parse_thong_decl): New function.
3288 (read_declarations): Added %thong declarations.
3289 (read_declarations): Handle NOOP to deal with allowing
3290 % declarations as another means to specify the flags.
3291 (readgram): Allow %prec prior to semantics embedded in a rule.
3292 (skip_to_char, read_declarations, copy_definition)
3293 (parse_token_decl, parse_start_decl, parse_type_decl)
3294 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
3295 (get_type_name, copy_guard, copy_action, readgram)
3296 (get_type, packsymbols): Revised most error messages.
3297 Changed `fatal' to `warnxxx' to avoid aborting for error.
3298 Revised and use multiple warnxxx functions to avoid using VARARGS1.
3299 (read_declarations): Improve the error message for
3300 an invalid character. Do not abort.
3301 (read_declarations, copy_guard, copy_action): Use
3302 printable_version to avoid unprintable characters in printed output.
3303 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
3304 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
3305 Allow the type of a non-terminal can be given
3306 more than once, as long as all specifications give the same type.
3307
3308 * src/output.c:
3309 (output_headers, output_trailers, output, output_gram)
3310 (output_rule_data): Implement noparserflag variable.
3311 Implement toknumflag variable.
3312 (output): Call reader_output_yylsp to output LTYPESTR.
3313
3314 * src/main.c (main):
3315 If reader sees an error, don't process the grammar.
3316 (fatals): Updated to not use VARARGS1.
3317 (printable_version, int_to_string, warn, warni, warns, warnss)
3318 (warnsss): New error reporting functions. Avoid abort for error.
3319
3320 * src/lex.h:
3321 Added THONG and NOOP for alias processing.
3322 Added SETOPT for the new code that allows setting options with %flags.
3323
3324 * src/lex.c:
3325 Include getopt.h. Add some extern decls.
3326 (safegetc): New function to deal with EOF gracefully.
3327 (literalchar); new function to deal with reading \ escapes.
3328 (lex): Use literalchar.
3329 (lex): Implemented "..." tokens.
3330 (literalchar, lex, parse_percent_token): Made tokenbuffer
3331 always contain the token. This includes growing the token
3332 buffer while reading an integer.
3333 (parse_percent_token): Replaced if-else statement with percent_table.
3334 (parse_percent_token): Added % declarations as another
3335 way to specify the flags -n, -l, and -r. Also added hooks for
3336 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3337 major changes to files.c.
3338 (lex) Retain in the incoming stream a character following
3339 an incorrect '/'.
3340 (skip_white_space, lex): Revised most error messages
3341 and changed fatal to warn to avoid aborting.
3342 (percent_table): Added %thong declarations.
3343
3344 * src/gram.h: Comment changes.
3345
3346 * src/files.c (openfiles, open_extra_files, done):
3347 Add faction flag
3348 and actfile file. Handle noparserflag. Both for -n switch.
3349
3350 * src/conflicts.c (resolve_sr_conflict):
3351 Remove use of alloca.
3352
33531995-06-01 Jim Meyering <meyering@gnu.org>
3354
3355 * doc/bison.texinfo: *** empty log message ***
3356
33571995-05-06 Richard Stallman <rms@gnu.org>
3358
3359 * src/bison.s1: Comment change.
3360
33611995-05-06 Richard Stallman <rms@gnu.org>
3362
3363 * bison.simple: Comment change.
3364
33651995-05-03 Richard Stallman <rms@gnu.org>
3366
3367 * src/version.c: Version now 1.24.
3368
3369 * src/bison.s1: Change distribution terms.
3370
3371 * src/version.c: Version now 1.23.
3372
33731995-05-03 Richard Stallman <rms@gnu.org>
3374
3375 * doc/bison.texinfo:
3376 Rewrite "Conditions for Using Bison".
3377 Update version to 1.24.
3378
33791995-05-03 Richard Stallman <rms@gnu.org>
3380
3381 * bison.simple: Change distribution terms.
3382
33831995-02-23 Richard Stallman <rms@gnu.org>
3384
3385 * src/files.c: Test __VMS_POSIX as well as VMS.
3386
33871995-02-14 Jim Meyering <meyering@gnu.org>
3388
3389 * src/bison.s1 (__yy_memcpy):
3390 Renamed from __yy_bcopy to avoid
3391 confusion. Reverse FROM and TO arguments to be consistent with
3392 those of memcpy.
3393
33941995-02-14 Jim Meyering <meyering@gnu.org>
3395
3396 * bison.simple (__yy_memcpy):
3397 Renamed from __yy_bcopy to avoid
3398 confusion. Reverse FROM and TO arguments to be consistent with
3399 those of memcpy.
3400
34011994-11-10 David J. MacKenzie <djm@gnu.org>
3402
3403 * NEWS: reformat
3404
3405 * NEWS: New file.
3406
3407 * Makefile.in (DISTFILES): Include NEWS.
3408
3409 * Makefile.in (DISTFILES):
3410 Include install-sh, not install.sh.
3411
3412 * configure.in: Update to Autoconf v2 macro names.
3413
34141994-10-05 David J. MacKenzie <djm@gnu.org>
3415
3416 * Makefile.in: fix typo
3417
3418 * Makefile.in (prefix, exec_prefix):
3419 Let configure set them.
3420
34211994-09-28 David J. MacKenzie <djm@gnu.org>
3422
3423 * Makefile.in: Set datadir to $(prefix)/share.
3424
34251994-09-15 Richard Stallman <rms@gnu.org>
3426
3427 * src/bison.s1:
3428 Update copyright notice and GPL version.
3429
34301994-09-15 Richard Stallman <rms@gnu.org>
3431
3432 * bison.simple:
3433 Update copyright notice and GPL version.
3434
34351994-07-12 Richard Stallman <rms@gnu.org>
3436
3437 * src/reduce.c, src/reader.c:
3438 entered into RCS
3439
34401994-05-05 David J. MacKenzie <djm@gnu.org>
3441
3442 * Makefile.in: entered into RCS
3443
34441994-03-26 Richard Stallman <rms@gnu.org>
3445
3446 * src/bison.s1: entered into RCS
3447
34481994-03-26 Richard Stallman <rms@gnu.org>
3449
3450 * bison.simple: entered into RCS
3451
34521994-03-25 Richard Stallman <rms@gnu.org>
3453
3454 * src/main.c: entered into RCS
3455
34561994-03-24 Richard Stallman <rms@gnu.org>
3457
3458 * src/conflicts.c: entered into RCS
3459
34601994-01-02 Richard Stallman <rms@gnu.org>
3461
3462 * Makefile.in: *** empty log message ***
3463
34641993-11-21 Richard Stallman <rms@gnu.org>
3465
3466 * src/bison.s1: *** empty log message ***
3467
34681993-11-21 Richard Stallman <rms@gnu.org>
3469
3470 * doc/bison.texinfo: entered into RCS
3471
3472 * doc/bison.texinfo: *** empty log message ***
3473
34741993-11-21 Richard Stallman <rms@gnu.org>
3475
3476 * bison.simple: *** empty log message ***
3477
34781993-10-25 David J. MacKenzie <djm@gnu.org>
3479
3480 * doc/bison.texinfo: *** empty log message ***
3481
34821993-10-19 Richard Stallman <rms@gnu.org>
3483
3484 * src/bison.s1: *** empty log message ***
3485
34861993-10-19 Richard Stallman <rms@gnu.org>
3487
3488 * bison.simple: *** empty log message ***
3489
34901993-10-14 Richard Stallman <rms@gnu.org>
3491
3492 * src/bison.s1: *** empty log message ***
3493
34941993-10-14 Richard Stallman <rms@gnu.org>
3495
3496 * bison.simple: *** empty log message ***
3497
34981993-09-14 David J. MacKenzie <djm@gnu.org>
3499
3500 * doc/bison.texinfo: *** empty log message ***
3501
35021993-09-13 Noah Friedman <friedman@gnu.org>
3503
3504 * Makefile.in: *** empty log message ***
3505
35061993-09-10 Richard Stallman <rms@gnu.org>
3507
3508 * src/conflicts.c: *** empty log message ***
3509
3510 * src/system.h: entered into RCS
3511
35121993-09-10 Richard Stallman <rms@gnu.org>
3513
3514 * doc/bison.1: entered into RCS
3515
35161993-09-06 Noah Friedman <friedman@gnu.org>
3517
3518 * src/version.c: entered into RCS
3519
35201993-09-06 Noah Friedman <friedman@gnu.org>
3521
3522 * Makefile.in: *** empty log message ***
3523
35241993-07-30 David J. MacKenzie <djm@gnu.org>
3525
3526 * Makefile.in: *** empty log message ***
3527
35281993-07-24 Richard Stallman <rms@gnu.org>
3529
3530 * src/bison.s1: *** empty log message ***
3531
35321993-07-24 Richard Stallman <rms@gnu.org>
3533
3534 * bison.simple: *** empty log message ***
3535
35361993-07-08 David J. MacKenzie <djm@gnu.org>
3537
3538 * Makefile.in: *** empty log message ***
3539
35401993-07-04 Richard Stallman <rms@gnu.org>
3541
3542 * src/bison.s1: *** empty log message ***
3543
35441993-07-04 Richard Stallman <rms@gnu.org>
3545
3546 * bison.simple: *** empty log message ***
3547
35481993-06-26 David J. MacKenzie <djm@gnu.org>
3549
3550 * src/getargs.c: entered into RCS
3551
35521993-06-26 David J. MacKenzie <djm@gnu.org>
3553
3554 * doc/bison.texinfo: *** empty log message ***
3555
3556 * doc/bison.1: New file.
3557
35581993-06-25 Richard Stallman <rms@gnu.org>
3559
3560 * src/getargs.c: New file.
3561
35621993-06-16 Richard Stallman <rms@gnu.org>
3563
3564 * src/bison.s1: *** empty log message ***
3565
35661993-06-16 Richard Stallman <rms@gnu.org>
3567
3568 * bison.simple: *** empty log message ***
3569
35701993-06-03 Richard Stallman <rms@gnu.org>
3571
3572 * src/bison.s1: New file.
3573
35741993-06-03 Richard Stallman <rms@gnu.org>
3575
3576 * doc/bison.texinfo: *** empty log message ***
3577
35781993-06-03 Richard Stallman <rms@gnu.org>
3579
3580 * bison.simple: New file.
3581
35821993-05-19 Richard Stallman <rms@gnu.org>
3583
3584 * doc/bison.texinfo: New file.
3585
35861993-05-07 Noah Friedman <friedman@gnu.org>
3587
3588 * Makefile.in: *** empty log message ***
3589
35901993-04-28 Noah Friedman <friedman@gnu.org>
3591
3592 * src/reader.c: *** empty log message ***
3593
35941993-04-23 Noah Friedman <friedman@gnu.org>
3595
3596 * src/alloc.h: entered into RCS
3597
35981993-04-20 David J. MacKenzie <djm@gnu.org>
3599
3600 * src/version.c: *** empty log message ***
3601
3602 * src/files.c, src/allocate.c:
3603 entered into RCS
3604
3605 * src/reader.c: *** empty log message ***
3606
3607 * src/lex.c: entered into RCS
3608
3609 * src/conflicts.c: New file.
3610
3611 * src/symtab.c: entered into RCS
3612
3613 * src/alloc.h: New file.
3614
3615 * src/LR0.c: entered into RCS
3616
36171993-04-18 Noah Friedman <friedman@gnu.org>
3618
3619 * src/reader.c: New file.
3620
3621 * src/version.c: *** empty log message ***
3622
36231993-04-18 Noah Friedman <friedman@gnu.org>
3624
3625 * Makefile.in: *** empty log message ***
3626
36271993-04-17 Noah Friedman <friedman@gnu.org>
3628
3629 * Makefile.in: *** empty log message ***
3630
36311993-04-15 Richard Stallman <rms@gnu.org>
3632
3633 * src/main.c, src/files.c:
3634 New file.
3635
36361993-04-15 Noah Friedman <friedman@gnu.org>
3637
3638 * configure.in: entered into RCS
3639
3640 * configure.in: *** empty log message ***
3641
3642 * configure.in: New file.
3643
36441993-04-14 Richard Stallman <rms@gnu.org>
3645
3646 * Makefile.in: New file.
3647
36481993-04-13 Richard Stallman <rms@gnu.org>
3649
3650 * src/version.c: New file.
3651
36521993-03-25 Richard Stallman <rms@gnu.org>
3653
3654 * src/output.c: entered into RCS
3655
36561992-09-25 Richard Stallman <rms@gnu.org>
3657
3658 * configure.bat: entered into RCS
3659
36601992-06-22 Richard Stallman <rms@gnu.org>
3661
3662 * src/vmsgetargs.c: entered into RCS
3663
36641992-06-22 Richard Stallman <rms@gnu.org>
3665
3666 * doc/bison.rnh: entered into RCS
3667
36681992-04-20 David J. MacKenzie <djm@gnu.org>
3669
3670 * README: entered into RCS
3671
36721992-01-22 Richard Stallman <rms@gnu.org>
3673
3674 * src/machine.h: entered into RCS
3675
36761991-12-21 Richard Stallman <rms@gnu.org>
3677
3678 * src/lalr.c, src/closure.c:
3679 entered into RCS
3680
36811991-12-20 Richard Stallman <rms@gnu.org>
3682
3683 * src/state.h: entered into RCS
3684
36851991-12-18 Richard Stallman <rms@gnu.org>
3686
3687 * src/print.c, src/nullable.c, src/derives.c:
3688 entered into RCS
3689
36901991-11-03 David J. MacKenzie <djm@gnu.org>
3691
3692 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3693 entered into RCS
3694
36951988-09-09 Richard Stallman <rms@gnu.org>
3696
3697 * src/bison.hairy: entered into RCS
3698
36991987-12-16 Richard Stallman <rms@gnu.org>
3700
3701 * REFERENCES: entered into RCS