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