]> git.saurik.com Git - bison.git/blame_incremental - ChangeLog
* src/reader.c (copy_comment2): Expect the input stream to be on
[bison.git] / ChangeLog
... / ...
CommitLineData
12000-10-16 Akim Demaille <akim@epita.fr>
2
3 * src/reader.c (copy_comment2): Expect the input stream to be on
4 the `/' which is suspected to open a comment, instead of being
5 called after `//' or `/*' was read.
6 (copy_comment, copy_definition, parse_union_decl, copy_action)
7 (copy_guard): Adjust.
8
9
102000-10-16 Akim Demaille <akim@epita.fr>
11
12 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
13 `read_signed_integer'.
14
15
162000-10-16 Akim Demaille <akim@epita.fr>
17
18 * src/reader.c (copy_dollar): New function.
19 (copy_guard, copy_action): Use it.
20
21
222000-10-16 Akim Demaille <akim@epita.fr>
23
24 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
25 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
26 New files, from Fileutils 4.0.27.
27 * src/main.c (printable_version): Remove.
28 * src/lex.c, src/reader.c: Use `quote'.
29
302000-10-04 Akim Demaille <akim@epita.fr>
31
32 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
33
342000-10-04 Akim Demaille <akim@epita.fr>
35
36 * doc/bison.texinfo: Various typos spotted by Neil Booth.
37
382000-10-04 Akim Demaille <akim@epita.fr>
39
40 When a literal string is used to define two different tokens,
41 `bison -v' segfaults.
42 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
43
44 * tests/regression.m4: New file.
45 Include the core of the sample provided by Piotr Gackiewicz.
46 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
47 properly.
48
492000-10-04 Akim Demaille <akim@epita.fr>
50
51 * src/reader.c (parse_expect_decl): Keep `count' within the size
52 of `buffer'.
53 From Neil Booth.
54
552000-10-02 Paul Eggert <eggert@twinsun.com>
56
57 * bison.s1 (yyparse): Assign the default value
58 unconditionally, to avoid a GCC warning and make the parser a
59 tad smaller.
60
612000-10-02 Akim Demaille <akim@epita.fr>
62
63 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
64 options.
65
662000-10-02 Akim Demaille <akim@epita.fr>
67
68 * src/derives.c, src/print.c, src/reduce.c: To ease the
69 translation, move some `\n' out of the translated strings.
70
712000-10-02 Akim Demaille <akim@epita.fr>
72
73 The location tracking mechanism is precious for parse error
74 messages. Nevertheless, it is enabled only when `@n' is used in
75 the grammar, which is a different issue (you can use it in error
76 message, but not in the grammar per se). Therefore, there should
77 be another means to enable it.
78
79 * src/getargs.c (getargs): Support `--locations'.
80 (usage): Report it.
81 * src/getargs.h (locationsflag): Export it.
82 * src/lex.c (percent_table): Support `%locations'.
83 * src/reader.c (yylsp_needed): Remove this variable, now replaced
84 with `locationsflag'.
85 * doc/bison.texinfo: Document `--locations' and `%locations'.
86 Sort the options.
87 * tests/calc.m4: Test it.
88
89 For regularity of the names, replace each
90 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
91 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
92 In addition replace each `flag' with `_flag'.
93
942000-10-02 Akim Demaille <akim@epita.fr>
95
96 Also test parse error messages, including with YYERROR_VERBOSE.
97
98 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
99 associative).
100 Use it to check the computations.
101 Use it to check `nonassoc' is honored.
102 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
103 `--yyerror-verbose'.
104 (_AT_CHECK_CALC): Adjust to this option.
105 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
106
1072000-10-02 Akim Demaille <akim@epita.fr>
108
109 Test also `--verbose', `--defines' and `--name-prefix'. Testing
110 the latter demonstrates a flaw in the handling of non debugging
111 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
112 was used in order to simplify:
113
114 #if YYDEBUG
115 if (yydebug)
116 {
117 ...
118 }
119 #endif
120
121 into
122
123 if (yydebug)
124 {
125 ...
126 }
127
128 unfortunately this leads to a CPP conflict when
129 `--name-prefix=foo' is used since it produces `#define yydebug
130 foodebug'.
131
132 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
133 (YYDPRINTF): New macro.
134 Spread its use.
135 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
136 the bison options.
137 Also test `--verbose', `--defines' and `--name-prefix'.
138
1392000-10-02 Akim Demaille <akim@epita.fr>
140
141 Improve the readability of the produced parsers.
142
143 * src/bison.s1: Formatting changes.
144 Improve the comment related to the `$' mark.
145 (yydefault): Don't fall through to `yyresume': `goto' there.
146 * src/output.c (output_parser): When the `$' is met, skip the end
147 of its line.
148 New variable, `number_of_dollar_signs', to check there's exactly
149 one `$' in the parser skeleton.
150
1512000-10-02 Akim Demaille <akim@epita.fr>
152
153 * lib/xstrdup.c: New file, from the fileutils.
154 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
155 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
156 instead of strlen + xmalloc + strcpy.
157 * src/symtab.c (copys): Remove, use xstrdup instead.
158
1592000-10-02 Akim Demaille <akim@epita.fr>
160
161 * src/gram.h (associativity): New enum type which replaces the
162 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
163 `right_assoc', `left_assoc' and `non_assoc'.
164 Adjust all dependencies.
165 * src/reader.c: Formatting changes.
166 (LTYPESTR): Don't define it, use it as a literal in
167 `reader_output_yylsp'.
168 * src/symtab.h (symbol_class): New enum type which replaces the
169 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
170 `sunknown', `stoken and `snterm'.
171
1722000-10-02 Akim Demaille <akim@epita.fr>
173
174 * src/getargs.c (fixed_outfiles): Rename as...
175 (yaccflag): for consistency and accuracy.
176 Adjust dependencies.
177
1782000-10-02 Akim Demaille <akim@epita.fr>
179
180 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
181 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
182 difficult and introduced a lot of core dump. It turns out that
183 Bison used an implementation of `xmalloc' based on `calloc', and
184 at various places it does depend upon the initialization to 0. I
185 have not tried to isolate the pertinent places, and all the former
186 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
187 someone should address this issue.
188
189 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
190 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
191 files.
192 Adjust dependencies.
193 * src/warshall.h: New file.
194 Propagate.
195
1962000-10-02 Akim Demaille <akim@epita.fr>
197
198 Various anti-`extern in *.c' changes.
199
200 * src/system.h: Include `assert.h'.
201
2022000-10-02 Akim Demaille <akim@epita.fr>
203
204 * src/state.h (nstates, final_state, first_state, first_shift)
205 (first_reduction): Move their exportation from here...
206 * src/LR0.h: to here.
207 Adjust dependencies.
208 * src/getargs.c (statisticsflag): New variable.
209 Add support for `--statistics'.
210 Adjust dependencies.
211
212 Remove a lot of now useless `extern' statements in most files.
213
2142000-10-02 Akim Demaille <akim@epita.fr>
215
216 * src/LR0.h: New file.
217 Propagate its use.
218
2192000-10-02 Akim Demaille <akim@epita.fr>
220
221 * src/print.h: New file.
222 Propagate its use.
223 * src/print.c: Formatting and ordering changes.
224 (verbose, terse): Replace with...
225 (print_results): this new function.
226 Adjust dependencies.
227
2282000-10-02 Akim Demaille <akim@epita.fr>
229
230 * src/conflicts.c (conflict_report): New function.
231 (conflict_log, verbose_conflict_log): Replace with...
232 (print_conflicts): this function.
233 Adjust dependencies.
234 * src/conflicts.h: New file.
235 Propagate its inclusion.
236
2372000-10-02 Akim Demaille <akim@epita.fr>
238
239 * src/nullable.h: New file.
240 Propagate its inclusion.
241 * src/nullable.c: Formatting changes.
242
2432000-10-02 Akim Demaille <akim@epita.fr>
244
245 * src/reduce.h: New file.
246 Propagate its inclusion.
247 * src/reduce.c: Topological sort and other formatting changes.
248 (bool, TRUE, FALSE): Move their definition to...
249 * src/system.h: here.
250
2512000-10-02 Akim Demaille <akim@epita.fr>
252
253 * src/files.c: Formatting changes.
254 (tryopen, tryclose, openfiles): Rename as...
255 (xfopen, xfclose, open_files): this.
256 (stringappend): static.
257 * src/files.h: Complete the list of exported symbols.
258 Propagate its use.
259
2602000-10-02 Akim Demaille <akim@epita.fr>
261
262 * src/reader.h: New file.
263 Propagate its use instead of tedious list of `extern' and
264 prototypes.
265 * src/reader.c: Formatting changes, topological sort,
266 s/register//.
267
2682000-10-02 Akim Demaille <akim@epita.fr>
269
270 * src/lex.h: Prototype `lex.c' exported functions.
271 * src/reader.c: Adjust.
272 * src/lex.c: Formatting changes.
273 (safegetc): Rename as...
274 (xgetc): this.
275
2762000-10-02 Akim Demaille <akim@epita.fr>
277
278 * src/lalr.h: New file.
279 Propagate its inclusion instead of prototypes and `extern'.
280 * src/lalr.c: Formatting changes, topological sorting etc.
281
2822000-10-02 Akim Demaille <akim@epita.fr>
283
284 * src/output.c (token_actions): Introduce a temporary array,
285 YYDEFACT, that makes it possible for this function to use
286 output_short_table.
287
2882000-10-02 Akim Demaille <akim@epita.fr>
289
290 `user_toknums' is output as a `short[]' in `output.c', while it is
291 defined as a `int[]' in `reader.c'. For consistency with the
292 other output tables, `user_toknums' is now defined as a table of
293 shorts.
294
295 * src/reader.c (user_toknums): Be a short table instead of an int
296 table.
297 Adjust dependencies.
298
299 Factor the short table outputs.
300
301 * src/output.c (output_short_table): New function.
302 * src/output.c (output_gram, output_stos, output_rule_data)
303 (output_base, output_table, output_check): Use it.
304
3052000-10-02 Akim Demaille <akim@epita.fr>
306
307 * src/output.c (output): Topological sort of the functions, in
308 order to get rid of the `static' prototypes.
309 No longer use `register'.
310 * src/output.h: New file.
311 Propagate its inclusion in files explicitly prototyping functions
312 from output.c.
313
3142000-09-21 Akim Demaille <akim@epita.fr>
315
316 * src/atgeneral.m4: Update from Autoconf.
317
3182000-09-21 Akim Demaille <akim@epita.fr>
319
320 * src/closure.h: New file.
321 * src/closure.c: Formatting changes, topological sort over the
322 functions, use of closure.h.
323 (initialize_closure, finalize_closure): Rename as...
324 (new_closure, free_closure): these. Adjust dependencies.
325 * src/LR0.c: Formatting changes, topological sort, use of
326 cloture.h.
327 (initialize_states): Rename as...
328 (new_states): this.
329 * src/Makefile.am (noinst_HEADERS): Adjust.
330
3312000-09-20 Akim Demaille <akim@epita.fr>
332
333 * src/acconfig.h: Don't protect config.h against multiple
334 inclusion.
335 Don't define PARAMS.
336 * src/system.h: Define PARAMS.
337 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
338 purpose of config.h. system.h must not try to fix wrong
339 definitions in config.h.
340
3412000-09-20 Akim Demaille <akim@epita.fr>
342
343 * src/derives.h: New file.
344 * src/main.c, src/derives.h: Use it.
345 Formatting changes.
346 * src/Makefile.am (noinst_HEADERS): Adjust.
347
3482000-09-20 Akim Demaille <akim@epita.fr>
349
350 * tests/atgeneral.m4: Update from Autoconf.
351 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
352 (AT_CHECK_CALC): New macros.
353 Use these macros to test bison with options `', `--raw',
354 `--debug', `--yacc', `--yacc --debug'.
355
3562000-09-19 Akim Demaille <akim@epita.fr>
357
358 * src/output.c: Formatting changes.
359 * src/machine.h: Remove, leaving its contents in...
360 * src/system.h: here.
361 Include stdio.h.
362 Adjust all dependencies on stdio.h and machine.h.
363 * src/getargs.h: New file.
364 Let all `extern' declarations about getargs.c be replaced with
365 inclusion of `getargs.h'.
366 * src/Makefile.am (noinst_HEADERS): Adjust.
367
368 * tests/calc.m4 (yyin): Be initialized in main, not on the global
369 scope.
370 (yyerror): Returns void, not int.
371 * doc/bison.texinfo: Formatting changes.
372
3732000-09-19 Akim Demaille <akim@epita.fr>
374
375 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
376 portable.
377
3782000-09-18 Akim Demaille <akim@epita.fr>
379
380 * configure.in: Append WARNING_CFLAGS to CFLAGS.
381 * src/Makefile.am (INCLUDES): Don't.
382 Be ready to fetch headers in lib/.
383
3842000-09-18 Akim Demaille <akim@epita.fr>
385
386 * doc/bison.texinfo: Update the copyright.
387 ANSIfy and GNUify the examples.
388 Remove the old menu.
389
3902000-09-18 Akim Demaille <akim@epita.fr>
391
392 First set of tests: use the `calc' example from the documentation.
393
394 * src/bison.s1 (yyparse): Condition the code using `yytname' which
395 is defined only when YYDEBUG is.
396 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
397 * src/files.c (tryopen, tryclose): Formatting changes.
398 Move to the top and be static.
399 * src/reader.c (read_signed_integer): Likewise.
400 * tests/calc.m4: New file.
401 * Makefile.am, suite.m4: Adjust.
402 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
403
4042000-09-18 Akim Demaille <akim@epita.fr>
405
406 Add support for an Autotest test suite for Bison.
407
408 * m4/m4.m4, m4/atconfig.m4: New files.
409 * m4/Makefile.am (EXTRA_DIST): Adjust.
410 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
411 files.
412 * src/getargs.c: Display a more standard --version message.
413 * src/reader.c (reader): Formatting changes.
414 No longer depend upon VERSION_STRING.
415 * configure.in: No longer use `dnl'.
416 Set up the test suite and the new directory `tests/.
417 (VERSION_STRING): Remove.
418
4192000-04-14 Akim Demaille <akim@epita.fr>
420
421 * src/reader.c (copy_comment2): New function, same as former
422 `copy_comment', but outputs into two FILE *.
423 (copy_comment): Use it.
424 (parse_union_decl): Use it.
425 (get_type, parse_start_decl): Use the same `invalid' message.
426 (parse_start_decl, parse_union_decl): Use the same `multiple'
427 message.
428 (parse_union_decl, copy_guard, copy_action): Use the same
429 `unmatched' message.
430 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
431
4322000-03-31 Akim Demaille <akim@epita.fr>
433
434 * src/files.c (tryopen, tryclose): Move to the top.
435 Be static.
436
4372000-03-31 Akim Demaille <akim@epita.fr>
438
439 * src/main.c (main): Don't call `done', exit does it.
440
4412000-03-31 Akim Demaille <akim@epita.fr>
442
443 * allocate.c: s/return (foo)/return foo/.
444 * lalr.c: Likewise.
445 * LR0.c: Likewise.
446 * output.c: Likewise.
447 * reader.c: Likewise.
448 * symtab.c: Likewise.
449 * vmsgetargs.c: Likewise.
450
4512000-03-31 Akim Demaille <akim@epita.fr>
452
453 Clean up the error reporting functions.
454
455 * src/report.c: New file.
456 * src/report.h: Likewise.
457 * src/Makefile.am: Adjust.
458 * m4/error.m4: New file.
459 * m4/Makefile.am: Adjust.
460 * configure.in (jm_PREREQ_ERROR): Call it.
461 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
462 Remove.
463 (fatal, fatals): Remove. All callers use complain.c::fatal.
464 (warn, warni, warns, warnss, warnss): Remove. All callers use
465 complain.c::complain.
466 (toomany): Remove, use fatal instead.
467 * src/files.c (done): No argument, use complain_message_count.
468 * src/main.c (main): Register `done' to `atexit'.
469
470 * src/getargs.c (usage): More `fputs', less `fprintf'.
471
4722000-03-28 Akim Demaille <akim@epita.fr>
473
474 * lib/: New directory.
475 * Makefile.am (SUBDIRS): Adjust.
476 * configure.in: Adjust.
477 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
478 useless.
479 * src/alloca.c: Moved to lib/.
480 * src/getopt.c: Likewise.
481 * src/getopt1.c: Likewise.
482 * src/getopt.h: Likewise.
483 * src/ansi2knr.c: Likewise.
484 * src/ansi2knr.1: Likewise.
485 * src/Makefile.am: Adjust.
486 * lib/Makefile.am: New file.
487
4882000-03-28 Akim Demaille <akim@epita.fr>
489
490 * src/getargs.c (usage): Refresh the help message.
491
4922000-03-17 Akim Demaille <akim@epita.fr>
493
494 * src/getopt1.c: Updated from textutils 2.0e
495 * src/getopt.c: Likewise.
496 * src/getopt.h: Likewise.
497
4982000-03-17 Akim Demaille <akim@epita.fr>
499
500 * src/Makefile.am (bison.simple): Fix the awk program: quote only
501 the file name, not the whole `#line LINE FILE'.
502
5032000-03-17 Akim Demaille <akim@epita.fr>
504
505 On syntax errors, report the token on which we choked.
506
507 * src/bison.s1 (yyparse): In the label yyerrlab, when
508 YYERROR_VERBOSE, add yychar in msg.
509
5102000-03-17 Akim Demaille <akim@epita.fr>
511
512 * src/reader.c (copy_at): New function.
513 (copy_guard): Use it.
514 (copy_action): Use it.
515
5162000-03-17 Akim Demaille <akim@epita.fr>
517
518 Be kind to translators, save some useless translations.
519
520 * src/main.c (banner): New function.
521 (fatal_banner): Use it.
522 (warn_banner): Use it.
523
5242000-03-17 Akim Demaille <akim@epita.fr>
525
526 * src/reader.c (copy_definition): Use copy_string and
527 copy_comment. Removed now unused `match', `ended',
528 `cplus_comment'.
529 (copy_comment, copy_string): Moved, to be visible from
530 copy_definition.
531
5322000-03-17 Akim Demaille <akim@epita.fr>
533
534 * src/reader.c (copy_string): Declare `static inline'. No
535 problems with inline, since it is checked by configure.
536 (copy_comment): Likewise.
537
5382000-03-17 Akim Demaille <akim@epita.fr>
539
540 * src/reader.c (packsymbols): Formatting changes.
541
5422000-03-17 Akim Demaille <akim@epita.fr>
543
544 * src/reader.c (copy_comment): New function, factored out from:
545 (copy_action): Use it. Removed now unused `match', `ended',
546 `cplus_comment'.
547 (copy_guard): Likewise.
548
5492000-03-17 Akim Demaille <akim@epita.fr>
550
551 * src/reader.c (copy_string): New function, factored out from:
552 (copy_action): Use it.
553 (copy_guard): Likewise.
554
5552000-03-17 Akim Demaille <akim@epita.fr>
556
557 Change the handling of @s so that they behave exactly like $s.
558 There is now a pseudo variable @$ (readble and writable), location
559 of the lhs of the rule (by default ranging from the location of
560 the first symbol of the rhs, to the location of the last symbol,
561 or, if the rhs is empty, YYLLOC).
562
563 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
564 yyval.
565 (yyparse): When providing a default semantic action, provide a
566 default location action.
567 (after the $): No longer change `*YYLSP', just stack YYLOC the
568 same way you stack YYVAL.
569 * src/reader.c (read_declarations): Use warns.
570 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
571 (copy_action, case '@'): Likewise.
572 Use a standard error message, to save useless work from
573 translators.
574
5752000-03-17 Akim Demaille <akim@epita.fr>
576
577 * src/bison.s1: Formatting and cosmetics changes.
578 * src/reader.c: Likewise.
579 Update the Copyright notice.
580
5812000-03-17 Akim Demaille <akim@epita.fr>
582
583 * src/bison.s1 (#line): All set to `#line' only, since the
584 Makefile now handles them.
585
5862000-03-16 Akim Demaille <akim@epita.fr>
587
588 * src/output.c (output_rule_data): Output the documentation of
589 some of the tables.
590 (Copyright notice): Update.
591 Formatting changes.
592
5932000-03-16 Akim Demaille <akim@epita.fr>
594
595 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
596 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
597 One `#if YYDEBUG' remains, since it uses variables which are
598 defined only if `YYDEBUG != 0'.
599
6002000-03-16 Akim Demaille <akim@epita.fr>
601
602 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
603 and related variables so that the similarities are highlighted.
604
6052000-03-16 Akim Demaille <akim@epita.fr>
606
607 * src/bison.s1: Properly indent CPP directives.
608
6092000-03-16 Akim Demaille <akim@epita.fr>
610
611 * src/bison.s1: Properly indent the `alloca' CPP section.
612
6132000-03-16 Akim Demaille <akim@epita.fr>
614
615 Do not hard code values of directories in `configure.in'.
616 Update the `configure' tool chain.
617
618 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
619 src/makefile.am.
620 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
621 (AC_OUTPUT): Add m4/Makefile.
622 Bump to bison 1.28a, 1.29 has never been released.
623 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
624 handled via src/Makefile.am.
625 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
626 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
627 autoheader.
628 * Makefile.am (SUBDIRS): Add m4.
629 (ACLOCAL_AM_FLAGS): New variable.
630 (AUTOMAKE_OPTIONS): Add check-news.
631 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
632 the proper line number and file name.
633 (DEFS): Propagate the location of bison library files and of the
634 locale files.
635 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
636 builddir.
637 * acinclude.m4: Remove, replaced by the directory m4.
638 * m4/Makefile.am (EXTRA_DIST): New variable.
639 * m4/gettext.m4: New file, from the fileutils.
640 * m4/lcmessage.m4: Likewise
641 * m4/progtest.m4: Likewise.
642 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
643
6442000-03-10 Akim Demaille <akim@epita.fr>
645
646 * src/closure.c:
647 Formatting changes of various comments.
648 Respect the GNU coding standards at various places.
649 Don't use `_()' when no translation is needed.
650
6511999-12-13 Jesse Thilo <jthilo@gnu.org>
652
653 * src/files.c:
654 OS/2 honors TMPDIR environment variable.
655
6561999-12-13 Jesse Thilo <jthilo@gnu.org>
657
658 * doc/bison.texinfo: Tweaked spelling and grammar.
659 Updated ISBN.
660 Removed reference to price of printed copy.
661 Mention BISON_SIMPLE and BISON_HAIRY.
662
6631999-12-13 Jesse Thilo <jthilo@gnu.org>
664
665 * configure.in, NEWS:
666 Bison 1.29 released.
667
6681999-10-27 Jesse Thilo <jthilo@gnu.org>
669
670 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
671 Added reference card.
672
6731999-07-26 Jesse Thilo <jthilo@gnu.org>
674
675 * po/ru.po: Added Russian translation.
676
6771999-07-26 Jesse Thilo <jthilo@gnu.org>
678
679 * configure.in: Added Russian translation.
680
6811999-07-06 Jesse Thilo <jthilo@gnu.org>
682
683 * configure.in, NEWS, README:
684 Released version 1.28.
685
6861999-06-14 Jesse Thilo <jthilo@gnu.org>
687
688 * src/system.h:
689 Squashed redefinition warning on some systems.
690
691 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
692 Have configure build version string instead of relying on ANSI string
693 concatentation.
694
6951999-06-14 Jesse Thilo <jthilo@gnu.org>
696
697 * po/POTFILES.in: Got rid of version.c.
698
6991999-06-14 Jesse Thilo <jthilo@gnu.org>
700
701 * acconfig.h, configure.in:
702 Have configure build version string instead of relying on ANSI string
703 concatentation.
704
7051999-06-08 Jesse Thilo <jthilo@gnu.org>
706
707 * doc/bison.1:
708 Dropped mention of `+' for long-named options.
709
7101999-05-30 Jesse Thilo <jthilo@gnu.org>
711
712 * src/files.c: Added <unistd.h> for unlink().
713
714 * src/Makefile.am, src/system.h:
715 I18n fixes.
716
7171999-05-30 Jesse Thilo <jthilo@gnu.org>
718
719 * README: Added a FAQ list.
720
721 * configure.in, acconfig.h:
722 I18n fixes.
723
7241999-05-30 Jesse Thilo <jthilo@gnu.org>
725
726 * doc/FAQ, doc/Makefile.am:
727 Added a FAQ list.
728
7291999-05-19 Jesse Thilo <jthilo@gnu.org>
730
731 * src/alloc.h, src/symtab.h, src/version.c:
732 Protected inclusion of "config.h" with HAVE_CONFIG_H.
733
7341999-04-18 Jesse Thilo <jthilo@gnu.org>
735
736 * src/.cvsignore, src/Makefile.am:
737 Reorganized: sources in `src', documentation in `doc'.
738
739 * src/lex.c (literalchar):
740 fixed the code for escaping double quotes (thanks
741 Jonathan Czisny.)
742
7431999-04-18 Jesse Thilo <jthilo@gnu.org>
744
745 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
746 Adjusted paths to reflect directory reorganization.
747
7481999-04-18 Jesse Thilo <jthilo@gnu.org>
749
750 * doc/.cvsignore, doc/Makefile.am:
751 Reorganized: sources in `src', documentation in `doc'.
752
7531999-04-18 Jesse Thilo <jthilo@gnu.org>
754
755 * configure.in:
756 Updated AC_INIT file to reflect directory reorganization.
757
758 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
759 Reorganized: sources in `src', documentation in `doc'.
760
7611999-04-13 Jesse Thilo <jthilo@gnu.org>
762
763 * src/allocate.c:
764 Don't declare calloc() and realloc() if not necessary.
765
7661999-04-13 Jesse Thilo <jthilo@gnu.org>
767
768 * configure.in, acconfig.h, acinclude.m4:
769 Don't declare calloc() and realloc() if not necessary.
770
7711999-03-23 Jesse Thilo <jthilo@gnu.org>
772
773 * po/.cvsignore: Added i18n support.
774
7751999-03-23 Jesse Thilo <jthilo@gnu.org>
776
777 * acconfig.h, configure.in, Makefile.am:
778 Added i18n support.
779
7801999-03-22 Jesse Thilo <jthilo@gnu.org>
781
782 * src/bison.s1: Fixed #line numbers.
783
7841999-03-15 Jesse Thilo <jthilo@gnu.org>
785
786 * po/es.po, po/fr.po, po/nl.po, po/de.po:
787 Added PO files from Translation Project.
788
7891999-03-03 Jesse Thilo <jthilo@gnu.org>
790
791 * Makefile.am:
792 Added support for non-ANSI compilers (ansi2knr).
793
7941999-02-16 Jesse Thilo <jthilo@gnu.org>
795
796 * configure.in: Bumped version number to 1.27.
797
798 * Makefile.am:
799 Added `bison.simple' to list of files removed by `make distclean'.
800
8011999-02-12 Jesse Thilo <jthilo@gnu.org>
802
803 * src/files.c, src/files.h:
804 Defined locations of parser files in config.h instead of Makefile.
805
8061999-02-12 Jesse Thilo <jthilo@gnu.org>
807
808 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
809 Defined locations of parser files in config.h instead of Makefile.
810
8111999-02-09 Jesse Thilo <jthilo@gnu.org>
812
813 * Makefile.am:
814 Removed inappropriate use of $< macro.
815
8161999-02-05 Jesse Thilo <jthilo@gnu.org>
817
818 * po/Makefile.in.in, po/POTFILES.in:
819 Add `po' directory skeleton.
820
8211999-01-27 Jesse Thilo <jthilo@gnu.org>
822
823 * README: Document help-bison list.
824
825 * configure.in: Add check for mkstemp().
826
8271999-01-20 Jesse Thilo <jthilo@gnu.org>
828
829 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
830 Hush a few compiler warnings.
831
832 * src/files.c:
833 Add tryclose(), which verifies that fclose was successful.
834 Hush a couple of compiler warnings.
835
8361999-01-20 Jesse Thilo <jthilo@gnu.org>
837
838 * Makefile.am, OChangeLog:
839 ChangeLog is now automatically generated. Include the old version as
840 OChangeLog.
841
8421999-01-14 Jesse Thilo <jthilo@gnu.org>
843
844 * 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:
845 Update FSF address.
846
8471999-01-14 Jesse Thilo <jthilo@gnu.org>
848
849 * doc/bison.texinfo: Fix formatting glitch.
850
851 * doc/bison.texinfo: Update FSF address.
852
8531999-01-14 Jesse Thilo <jthilo@gnu.org>
854
855 * acconfig.h: Update FSF address.
856
8571999-01-08 Jesse Thilo <jthilo@gnu.org>
858
859 * src/system.h:
860 Don't define PACKAGE here, since config.h defines it.
861
8621998-12-30 Jesse Thilo <jthilo@gnu.org>
863
864 * src/reader.c: Update copyright date.
865
866 * src/main.c:
867 Ditch sprintf to statically-sized buffers in fatal/warn functions in
868 favor of output directly to stderr (avoids buffer overruns).
869
870 * src/reader.c: Some checks for premature EOF.
871
872 * 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:
873 Use prototypes if the compiler understands them.
874
875 * src/files.c: Honor TMPDIR on Unix hosts.
876 Use prototypes if the compiler understands them.
877
878 * src/reader.c:
879 Fix a couple of buffer overrun bugs.
880 Use prototypes if the compiler understands them.
881
882 * src/system.h: Include unistd.h and ctype.h.
883 Use #ifdef instead of #if for NLS symbols.
884
8851998-12-30 Jesse Thilo <jthilo@gnu.org>
886
887 * doc/bison.texinfo:
888 Delete comment "consider using @set for edition number, etc..." since
889 we now are doing so.
890
8911998-12-30 Jesse Thilo <jthilo@gnu.org>
892
893 * configure.in:
894 Use prototypes if the compiler understands them.
895
896 * NEWS: Document 1.26 highlights.
897
898 * Makefile.am: Require Automake 1.3 or later.
899
900 * acconfig.h:
901 Use prototypes if the compiler understands them.
902
9031998-12-29 Jesse Thilo <jthilo@gnu.org>
904
905 * src/version.c:
906 Use VERSION symbol from automake for version number.
907
9081998-12-29 Jesse Thilo <jthilo@gnu.org>
909
910 * acconfig.h, configure.in, version.cin:
911 Use VERSION symbol from automake for version number.
912
9131998-11-28 Jesse Thilo <jthilo@gnu.org>
914
915 * Makefile.am:
916 Distribute original version of simple parser (bison.s1), not built
917 version (bison.simple).
918
9191998-11-28 Jesse Thilo <jthilo@gnu.org>
920
921 * doc/bison.texinfo: Add info dir entry.
922
923 * doc/bison.texinfo:
924 Let automake put version number into documentation.
925
9261998-11-26 Jesse Thilo <jthilo@gnu.org>
927
928 * src/bison.cld, src/build.com, src/vmshlp.mar:
929 Add non-RCS files from /gd/gnu/bison.
930
9311998-11-26 Jesse Thilo <jthilo@gnu.org>
932
933 * doc/bison.1:
934 Document the BISON_HAIRY and BISON_SIMPLE variables.
935
9361998-11-25 Jesse Thilo <jthilo@gnu.org>
937
938 * src/version.c: Build version.c automatically.
939
940 * src/reader.c:
941 Fix token numbering (used to start at 258, not 257).
942
943 * src/system.h: Include config.h.
944
945 * src/getargs.c: Update bug report address.
946
947 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
948 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
949
9501998-11-25 Jesse Thilo <jthilo@gnu.org>
951
952 * Makefile.am:
953 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
954
955 * configure.in, version.cin:
956 Build version.c automatically.
957
958 * AUTHORS: Add AUTHORS file.
959
960 * README: Update bug report address.
961
962 * bison.simple:
963 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
964
965 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
966 Add automake stuff.
967
9681998-11-25 Jesse Thilo <jthilo@gnu.org>
969
970 * doc/bison.texinfo: Clean up some formatting.
971
9721998-05-05 Richard Stallman <rms@gnu.org>
973
974 * doc/bison.texinfo:
975 Explain better why to make a pure parser.
976
9771998-01-05 Richard Stallman <rms@gnu.org>
978
979 * src/files.c (openfiles):
980 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
981 find a temporary directory, if possible. Do not unlink files while
982 they are open.
983
9841997-08-25 Richard Stallman <rms@gnu.org>
985
986 * src/reader.c (stack_offset;):
987 Change some warni to warns.
988
989 * src/lex.c (literalchar): Use warns, not warni.
990
9911997-06-28 Richard Stallman <rms@gnu.org>
992
993 * src/bison.s1: Add a Bison version comment.
994
995 * src/main.c (fatal, warn, berror):
996 Use program_name.
997
9981997-06-28 Richard Stallman <rms@gnu.org>
999
1000 * Makefile.in (bison_version): New variable.
1001 (dist): Use that variable.
1002 (bison.s1): Substitute the Bison version into bison.simple.
1003
1004 * bison.simple: Add a Bison version comment.
1005
10061997-06-18 Richard Stallman <rms@gnu.org>
1007
1008 * src/main.c (fatal, warn, berror):
1009 Make error messages standard.
1010 (toomany): Improve error message text.
1011
1012 * 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:
1013 new.h renamed to alloc.h.
1014
10151997-06-18 Richard Stallman <rms@gnu.org>
1016
1017 * Makefile.in: new.h renamed to alloc.h.
1018
10191997-05-24 Richard Stallman <rms@gnu.org>
1020
1021 * src/lex.c (literalchar):
1022 Fix the code for escaping \, " and '.
1023
1024 (lex): Avoid trouble when there are many chars
1025 to discard in a char literal with just several chars in it.
1026
10271997-05-17 Richard Stallman <rms@gnu.org>
1028
1029 * src/bison.s1:
1030 Use malloc, if using alloca is troublesome.
1031 (YYSTACK_USE_ALLOCA): New flag macro.
1032 Define it for some systems and compilers.
1033 (YYSTACK_ALLOC): New macro.
1034 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1035 If it was malloc'd, free it.
1036
10371997-05-17 Richard Stallman <rms@gnu.org>
1038
1039 * bison.simple:
1040 Use malloc, if using alloca is troublesome.
1041 (YYSTACK_USE_ALLOCA): New flag macro.
1042 Define it for some systems and compilers.
1043 (YYSTACK_ALLOC): New macro.
1044 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1045 If it was malloc'd, free it.
1046
10471997-04-23 Richard Stallman <rms@gnu.org>
1048
1049 * src/bison.s1:
1050 (alloca) [__hpux]: Always define as __builtin_alloca.
1051
10521997-04-23 Richard Stallman <rms@gnu.org>
1053
1054 * bison.simple:
1055 (alloca) [__hpux]: Always define as __builtin_alloca.
1056
10571997-04-22 Richard Stallman <rms@gnu.org>
1058
1059 * src/bison.s1:
1060 [__hpux]: Include alloca.h (right for HPUX 10)
1061 instead of declaring alloca (right for HPUX 9).
1062
1063 * src/bison.s1 (__yy_memcpy):
1064 Declare arg `count' as unsigned int.
1065 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1066
10671997-04-22 Richard Stallman <rms@gnu.org>
1068
1069 * bison.simple:
1070 [__hpux]: Include alloca.h (right for HPUX 10)
1071 instead of declaring alloca (right for HPUX 9).
1072
1073 * bison.simple (__yy_memcpy):
1074 Declare arg `count' as unsigned int.
1075 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1076
10771997-01-03 Richard Stallman <rms@gnu.org>
1078
1079 * src/allocate.c: [__STDC__ or _MSC_VER]:
1080 Declare calloc and realloc to return void *.
1081
10821997-01-02 Richard Stallman <rms@gnu.org>
1083
1084 * src/system.h:
1085 [_MSC_VER]: Include stdlib.h and process.h.
1086 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1087
1088 * src/main.c (main): Return FAILURE as a value.
1089 (printable_version): Declare arg as int, not char.
1090
10911997-01-02 Richard Stallman <rms@gnu.org>
1092
1093 * Makefile.in (dist):
1094 Explicitly check for symlinks, and copy them.
1095
10961996-12-19 Richard Stallman <rms@gnu.org>
1097
1098 * src/files.c:
1099 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1100
11011996-12-18 Paul Eggert <eggert@gnu.org>
1102
1103 * src/bison.s1 (yyparse):
1104 If __GNUC__ and YYPARSE_PARAM are both defined,
1105 declare yyparse to have a void * argument.
1106
11071996-12-18 Paul Eggert <eggert@gnu.org>
1108
1109 * bison.simple (yyparse):
1110 If __GNUC__ and YYPARSE_PARAM are both defined,
1111 declare yyparse to have a void * argument.
1112
11131996-12-17 Richard Stallman <rms@gnu.org>
1114
1115 * src/reduce.c (nbits): Add some casts.
1116
11171996-08-12 Richard Stallman <rms@gnu.org>
1118
1119 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1120
11211996-08-12 Richard Stallman <rms@gnu.org>
1122
1123 * bison.simple: Test _MSDOS as well as _MSDOS_.
1124
11251996-07-31 Richard Stallman <rms@gnu.org>
1126
1127 * src/bison.s1:
1128 [__sun && __i386]: Include alloca.h.
1129
11301996-07-31 Richard Stallman <rms@gnu.org>
1131
1132 * bison.simple:
1133 [__sun && __i386]: Include alloca.h.
1134
11351996-07-30 Richard Stallman <rms@gnu.org>
1136
1137 * src/bison.s1: Comment change.
1138
1139 * src/bison.s1: Test _MSDOS_, not MSDOS.
1140
11411996-07-30 Richard Stallman <rms@gnu.org>
1142
1143 * bison.simple: Comment change.
1144
1145 * bison.simple: Test _MSDOS_, not MSDOS.
1146
11471996-06-01 Richard Stallman <rms@gnu.org>
1148
1149 * 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:
1150 Insert `_' macro around many string constants.
1151
1152 * src/main.c:
1153 Insert `_' macro around many string constants.
1154
1155 (main): Call setlocale, bindtextdomain and textdomain.
1156
1157 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1158 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1159 [ENABLE_NLS]: Include libintl.h.
1160 [ENABLE_NLS] (gettext): Define.
1161 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1162 (N_, PACKAGE, LOCALEDIR): New macros.
1163
11641996-06-01 Richard Stallman <rms@gnu.org>
1165
1166 * POTFILES.in: New file.
1167
1168 * Makefile.in (allocate.o):
1169 Define target explicitly.
1170
1171 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1172 (LDFLAGS): Set to @LDFLAGS@.
1173 (configure): Run autoconf only if preceding `cd' succeeds.
1174 (bison.s1): Redirect output to temporary file then move the
1175 temporary to the target, rather than redirecting directly to bison.s1.
1176 (clean): Remove config.status and config.log.
1177 (distclean): Don't remove config.status here.
1178
11791996-05-12 Richard Stallman <rms@gnu.org>
1180
1181 * src/bison.s1:
1182 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1183
11841996-05-12 Richard Stallman <rms@gnu.org>
1185
1186 * bison.simple:
1187 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1188
11891996-05-11 Richard Stallman <rms@gnu.org>
1190
1191 * src/bison.s1 (__yy_memcpy):
1192 Really reorder the args, as was supposedly done on Feb 14 1995.
1193 (yyparse): Calls changed accordingly.
1194
11951996-05-11 Richard Stallman <rms@gnu.org>
1196
1197 * Makefile.in (dist): Don't use $(srcdir).
1198
1199 * bison.simple (__yy_memcpy):
1200 Really reorder the args, as was supposedly done on Feb 14 1995.
1201 (yyparse): Calls changed accordingly.
1202
12031996-01-27 Richard Stallman <rms@gnu.org>
1204
1205 * src/output.c (output_rule_data):
1206 Test YYERROR_VERBOSE in the conditional
1207 around the definition of ttyname.
1208
12091995-12-29 Richard Stallman <rms@gnu.org>
1210
1211 * src/bison.s1:
1212 Fix line numbers in #line commands.
1213
12141995-12-29 Richard Stallman <rms@gnu.org>
1215
1216 * bison.simple:
1217 Fix line numbers in #line commands.
1218
12191995-12-27 Richard Stallman <rms@gnu.org>
1220
1221 * src/bison.s1 (YYPARSE_PARAM_DECL):
1222 In C++, make it always null.
1223 (YYPARSE_PARAM_ARG): New macro.
1224 (yyparse): Use YYPARSE_PARAM_ARG.
1225
12261995-12-27 Richard Stallman <rms@gnu.org>
1227
1228 * bison.simple (YYPARSE_PARAM_DECL):
1229 In C++, make it always null.
1230 (YYPARSE_PARAM_ARG): New macro.
1231 (yyparse): Use YYPARSE_PARAM_ARG.
1232
12331995-11-29 Richard Stallman <rms@gnu.org>
1234
1235 * doc/bison.texinfo:
1236 Describe literal string tokens, %raw, %no_lines, %token_table.
1237
12381995-11-29 Daniel Hagerty <hag@gnu.org>
1239
1240 * doc/bison.texinfo: Fixed update date
1241
12421995-10-16 Richard Stallman <rms@gnu.org>
1243
1244 * src/version.c: Version 1.25.
1245
12461995-10-16 Richard Stallman <rms@gnu.org>
1247
1248 * NEWS: *** empty log message ***
1249
12501995-10-16 Richard Stallman <rms@gnu.org>
1251
1252 * doc/bison.1, doc/bison.rnh:
1253 Add new options.
1254
12551995-10-15 Richard Stallman <rms@gnu.org>
1256
1257 * src/vmsgetargs.c, src/getargs.c:
1258 Added -n, -k, and -raw switches.
1259 (noparserflag, toknumflag, rawtoknumflag): New variables.
1260
1261 * src/symtab.h (SALIAS):
1262 New #define for adding aliases to %token.
1263 (struct bucket): Added `alias' field.
1264
1265 * src/reduce.c (reduce_grammar):
1266 Revise error message.
1267 (print_notices): Remove final `.' from error message.
1268
1269 * src/reader.c (reader_output_yylsp):
1270 New function.
1271 (readgram): Use `#if 0' around code that accepted %command
1272 inside grammar rules: The documentation doesn't allow it,
1273 and it will fail since the %command processors scan for the next %.
1274 (parse_token_decl): Extended the %token
1275 declaration to allow a multi-character symbol as an alias.
1276 (parse_thong_decl): New function.
1277 (read_declarations): Added %thong declarations.
1278 (read_declarations): Handle NOOP to deal with allowing
1279 % declarations as another means to specify the flags.
1280 (readgram): Allow %prec prior to semantics embedded in a rule.
1281 (skip_to_char, read_declarations, copy_definition)
1282 (parse_token_decl, parse_start_decl, parse_type_decl)
1283 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1284 (get_type_name, copy_guard, copy_action, readgram)
1285 (get_type, packsymbols): Revised most error messages.
1286 Changed `fatal' to `warnxxx' to avoid aborting for error.
1287 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1288 (read_declarations): Improve the error message for
1289 an invalid character. Do not abort.
1290 (read_declarations, copy_guard, copy_action): Use
1291 printable_version to avoid unprintable characters in printed output.
1292 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1293 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1294 Allow the type of a non-terminal can be given
1295 more than once, as long as all specifications give the same type.
1296
1297 * src/output.c:
1298 (output_headers, output_trailers, output, output_gram)
1299 (output_rule_data): Implement noparserflag variable.
1300 Implement toknumflag variable.
1301 (output): Call reader_output_yylsp to output LTYPESTR.
1302
1303 * src/main.c (main):
1304 If reader sees an error, don't process the grammar.
1305 (fatals): Updated to not use VARARGS1.
1306 (printable_version, int_to_string, warn, warni, warns, warnss)
1307 (warnsss): New error reporting functions. Avoid abort for error.
1308
1309 * src/lex.h:
1310 Added THONG and NOOP for alias processing.
1311 Added SETOPT for the new code that allows setting options with %flags.
1312
1313 * src/lex.c:
1314 Include getopt.h. Add some extern decls.
1315 (safegetc): New function to deal with EOF gracefully.
1316 (literalchar); new function to deal with reading \ escapes.
1317 (lex): Use literalchar.
1318 (lex): Implemented "..." tokens.
1319 (literalchar, lex, parse_percent_token): Made tokenbuffer
1320 always contain the token. This includes growing the token
1321 buffer while reading an integer.
1322 (parse_percent_token): Replaced if-else statement with percent_table.
1323 (parse_percent_token): Added % declarations as another
1324 way to specify the flags -n, -l, and -r. Also added hooks for
1325 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1326 major changes to files.c.
1327 (lex) Retain in the incoming stream a character following
1328 an incorrect '/'.
1329 (skip_white_space, lex): Revised most error messages
1330 and changed fatal to warn to avoid aborting.
1331 (percent_table): Added %thong declarations.
1332
1333 * src/gram.h: Comment changes.
1334
1335 * src/files.c (openfiles, open_extra_files, done):
1336 Add faction flag
1337 and actfile file. Handle noparserflag. Both for -n switch.
1338
1339 * src/conflicts.c (resolve_sr_conflict):
1340 Remove use of alloca.
1341
13421995-06-01 Jim Meyering <meyering@gnu.org>
1343
1344 * doc/bison.texinfo: *** empty log message ***
1345
13461995-05-06 Richard Stallman <rms@gnu.org>
1347
1348 * src/bison.s1: Comment change.
1349
13501995-05-06 Richard Stallman <rms@gnu.org>
1351
1352 * bison.simple: Comment change.
1353
13541995-05-03 Richard Stallman <rms@gnu.org>
1355
1356 * src/version.c: Version now 1.24.
1357
1358 * src/bison.s1: Change distribution terms.
1359
1360 * src/version.c: Version now 1.23.
1361
13621995-05-03 Richard Stallman <rms@gnu.org>
1363
1364 * doc/bison.texinfo:
1365 Rewrite "Conditions for Using Bison".
1366 Update version to 1.24.
1367
13681995-05-03 Richard Stallman <rms@gnu.org>
1369
1370 * bison.simple: Change distribution terms.
1371
13721995-02-23 Richard Stallman <rms@gnu.org>
1373
1374 * src/files.c: Test __VMS_POSIX as well as VMS.
1375
13761995-02-14 Jim Meyering <meyering@gnu.org>
1377
1378 * src/bison.s1 (__yy_memcpy):
1379 Renamed from __yy_bcopy to avoid
1380 confusion. Reverse FROM and TO arguments to be consistent with
1381 those of memcpy.
1382
13831995-02-14 Jim Meyering <meyering@gnu.org>
1384
1385 * bison.simple (__yy_memcpy):
1386 Renamed from __yy_bcopy to avoid
1387 confusion. Reverse FROM and TO arguments to be consistent with
1388 those of memcpy.
1389
13901994-11-10 David J. MacKenzie <djm@gnu.org>
1391
1392 * NEWS: reformat
1393
1394 * NEWS: New file.
1395
1396 * Makefile.in (DISTFILES): Include NEWS.
1397
1398 * Makefile.in (DISTFILES):
1399 Include install-sh, not install.sh.
1400
1401 * configure.in: Update to Autoconf v2 macro names.
1402
14031994-10-05 David J. MacKenzie <djm@gnu.org>
1404
1405 * Makefile.in: fix typo
1406
1407 * Makefile.in (prefix, exec_prefix):
1408 Let configure set them.
1409
14101994-09-28 David J. MacKenzie <djm@gnu.org>
1411
1412 * Makefile.in: Set datadir to $(prefix)/share.
1413
14141994-09-15 Richard Stallman <rms@gnu.org>
1415
1416 * src/bison.s1:
1417 Update copyright notice and GPL version.
1418
14191994-09-15 Richard Stallman <rms@gnu.org>
1420
1421 * bison.simple:
1422 Update copyright notice and GPL version.
1423
14241994-07-12 Richard Stallman <rms@gnu.org>
1425
1426 * src/reduce.c, src/reader.c:
1427 entered into RCS
1428
14291994-05-05 David J. MacKenzie <djm@gnu.org>
1430
1431 * Makefile.in: entered into RCS
1432
14331994-03-26 Richard Stallman <rms@gnu.org>
1434
1435 * src/bison.s1: entered into RCS
1436
14371994-03-26 Richard Stallman <rms@gnu.org>
1438
1439 * bison.simple: entered into RCS
1440
14411994-03-25 Richard Stallman <rms@gnu.org>
1442
1443 * src/main.c: entered into RCS
1444
14451994-03-24 Richard Stallman <rms@gnu.org>
1446
1447 * src/conflicts.c: entered into RCS
1448
14491994-01-02 Richard Stallman <rms@gnu.org>
1450
1451 * Makefile.in: *** empty log message ***
1452
14531993-11-21 Richard Stallman <rms@gnu.org>
1454
1455 * src/bison.s1: *** empty log message ***
1456
14571993-11-21 Richard Stallman <rms@gnu.org>
1458
1459 * doc/bison.texinfo: entered into RCS
1460
1461 * doc/bison.texinfo: *** empty log message ***
1462
14631993-11-21 Richard Stallman <rms@gnu.org>
1464
1465 * bison.simple: *** empty log message ***
1466
14671993-10-25 David J. MacKenzie <djm@gnu.org>
1468
1469 * doc/bison.texinfo: *** empty log message ***
1470
14711993-10-19 Richard Stallman <rms@gnu.org>
1472
1473 * src/bison.s1: *** empty log message ***
1474
14751993-10-19 Richard Stallman <rms@gnu.org>
1476
1477 * bison.simple: *** empty log message ***
1478
14791993-10-14 Richard Stallman <rms@gnu.org>
1480
1481 * src/bison.s1: *** empty log message ***
1482
14831993-10-14 Richard Stallman <rms@gnu.org>
1484
1485 * bison.simple: *** empty log message ***
1486
14871993-09-14 David J. MacKenzie <djm@gnu.org>
1488
1489 * doc/bison.texinfo: *** empty log message ***
1490
14911993-09-13 Noah Friedman <friedman@gnu.org>
1492
1493 * Makefile.in: *** empty log message ***
1494
14951993-09-10 Richard Stallman <rms@gnu.org>
1496
1497 * src/conflicts.c: *** empty log message ***
1498
1499 * src/system.h: entered into RCS
1500
15011993-09-10 Richard Stallman <rms@gnu.org>
1502
1503 * doc/bison.1: entered into RCS
1504
15051993-09-06 Noah Friedman <friedman@gnu.org>
1506
1507 * src/version.c: entered into RCS
1508
15091993-09-06 Noah Friedman <friedman@gnu.org>
1510
1511 * Makefile.in: *** empty log message ***
1512
15131993-07-30 David J. MacKenzie <djm@gnu.org>
1514
1515 * Makefile.in: *** empty log message ***
1516
15171993-07-24 Richard Stallman <rms@gnu.org>
1518
1519 * src/bison.s1: *** empty log message ***
1520
15211993-07-24 Richard Stallman <rms@gnu.org>
1522
1523 * bison.simple: *** empty log message ***
1524
15251993-07-08 David J. MacKenzie <djm@gnu.org>
1526
1527 * Makefile.in: *** empty log message ***
1528
15291993-07-04 Richard Stallman <rms@gnu.org>
1530
1531 * src/bison.s1: *** empty log message ***
1532
15331993-07-04 Richard Stallman <rms@gnu.org>
1534
1535 * bison.simple: *** empty log message ***
1536
15371993-06-26 David J. MacKenzie <djm@gnu.org>
1538
1539 * src/getargs.c: entered into RCS
1540
15411993-06-26 David J. MacKenzie <djm@gnu.org>
1542
1543 * doc/bison.texinfo: *** empty log message ***
1544
1545 * doc/bison.1: New file.
1546
15471993-06-25 Richard Stallman <rms@gnu.org>
1548
1549 * src/getargs.c: New file.
1550
15511993-06-16 Richard Stallman <rms@gnu.org>
1552
1553 * src/bison.s1: *** empty log message ***
1554
15551993-06-16 Richard Stallman <rms@gnu.org>
1556
1557 * bison.simple: *** empty log message ***
1558
15591993-06-03 Richard Stallman <rms@gnu.org>
1560
1561 * src/bison.s1: New file.
1562
15631993-06-03 Richard Stallman <rms@gnu.org>
1564
1565 * doc/bison.texinfo: *** empty log message ***
1566
15671993-06-03 Richard Stallman <rms@gnu.org>
1568
1569 * bison.simple: New file.
1570
15711993-05-19 Richard Stallman <rms@gnu.org>
1572
1573 * doc/bison.texinfo: New file.
1574
15751993-05-07 Noah Friedman <friedman@gnu.org>
1576
1577 * Makefile.in: *** empty log message ***
1578
15791993-04-28 Noah Friedman <friedman@gnu.org>
1580
1581 * src/reader.c: *** empty log message ***
1582
15831993-04-23 Noah Friedman <friedman@gnu.org>
1584
1585 * src/alloc.h: entered into RCS
1586
15871993-04-20 David J. MacKenzie <djm@gnu.org>
1588
1589 * src/version.c: *** empty log message ***
1590
1591 * src/files.c, src/allocate.c:
1592 entered into RCS
1593
1594 * src/reader.c: *** empty log message ***
1595
1596 * src/lex.c: entered into RCS
1597
1598 * src/conflicts.c: New file.
1599
1600 * src/symtab.c: entered into RCS
1601
1602 * src/alloc.h: New file.
1603
1604 * src/LR0.c: entered into RCS
1605
16061993-04-18 Noah Friedman <friedman@gnu.org>
1607
1608 * src/reader.c: New file.
1609
1610 * src/version.c: *** empty log message ***
1611
16121993-04-18 Noah Friedman <friedman@gnu.org>
1613
1614 * Makefile.in: *** empty log message ***
1615
16161993-04-17 Noah Friedman <friedman@gnu.org>
1617
1618 * Makefile.in: *** empty log message ***
1619
16201993-04-15 Richard Stallman <rms@gnu.org>
1621
1622 * src/main.c, src/files.c:
1623 New file.
1624
16251993-04-15 Noah Friedman <friedman@gnu.org>
1626
1627 * configure.in: entered into RCS
1628
1629 * configure.in: *** empty log message ***
1630
1631 * configure.in: New file.
1632
16331993-04-14 Richard Stallman <rms@gnu.org>
1634
1635 * Makefile.in: New file.
1636
16371993-04-13 Richard Stallman <rms@gnu.org>
1638
1639 * src/version.c: New file.
1640
16411993-03-25 Richard Stallman <rms@gnu.org>
1642
1643 * src/output.c: entered into RCS
1644
16451992-09-25 Richard Stallman <rms@gnu.org>
1646
1647 * configure.bat: entered into RCS
1648
16491992-06-22 Richard Stallman <rms@gnu.org>
1650
1651 * src/vmsgetargs.c: entered into RCS
1652
16531992-06-22 Richard Stallman <rms@gnu.org>
1654
1655 * doc/bison.rnh: entered into RCS
1656
16571992-04-20 David J. MacKenzie <djm@gnu.org>
1658
1659 * README: entered into RCS
1660
16611992-01-22 Richard Stallman <rms@gnu.org>
1662
1663 * src/machine.h: entered into RCS
1664
16651991-12-21 Richard Stallman <rms@gnu.org>
1666
1667 * src/lalr.c, src/closure.c:
1668 entered into RCS
1669
16701991-12-20 Richard Stallman <rms@gnu.org>
1671
1672 * src/state.h: entered into RCS
1673
16741991-12-18 Richard Stallman <rms@gnu.org>
1675
1676 * src/print.c, src/nullable.c, src/derives.c:
1677 entered into RCS
1678
16791991-11-03 David J. MacKenzie <djm@gnu.org>
1680
1681 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1682 entered into RCS
1683
16841988-09-09 Richard Stallman <rms@gnu.org>
1685
1686 * src/bison.hairy: entered into RCS
1687
16881987-12-16 Richard Stallman <rms@gnu.org>
1689
1690 * REFERENCES: entered into RCS