]> git.saurik.com Git - bison.git/blame_incremental - ChangeLog
* src/symtab.c (bucket_new): New function.
[bison.git] / ChangeLog
... / ...
CommitLineData
12000-10-16 Akim Demaille <akim@epita.fr>
2
3 * src/symtab.c (bucket_new): New function.
4 (getsym): Use it.
5
6 * src/output.c (output_short_table): New argument to display the
7 comment associated with the table.
8 Adjust dependencies.
9 (output_gram): Use it.
10 (output_rule_data): Nicer output layout for YYTNAME.
11
12
132000-10-16 Akim Demaille <akim@epita.fr>
14
15 * src/lex.c (read_typename): New function.
16 (lex): Use it.
17 * src/reader.c (copy_dollar): Likewise.
18
19
202000-10-16 Akim Demaille <akim@epita.fr>
21
22 * src/reader.c (copy_comment2): Expect the input stream to be on
23 the `/' which is suspected to open a comment, instead of being
24 called after `//' or `/*' was read.
25 (copy_comment, copy_definition, parse_union_decl, copy_action)
26 (copy_guard): Adjust.
27
28
292000-10-16 Akim Demaille <akim@epita.fr>
30
31 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
32 `read_signed_integer'.
33
34
352000-10-16 Akim Demaille <akim@epita.fr>
36
37 * src/reader.c (copy_dollar): New function.
38 (copy_guard, copy_action): Use it.
39
40
412000-10-16 Akim Demaille <akim@epita.fr>
42
43 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
44 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
45 New files, from Fileutils 4.0.27.
46 * src/main.c (printable_version): Remove.
47 * src/lex.c, src/reader.c: Use `quote'.
48
492000-10-04 Akim Demaille <akim@epita.fr>
50
51 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
52
532000-10-04 Akim Demaille <akim@epita.fr>
54
55 * doc/bison.texinfo: Various typos spotted by Neil Booth.
56
572000-10-04 Akim Demaille <akim@epita.fr>
58
59 When a literal string is used to define two different tokens,
60 `bison -v' segfaults.
61 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
62
63 * tests/regression.m4: New file.
64 Include the core of the sample provided by Piotr Gackiewicz.
65 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
66 properly.
67
682000-10-04 Akim Demaille <akim@epita.fr>
69
70 * src/reader.c (parse_expect_decl): Keep `count' within the size
71 of `buffer'.
72 From Neil Booth.
73
742000-10-02 Paul Eggert <eggert@twinsun.com>
75
76 * bison.s1 (yyparse): Assign the default value
77 unconditionally, to avoid a GCC warning and make the parser a
78 tad smaller.
79
802000-10-02 Akim Demaille <akim@epita.fr>
81
82 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
83 options.
84
852000-10-02 Akim Demaille <akim@epita.fr>
86
87 * src/derives.c, src/print.c, src/reduce.c: To ease the
88 translation, move some `\n' out of the translated strings.
89
902000-10-02 Akim Demaille <akim@epita.fr>
91
92 The location tracking mechanism is precious for parse error
93 messages. Nevertheless, it is enabled only when `@n' is used in
94 the grammar, which is a different issue (you can use it in error
95 message, but not in the grammar per se). Therefore, there should
96 be another means to enable it.
97
98 * src/getargs.c (getargs): Support `--locations'.
99 (usage): Report it.
100 * src/getargs.h (locationsflag): Export it.
101 * src/lex.c (percent_table): Support `%locations'.
102 * src/reader.c (yylsp_needed): Remove this variable, now replaced
103 with `locationsflag'.
104 * doc/bison.texinfo: Document `--locations' and `%locations'.
105 Sort the options.
106 * tests/calc.m4: Test it.
107
108 For regularity of the names, replace each
109 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
110 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
111 In addition replace each `flag' with `_flag'.
112
1132000-10-02 Akim Demaille <akim@epita.fr>
114
115 Also test parse error messages, including with YYERROR_VERBOSE.
116
117 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
118 associative).
119 Use it to check the computations.
120 Use it to check `nonassoc' is honored.
121 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
122 `--yyerror-verbose'.
123 (_AT_CHECK_CALC): Adjust to this option.
124 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
125
1262000-10-02 Akim Demaille <akim@epita.fr>
127
128 Test also `--verbose', `--defines' and `--name-prefix'. Testing
129 the latter demonstrates a flaw in the handling of non debugging
130 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
131 was used in order to simplify:
132
133 #if YYDEBUG
134 if (yydebug)
135 {
136 ...
137 }
138 #endif
139
140 into
141
142 if (yydebug)
143 {
144 ...
145 }
146
147 unfortunately this leads to a CPP conflict when
148 `--name-prefix=foo' is used since it produces `#define yydebug
149 foodebug'.
150
151 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
152 (YYDPRINTF): New macro.
153 Spread its use.
154 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
155 the bison options.
156 Also test `--verbose', `--defines' and `--name-prefix'.
157
1582000-10-02 Akim Demaille <akim@epita.fr>
159
160 Improve the readability of the produced parsers.
161
162 * src/bison.s1: Formatting changes.
163 Improve the comment related to the `$' mark.
164 (yydefault): Don't fall through to `yyresume': `goto' there.
165 * src/output.c (output_parser): When the `$' is met, skip the end
166 of its line.
167 New variable, `number_of_dollar_signs', to check there's exactly
168 one `$' in the parser skeleton.
169
1702000-10-02 Akim Demaille <akim@epita.fr>
171
172 * lib/xstrdup.c: New file, from the fileutils.
173 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
174 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
175 instead of strlen + xmalloc + strcpy.
176 * src/symtab.c (copys): Remove, use xstrdup instead.
177
1782000-10-02 Akim Demaille <akim@epita.fr>
179
180 * src/gram.h (associativity): New enum type which replaces the
181 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
182 `right_assoc', `left_assoc' and `non_assoc'.
183 Adjust all dependencies.
184 * src/reader.c: Formatting changes.
185 (LTYPESTR): Don't define it, use it as a literal in
186 `reader_output_yylsp'.
187 * src/symtab.h (symbol_class): New enum type which replaces the
188 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
189 `sunknown', `stoken and `snterm'.
190
1912000-10-02 Akim Demaille <akim@epita.fr>
192
193 * src/getargs.c (fixed_outfiles): Rename as...
194 (yaccflag): for consistency and accuracy.
195 Adjust dependencies.
196
1972000-10-02 Akim Demaille <akim@epita.fr>
198
199 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
200 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
201 difficult and introduced a lot of core dump. It turns out that
202 Bison used an implementation of `xmalloc' based on `calloc', and
203 at various places it does depend upon the initialization to 0. I
204 have not tried to isolate the pertinent places, and all the former
205 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
206 someone should address this issue.
207
208 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
209 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
210 files.
211 Adjust dependencies.
212 * src/warshall.h: New file.
213 Propagate.
214
2152000-10-02 Akim Demaille <akim@epita.fr>
216
217 Various anti-`extern in *.c' changes.
218
219 * src/system.h: Include `assert.h'.
220
2212000-10-02 Akim Demaille <akim@epita.fr>
222
223 * src/state.h (nstates, final_state, first_state, first_shift)
224 (first_reduction): Move their exportation from here...
225 * src/LR0.h: to here.
226 Adjust dependencies.
227 * src/getargs.c (statisticsflag): New variable.
228 Add support for `--statistics'.
229 Adjust dependencies.
230
231 Remove a lot of now useless `extern' statements in most files.
232
2332000-10-02 Akim Demaille <akim@epita.fr>
234
235 * src/LR0.h: New file.
236 Propagate its use.
237
2382000-10-02 Akim Demaille <akim@epita.fr>
239
240 * src/print.h: New file.
241 Propagate its use.
242 * src/print.c: Formatting and ordering changes.
243 (verbose, terse): Replace with...
244 (print_results): this new function.
245 Adjust dependencies.
246
2472000-10-02 Akim Demaille <akim@epita.fr>
248
249 * src/conflicts.c (conflict_report): New function.
250 (conflict_log, verbose_conflict_log): Replace with...
251 (print_conflicts): this function.
252 Adjust dependencies.
253 * src/conflicts.h: New file.
254 Propagate its inclusion.
255
2562000-10-02 Akim Demaille <akim@epita.fr>
257
258 * src/nullable.h: New file.
259 Propagate its inclusion.
260 * src/nullable.c: Formatting changes.
261
2622000-10-02 Akim Demaille <akim@epita.fr>
263
264 * src/reduce.h: New file.
265 Propagate its inclusion.
266 * src/reduce.c: Topological sort and other formatting changes.
267 (bool, TRUE, FALSE): Move their definition to...
268 * src/system.h: here.
269
2702000-10-02 Akim Demaille <akim@epita.fr>
271
272 * src/files.c: Formatting changes.
273 (tryopen, tryclose, openfiles): Rename as...
274 (xfopen, xfclose, open_files): this.
275 (stringappend): static.
276 * src/files.h: Complete the list of exported symbols.
277 Propagate its use.
278
2792000-10-02 Akim Demaille <akim@epita.fr>
280
281 * src/reader.h: New file.
282 Propagate its use instead of tedious list of `extern' and
283 prototypes.
284 * src/reader.c: Formatting changes, topological sort,
285 s/register//.
286
2872000-10-02 Akim Demaille <akim@epita.fr>
288
289 * src/lex.h: Prototype `lex.c' exported functions.
290 * src/reader.c: Adjust.
291 * src/lex.c: Formatting changes.
292 (safegetc): Rename as...
293 (xgetc): this.
294
2952000-10-02 Akim Demaille <akim@epita.fr>
296
297 * src/lalr.h: New file.
298 Propagate its inclusion instead of prototypes and `extern'.
299 * src/lalr.c: Formatting changes, topological sorting etc.
300
3012000-10-02 Akim Demaille <akim@epita.fr>
302
303 * src/output.c (token_actions): Introduce a temporary array,
304 YYDEFACT, that makes it possible for this function to use
305 output_short_table.
306
3072000-10-02 Akim Demaille <akim@epita.fr>
308
309 `user_toknums' is output as a `short[]' in `output.c', while it is
310 defined as a `int[]' in `reader.c'. For consistency with the
311 other output tables, `user_toknums' is now defined as a table of
312 shorts.
313
314 * src/reader.c (user_toknums): Be a short table instead of an int
315 table.
316 Adjust dependencies.
317
318 Factor the short table outputs.
319
320 * src/output.c (output_short_table): New function.
321 * src/output.c (output_gram, output_stos, output_rule_data)
322 (output_base, output_table, output_check): Use it.
323
3242000-10-02 Akim Demaille <akim@epita.fr>
325
326 * src/output.c (output): Topological sort of the functions, in
327 order to get rid of the `static' prototypes.
328 No longer use `register'.
329 * src/output.h: New file.
330 Propagate its inclusion in files explicitly prototyping functions
331 from output.c.
332
3332000-09-21 Akim Demaille <akim@epita.fr>
334
335 * src/atgeneral.m4: Update from Autoconf.
336
3372000-09-21 Akim Demaille <akim@epita.fr>
338
339 * src/closure.h: New file.
340 * src/closure.c: Formatting changes, topological sort over the
341 functions, use of closure.h.
342 (initialize_closure, finalize_closure): Rename as...
343 (new_closure, free_closure): these. Adjust dependencies.
344 * src/LR0.c: Formatting changes, topological sort, use of
345 cloture.h.
346 (initialize_states): Rename as...
347 (new_states): this.
348 * src/Makefile.am (noinst_HEADERS): Adjust.
349
3502000-09-20 Akim Demaille <akim@epita.fr>
351
352 * src/acconfig.h: Don't protect config.h against multiple
353 inclusion.
354 Don't define PARAMS.
355 * src/system.h: Define PARAMS.
356 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
357 purpose of config.h. system.h must not try to fix wrong
358 definitions in config.h.
359
3602000-09-20 Akim Demaille <akim@epita.fr>
361
362 * src/derives.h: New file.
363 * src/main.c, src/derives.h: Use it.
364 Formatting changes.
365 * src/Makefile.am (noinst_HEADERS): Adjust.
366
3672000-09-20 Akim Demaille <akim@epita.fr>
368
369 * tests/atgeneral.m4: Update from Autoconf.
370 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
371 (AT_CHECK_CALC): New macros.
372 Use these macros to test bison with options `', `--raw',
373 `--debug', `--yacc', `--yacc --debug'.
374
3752000-09-19 Akim Demaille <akim@epita.fr>
376
377 * src/output.c: Formatting changes.
378 * src/machine.h: Remove, leaving its contents in...
379 * src/system.h: here.
380 Include stdio.h.
381 Adjust all dependencies on stdio.h and machine.h.
382 * src/getargs.h: New file.
383 Let all `extern' declarations about getargs.c be replaced with
384 inclusion of `getargs.h'.
385 * src/Makefile.am (noinst_HEADERS): Adjust.
386
387 * tests/calc.m4 (yyin): Be initialized in main, not on the global
388 scope.
389 (yyerror): Returns void, not int.
390 * doc/bison.texinfo: Formatting changes.
391
3922000-09-19 Akim Demaille <akim@epita.fr>
393
394 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
395 portable.
396
3972000-09-18 Akim Demaille <akim@epita.fr>
398
399 * configure.in: Append WARNING_CFLAGS to CFLAGS.
400 * src/Makefile.am (INCLUDES): Don't.
401 Be ready to fetch headers in lib/.
402
4032000-09-18 Akim Demaille <akim@epita.fr>
404
405 * doc/bison.texinfo: Update the copyright.
406 ANSIfy and GNUify the examples.
407 Remove the old menu.
408
4092000-09-18 Akim Demaille <akim@epita.fr>
410
411 First set of tests: use the `calc' example from the documentation.
412
413 * src/bison.s1 (yyparse): Condition the code using `yytname' which
414 is defined only when YYDEBUG is.
415 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
416 * src/files.c (tryopen, tryclose): Formatting changes.
417 Move to the top and be static.
418 * src/reader.c (read_signed_integer): Likewise.
419 * tests/calc.m4: New file.
420 * Makefile.am, suite.m4: Adjust.
421 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
422
4232000-09-18 Akim Demaille <akim@epita.fr>
424
425 Add support for an Autotest test suite for Bison.
426
427 * m4/m4.m4, m4/atconfig.m4: New files.
428 * m4/Makefile.am (EXTRA_DIST): Adjust.
429 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
430 files.
431 * src/getargs.c: Display a more standard --version message.
432 * src/reader.c (reader): Formatting changes.
433 No longer depend upon VERSION_STRING.
434 * configure.in: No longer use `dnl'.
435 Set up the test suite and the new directory `tests/.
436 (VERSION_STRING): Remove.
437
4382000-04-14 Akim Demaille <akim@epita.fr>
439
440 * src/reader.c (copy_comment2): New function, same as former
441 `copy_comment', but outputs into two FILE *.
442 (copy_comment): Use it.
443 (parse_union_decl): Use it.
444 (get_type, parse_start_decl): Use the same `invalid' message.
445 (parse_start_decl, parse_union_decl): Use the same `multiple'
446 message.
447 (parse_union_decl, copy_guard, copy_action): Use the same
448 `unmatched' message.
449 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
450
4512000-03-31 Akim Demaille <akim@epita.fr>
452
453 * src/files.c (tryopen, tryclose): Move to the top.
454 Be static.
455
4562000-03-31 Akim Demaille <akim@epita.fr>
457
458 * src/main.c (main): Don't call `done', exit does it.
459
4602000-03-31 Akim Demaille <akim@epita.fr>
461
462 * allocate.c: s/return (foo)/return foo/.
463 * lalr.c: Likewise.
464 * LR0.c: Likewise.
465 * output.c: Likewise.
466 * reader.c: Likewise.
467 * symtab.c: Likewise.
468 * vmsgetargs.c: Likewise.
469
4702000-03-31 Akim Demaille <akim@epita.fr>
471
472 Clean up the error reporting functions.
473
474 * src/report.c: New file.
475 * src/report.h: Likewise.
476 * src/Makefile.am: Adjust.
477 * m4/error.m4: New file.
478 * m4/Makefile.am: Adjust.
479 * configure.in (jm_PREREQ_ERROR): Call it.
480 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
481 Remove.
482 (fatal, fatals): Remove. All callers use complain.c::fatal.
483 (warn, warni, warns, warnss, warnss): Remove. All callers use
484 complain.c::complain.
485 (toomany): Remove, use fatal instead.
486 * src/files.c (done): No argument, use complain_message_count.
487 * src/main.c (main): Register `done' to `atexit'.
488
489 * src/getargs.c (usage): More `fputs', less `fprintf'.
490
4912000-03-28 Akim Demaille <akim@epita.fr>
492
493 * lib/: New directory.
494 * Makefile.am (SUBDIRS): Adjust.
495 * configure.in: Adjust.
496 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
497 useless.
498 * src/alloca.c: Moved to lib/.
499 * src/getopt.c: Likewise.
500 * src/getopt1.c: Likewise.
501 * src/getopt.h: Likewise.
502 * src/ansi2knr.c: Likewise.
503 * src/ansi2knr.1: Likewise.
504 * src/Makefile.am: Adjust.
505 * lib/Makefile.am: New file.
506
5072000-03-28 Akim Demaille <akim@epita.fr>
508
509 * src/getargs.c (usage): Refresh the help message.
510
5112000-03-17 Akim Demaille <akim@epita.fr>
512
513 * src/getopt1.c: Updated from textutils 2.0e
514 * src/getopt.c: Likewise.
515 * src/getopt.h: Likewise.
516
5172000-03-17 Akim Demaille <akim@epita.fr>
518
519 * src/Makefile.am (bison.simple): Fix the awk program: quote only
520 the file name, not the whole `#line LINE FILE'.
521
5222000-03-17 Akim Demaille <akim@epita.fr>
523
524 On syntax errors, report the token on which we choked.
525
526 * src/bison.s1 (yyparse): In the label yyerrlab, when
527 YYERROR_VERBOSE, add yychar in msg.
528
5292000-03-17 Akim Demaille <akim@epita.fr>
530
531 * src/reader.c (copy_at): New function.
532 (copy_guard): Use it.
533 (copy_action): Use it.
534
5352000-03-17 Akim Demaille <akim@epita.fr>
536
537 Be kind to translators, save some useless translations.
538
539 * src/main.c (banner): New function.
540 (fatal_banner): Use it.
541 (warn_banner): Use it.
542
5432000-03-17 Akim Demaille <akim@epita.fr>
544
545 * src/reader.c (copy_definition): Use copy_string and
546 copy_comment. Removed now unused `match', `ended',
547 `cplus_comment'.
548 (copy_comment, copy_string): Moved, to be visible from
549 copy_definition.
550
5512000-03-17 Akim Demaille <akim@epita.fr>
552
553 * src/reader.c (copy_string): Declare `static inline'. No
554 problems with inline, since it is checked by configure.
555 (copy_comment): Likewise.
556
5572000-03-17 Akim Demaille <akim@epita.fr>
558
559 * src/reader.c (packsymbols): Formatting changes.
560
5612000-03-17 Akim Demaille <akim@epita.fr>
562
563 * src/reader.c (copy_comment): New function, factored out from:
564 (copy_action): Use it. Removed now unused `match', `ended',
565 `cplus_comment'.
566 (copy_guard): Likewise.
567
5682000-03-17 Akim Demaille <akim@epita.fr>
569
570 * src/reader.c (copy_string): New function, factored out from:
571 (copy_action): Use it.
572 (copy_guard): Likewise.
573
5742000-03-17 Akim Demaille <akim@epita.fr>
575
576 Change the handling of @s so that they behave exactly like $s.
577 There is now a pseudo variable @$ (readble and writable), location
578 of the lhs of the rule (by default ranging from the location of
579 the first symbol of the rhs, to the location of the last symbol,
580 or, if the rhs is empty, YYLLOC).
581
582 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
583 yyval.
584 (yyparse): When providing a default semantic action, provide a
585 default location action.
586 (after the $): No longer change `*YYLSP', just stack YYLOC the
587 same way you stack YYVAL.
588 * src/reader.c (read_declarations): Use warns.
589 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
590 (copy_action, case '@'): Likewise.
591 Use a standard error message, to save useless work from
592 translators.
593
5942000-03-17 Akim Demaille <akim@epita.fr>
595
596 * src/bison.s1: Formatting and cosmetics changes.
597 * src/reader.c: Likewise.
598 Update the Copyright notice.
599
6002000-03-17 Akim Demaille <akim@epita.fr>
601
602 * src/bison.s1 (#line): All set to `#line' only, since the
603 Makefile now handles them.
604
6052000-03-16 Akim Demaille <akim@epita.fr>
606
607 * src/output.c (output_rule_data): Output the documentation of
608 some of the tables.
609 (Copyright notice): Update.
610 Formatting changes.
611
6122000-03-16 Akim Demaille <akim@epita.fr>
613
614 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
615 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
616 One `#if YYDEBUG' remains, since it uses variables which are
617 defined only if `YYDEBUG != 0'.
618
6192000-03-16 Akim Demaille <akim@epita.fr>
620
621 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
622 and related variables so that the similarities are highlighted.
623
6242000-03-16 Akim Demaille <akim@epita.fr>
625
626 * src/bison.s1: Properly indent CPP directives.
627
6282000-03-16 Akim Demaille <akim@epita.fr>
629
630 * src/bison.s1: Properly indent the `alloca' CPP section.
631
6322000-03-16 Akim Demaille <akim@epita.fr>
633
634 Do not hard code values of directories in `configure.in'.
635 Update the `configure' tool chain.
636
637 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
638 src/makefile.am.
639 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
640 (AC_OUTPUT): Add m4/Makefile.
641 Bump to bison 1.28a, 1.29 has never been released.
642 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
643 handled via src/Makefile.am.
644 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
645 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
646 autoheader.
647 * Makefile.am (SUBDIRS): Add m4.
648 (ACLOCAL_AM_FLAGS): New variable.
649 (AUTOMAKE_OPTIONS): Add check-news.
650 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
651 the proper line number and file name.
652 (DEFS): Propagate the location of bison library files and of the
653 locale files.
654 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
655 builddir.
656 * acinclude.m4: Remove, replaced by the directory m4.
657 * m4/Makefile.am (EXTRA_DIST): New variable.
658 * m4/gettext.m4: New file, from the fileutils.
659 * m4/lcmessage.m4: Likewise
660 * m4/progtest.m4: Likewise.
661 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
662
6632000-03-10 Akim Demaille <akim@epita.fr>
664
665 * src/closure.c:
666 Formatting changes of various comments.
667 Respect the GNU coding standards at various places.
668 Don't use `_()' when no translation is needed.
669
6701999-12-13 Jesse Thilo <jthilo@gnu.org>
671
672 * src/files.c:
673 OS/2 honors TMPDIR environment variable.
674
6751999-12-13 Jesse Thilo <jthilo@gnu.org>
676
677 * doc/bison.texinfo: Tweaked spelling and grammar.
678 Updated ISBN.
679 Removed reference to price of printed copy.
680 Mention BISON_SIMPLE and BISON_HAIRY.
681
6821999-12-13 Jesse Thilo <jthilo@gnu.org>
683
684 * configure.in, NEWS:
685 Bison 1.29 released.
686
6871999-10-27 Jesse Thilo <jthilo@gnu.org>
688
689 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
690 Added reference card.
691
6921999-07-26 Jesse Thilo <jthilo@gnu.org>
693
694 * po/ru.po: Added Russian translation.
695
6961999-07-26 Jesse Thilo <jthilo@gnu.org>
697
698 * configure.in: Added Russian translation.
699
7001999-07-06 Jesse Thilo <jthilo@gnu.org>
701
702 * configure.in, NEWS, README:
703 Released version 1.28.
704
7051999-06-14 Jesse Thilo <jthilo@gnu.org>
706
707 * src/system.h:
708 Squashed redefinition warning on some systems.
709
710 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
711 Have configure build version string instead of relying on ANSI string
712 concatentation.
713
7141999-06-14 Jesse Thilo <jthilo@gnu.org>
715
716 * po/POTFILES.in: Got rid of version.c.
717
7181999-06-14 Jesse Thilo <jthilo@gnu.org>
719
720 * acconfig.h, configure.in:
721 Have configure build version string instead of relying on ANSI string
722 concatentation.
723
7241999-06-08 Jesse Thilo <jthilo@gnu.org>
725
726 * doc/bison.1:
727 Dropped mention of `+' for long-named options.
728
7291999-05-30 Jesse Thilo <jthilo@gnu.org>
730
731 * src/files.c: Added <unistd.h> for unlink().
732
733 * src/Makefile.am, src/system.h:
734 I18n fixes.
735
7361999-05-30 Jesse Thilo <jthilo@gnu.org>
737
738 * README: Added a FAQ list.
739
740 * configure.in, acconfig.h:
741 I18n fixes.
742
7431999-05-30 Jesse Thilo <jthilo@gnu.org>
744
745 * doc/FAQ, doc/Makefile.am:
746 Added a FAQ list.
747
7481999-05-19 Jesse Thilo <jthilo@gnu.org>
749
750 * src/alloc.h, src/symtab.h, src/version.c:
751 Protected inclusion of "config.h" with HAVE_CONFIG_H.
752
7531999-04-18 Jesse Thilo <jthilo@gnu.org>
754
755 * src/.cvsignore, src/Makefile.am:
756 Reorganized: sources in `src', documentation in `doc'.
757
758 * src/lex.c (literalchar):
759 fixed the code for escaping double quotes (thanks
760 Jonathan Czisny.)
761
7621999-04-18 Jesse Thilo <jthilo@gnu.org>
763
764 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
765 Adjusted paths to reflect directory reorganization.
766
7671999-04-18 Jesse Thilo <jthilo@gnu.org>
768
769 * doc/.cvsignore, doc/Makefile.am:
770 Reorganized: sources in `src', documentation in `doc'.
771
7721999-04-18 Jesse Thilo <jthilo@gnu.org>
773
774 * configure.in:
775 Updated AC_INIT file to reflect directory reorganization.
776
777 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
778 Reorganized: sources in `src', documentation in `doc'.
779
7801999-04-13 Jesse Thilo <jthilo@gnu.org>
781
782 * src/allocate.c:
783 Don't declare calloc() and realloc() if not necessary.
784
7851999-04-13 Jesse Thilo <jthilo@gnu.org>
786
787 * configure.in, acconfig.h, acinclude.m4:
788 Don't declare calloc() and realloc() if not necessary.
789
7901999-03-23 Jesse Thilo <jthilo@gnu.org>
791
792 * po/.cvsignore: Added i18n support.
793
7941999-03-23 Jesse Thilo <jthilo@gnu.org>
795
796 * acconfig.h, configure.in, Makefile.am:
797 Added i18n support.
798
7991999-03-22 Jesse Thilo <jthilo@gnu.org>
800
801 * src/bison.s1: Fixed #line numbers.
802
8031999-03-15 Jesse Thilo <jthilo@gnu.org>
804
805 * po/es.po, po/fr.po, po/nl.po, po/de.po:
806 Added PO files from Translation Project.
807
8081999-03-03 Jesse Thilo <jthilo@gnu.org>
809
810 * Makefile.am:
811 Added support for non-ANSI compilers (ansi2knr).
812
8131999-02-16 Jesse Thilo <jthilo@gnu.org>
814
815 * configure.in: Bumped version number to 1.27.
816
817 * Makefile.am:
818 Added `bison.simple' to list of files removed by `make distclean'.
819
8201999-02-12 Jesse Thilo <jthilo@gnu.org>
821
822 * src/files.c, src/files.h:
823 Defined locations of parser files in config.h instead of Makefile.
824
8251999-02-12 Jesse Thilo <jthilo@gnu.org>
826
827 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
828 Defined locations of parser files in config.h instead of Makefile.
829
8301999-02-09 Jesse Thilo <jthilo@gnu.org>
831
832 * Makefile.am:
833 Removed inappropriate use of $< macro.
834
8351999-02-05 Jesse Thilo <jthilo@gnu.org>
836
837 * po/Makefile.in.in, po/POTFILES.in:
838 Add `po' directory skeleton.
839
8401999-01-27 Jesse Thilo <jthilo@gnu.org>
841
842 * README: Document help-bison list.
843
844 * configure.in: Add check for mkstemp().
845
8461999-01-20 Jesse Thilo <jthilo@gnu.org>
847
848 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
849 Hush a few compiler warnings.
850
851 * src/files.c:
852 Add tryclose(), which verifies that fclose was successful.
853 Hush a couple of compiler warnings.
854
8551999-01-20 Jesse Thilo <jthilo@gnu.org>
856
857 * Makefile.am, OChangeLog:
858 ChangeLog is now automatically generated. Include the old version as
859 OChangeLog.
860
8611999-01-14 Jesse Thilo <jthilo@gnu.org>
862
863 * 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:
864 Update FSF address.
865
8661999-01-14 Jesse Thilo <jthilo@gnu.org>
867
868 * doc/bison.texinfo: Fix formatting glitch.
869
870 * doc/bison.texinfo: Update FSF address.
871
8721999-01-14 Jesse Thilo <jthilo@gnu.org>
873
874 * acconfig.h: Update FSF address.
875
8761999-01-08 Jesse Thilo <jthilo@gnu.org>
877
878 * src/system.h:
879 Don't define PACKAGE here, since config.h defines it.
880
8811998-12-30 Jesse Thilo <jthilo@gnu.org>
882
883 * src/reader.c: Update copyright date.
884
885 * src/main.c:
886 Ditch sprintf to statically-sized buffers in fatal/warn functions in
887 favor of output directly to stderr (avoids buffer overruns).
888
889 * src/reader.c: Some checks for premature EOF.
890
891 * 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:
892 Use prototypes if the compiler understands them.
893
894 * src/files.c: Honor TMPDIR on Unix hosts.
895 Use prototypes if the compiler understands them.
896
897 * src/reader.c:
898 Fix a couple of buffer overrun bugs.
899 Use prototypes if the compiler understands them.
900
901 * src/system.h: Include unistd.h and ctype.h.
902 Use #ifdef instead of #if for NLS symbols.
903
9041998-12-30 Jesse Thilo <jthilo@gnu.org>
905
906 * doc/bison.texinfo:
907 Delete comment "consider using @set for edition number, etc..." since
908 we now are doing so.
909
9101998-12-30 Jesse Thilo <jthilo@gnu.org>
911
912 * configure.in:
913 Use prototypes if the compiler understands them.
914
915 * NEWS: Document 1.26 highlights.
916
917 * Makefile.am: Require Automake 1.3 or later.
918
919 * acconfig.h:
920 Use prototypes if the compiler understands them.
921
9221998-12-29 Jesse Thilo <jthilo@gnu.org>
923
924 * src/version.c:
925 Use VERSION symbol from automake for version number.
926
9271998-12-29 Jesse Thilo <jthilo@gnu.org>
928
929 * acconfig.h, configure.in, version.cin:
930 Use VERSION symbol from automake for version number.
931
9321998-11-28 Jesse Thilo <jthilo@gnu.org>
933
934 * Makefile.am:
935 Distribute original version of simple parser (bison.s1), not built
936 version (bison.simple).
937
9381998-11-28 Jesse Thilo <jthilo@gnu.org>
939
940 * doc/bison.texinfo: Add info dir entry.
941
942 * doc/bison.texinfo:
943 Let automake put version number into documentation.
944
9451998-11-26 Jesse Thilo <jthilo@gnu.org>
946
947 * src/bison.cld, src/build.com, src/vmshlp.mar:
948 Add non-RCS files from /gd/gnu/bison.
949
9501998-11-26 Jesse Thilo <jthilo@gnu.org>
951
952 * doc/bison.1:
953 Document the BISON_HAIRY and BISON_SIMPLE variables.
954
9551998-11-25 Jesse Thilo <jthilo@gnu.org>
956
957 * src/version.c: Build version.c automatically.
958
959 * src/reader.c:
960 Fix token numbering (used to start at 258, not 257).
961
962 * src/system.h: Include config.h.
963
964 * src/getargs.c: Update bug report address.
965
966 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
967 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
968
9691998-11-25 Jesse Thilo <jthilo@gnu.org>
970
971 * Makefile.am:
972 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
973
974 * configure.in, version.cin:
975 Build version.c automatically.
976
977 * AUTHORS: Add AUTHORS file.
978
979 * README: Update bug report address.
980
981 * bison.simple:
982 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
983
984 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
985 Add automake stuff.
986
9871998-11-25 Jesse Thilo <jthilo@gnu.org>
988
989 * doc/bison.texinfo: Clean up some formatting.
990
9911998-05-05 Richard Stallman <rms@gnu.org>
992
993 * doc/bison.texinfo:
994 Explain better why to make a pure parser.
995
9961998-01-05 Richard Stallman <rms@gnu.org>
997
998 * src/files.c (openfiles):
999 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1000 find a temporary directory, if possible. Do not unlink files while
1001 they are open.
1002
10031997-08-25 Richard Stallman <rms@gnu.org>
1004
1005 * src/reader.c (stack_offset;):
1006 Change some warni to warns.
1007
1008 * src/lex.c (literalchar): Use warns, not warni.
1009
10101997-06-28 Richard Stallman <rms@gnu.org>
1011
1012 * src/bison.s1: Add a Bison version comment.
1013
1014 * src/main.c (fatal, warn, berror):
1015 Use program_name.
1016
10171997-06-28 Richard Stallman <rms@gnu.org>
1018
1019 * Makefile.in (bison_version): New variable.
1020 (dist): Use that variable.
1021 (bison.s1): Substitute the Bison version into bison.simple.
1022
1023 * bison.simple: Add a Bison version comment.
1024
10251997-06-18 Richard Stallman <rms@gnu.org>
1026
1027 * src/main.c (fatal, warn, berror):
1028 Make error messages standard.
1029 (toomany): Improve error message text.
1030
1031 * 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:
1032 new.h renamed to alloc.h.
1033
10341997-06-18 Richard Stallman <rms@gnu.org>
1035
1036 * Makefile.in: new.h renamed to alloc.h.
1037
10381997-05-24 Richard Stallman <rms@gnu.org>
1039
1040 * src/lex.c (literalchar):
1041 Fix the code for escaping \, " and '.
1042
1043 (lex): Avoid trouble when there are many chars
1044 to discard in a char literal with just several chars in it.
1045
10461997-05-17 Richard Stallman <rms@gnu.org>
1047
1048 * src/bison.s1:
1049 Use malloc, if using alloca is troublesome.
1050 (YYSTACK_USE_ALLOCA): New flag macro.
1051 Define it for some systems and compilers.
1052 (YYSTACK_ALLOC): New macro.
1053 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1054 If it was malloc'd, free it.
1055
10561997-05-17 Richard Stallman <rms@gnu.org>
1057
1058 * bison.simple:
1059 Use malloc, if using alloca is troublesome.
1060 (YYSTACK_USE_ALLOCA): New flag macro.
1061 Define it for some systems and compilers.
1062 (YYSTACK_ALLOC): New macro.
1063 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1064 If it was malloc'd, free it.
1065
10661997-04-23 Richard Stallman <rms@gnu.org>
1067
1068 * src/bison.s1:
1069 (alloca) [__hpux]: Always define as __builtin_alloca.
1070
10711997-04-23 Richard Stallman <rms@gnu.org>
1072
1073 * bison.simple:
1074 (alloca) [__hpux]: Always define as __builtin_alloca.
1075
10761997-04-22 Richard Stallman <rms@gnu.org>
1077
1078 * src/bison.s1:
1079 [__hpux]: Include alloca.h (right for HPUX 10)
1080 instead of declaring alloca (right for HPUX 9).
1081
1082 * src/bison.s1 (__yy_memcpy):
1083 Declare arg `count' as unsigned int.
1084 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1085
10861997-04-22 Richard Stallman <rms@gnu.org>
1087
1088 * bison.simple:
1089 [__hpux]: Include alloca.h (right for HPUX 10)
1090 instead of declaring alloca (right for HPUX 9).
1091
1092 * bison.simple (__yy_memcpy):
1093 Declare arg `count' as unsigned int.
1094 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1095
10961997-01-03 Richard Stallman <rms@gnu.org>
1097
1098 * src/allocate.c: [__STDC__ or _MSC_VER]:
1099 Declare calloc and realloc to return void *.
1100
11011997-01-02 Richard Stallman <rms@gnu.org>
1102
1103 * src/system.h:
1104 [_MSC_VER]: Include stdlib.h and process.h.
1105 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1106
1107 * src/main.c (main): Return FAILURE as a value.
1108 (printable_version): Declare arg as int, not char.
1109
11101997-01-02 Richard Stallman <rms@gnu.org>
1111
1112 * Makefile.in (dist):
1113 Explicitly check for symlinks, and copy them.
1114
11151996-12-19 Richard Stallman <rms@gnu.org>
1116
1117 * src/files.c:
1118 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1119
11201996-12-18 Paul Eggert <eggert@gnu.org>
1121
1122 * src/bison.s1 (yyparse):
1123 If __GNUC__ and YYPARSE_PARAM are both defined,
1124 declare yyparse to have a void * argument.
1125
11261996-12-18 Paul Eggert <eggert@gnu.org>
1127
1128 * bison.simple (yyparse):
1129 If __GNUC__ and YYPARSE_PARAM are both defined,
1130 declare yyparse to have a void * argument.
1131
11321996-12-17 Richard Stallman <rms@gnu.org>
1133
1134 * src/reduce.c (nbits): Add some casts.
1135
11361996-08-12 Richard Stallman <rms@gnu.org>
1137
1138 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1139
11401996-08-12 Richard Stallman <rms@gnu.org>
1141
1142 * bison.simple: Test _MSDOS as well as _MSDOS_.
1143
11441996-07-31 Richard Stallman <rms@gnu.org>
1145
1146 * src/bison.s1:
1147 [__sun && __i386]: Include alloca.h.
1148
11491996-07-31 Richard Stallman <rms@gnu.org>
1150
1151 * bison.simple:
1152 [__sun && __i386]: Include alloca.h.
1153
11541996-07-30 Richard Stallman <rms@gnu.org>
1155
1156 * src/bison.s1: Comment change.
1157
1158 * src/bison.s1: Test _MSDOS_, not MSDOS.
1159
11601996-07-30 Richard Stallman <rms@gnu.org>
1161
1162 * bison.simple: Comment change.
1163
1164 * bison.simple: Test _MSDOS_, not MSDOS.
1165
11661996-06-01 Richard Stallman <rms@gnu.org>
1167
1168 * 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:
1169 Insert `_' macro around many string constants.
1170
1171 * src/main.c:
1172 Insert `_' macro around many string constants.
1173
1174 (main): Call setlocale, bindtextdomain and textdomain.
1175
1176 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1177 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1178 [ENABLE_NLS]: Include libintl.h.
1179 [ENABLE_NLS] (gettext): Define.
1180 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1181 (N_, PACKAGE, LOCALEDIR): New macros.
1182
11831996-06-01 Richard Stallman <rms@gnu.org>
1184
1185 * POTFILES.in: New file.
1186
1187 * Makefile.in (allocate.o):
1188 Define target explicitly.
1189
1190 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1191 (LDFLAGS): Set to @LDFLAGS@.
1192 (configure): Run autoconf only if preceding `cd' succeeds.
1193 (bison.s1): Redirect output to temporary file then move the
1194 temporary to the target, rather than redirecting directly to bison.s1.
1195 (clean): Remove config.status and config.log.
1196 (distclean): Don't remove config.status here.
1197
11981996-05-12 Richard Stallman <rms@gnu.org>
1199
1200 * src/bison.s1:
1201 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1202
12031996-05-12 Richard Stallman <rms@gnu.org>
1204
1205 * bison.simple:
1206 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1207
12081996-05-11 Richard Stallman <rms@gnu.org>
1209
1210 * src/bison.s1 (__yy_memcpy):
1211 Really reorder the args, as was supposedly done on Feb 14 1995.
1212 (yyparse): Calls changed accordingly.
1213
12141996-05-11 Richard Stallman <rms@gnu.org>
1215
1216 * Makefile.in (dist): Don't use $(srcdir).
1217
1218 * bison.simple (__yy_memcpy):
1219 Really reorder the args, as was supposedly done on Feb 14 1995.
1220 (yyparse): Calls changed accordingly.
1221
12221996-01-27 Richard Stallman <rms@gnu.org>
1223
1224 * src/output.c (output_rule_data):
1225 Test YYERROR_VERBOSE in the conditional
1226 around the definition of ttyname.
1227
12281995-12-29 Richard Stallman <rms@gnu.org>
1229
1230 * src/bison.s1:
1231 Fix line numbers in #line commands.
1232
12331995-12-29 Richard Stallman <rms@gnu.org>
1234
1235 * bison.simple:
1236 Fix line numbers in #line commands.
1237
12381995-12-27 Richard Stallman <rms@gnu.org>
1239
1240 * src/bison.s1 (YYPARSE_PARAM_DECL):
1241 In C++, make it always null.
1242 (YYPARSE_PARAM_ARG): New macro.
1243 (yyparse): Use YYPARSE_PARAM_ARG.
1244
12451995-12-27 Richard Stallman <rms@gnu.org>
1246
1247 * bison.simple (YYPARSE_PARAM_DECL):
1248 In C++, make it always null.
1249 (YYPARSE_PARAM_ARG): New macro.
1250 (yyparse): Use YYPARSE_PARAM_ARG.
1251
12521995-11-29 Richard Stallman <rms@gnu.org>
1253
1254 * doc/bison.texinfo:
1255 Describe literal string tokens, %raw, %no_lines, %token_table.
1256
12571995-11-29 Daniel Hagerty <hag@gnu.org>
1258
1259 * doc/bison.texinfo: Fixed update date
1260
12611995-10-16 Richard Stallman <rms@gnu.org>
1262
1263 * src/version.c: Version 1.25.
1264
12651995-10-16 Richard Stallman <rms@gnu.org>
1266
1267 * NEWS: *** empty log message ***
1268
12691995-10-16 Richard Stallman <rms@gnu.org>
1270
1271 * doc/bison.1, doc/bison.rnh:
1272 Add new options.
1273
12741995-10-15 Richard Stallman <rms@gnu.org>
1275
1276 * src/vmsgetargs.c, src/getargs.c:
1277 Added -n, -k, and -raw switches.
1278 (noparserflag, toknumflag, rawtoknumflag): New variables.
1279
1280 * src/symtab.h (SALIAS):
1281 New #define for adding aliases to %token.
1282 (struct bucket): Added `alias' field.
1283
1284 * src/reduce.c (reduce_grammar):
1285 Revise error message.
1286 (print_notices): Remove final `.' from error message.
1287
1288 * src/reader.c (reader_output_yylsp):
1289 New function.
1290 (readgram): Use `#if 0' around code that accepted %command
1291 inside grammar rules: The documentation doesn't allow it,
1292 and it will fail since the %command processors scan for the next %.
1293 (parse_token_decl): Extended the %token
1294 declaration to allow a multi-character symbol as an alias.
1295 (parse_thong_decl): New function.
1296 (read_declarations): Added %thong declarations.
1297 (read_declarations): Handle NOOP to deal with allowing
1298 % declarations as another means to specify the flags.
1299 (readgram): Allow %prec prior to semantics embedded in a rule.
1300 (skip_to_char, read_declarations, copy_definition)
1301 (parse_token_decl, parse_start_decl, parse_type_decl)
1302 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1303 (get_type_name, copy_guard, copy_action, readgram)
1304 (get_type, packsymbols): Revised most error messages.
1305 Changed `fatal' to `warnxxx' to avoid aborting for error.
1306 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1307 (read_declarations): Improve the error message for
1308 an invalid character. Do not abort.
1309 (read_declarations, copy_guard, copy_action): Use
1310 printable_version to avoid unprintable characters in printed output.
1311 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1312 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1313 Allow the type of a non-terminal can be given
1314 more than once, as long as all specifications give the same type.
1315
1316 * src/output.c:
1317 (output_headers, output_trailers, output, output_gram)
1318 (output_rule_data): Implement noparserflag variable.
1319 Implement toknumflag variable.
1320 (output): Call reader_output_yylsp to output LTYPESTR.
1321
1322 * src/main.c (main):
1323 If reader sees an error, don't process the grammar.
1324 (fatals): Updated to not use VARARGS1.
1325 (printable_version, int_to_string, warn, warni, warns, warnss)
1326 (warnsss): New error reporting functions. Avoid abort for error.
1327
1328 * src/lex.h:
1329 Added THONG and NOOP for alias processing.
1330 Added SETOPT for the new code that allows setting options with %flags.
1331
1332 * src/lex.c:
1333 Include getopt.h. Add some extern decls.
1334 (safegetc): New function to deal with EOF gracefully.
1335 (literalchar); new function to deal with reading \ escapes.
1336 (lex): Use literalchar.
1337 (lex): Implemented "..." tokens.
1338 (literalchar, lex, parse_percent_token): Made tokenbuffer
1339 always contain the token. This includes growing the token
1340 buffer while reading an integer.
1341 (parse_percent_token): Replaced if-else statement with percent_table.
1342 (parse_percent_token): Added % declarations as another
1343 way to specify the flags -n, -l, and -r. Also added hooks for
1344 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1345 major changes to files.c.
1346 (lex) Retain in the incoming stream a character following
1347 an incorrect '/'.
1348 (skip_white_space, lex): Revised most error messages
1349 and changed fatal to warn to avoid aborting.
1350 (percent_table): Added %thong declarations.
1351
1352 * src/gram.h: Comment changes.
1353
1354 * src/files.c (openfiles, open_extra_files, done):
1355 Add faction flag
1356 and actfile file. Handle noparserflag. Both for -n switch.
1357
1358 * src/conflicts.c (resolve_sr_conflict):
1359 Remove use of alloca.
1360
13611995-06-01 Jim Meyering <meyering@gnu.org>
1362
1363 * doc/bison.texinfo: *** empty log message ***
1364
13651995-05-06 Richard Stallman <rms@gnu.org>
1366
1367 * src/bison.s1: Comment change.
1368
13691995-05-06 Richard Stallman <rms@gnu.org>
1370
1371 * bison.simple: Comment change.
1372
13731995-05-03 Richard Stallman <rms@gnu.org>
1374
1375 * src/version.c: Version now 1.24.
1376
1377 * src/bison.s1: Change distribution terms.
1378
1379 * src/version.c: Version now 1.23.
1380
13811995-05-03 Richard Stallman <rms@gnu.org>
1382
1383 * doc/bison.texinfo:
1384 Rewrite "Conditions for Using Bison".
1385 Update version to 1.24.
1386
13871995-05-03 Richard Stallman <rms@gnu.org>
1388
1389 * bison.simple: Change distribution terms.
1390
13911995-02-23 Richard Stallman <rms@gnu.org>
1392
1393 * src/files.c: Test __VMS_POSIX as well as VMS.
1394
13951995-02-14 Jim Meyering <meyering@gnu.org>
1396
1397 * src/bison.s1 (__yy_memcpy):
1398 Renamed from __yy_bcopy to avoid
1399 confusion. Reverse FROM and TO arguments to be consistent with
1400 those of memcpy.
1401
14021995-02-14 Jim Meyering <meyering@gnu.org>
1403
1404 * bison.simple (__yy_memcpy):
1405 Renamed from __yy_bcopy to avoid
1406 confusion. Reverse FROM and TO arguments to be consistent with
1407 those of memcpy.
1408
14091994-11-10 David J. MacKenzie <djm@gnu.org>
1410
1411 * NEWS: reformat
1412
1413 * NEWS: New file.
1414
1415 * Makefile.in (DISTFILES): Include NEWS.
1416
1417 * Makefile.in (DISTFILES):
1418 Include install-sh, not install.sh.
1419
1420 * configure.in: Update to Autoconf v2 macro names.
1421
14221994-10-05 David J. MacKenzie <djm@gnu.org>
1423
1424 * Makefile.in: fix typo
1425
1426 * Makefile.in (prefix, exec_prefix):
1427 Let configure set them.
1428
14291994-09-28 David J. MacKenzie <djm@gnu.org>
1430
1431 * Makefile.in: Set datadir to $(prefix)/share.
1432
14331994-09-15 Richard Stallman <rms@gnu.org>
1434
1435 * src/bison.s1:
1436 Update copyright notice and GPL version.
1437
14381994-09-15 Richard Stallman <rms@gnu.org>
1439
1440 * bison.simple:
1441 Update copyright notice and GPL version.
1442
14431994-07-12 Richard Stallman <rms@gnu.org>
1444
1445 * src/reduce.c, src/reader.c:
1446 entered into RCS
1447
14481994-05-05 David J. MacKenzie <djm@gnu.org>
1449
1450 * Makefile.in: entered into RCS
1451
14521994-03-26 Richard Stallman <rms@gnu.org>
1453
1454 * src/bison.s1: entered into RCS
1455
14561994-03-26 Richard Stallman <rms@gnu.org>
1457
1458 * bison.simple: entered into RCS
1459
14601994-03-25 Richard Stallman <rms@gnu.org>
1461
1462 * src/main.c: entered into RCS
1463
14641994-03-24 Richard Stallman <rms@gnu.org>
1465
1466 * src/conflicts.c: entered into RCS
1467
14681994-01-02 Richard Stallman <rms@gnu.org>
1469
1470 * Makefile.in: *** empty log message ***
1471
14721993-11-21 Richard Stallman <rms@gnu.org>
1473
1474 * src/bison.s1: *** empty log message ***
1475
14761993-11-21 Richard Stallman <rms@gnu.org>
1477
1478 * doc/bison.texinfo: entered into RCS
1479
1480 * doc/bison.texinfo: *** empty log message ***
1481
14821993-11-21 Richard Stallman <rms@gnu.org>
1483
1484 * bison.simple: *** empty log message ***
1485
14861993-10-25 David J. MacKenzie <djm@gnu.org>
1487
1488 * doc/bison.texinfo: *** empty log message ***
1489
14901993-10-19 Richard Stallman <rms@gnu.org>
1491
1492 * src/bison.s1: *** empty log message ***
1493
14941993-10-19 Richard Stallman <rms@gnu.org>
1495
1496 * bison.simple: *** empty log message ***
1497
14981993-10-14 Richard Stallman <rms@gnu.org>
1499
1500 * src/bison.s1: *** empty log message ***
1501
15021993-10-14 Richard Stallman <rms@gnu.org>
1503
1504 * bison.simple: *** empty log message ***
1505
15061993-09-14 David J. MacKenzie <djm@gnu.org>
1507
1508 * doc/bison.texinfo: *** empty log message ***
1509
15101993-09-13 Noah Friedman <friedman@gnu.org>
1511
1512 * Makefile.in: *** empty log message ***
1513
15141993-09-10 Richard Stallman <rms@gnu.org>
1515
1516 * src/conflicts.c: *** empty log message ***
1517
1518 * src/system.h: entered into RCS
1519
15201993-09-10 Richard Stallman <rms@gnu.org>
1521
1522 * doc/bison.1: entered into RCS
1523
15241993-09-06 Noah Friedman <friedman@gnu.org>
1525
1526 * src/version.c: entered into RCS
1527
15281993-09-06 Noah Friedman <friedman@gnu.org>
1529
1530 * Makefile.in: *** empty log message ***
1531
15321993-07-30 David J. MacKenzie <djm@gnu.org>
1533
1534 * Makefile.in: *** empty log message ***
1535
15361993-07-24 Richard Stallman <rms@gnu.org>
1537
1538 * src/bison.s1: *** empty log message ***
1539
15401993-07-24 Richard Stallman <rms@gnu.org>
1541
1542 * bison.simple: *** empty log message ***
1543
15441993-07-08 David J. MacKenzie <djm@gnu.org>
1545
1546 * Makefile.in: *** empty log message ***
1547
15481993-07-04 Richard Stallman <rms@gnu.org>
1549
1550 * src/bison.s1: *** empty log message ***
1551
15521993-07-04 Richard Stallman <rms@gnu.org>
1553
1554 * bison.simple: *** empty log message ***
1555
15561993-06-26 David J. MacKenzie <djm@gnu.org>
1557
1558 * src/getargs.c: entered into RCS
1559
15601993-06-26 David J. MacKenzie <djm@gnu.org>
1561
1562 * doc/bison.texinfo: *** empty log message ***
1563
1564 * doc/bison.1: New file.
1565
15661993-06-25 Richard Stallman <rms@gnu.org>
1567
1568 * src/getargs.c: New file.
1569
15701993-06-16 Richard Stallman <rms@gnu.org>
1571
1572 * src/bison.s1: *** empty log message ***
1573
15741993-06-16 Richard Stallman <rms@gnu.org>
1575
1576 * bison.simple: *** empty log message ***
1577
15781993-06-03 Richard Stallman <rms@gnu.org>
1579
1580 * src/bison.s1: New file.
1581
15821993-06-03 Richard Stallman <rms@gnu.org>
1583
1584 * doc/bison.texinfo: *** empty log message ***
1585
15861993-06-03 Richard Stallman <rms@gnu.org>
1587
1588 * bison.simple: New file.
1589
15901993-05-19 Richard Stallman <rms@gnu.org>
1591
1592 * doc/bison.texinfo: New file.
1593
15941993-05-07 Noah Friedman <friedman@gnu.org>
1595
1596 * Makefile.in: *** empty log message ***
1597
15981993-04-28 Noah Friedman <friedman@gnu.org>
1599
1600 * src/reader.c: *** empty log message ***
1601
16021993-04-23 Noah Friedman <friedman@gnu.org>
1603
1604 * src/alloc.h: entered into RCS
1605
16061993-04-20 David J. MacKenzie <djm@gnu.org>
1607
1608 * src/version.c: *** empty log message ***
1609
1610 * src/files.c, src/allocate.c:
1611 entered into RCS
1612
1613 * src/reader.c: *** empty log message ***
1614
1615 * src/lex.c: entered into RCS
1616
1617 * src/conflicts.c: New file.
1618
1619 * src/symtab.c: entered into RCS
1620
1621 * src/alloc.h: New file.
1622
1623 * src/LR0.c: entered into RCS
1624
16251993-04-18 Noah Friedman <friedman@gnu.org>
1626
1627 * src/reader.c: New file.
1628
1629 * src/version.c: *** empty log message ***
1630
16311993-04-18 Noah Friedman <friedman@gnu.org>
1632
1633 * Makefile.in: *** empty log message ***
1634
16351993-04-17 Noah Friedman <friedman@gnu.org>
1636
1637 * Makefile.in: *** empty log message ***
1638
16391993-04-15 Richard Stallman <rms@gnu.org>
1640
1641 * src/main.c, src/files.c:
1642 New file.
1643
16441993-04-15 Noah Friedman <friedman@gnu.org>
1645
1646 * configure.in: entered into RCS
1647
1648 * configure.in: *** empty log message ***
1649
1650 * configure.in: New file.
1651
16521993-04-14 Richard Stallman <rms@gnu.org>
1653
1654 * Makefile.in: New file.
1655
16561993-04-13 Richard Stallman <rms@gnu.org>
1657
1658 * src/version.c: New file.
1659
16601993-03-25 Richard Stallman <rms@gnu.org>
1661
1662 * src/output.c: entered into RCS
1663
16641992-09-25 Richard Stallman <rms@gnu.org>
1665
1666 * configure.bat: entered into RCS
1667
16681992-06-22 Richard Stallman <rms@gnu.org>
1669
1670 * src/vmsgetargs.c: entered into RCS
1671
16721992-06-22 Richard Stallman <rms@gnu.org>
1673
1674 * doc/bison.rnh: entered into RCS
1675
16761992-04-20 David J. MacKenzie <djm@gnu.org>
1677
1678 * README: entered into RCS
1679
16801992-01-22 Richard Stallman <rms@gnu.org>
1681
1682 * src/machine.h: entered into RCS
1683
16841991-12-21 Richard Stallman <rms@gnu.org>
1685
1686 * src/lalr.c, src/closure.c:
1687 entered into RCS
1688
16891991-12-20 Richard Stallman <rms@gnu.org>
1690
1691 * src/state.h: entered into RCS
1692
16931991-12-18 Richard Stallman <rms@gnu.org>
1694
1695 * src/print.c, src/nullable.c, src/derives.c:
1696 entered into RCS
1697
16981991-11-03 David J. MacKenzie <djm@gnu.org>
1699
1700 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1701 entered into RCS
1702
17031988-09-09 Richard Stallman <rms@gnu.org>
1704
1705 * src/bison.hairy: entered into RCS
1706
17071987-12-16 Richard Stallman <rms@gnu.org>
1708
1709 * REFERENCES: entered into RCS