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