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