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