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