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