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