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