]> git.saurik.com Git - bison.git/blob - ChangeLog
* doc/bison.texinfo: Use `$' as shell prompt, not `%'.
[bison.git] / ChangeLog
1 2001-11-12 Akim Demaille <akim@epita.fr>
2
3 * doc/bison.texinfo: Use `$' as shell prompt, not `%'.
4 Use @kbd to denote user input.
5 (Language and Grammar): ANSIfy the example.
6 Adjust its layout for info/notinfo.
7 (Location Tracking Calc): Output error messages to stderr.
8 Output locations in a more GNUtically correct way.
9 Fix a couple of Englishos.
10 Adjust @group/@end group pairs.
11
12 2001-11-12 Akim Demaille <akim@epita.fr>
13
14 %expext was not functioning at all.
15
16 * src/conflicts.c (expected_conflicts): Set to -1.
17 (conflict_report): Use ngettext.
18 (conflicts_print): Check %expect and make its violation an error.
19 * doc/bison.texinfo (Expect Decl): Adjust.
20 * configure.in (AM_GNU_GETTEXT): Ask for ngettext.
21 * tests/regression.at (%expect not enough, %expect right)
22 (%expect too much): New.
23
24 2001-11-12 Akim Demaille <akim@epita.fr>
25
26 * tests/regression.at (Conflicts): Rename as...
27 (Unresolved SR Conflicts): this.
28 (Solved SR Conflicts): New.
29
30 2001-11-12 Akim Demaille <akim@epita.fr>
31
32 * src/reduce.c (print_results): Rename as...
33 (reduce_output): This.
34 Output to OUT, passed as argument, instead of output_obstack.
35 (dump_grammar): Likewise.
36 (reduce_free): New.
37 Also free V1.
38 (reduce_grammar): No longer call reduce_output, since...
39 * src/print.c (print_results): do it.
40 * src/main.c (main): Call reduce_free;
41
42 2001-11-12 Akim Demaille <akim@epita.fr>
43
44 * src/conflicts.c (print_reductions): Accept OUT as argument.
45 Output to it, not to output_obstack.
46 * src/print.c (print_actions): Adjust.
47
48 2001-11-12 Akim Demaille <akim@epita.fr>
49
50 * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
51 the result instead of using...
52 (src_total, rrc_total, src_count, rrc_count): Remove.
53 (any_conflicts): Remove.
54 (print_conflicts): Split into...
55 (conflicts_print, conflicts_output): New.
56 * src/conflicts.h: Adjust.
57 * src/main.c (main): Invoke both conflicts_output and conflicts_print.
58 * src/print.c (print_grammar): Issue `\n' between to rule outputs.
59 * tests/regression.at (Conflicts): New.
60 Reported by Tom Lane.
61
62 2001-11-12 Akim Demaille <akim@epita.fr>
63
64 * tests/regression.at (Invalid input): Remove, duplicate with
65 ``Invalid input: 1''.
66
67 2001-11-12 Akim Demaille <akim@epita.fr>
68
69 * tests/torture.at (AT_DATA_STACK_TORTURE)
70 (Exploding the Stack Size with Alloca)
71 (Exploding the Stack Size with Malloc): New.
72
73 2001-11-12 Akim Demaille <akim@epita.fr>
74
75 * src/bison.simple (YYSTACK_REALLOC): New.
76 (yyparse) [!yyoverflow]: Use it and free the old stack.
77 Reported by FIXME: Who.
78
79 2001-11-12 Pascal Bart <pascal.bart@epita.fr>
80
81 * src/bison.simple: Define type yystype instead of YYSTYPE, and
82 define CPP macro, which substitute YYSTYPE by yystype.
83 * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
84 with yyltype/YYLTYPE. This allows inclusion of the generated
85 header within the parser if the compiler, such as GGC, accepts
86 multiple equivalent #defines.
87 From Akim.
88
89 2001-11-05 Akim Demaille <akim@epita.fr>
90
91 * src/reader.c (symbols_output): New, extracted from...
92 (packsymbols): here.
93 (reader): Adjust.
94
95 2001-11-05 Akim Demaille <akim@epita.fr>
96
97 * src/lex.c (parse_percent_token): s/quotearg/quote/.
98
99 2001-11-05 Akim Demaille <akim@epita.fr>
100
101 * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
102 pattern.
103
104 2001-11-05 Akim Demaille <akim@epita.fr>
105
106 * src/options.h (struct option_table_struct): set_flags is void*.
107 * src/options.c (longopts): Support `--output' and `%output'.
108 (usage): Adjust.
109 * src/lex.h (tok_setopt): Remove, replaced with...
110 (tok_intopt, tok_stropt): these new guys.
111 * src/lex.c (getopt.h): Not needed.
112 (token_buffer, unlexed_token_buffer): Not const.
113 (percent_table): Promote `-' over `_' in directive names.
114 Active `%name-prefix', `file-prefix', and `output'.
115 (parse_percent_token): Accept possible arguments to directives.
116 Promote `-' over `_' in directive names.
117
118 2001-11-04 Akim Demaille <akim@epita.fr>
119
120 * doc/bison.texinfo (Decl Summary): Split the list into
121 `directives for grammars' and `directives for bison'.
122 Sort'em.
123 Add description of `%name-prefix', `file-prefix', and `output'.
124 Promote `-' over `_' in directive names.
125 (Bison Options): s/%locactions/%locations/. Nice Freudian slip.
126 Simplify the description of `--name-prefix'.
127 Promote `-' over `_' in directive names.
128 Promote `--output' over `--output-file'.
129 Fix the description of `--defines'.
130 * tests/output.at: Exercise %file-prefix and %output.
131
132 2001-11-02 Akim Demaille <akim@epita.fr>
133
134 * doc/refcard.tex: Update.
135
136 2001-11-02 Akim Demaille <akim@epita.fr>
137
138 * src/symtab.h (SUNDEF): New.
139 * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
140 stand for `uninitialized', instead of 0.
141 * src/reader.c (packsymbols, parse_thong_decl): Adjust.
142 * src/lex.c (lex): Adjust.
143
144 * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
145 Number it 0.
146 Let yylex return it instead of a plain 0.
147 Reported by Dick Streefland.
148
149 2001-11-02 Akim Demaille <akim@epita.fr>
150
151 * tests/regression.at (Mixing %token styles): New test.
152
153 2001-11-02 Akim Demaille <akim@epita.fr>
154
155 * src/reader.c (parse_thong_decl): Formatting changes.
156 (token_translations_init): New, extracted from...
157 (packsymbols): Here.
158 Adjust.
159
160 2001-11-01 Akim Demaille <akim@epita.fr>
161
162 * tests/regression.at (AT_TEST_CPP_GUARD_H): New.
163 Check that `9foo.y' produces correct cpp guards.
164 * src/files.c (compute_header_macro): Prepend `BISON_' to CPP
165 guards.
166 Reported by Wwp.
167
168 2001-11-01 Akim Demaille <akim@epita.fr>
169
170 * tests/regression.at (Invalid input: 2): New.
171 * src/lex.c (unlexed_token_buffer): New.
172 (lex, unlex): Adjust: when unlexing, be sure to save token_buffer
173 too.
174 Reported by Wwp.
175
176 2001-11-01 Akim Demaille <akim@epita.fr>
177
178 * tests/calc.at: Catch up with 1.30.
179 * configure.in: Bump to 1.49a.
180 Adjust to newer Autotest.
181
182 2001-10-19 Pascal Bart <pascal.bart@epita.fr>
183
184 * src/conflicts.c: Move global variables rrc_total and src_total ...
185 (print_conflicts): here.
186 * src/output.c (output): Free global variable user_toknums.
187 * src/lex.c (token_obstack): Become static.
188
189 2001-10-18 Akim Demaille <akim@epita.fr>
190
191 * tests/atlocal.in (GCC): Add.
192 * tests/calc.at: s/m4_match/m4_bmatch/.
193 s/m4_patsubst/m4_bpatsubst/.
194 (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
195 * configure.in: AC_SUBST(GCC).
196
197 2001-10-14 Marc Autret <autret_m@epita.fr>
198
199 * src/options.c (create_long_option_table): Fix.
200
201 2001-10-10 Akim Demaille <akim@epita.fr>
202
203 * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
204
205 2001-10-04 Akim Demaille <akim@epita.fr>
206
207 * src/reader.c (parse_union_decl): Push the caracters in
208 union_obstack, not attrs_obstack.
209
210 2001-10-04 Akim Demaille <akim@epita.fr>
211
212 Merge in the branch 1.29.
213
214 * src/reader.c (packsymbols): Use a temporary obstack for
215 `%%tokendef', since output_stack is already used elsewhere.
216
217 2001-10-02 Akim Demaille <akim@epita.fr>
218
219 Bump 1.29d.
220
221 2001-10-02 Akim Demaille <akim@epita.fr>
222
223 Version 1.29c.
224
225 2001-10-02 Akim Demaille <akim@epita.fr>
226
227 * tests/regression.at (Invalid CPP headers): New.
228 From Alexander Belopolsky.
229 * src/files.c (compute_header_macro): Map non alnum chars to `_'.
230
231 2001-10-02 Akim Demaille <akim@epita.fr>
232
233 * tests/regression.at (Invalid input): New.
234 * src/lex.c (lex): Be sure to set `token_buffer' in any case.
235 Reported by Shura.
236
237 2001-10-02 Akim Demaille <akim@epita.fr>
238
239 * tests/calc.at: Now that --debug works, the tests must be adjusted.
240
241 2001-10-02 Akim Demaille <akim@epita.fr>
242
243 * src/output.c (output_parser): Assert `skeleton'.
244 * src/files.c (skeleton_find): Look harder for skeletons on DOSish
245 systems.
246 From Shura.
247
248 2001-10-01 Marc Autret <autret_m@epita.fr>
249
250 * src/lex.h: Echo modifications.
251 * src/lex.c (unlex): Parameter is now token_t.
252 From Hans Aberg.
253
254 2001-10-01 Marc Autret <autret_m@epita.fr>
255
256 * src/main.c: Include lex.h.
257 From Hans Aberg.
258
259 2001-09-29 Akim Demaille <akim@epita.fr>
260
261 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
262
263 2001-09-28 Akim Demaille <akim@epita.fr>
264
265 * tests/testsuite.at: Update to newer Autotest.
266 * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
267
268 2001-09-27 Akim Demaille <akim@epita.fr>
269
270 Position independent wrapper.
271
272 * tests/bison: Remove.
273 * tests/bison.in: New.
274 * configure.in: Adjust.
275
276 2001-09-27 Paul Eggert <eggert@twinsun.com>
277
278 Port quotearg fixes from tar 1.13.24.
279
280 * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
281 tm to be declared.
282 (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
283 (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
284
285 * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
286 * m4/mbrtowc.m4: New file.
287 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
288 Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
289
290 2001-09-27 Akim Demaille <akim@epita.fr>
291
292 Bump to 1.29c.
293
294 2001-09-27 Akim Demaille <akim@epita.fr>
295
296 Version 1.29b.
297
298 2001-09-25 Akim Demaille <akim@epita.fr>
299
300 * src/system.h: Include `xalloc.h'.
301 Remove it from the C files.
302 * src/files.c (output_files): Free the obstacks.
303 * src/lex.c (init_lex): Rename as...
304 (lex_init): this.
305 (lex_free): New.
306 * src/main.c (main): Use it.
307
308 2001-09-24 Marc Autret <autret_m@epita.fr>
309
310 * src/vcg.c (open_edge, close_edge, open_node, close_node): Change
311 to output informations in fout (FILE*).
312 (open_graph, close_graph): Likewise.
313 (output_graph, output_edge, output_node): Likewise.
314 * src/vcg.h: Update function prototypes.
315 * src/print_graph.c (print_graph): Open output graph file.
316 (print_actions): Adjust.
317 * src/files.h: Remove extern declaration.
318 * src/files.c: Remove graph_obstack declaration.
319 (open_files): Remove graph_obstack initialization.
320 (output_files): Remove graph_obstack saving.
321
322 2001-09-24 Marc Autret <autret_m@epita.fr>
323
324 * src/files.c (compute_output_file_names): Fix.
325
326 2001-09-24 Marc Autret <autret_m@epita.fr>,
327 Akim Demaille <akim@epita.fr>
328
329 * src/reader.c (reader): Remove call to free_symtab ().
330 * src/main.c (main): Call it here.
331 Include symtab.h.
332 * src/conflicts.c (initialize_conflicts): Rename as...
333 (solve_conflicts): this.
334 * src/print.c (print_core, print_actions, print_state)
335 (print_grammar): Dump to a file instead a `output_obstack'.
336 (print_results): Dump `output_obstack', and then proceed with the
337 FILE *.
338 * src/files.c (compute_output_file_names, close_files): New.
339 (output_files): Adjust.
340 * src/main.c (main): Adjust.
341
342 2001-09-23 Marc Autret <autret_m@epita.fr>
343
344 * src/files.c (compute_header_macro): Computes header macro name
345 from spec_defines_file when given.
346
347 2001-09-23 Marc Autret <autret_m@epita.fr>
348
349 * src/files.c (output_files): Add default extensions.
350
351 2001-09-22 Akim Demaille <akim@epita.fr>
352
353 * src/conflicts.c (finalize_conflicts): Rename as...
354 (free_conflicts): this.
355
356 2001-09-22 Akim Demaille <akim@epita.fr>
357
358 * src/gram.c (gram_free): Rename back as...
359 (dummy): this.
360 (output_token_translations): Free `token_translations'.
361 * src/symtab.c (free_symtab): Free the tag field.
362
363 2001-09-22 Akim Demaille <akim@epita.fr>
364
365 Remove `translations' as it is always set to true.
366
367 * src/gram.h: Adjust.
368 * src/reader.c (packsymbols, parse_token_decl): Adjust
369 * src/print.c (print_grammar): Adjust.
370 * src/output.c (output_token_translations): Adjust.
371 * src/lex.c (lex): Adjust.
372 * src/gram.c: Be sure the set pointers to NULL.
373 (dummy): Rename as...
374 (gram_free): this.
375
376 2001-09-22 Akim Demaille <akim@epita.fr>
377
378 * configure.in: Invoke AM_LIB_DMALLOC.
379 * src/system.h: Use dmalloc.
380 * src/LR0.c: Be sure to have pointers initialized to NULL.
381 (allocate_itemsets): Allocate kernel_items only if needed.
382
383 2001-09-22 Akim Demaille <akim@epita.fr>
384
385 * configure.in: Bump to 1.29b.
386 * tests/Makefile.am (DISTCLEANFILES): Add package.m4.
387 * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't
388 need xmalloc.c in calc.y.
389 From Pascal Bart.
390
391 2001-09-21 Akim Demaille <akim@epita.fr>
392
393 Version 1.29a.
394 * Makefile.maint, config/config.guess, config/config.sub,
395 * config/missing: Update from masters.
396 * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend
397 upon package.m4.
398 * configure.in (ALL_LINGUAS): Add `tr'.
399
400 2001-09-21 Akim Demaille <akim@epita.fr>
401
402 * tests/Makefile.am (package.m4): Move to...
403 ($(srcdir)/$(TESTSUITE)): here.
404
405 2001-09-20 Akim Demaille <akim@epita.fr>
406
407 * src/complain.c: No longer try to be standalone: use system.h.
408 Don't assume __STDC__ is defined to 1. Just test if it is defined.
409 * src/complain.h: Likewise.
410 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
411 Remove the unused variable `n'.
412 From Albert Chin-A-Young.
413
414 2001-09-18 Marc Autret <autret_m@epita.fr>
415
416 * doc/bison.1: Update.
417 * doc/bison.texinfo (Bison Options): Update --defines and --graph
418 descriptions.
419 (Option Cross Key): Update.
420 Add --graph.
421
422 2001-09-18 Marc Autret <autret_m@epita.fr>
423
424 * tests/regression.at: New test (comment in %union).
425
426 2001-09-18 Marc Autret <autret_m@epita.fr>
427
428 * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment
429 do that.
430 Reported by Keith Browne.
431
432 2001-09-18 Marc Autret <autret_m@epita.fr>
433
434 * tests/output.at: Add tests for --defines and --graph.
435
436 2001-09-18 Marc Autret <autret_m@epita.fr>
437
438 * tests/output.at: Removes tests of %{header,src}_extension features.
439
440 2001-09-18 Akim Demaille <akim@epita.fr>
441
442 * tests/Makefile.am (package.m4): New.
443 * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'.
444 (_AT_CHECK_CALC_ERROR): Likewise.
445 Factor the `, ' part of verbose error messages.
446
447 2001-09-18 Marc Autret <autret_m@epita.fr>
448
449 * src/getargs.c (longopts): Declare --defines and --graph as options
450 with optional arguments.
451 * src/files.h: Add extern declarations.
452 * src/files.c (spec_graph_file, spec_defines_file): New.
453 (output_files): Update.
454 Remove CPP-outed code.
455
456 2001-09-18 Marc Autret <autret_m@epita.fr>
457
458 Turn off %{source,header}_extension feature.
459
460 * src/files.c (compute_exts_from_gf): Update.
461 (compute_exts_from_src): Update.
462 (output_files): CPP-out useless code.
463 * src/files.h: Remove {header,source}_extension extern declarations.
464 * src/reader.c (parse_dquoted_param): CPP-out.
465 (parse_header_extension_decl): Remove.
466 (parse_source_extension_decl): Remove.
467 (read_declarations): Remove cases tok_{hdrext,srcext}.
468 * src/lex.c (percent_table): Remove {header,source}_extension entries.
469 * src/lex.h (token_t): Remove tok_hdrext and tok_srcext.
470
471 2001-09-10 Akim Demaille <akim@epita.fr>
472
473 * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT):
474 (AT_CHECK_BISON_PERCENT_FLAGS): Merge into...
475 (AT_CHECK_OUTPUT): this.
476 Merely check ls' exit status, its output is useless.
477
478 2001-09-10 Akim Demaille <akim@epita.fr>
479
480 * tests/calc.at: Use m4_match.
481 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
482
483 2001-09-10 Marc Autret <autret_m@epita.fr>,
484 Akim Demaille <akim@epita.fr>
485
486 * src/vcg.h (graph_s): color, textcolor, bordercolor are now
487 enum color_e.
488 * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm
489 to `normal'.
490 * src/reader.c (parse_token_decl): Initialize token with tok_eof.
491 * src/lex.h: Adjust prototype.
492 (token_t): Add `tok_undef'.
493 * src/lex.c (struct percent_table_struct): Retval is now a token_t.
494 (parse_percent_token): Now returns token_t.
495 Add default statement in switch.
496 (lex): Separate `c' as an input variable, from the token_t result
497 part.
498 (unlexed): Is a token_t.
499
500 2001-09-10 Akim Demaille <akim@epita.fr>
501
502 * configure.in: Bump to 1.29a.
503
504 2001-09-07 Akim Demaille <akim@epita.fr>
505
506 Version 1.29.
507
508 2001-08-30 Akim Demaille <akim@epita.fr>
509
510 * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove.
511 * m4/atconfig.m4: Remove.
512 * tests/testsuite.at, tests/atlocal.in, tests/output.at,
513 * tests/bison: New.
514 * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER,
515 m4_if, m4_patsubst, and m4_regexp.
516 * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an
517 `input' file instead of echo.
518
519 2001-08-29 Akim Demaille <akim@epita.fr>
520
521 Bump to 1.28e.
522
523 2001-08-29 Akim Demaille <akim@epita.fr>
524
525 Version 1.28d.
526
527 2001-08-29 Paul Eggert <eggert@twinsun.com>
528
529 * src/bison.simple (yyparse): Don't take the address of an
530 item before the start of an array, as that doesn't conform to
531 the C Standard.
532
533 2001-08-29 Robert Anisko <anisko_r@epita.fr>
534
535 * doc/bison.texinfo (Location Tracking Calc): New node.
536
537 2001-08-29 Paul Eggert <eggert@twinsun.com>
538
539 * src/output.c (output): Do not define const, as this now
540 causes more problems than it cures.
541
542 2001-08-29 Akim Demaille <akim@epita.fr>
543
544 * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
545 the nodes.
546 Be sure to tag the `detailmenu'.
547
548 2001-08-29 Akim Demaille <akim@epita.fr>
549
550 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
551 download in a tmp dir.
552
553 2001-08-28 Marc Autret <autret_m@epita.fr>
554
555 * config/depcomp: New file.
556
557 2001-08-28 Marc Autret <autret_m@epita.fr>
558
559 * doc/bison.1 (mandoc): Adjust.
560 From Juan Manuel Guerrero.
561
562 2001-08-28 Marc Autret <autret_m@epita.fr>
563
564 * src/print_graph.c (print_state): Fix.
565
566 2001-08-27 Marc Autret <autret_m@epita.fr>
567
568 * src/vcg.h (classname_s, infoname_s, node_s): Constify the
569 char * members.
570 Echo modifications to the functions prototypes.
571 * src/vcg.c (add_classname, add_infoname): Adjust arguments.
572
573 2001-08-27 Marc Autret <autret_m@epita.fr>
574
575 * src/vcg.c: Include `xalloc.h'.
576 (add_colorentry): New.
577 (add_classname): New.
578 (add_infoname): New.
579 * src/vcg.h: Add new prototypes.
580
581 2001-08-27 Akim Demaille <akim@epita.fr>
582
583 * Makefile.maint: Sync. again with CVS Autoconf.
584
585 2001-08-27 Akim Demaille <akim@epita.fr>
586
587 * Makefile.maint: Formatting changes.
588 (po-update, cvs-update, update): New targets.
589 (AMTAR): Remove.
590
591 2001-08-27 Akim Demaille <akim@epita.fr>
592
593 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
594 * Makefile.maint: Sync. with CVS Autoconf.
595
596 2001-08-27 Marc Autret <autret_m@epita.fr>
597
598 * src/vcg.h (struct infoname_s): New.
599 (struct colorentry_s): New.
600 (graph_s): New fields {vertical,horizontal}_order in structure.
601 Add `infoname' field.
602 Add `colorentry' field;
603 * src/vcg_defaults.h (G_VERTICAL_ORDER): New.
604 (G_HORIZONTAL_ORDER): New.
605 (G_INFONAME): New.
606 (G_COLORENTRY): New.
607 * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order.
608 Add output of `infoname'.
609 Add output of `colorentry'.
610
611 2001-08-27 Marc Autret <autret_m@epita.fr>
612
613 * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
614 This one shadowed a global parameter.
615
616 2001-08-24 Marc Autret <autret_m@epita.fr>
617
618 * src/print_graph.c (node_output_size): Declared POSIX `size_t' type,
619 instead of `unsigned'.
620 (print_state): Do not call obstack_object_size () in obstack_grow ()
621 to avoid macro variables shadowing.
622
623 2001-08-23 Marc Autret <autret_m@epita.fr>
624
625 * src/lex.c (percent_table): Typo: s/naem/name/.
626 Add graph option.
627 Normalize new options declarations.
628
629 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
630
631 * tests/suite.at: Exercise %header_extension and %source_extension.
632
633 2001-08-16 Marc Autret <autret_m@epita.fr>
634
635 * src/reader.c (parse_dquoted_param): New.
636 (parse_header_extension_decl): Use it.
637 (parse_source_extension_decl): Likewise.
638
639 2001-08-16 Marc Autret <autret_m@epita.fr>
640
641 * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'.
642 (get_xxxx_str): Use assert () instead of complain ().
643 Remove return invokations in default cases.
644 (get_decision_str): Modify default behaviour. Remove second argument.
645 Echo modifications on calls.
646 (output_graph): Fix.
647
648 2001-08-16 Marc Autret <autret_m@epita.fr>
649
650 * src/getargs.c (usage): Update with ``-g, --graph''.
651
652 2001-08-16 Marc Autret <autret_m@epita.fr>
653
654 * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'.
655 (Option Cross Key): Likewise.
656 * doc/bison.1: Update.
657
658 2001-09-25 Pascal Bart <pascal.bart@epita.fr>
659
660 * src/output.c (output_master_parser): Don't finish action_obstack.
661 (output_parser): Don't care about the muscle action, here.
662 (prepare): Copy the action_obstack in the action muscle.
663 (output): Free action_obstack.
664
665 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
666
667 * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which
668 will contain `%union' declaration.
669 (parse_union_decl): Delete #line directive output.
670 (parse_union_decl): Substitute /attrs_obstack/union_obstack for all
671 informations about %union.
672 (parse_union_decl): Copy the union_obstack in the muscle stype.
673 * src/bison.simple: Add new #line directive.
674 Add typdef %%stype YYSTYPE.
675
676 2001-09-23 Pascal Bart <pascal.bart@epita.fr>
677
678 * src/bison.simple: Add new `#line' directive.
679
680 2001-09-22 Pascal Bart <pascal.bart@epita.fr>
681
682 * src/bison.simple: New `#line' directive.
683 * src/output.c (output_parser): Support new dynamic muscle input_line.
684
685 2001-09-22 Marc Autret <autret_m@epita.fr>
686
687 * src/output.c (output_master_parser): New.
688 (output_parser): Be more re-entrant.
689
690 2001-09-21 Marc Autret <autret_m@epita.fr>
691
692 * src/reader.c (copy_definition, parse_union_decl): Update and use
693 `linef' muscle.
694 (copy_action): Likewise.
695 Use obstack_1grow ().
696 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
697
698 2001-09-21 Marc Autret <autret_m@epita.fr>
699
700 * src/options.c (option_table): Adjust.
701 * src/lex.c (parse_percent_token): Fix.
702
703 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
704
705 * src/options.c (symtab.h): Include it, need by lex.h.
706
707 2001-09-20 Pascal Bart <pascal.bart@epita.fr>
708
709 * src/lex.c (parse_percent_token): Change type of variable `tx', which
710 is now an option_table_struct*.
711 (option_strcmp): New function option_strcmp.
712 (parse_percent_token): Call option_strcmp.
713 * src/getargs.c (xalloc.h, options.h): Include it.
714 (getargs): Call create_long_option_table.
715 (getargs): Free longopts at the end of the function.
716 (shortopts): Move in options.c.
717 * src/options.c (create_long_option_table): New function. Convert
718 information from option_table to option structure.
719 * src/reader.c (options.h): Include it.
720
721 * src/Makefile.am: Adjust.
722 * src/options.c (option_table): Create from longopts and percent_table.
723 * src/getargs.c (longopts): Delete.
724 * src/lex.c (struct percent_table_struct): Delete.
725 (percent_table): Delete.
726 (options.h): Include it.
727 * src/options.c: Create.
728 * src/options.h: Create.
729 Declare enum opt_access_e.
730 Define struct option_table_struct.
731
732 2001-09-20 Marc Autret <autret_m@epita.fr>
733
734 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
735 sections of Bison.
736
737 2001-09-19 Pascal Bart <pascal.bart@epita.fr>
738
739 * src/bison.simple: s/%%filename/%%skeleton.
740 * src/muscle_tab.c (getargs.h): Include it.
741 (muscle_init): Insert new muscle skeleton.
742
743 2001-09-18 Pascal Bart <pascal.bart@epita.fr>
744
745 * src/output.c (output_parser): Delete unused variable actions_dumped.
746
747 2001-09-07 Pascal Bart <pascal.bart@epita.fr>
748
749 * src/output.c (output): Delete call to reader_output_yylsp.
750 * src/reader.c (reader): Likewise.
751 * src/reader.h: Delete declaration of reader_output_yylsp.
752
753 2001-09-02 Marc Autret <autret_m@epita.fr>
754
755 * src/reader.c: Include muscle_tab.h.
756 (parse_union_decl): Update.
757 (parse_macro_decl): Rename parse_muscle_decl.
758 Update to use renamed functions and variable.
759 (read_declarations, copy_action, read_additionnal_code, : Updated
760 with correct variables and functions names.
761 (packsymbols, reader): Likewise.
762
763 * src/reader.h (muscle_obstack): Extern declaration update.
764
765 * src/output.c: Include muscle_tab.h
766 In all functions using macro_insert, change by using muscle_insert ().
767 (macro_obstack): Rename muscle_obstack.
768 Echo modifications in the whole file.
769 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
770 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
771 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
772
773 * src/muscle_tab.h: Update double inclusion macros.
774 (macro_entry_s): Rename muscle_entry_s.
775 Update prototypes.
776
777 * src/muscle_tab.c: Include muscle_tab.h.
778 Rename macro_tabble to muscle_table.
779 (mhash1, mhash2, mcmp): Use muscle_entry.
780 (macro_init): Rename muscle_init. Update.
781 (macro_insert): Rename muscle_insert. Update.
782 (macro_find): Rename muscle_find. Update.
783
784 * src/main.c: Include muscle_tab.h.
785 (main): Call muscle_init ().
786 * src/Makefile.am (bison_SOURCES): Echo modifications.
787
788 2001-09-02 Marc Autret <autret_m@epita.fr>
789
790 Now the files macro_tab.[ch] are named muscle_tab.[ch].
791
792 * src/muscle_tab.c, src/muscle_tab.h: Add files.
793
794 2001-09-02 Marc Autret <autret_m@epita.fr>
795
796 * src/macrotab.c, src/macrotab.h: Remove.
797
798 2001-09-01 Pascal Bart <pascal.bart@epita.fr>
799
800 * src/reader.c (copy_guard): Use muscle to specify the `#line'
801 filename.
802
803 2001-09-01 Marc Autret <autret_m@epita.fr>
804
805 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
806 to an explicit value to activate the feature. We do it here.
807
808 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
809
810 * src/output.c (prepare): Delete the `filename' muscule insertion.
811 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
812 (parse_union_decl): Likewise.
813 * src/macrotab.c (macro_init): Initialize filename by infile.
814
815 2001-08-31 Marc Autret <autret_m@epita.fr>
816
817 * src/bison.simple (YYLSP_NEEDED): New definition.
818 * src/output.c (prepare): Add macro insertion of `locations_flag'
819
820 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
821
822 * src/output.c (prepare): Delete insertion of previous muscles,
823 and insert the `prefix' muscles.
824 * src/macrotab.c (macro_init): Likewise.
825 (macro_init): Initialization prefix directive by `yy'.
826 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
827 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
828 yylval, yydebug, yyerror, yynerrs and yyparse.
829 New directive `#define' to substitute yydebug, ... with option
830 name_prefix.
831
832 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
833
834 * src/main.c (main): Standardize.
835 * src/output.c (output_table_data, output_parser): Likewise.
836 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
837
838 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
839
840 * src/reader.c (read_additionnal_code): Rename %%user_code to
841 %%epilogue.
842 * src/output.c (output): Rename %%declarations to %%prologue.
843 * src/bison.simple: Echo modifications.
844
845 2001-08-31 Marc Autret <autret_m@epita.fr>
846
847 * src/reader.c (readgram): CleanUp.
848 (output_token_defines): Likewise.
849 (packsymbols): Likewise.
850 (reader): Likewise.
851 * src/output.c (output): CPP-out useless code.
852
853 2001-08-31 Pascal Bart <pascal.bart@epita.fr>
854
855 * src/reader.c (reader): Delete obsolete call to function
856 output_trailers and output_headers.
857 * src/output.h: Remove obsolete functions prototypes of output_headers
858 and output_trailers.
859
860 2001-08-30 Pascal Bart <pascal.bart@epita.fr>
861
862 * src/main.c: Include macrotab.h.
863 * src/macrotab.h (macro_entry_s): Constify fields.
864 Adjust functions prototypes.
865 * src/macrotab.c (macro_insert): Constify key and value.
866 (macro_find): Constify key.
867 (macro_insert): Include 'xalloc.h'
868 (macro_insert): Use XMALLOC.
869 (macro_find): Constify return value.
870 * src/output.c (output_table_data): Rename table to table_data.
871 (output_parser): Constify macro_key, macro_value.
872
873 2001-08-30 Marc Autret <autret_m@epita.fr>
874
875 * src/reader.c (parse_skel_decl): New.
876 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
877 * src/lex.h (token_t): New token `tok_skel'.
878 * src/lex.c (percent_table): Add skeleton option entry.
879 Standardize.
880
881 2001-08-29 Marc Autret <autret_m@epita.fr>
882
883 * src/bison.simple: Add %%user_code directive at the end.
884 * src/reader.c (read_additionnal_code): New.
885 (reader): Use it.
886 * src/output.c (output_program): Remove.
887 (output): Update.
888
889 2001-08-28 Marc Autret <autret_m@epita.fr>
890
891 * src/output.c (output_actions): Clean up.
892 (output_gram): CPP-out useless code.
893 * src/reader.c (reader): Clean up, CPP-out useless code.
894
895 2001-08-28 Pascal Bart <pascal.bart@epita.fr>
896
897 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
898 directive.
899 * src/bison.simple: Add `%%definitions'.
900
901 2001-08-28 Marc Autret <autret_m@epita.fr>
902
903 * config/depcomp: New file.
904
905 2001-08-27 Paul Eggert <eggert@twinsun.com>
906
907 * src/bison.simple (yyparse): Don't take the address of an
908 item before the start of an array, as that doesn't conform to
909 the C Standard.
910
911 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
912
913 * src/output.c (output): Remove the initialization of the macro
914 obstack. It was done too late here.
915
916 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
917 completely wrong.
918 (reader): Initialize the macro obstack here, since we need it to grow
919 '%define' directives.
920
921 * src/reader.h: Declare the macro obstack as extern.
922
923 2001-08-27 Robert Anisko <robert.anisko@epita.fr>
924
925 * src/output.c (output_parser): Fix. Store single '%' characters in
926 the output obstack instead of throwing them away.
927
928 2001-08-27 Akim Demaille <akim@epita.fr>
929
930 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
931
932 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
933
934 * lib/Makefile.am: Adjust.
935
936 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
937
938 * src/bison.simple: Update and add '%%' directives.
939
940 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
941
942 * src/reader.c (reader): Remove calls to 'output_headers' and
943 'output_trailers'. Remove some C output.
944 (readgram): Disable a piece of code that was writing a default
945 definition for 'YYSTYPE'.
946 (reader_output_yylsp): Remove.
947 (packsymbols): Output token defintions to a macro.
948 (copy_definition): Disable C output.
949
950 * src/reader.c (parse_macro_decl): New function used to parse macro
951 declarations.
952 (copy_string2): Put the body of copy_string into this new function.
953 Add a parameter to let the caller choose whether he wants to copy the
954 string delimiters or not.
955 (copy_string): Be a simple call to copy_string2 with the last argument
956 bound to true.
957 (read_declarations): Add case for macro definition.
958 (copy_identifier): New.
959 (parse_macro_decl): Read macro identifiers using copy_identifier
960 rather than lex.
961
962 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
963
964 * src/output.c (prepare): Add prefixed names.
965 (output_parser): Output semantic actions.
966 (output_parser): Fix bug on '%%line' directives.
967
968 * src/output.c (output_headers): Remove. The C code printed by this
969 function should now be in the skeletons.
970 (output_trailers): Remove.
971 (output): Disable call to 'reader_output_yylsp'.
972 (output_rule_data): Do not output tables to the table obstack.
973
974 * src/output.c: Remove some C dedicated output.
975 Improve the use of macro and output obstacks.
976 (output_defines): Remove.
977
978 * src/output.c (output_token_translations): Associate 'translate'
979 table with a macro. No output to the table obstack.
980 (output_gram): Same for 'rhs' and 'prhs'.
981 (output_stos): Same for 'stos'.
982 (output_rule_data): Same for 'r1' and 'r2'.
983 (token_actions): Same for 'defact'.
984 (goto_actions): Same for 'defgoto'.
985 (output_base): Same for 'pact' and 'pgoto'.
986 (output_table): Same for 'table'.
987 (output_check): Same for 'check'.
988
989 * src/output.c (output_table_data): New function.
990 (output_short_table): Remove.
991 (output_short_or_char_table): Remove.
992
993 * src/output.c (output_parser): Replace most of the skeleton copy code
994 with something new. Skeletons are now processed character by character
995 rather than line by line, and Bison looks for '%%' macros. This is the
996 first step in making Bison's output process (a lot) more flexible.
997 (output_parser): Use the macro table.
998
999 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1000
1001 * src/main.c (main): Initialize the macro table.
1002
1003 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1004
1005 * src/lex.c (percent_table): Add tok_define.
1006 * src/lex.h: Add tok_define.
1007
1008 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1009
1010 * src/macrotab.c: New file.
1011 * src/macrotab.h: New file.
1012 * src/Makefile.am: Update.
1013
1014 2001-08-25 Robert Anisko <robert.anisko@epita.fr>
1015
1016 * lib/hash.c: New file.
1017 * lib/hash.h: New file.
1018 * lib/Makefile.am: Update.
1019
1020 2001-08-15 Akim Demaille <akim@epita.fr>
1021
1022 Version 1.28c.
1023
1024 2001-08-15 Marc Autret <autret_m@epita.fr>
1025
1026 * src/reader.c (readgram): Indent output macro YYSTYPE.
1027 (packsymbols): Likewise.
1028 (output_token_defines): Likewise.
1029 * src/files.c: Standardize.
1030 (compute_header_macro): New.
1031 (defines_obstack_save): New. Use compute_header_macro.
1032 (output_files): Update. Use defines_obstack_save.
1033
1034 2001-08-15 Akim Demaille <akim@epita.fr>
1035
1036 * doc/bison.texinfo (Table of Symbols): Document
1037 YYSTACK_USE_ALLOCA.
1038
1039 2001-08-15 Akim Demaille <akim@epita.fr>
1040
1041 * missing: Update from CVS Automake.
1042 * config/config.guess, config/config.sub, config/texinfo.tex:
1043 Update from gnu.org.
1044
1045 2001-08-15 Akim Demaille <akim@epita.fr>
1046
1047 * Makefile.maint: Sync with CVS Autoconf.
1048
1049 2001-08-14 Pascal Bart <pascal.bart@epita.fr>
1050
1051 * doc/bison.texinfo: Include GNU Free Documentation License from
1052 `fdl.texi'.
1053 * doc/fdl.texi: Add to package.
1054
1055 2001-08-14 Marc Autret <autret_m@epita.fr>
1056
1057 Turn on %{source,header}_extension features.
1058
1059 * src/lex.c (percent_table): Un-CPP out header_extension and
1060 source_extension.
1061 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
1062 (compute_exts_from_src): Remove conditions. It restores priorities
1063 between options.
1064
1065 2001-08-14 Marc Autret <autret_m@epita.fr>
1066
1067 * src/files.c (compute_base_names): Add extensions computing when
1068 `--file-prefix' used.
1069 Standardize function calls.
1070
1071 2001-08-13 Marc Autret <autret_m@epita.fr>
1072
1073 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
1074 defining it (defined but null disables alloca).
1075
1076 2001-08-13 Marc Autret <autret_m@epita.fr>
1077
1078 * src/bison.simple (_yy_memcpy): CPP reformat.
1079
1080 2001-08-13 Pascal Bart <pascal.bart@epita.fr>
1081
1082 * tests/atconfig.in (CPPFLAGS): Fix.
1083
1084 2001-08-10 Pascal Bart <pascal.bart@epita.fr>
1085
1086 * doc/bison.texinfo: Include GNU General Public License from
1087 `gpl.texi'.
1088 * doc/gpl.texi: Add to package.
1089
1090 2001-08-10 Marc Autret <autret_m@epita.fr>
1091
1092 * src/print_graph.h: Fix.
1093 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
1094
1095 2001-08-10 Akim Demaille <akim@epita.fr>
1096
1097 * src/system.h: Provide default declarations for stpcpy, strndup,
1098 and strnlen.
1099
1100 2001-08-10 Robert Anisko <anisko_r@epita.fr>
1101
1102 * doc/bison.texinfo (Locations): Update @$ stuff.
1103
1104 2001-08-09 Robert Anisko <anisko_r@epita.fr>
1105
1106 * src/bison.simple (YYLLOC_DEFAULT): Update.
1107 (yyparse): Adjust.
1108
1109 2001-08-08 Marc Autret <autret_m@epita.fr>
1110
1111 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
1112 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
1113 Reported by Fabrice Bauzac.
1114
1115 2001-08-08 Marc Autret <autret_m@epita.fr>
1116
1117 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
1118 * src/vcg.c (output_node): Fix.
1119 * src/vcg.h: Cleanup.
1120 * src/print_graph.c: Add comments.
1121 (node_output_size): New global variable. Simplify the formatting of
1122 the VCG graph output.
1123 (print_actions): Unused code is now used. It notifies the final state
1124 and no action states in the VCG graph. It also give the reduce actions.
1125 The `shift and goto' edges are red and the `go to state' edges are
1126 blue.
1127 Get the current node name and node_obstack by argument.
1128 (node_obstack): New variable.
1129 (print_state): Manage node_obstack.
1130 (print_core): Use node_obstack given by argument.
1131 A node is not only computed here but in print_actions also.
1132 (print_graph): CPP out useless code instead of commenting it.
1133
1134 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
1135
1136 * tests/atconfig.in (CPPFLAGS): Fix.
1137
1138 2001-08-07 Akim Demaille <akim@epita.fr>
1139
1140 * src/print_graph.c (quote): New.
1141 (print_core): Use it.
1142
1143 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
1144
1145 * src/vcg.c (complain.h): Include it.
1146 Unepitaize `return' invocations.
1147 [NDEBUG] (main): Remove.
1148 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
1149 * src/files.c (open_files): Initialize graph_obstack.
1150 * src/print_graph.c (print_actions): CPP out useless code.
1151 (print_core): Don't output the last `\n' in labels.
1152 Use `quote'.
1153 * src/files.c (output_files): Output the VCG file.
1154 * src/main.c (main): Invoke print_graph ();
1155
1156 2001-08-06 Marc Autret <autret_m@epita.fr>
1157
1158 Automaton VCG graph output.
1159 Using option ``-g'' or long option ``--graph'', you can generate
1160 a gram_filename.vcg file containing a VCG description of the LALR (1)
1161 automaton of your grammar.
1162
1163 * src/main.c: Call to print_graph() function.
1164 * src/getargs.h: Update.
1165 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
1166 (graph_flag): New flag.
1167 (longopts): Update.
1168 (getargs): Add case `g'.
1169 * src/files.c (graph_obstack): New obstack struct.
1170 (open_files): Initialize new obstack.
1171 (output_files): Saves graph_obstack if required.
1172 * src/files.h (graph_obstack): New extern declaration.
1173 * src/Makefile.am: Add new source files.
1174
1175 2001-08-06 Marc Autret <autret_m@epita.fr>
1176
1177 * src/print_graph.c, src/print_graph.h (graph): New.
1178 * src/vcg.h: New file.
1179 * src/vcg.c: New file, VCG graph handling.
1180
1181 2001-08-06 Marc Autret <autret_m@epita.fr>
1182
1183 Add of %source_extension and %header_extension which specify
1184 the source or/and the header output file extension.
1185
1186 * src/files.c (compute_base_names): Remove initialisation of
1187 src_extension and header_extension.
1188 (compute_exts_from_gf): Update.
1189 (compute_exts_from_src): Update.
1190 (output_files): Update.
1191 * src/reader.c (parse_header_extension_decl): New.
1192 (parse_source_extension_decl): New.
1193 (read_declarations): New case statements for the new tokens.
1194 * src/lex.c (percent_table): Add entries for %source_extension
1195 and %header_extension.
1196 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
1197
1198 2001-08-06 Marc Autret <autret_m@epita.fr>
1199
1200 * configure.in: Bump to 1.28c.
1201 * doc/bison.texinfo: Texinfo thingies.
1202
1203 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
1204
1205 * tests/atconfig.in (CPPFLAGS): Add.
1206 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
1207
1208 2001-08-03 Akim Demaille <akim@epita.fr>
1209
1210 Version 1.28b.
1211
1212 2001-08-03 Akim Demaille <akim@epita.fr>
1213
1214 * tests/Makefile.am (check-local): Ship testsuite.
1215 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
1216 Include `string.h'.
1217
1218 2001-08-03 Akim Demaille <akim@epita.fr>
1219
1220 * configure.in: Try using -Wformat when compiling.
1221
1222 2001-08-03 Akim Demaille <akim@epita.fr>
1223
1224 * configure.in: Bump to 1.28b.
1225
1226 2001-08-03 Akim Demaille <akim@epita.fr>
1227
1228 * src/complain.c: Adjust strerror_r portability issues.
1229
1230 2001-08-03 Akim Demaille <akim@epita.fr>
1231
1232 Version 1.28a.
1233
1234 2001-08-03 Akim Demaille <akim@epita.fr>
1235
1236 * src/getargs.c, src/getarg.h (skeleton)): Constify.
1237 * src/lex.c (literalchar): Avoid name clashes on `buf'.
1238 * src/getargs.c: Include complain.h.
1239 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
1240 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
1241
1242 2001-08-03 Akim Demaille <akim@epita.fr>
1243
1244 * src/reader.c (readgram): Display hidden chars in error messages.
1245
1246 2001-08-03 Akim Demaille <akim@epita.fr>
1247
1248 Update to gettext 0.10.39.
1249
1250 2001-08-03 Akim Demaille <akim@epita.fr>
1251
1252 * lib/strspn.c: New.
1253
1254 2001-08-01 Marc Autret <autret_m@epita.fr>
1255
1256 * doc/bison.texinfo: Update.
1257 * doc/bison.1 (mandoc): Update.
1258 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
1259 * src/files.c: Support output files extensions computing.
1260 (src_extension): New static variable.
1261 (header_extension): New static variable.
1262 (tr): New function.
1263 (get_extension_index): New function, gets the index of an extension
1264 filename in a string.
1265 (compute_exts_from_gf): New function, computes extensions from the
1266 grammar file extension.
1267 (compute_exts_from_src): New functions, computes extensions from the
1268 C source file extension, file given by ``-o'' option.
1269 (compute_base_names): Update.
1270 (output_files): Update.
1271
1272 2001-08-01 Robert Anisko <anisko_r@epita.fr>
1273
1274 * doc/bison.texi: Document @$.
1275 (Locations): New section.
1276
1277 2001-07-18 Akim Demaille <akim@epita.fr>
1278
1279 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
1280 * config/prev-version.txt, config/move-if-change: New.
1281 * Makefile.am: Adjust.
1282
1283 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
1284
1285 * src/bison.simple (yyparse): Suppress warning `comparaison
1286 between signed and unsigned'.
1287
1288 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
1289
1290 * src/getargs.h (raw_flag): Remove.
1291 * src/getargs.c: Die on `-r'/`--raw'.
1292 * src/lex.c (parse_percent_token): Die on `%raw'.
1293 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
1294 * tests/calc.at: Suppress test with option `--raw'.
1295
1296 2001-07-14 Akim Demaille <akim@epita.fr>
1297
1298 * config/: New.
1299 * configure.in: Require Autoconf 2.50.
1300 Update to gettext 0.10.38.
1301
1302 2001-03-16 Akim Demaille <akim@epita.fr>
1303
1304 * doc/bison.texinfo: ANSIfy the examples.
1305
1306 2001-03-16 Akim Demaille <akim@epita.fr>
1307
1308 * getargs.c (skeleton): New variable.
1309 (longopts): --skeleton is a new option.
1310 (shortopts, getargs): -S is a new option.
1311 * getargs.h: Declare skeleton.
1312 * output.c (output_parser): Use it.
1313
1314 2001-03-16 Akim Demaille <akim@epita.fr>
1315
1316 * m4/strerror_r.m4: New.
1317 * m4/error.m4: Run AC_FUNC_STRERROR_R.
1318 * lib/error.h, lib/error.c: Update.
1319
1320 2001-03-16 Akim Demaille <akim@epita.fr>
1321
1322 * src/getargs.c (longopts): Clean up.
1323
1324 2001-02-21 Akim Demaille <akim@epita.fr>
1325
1326 * src/reader.c (gensym): `gensym_count' is your own.
1327 Use a static buf to create the symbol name, as token_buffer is no
1328 longer a buffer.
1329
1330 2001-02-08 Akim Demaille <akim@epita.fr>
1331
1332 * src/conflicts.c (conflict_report): Be sure not to append to res
1333 between two calls, which could happen if both first sprintf were
1334 skipped, but not the first cp += strlen.
1335
1336 2001-02-08 Akim Demaille <akim@epita.fr>
1337
1338 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
1339 New, from fileutils 4.0.37.
1340 * configure.in: Require Autoconf 2.49c. I took some time before
1341 making this decision. This is the only way out for portability
1342 issues in Bison, it would mean way too much duplicate effort to
1343 import in Bison features implemented in 2.49c since 2.13.
1344 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
1345
1346 2001-02-02 Akim Demaille <akim@epita.fr>
1347
1348 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
1349 * lib/xalloc.h, lib/xmalloc.c: Update.
1350
1351 2001-01-19 Akim Demaille <akim@epita.fr>
1352
1353 Get rid of the ad hoc handling of token_buffer in the scanner: use
1354 the obstacks.
1355
1356 * src/lex.c (token_obstack): New.
1357 (init_lex): Initialize it. No longer call...
1358 (grow_token_buffer): this. Remove it.
1359 Adjust all the places which used it to use the obstack.
1360
1361 2001-01-19 Akim Demaille <akim@epita.fr>
1362
1363 * src/lex.h: Rename all the tokens:
1364 s/\bENDFILE\b/tok_eof/g;
1365 s/\bIDENTIFIER\b/tok_identifier/g;
1366 etc.
1367 Let them be enums, not #define, to ease debugging.
1368 Adjust all the code.
1369
1370 2001-01-18 Akim Demaille <akim@epita.fr>
1371
1372 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
1373 * src/lex.c (maxtoken, grow_token_buffer): Static.
1374
1375 2001-01-18 Akim Demaille <akim@epita.fr>
1376
1377 Since we now use obstacks, more % directives can be enabled.
1378
1379 * src/lex.c (percent_table): Also accept `%yacc',
1380 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
1381 `%debug'.
1382 Handle the actions for `%semantic_parser' and `%pure_parser' here,
1383 instead of returning a token.
1384 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
1385 * src/reader.c (read_declarations): Adjust.
1386 * src/files.c (open_files): Don't call `compute_base_names', don't
1387 compute `attrsfile' since they depend upon data which might be
1388 *in* the input file now.
1389 (output_files): Do it here.
1390 * src/output.c (output_headers): Document the fact that this patch
1391 introduces a guaranteed SEGV for semantic parsers.
1392 * doc/bison.texinfo: Document them.
1393 * tests/suite.at: Exercise these %options.
1394
1395 2000-12-20 Akim Demaille <akim@epita.fr>
1396
1397 Also handle the output file (--verbose) with obstacks.
1398
1399 * files.c (foutput): Remove.
1400 (output_obstack): New.
1401 Adjust all dependencies.
1402 * src/conflicts.c: Return a string.
1403 * src/system.h (obstack_grow_string): Rename as...
1404 (obstack_sgrow): this. Be ready to work with non literals.
1405 (obstack_fgrow4): New.
1406
1407 2000-12-20 Akim Demaille <akim@epita.fr>
1408
1409 * src/files.c (open_files): Fix the computation of short_base_name
1410 in the case of `-o foo.tab.c'.
1411
1412 2000-12-20 Akim Demaille <akim@epita.fr>
1413
1414 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
1415 (copy_dollar): Now that everything uses obstacks, get rid of the
1416 FILE * parameters.
1417
1418 2000-12-20 Akim Demaille <akim@epita.fr>
1419
1420 * src/files.c (open_files): Actually the `.output' file is based
1421 on the short_base_name, not base_name.
1422 * tests/suite.at (Checking output file names): Adjust.
1423
1424 2000-12-20 Akim Demaille <akim@epita.fr>
1425
1426 * src/bison.s1: Remove, we now use directly...
1427 * src/bison.simple: this.
1428 * src/Makefile.am: Use pkgdata instead of data.
1429
1430 2000-12-20 Akim Demaille <akim@epita.fr>
1431
1432 * src/files.c (guard_obstack): New.
1433 (open_files): Initialize it.
1434 (output_files): Dump it...
1435 * src/files.h: Export it.
1436 * src/reader.c (copy_guard): Use it.
1437
1438 2000-12-19 Akim Demaille <akim@epita.fr>
1439
1440 * src/files.c (outfile, defsfile, actfile): Removed as global
1441 vars.
1442 (open_files): Don't compute them.
1443 (output_files): Adjust.
1444 (base_name, short_base_name): Be global.
1445 Adjust dependencies.
1446
1447 2000-12-19 Akim Demaille <akim@epita.fr>
1448
1449 * src/files.c (strsuffix): New.
1450 (stringappend): Be just like strcat but allocate.
1451 (base_names): Eve out from open_files.
1452 Try to simplify the rather hairy computation of base_name and
1453 short_base_name.
1454 (open_files): Use it.
1455 * tests/suite.at (Checking output file names): New test.
1456
1457 2000-12-19 Akim Demaille <akim@epita.fr>
1458
1459 * src/system.h (obstack_grow_literal_string): Rename as...
1460 (obstack_grow_string): this.
1461 * src/output.c (output_parser): Recognize `%% actions' instead of
1462 `$'.
1463 * src/bison.s1: s/$/%% actions/.
1464 * src/bison.hairy: Likewise.
1465
1466 2000-12-19 Akim Demaille <akim@epita.fr>
1467
1468 * src/output.c (output_parser): Compute the `#line' lines when
1469 there are.
1470 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
1471 Suggested by Hans Aberg.
1472
1473 2000-12-19 Akim Demaille <akim@epita.fr>
1474
1475 Let the handling of the skeleton files be local to the procedures
1476 that use it.
1477
1478 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
1479 longer static.
1480 (fparser, open_extra_files): Remove.
1481 (open_files, output_files): Don't take care of fparser.
1482 * src/files.h: Adjust.
1483 * src/output.c (output_parser): Open and close the file to the
1484 skeleton.
1485 * src/reader.c (read_declarations): When %semantic_parser, open
1486 fguard.
1487
1488 2000-12-19 Akim Demaille <akim@epita.fr>
1489
1490 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
1491 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
1492
1493 2000-12-19 Akim Demaille <akim@epita.fr>
1494
1495 * src/files.c (open_files): Yipee! We no longer need all the code
1496 looking for `/tmp' since we have no tmp file.
1497
1498 2000-12-19 Akim Demaille <akim@epita.fr>
1499
1500 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
1501 New macros.
1502 * src/files.c (open_files): Less dependency on MSDOS etc.
1503
1504 2000-12-14 Akim Demaille <akim@epita.fr>
1505
1506 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
1507 Provide a default definition.
1508 Use it when executing the default @ action.
1509 * src/reader.c (reader_output_yylsp): No longer include
1510 `timestamp' and `text' in the default YYLTYPE.
1511
1512 2000-12-12 Akim Demaille <akim@epita.fr>
1513
1514 * src/reader.c (copy_definition, parse_union_decl, copy_action)
1515 (copy_guard): Quote the file names.
1516 Reported by Laurent Mascherpa.
1517
1518 2000-12-12 Akim Demaille <akim@epita.fr>
1519
1520 * src/output.c (output_headers, output_program, output): Be sure
1521 to escape special characters when outputting filenames.
1522 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
1523 (output_headers): Don't depend on them, Use ACTSTR.
1524
1525 2000-11-17 Akim Demaille <akim@epita.fr>
1526
1527 * lib/obstack.h: Formatting changes.
1528 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
1529 prevents type checking.
1530 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
1531 cast the value to (void *): assigning a `foo *' to a `void *'
1532 variable is valid.
1533 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
1534 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
1535 append characters.
1536
1537 2000-11-17 Akim Demaille <akim@epita.fr>
1538
1539 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
1540 as...
1541 (suite.m4, regression.m4, calc.m4): these.
1542 * tests/atgeneral.m4: Update from CVS Autoconf.
1543
1544 2000-11-17 Akim Demaille <akim@epita.fr>
1545
1546 * tests/regression.m4 (%union and --defines): New test,
1547 demonstrating a current bug in the obstack implementation.
1548
1549 2000-11-17 Akim Demaille <akim@epita.fr>
1550
1551 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
1552 macros.
1553 Use them to declare the variables which are global or local to
1554 `yyparse'.
1555
1556 2000-11-17 Akim Demaille <akim@epita.fr>
1557
1558 * acconfig.h: Remove, no longer used.
1559
1560 2000-11-07 Akim Demaille <akim@epita.fr>
1561
1562 * src: s/Copyright (C)/Copyright/g.
1563
1564 2000-11-07 Akim Demaille <akim@epita.fr>
1565
1566 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
1567 defining.
1568 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
1569
1570 2000-11-07 Akim Demaille <akim@epita.fr>
1571
1572 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
1573 Merge in a single CPP if/else.
1574
1575 2000-11-07 Akim Demaille <akim@epita.fr>
1576
1577 * src/output.c (output): Remove useless variables.
1578 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
1579 argument `data' for consistency with the prototypes.
1580 Qualify it `const'.
1581 (obstack_copy, obstack_copy0): Rename the second argument as
1582 `address' for consistency. Qualify it `const'.
1583 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
1584 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
1585 `const' their input argument (`data' or `address').
1586 Adjust the corresponding macros to include `const' in casts.
1587
1588 2000-11-03 Akim Demaille <akim@epita.fr>
1589
1590 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
1591 s/PFILE1/BISON_HAIRY/.
1592 Adjust dependencies.
1593
1594 2000-11-03 Akim Demaille <akim@epita.fr>
1595
1596 For some reason, this was not applied.
1597
1598 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1599 `unlink': it's no longer used.
1600
1601 2000-11-03 Akim Demaille <akim@epita.fr>
1602
1603 * src/files.c (skeleton_find): New function, eved out of...
1604 (open_files, open_extra_files): here.
1605
1606 2000-11-03 Akim Demaille <akim@epita.fr>
1607
1608 Don't use `atexit'.
1609
1610 * src/files.c (obstack_save): New function.
1611 (done): Rename as...
1612 (output_files): this.
1613 Use `obstack_save'.
1614 * src/main.c (main): Don't use `atexit' to register `done', since
1615 it no longer has to remove tmp files, just call `output_files'
1616 when there are no errors.
1617
1618 2000-11-02 Akim Demaille <akim@epita.fr>
1619
1620 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
1621 `unlink': it's no longer used.
1622 * src/files.h: Formatting changes.
1623
1624 2000-11-02 Akim Demaille <akim@epita.fr>
1625
1626 Remove the last uses of mktemp and unlink/delete.
1627
1628 * src/files.c (fdefines, ftable): Removed.
1629 (defines_ostack, table_obstack): New.
1630 Adjust dependencies of the former into uses of the latter.
1631 * src/output.c (output_short_or_char_table, output_short_table):
1632 Convert to using obstacks.
1633 * src/reader.c (copy_comment2): Accept one FILE * and two
1634 obstacks.
1635 (output_token_defines, reader_output_yylsp): Use obstacks.
1636 * src/system.h (obstack_fgrow3): New.
1637
1638 2000-11-01 Akim Demaille <akim@epita.fr>
1639
1640 Change each use of `fattrs' into a use of `attrs_obstack'.
1641
1642 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
1643 * src/files.c (fattrs): Remove.
1644 (attrs_obstack): New.
1645 Adjust all dependencies.
1646 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
1647
1648 2000-11-01 Akim Demaille <akim@epita.fr>
1649
1650 Introduce obstacks.
1651 Change each use of `faction' into a use of `action_obstack'.
1652
1653 * lib/obstack.h, lib/obstack.c: New files.
1654 * src/files.c (faction): Remove.
1655 (action_obstack): New.
1656 Adjust all dependencies.
1657
1658 2000-10-20 Akim Demaille <akim@epita.fr>
1659
1660 * lib/quote.h (PARAMS): New macro. Use it.
1661
1662 2000-10-16 Akim Demaille <akim@epita.fr>
1663
1664 * src/output.c (output_short_or_char_table): New function.
1665 (output_short_table, output_token_translations): Use it.
1666 (goto_actions): Use output_short_table.
1667
1668 2000-10-16 Akim Demaille <akim@epita.fr>
1669
1670 * src/symtab.c (bucket_new): New function.
1671 (getsym): Use it.
1672
1673 * src/output.c (output_short_table): New argument to display the
1674 comment associated with the table.
1675 Adjust dependencies.
1676 (output_gram): Use it.
1677 (output_rule_data): Nicer output layout for YYTNAME.
1678
1679 2000-10-16 Akim Demaille <akim@epita.fr>
1680
1681 * src/lex.c (read_typename): New function.
1682 (lex): Use it.
1683 * src/reader.c (copy_dollar): Likewise.
1684
1685 2000-10-16 Akim Demaille <akim@epita.fr>
1686
1687 * src/reader.c (copy_comment2): Expect the input stream to be on
1688 the `/' which is suspected to open a comment, instead of being
1689 called after `//' or `/*' was read.
1690 (copy_comment, copy_definition, parse_union_decl, copy_action)
1691 (copy_guard): Adjust.
1692
1693 2000-10-16 Akim Demaille <akim@epita.fr>
1694
1695 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1696 `read_signed_integer'.
1697
1698 2000-10-16 Akim Demaille <akim@epita.fr>
1699
1700 * src/reader.c (copy_dollar): New function.
1701 (copy_guard, copy_action): Use it.
1702
1703 2000-10-16 Akim Demaille <akim@epita.fr>
1704
1705 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1706 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1707 New files, from Fileutils 4.0.27.
1708 * src/main.c (printable_version): Remove.
1709 * src/lex.c, src/reader.c: Use `quote'.
1710
1711 2000-10-04 Akim Demaille <akim@epita.fr>
1712
1713 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1714
1715 2000-10-04 Akim Demaille <akim@epita.fr>
1716
1717 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1718
1719 2000-10-04 Akim Demaille <akim@epita.fr>
1720
1721 When a literal string is used to define two different tokens,
1722 `bison -v' segfaults.
1723 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1724
1725 * tests/regression.m4: New file.
1726 Include the core of the sample provided by Piotr Gackiewicz.
1727 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1728 properly.
1729
1730 2000-10-04 Akim Demaille <akim@epita.fr>
1731
1732 * src/reader.c (parse_expect_decl): Keep `count' within the size
1733 of `buffer'.
1734 From Neil Booth.
1735
1736 2000-10-02 Paul Eggert <eggert@twinsun.com>
1737
1738 * bison.s1 (yyparse): Assign the default value
1739 unconditionally, to avoid a GCC warning and make the parser a
1740 tad smaller.
1741
1742 2000-10-02 Akim Demaille <akim@epita.fr>
1743
1744 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1745 options.
1746
1747 2000-10-02 Akim Demaille <akim@epita.fr>
1748
1749 * src/derives.c, src/print.c, src/reduce.c: To ease the
1750 translation, move some `\n' out of the translated strings.
1751
1752 2000-10-02 Akim Demaille <akim@epita.fr>
1753
1754 The location tracking mechanism is precious for parse error
1755 messages. Nevertheless, it is enabled only when `@n' is used in
1756 the grammar, which is a different issue (you can use it in error
1757 message, but not in the grammar per se). Therefore, there should
1758 be another means to enable it.
1759
1760 * src/getargs.c (getargs): Support `--locations'.
1761 (usage): Report it.
1762 * src/getargs.h (locationsflag): Export it.
1763 * src/lex.c (percent_table): Support `%locations'.
1764 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1765 with `locationsflag'.
1766 * doc/bison.texinfo: Document `--locations' and `%locations'.
1767 Sort the options.
1768 * tests/calc.m4: Test it.
1769
1770 For regularity of the names, replace each
1771 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1772 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1773 In addition replace each `flag' with `_flag'.
1774
1775 2000-10-02 Akim Demaille <akim@epita.fr>
1776
1777 Also test parse error messages, including with YYERROR_VERBOSE.
1778
1779 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1780 associative).
1781 Use it to check the computations.
1782 Use it to check `nonassoc' is honored.
1783 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1784 `--yyerror-verbose'.
1785 (_AT_CHECK_CALC): Adjust to this option.
1786 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1787
1788 2000-10-02 Akim Demaille <akim@epita.fr>
1789
1790 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1791 the latter demonstrates a flaw in the handling of non debugging
1792 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1793 was used in order to simplify:
1794
1795 #if YYDEBUG
1796 if (yydebug)
1797 {
1798 ...
1799 }
1800 #endif
1801
1802 into
1803
1804 if (yydebug)
1805 {
1806 ...
1807 }
1808
1809 unfortunately this leads to a CPP conflict when
1810 `--name-prefix=foo' is used since it produces `#define yydebug
1811 foodebug'.
1812
1813 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1814 (YYDPRINTF): New macro.
1815 Spread its use.
1816 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1817 the bison options.
1818 Also test `--verbose', `--defines' and `--name-prefix'.
1819
1820 2000-10-02 Akim Demaille <akim@epita.fr>
1821
1822 Improve the readability of the produced parsers.
1823
1824 * src/bison.s1: Formatting changes.
1825 Improve the comment related to the `$' mark.
1826 (yydefault): Don't fall through to `yyresume': `goto' there.
1827 * src/output.c (output_parser): When the `$' is met, skip the end
1828 of its line.
1829 New variable, `number_of_dollar_signs', to check there's exactly
1830 one `$' in the parser skeleton.
1831
1832 2000-10-02 Akim Demaille <akim@epita.fr>
1833
1834 * lib/xstrdup.c: New file, from the fileutils.
1835 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1836 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1837 instead of strlen + xmalloc + strcpy.
1838 * src/symtab.c (copys): Remove, use xstrdup instead.
1839
1840 2000-10-02 Akim Demaille <akim@epita.fr>
1841
1842 * src/gram.h (associativity): New enum type which replaces the
1843 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1844 `right_assoc', `left_assoc' and `non_assoc'.
1845 Adjust all dependencies.
1846 * src/reader.c: Formatting changes.
1847 (LTYPESTR): Don't define it, use it as a literal in
1848 `reader_output_yylsp'.
1849 * src/symtab.h (symbol_class): New enum type which replaces the
1850 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1851 `sunknown', `stoken and `snterm'.
1852
1853 2000-10-02 Akim Demaille <akim@epita.fr>
1854
1855 * src/getargs.c (fixed_outfiles): Rename as...
1856 (yaccflag): for consistency and accuracy.
1857 Adjust dependencies.
1858
1859 2000-10-02 Akim Demaille <akim@epita.fr>
1860
1861 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1862 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1863 difficult and introduced a lot of core dump. It turns out that
1864 Bison used an implementation of `xmalloc' based on `calloc', and
1865 at various places it does depend upon the initialization to 0. I
1866 have not tried to isolate the pertinent places, and all the former
1867 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1868 someone should address this issue.
1869
1870 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1871 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1872 files.
1873 Adjust dependencies.
1874 * src/warshall.h: New file.
1875 Propagate.
1876
1877 2000-10-02 Akim Demaille <akim@epita.fr>
1878
1879 Various anti-`extern in *.c' changes.
1880
1881 * src/system.h: Include `assert.h'.
1882
1883 2000-10-02 Akim Demaille <akim@epita.fr>
1884
1885 * src/state.h (nstates, final_state, first_state, first_shift)
1886 (first_reduction): Move their exportation from here...
1887 * src/LR0.h: to here.
1888 Adjust dependencies.
1889 * src/getargs.c (statisticsflag): New variable.
1890 Add support for `--statistics'.
1891 Adjust dependencies.
1892
1893 Remove a lot of now useless `extern' statements in most files.
1894
1895 2000-10-02 Akim Demaille <akim@epita.fr>
1896
1897 * src/LR0.h: New file.
1898 Propagate its use.
1899
1900 2000-10-02 Akim Demaille <akim@epita.fr>
1901
1902 * src/print.h: New file.
1903 Propagate its use.
1904 * src/print.c: Formatting and ordering changes.
1905 (verbose, terse): Replace with...
1906 (print_results): this new function.
1907 Adjust dependencies.
1908
1909 2000-10-02 Akim Demaille <akim@epita.fr>
1910
1911 * src/conflicts.c (conflict_report): New function.
1912 (conflict_log, verbose_conflict_log): Replace with...
1913 (print_conflicts): this function.
1914 Adjust dependencies.
1915 * src/conflicts.h: New file.
1916 Propagate its inclusion.
1917
1918 2000-10-02 Akim Demaille <akim@epita.fr>
1919
1920 * src/nullable.h: New file.
1921 Propagate its inclusion.
1922 * src/nullable.c: Formatting changes.
1923
1924 2000-10-02 Akim Demaille <akim@epita.fr>
1925
1926 * src/reduce.h: New file.
1927 Propagate its inclusion.
1928 * src/reduce.c: Topological sort and other formatting changes.
1929 (bool, TRUE, FALSE): Move their definition to...
1930 * src/system.h: here.
1931
1932 2000-10-02 Akim Demaille <akim@epita.fr>
1933
1934 * src/files.c: Formatting changes.
1935 (tryopen, tryclose, openfiles): Rename as...
1936 (xfopen, xfclose, open_files): this.
1937 (stringappend): static.
1938 * src/files.h: Complete the list of exported symbols.
1939 Propagate its use.
1940
1941 2000-10-02 Akim Demaille <akim@epita.fr>
1942
1943 * src/reader.h: New file.
1944 Propagate its use instead of tedious list of `extern' and
1945 prototypes.
1946 * src/reader.c: Formatting changes, topological sort,
1947 s/register//.
1948
1949 2000-10-02 Akim Demaille <akim@epita.fr>
1950
1951 * src/lex.h: Prototype `lex.c' exported functions.
1952 * src/reader.c: Adjust.
1953 * src/lex.c: Formatting changes.
1954 (safegetc): Rename as...
1955 (xgetc): this.
1956
1957 2000-10-02 Akim Demaille <akim@epita.fr>
1958
1959 * src/lalr.h: New file.
1960 Propagate its inclusion instead of prototypes and `extern'.
1961 * src/lalr.c: Formatting changes, topological sorting etc.
1962
1963 2000-10-02 Akim Demaille <akim@epita.fr>
1964
1965 * src/output.c (token_actions): Introduce a temporary array,
1966 YYDEFACT, that makes it possible for this function to use
1967 output_short_table.
1968
1969 2000-10-02 Akim Demaille <akim@epita.fr>
1970
1971 `user_toknums' is output as a `short[]' in `output.c', while it is
1972 defined as a `int[]' in `reader.c'. For consistency with the
1973 other output tables, `user_toknums' is now defined as a table of
1974 shorts.
1975
1976 * src/reader.c (user_toknums): Be a short table instead of an int
1977 table.
1978 Adjust dependencies.
1979
1980 Factor the short table outputs.
1981
1982 * src/output.c (output_short_table): New function.
1983 * src/output.c (output_gram, output_stos, output_rule_data)
1984 (output_base, output_table, output_check): Use it.
1985
1986 2000-10-02 Akim Demaille <akim@epita.fr>
1987
1988 * src/output.c (output): Topological sort of the functions, in
1989 order to get rid of the `static' prototypes.
1990 No longer use `register'.
1991 * src/output.h: New file.
1992 Propagate its inclusion in files explicitly prototyping functions
1993 from output.c.
1994
1995 2000-09-21 Akim Demaille <akim@epita.fr>
1996
1997 * src/atgeneral.m4: Update from Autoconf.
1998
1999 2000-09-21 Akim Demaille <akim@epita.fr>
2000
2001 * src/closure.h: New file.
2002 * src/closure.c: Formatting changes, topological sort over the
2003 functions, use of closure.h.
2004 (initialize_closure, finalize_closure): Rename as...
2005 (new_closure, free_closure): these. Adjust dependencies.
2006 * src/LR0.c: Formatting changes, topological sort, use of
2007 cloture.h.
2008 (initialize_states): Rename as...
2009 (new_states): this.
2010 * src/Makefile.am (noinst_HEADERS): Adjust.
2011
2012 2000-09-20 Akim Demaille <akim@epita.fr>
2013
2014 * src/acconfig.h: Don't protect config.h against multiple
2015 inclusion.
2016 Don't define PARAMS.
2017 * src/system.h: Define PARAMS.
2018 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
2019 purpose of config.h. system.h must not try to fix wrong
2020 definitions in config.h.
2021
2022 2000-09-20 Akim Demaille <akim@epita.fr>
2023
2024 * src/derives.h: New file.
2025 * src/main.c, src/derives.h: Use it.
2026 Formatting changes.
2027 * src/Makefile.am (noinst_HEADERS): Adjust.
2028
2029 2000-09-20 Akim Demaille <akim@epita.fr>
2030
2031 * tests/atgeneral.m4: Update from Autoconf.
2032 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
2033 (AT_CHECK_CALC): New macros.
2034 Use these macros to test bison with options `', `--raw',
2035 `--debug', `--yacc', `--yacc --debug'.
2036
2037 2000-09-19 Akim Demaille <akim@epita.fr>
2038
2039 * src/output.c: Formatting changes.
2040 * src/machine.h: Remove, leaving its contents in...
2041 * src/system.h: here.
2042 Include stdio.h.
2043 Adjust all dependencies on stdio.h and machine.h.
2044 * src/getargs.h: New file.
2045 Let all `extern' declarations about getargs.c be replaced with
2046 inclusion of `getargs.h'.
2047 * src/Makefile.am (noinst_HEADERS): Adjust.
2048
2049 * tests/calc.m4 (yyin): Be initialized in main, not on the global
2050 scope.
2051 (yyerror): Returns void, not int.
2052 * doc/bison.texinfo: Formatting changes.
2053
2054 2000-09-19 Akim Demaille <akim@epita.fr>
2055
2056 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
2057 portable.
2058
2059 2000-09-18 Akim Demaille <akim@epita.fr>
2060
2061 * configure.in: Append WARNING_CFLAGS to CFLAGS.
2062 * src/Makefile.am (INCLUDES): Don't.
2063 Be ready to fetch headers in lib/.
2064
2065 2000-09-18 Akim Demaille <akim@epita.fr>
2066
2067 * doc/bison.texinfo: Update the copyright.
2068 ANSIfy and GNUify the examples.
2069 Remove the old menu.
2070
2071 2000-09-18 Akim Demaille <akim@epita.fr>
2072
2073 First set of tests: use the `calc' example from the documentation.
2074
2075 * src/bison.s1 (yyparse): Condition the code using `yytname' which
2076 is defined only when YYDEBUG is.
2077 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
2078 * src/files.c (tryopen, tryclose): Formatting changes.
2079 Move to the top and be static.
2080 * src/reader.c (read_signed_integer): Likewise.
2081 * tests/calc.m4: New file.
2082 * Makefile.am, suite.m4: Adjust.
2083 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
2084
2085 2000-09-18 Akim Demaille <akim@epita.fr>
2086
2087 Add support for an Autotest test suite for Bison.
2088
2089 * m4/m4.m4, m4/atconfig.m4: New files.
2090 * m4/Makefile.am (EXTRA_DIST): Adjust.
2091 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
2092 files.
2093 * src/getargs.c: Display a more standard --version message.
2094 * src/reader.c (reader): Formatting changes.
2095 No longer depend upon VERSION_STRING.
2096 * configure.in: No longer use `dnl'.
2097 Set up the test suite and the new directory `tests/.
2098 (VERSION_STRING): Remove.
2099
2100 2000-04-14 Akim Demaille <akim@epita.fr>
2101
2102 * src/reader.c (copy_comment2): New function, same as former
2103 `copy_comment', but outputs into two FILE *.
2104 (copy_comment): Use it.
2105 (parse_union_decl): Use it.
2106 (get_type, parse_start_decl): Use the same `invalid' message.
2107 (parse_start_decl, parse_union_decl): Use the same `multiple'
2108 message.
2109 (parse_union_decl, copy_guard, copy_action): Use the same
2110 `unmatched' message.
2111 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
2112
2113 2000-03-31 Akim Demaille <akim@epita.fr>
2114
2115 * src/files.c (tryopen, tryclose): Move to the top.
2116 Be static.
2117
2118 2000-03-31 Akim Demaille <akim@epita.fr>
2119
2120 * src/main.c (main): Don't call `done', exit does it.
2121
2122 2000-03-31 Akim Demaille <akim@epita.fr>
2123
2124 * allocate.c: s/return (foo)/return foo/.
2125 * lalr.c: Likewise.
2126 * LR0.c: Likewise.
2127 * output.c: Likewise.
2128 * reader.c: Likewise.
2129 * symtab.c: Likewise.
2130 * vmsgetargs.c: Likewise.
2131
2132 2000-03-31 Akim Demaille <akim@epita.fr>
2133
2134 Clean up the error reporting functions.
2135
2136 * src/report.c: New file.
2137 * src/report.h: Likewise.
2138 * src/Makefile.am: Adjust.
2139 * m4/error.m4: New file.
2140 * m4/Makefile.am: Adjust.
2141 * configure.in (jm_PREREQ_ERROR): Call it.
2142 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
2143 Remove.
2144 (fatal, fatals): Remove. All callers use complain.c::fatal.
2145 (warn, warni, warns, warnss, warnss): Remove. All callers use
2146 complain.c::complain.
2147 (toomany): Remove, use fatal instead.
2148 * src/files.c (done): No argument, use complain_message_count.
2149 * src/main.c (main): Register `done' to `atexit'.
2150
2151 * src/getargs.c (usage): More `fputs', less `fprintf'.
2152
2153 2000-03-28 Akim Demaille <akim@epita.fr>
2154
2155 * lib/: New directory.
2156 * Makefile.am (SUBDIRS): Adjust.
2157 * configure.in: Adjust.
2158 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
2159 useless.
2160 * src/alloca.c: Moved to lib/.
2161 * src/getopt.c: Likewise.
2162 * src/getopt1.c: Likewise.
2163 * src/getopt.h: Likewise.
2164 * src/ansi2knr.c: Likewise.
2165 * src/ansi2knr.1: Likewise.
2166 * src/Makefile.am: Adjust.
2167 * lib/Makefile.am: New file.
2168
2169 2000-03-28 Akim Demaille <akim@epita.fr>
2170
2171 * src/getargs.c (usage): Refresh the help message.
2172
2173 2000-03-17 Akim Demaille <akim@epita.fr>
2174
2175 * src/getopt1.c: Updated from textutils 2.0e
2176 * src/getopt.c: Likewise.
2177 * src/getopt.h: Likewise.
2178
2179 2000-03-17 Akim Demaille <akim@epita.fr>
2180
2181 * src/Makefile.am (bison.simple): Fix the awk program: quote only
2182 the file name, not the whole `#line LINE FILE'.
2183
2184 2000-03-17 Akim Demaille <akim@epita.fr>
2185
2186 On syntax errors, report the token on which we choked.
2187
2188 * src/bison.s1 (yyparse): In the label yyerrlab, when
2189 YYERROR_VERBOSE, add yychar in msg.
2190
2191 2000-03-17 Akim Demaille <akim@epita.fr>
2192
2193 * src/reader.c (copy_at): New function.
2194 (copy_guard): Use it.
2195 (copy_action): Use it.
2196
2197 2000-03-17 Akim Demaille <akim@epita.fr>
2198
2199 Be kind to translators, save some useless translations.
2200
2201 * src/main.c (banner): New function.
2202 (fatal_banner): Use it.
2203 (warn_banner): Use it.
2204
2205 2000-03-17 Akim Demaille <akim@epita.fr>
2206
2207 * src/reader.c (copy_definition): Use copy_string and
2208 copy_comment. Removed now unused `match', `ended',
2209 `cplus_comment'.
2210 (copy_comment, copy_string): Moved, to be visible from
2211 copy_definition.
2212
2213 2000-03-17 Akim Demaille <akim@epita.fr>
2214
2215 * src/reader.c (copy_string): Declare `static inline'. No
2216 problems with inline, since it is checked by configure.
2217 (copy_comment): Likewise.
2218
2219 2000-03-17 Akim Demaille <akim@epita.fr>
2220
2221 * src/reader.c (packsymbols): Formatting changes.
2222
2223 2000-03-17 Akim Demaille <akim@epita.fr>
2224
2225 * src/reader.c (copy_comment): New function, factored out from:
2226 (copy_action): Use it. Removed now unused `match', `ended',
2227 `cplus_comment'.
2228 (copy_guard): Likewise.
2229
2230 2000-03-17 Akim Demaille <akim@epita.fr>
2231
2232 * src/reader.c (copy_string): New function, factored out from:
2233 (copy_action): Use it.
2234 (copy_guard): Likewise.
2235
2236 2000-03-17 Akim Demaille <akim@epita.fr>
2237
2238 Change the handling of @s so that they behave exactly like $s.
2239 There is now a pseudo variable @$ (readble and writable), location
2240 of the lhs of the rule (by default ranging from the location of
2241 the first symbol of the rhs, to the location of the last symbol,
2242 or, if the rhs is empty, YYLLOC).
2243
2244 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
2245 yyval.
2246 (yyparse): When providing a default semantic action, provide a
2247 default location action.
2248 (after the $): No longer change `*YYLSP', just stack YYLOC the
2249 same way you stack YYVAL.
2250 * src/reader.c (read_declarations): Use warns.
2251 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
2252 (copy_action, case '@'): Likewise.
2253 Use a standard error message, to save useless work from
2254 translators.
2255
2256 2000-03-17 Akim Demaille <akim@epita.fr>
2257
2258 * src/bison.s1: Formatting and cosmetics changes.
2259 * src/reader.c: Likewise.
2260 Update the Copyright notice.
2261
2262 2000-03-17 Akim Demaille <akim@epita.fr>
2263
2264 * src/bison.s1 (#line): All set to `#line' only, since the
2265 Makefile now handles them.
2266
2267 2000-03-16 Akim Demaille <akim@epita.fr>
2268
2269 * src/output.c (output_rule_data): Output the documentation of
2270 some of the tables.
2271 (Copyright notice): Update.
2272 Formatting changes.
2273
2274 2000-03-16 Akim Demaille <akim@epita.fr>
2275
2276 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
2277 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
2278 One `#if YYDEBUG' remains, since it uses variables which are
2279 defined only if `YYDEBUG != 0'.
2280
2281 2000-03-16 Akim Demaille <akim@epita.fr>
2282
2283 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
2284 and related variables so that the similarities are highlighted.
2285
2286 2000-03-16 Akim Demaille <akim@epita.fr>
2287
2288 * src/bison.s1: Properly indent CPP directives.
2289
2290 2000-03-16 Akim Demaille <akim@epita.fr>
2291
2292 * src/bison.s1: Properly indent the `alloca' CPP section.
2293
2294 2000-03-16 Akim Demaille <akim@epita.fr>
2295
2296 Do not hard code values of directories in `configure.in'.
2297 Update the `configure' tool chain.
2298
2299 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
2300 src/makefile.am.
2301 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
2302 (AC_OUTPUT): Add m4/Makefile.
2303 Bump to bison 1.28a, 1.29 has never been released.
2304 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
2305 handled via src/Makefile.am.
2306 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
2307 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
2308 autoheader.
2309 * Makefile.am (SUBDIRS): Add m4.
2310 (ACLOCAL_AM_FLAGS): New variable.
2311 (AUTOMAKE_OPTIONS): Add check-news.
2312 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
2313 the proper line number and file name.
2314 (DEFS): Propagate the location of bison library files and of the
2315 locale files.
2316 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
2317 builddir.
2318 * acinclude.m4: Remove, replaced by the directory m4.
2319 * m4/Makefile.am (EXTRA_DIST): New variable.
2320 * m4/gettext.m4: New file, from the fileutils.
2321 * m4/lcmessage.m4: Likewise
2322 * m4/progtest.m4: Likewise.
2323 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
2324
2325 2000-03-10 Akim Demaille <akim@epita.fr>
2326
2327 * src/closure.c:
2328 Formatting changes of various comments.
2329 Respect the GNU coding standards at various places.
2330 Don't use `_()' when no translation is needed.
2331
2332 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2333
2334 * src/files.c:
2335 OS/2 honors TMPDIR environment variable.
2336
2337 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2338
2339 * doc/bison.texinfo: Tweaked spelling and grammar.
2340 Updated ISBN.
2341 Removed reference to price of printed copy.
2342 Mention BISON_SIMPLE and BISON_HAIRY.
2343
2344 1999-12-13 Jesse Thilo <jthilo@gnu.org>
2345
2346 * configure.in, NEWS:
2347 Bison 1.29 released.
2348
2349 1999-10-27 Jesse Thilo <jthilo@gnu.org>
2350
2351 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
2352 Added reference card.
2353
2354 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2355
2356 * po/ru.po: Added Russian translation.
2357
2358 1999-07-26 Jesse Thilo <jthilo@gnu.org>
2359
2360 * configure.in: Added Russian translation.
2361
2362 1999-07-06 Jesse Thilo <jthilo@gnu.org>
2363
2364 * configure.in, NEWS, README:
2365 Released version 1.28.
2366
2367 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2368
2369 * src/system.h:
2370 Squashed redefinition warning on some systems.
2371
2372 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
2373 Have configure build version string instead of relying on ANSI string
2374 concatentation.
2375
2376 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2377
2378 * po/POTFILES.in: Got rid of version.c.
2379
2380 1999-06-14 Jesse Thilo <jthilo@gnu.org>
2381
2382 * acconfig.h, configure.in:
2383 Have configure build version string instead of relying on ANSI string
2384 concatentation.
2385
2386 1999-06-08 Jesse Thilo <jthilo@gnu.org>
2387
2388 * doc/bison.1:
2389 Dropped mention of `+' for long-named options.
2390
2391 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2392
2393 * src/files.c: Added <unistd.h> for unlink().
2394
2395 * src/Makefile.am, src/system.h:
2396 I18n fixes.
2397
2398 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2399
2400 * README: Added a FAQ list.
2401
2402 * configure.in, acconfig.h:
2403 I18n fixes.
2404
2405 1999-05-30 Jesse Thilo <jthilo@gnu.org>
2406
2407 * doc/FAQ, doc/Makefile.am:
2408 Added a FAQ list.
2409
2410 1999-05-19 Jesse Thilo <jthilo@gnu.org>
2411
2412 * src/alloc.h, src/symtab.h, src/version.c:
2413 Protected inclusion of "config.h" with HAVE_CONFIG_H.
2414
2415 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2416
2417 * src/.cvsignore, src/Makefile.am:
2418 Reorganized: sources in `src', documentation in `doc'.
2419
2420 * src/lex.c (literalchar):
2421 fixed the code for escaping double quotes (thanks
2422 Jonathan Czisny.)
2423
2424 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2425
2426 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
2427 Adjusted paths to reflect directory reorganization.
2428
2429 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2430
2431 * doc/.cvsignore, doc/Makefile.am:
2432 Reorganized: sources in `src', documentation in `doc'.
2433
2434 1999-04-18 Jesse Thilo <jthilo@gnu.org>
2435
2436 * configure.in:
2437 Updated AC_INIT file to reflect directory reorganization.
2438
2439 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
2440 Reorganized: sources in `src', documentation in `doc'.
2441
2442 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2443
2444 * src/allocate.c:
2445 Don't declare calloc() and realloc() if not necessary.
2446
2447 1999-04-13 Jesse Thilo <jthilo@gnu.org>
2448
2449 * configure.in, acconfig.h, acinclude.m4:
2450 Don't declare calloc() and realloc() if not necessary.
2451
2452 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2453
2454 * po/.cvsignore: Added i18n support.
2455
2456 1999-03-23 Jesse Thilo <jthilo@gnu.org>
2457
2458 * acconfig.h, configure.in, Makefile.am:
2459 Added i18n support.
2460
2461 1999-03-22 Jesse Thilo <jthilo@gnu.org>
2462
2463 * src/bison.s1: Fixed #line numbers.
2464
2465 1999-03-15 Jesse Thilo <jthilo@gnu.org>
2466
2467 * po/es.po, po/fr.po, po/nl.po, po/de.po:
2468 Added PO files from Translation Project.
2469
2470 1999-03-03 Jesse Thilo <jthilo@gnu.org>
2471
2472 * Makefile.am:
2473 Added support for non-ANSI compilers (ansi2knr).
2474
2475 1999-02-16 Jesse Thilo <jthilo@gnu.org>
2476
2477 * configure.in: Bumped version number to 1.27.
2478
2479 * Makefile.am:
2480 Added `bison.simple' to list of files removed by `make distclean'.
2481
2482 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2483
2484 * src/files.c, src/files.h:
2485 Defined locations of parser files in config.h instead of Makefile.
2486
2487 1999-02-12 Jesse Thilo <jthilo@gnu.org>
2488
2489 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
2490 Defined locations of parser files in config.h instead of Makefile.
2491
2492 1999-02-09 Jesse Thilo <jthilo@gnu.org>
2493
2494 * Makefile.am:
2495 Removed inappropriate use of $< macro.
2496
2497 1999-02-05 Jesse Thilo <jthilo@gnu.org>
2498
2499 * po/Makefile.in.in, po/POTFILES.in:
2500 Add `po' directory skeleton.
2501
2502 1999-01-27 Jesse Thilo <jthilo@gnu.org>
2503
2504 * README: Document help-bison list.
2505
2506 * configure.in: Add check for mkstemp().
2507
2508 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2509
2510 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
2511 Hush a few compiler warnings.
2512
2513 * src/files.c:
2514 Add tryclose(), which verifies that fclose was successful.
2515 Hush a couple of compiler warnings.
2516
2517 1999-01-20 Jesse Thilo <jthilo@gnu.org>
2518
2519 * Makefile.am, OChangeLog:
2520 ChangeLog is now automatically generated. Include the old version as
2521 OChangeLog.
2522
2523 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2524
2525 * 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:
2526 Update FSF address.
2527
2528 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2529
2530 * doc/bison.texinfo: Fix formatting glitch.
2531
2532 * doc/bison.texinfo: Update FSF address.
2533
2534 1999-01-14 Jesse Thilo <jthilo@gnu.org>
2535
2536 * acconfig.h: Update FSF address.
2537
2538 1999-01-08 Jesse Thilo <jthilo@gnu.org>
2539
2540 * src/system.h:
2541 Don't define PACKAGE here, since config.h defines it.
2542
2543 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2544
2545 * src/reader.c: Update copyright date.
2546
2547 * src/main.c:
2548 Ditch sprintf to statically-sized buffers in fatal/warn functions in
2549 favor of output directly to stderr (avoids buffer overruns).
2550
2551 * src/reader.c: Some checks for premature EOF.
2552
2553 * 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:
2554 Use prototypes if the compiler understands them.
2555
2556 * src/files.c: Honor TMPDIR on Unix hosts.
2557 Use prototypes if the compiler understands them.
2558
2559 * src/reader.c:
2560 Fix a couple of buffer overrun bugs.
2561 Use prototypes if the compiler understands them.
2562
2563 * src/system.h: Include unistd.h and ctype.h.
2564 Use #ifdef instead of #if for NLS symbols.
2565
2566 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2567
2568 * doc/bison.texinfo:
2569 Delete comment "consider using @set for edition number, etc..." since
2570 we now are doing so.
2571
2572 1998-12-30 Jesse Thilo <jthilo@gnu.org>
2573
2574 * configure.in:
2575 Use prototypes if the compiler understands them.
2576
2577 * NEWS: Document 1.26 highlights.
2578
2579 * Makefile.am: Require Automake 1.3 or later.
2580
2581 * acconfig.h:
2582 Use prototypes if the compiler understands them.
2583
2584 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2585
2586 * src/version.c:
2587 Use VERSION symbol from automake for version number.
2588
2589 1998-12-29 Jesse Thilo <jthilo@gnu.org>
2590
2591 * acconfig.h, configure.in, version.cin:
2592 Use VERSION symbol from automake for version number.
2593
2594 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2595
2596 * Makefile.am:
2597 Distribute original version of simple parser (bison.s1), not built
2598 version (bison.simple).
2599
2600 1998-11-28 Jesse Thilo <jthilo@gnu.org>
2601
2602 * doc/bison.texinfo: Add info dir entry.
2603
2604 * doc/bison.texinfo:
2605 Let automake put version number into documentation.
2606
2607 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2608
2609 * src/bison.cld, src/build.com, src/vmshlp.mar:
2610 Add non-RCS files from /gd/gnu/bison.
2611
2612 1998-11-26 Jesse Thilo <jthilo@gnu.org>
2613
2614 * doc/bison.1:
2615 Document the BISON_HAIRY and BISON_SIMPLE variables.
2616
2617 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2618
2619 * src/version.c: Build version.c automatically.
2620
2621 * src/reader.c:
2622 Fix token numbering (used to start at 258, not 257).
2623
2624 * src/system.h: Include config.h.
2625
2626 * src/getargs.c: Update bug report address.
2627
2628 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
2629 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
2630
2631 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2632
2633 * Makefile.am:
2634 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2635
2636 * configure.in, version.cin:
2637 Build version.c automatically.
2638
2639 * AUTHORS: Add AUTHORS file.
2640
2641 * README: Update bug report address.
2642
2643 * bison.simple:
2644 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
2645
2646 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
2647 Add automake stuff.
2648
2649 1998-11-25 Jesse Thilo <jthilo@gnu.org>
2650
2651 * doc/bison.texinfo: Clean up some formatting.
2652
2653 1998-05-05 Richard Stallman <rms@gnu.org>
2654
2655 * doc/bison.texinfo:
2656 Explain better why to make a pure parser.
2657
2658 1998-01-05 Richard Stallman <rms@gnu.org>
2659
2660 * src/files.c (openfiles):
2661 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
2662 find a temporary directory, if possible. Do not unlink files while
2663 they are open.
2664
2665 1997-08-25 Richard Stallman <rms@gnu.org>
2666
2667 * src/reader.c (stack_offset;):
2668 Change some warni to warns.
2669
2670 * src/lex.c (literalchar): Use warns, not warni.
2671
2672 1997-06-28 Richard Stallman <rms@gnu.org>
2673
2674 * src/bison.s1: Add a Bison version comment.
2675
2676 * src/main.c (fatal, warn, berror):
2677 Use program_name.
2678
2679 1997-06-28 Richard Stallman <rms@gnu.org>
2680
2681 * Makefile.in (bison_version): New variable.
2682 (dist): Use that variable.
2683 (bison.s1): Substitute the Bison version into bison.simple.
2684
2685 * bison.simple: Add a Bison version comment.
2686
2687 1997-06-18 Richard Stallman <rms@gnu.org>
2688
2689 * src/main.c (fatal, warn, berror):
2690 Make error messages standard.
2691 (toomany): Improve error message text.
2692
2693 * 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:
2694 new.h renamed to alloc.h.
2695
2696 1997-06-18 Richard Stallman <rms@gnu.org>
2697
2698 * Makefile.in: new.h renamed to alloc.h.
2699
2700 1997-05-24 Richard Stallman <rms@gnu.org>
2701
2702 * src/lex.c (literalchar):
2703 Fix the code for escaping \, " and '.
2704
2705 (lex): Avoid trouble when there are many chars
2706 to discard in a char literal with just several chars in it.
2707
2708 1997-05-17 Richard Stallman <rms@gnu.org>
2709
2710 * src/bison.s1:
2711 Use malloc, if using alloca is troublesome.
2712 (YYSTACK_USE_ALLOCA): New flag macro.
2713 Define it for some systems and compilers.
2714 (YYSTACK_ALLOC): New macro.
2715 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2716 If it was malloc'd, free it.
2717
2718 1997-05-17 Richard Stallman <rms@gnu.org>
2719
2720 * bison.simple:
2721 Use malloc, if using alloca is troublesome.
2722 (YYSTACK_USE_ALLOCA): New flag macro.
2723 Define it for some systems and compilers.
2724 (YYSTACK_ALLOC): New macro.
2725 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2726 If it was malloc'd, free it.
2727
2728 1997-04-23 Richard Stallman <rms@gnu.org>
2729
2730 * src/bison.s1:
2731 (alloca) [__hpux]: Always define as __builtin_alloca.
2732
2733 1997-04-23 Richard Stallman <rms@gnu.org>
2734
2735 * bison.simple:
2736 (alloca) [__hpux]: Always define as __builtin_alloca.
2737
2738 1997-04-22 Richard Stallman <rms@gnu.org>
2739
2740 * src/bison.s1:
2741 [__hpux]: Include alloca.h (right for HPUX 10)
2742 instead of declaring alloca (right for HPUX 9).
2743
2744 * src/bison.s1 (__yy_memcpy):
2745 Declare arg `count' as unsigned int.
2746 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2747
2748 1997-04-22 Richard Stallman <rms@gnu.org>
2749
2750 * bison.simple:
2751 [__hpux]: Include alloca.h (right for HPUX 10)
2752 instead of declaring alloca (right for HPUX 9).
2753
2754 * bison.simple (__yy_memcpy):
2755 Declare arg `count' as unsigned int.
2756 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2757
2758 1997-01-03 Richard Stallman <rms@gnu.org>
2759
2760 * src/allocate.c: [__STDC__ or _MSC_VER]:
2761 Declare calloc and realloc to return void *.
2762
2763 1997-01-02 Richard Stallman <rms@gnu.org>
2764
2765 * src/system.h:
2766 [_MSC_VER]: Include stdlib.h and process.h.
2767 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2768
2769 * src/main.c (main): Return FAILURE as a value.
2770 (printable_version): Declare arg as int, not char.
2771
2772 1997-01-02 Richard Stallman <rms@gnu.org>
2773
2774 * Makefile.in (dist):
2775 Explicitly check for symlinks, and copy them.
2776
2777 1996-12-19 Richard Stallman <rms@gnu.org>
2778
2779 * src/files.c:
2780 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2781
2782 1996-12-18 Paul Eggert <eggert@gnu.org>
2783
2784 * src/bison.s1 (yyparse):
2785 If __GNUC__ and YYPARSE_PARAM are both defined,
2786 declare yyparse to have a void * argument.
2787
2788 1996-12-18 Paul Eggert <eggert@gnu.org>
2789
2790 * bison.simple (yyparse):
2791 If __GNUC__ and YYPARSE_PARAM are both defined,
2792 declare yyparse to have a void * argument.
2793
2794 1996-12-17 Richard Stallman <rms@gnu.org>
2795
2796 * src/reduce.c (nbits): Add some casts.
2797
2798 1996-08-12 Richard Stallman <rms@gnu.org>
2799
2800 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2801
2802 1996-08-12 Richard Stallman <rms@gnu.org>
2803
2804 * bison.simple: Test _MSDOS as well as _MSDOS_.
2805
2806 1996-07-31 Richard Stallman <rms@gnu.org>
2807
2808 * src/bison.s1:
2809 [__sun && __i386]: Include alloca.h.
2810
2811 1996-07-31 Richard Stallman <rms@gnu.org>
2812
2813 * bison.simple:
2814 [__sun && __i386]: Include alloca.h.
2815
2816 1996-07-30 Richard Stallman <rms@gnu.org>
2817
2818 * src/bison.s1: Comment change.
2819
2820 * src/bison.s1: Test _MSDOS_, not MSDOS.
2821
2822 1996-07-30 Richard Stallman <rms@gnu.org>
2823
2824 * bison.simple: Comment change.
2825
2826 * bison.simple: Test _MSDOS_, not MSDOS.
2827
2828 1996-06-01 Richard Stallman <rms@gnu.org>
2829
2830 * 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:
2831 Insert `_' macro around many string constants.
2832
2833 * src/main.c:
2834 Insert `_' macro around many string constants.
2835
2836 (main): Call setlocale, bindtextdomain and textdomain.
2837
2838 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2839 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2840 [ENABLE_NLS]: Include libintl.h.
2841 [ENABLE_NLS] (gettext): Define.
2842 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2843 (N_, PACKAGE, LOCALEDIR): New macros.
2844
2845 1996-06-01 Richard Stallman <rms@gnu.org>
2846
2847 * POTFILES.in: New file.
2848
2849 * Makefile.in (allocate.o):
2850 Define target explicitly.
2851
2852 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2853 (LDFLAGS): Set to @LDFLAGS@.
2854 (configure): Run autoconf only if preceding `cd' succeeds.
2855 (bison.s1): Redirect output to temporary file then move the
2856 temporary to the target, rather than redirecting directly to bison.s1.
2857 (clean): Remove config.status and config.log.
2858 (distclean): Don't remove config.status here.
2859
2860 1996-05-12 Richard Stallman <rms@gnu.org>
2861
2862 * src/bison.s1:
2863 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2864
2865 1996-05-12 Richard Stallman <rms@gnu.org>
2866
2867 * bison.simple:
2868 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2869
2870 1996-05-11 Richard Stallman <rms@gnu.org>
2871
2872 * src/bison.s1 (__yy_memcpy):
2873 Really reorder the args, as was supposedly done on Feb 14 1995.
2874 (yyparse): Calls changed accordingly.
2875
2876 1996-05-11 Richard Stallman <rms@gnu.org>
2877
2878 * Makefile.in (dist): Don't use $(srcdir).
2879
2880 * bison.simple (__yy_memcpy):
2881 Really reorder the args, as was supposedly done on Feb 14 1995.
2882 (yyparse): Calls changed accordingly.
2883
2884 1996-01-27 Richard Stallman <rms@gnu.org>
2885
2886 * src/output.c (output_rule_data):
2887 Test YYERROR_VERBOSE in the conditional
2888 around the definition of ttyname.
2889
2890 1995-12-29 Richard Stallman <rms@gnu.org>
2891
2892 * src/bison.s1:
2893 Fix line numbers in #line commands.
2894
2895 1995-12-29 Richard Stallman <rms@gnu.org>
2896
2897 * bison.simple:
2898 Fix line numbers in #line commands.
2899
2900 1995-12-27 Richard Stallman <rms@gnu.org>
2901
2902 * src/bison.s1 (YYPARSE_PARAM_DECL):
2903 In C++, make it always null.
2904 (YYPARSE_PARAM_ARG): New macro.
2905 (yyparse): Use YYPARSE_PARAM_ARG.
2906
2907 1995-12-27 Richard Stallman <rms@gnu.org>
2908
2909 * bison.simple (YYPARSE_PARAM_DECL):
2910 In C++, make it always null.
2911 (YYPARSE_PARAM_ARG): New macro.
2912 (yyparse): Use YYPARSE_PARAM_ARG.
2913
2914 1995-11-29 Richard Stallman <rms@gnu.org>
2915
2916 * doc/bison.texinfo:
2917 Describe literal string tokens, %raw, %no_lines, %token_table.
2918
2919 1995-11-29 Daniel Hagerty <hag@gnu.org>
2920
2921 * doc/bison.texinfo: Fixed update date
2922
2923 1995-10-16 Richard Stallman <rms@gnu.org>
2924
2925 * src/version.c: Version 1.25.
2926
2927 1995-10-16 Richard Stallman <rms@gnu.org>
2928
2929 * NEWS: *** empty log message ***
2930
2931 1995-10-16 Richard Stallman <rms@gnu.org>
2932
2933 * doc/bison.1, doc/bison.rnh:
2934 Add new options.
2935
2936 1995-10-15 Richard Stallman <rms@gnu.org>
2937
2938 * src/vmsgetargs.c, src/getargs.c:
2939 Added -n, -k, and -raw switches.
2940 (noparserflag, toknumflag, rawtoknumflag): New variables.
2941
2942 * src/symtab.h (SALIAS):
2943 New #define for adding aliases to %token.
2944 (struct bucket): Added `alias' field.
2945
2946 * src/reduce.c (reduce_grammar):
2947 Revise error message.
2948 (print_notices): Remove final `.' from error message.
2949
2950 * src/reader.c (reader_output_yylsp):
2951 New function.
2952 (readgram): Use `#if 0' around code that accepted %command
2953 inside grammar rules: The documentation doesn't allow it,
2954 and it will fail since the %command processors scan for the next %.
2955 (parse_token_decl): Extended the %token
2956 declaration to allow a multi-character symbol as an alias.
2957 (parse_thong_decl): New function.
2958 (read_declarations): Added %thong declarations.
2959 (read_declarations): Handle NOOP to deal with allowing
2960 % declarations as another means to specify the flags.
2961 (readgram): Allow %prec prior to semantics embedded in a rule.
2962 (skip_to_char, read_declarations, copy_definition)
2963 (parse_token_decl, parse_start_decl, parse_type_decl)
2964 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2965 (get_type_name, copy_guard, copy_action, readgram)
2966 (get_type, packsymbols): Revised most error messages.
2967 Changed `fatal' to `warnxxx' to avoid aborting for error.
2968 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2969 (read_declarations): Improve the error message for
2970 an invalid character. Do not abort.
2971 (read_declarations, copy_guard, copy_action): Use
2972 printable_version to avoid unprintable characters in printed output.
2973 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2974 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2975 Allow the type of a non-terminal can be given
2976 more than once, as long as all specifications give the same type.
2977
2978 * src/output.c:
2979 (output_headers, output_trailers, output, output_gram)
2980 (output_rule_data): Implement noparserflag variable.
2981 Implement toknumflag variable.
2982 (output): Call reader_output_yylsp to output LTYPESTR.
2983
2984 * src/main.c (main):
2985 If reader sees an error, don't process the grammar.
2986 (fatals): Updated to not use VARARGS1.
2987 (printable_version, int_to_string, warn, warni, warns, warnss)
2988 (warnsss): New error reporting functions. Avoid abort for error.
2989
2990 * src/lex.h:
2991 Added THONG and NOOP for alias processing.
2992 Added SETOPT for the new code that allows setting options with %flags.
2993
2994 * src/lex.c:
2995 Include getopt.h. Add some extern decls.
2996 (safegetc): New function to deal with EOF gracefully.
2997 (literalchar); new function to deal with reading \ escapes.
2998 (lex): Use literalchar.
2999 (lex): Implemented "..." tokens.
3000 (literalchar, lex, parse_percent_token): Made tokenbuffer
3001 always contain the token. This includes growing the token
3002 buffer while reading an integer.
3003 (parse_percent_token): Replaced if-else statement with percent_table.
3004 (parse_percent_token): Added % declarations as another
3005 way to specify the flags -n, -l, and -r. Also added hooks for
3006 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
3007 major changes to files.c.
3008 (lex) Retain in the incoming stream a character following
3009 an incorrect '/'.
3010 (skip_white_space, lex): Revised most error messages
3011 and changed fatal to warn to avoid aborting.
3012 (percent_table): Added %thong declarations.
3013
3014 * src/gram.h: Comment changes.
3015
3016 * src/files.c (openfiles, open_extra_files, done):
3017 Add faction flag
3018 and actfile file. Handle noparserflag. Both for -n switch.
3019
3020 * src/conflicts.c (resolve_sr_conflict):
3021 Remove use of alloca.
3022
3023 1995-06-01 Jim Meyering <meyering@gnu.org>
3024
3025 * doc/bison.texinfo: *** empty log message ***
3026
3027 1995-05-06 Richard Stallman <rms@gnu.org>
3028
3029 * src/bison.s1: Comment change.
3030
3031 1995-05-06 Richard Stallman <rms@gnu.org>
3032
3033 * bison.simple: Comment change.
3034
3035 1995-05-03 Richard Stallman <rms@gnu.org>
3036
3037 * src/version.c: Version now 1.24.
3038
3039 * src/bison.s1: Change distribution terms.
3040
3041 * src/version.c: Version now 1.23.
3042
3043 1995-05-03 Richard Stallman <rms@gnu.org>
3044
3045 * doc/bison.texinfo:
3046 Rewrite "Conditions for Using Bison".
3047 Update version to 1.24.
3048
3049 1995-05-03 Richard Stallman <rms@gnu.org>
3050
3051 * bison.simple: Change distribution terms.
3052
3053 1995-02-23 Richard Stallman <rms@gnu.org>
3054
3055 * src/files.c: Test __VMS_POSIX as well as VMS.
3056
3057 1995-02-14 Jim Meyering <meyering@gnu.org>
3058
3059 * src/bison.s1 (__yy_memcpy):
3060 Renamed from __yy_bcopy to avoid
3061 confusion. Reverse FROM and TO arguments to be consistent with
3062 those of memcpy.
3063
3064 1995-02-14 Jim Meyering <meyering@gnu.org>
3065
3066 * bison.simple (__yy_memcpy):
3067 Renamed from __yy_bcopy to avoid
3068 confusion. Reverse FROM and TO arguments to be consistent with
3069 those of memcpy.
3070
3071 1994-11-10 David J. MacKenzie <djm@gnu.org>
3072
3073 * NEWS: reformat
3074
3075 * NEWS: New file.
3076
3077 * Makefile.in (DISTFILES): Include NEWS.
3078
3079 * Makefile.in (DISTFILES):
3080 Include install-sh, not install.sh.
3081
3082 * configure.in: Update to Autoconf v2 macro names.
3083
3084 1994-10-05 David J. MacKenzie <djm@gnu.org>
3085
3086 * Makefile.in: fix typo
3087
3088 * Makefile.in (prefix, exec_prefix):
3089 Let configure set them.
3090
3091 1994-09-28 David J. MacKenzie <djm@gnu.org>
3092
3093 * Makefile.in: Set datadir to $(prefix)/share.
3094
3095 1994-09-15 Richard Stallman <rms@gnu.org>
3096
3097 * src/bison.s1:
3098 Update copyright notice and GPL version.
3099
3100 1994-09-15 Richard Stallman <rms@gnu.org>
3101
3102 * bison.simple:
3103 Update copyright notice and GPL version.
3104
3105 1994-07-12 Richard Stallman <rms@gnu.org>
3106
3107 * src/reduce.c, src/reader.c:
3108 entered into RCS
3109
3110 1994-05-05 David J. MacKenzie <djm@gnu.org>
3111
3112 * Makefile.in: entered into RCS
3113
3114 1994-03-26 Richard Stallman <rms@gnu.org>
3115
3116 * src/bison.s1: entered into RCS
3117
3118 1994-03-26 Richard Stallman <rms@gnu.org>
3119
3120 * bison.simple: entered into RCS
3121
3122 1994-03-25 Richard Stallman <rms@gnu.org>
3123
3124 * src/main.c: entered into RCS
3125
3126 1994-03-24 Richard Stallman <rms@gnu.org>
3127
3128 * src/conflicts.c: entered into RCS
3129
3130 1994-01-02 Richard Stallman <rms@gnu.org>
3131
3132 * Makefile.in: *** empty log message ***
3133
3134 1993-11-21 Richard Stallman <rms@gnu.org>
3135
3136 * src/bison.s1: *** empty log message ***
3137
3138 1993-11-21 Richard Stallman <rms@gnu.org>
3139
3140 * doc/bison.texinfo: entered into RCS
3141
3142 * doc/bison.texinfo: *** empty log message ***
3143
3144 1993-11-21 Richard Stallman <rms@gnu.org>
3145
3146 * bison.simple: *** empty log message ***
3147
3148 1993-10-25 David J. MacKenzie <djm@gnu.org>
3149
3150 * doc/bison.texinfo: *** empty log message ***
3151
3152 1993-10-19 Richard Stallman <rms@gnu.org>
3153
3154 * src/bison.s1: *** empty log message ***
3155
3156 1993-10-19 Richard Stallman <rms@gnu.org>
3157
3158 * bison.simple: *** empty log message ***
3159
3160 1993-10-14 Richard Stallman <rms@gnu.org>
3161
3162 * src/bison.s1: *** empty log message ***
3163
3164 1993-10-14 Richard Stallman <rms@gnu.org>
3165
3166 * bison.simple: *** empty log message ***
3167
3168 1993-09-14 David J. MacKenzie <djm@gnu.org>
3169
3170 * doc/bison.texinfo: *** empty log message ***
3171
3172 1993-09-13 Noah Friedman <friedman@gnu.org>
3173
3174 * Makefile.in: *** empty log message ***
3175
3176 1993-09-10 Richard Stallman <rms@gnu.org>
3177
3178 * src/conflicts.c: *** empty log message ***
3179
3180 * src/system.h: entered into RCS
3181
3182 1993-09-10 Richard Stallman <rms@gnu.org>
3183
3184 * doc/bison.1: entered into RCS
3185
3186 1993-09-06 Noah Friedman <friedman@gnu.org>
3187
3188 * src/version.c: entered into RCS
3189
3190 1993-09-06 Noah Friedman <friedman@gnu.org>
3191
3192 * Makefile.in: *** empty log message ***
3193
3194 1993-07-30 David J. MacKenzie <djm@gnu.org>
3195
3196 * Makefile.in: *** empty log message ***
3197
3198 1993-07-24 Richard Stallman <rms@gnu.org>
3199
3200 * src/bison.s1: *** empty log message ***
3201
3202 1993-07-24 Richard Stallman <rms@gnu.org>
3203
3204 * bison.simple: *** empty log message ***
3205
3206 1993-07-08 David J. MacKenzie <djm@gnu.org>
3207
3208 * Makefile.in: *** empty log message ***
3209
3210 1993-07-04 Richard Stallman <rms@gnu.org>
3211
3212 * src/bison.s1: *** empty log message ***
3213
3214 1993-07-04 Richard Stallman <rms@gnu.org>
3215
3216 * bison.simple: *** empty log message ***
3217
3218 1993-06-26 David J. MacKenzie <djm@gnu.org>
3219
3220 * src/getargs.c: entered into RCS
3221
3222 1993-06-26 David J. MacKenzie <djm@gnu.org>
3223
3224 * doc/bison.texinfo: *** empty log message ***
3225
3226 * doc/bison.1: New file.
3227
3228 1993-06-25 Richard Stallman <rms@gnu.org>
3229
3230 * src/getargs.c: New file.
3231
3232 1993-06-16 Richard Stallman <rms@gnu.org>
3233
3234 * src/bison.s1: *** empty log message ***
3235
3236 1993-06-16 Richard Stallman <rms@gnu.org>
3237
3238 * bison.simple: *** empty log message ***
3239
3240 1993-06-03 Richard Stallman <rms@gnu.org>
3241
3242 * src/bison.s1: New file.
3243
3244 1993-06-03 Richard Stallman <rms@gnu.org>
3245
3246 * doc/bison.texinfo: *** empty log message ***
3247
3248 1993-06-03 Richard Stallman <rms@gnu.org>
3249
3250 * bison.simple: New file.
3251
3252 1993-05-19 Richard Stallman <rms@gnu.org>
3253
3254 * doc/bison.texinfo: New file.
3255
3256 1993-05-07 Noah Friedman <friedman@gnu.org>
3257
3258 * Makefile.in: *** empty log message ***
3259
3260 1993-04-28 Noah Friedman <friedman@gnu.org>
3261
3262 * src/reader.c: *** empty log message ***
3263
3264 1993-04-23 Noah Friedman <friedman@gnu.org>
3265
3266 * src/alloc.h: entered into RCS
3267
3268 1993-04-20 David J. MacKenzie <djm@gnu.org>
3269
3270 * src/version.c: *** empty log message ***
3271
3272 * src/files.c, src/allocate.c:
3273 entered into RCS
3274
3275 * src/reader.c: *** empty log message ***
3276
3277 * src/lex.c: entered into RCS
3278
3279 * src/conflicts.c: New file.
3280
3281 * src/symtab.c: entered into RCS
3282
3283 * src/alloc.h: New file.
3284
3285 * src/LR0.c: entered into RCS
3286
3287 1993-04-18 Noah Friedman <friedman@gnu.org>
3288
3289 * src/reader.c: New file.
3290
3291 * src/version.c: *** empty log message ***
3292
3293 1993-04-18 Noah Friedman <friedman@gnu.org>
3294
3295 * Makefile.in: *** empty log message ***
3296
3297 1993-04-17 Noah Friedman <friedman@gnu.org>
3298
3299 * Makefile.in: *** empty log message ***
3300
3301 1993-04-15 Richard Stallman <rms@gnu.org>
3302
3303 * src/main.c, src/files.c:
3304 New file.
3305
3306 1993-04-15 Noah Friedman <friedman@gnu.org>
3307
3308 * configure.in: entered into RCS
3309
3310 * configure.in: *** empty log message ***
3311
3312 * configure.in: New file.
3313
3314 1993-04-14 Richard Stallman <rms@gnu.org>
3315
3316 * Makefile.in: New file.
3317
3318 1993-04-13 Richard Stallman <rms@gnu.org>
3319
3320 * src/version.c: New file.
3321
3322 1993-03-25 Richard Stallman <rms@gnu.org>
3323
3324 * src/output.c: entered into RCS
3325
3326 1992-09-25 Richard Stallman <rms@gnu.org>
3327
3328 * configure.bat: entered into RCS
3329
3330 1992-06-22 Richard Stallman <rms@gnu.org>
3331
3332 * src/vmsgetargs.c: entered into RCS
3333
3334 1992-06-22 Richard Stallman <rms@gnu.org>
3335
3336 * doc/bison.rnh: entered into RCS
3337
3338 1992-04-20 David J. MacKenzie <djm@gnu.org>
3339
3340 * README: entered into RCS
3341
3342 1992-01-22 Richard Stallman <rms@gnu.org>
3343
3344 * src/machine.h: entered into RCS
3345
3346 1991-12-21 Richard Stallman <rms@gnu.org>
3347
3348 * src/lalr.c, src/closure.c:
3349 entered into RCS
3350
3351 1991-12-20 Richard Stallman <rms@gnu.org>
3352
3353 * src/state.h: entered into RCS
3354
3355 1991-12-18 Richard Stallman <rms@gnu.org>
3356
3357 * src/print.c, src/nullable.c, src/derives.c:
3358 entered into RCS
3359
3360 1991-11-03 David J. MacKenzie <djm@gnu.org>
3361
3362 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
3363 entered into RCS
3364
3365 1988-09-09 Richard Stallman <rms@gnu.org>
3366
3367 * src/bison.hairy: entered into RCS
3368
3369 1987-12-16 Richard Stallman <rms@gnu.org>
3370
3371 * REFERENCES: entered into RCS