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