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