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