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