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