]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/reader.c (parse_expect_decl): Keep `count' within the size
[bison.git] / ChangeLog
CommitLineData
a9e64249
AD
12000-10-04 Akim Demaille <akim@epita.fr>
2
3 * src/reader.c (parse_expect_decl): Keep `count' within the size
4 of `buffer'.
5 From Neil Booth.
6
da9abf43
AD
72000-10-02 Paul Eggert <eggert@twinsun.com>
8
9 * bison.s1 (yyparse): Assign the default value
10 unconditionally, to avoid a GCC warning and make the parser a
11 tad smaller.
12
c33638bb
AD
132000-10-02 Akim Demaille <akim@epita.fr>
14
15 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
16 options.
17
444c570a
AD
182000-10-02 Akim Demaille <akim@epita.fr>
19
20 * src/derives.c, src/print.c, src/reduce.c: To ease the
21 translation, move some `\n' out of the translated strings.
22
89cab50d
AD
232000-10-02 Akim Demaille <akim@epita.fr>
24
25 The location tracking mechanism is precious for parse error
26 messages. Nevertheless, it is enabled only when `@n' is used in
27 the grammar, which is a different issue (you can use it in error
28 message, but not in the grammar per se). Therefore, there should
29 be another means to enable it.
30
31 * src/getargs.c (getargs): Support `--locations'.
32 (usage): Report it.
33 * src/getargs.h (locationsflag): Export it.
34 * src/lex.c (percent_table): Support `%locations'.
35 * src/reader.c (yylsp_needed): Remove this variable, now replaced
36 with `locationsflag'.
37 * doc/bison.texinfo: Document `--locations' and `%locations'.
38 Sort the options.
39 * tests/calc.m4: Test it.
40
41 For regularity of the names, replace each
42 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
43 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
44 In addition replace each `flag' with `_flag'.
45
d6c2cba0
AD
462000-10-02 Akim Demaille <akim@epita.fr>
47
48 Also test parse error messages, including with YYERROR_VERBOSE.
49
50 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
51 associative).
52 Use it to check the computations.
53 Use it to check `nonassoc' is honored.
54 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
55 `--yyerror-verbose'.
56 (_AT_CHECK_CALC): Adjust to this option.
57 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
58
5a35a6cb
AD
592000-10-02 Akim Demaille <akim@epita.fr>
60
61 Test also `--verbose', `--defines' and `--name-prefix'. Testing
62 the latter demonstrates a flaw in the handling of non debugging
63 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
64 was used in order to simplify:
65
66 #if YYDEBUG
67 if (yydebug)
68 {
69 ...
70 }
71 #endif
72
73 into
74
75 if (yydebug)
76 {
77 ...
78 }
79
80 unfortunately this leads to a CPP conflict when
81 `--name-prefix=foo' is used since it produces `#define yydebug
82 foodebug'.
83
84 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
85 (YYDPRINTF): New macro.
86 Spread its use.
87 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
88 the bison options.
89 Also test `--verbose', `--defines' and `--name-prefix'.
90
71da9eea
AD
912000-10-02 Akim Demaille <akim@epita.fr>
92
93 Improve the readability of the produced parsers.
94
95 * src/bison.s1: Formatting changes.
96 Improve the comment related to the `$' mark.
97 (yydefault): Don't fall through to `yyresume': `goto' there.
98 * src/output.c (output_parser): When the `$' is met, skip the end
99 of its line.
100 New variable, `number_of_dollar_signs', to check there's exactly
101 one `$' in the parser skeleton.
102
95e36146
AD
1032000-10-02 Akim Demaille <akim@epita.fr>
104
105 * lib/xstrdup.c: New file, from the fileutils.
106 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
107 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
108 instead of strlen + xmalloc + strcpy.
109 * src/symtab.c (copys): Remove, use xstrdup instead.
110
d7020c20
AD
1112000-10-02 Akim Demaille <akim@epita.fr>
112
113 * src/gram.h (associativity): New enum type which replaces the
114 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
115 `right_assoc', `left_assoc' and `non_assoc'.
116 Adjust all dependencies.
117 * src/reader.c: Formatting changes.
118 (LTYPESTR): Don't define it, use it as a literal in
119 `reader_output_yylsp'.
120 * src/symtab.h (symbol_class): New enum type which replaces the
121 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
122 `sunknown', `stoken and `snterm'.
123
1916f98e
AD
1242000-10-02 Akim Demaille <akim@epita.fr>
125
126 * src/getargs.c (fixed_outfiles): Rename as...
127 (yaccflag): for consistency and accuracy.
128 Adjust dependencies.
129
d7913476
AD
1302000-10-02 Akim Demaille <akim@epita.fr>
131
132 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
133 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
134 difficult and introduced a lot of core dump. It turns out that
135 Bison used an implementation of `xmalloc' based on `calloc', and
136 at various places it does depend upon the initialization to 0. I
137 have not tried to isolate the pertinent places, and all the former
138 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
139 someone should address this issue.
140
141 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
142 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
143 files.
144 Adjust dependencies.
145 * src/warshall.h: New file.
146 Propagate.
147
340ef489
AD
1482000-10-02 Akim Demaille <akim@epita.fr>
149
150 Various anti-`extern in *.c' changes.
151
152 * src/system.h: Include `assert.h'.
153
b2ca4022
AD
1542000-10-02 Akim Demaille <akim@epita.fr>
155
156 * src/state.h (nstates, final_state, first_state, first_shift)
157 (first_reduction): Move their exportation from here...
158 * src/LR0.h: to here.
159 Adjust dependencies.
160 * src/getargs.c (statisticsflag): New variable.
161 Add support for `--statistics'.
162 Adjust dependencies.
163
164 Remove a lot of now useless `extern' statements in most files.
165
403b315b
AD
1662000-10-02 Akim Demaille <akim@epita.fr>
167
168 * src/LR0.h: New file.
169 Propagate its use.
170
07a58c13
AD
1712000-10-02 Akim Demaille <akim@epita.fr>
172
173 * src/print.h: New file.
174 Propagate its use.
175 * src/print.c: Formatting and ordering changes.
176 (verbose, terse): Replace with...
177 (print_results): this new function.
178 Adjust dependencies.
179
0619caf0
AD
1802000-10-02 Akim Demaille <akim@epita.fr>
181
182 * src/conflicts.c (conflict_report): New function.
183 (conflict_log, verbose_conflict_log): Replace with...
184 (print_conflicts): this function.
185 Adjust dependencies.
186 * src/conflicts.h: New file.
187 Propagate its inclusion.
188
3519ec76
AD
1892000-10-02 Akim Demaille <akim@epita.fr>
190
191 * src/nullable.h: New file.
192 Propagate its inclusion.
193 * src/nullable.c: Formatting changes.
194
015acc48
AD
1952000-10-02 Akim Demaille <akim@epita.fr>
196
197 * src/reduce.h: New file.
198 Propagate its inclusion.
199 * src/reduce.c: Topological sort and other formatting changes.
200 (bool, TRUE, FALSE): Move their definition to...
201 * src/system.h: here.
202
8963a27b
AD
2032000-10-02 Akim Demaille <akim@epita.fr>
204
205 * src/files.c: Formatting changes.
206 (tryopen, tryclose, openfiles): Rename as...
207 (xfopen, xfclose, open_files): this.
208 (stringappend): static.
209 * src/files.h: Complete the list of exported symbols.
210 Propagate its use.
211
a70083a3
AD
2122000-10-02 Akim Demaille <akim@epita.fr>
213
214 * src/reader.h: New file.
215 Propagate its use instead of tedious list of `extern' and
216 prototypes.
217 * src/reader.c: Formatting changes, topological sort,
218 s/register//.
219
abadc117
AD
2202000-10-02 Akim Demaille <akim@epita.fr>
221
222 * src/lex.h: Prototype `lex.c' exported functions.
223 * src/reader.c: Adjust.
224 * src/lex.c: Formatting changes.
225 (safegetc): Rename as...
226 (xgetc): this.
227
720d742f
AD
2282000-10-02 Akim Demaille <akim@epita.fr>
229
230 * src/lalr.h: New file.
231 Propagate its inclusion instead of prototypes and `extern'.
232 * src/lalr.c: Formatting changes, topological sorting etc.
233
f2acea59
AD
2342000-10-02 Akim Demaille <akim@epita.fr>
235
236 * src/output.c (token_actions): Introduce a temporary array,
237 YYDEFACT, that makes it possible for this function to use
238 output_short_table.
239
d019d655
AD
2402000-10-02 Akim Demaille <akim@epita.fr>
241
242 `user_toknums' is output as a `short[]' in `output.c', while it is
243 defined as a `int[]' in `reader.c'. For consistency with the
244 other output tables, `user_toknums' is now defined as a table of
245 shorts.
246
247 * src/reader.c (user_toknums): Be a short table instead of an int
248 table.
249 Adjust dependencies.
250
251 Factor the short table outputs.
252
253 * src/output.c (output_short_table): New function.
254 * src/output.c (output_gram, output_stos, output_rule_data)
255 (output_base, output_table, output_check): Use it.
256
6c89f1c1
AD
2572000-10-02 Akim Demaille <akim@epita.fr>
258
259 * src/output.c (output): Topological sort of the functions, in
260 order to get rid of the `static' prototypes.
261 No longer use `register'.
262 * src/output.h: New file.
263 Propagate its inclusion in files explicitly prototyping functions
264 from output.c.
265
d9efd181
AD
2662000-09-21 Akim Demaille <akim@epita.fr>
267
268 * src/atgeneral.m4: Update from Autoconf.
269
c29240e7 2702000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
271
272 * src/closure.h: New file.
273 * src/closure.c: Formatting changes, topological sort over the
274 functions, use of closure.h.
275 (initialize_closure, finalize_closure): Rename as...
276 (new_closure, free_closure): these. Adjust dependencies.
277 * src/LR0.c: Formatting changes, topological sort, use of
278 cloture.h.
279 (initialize_states): Rename as...
280 (new_states): this.
281 * src/Makefile.am (noinst_HEADERS): Adjust.
282
499daa50
AD
2832000-09-20 Akim Demaille <akim@epita.fr>
284
285 * src/acconfig.h: Don't protect config.h against multiple
286 inclusion.
287 Don't define PARAMS.
288 * src/system.h: Define PARAMS.
289 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
290 purpose of config.h. system.h must not try to fix wrong
291 definitions in config.h.
292
cc84fd5d
AD
2932000-09-20 Akim Demaille <akim@epita.fr>
294
295 * src/derives.h: New file.
296 * src/main.c, src/derives.h: Use it.
297 Formatting changes.
298 * src/Makefile.am (noinst_HEADERS): Adjust.
299
db5b3a89
AD
3002000-09-20 Akim Demaille <akim@epita.fr>
301
302 * tests/atgeneral.m4: Update from Autoconf.
303 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
304 (AT_CHECK_CALC): New macros.
305 Use these macros to test bison with options `', `--raw',
306 `--debug', `--yacc', `--yacc --debug'.
307
ceed8467
AD
3082000-09-19 Akim Demaille <akim@epita.fr>
309
310 * src/output.c: Formatting changes.
311 * src/machine.h: Remove, leaving its contents in...
312 * src/system.h: here.
313 Include stdio.h.
314 Adjust all dependencies on stdio.h and machine.h.
315 * src/getargs.h: New file.
316 Let all `extern' declarations about getargs.c be replaced with
317 inclusion of `getargs.h'.
318 * src/Makefile.am (noinst_HEADERS): Adjust.
319
320 * tests/calc.m4 (yyin): Be initialized in main, not on the global
321 scope.
322 (yyerror): Returns void, not int.
323 * doc/bison.texinfo: Formatting changes.
324
05a1d24b
AD
3252000-09-19 Akim Demaille <akim@epita.fr>
326
327 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
328 portable.
329
cbd25751
AD
3302000-09-18 Akim Demaille <akim@epita.fr>
331
332 * configure.in: Append WARNING_CFLAGS to CFLAGS.
333 * src/Makefile.am (INCLUDES): Don't.
334 Be ready to fetch headers in lib/.
335
13863333
AD
3362000-09-18 Akim Demaille <akim@epita.fr>
337
338 * doc/bison.texinfo: Update the copyright.
339 ANSIfy and GNUify the examples.
340 Remove the old menu.
341
0d533154
AD
3422000-09-18 Akim Demaille <akim@epita.fr>
343
344 First set of tests: use the `calc' example from the documentation.
345
346 * src/bison.s1 (yyparse): Condition the code using `yytname' which
347 is defined only when YYDEBUG is.
348 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
349 * src/files.c (tryopen, tryclose): Formatting changes.
350 Move to the top and be static.
351 * src/reader.c (read_signed_integer): Likewise.
352 * tests/calc.m4: New file.
353 * Makefile.am, suite.m4: Adjust.
354 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
355
e79137ac
AD
3562000-09-18 Akim Demaille <akim@epita.fr>
357
358 Add support for an Autotest test suite for Bison.
359
360 * m4/m4.m4, m4/atconfig.m4: New files.
361 * m4/Makefile.am (EXTRA_DIST): Adjust.
362 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
363 files.
364 * src/getargs.c: Display a more standard --version message.
365 * src/reader.c (reader): Formatting changes.
366 No longer depend upon VERSION_STRING.
367 * configure.in: No longer use `dnl'.
368 Set up the test suite and the new directory `tests/.
369 (VERSION_STRING): Remove.
370
27821bff
AD
3712000-04-14 Akim Demaille <akim@epita.fr>
372
373 * src/reader.c (copy_comment2): New function, same as former
374 `copy_comment', but outputs into two FILE *.
375 (copy_comment): Use it.
376 (parse_union_decl): Use it.
377 (get_type, parse_start_decl): Use the same `invalid' message.
378 (parse_start_decl, parse_union_decl): Use the same `multiple'
379 message.
380 (parse_union_decl, copy_guard, copy_action): Use the same
381 `unmatched' message.
382 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
383
cfe5fbc0
AD
3842000-03-31 Akim Demaille <akim@epita.fr>
385
386 * src/files.c (tryopen, tryclose): Move to the top.
387 Be static.
388
cb7db13e
AD
3892000-03-31 Akim Demaille <akim@epita.fr>
390
391 * src/main.c (main): Don't call `done', exit does it.
392
a0f6b076
AD
3932000-03-31 Akim Demaille <akim@epita.fr>
394
36281465
AD
395 * allocate.c: s/return (foo)/return foo/.
396 * lalr.c: Likewise.
397 * LR0.c: Likewise.
398 * output.c: Likewise.
399 * reader.c: Likewise.
400 * symtab.c: Likewise.
401 * vmsgetargs.c: Likewise.
402
4032000-03-31 Akim Demaille <akim@epita.fr>
404
405 Clean up the error reporting functions.
a0f6b076
AD
406
407 * src/report.c: New file.
408 * src/report.h: Likewise.
409 * src/Makefile.am: Adjust.
410 * m4/error.m4: New file.
411 * m4/Makefile.am: Adjust.
412 * configure.in (jm_PREREQ_ERROR): Call it.
413 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
414 Remove.
415 (fatal, fatals): Remove. All callers use complain.c::fatal.
416 (warn, warni, warns, warnss, warnss): Remove. All callers use
417 complain.c::complain.
418 (toomany): Remove, use fatal instead.
419 * src/files.c (done): No argument, use complain_message_count.
420 * src/main.c (main): Register `done' to `atexit'.
421
422 * src/getargs.c (usage): More `fputs', less `fprintf'.
423
18539825
AD
4242000-03-28 Akim Demaille <akim@epita.fr>
425
426 * lib/: New directory.
427 * Makefile.am (SUBDIRS): Adjust.
428 * configure.in: Adjust.
429 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
430 useless.
431 * src/alloca.c: Moved to lib/.
432 * src/getopt.c: Likewise.
433 * src/getopt1.c: Likewise.
434 * src/getopt.h: Likewise.
435 * src/ansi2knr.c: Likewise.
436 * src/ansi2knr.1: Likewise.
437 * src/Makefile.am: Adjust.
438 * lib/Makefile.am: New file.
439
9f306f2a
AD
4402000-03-28 Akim Demaille <akim@epita.fr>
441
442 * src/getargs.c (usage): Refresh the help message.
443
0ba347b6
AD
4442000-03-17 Akim Demaille <akim@epita.fr>
445
446 * src/getopt1.c: Updated from textutils 2.0e
447 * src/getopt.c: Likewise.
448 * src/getopt.h: Likewise.
449
dbe7f271
AD
4502000-03-17 Akim Demaille <akim@epita.fr>
451
452 * src/Makefile.am (bison.simple): Fix the awk program: quote only
453 the file name, not the whole `#line LINE FILE'.
454
75bbe78d
AD
4552000-03-17 Akim Demaille <akim@epita.fr>
456
457 On syntax errors, report the token on which we choked.
458
aa5fd0ee
AD
459 * src/bison.s1 (yyparse): In the label yyerrlab, when
460 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 461
7b306f52
AD
4622000-03-17 Akim Demaille <akim@epita.fr>
463
aa5fd0ee 464 * src/reader.c (copy_at): New function.
7b306f52
AD
465 (copy_guard): Use it.
466 (copy_action): Use it.
467
e87b5700
AD
4682000-03-17 Akim Demaille <akim@epita.fr>
469
470 Be kind to translators, save some useless translations.
471
aa5fd0ee 472 * src/main.c (banner): New function.
e87b5700
AD
473 (fatal_banner): Use it.
474 (warn_banner): Use it.
475
ae3c3164
AD
4762000-03-17 Akim Demaille <akim@epita.fr>
477
aa5fd0ee
AD
478 * src/reader.c (copy_definition): Use copy_string and
479 copy_comment. Removed now unused `match', `ended',
480 `cplus_comment'.
ae3c3164
AD
481 (copy_comment, copy_string): Moved, to be visible from
482 copy_definition.
483
4dc58e7c
AD
4842000-03-17 Akim Demaille <akim@epita.fr>
485
aa5fd0ee
AD
486 * src/reader.c (copy_string): Declare `static inline'. No
487 problems with inline, since it is checked by configure.
4dc58e7c
AD
488 (copy_comment): Likewise.
489
0a6384c4
AD
4902000-03-17 Akim Demaille <akim@epita.fr>
491
aa5fd0ee 492 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 493
3cef001a
AD
4942000-03-17 Akim Demaille <akim@epita.fr>
495
aa5fd0ee 496 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
497 (copy_action): Use it. Removed now unused `match', `ended',
498 `cplus_comment'.
499 (copy_guard): Likewise.
500
ca36d2ef
AD
5012000-03-17 Akim Demaille <akim@epita.fr>
502
aa5fd0ee 503 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
504 (copy_action): Use it.
505 (copy_guard): Likewise.
506
6666f98f
AD
5072000-03-17 Akim Demaille <akim@epita.fr>
508
509 Change the handling of @s so that they behave exactly like $s.
510 There is now a pseudo variable @$ (readble and writable), location
511 of the lhs of the rule (by default ranging from the location of
512 the first symbol of the rhs, to the location of the last symbol,
513 or, if the rhs is empty, YYLLOC).
514
515 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
516 yyval.
517 (yyparse): When providing a default semantic action, provide a
518 default location action.
519 (after the $): No longer change `*YYLSP', just stack YYLOC the
520 same way you stack YYVAL.
521 * src/reader.c (read_declarations): Use warns.
522 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
523 (copy_action, case '@'): Likewise.
524 Use a standard error message, to save useless work from
525 translators.
526
41aca2e0
AD
5272000-03-17 Akim Demaille <akim@epita.fr>
528
aa5fd0ee
AD
529 * src/bison.s1: Formatting and cosmetics changes.
530 * src/reader.c: Likewise.
41aca2e0
AD
531 Update the Copyright notice.
532
dc08c1d5
AD
5332000-03-17 Akim Demaille <akim@epita.fr>
534
aa5fd0ee
AD
535 * src/bison.s1 (#line): All set to `#line' only, since the
536 Makefile now handles them.
dc08c1d5 537
9ee3c97b
AD
5382000-03-16 Akim Demaille <akim@epita.fr>
539
540 * src/output.c (output_rule_data): Output the documentation of
541 some of the tables.
542 (Copyright notice): Update.
543 Formatting changes.
544
0de741ca
AD
5452000-03-16 Akim Demaille <akim@epita.fr>
546
547 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
548 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
549 One `#if YYDEBUG' remains, since it uses variables which are
550 defined only if `YYDEBUG != 0'.
551
bb10be54
AD
5522000-03-16 Akim Demaille <akim@epita.fr>
553
554 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
555 and related variables so that the similarities are highlighted.
556
b07b484a
AD
5572000-03-16 Akim Demaille <akim@epita.fr>
558
559 * src/bison.s1: Properly indent CPP directives.
560
361f60b3
AD
5612000-03-16 Akim Demaille <akim@epita.fr>
562
563 * src/bison.s1: Properly indent the `alloca' CPP section.
564
8c44d3ec
AD
5652000-03-16 Akim Demaille <akim@epita.fr>
566
567 Do not hard code values of directories in `configure.in'.
568 Update the `configure' tool chain.
569
570 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
571 src/makefile.am.
572 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
573 (AC_OUTPUT): Add m4/Makefile.
574 Bump to bison 1.28a, 1.29 has never been released.
575 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
576 handled via src/Makefile.am.
577 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
578 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
579 autoheader.
580 * Makefile.am (SUBDIRS): Add m4.
581 (ACLOCAL_AM_FLAGS): New variable.
582 (AUTOMAKE_OPTIONS): Add check-news.
583 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
584 the proper line number and file name.
585 (DEFS): Propagate the location of bison library files and of the
586 locale files.
587 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
588 builddir.
589 * acinclude.m4: Remove, replaced by the directory m4.
590 * m4/Makefile.am (EXTRA_DIST): New variable.
591 * m4/gettext.m4: New file, from the fileutils.
592 * m4/lcmessage.m4: Likewise
593 * m4/progtest.m4: Likewise.
594 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
595
f95997e7
AD
5962000-03-10 Akim Demaille <akim@epita.fr>
597
598 * src/closure.c:
599 Formatting changes of various comments.
600 Respect the GNU coding standards at various places.
601 Don't use `_()' when no translation is needed.
602
6031999-12-13 Jesse Thilo <jthilo@gnu.org>
604
605 * src/files.c:
606 OS/2 honors TMPDIR environment variable.
607
6081999-12-13 Jesse Thilo <jthilo@gnu.org>
609
610 * doc/bison.texinfo: Tweaked spelling and grammar.
611 Updated ISBN.
612 Removed reference to price of printed copy.
613 Mention BISON_SIMPLE and BISON_HAIRY.
614
6151999-12-13 Jesse Thilo <jthilo@gnu.org>
616
617 * configure.in, NEWS:
618 Bison 1.29 released.
619
6201999-10-27 Jesse Thilo <jthilo@gnu.org>
621
622 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
623 Added reference card.
624
6251999-07-26 Jesse Thilo <jthilo@gnu.org>
626
627 * po/ru.po: Added Russian translation.
628
6291999-07-26 Jesse Thilo <jthilo@gnu.org>
630
631 * configure.in: Added Russian translation.
632
6331999-07-06 Jesse Thilo <jthilo@gnu.org>
634
635 * configure.in, NEWS, README:
636 Released version 1.28.
637
6381999-06-14 Jesse Thilo <jthilo@gnu.org>
639
640 * src/system.h:
641 Squashed redefinition warning on some systems.
642
643 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
644 Have configure build version string instead of relying on ANSI string
645 concatentation.
646
6471999-06-14 Jesse Thilo <jthilo@gnu.org>
648
649 * po/POTFILES.in: Got rid of version.c.
650
6511999-06-14 Jesse Thilo <jthilo@gnu.org>
652
653 * acconfig.h, configure.in:
654 Have configure build version string instead of relying on ANSI string
655 concatentation.
656
6571999-06-08 Jesse Thilo <jthilo@gnu.org>
658
659 * doc/bison.1:
660 Dropped mention of `+' for long-named options.
661
6621999-05-30 Jesse Thilo <jthilo@gnu.org>
663
664 * src/files.c: Added <unistd.h> for unlink().
665
666 * src/Makefile.am, src/system.h:
667 I18n fixes.
668
6691999-05-30 Jesse Thilo <jthilo@gnu.org>
670
671 * README: Added a FAQ list.
672
673 * configure.in, acconfig.h:
674 I18n fixes.
675
6761999-05-30 Jesse Thilo <jthilo@gnu.org>
677
678 * doc/FAQ, doc/Makefile.am:
679 Added a FAQ list.
680
6811999-05-19 Jesse Thilo <jthilo@gnu.org>
682
683 * src/alloc.h, src/symtab.h, src/version.c:
684 Protected inclusion of "config.h" with HAVE_CONFIG_H.
685
6861999-04-18 Jesse Thilo <jthilo@gnu.org>
687
688 * src/.cvsignore, src/Makefile.am:
689 Reorganized: sources in `src', documentation in `doc'.
690
691 * src/lex.c (literalchar):
692 fixed the code for escaping double quotes (thanks
693 Jonathan Czisny.)
694
6951999-04-18 Jesse Thilo <jthilo@gnu.org>
696
697 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
698 Adjusted paths to reflect directory reorganization.
699
7001999-04-18 Jesse Thilo <jthilo@gnu.org>
701
702 * doc/.cvsignore, doc/Makefile.am:
703 Reorganized: sources in `src', documentation in `doc'.
704
7051999-04-18 Jesse Thilo <jthilo@gnu.org>
706
707 * configure.in:
708 Updated AC_INIT file to reflect directory reorganization.
709
710 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
711 Reorganized: sources in `src', documentation in `doc'.
712
7131999-04-13 Jesse Thilo <jthilo@gnu.org>
714
715 * src/allocate.c:
716 Don't declare calloc() and realloc() if not necessary.
717
7181999-04-13 Jesse Thilo <jthilo@gnu.org>
719
720 * configure.in, acconfig.h, acinclude.m4:
721 Don't declare calloc() and realloc() if not necessary.
722
7231999-03-23 Jesse Thilo <jthilo@gnu.org>
724
725 * po/.cvsignore: Added i18n support.
726
7271999-03-23 Jesse Thilo <jthilo@gnu.org>
728
729 * acconfig.h, configure.in, Makefile.am:
730 Added i18n support.
731
7321999-03-22 Jesse Thilo <jthilo@gnu.org>
733
734 * src/bison.s1: Fixed #line numbers.
735
7361999-03-15 Jesse Thilo <jthilo@gnu.org>
737
738 * po/es.po, po/fr.po, po/nl.po, po/de.po:
739 Added PO files from Translation Project.
740
7411999-03-03 Jesse Thilo <jthilo@gnu.org>
742
743 * Makefile.am:
744 Added support for non-ANSI compilers (ansi2knr).
745
7461999-02-16 Jesse Thilo <jthilo@gnu.org>
747
748 * configure.in: Bumped version number to 1.27.
749
750 * Makefile.am:
751 Added `bison.simple' to list of files removed by `make distclean'.
752
7531999-02-12 Jesse Thilo <jthilo@gnu.org>
754
755 * src/files.c, src/files.h:
756 Defined locations of parser files in config.h instead of Makefile.
757
7581999-02-12 Jesse Thilo <jthilo@gnu.org>
759
760 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
761 Defined locations of parser files in config.h instead of Makefile.
762
7631999-02-09 Jesse Thilo <jthilo@gnu.org>
764
765 * Makefile.am:
766 Removed inappropriate use of $< macro.
767
7681999-02-05 Jesse Thilo <jthilo@gnu.org>
769
770 * po/Makefile.in.in, po/POTFILES.in:
771 Add `po' directory skeleton.
772
7731999-01-27 Jesse Thilo <jthilo@gnu.org>
774
775 * README: Document help-bison list.
776
777 * configure.in: Add check for mkstemp().
778
7791999-01-20 Jesse Thilo <jthilo@gnu.org>
780
781 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
782 Hush a few compiler warnings.
783
784 * src/files.c:
785 Add tryclose(), which verifies that fclose was successful.
786 Hush a couple of compiler warnings.
787
7881999-01-20 Jesse Thilo <jthilo@gnu.org>
789
790 * Makefile.am, OChangeLog:
791 ChangeLog is now automatically generated. Include the old version as
792 OChangeLog.
793
7941999-01-14 Jesse Thilo <jthilo@gnu.org>
795
796 * 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:
797 Update FSF address.
798
7991999-01-14 Jesse Thilo <jthilo@gnu.org>
800
801 * doc/bison.texinfo: Fix formatting glitch.
802
803 * doc/bison.texinfo: Update FSF address.
804
8051999-01-14 Jesse Thilo <jthilo@gnu.org>
806
807 * acconfig.h: Update FSF address.
808
8091999-01-08 Jesse Thilo <jthilo@gnu.org>
810
811 * src/system.h:
812 Don't define PACKAGE here, since config.h defines it.
813
8141998-12-30 Jesse Thilo <jthilo@gnu.org>
815
816 * src/reader.c: Update copyright date.
817
818 * src/main.c:
819 Ditch sprintf to statically-sized buffers in fatal/warn functions in
820 favor of output directly to stderr (avoids buffer overruns).
821
822 * src/reader.c: Some checks for premature EOF.
823
824 * 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:
825 Use prototypes if the compiler understands them.
826
827 * src/files.c: Honor TMPDIR on Unix hosts.
828 Use prototypes if the compiler understands them.
829
830 * src/reader.c:
831 Fix a couple of buffer overrun bugs.
832 Use prototypes if the compiler understands them.
833
834 * src/system.h: Include unistd.h and ctype.h.
835 Use #ifdef instead of #if for NLS symbols.
836
8371998-12-30 Jesse Thilo <jthilo@gnu.org>
838
839 * doc/bison.texinfo:
840 Delete comment "consider using @set for edition number, etc..." since
841 we now are doing so.
842
8431998-12-30 Jesse Thilo <jthilo@gnu.org>
844
845 * configure.in:
846 Use prototypes if the compiler understands them.
847
848 * NEWS: Document 1.26 highlights.
849
850 * Makefile.am: Require Automake 1.3 or later.
851
852 * acconfig.h:
853 Use prototypes if the compiler understands them.
854
8551998-12-29 Jesse Thilo <jthilo@gnu.org>
856
857 * src/version.c:
858 Use VERSION symbol from automake for version number.
859
8601998-12-29 Jesse Thilo <jthilo@gnu.org>
861
862 * acconfig.h, configure.in, version.cin:
863 Use VERSION symbol from automake for version number.
864
8651998-11-28 Jesse Thilo <jthilo@gnu.org>
866
867 * Makefile.am:
868 Distribute original version of simple parser (bison.s1), not built
869 version (bison.simple).
870
8711998-11-28 Jesse Thilo <jthilo@gnu.org>
872
873 * doc/bison.texinfo: Add info dir entry.
874
875 * doc/bison.texinfo:
876 Let automake put version number into documentation.
877
8781998-11-26 Jesse Thilo <jthilo@gnu.org>
879
880 * src/bison.cld, src/build.com, src/vmshlp.mar:
881 Add non-RCS files from /gd/gnu/bison.
882
8831998-11-26 Jesse Thilo <jthilo@gnu.org>
884
885 * doc/bison.1:
886 Document the BISON_HAIRY and BISON_SIMPLE variables.
887
8881998-11-25 Jesse Thilo <jthilo@gnu.org>
889
890 * src/version.c: Build version.c automatically.
891
892 * src/reader.c:
893 Fix token numbering (used to start at 258, not 257).
894
895 * src/system.h: Include config.h.
896
897 * src/getargs.c: Update bug report address.
898
899 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
900 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
901
9021998-11-25 Jesse Thilo <jthilo@gnu.org>
903
904 * Makefile.am:
905 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
906
907 * configure.in, version.cin:
908 Build version.c automatically.
909
910 * AUTHORS: Add AUTHORS file.
911
912 * README: Update bug report address.
913
914 * bison.simple:
915 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
916
917 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
918 Add automake stuff.
919
9201998-11-25 Jesse Thilo <jthilo@gnu.org>
921
922 * doc/bison.texinfo: Clean up some formatting.
923
9241998-05-05 Richard Stallman <rms@gnu.org>
925
926 * doc/bison.texinfo:
927 Explain better why to make a pure parser.
928
9291998-01-05 Richard Stallman <rms@gnu.org>
930
931 * src/files.c (openfiles):
932 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
933 find a temporary directory, if possible. Do not unlink files while
934 they are open.
935
9361997-08-25 Richard Stallman <rms@gnu.org>
937
938 * src/reader.c (stack_offset;):
939 Change some warni to warns.
940
941 * src/lex.c (literalchar): Use warns, not warni.
942
9431997-06-28 Richard Stallman <rms@gnu.org>
944
945 * src/bison.s1: Add a Bison version comment.
946
947 * src/main.c (fatal, warn, berror):
948 Use program_name.
949
9501997-06-28 Richard Stallman <rms@gnu.org>
951
952 * Makefile.in (bison_version): New variable.
953 (dist): Use that variable.
954 (bison.s1): Substitute the Bison version into bison.simple.
955
956 * bison.simple: Add a Bison version comment.
957
9581997-06-18 Richard Stallman <rms@gnu.org>
959
960 * src/main.c (fatal, warn, berror):
961 Make error messages standard.
962 (toomany): Improve error message text.
963
964 * 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:
965 new.h renamed to alloc.h.
966
9671997-06-18 Richard Stallman <rms@gnu.org>
968
969 * Makefile.in: new.h renamed to alloc.h.
970
9711997-05-24 Richard Stallman <rms@gnu.org>
972
973 * src/lex.c (literalchar):
974 Fix the code for escaping \, " and '.
975
976 (lex): Avoid trouble when there are many chars
977 to discard in a char literal with just several chars in it.
978
9791997-05-17 Richard Stallman <rms@gnu.org>
980
981 * src/bison.s1:
982 Use malloc, if using alloca is troublesome.
983 (YYSTACK_USE_ALLOCA): New flag macro.
984 Define it for some systems and compilers.
985 (YYSTACK_ALLOC): New macro.
986 (yyparse): Use YYSTACK_ALLOC to allocate stack.
987 If it was malloc'd, free it.
988
9891997-05-17 Richard Stallman <rms@gnu.org>
990
991 * bison.simple:
992 Use malloc, if using alloca is troublesome.
993 (YYSTACK_USE_ALLOCA): New flag macro.
994 Define it for some systems and compilers.
995 (YYSTACK_ALLOC): New macro.
996 (yyparse): Use YYSTACK_ALLOC to allocate stack.
997 If it was malloc'd, free it.
998
9991997-04-23 Richard Stallman <rms@gnu.org>
1000
1001 * src/bison.s1:
1002 (alloca) [__hpux]: Always define as __builtin_alloca.
1003
10041997-04-23 Richard Stallman <rms@gnu.org>
1005
1006 * bison.simple:
1007 (alloca) [__hpux]: Always define as __builtin_alloca.
1008
10091997-04-22 Richard Stallman <rms@gnu.org>
1010
1011 * src/bison.s1:
1012 [__hpux]: Include alloca.h (right for HPUX 10)
1013 instead of declaring alloca (right for HPUX 9).
1014
1015 * src/bison.s1 (__yy_memcpy):
1016 Declare arg `count' as unsigned int.
1017 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1018
10191997-04-22 Richard Stallman <rms@gnu.org>
1020
1021 * bison.simple:
1022 [__hpux]: Include alloca.h (right for HPUX 10)
1023 instead of declaring alloca (right for HPUX 9).
1024
1025 * bison.simple (__yy_memcpy):
1026 Declare arg `count' as unsigned int.
1027 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1028
10291997-01-03 Richard Stallman <rms@gnu.org>
1030
1031 * src/allocate.c: [__STDC__ or _MSC_VER]:
1032 Declare calloc and realloc to return void *.
1033
10341997-01-02 Richard Stallman <rms@gnu.org>
1035
1036 * src/system.h:
1037 [_MSC_VER]: Include stdlib.h and process.h.
1038 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1039
1040 * src/main.c (main): Return FAILURE as a value.
1041 (printable_version): Declare arg as int, not char.
1042
10431997-01-02 Richard Stallman <rms@gnu.org>
1044
1045 * Makefile.in (dist):
1046 Explicitly check for symlinks, and copy them.
1047
10481996-12-19 Richard Stallman <rms@gnu.org>
1049
1050 * src/files.c:
1051 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1052
10531996-12-18 Paul Eggert <eggert@gnu.org>
1054
1055 * src/bison.s1 (yyparse):
1056 If __GNUC__ and YYPARSE_PARAM are both defined,
1057 declare yyparse to have a void * argument.
1058
10591996-12-18 Paul Eggert <eggert@gnu.org>
1060
1061 * bison.simple (yyparse):
1062 If __GNUC__ and YYPARSE_PARAM are both defined,
1063 declare yyparse to have a void * argument.
1064
10651996-12-17 Richard Stallman <rms@gnu.org>
1066
1067 * src/reduce.c (nbits): Add some casts.
1068
10691996-08-12 Richard Stallman <rms@gnu.org>
1070
1071 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1072
10731996-08-12 Richard Stallman <rms@gnu.org>
1074
1075 * bison.simple: Test _MSDOS as well as _MSDOS_.
1076
10771996-07-31 Richard Stallman <rms@gnu.org>
1078
1079 * src/bison.s1:
1080 [__sun && __i386]: Include alloca.h.
1081
10821996-07-31 Richard Stallman <rms@gnu.org>
1083
1084 * bison.simple:
1085 [__sun && __i386]: Include alloca.h.
1086
10871996-07-30 Richard Stallman <rms@gnu.org>
1088
1089 * src/bison.s1: Comment change.
1090
1091 * src/bison.s1: Test _MSDOS_, not MSDOS.
1092
10931996-07-30 Richard Stallman <rms@gnu.org>
1094
1095 * bison.simple: Comment change.
1096
1097 * bison.simple: Test _MSDOS_, not MSDOS.
1098
10991996-06-01 Richard Stallman <rms@gnu.org>
1100
1101 * 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:
1102 Insert `_' macro around many string constants.
1103
1104 * src/main.c:
1105 Insert `_' macro around many string constants.
1106
1107 (main): Call setlocale, bindtextdomain and textdomain.
1108
1109 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1110 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1111 [ENABLE_NLS]: Include libintl.h.
1112 [ENABLE_NLS] (gettext): Define.
1113 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1114 (N_, PACKAGE, LOCALEDIR): New macros.
1115
11161996-06-01 Richard Stallman <rms@gnu.org>
1117
1118 * POTFILES.in: New file.
1119
1120 * Makefile.in (allocate.o):
1121 Define target explicitly.
1122
1123 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1124 (LDFLAGS): Set to @LDFLAGS@.
1125 (configure): Run autoconf only if preceding `cd' succeeds.
1126 (bison.s1): Redirect output to temporary file then move the
1127 temporary to the target, rather than redirecting directly to bison.s1.
1128 (clean): Remove config.status and config.log.
1129 (distclean): Don't remove config.status here.
1130
11311996-05-12 Richard Stallman <rms@gnu.org>
1132
1133 * src/bison.s1:
1134 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1135
11361996-05-12 Richard Stallman <rms@gnu.org>
1137
1138 * bison.simple:
1139 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1140
11411996-05-11 Richard Stallman <rms@gnu.org>
1142
1143 * src/bison.s1 (__yy_memcpy):
1144 Really reorder the args, as was supposedly done on Feb 14 1995.
1145 (yyparse): Calls changed accordingly.
1146
11471996-05-11 Richard Stallman <rms@gnu.org>
1148
1149 * Makefile.in (dist): Don't use $(srcdir).
1150
1151 * bison.simple (__yy_memcpy):
1152 Really reorder the args, as was supposedly done on Feb 14 1995.
1153 (yyparse): Calls changed accordingly.
1154
11551996-01-27 Richard Stallman <rms@gnu.org>
1156
1157 * src/output.c (output_rule_data):
1158 Test YYERROR_VERBOSE in the conditional
1159 around the definition of ttyname.
1160
11611995-12-29 Richard Stallman <rms@gnu.org>
1162
1163 * src/bison.s1:
1164 Fix line numbers in #line commands.
1165
11661995-12-29 Richard Stallman <rms@gnu.org>
1167
1168 * bison.simple:
1169 Fix line numbers in #line commands.
1170
11711995-12-27 Richard Stallman <rms@gnu.org>
1172
1173 * src/bison.s1 (YYPARSE_PARAM_DECL):
1174 In C++, make it always null.
1175 (YYPARSE_PARAM_ARG): New macro.
1176 (yyparse): Use YYPARSE_PARAM_ARG.
1177
11781995-12-27 Richard Stallman <rms@gnu.org>
1179
1180 * bison.simple (YYPARSE_PARAM_DECL):
1181 In C++, make it always null.
1182 (YYPARSE_PARAM_ARG): New macro.
1183 (yyparse): Use YYPARSE_PARAM_ARG.
1184
11851995-11-29 Richard Stallman <rms@gnu.org>
1186
1187 * doc/bison.texinfo:
1188 Describe literal string tokens, %raw, %no_lines, %token_table.
1189
11901995-11-29 Daniel Hagerty <hag@gnu.org>
1191
1192 * doc/bison.texinfo: Fixed update date
1193
11941995-10-16 Richard Stallman <rms@gnu.org>
1195
1196 * src/version.c: Version 1.25.
1197
11981995-10-16 Richard Stallman <rms@gnu.org>
1199
1200 * NEWS: *** empty log message ***
1201
12021995-10-16 Richard Stallman <rms@gnu.org>
1203
1204 * doc/bison.1, doc/bison.rnh:
1205 Add new options.
1206
12071995-10-15 Richard Stallman <rms@gnu.org>
1208
1209 * src/vmsgetargs.c, src/getargs.c:
1210 Added -n, -k, and -raw switches.
1211 (noparserflag, toknumflag, rawtoknumflag): New variables.
1212
1213 * src/symtab.h (SALIAS):
1214 New #define for adding aliases to %token.
1215 (struct bucket): Added `alias' field.
1216
1217 * src/reduce.c (reduce_grammar):
1218 Revise error message.
1219 (print_notices): Remove final `.' from error message.
1220
1221 * src/reader.c (reader_output_yylsp):
1222 New function.
1223 (readgram): Use `#if 0' around code that accepted %command
1224 inside grammar rules: The documentation doesn't allow it,
1225 and it will fail since the %command processors scan for the next %.
1226 (parse_token_decl): Extended the %token
1227 declaration to allow a multi-character symbol as an alias.
1228 (parse_thong_decl): New function.
1229 (read_declarations): Added %thong declarations.
1230 (read_declarations): Handle NOOP to deal with allowing
1231 % declarations as another means to specify the flags.
1232 (readgram): Allow %prec prior to semantics embedded in a rule.
1233 (skip_to_char, read_declarations, copy_definition)
1234 (parse_token_decl, parse_start_decl, parse_type_decl)
1235 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1236 (get_type_name, copy_guard, copy_action, readgram)
1237 (get_type, packsymbols): Revised most error messages.
1238 Changed `fatal' to `warnxxx' to avoid aborting for error.
1239 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1240 (read_declarations): Improve the error message for
1241 an invalid character. Do not abort.
1242 (read_declarations, copy_guard, copy_action): Use
1243 printable_version to avoid unprintable characters in printed output.
1244 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1245 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1246 Allow the type of a non-terminal can be given
1247 more than once, as long as all specifications give the same type.
1248
1249 * src/output.c:
1250 (output_headers, output_trailers, output, output_gram)
1251 (output_rule_data): Implement noparserflag variable.
1252 Implement toknumflag variable.
1253 (output): Call reader_output_yylsp to output LTYPESTR.
1254
1255 * src/main.c (main):
1256 If reader sees an error, don't process the grammar.
1257 (fatals): Updated to not use VARARGS1.
1258 (printable_version, int_to_string, warn, warni, warns, warnss)
1259 (warnsss): New error reporting functions. Avoid abort for error.
1260
1261 * src/lex.h:
1262 Added THONG and NOOP for alias processing.
1263 Added SETOPT for the new code that allows setting options with %flags.
1264
1265 * src/lex.c:
1266 Include getopt.h. Add some extern decls.
1267 (safegetc): New function to deal with EOF gracefully.
1268 (literalchar); new function to deal with reading \ escapes.
1269 (lex): Use literalchar.
1270 (lex): Implemented "..." tokens.
1271 (literalchar, lex, parse_percent_token): Made tokenbuffer
1272 always contain the token. This includes growing the token
1273 buffer while reading an integer.
1274 (parse_percent_token): Replaced if-else statement with percent_table.
1275 (parse_percent_token): Added % declarations as another
1276 way to specify the flags -n, -l, and -r. Also added hooks for
1277 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1278 major changes to files.c.
1279 (lex) Retain in the incoming stream a character following
1280 an incorrect '/'.
1281 (skip_white_space, lex): Revised most error messages
1282 and changed fatal to warn to avoid aborting.
1283 (percent_table): Added %thong declarations.
1284
1285 * src/gram.h: Comment changes.
1286
1287 * src/files.c (openfiles, open_extra_files, done):
1288 Add faction flag
1289 and actfile file. Handle noparserflag. Both for -n switch.
1290
1291 * src/conflicts.c (resolve_sr_conflict):
1292 Remove use of alloca.
1293
12941995-06-01 Jim Meyering <meyering@gnu.org>
1295
1296 * doc/bison.texinfo: *** empty log message ***
1297
12981995-05-06 Richard Stallman <rms@gnu.org>
1299
1300 * src/bison.s1: Comment change.
1301
13021995-05-06 Richard Stallman <rms@gnu.org>
1303
1304 * bison.simple: Comment change.
1305
13061995-05-03 Richard Stallman <rms@gnu.org>
1307
1308 * src/version.c: Version now 1.24.
1309
1310 * src/bison.s1: Change distribution terms.
1311
1312 * src/version.c: Version now 1.23.
1313
13141995-05-03 Richard Stallman <rms@gnu.org>
1315
1316 * doc/bison.texinfo:
1317 Rewrite "Conditions for Using Bison".
1318 Update version to 1.24.
1319
13201995-05-03 Richard Stallman <rms@gnu.org>
1321
1322 * bison.simple: Change distribution terms.
1323
13241995-02-23 Richard Stallman <rms@gnu.org>
1325
1326 * src/files.c: Test __VMS_POSIX as well as VMS.
1327
13281995-02-14 Jim Meyering <meyering@gnu.org>
1329
1330 * src/bison.s1 (__yy_memcpy):
1331 Renamed from __yy_bcopy to avoid
1332 confusion. Reverse FROM and TO arguments to be consistent with
1333 those of memcpy.
1334
13351995-02-14 Jim Meyering <meyering@gnu.org>
1336
1337 * bison.simple (__yy_memcpy):
1338 Renamed from __yy_bcopy to avoid
1339 confusion. Reverse FROM and TO arguments to be consistent with
1340 those of memcpy.
1341
13421994-11-10 David J. MacKenzie <djm@gnu.org>
1343
1344 * NEWS: reformat
1345
1346 * NEWS: New file.
1347
1348 * Makefile.in (DISTFILES): Include NEWS.
1349
1350 * Makefile.in (DISTFILES):
1351 Include install-sh, not install.sh.
1352
1353 * configure.in: Update to Autoconf v2 macro names.
1354
13551994-10-05 David J. MacKenzie <djm@gnu.org>
1356
1357 * Makefile.in: fix typo
1358
1359 * Makefile.in (prefix, exec_prefix):
1360 Let configure set them.
1361
13621994-09-28 David J. MacKenzie <djm@gnu.org>
1363
1364 * Makefile.in: Set datadir to $(prefix)/share.
1365
13661994-09-15 Richard Stallman <rms@gnu.org>
1367
1368 * src/bison.s1:
1369 Update copyright notice and GPL version.
1370
13711994-09-15 Richard Stallman <rms@gnu.org>
1372
1373 * bison.simple:
1374 Update copyright notice and GPL version.
1375
13761994-07-12 Richard Stallman <rms@gnu.org>
1377
1378 * src/reduce.c, src/reader.c:
1379 entered into RCS
1380
13811994-05-05 David J. MacKenzie <djm@gnu.org>
1382
1383 * Makefile.in: entered into RCS
1384
13851994-03-26 Richard Stallman <rms@gnu.org>
1386
1387 * src/bison.s1: entered into RCS
1388
13891994-03-26 Richard Stallman <rms@gnu.org>
1390
1391 * bison.simple: entered into RCS
1392
13931994-03-25 Richard Stallman <rms@gnu.org>
1394
1395 * src/main.c: entered into RCS
1396
13971994-03-24 Richard Stallman <rms@gnu.org>
1398
1399 * src/conflicts.c: entered into RCS
1400
14011994-01-02 Richard Stallman <rms@gnu.org>
1402
1403 * Makefile.in: *** empty log message ***
1404
14051993-11-21 Richard Stallman <rms@gnu.org>
1406
1407 * src/bison.s1: *** empty log message ***
1408
14091993-11-21 Richard Stallman <rms@gnu.org>
1410
1411 * doc/bison.texinfo: entered into RCS
1412
1413 * doc/bison.texinfo: *** empty log message ***
1414
14151993-11-21 Richard Stallman <rms@gnu.org>
1416
1417 * bison.simple: *** empty log message ***
1418
14191993-10-25 David J. MacKenzie <djm@gnu.org>
1420
1421 * doc/bison.texinfo: *** empty log message ***
1422
14231993-10-19 Richard Stallman <rms@gnu.org>
1424
1425 * src/bison.s1: *** empty log message ***
1426
14271993-10-19 Richard Stallman <rms@gnu.org>
1428
1429 * bison.simple: *** empty log message ***
1430
14311993-10-14 Richard Stallman <rms@gnu.org>
1432
1433 * src/bison.s1: *** empty log message ***
1434
14351993-10-14 Richard Stallman <rms@gnu.org>
1436
1437 * bison.simple: *** empty log message ***
1438
14391993-09-14 David J. MacKenzie <djm@gnu.org>
1440
1441 * doc/bison.texinfo: *** empty log message ***
1442
14431993-09-13 Noah Friedman <friedman@gnu.org>
1444
1445 * Makefile.in: *** empty log message ***
1446
14471993-09-10 Richard Stallman <rms@gnu.org>
1448
1449 * src/conflicts.c: *** empty log message ***
1450
1451 * src/system.h: entered into RCS
1452
14531993-09-10 Richard Stallman <rms@gnu.org>
1454
1455 * doc/bison.1: entered into RCS
1456
14571993-09-06 Noah Friedman <friedman@gnu.org>
1458
1459 * src/version.c: entered into RCS
1460
14611993-09-06 Noah Friedman <friedman@gnu.org>
1462
1463 * Makefile.in: *** empty log message ***
1464
14651993-07-30 David J. MacKenzie <djm@gnu.org>
1466
1467 * Makefile.in: *** empty log message ***
1468
14691993-07-24 Richard Stallman <rms@gnu.org>
1470
1471 * src/bison.s1: *** empty log message ***
1472
14731993-07-24 Richard Stallman <rms@gnu.org>
1474
1475 * bison.simple: *** empty log message ***
1476
14771993-07-08 David J. MacKenzie <djm@gnu.org>
1478
1479 * Makefile.in: *** empty log message ***
1480
14811993-07-04 Richard Stallman <rms@gnu.org>
1482
1483 * src/bison.s1: *** empty log message ***
1484
14851993-07-04 Richard Stallman <rms@gnu.org>
1486
1487 * bison.simple: *** empty log message ***
1488
14891993-06-26 David J. MacKenzie <djm@gnu.org>
1490
1491 * src/getargs.c: entered into RCS
1492
14931993-06-26 David J. MacKenzie <djm@gnu.org>
1494
1495 * doc/bison.texinfo: *** empty log message ***
1496
1497 * doc/bison.1: New file.
1498
14991993-06-25 Richard Stallman <rms@gnu.org>
1500
1501 * src/getargs.c: New file.
1502
15031993-06-16 Richard Stallman <rms@gnu.org>
1504
1505 * src/bison.s1: *** empty log message ***
1506
15071993-06-16 Richard Stallman <rms@gnu.org>
1508
1509 * bison.simple: *** empty log message ***
1510
15111993-06-03 Richard Stallman <rms@gnu.org>
1512
1513 * src/bison.s1: New file.
1514
15151993-06-03 Richard Stallman <rms@gnu.org>
1516
1517 * doc/bison.texinfo: *** empty log message ***
1518
15191993-06-03 Richard Stallman <rms@gnu.org>
1520
1521 * bison.simple: New file.
1522
15231993-05-19 Richard Stallman <rms@gnu.org>
1524
1525 * doc/bison.texinfo: New file.
1526
15271993-05-07 Noah Friedman <friedman@gnu.org>
1528
1529 * Makefile.in: *** empty log message ***
1530
15311993-04-28 Noah Friedman <friedman@gnu.org>
1532
1533 * src/reader.c: *** empty log message ***
1534
15351993-04-23 Noah Friedman <friedman@gnu.org>
1536
1537 * src/alloc.h: entered into RCS
1538
15391993-04-20 David J. MacKenzie <djm@gnu.org>
1540
1541 * src/version.c: *** empty log message ***
1542
1543 * src/files.c, src/allocate.c:
1544 entered into RCS
1545
1546 * src/reader.c: *** empty log message ***
1547
1548 * src/lex.c: entered into RCS
1549
1550 * src/conflicts.c: New file.
1551
1552 * src/symtab.c: entered into RCS
1553
1554 * src/alloc.h: New file.
1555
1556 * src/LR0.c: entered into RCS
1557
15581993-04-18 Noah Friedman <friedman@gnu.org>
1559
1560 * src/reader.c: New file.
1561
1562 * src/version.c: *** empty log message ***
1563
15641993-04-18 Noah Friedman <friedman@gnu.org>
1565
1566 * Makefile.in: *** empty log message ***
1567
15681993-04-17 Noah Friedman <friedman@gnu.org>
1569
1570 * Makefile.in: *** empty log message ***
1571
15721993-04-15 Richard Stallman <rms@gnu.org>
1573
1574 * src/main.c, src/files.c:
1575 New file.
1576
15771993-04-15 Noah Friedman <friedman@gnu.org>
1578
1579 * configure.in: entered into RCS
1580
1581 * configure.in: *** empty log message ***
1582
1583 * configure.in: New file.
1584
15851993-04-14 Richard Stallman <rms@gnu.org>
1586
1587 * Makefile.in: New file.
1588
15891993-04-13 Richard Stallman <rms@gnu.org>
1590
1591 * src/version.c: New file.
1592
15931993-03-25 Richard Stallman <rms@gnu.org>
1594
1595 * src/output.c: entered into RCS
1596
15971992-09-25 Richard Stallman <rms@gnu.org>
1598
1599 * configure.bat: entered into RCS
1600
16011992-06-22 Richard Stallman <rms@gnu.org>
1602
1603 * src/vmsgetargs.c: entered into RCS
1604
16051992-06-22 Richard Stallman <rms@gnu.org>
1606
1607 * doc/bison.rnh: entered into RCS
1608
16091992-04-20 David J. MacKenzie <djm@gnu.org>
1610
1611 * README: entered into RCS
1612
16131992-01-22 Richard Stallman <rms@gnu.org>
1614
1615 * src/machine.h: entered into RCS
1616
16171991-12-21 Richard Stallman <rms@gnu.org>
1618
1619 * src/lalr.c, src/closure.c:
1620 entered into RCS
1621
16221991-12-20 Richard Stallman <rms@gnu.org>
1623
1624 * src/state.h: entered into RCS
1625
16261991-12-18 Richard Stallman <rms@gnu.org>
1627
1628 * src/print.c, src/nullable.c, src/derives.c:
1629 entered into RCS
1630
16311991-11-03 David J. MacKenzie <djm@gnu.org>
1632
1633 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1634 entered into RCS
1635
16361988-09-09 Richard Stallman <rms@gnu.org>
1637
1638 * src/bison.hairy: entered into RCS
1639
16401987-12-16 Richard Stallman <rms@gnu.org>
1641
1642 * REFERENCES: entered into RCS