]> git.saurik.com Git - bison.git/blame - ChangeLog
* doc/bison.texinfo: Various typos spotted by Neil Booth.
[bison.git] / ChangeLog
CommitLineData
14ded682
AD
12000-10-04 Akim Demaille <akim@epita.fr>
2
3 * doc/bison.texinfo: Various typos spotted by Neil Booth.
4
8e03724b
AD
52000-10-04 Akim Demaille <akim@epita.fr>
6
7 When a literal string is used to define two different tokens,
8 `bison -v' segfaults.
9 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
10
11 * tests/regression.m4: New file.
12 Include the core of the sample provided by Piotr Gackiewicz.
13 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
14 properly.
15
a9e64249
AD
162000-10-04 Akim Demaille <akim@epita.fr>
17
18 * src/reader.c (parse_expect_decl): Keep `count' within the size
19 of `buffer'.
20 From Neil Booth.
21
da9abf43
AD
222000-10-02 Paul Eggert <eggert@twinsun.com>
23
24 * bison.s1 (yyparse): Assign the default value
25 unconditionally, to avoid a GCC warning and make the parser a
26 tad smaller.
27
c33638bb
AD
282000-10-02 Akim Demaille <akim@epita.fr>
29
30 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
31 options.
32
444c570a
AD
332000-10-02 Akim Demaille <akim@epita.fr>
34
35 * src/derives.c, src/print.c, src/reduce.c: To ease the
36 translation, move some `\n' out of the translated strings.
37
89cab50d
AD
382000-10-02 Akim Demaille <akim@epita.fr>
39
40 The location tracking mechanism is precious for parse error
41 messages. Nevertheless, it is enabled only when `@n' is used in
42 the grammar, which is a different issue (you can use it in error
43 message, but not in the grammar per se). Therefore, there should
44 be another means to enable it.
45
46 * src/getargs.c (getargs): Support `--locations'.
47 (usage): Report it.
48 * src/getargs.h (locationsflag): Export it.
49 * src/lex.c (percent_table): Support `%locations'.
50 * src/reader.c (yylsp_needed): Remove this variable, now replaced
51 with `locationsflag'.
52 * doc/bison.texinfo: Document `--locations' and `%locations'.
53 Sort the options.
54 * tests/calc.m4: Test it.
55
56 For regularity of the names, replace each
57 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
58 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
59 In addition replace each `flag' with `_flag'.
60
d6c2cba0
AD
612000-10-02 Akim Demaille <akim@epita.fr>
62
63 Also test parse error messages, including with YYERROR_VERBOSE.
64
65 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
66 associative).
67 Use it to check the computations.
68 Use it to check `nonassoc' is honored.
69 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
70 `--yyerror-verbose'.
71 (_AT_CHECK_CALC): Adjust to this option.
72 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
73
5a35a6cb
AD
742000-10-02 Akim Demaille <akim@epita.fr>
75
76 Test also `--verbose', `--defines' and `--name-prefix'. Testing
77 the latter demonstrates a flaw in the handling of non debugging
78 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
79 was used in order to simplify:
80
81 #if YYDEBUG
82 if (yydebug)
83 {
84 ...
85 }
86 #endif
87
88 into
89
90 if (yydebug)
91 {
92 ...
93 }
94
95 unfortunately this leads to a CPP conflict when
96 `--name-prefix=foo' is used since it produces `#define yydebug
97 foodebug'.
98
99 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
100 (YYDPRINTF): New macro.
101 Spread its use.
102 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
103 the bison options.
104 Also test `--verbose', `--defines' and `--name-prefix'.
105
71da9eea
AD
1062000-10-02 Akim Demaille <akim@epita.fr>
107
108 Improve the readability of the produced parsers.
109
110 * src/bison.s1: Formatting changes.
111 Improve the comment related to the `$' mark.
112 (yydefault): Don't fall through to `yyresume': `goto' there.
113 * src/output.c (output_parser): When the `$' is met, skip the end
114 of its line.
115 New variable, `number_of_dollar_signs', to check there's exactly
116 one `$' in the parser skeleton.
117
95e36146
AD
1182000-10-02 Akim Demaille <akim@epita.fr>
119
120 * lib/xstrdup.c: New file, from the fileutils.
121 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
122 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
123 instead of strlen + xmalloc + strcpy.
124 * src/symtab.c (copys): Remove, use xstrdup instead.
125
d7020c20
AD
1262000-10-02 Akim Demaille <akim@epita.fr>
127
128 * src/gram.h (associativity): New enum type which replaces the
129 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
130 `right_assoc', `left_assoc' and `non_assoc'.
131 Adjust all dependencies.
132 * src/reader.c: Formatting changes.
133 (LTYPESTR): Don't define it, use it as a literal in
134 `reader_output_yylsp'.
135 * src/symtab.h (symbol_class): New enum type which replaces the
136 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
137 `sunknown', `stoken and `snterm'.
138
1916f98e
AD
1392000-10-02 Akim Demaille <akim@epita.fr>
140
141 * src/getargs.c (fixed_outfiles): Rename as...
142 (yaccflag): for consistency and accuracy.
143 Adjust dependencies.
144
d7913476
AD
1452000-10-02 Akim Demaille <akim@epita.fr>
146
147 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
148 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
149 difficult and introduced a lot of core dump. It turns out that
150 Bison used an implementation of `xmalloc' based on `calloc', and
151 at various places it does depend upon the initialization to 0. I
152 have not tried to isolate the pertinent places, and all the former
153 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
154 someone should address this issue.
155
156 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
157 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
158 files.
159 Adjust dependencies.
160 * src/warshall.h: New file.
161 Propagate.
162
340ef489
AD
1632000-10-02 Akim Demaille <akim@epita.fr>
164
165 Various anti-`extern in *.c' changes.
166
167 * src/system.h: Include `assert.h'.
168
b2ca4022
AD
1692000-10-02 Akim Demaille <akim@epita.fr>
170
171 * src/state.h (nstates, final_state, first_state, first_shift)
172 (first_reduction): Move their exportation from here...
173 * src/LR0.h: to here.
174 Adjust dependencies.
175 * src/getargs.c (statisticsflag): New variable.
176 Add support for `--statistics'.
177 Adjust dependencies.
178
179 Remove a lot of now useless `extern' statements in most files.
180
403b315b
AD
1812000-10-02 Akim Demaille <akim@epita.fr>
182
183 * src/LR0.h: New file.
184 Propagate its use.
185
07a58c13
AD
1862000-10-02 Akim Demaille <akim@epita.fr>
187
188 * src/print.h: New file.
189 Propagate its use.
190 * src/print.c: Formatting and ordering changes.
191 (verbose, terse): Replace with...
192 (print_results): this new function.
193 Adjust dependencies.
194
0619caf0
AD
1952000-10-02 Akim Demaille <akim@epita.fr>
196
197 * src/conflicts.c (conflict_report): New function.
198 (conflict_log, verbose_conflict_log): Replace with...
199 (print_conflicts): this function.
200 Adjust dependencies.
201 * src/conflicts.h: New file.
202 Propagate its inclusion.
203
3519ec76
AD
2042000-10-02 Akim Demaille <akim@epita.fr>
205
206 * src/nullable.h: New file.
207 Propagate its inclusion.
208 * src/nullable.c: Formatting changes.
209
015acc48
AD
2102000-10-02 Akim Demaille <akim@epita.fr>
211
212 * src/reduce.h: New file.
213 Propagate its inclusion.
214 * src/reduce.c: Topological sort and other formatting changes.
215 (bool, TRUE, FALSE): Move their definition to...
216 * src/system.h: here.
217
8963a27b
AD
2182000-10-02 Akim Demaille <akim@epita.fr>
219
220 * src/files.c: Formatting changes.
221 (tryopen, tryclose, openfiles): Rename as...
222 (xfopen, xfclose, open_files): this.
223 (stringappend): static.
224 * src/files.h: Complete the list of exported symbols.
225 Propagate its use.
226
a70083a3
AD
2272000-10-02 Akim Demaille <akim@epita.fr>
228
229 * src/reader.h: New file.
230 Propagate its use instead of tedious list of `extern' and
231 prototypes.
232 * src/reader.c: Formatting changes, topological sort,
233 s/register//.
234
abadc117
AD
2352000-10-02 Akim Demaille <akim@epita.fr>
236
237 * src/lex.h: Prototype `lex.c' exported functions.
238 * src/reader.c: Adjust.
239 * src/lex.c: Formatting changes.
240 (safegetc): Rename as...
241 (xgetc): this.
242
720d742f
AD
2432000-10-02 Akim Demaille <akim@epita.fr>
244
245 * src/lalr.h: New file.
246 Propagate its inclusion instead of prototypes and `extern'.
247 * src/lalr.c: Formatting changes, topological sorting etc.
248
f2acea59
AD
2492000-10-02 Akim Demaille <akim@epita.fr>
250
251 * src/output.c (token_actions): Introduce a temporary array,
252 YYDEFACT, that makes it possible for this function to use
253 output_short_table.
254
d019d655
AD
2552000-10-02 Akim Demaille <akim@epita.fr>
256
257 `user_toknums' is output as a `short[]' in `output.c', while it is
258 defined as a `int[]' in `reader.c'. For consistency with the
259 other output tables, `user_toknums' is now defined as a table of
260 shorts.
261
262 * src/reader.c (user_toknums): Be a short table instead of an int
263 table.
264 Adjust dependencies.
265
266 Factor the short table outputs.
267
268 * src/output.c (output_short_table): New function.
269 * src/output.c (output_gram, output_stos, output_rule_data)
270 (output_base, output_table, output_check): Use it.
271
6c89f1c1
AD
2722000-10-02 Akim Demaille <akim@epita.fr>
273
274 * src/output.c (output): Topological sort of the functions, in
275 order to get rid of the `static' prototypes.
276 No longer use `register'.
277 * src/output.h: New file.
278 Propagate its inclusion in files explicitly prototyping functions
279 from output.c.
280
d9efd181
AD
2812000-09-21 Akim Demaille <akim@epita.fr>
282
283 * src/atgeneral.m4: Update from Autoconf.
284
c29240e7 2852000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
286
287 * src/closure.h: New file.
288 * src/closure.c: Formatting changes, topological sort over the
289 functions, use of closure.h.
290 (initialize_closure, finalize_closure): Rename as...
291 (new_closure, free_closure): these. Adjust dependencies.
292 * src/LR0.c: Formatting changes, topological sort, use of
293 cloture.h.
294 (initialize_states): Rename as...
295 (new_states): this.
296 * src/Makefile.am (noinst_HEADERS): Adjust.
297
499daa50
AD
2982000-09-20 Akim Demaille <akim@epita.fr>
299
300 * src/acconfig.h: Don't protect config.h against multiple
301 inclusion.
302 Don't define PARAMS.
303 * src/system.h: Define PARAMS.
304 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
305 purpose of config.h. system.h must not try to fix wrong
306 definitions in config.h.
307
cc84fd5d
AD
3082000-09-20 Akim Demaille <akim@epita.fr>
309
310 * src/derives.h: New file.
311 * src/main.c, src/derives.h: Use it.
312 Formatting changes.
313 * src/Makefile.am (noinst_HEADERS): Adjust.
314
db5b3a89
AD
3152000-09-20 Akim Demaille <akim@epita.fr>
316
317 * tests/atgeneral.m4: Update from Autoconf.
318 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
319 (AT_CHECK_CALC): New macros.
320 Use these macros to test bison with options `', `--raw',
321 `--debug', `--yacc', `--yacc --debug'.
322
ceed8467
AD
3232000-09-19 Akim Demaille <akim@epita.fr>
324
325 * src/output.c: Formatting changes.
326 * src/machine.h: Remove, leaving its contents in...
327 * src/system.h: here.
328 Include stdio.h.
329 Adjust all dependencies on stdio.h and machine.h.
330 * src/getargs.h: New file.
331 Let all `extern' declarations about getargs.c be replaced with
332 inclusion of `getargs.h'.
333 * src/Makefile.am (noinst_HEADERS): Adjust.
334
335 * tests/calc.m4 (yyin): Be initialized in main, not on the global
336 scope.
337 (yyerror): Returns void, not int.
338 * doc/bison.texinfo: Formatting changes.
339
05a1d24b
AD
3402000-09-19 Akim Demaille <akim@epita.fr>
341
342 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
343 portable.
344
cbd25751
AD
3452000-09-18 Akim Demaille <akim@epita.fr>
346
347 * configure.in: Append WARNING_CFLAGS to CFLAGS.
348 * src/Makefile.am (INCLUDES): Don't.
349 Be ready to fetch headers in lib/.
350
13863333
AD
3512000-09-18 Akim Demaille <akim@epita.fr>
352
353 * doc/bison.texinfo: Update the copyright.
354 ANSIfy and GNUify the examples.
355 Remove the old menu.
356
0d533154
AD
3572000-09-18 Akim Demaille <akim@epita.fr>
358
359 First set of tests: use the `calc' example from the documentation.
360
361 * src/bison.s1 (yyparse): Condition the code using `yytname' which
362 is defined only when YYDEBUG is.
363 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
364 * src/files.c (tryopen, tryclose): Formatting changes.
365 Move to the top and be static.
366 * src/reader.c (read_signed_integer): Likewise.
367 * tests/calc.m4: New file.
368 * Makefile.am, suite.m4: Adjust.
369 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
370
e79137ac
AD
3712000-09-18 Akim Demaille <akim@epita.fr>
372
373 Add support for an Autotest test suite for Bison.
374
375 * m4/m4.m4, m4/atconfig.m4: New files.
376 * m4/Makefile.am (EXTRA_DIST): Adjust.
377 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
378 files.
379 * src/getargs.c: Display a more standard --version message.
380 * src/reader.c (reader): Formatting changes.
381 No longer depend upon VERSION_STRING.
382 * configure.in: No longer use `dnl'.
383 Set up the test suite and the new directory `tests/.
384 (VERSION_STRING): Remove.
385
27821bff
AD
3862000-04-14 Akim Demaille <akim@epita.fr>
387
388 * src/reader.c (copy_comment2): New function, same as former
389 `copy_comment', but outputs into two FILE *.
390 (copy_comment): Use it.
391 (parse_union_decl): Use it.
392 (get_type, parse_start_decl): Use the same `invalid' message.
393 (parse_start_decl, parse_union_decl): Use the same `multiple'
394 message.
395 (parse_union_decl, copy_guard, copy_action): Use the same
396 `unmatched' message.
397 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
398
cfe5fbc0
AD
3992000-03-31 Akim Demaille <akim@epita.fr>
400
401 * src/files.c (tryopen, tryclose): Move to the top.
402 Be static.
403
cb7db13e
AD
4042000-03-31 Akim Demaille <akim@epita.fr>
405
406 * src/main.c (main): Don't call `done', exit does it.
407
a0f6b076
AD
4082000-03-31 Akim Demaille <akim@epita.fr>
409
36281465
AD
410 * allocate.c: s/return (foo)/return foo/.
411 * lalr.c: Likewise.
412 * LR0.c: Likewise.
413 * output.c: Likewise.
414 * reader.c: Likewise.
415 * symtab.c: Likewise.
416 * vmsgetargs.c: Likewise.
417
4182000-03-31 Akim Demaille <akim@epita.fr>
419
420 Clean up the error reporting functions.
a0f6b076
AD
421
422 * src/report.c: New file.
423 * src/report.h: Likewise.
424 * src/Makefile.am: Adjust.
425 * m4/error.m4: New file.
426 * m4/Makefile.am: Adjust.
427 * configure.in (jm_PREREQ_ERROR): Call it.
428 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
429 Remove.
430 (fatal, fatals): Remove. All callers use complain.c::fatal.
431 (warn, warni, warns, warnss, warnss): Remove. All callers use
432 complain.c::complain.
433 (toomany): Remove, use fatal instead.
434 * src/files.c (done): No argument, use complain_message_count.
435 * src/main.c (main): Register `done' to `atexit'.
436
437 * src/getargs.c (usage): More `fputs', less `fprintf'.
438
18539825
AD
4392000-03-28 Akim Demaille <akim@epita.fr>
440
441 * lib/: New directory.
442 * Makefile.am (SUBDIRS): Adjust.
443 * configure.in: Adjust.
444 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
445 useless.
446 * src/alloca.c: Moved to lib/.
447 * src/getopt.c: Likewise.
448 * src/getopt1.c: Likewise.
449 * src/getopt.h: Likewise.
450 * src/ansi2knr.c: Likewise.
451 * src/ansi2knr.1: Likewise.
452 * src/Makefile.am: Adjust.
453 * lib/Makefile.am: New file.
454
9f306f2a
AD
4552000-03-28 Akim Demaille <akim@epita.fr>
456
457 * src/getargs.c (usage): Refresh the help message.
458
0ba347b6
AD
4592000-03-17 Akim Demaille <akim@epita.fr>
460
461 * src/getopt1.c: Updated from textutils 2.0e
462 * src/getopt.c: Likewise.
463 * src/getopt.h: Likewise.
464
dbe7f271
AD
4652000-03-17 Akim Demaille <akim@epita.fr>
466
467 * src/Makefile.am (bison.simple): Fix the awk program: quote only
468 the file name, not the whole `#line LINE FILE'.
469
75bbe78d
AD
4702000-03-17 Akim Demaille <akim@epita.fr>
471
472 On syntax errors, report the token on which we choked.
473
aa5fd0ee
AD
474 * src/bison.s1 (yyparse): In the label yyerrlab, when
475 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 476
7b306f52
AD
4772000-03-17 Akim Demaille <akim@epita.fr>
478
aa5fd0ee 479 * src/reader.c (copy_at): New function.
7b306f52
AD
480 (copy_guard): Use it.
481 (copy_action): Use it.
482
e87b5700
AD
4832000-03-17 Akim Demaille <akim@epita.fr>
484
485 Be kind to translators, save some useless translations.
486
aa5fd0ee 487 * src/main.c (banner): New function.
e87b5700
AD
488 (fatal_banner): Use it.
489 (warn_banner): Use it.
490
ae3c3164
AD
4912000-03-17 Akim Demaille <akim@epita.fr>
492
aa5fd0ee
AD
493 * src/reader.c (copy_definition): Use copy_string and
494 copy_comment. Removed now unused `match', `ended',
495 `cplus_comment'.
ae3c3164
AD
496 (copy_comment, copy_string): Moved, to be visible from
497 copy_definition.
498
4dc58e7c
AD
4992000-03-17 Akim Demaille <akim@epita.fr>
500
aa5fd0ee
AD
501 * src/reader.c (copy_string): Declare `static inline'. No
502 problems with inline, since it is checked by configure.
4dc58e7c
AD
503 (copy_comment): Likewise.
504
0a6384c4
AD
5052000-03-17 Akim Demaille <akim@epita.fr>
506
aa5fd0ee 507 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 508
3cef001a
AD
5092000-03-17 Akim Demaille <akim@epita.fr>
510
aa5fd0ee 511 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
512 (copy_action): Use it. Removed now unused `match', `ended',
513 `cplus_comment'.
514 (copy_guard): Likewise.
515
ca36d2ef
AD
5162000-03-17 Akim Demaille <akim@epita.fr>
517
aa5fd0ee 518 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
519 (copy_action): Use it.
520 (copy_guard): Likewise.
521
6666f98f
AD
5222000-03-17 Akim Demaille <akim@epita.fr>
523
524 Change the handling of @s so that they behave exactly like $s.
525 There is now a pseudo variable @$ (readble and writable), location
526 of the lhs of the rule (by default ranging from the location of
527 the first symbol of the rhs, to the location of the last symbol,
528 or, if the rhs is empty, YYLLOC).
529
530 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
531 yyval.
532 (yyparse): When providing a default semantic action, provide a
533 default location action.
534 (after the $): No longer change `*YYLSP', just stack YYLOC the
535 same way you stack YYVAL.
536 * src/reader.c (read_declarations): Use warns.
537 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
538 (copy_action, case '@'): Likewise.
539 Use a standard error message, to save useless work from
540 translators.
541
41aca2e0
AD
5422000-03-17 Akim Demaille <akim@epita.fr>
543
aa5fd0ee
AD
544 * src/bison.s1: Formatting and cosmetics changes.
545 * src/reader.c: Likewise.
41aca2e0
AD
546 Update the Copyright notice.
547
dc08c1d5
AD
5482000-03-17 Akim Demaille <akim@epita.fr>
549
aa5fd0ee
AD
550 * src/bison.s1 (#line): All set to `#line' only, since the
551 Makefile now handles them.
dc08c1d5 552
9ee3c97b
AD
5532000-03-16 Akim Demaille <akim@epita.fr>
554
555 * src/output.c (output_rule_data): Output the documentation of
556 some of the tables.
557 (Copyright notice): Update.
558 Formatting changes.
559
0de741ca
AD
5602000-03-16 Akim Demaille <akim@epita.fr>
561
562 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
563 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
564 One `#if YYDEBUG' remains, since it uses variables which are
565 defined only if `YYDEBUG != 0'.
566
bb10be54
AD
5672000-03-16 Akim Demaille <akim@epita.fr>
568
569 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
570 and related variables so that the similarities are highlighted.
571
b07b484a
AD
5722000-03-16 Akim Demaille <akim@epita.fr>
573
574 * src/bison.s1: Properly indent CPP directives.
575
361f60b3
AD
5762000-03-16 Akim Demaille <akim@epita.fr>
577
578 * src/bison.s1: Properly indent the `alloca' CPP section.
579
8c44d3ec
AD
5802000-03-16 Akim Demaille <akim@epita.fr>
581
582 Do not hard code values of directories in `configure.in'.
583 Update the `configure' tool chain.
584
585 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
586 src/makefile.am.
587 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
588 (AC_OUTPUT): Add m4/Makefile.
589 Bump to bison 1.28a, 1.29 has never been released.
590 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
591 handled via src/Makefile.am.
592 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
593 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
594 autoheader.
595 * Makefile.am (SUBDIRS): Add m4.
596 (ACLOCAL_AM_FLAGS): New variable.
597 (AUTOMAKE_OPTIONS): Add check-news.
598 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
599 the proper line number and file name.
600 (DEFS): Propagate the location of bison library files and of the
601 locale files.
602 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
603 builddir.
604 * acinclude.m4: Remove, replaced by the directory m4.
605 * m4/Makefile.am (EXTRA_DIST): New variable.
606 * m4/gettext.m4: New file, from the fileutils.
607 * m4/lcmessage.m4: Likewise
608 * m4/progtest.m4: Likewise.
609 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
610
f95997e7
AD
6112000-03-10 Akim Demaille <akim@epita.fr>
612
613 * src/closure.c:
614 Formatting changes of various comments.
615 Respect the GNU coding standards at various places.
616 Don't use `_()' when no translation is needed.
617
6181999-12-13 Jesse Thilo <jthilo@gnu.org>
619
620 * src/files.c:
621 OS/2 honors TMPDIR environment variable.
622
6231999-12-13 Jesse Thilo <jthilo@gnu.org>
624
625 * doc/bison.texinfo: Tweaked spelling and grammar.
626 Updated ISBN.
627 Removed reference to price of printed copy.
628 Mention BISON_SIMPLE and BISON_HAIRY.
629
6301999-12-13 Jesse Thilo <jthilo@gnu.org>
631
632 * configure.in, NEWS:
633 Bison 1.29 released.
634
6351999-10-27 Jesse Thilo <jthilo@gnu.org>
636
637 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
638 Added reference card.
639
6401999-07-26 Jesse Thilo <jthilo@gnu.org>
641
642 * po/ru.po: Added Russian translation.
643
6441999-07-26 Jesse Thilo <jthilo@gnu.org>
645
646 * configure.in: Added Russian translation.
647
6481999-07-06 Jesse Thilo <jthilo@gnu.org>
649
650 * configure.in, NEWS, README:
651 Released version 1.28.
652
6531999-06-14 Jesse Thilo <jthilo@gnu.org>
654
655 * src/system.h:
656 Squashed redefinition warning on some systems.
657
658 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
659 Have configure build version string instead of relying on ANSI string
660 concatentation.
661
6621999-06-14 Jesse Thilo <jthilo@gnu.org>
663
664 * po/POTFILES.in: Got rid of version.c.
665
6661999-06-14 Jesse Thilo <jthilo@gnu.org>
667
668 * acconfig.h, configure.in:
669 Have configure build version string instead of relying on ANSI string
670 concatentation.
671
6721999-06-08 Jesse Thilo <jthilo@gnu.org>
673
674 * doc/bison.1:
675 Dropped mention of `+' for long-named options.
676
6771999-05-30 Jesse Thilo <jthilo@gnu.org>
678
679 * src/files.c: Added <unistd.h> for unlink().
680
681 * src/Makefile.am, src/system.h:
682 I18n fixes.
683
6841999-05-30 Jesse Thilo <jthilo@gnu.org>
685
686 * README: Added a FAQ list.
687
688 * configure.in, acconfig.h:
689 I18n fixes.
690
6911999-05-30 Jesse Thilo <jthilo@gnu.org>
692
693 * doc/FAQ, doc/Makefile.am:
694 Added a FAQ list.
695
6961999-05-19 Jesse Thilo <jthilo@gnu.org>
697
698 * src/alloc.h, src/symtab.h, src/version.c:
699 Protected inclusion of "config.h" with HAVE_CONFIG_H.
700
7011999-04-18 Jesse Thilo <jthilo@gnu.org>
702
703 * src/.cvsignore, src/Makefile.am:
704 Reorganized: sources in `src', documentation in `doc'.
705
706 * src/lex.c (literalchar):
707 fixed the code for escaping double quotes (thanks
708 Jonathan Czisny.)
709
7101999-04-18 Jesse Thilo <jthilo@gnu.org>
711
712 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
713 Adjusted paths to reflect directory reorganization.
714
7151999-04-18 Jesse Thilo <jthilo@gnu.org>
716
717 * doc/.cvsignore, doc/Makefile.am:
718 Reorganized: sources in `src', documentation in `doc'.
719
7201999-04-18 Jesse Thilo <jthilo@gnu.org>
721
722 * configure.in:
723 Updated AC_INIT file to reflect directory reorganization.
724
725 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
726 Reorganized: sources in `src', documentation in `doc'.
727
7281999-04-13 Jesse Thilo <jthilo@gnu.org>
729
730 * src/allocate.c:
731 Don't declare calloc() and realloc() if not necessary.
732
7331999-04-13 Jesse Thilo <jthilo@gnu.org>
734
735 * configure.in, acconfig.h, acinclude.m4:
736 Don't declare calloc() and realloc() if not necessary.
737
7381999-03-23 Jesse Thilo <jthilo@gnu.org>
739
740 * po/.cvsignore: Added i18n support.
741
7421999-03-23 Jesse Thilo <jthilo@gnu.org>
743
744 * acconfig.h, configure.in, Makefile.am:
745 Added i18n support.
746
7471999-03-22 Jesse Thilo <jthilo@gnu.org>
748
749 * src/bison.s1: Fixed #line numbers.
750
7511999-03-15 Jesse Thilo <jthilo@gnu.org>
752
753 * po/es.po, po/fr.po, po/nl.po, po/de.po:
754 Added PO files from Translation Project.
755
7561999-03-03 Jesse Thilo <jthilo@gnu.org>
757
758 * Makefile.am:
759 Added support for non-ANSI compilers (ansi2knr).
760
7611999-02-16 Jesse Thilo <jthilo@gnu.org>
762
763 * configure.in: Bumped version number to 1.27.
764
765 * Makefile.am:
766 Added `bison.simple' to list of files removed by `make distclean'.
767
7681999-02-12 Jesse Thilo <jthilo@gnu.org>
769
770 * src/files.c, src/files.h:
771 Defined locations of parser files in config.h instead of Makefile.
772
7731999-02-12 Jesse Thilo <jthilo@gnu.org>
774
775 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
776 Defined locations of parser files in config.h instead of Makefile.
777
7781999-02-09 Jesse Thilo <jthilo@gnu.org>
779
780 * Makefile.am:
781 Removed inappropriate use of $< macro.
782
7831999-02-05 Jesse Thilo <jthilo@gnu.org>
784
785 * po/Makefile.in.in, po/POTFILES.in:
786 Add `po' directory skeleton.
787
7881999-01-27 Jesse Thilo <jthilo@gnu.org>
789
790 * README: Document help-bison list.
791
792 * configure.in: Add check for mkstemp().
793
7941999-01-20 Jesse Thilo <jthilo@gnu.org>
795
796 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
797 Hush a few compiler warnings.
798
799 * src/files.c:
800 Add tryclose(), which verifies that fclose was successful.
801 Hush a couple of compiler warnings.
802
8031999-01-20 Jesse Thilo <jthilo@gnu.org>
804
805 * Makefile.am, OChangeLog:
806 ChangeLog is now automatically generated. Include the old version as
807 OChangeLog.
808
8091999-01-14 Jesse Thilo <jthilo@gnu.org>
810
811 * 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:
812 Update FSF address.
813
8141999-01-14 Jesse Thilo <jthilo@gnu.org>
815
816 * doc/bison.texinfo: Fix formatting glitch.
817
818 * doc/bison.texinfo: Update FSF address.
819
8201999-01-14 Jesse Thilo <jthilo@gnu.org>
821
822 * acconfig.h: Update FSF address.
823
8241999-01-08 Jesse Thilo <jthilo@gnu.org>
825
826 * src/system.h:
827 Don't define PACKAGE here, since config.h defines it.
828
8291998-12-30 Jesse Thilo <jthilo@gnu.org>
830
831 * src/reader.c: Update copyright date.
832
833 * src/main.c:
834 Ditch sprintf to statically-sized buffers in fatal/warn functions in
835 favor of output directly to stderr (avoids buffer overruns).
836
837 * src/reader.c: Some checks for premature EOF.
838
839 * 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:
840 Use prototypes if the compiler understands them.
841
842 * src/files.c: Honor TMPDIR on Unix hosts.
843 Use prototypes if the compiler understands them.
844
845 * src/reader.c:
846 Fix a couple of buffer overrun bugs.
847 Use prototypes if the compiler understands them.
848
849 * src/system.h: Include unistd.h and ctype.h.
850 Use #ifdef instead of #if for NLS symbols.
851
8521998-12-30 Jesse Thilo <jthilo@gnu.org>
853
854 * doc/bison.texinfo:
855 Delete comment "consider using @set for edition number, etc..." since
856 we now are doing so.
857
8581998-12-30 Jesse Thilo <jthilo@gnu.org>
859
860 * configure.in:
861 Use prototypes if the compiler understands them.
862
863 * NEWS: Document 1.26 highlights.
864
865 * Makefile.am: Require Automake 1.3 or later.
866
867 * acconfig.h:
868 Use prototypes if the compiler understands them.
869
8701998-12-29 Jesse Thilo <jthilo@gnu.org>
871
872 * src/version.c:
873 Use VERSION symbol from automake for version number.
874
8751998-12-29 Jesse Thilo <jthilo@gnu.org>
876
877 * acconfig.h, configure.in, version.cin:
878 Use VERSION symbol from automake for version number.
879
8801998-11-28 Jesse Thilo <jthilo@gnu.org>
881
882 * Makefile.am:
883 Distribute original version of simple parser (bison.s1), not built
884 version (bison.simple).
885
8861998-11-28 Jesse Thilo <jthilo@gnu.org>
887
888 * doc/bison.texinfo: Add info dir entry.
889
890 * doc/bison.texinfo:
891 Let automake put version number into documentation.
892
8931998-11-26 Jesse Thilo <jthilo@gnu.org>
894
895 * src/bison.cld, src/build.com, src/vmshlp.mar:
896 Add non-RCS files from /gd/gnu/bison.
897
8981998-11-26 Jesse Thilo <jthilo@gnu.org>
899
900 * doc/bison.1:
901 Document the BISON_HAIRY and BISON_SIMPLE variables.
902
9031998-11-25 Jesse Thilo <jthilo@gnu.org>
904
905 * src/version.c: Build version.c automatically.
906
907 * src/reader.c:
908 Fix token numbering (used to start at 258, not 257).
909
910 * src/system.h: Include config.h.
911
912 * src/getargs.c: Update bug report address.
913
914 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
915 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
916
9171998-11-25 Jesse Thilo <jthilo@gnu.org>
918
919 * Makefile.am:
920 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
921
922 * configure.in, version.cin:
923 Build version.c automatically.
924
925 * AUTHORS: Add AUTHORS file.
926
927 * README: Update bug report address.
928
929 * bison.simple:
930 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
931
932 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
933 Add automake stuff.
934
9351998-11-25 Jesse Thilo <jthilo@gnu.org>
936
937 * doc/bison.texinfo: Clean up some formatting.
938
9391998-05-05 Richard Stallman <rms@gnu.org>
940
941 * doc/bison.texinfo:
942 Explain better why to make a pure parser.
943
9441998-01-05 Richard Stallman <rms@gnu.org>
945
946 * src/files.c (openfiles):
947 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
948 find a temporary directory, if possible. Do not unlink files while
949 they are open.
950
9511997-08-25 Richard Stallman <rms@gnu.org>
952
953 * src/reader.c (stack_offset;):
954 Change some warni to warns.
955
956 * src/lex.c (literalchar): Use warns, not warni.
957
9581997-06-28 Richard Stallman <rms@gnu.org>
959
960 * src/bison.s1: Add a Bison version comment.
961
962 * src/main.c (fatal, warn, berror):
963 Use program_name.
964
9651997-06-28 Richard Stallman <rms@gnu.org>
966
967 * Makefile.in (bison_version): New variable.
968 (dist): Use that variable.
969 (bison.s1): Substitute the Bison version into bison.simple.
970
971 * bison.simple: Add a Bison version comment.
972
9731997-06-18 Richard Stallman <rms@gnu.org>
974
975 * src/main.c (fatal, warn, berror):
976 Make error messages standard.
977 (toomany): Improve error message text.
978
979 * 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:
980 new.h renamed to alloc.h.
981
9821997-06-18 Richard Stallman <rms@gnu.org>
983
984 * Makefile.in: new.h renamed to alloc.h.
985
9861997-05-24 Richard Stallman <rms@gnu.org>
987
988 * src/lex.c (literalchar):
989 Fix the code for escaping \, " and '.
990
991 (lex): Avoid trouble when there are many chars
992 to discard in a char literal with just several chars in it.
993
9941997-05-17 Richard Stallman <rms@gnu.org>
995
996 * src/bison.s1:
997 Use malloc, if using alloca is troublesome.
998 (YYSTACK_USE_ALLOCA): New flag macro.
999 Define it for some systems and compilers.
1000 (YYSTACK_ALLOC): New macro.
1001 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1002 If it was malloc'd, free it.
1003
10041997-05-17 Richard Stallman <rms@gnu.org>
1005
1006 * bison.simple:
1007 Use malloc, if using alloca is troublesome.
1008 (YYSTACK_USE_ALLOCA): New flag macro.
1009 Define it for some systems and compilers.
1010 (YYSTACK_ALLOC): New macro.
1011 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1012 If it was malloc'd, free it.
1013
10141997-04-23 Richard Stallman <rms@gnu.org>
1015
1016 * src/bison.s1:
1017 (alloca) [__hpux]: Always define as __builtin_alloca.
1018
10191997-04-23 Richard Stallman <rms@gnu.org>
1020
1021 * bison.simple:
1022 (alloca) [__hpux]: Always define as __builtin_alloca.
1023
10241997-04-22 Richard Stallman <rms@gnu.org>
1025
1026 * src/bison.s1:
1027 [__hpux]: Include alloca.h (right for HPUX 10)
1028 instead of declaring alloca (right for HPUX 9).
1029
1030 * src/bison.s1 (__yy_memcpy):
1031 Declare arg `count' as unsigned int.
1032 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1033
10341997-04-22 Richard Stallman <rms@gnu.org>
1035
1036 * bison.simple:
1037 [__hpux]: Include alloca.h (right for HPUX 10)
1038 instead of declaring alloca (right for HPUX 9).
1039
1040 * bison.simple (__yy_memcpy):
1041 Declare arg `count' as unsigned int.
1042 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1043
10441997-01-03 Richard Stallman <rms@gnu.org>
1045
1046 * src/allocate.c: [__STDC__ or _MSC_VER]:
1047 Declare calloc and realloc to return void *.
1048
10491997-01-02 Richard Stallman <rms@gnu.org>
1050
1051 * src/system.h:
1052 [_MSC_VER]: Include stdlib.h and process.h.
1053 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1054
1055 * src/main.c (main): Return FAILURE as a value.
1056 (printable_version): Declare arg as int, not char.
1057
10581997-01-02 Richard Stallman <rms@gnu.org>
1059
1060 * Makefile.in (dist):
1061 Explicitly check for symlinks, and copy them.
1062
10631996-12-19 Richard Stallman <rms@gnu.org>
1064
1065 * src/files.c:
1066 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1067
10681996-12-18 Paul Eggert <eggert@gnu.org>
1069
1070 * src/bison.s1 (yyparse):
1071 If __GNUC__ and YYPARSE_PARAM are both defined,
1072 declare yyparse to have a void * argument.
1073
10741996-12-18 Paul Eggert <eggert@gnu.org>
1075
1076 * bison.simple (yyparse):
1077 If __GNUC__ and YYPARSE_PARAM are both defined,
1078 declare yyparse to have a void * argument.
1079
10801996-12-17 Richard Stallman <rms@gnu.org>
1081
1082 * src/reduce.c (nbits): Add some casts.
1083
10841996-08-12 Richard Stallman <rms@gnu.org>
1085
1086 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1087
10881996-08-12 Richard Stallman <rms@gnu.org>
1089
1090 * bison.simple: Test _MSDOS as well as _MSDOS_.
1091
10921996-07-31 Richard Stallman <rms@gnu.org>
1093
1094 * src/bison.s1:
1095 [__sun && __i386]: Include alloca.h.
1096
10971996-07-31 Richard Stallman <rms@gnu.org>
1098
1099 * bison.simple:
1100 [__sun && __i386]: Include alloca.h.
1101
11021996-07-30 Richard Stallman <rms@gnu.org>
1103
1104 * src/bison.s1: Comment change.
1105
1106 * src/bison.s1: Test _MSDOS_, not MSDOS.
1107
11081996-07-30 Richard Stallman <rms@gnu.org>
1109
1110 * bison.simple: Comment change.
1111
1112 * bison.simple: Test _MSDOS_, not MSDOS.
1113
11141996-06-01 Richard Stallman <rms@gnu.org>
1115
1116 * 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:
1117 Insert `_' macro around many string constants.
1118
1119 * src/main.c:
1120 Insert `_' macro around many string constants.
1121
1122 (main): Call setlocale, bindtextdomain and textdomain.
1123
1124 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1125 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1126 [ENABLE_NLS]: Include libintl.h.
1127 [ENABLE_NLS] (gettext): Define.
1128 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1129 (N_, PACKAGE, LOCALEDIR): New macros.
1130
11311996-06-01 Richard Stallman <rms@gnu.org>
1132
1133 * POTFILES.in: New file.
1134
1135 * Makefile.in (allocate.o):
1136 Define target explicitly.
1137
1138 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1139 (LDFLAGS): Set to @LDFLAGS@.
1140 (configure): Run autoconf only if preceding `cd' succeeds.
1141 (bison.s1): Redirect output to temporary file then move the
1142 temporary to the target, rather than redirecting directly to bison.s1.
1143 (clean): Remove config.status and config.log.
1144 (distclean): Don't remove config.status here.
1145
11461996-05-12 Richard Stallman <rms@gnu.org>
1147
1148 * src/bison.s1:
1149 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1150
11511996-05-12 Richard Stallman <rms@gnu.org>
1152
1153 * bison.simple:
1154 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1155
11561996-05-11 Richard Stallman <rms@gnu.org>
1157
1158 * src/bison.s1 (__yy_memcpy):
1159 Really reorder the args, as was supposedly done on Feb 14 1995.
1160 (yyparse): Calls changed accordingly.
1161
11621996-05-11 Richard Stallman <rms@gnu.org>
1163
1164 * Makefile.in (dist): Don't use $(srcdir).
1165
1166 * bison.simple (__yy_memcpy):
1167 Really reorder the args, as was supposedly done on Feb 14 1995.
1168 (yyparse): Calls changed accordingly.
1169
11701996-01-27 Richard Stallman <rms@gnu.org>
1171
1172 * src/output.c (output_rule_data):
1173 Test YYERROR_VERBOSE in the conditional
1174 around the definition of ttyname.
1175
11761995-12-29 Richard Stallman <rms@gnu.org>
1177
1178 * src/bison.s1:
1179 Fix line numbers in #line commands.
1180
11811995-12-29 Richard Stallman <rms@gnu.org>
1182
1183 * bison.simple:
1184 Fix line numbers in #line commands.
1185
11861995-12-27 Richard Stallman <rms@gnu.org>
1187
1188 * src/bison.s1 (YYPARSE_PARAM_DECL):
1189 In C++, make it always null.
1190 (YYPARSE_PARAM_ARG): New macro.
1191 (yyparse): Use YYPARSE_PARAM_ARG.
1192
11931995-12-27 Richard Stallman <rms@gnu.org>
1194
1195 * bison.simple (YYPARSE_PARAM_DECL):
1196 In C++, make it always null.
1197 (YYPARSE_PARAM_ARG): New macro.
1198 (yyparse): Use YYPARSE_PARAM_ARG.
1199
12001995-11-29 Richard Stallman <rms@gnu.org>
1201
1202 * doc/bison.texinfo:
1203 Describe literal string tokens, %raw, %no_lines, %token_table.
1204
12051995-11-29 Daniel Hagerty <hag@gnu.org>
1206
1207 * doc/bison.texinfo: Fixed update date
1208
12091995-10-16 Richard Stallman <rms@gnu.org>
1210
1211 * src/version.c: Version 1.25.
1212
12131995-10-16 Richard Stallman <rms@gnu.org>
1214
1215 * NEWS: *** empty log message ***
1216
12171995-10-16 Richard Stallman <rms@gnu.org>
1218
1219 * doc/bison.1, doc/bison.rnh:
1220 Add new options.
1221
12221995-10-15 Richard Stallman <rms@gnu.org>
1223
1224 * src/vmsgetargs.c, src/getargs.c:
1225 Added -n, -k, and -raw switches.
1226 (noparserflag, toknumflag, rawtoknumflag): New variables.
1227
1228 * src/symtab.h (SALIAS):
1229 New #define for adding aliases to %token.
1230 (struct bucket): Added `alias' field.
1231
1232 * src/reduce.c (reduce_grammar):
1233 Revise error message.
1234 (print_notices): Remove final `.' from error message.
1235
1236 * src/reader.c (reader_output_yylsp):
1237 New function.
1238 (readgram): Use `#if 0' around code that accepted %command
1239 inside grammar rules: The documentation doesn't allow it,
1240 and it will fail since the %command processors scan for the next %.
1241 (parse_token_decl): Extended the %token
1242 declaration to allow a multi-character symbol as an alias.
1243 (parse_thong_decl): New function.
1244 (read_declarations): Added %thong declarations.
1245 (read_declarations): Handle NOOP to deal with allowing
1246 % declarations as another means to specify the flags.
1247 (readgram): Allow %prec prior to semantics embedded in a rule.
1248 (skip_to_char, read_declarations, copy_definition)
1249 (parse_token_decl, parse_start_decl, parse_type_decl)
1250 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1251 (get_type_name, copy_guard, copy_action, readgram)
1252 (get_type, packsymbols): Revised most error messages.
1253 Changed `fatal' to `warnxxx' to avoid aborting for error.
1254 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1255 (read_declarations): Improve the error message for
1256 an invalid character. Do not abort.
1257 (read_declarations, copy_guard, copy_action): Use
1258 printable_version to avoid unprintable characters in printed output.
1259 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1260 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1261 Allow the type of a non-terminal can be given
1262 more than once, as long as all specifications give the same type.
1263
1264 * src/output.c:
1265 (output_headers, output_trailers, output, output_gram)
1266 (output_rule_data): Implement noparserflag variable.
1267 Implement toknumflag variable.
1268 (output): Call reader_output_yylsp to output LTYPESTR.
1269
1270 * src/main.c (main):
1271 If reader sees an error, don't process the grammar.
1272 (fatals): Updated to not use VARARGS1.
1273 (printable_version, int_to_string, warn, warni, warns, warnss)
1274 (warnsss): New error reporting functions. Avoid abort for error.
1275
1276 * src/lex.h:
1277 Added THONG and NOOP for alias processing.
1278 Added SETOPT for the new code that allows setting options with %flags.
1279
1280 * src/lex.c:
1281 Include getopt.h. Add some extern decls.
1282 (safegetc): New function to deal with EOF gracefully.
1283 (literalchar); new function to deal with reading \ escapes.
1284 (lex): Use literalchar.
1285 (lex): Implemented "..." tokens.
1286 (literalchar, lex, parse_percent_token): Made tokenbuffer
1287 always contain the token. This includes growing the token
1288 buffer while reading an integer.
1289 (parse_percent_token): Replaced if-else statement with percent_table.
1290 (parse_percent_token): Added % declarations as another
1291 way to specify the flags -n, -l, and -r. Also added hooks for
1292 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1293 major changes to files.c.
1294 (lex) Retain in the incoming stream a character following
1295 an incorrect '/'.
1296 (skip_white_space, lex): Revised most error messages
1297 and changed fatal to warn to avoid aborting.
1298 (percent_table): Added %thong declarations.
1299
1300 * src/gram.h: Comment changes.
1301
1302 * src/files.c (openfiles, open_extra_files, done):
1303 Add faction flag
1304 and actfile file. Handle noparserflag. Both for -n switch.
1305
1306 * src/conflicts.c (resolve_sr_conflict):
1307 Remove use of alloca.
1308
13091995-06-01 Jim Meyering <meyering@gnu.org>
1310
1311 * doc/bison.texinfo: *** empty log message ***
1312
13131995-05-06 Richard Stallman <rms@gnu.org>
1314
1315 * src/bison.s1: Comment change.
1316
13171995-05-06 Richard Stallman <rms@gnu.org>
1318
1319 * bison.simple: Comment change.
1320
13211995-05-03 Richard Stallman <rms@gnu.org>
1322
1323 * src/version.c: Version now 1.24.
1324
1325 * src/bison.s1: Change distribution terms.
1326
1327 * src/version.c: Version now 1.23.
1328
13291995-05-03 Richard Stallman <rms@gnu.org>
1330
1331 * doc/bison.texinfo:
1332 Rewrite "Conditions for Using Bison".
1333 Update version to 1.24.
1334
13351995-05-03 Richard Stallman <rms@gnu.org>
1336
1337 * bison.simple: Change distribution terms.
1338
13391995-02-23 Richard Stallman <rms@gnu.org>
1340
1341 * src/files.c: Test __VMS_POSIX as well as VMS.
1342
13431995-02-14 Jim Meyering <meyering@gnu.org>
1344
1345 * src/bison.s1 (__yy_memcpy):
1346 Renamed from __yy_bcopy to avoid
1347 confusion. Reverse FROM and TO arguments to be consistent with
1348 those of memcpy.
1349
13501995-02-14 Jim Meyering <meyering@gnu.org>
1351
1352 * bison.simple (__yy_memcpy):
1353 Renamed from __yy_bcopy to avoid
1354 confusion. Reverse FROM and TO arguments to be consistent with
1355 those of memcpy.
1356
13571994-11-10 David J. MacKenzie <djm@gnu.org>
1358
1359 * NEWS: reformat
1360
1361 * NEWS: New file.
1362
1363 * Makefile.in (DISTFILES): Include NEWS.
1364
1365 * Makefile.in (DISTFILES):
1366 Include install-sh, not install.sh.
1367
1368 * configure.in: Update to Autoconf v2 macro names.
1369
13701994-10-05 David J. MacKenzie <djm@gnu.org>
1371
1372 * Makefile.in: fix typo
1373
1374 * Makefile.in (prefix, exec_prefix):
1375 Let configure set them.
1376
13771994-09-28 David J. MacKenzie <djm@gnu.org>
1378
1379 * Makefile.in: Set datadir to $(prefix)/share.
1380
13811994-09-15 Richard Stallman <rms@gnu.org>
1382
1383 * src/bison.s1:
1384 Update copyright notice and GPL version.
1385
13861994-09-15 Richard Stallman <rms@gnu.org>
1387
1388 * bison.simple:
1389 Update copyright notice and GPL version.
1390
13911994-07-12 Richard Stallman <rms@gnu.org>
1392
1393 * src/reduce.c, src/reader.c:
1394 entered into RCS
1395
13961994-05-05 David J. MacKenzie <djm@gnu.org>
1397
1398 * Makefile.in: entered into RCS
1399
14001994-03-26 Richard Stallman <rms@gnu.org>
1401
1402 * src/bison.s1: entered into RCS
1403
14041994-03-26 Richard Stallman <rms@gnu.org>
1405
1406 * bison.simple: entered into RCS
1407
14081994-03-25 Richard Stallman <rms@gnu.org>
1409
1410 * src/main.c: entered into RCS
1411
14121994-03-24 Richard Stallman <rms@gnu.org>
1413
1414 * src/conflicts.c: entered into RCS
1415
14161994-01-02 Richard Stallman <rms@gnu.org>
1417
1418 * Makefile.in: *** empty log message ***
1419
14201993-11-21 Richard Stallman <rms@gnu.org>
1421
1422 * src/bison.s1: *** empty log message ***
1423
14241993-11-21 Richard Stallman <rms@gnu.org>
1425
1426 * doc/bison.texinfo: entered into RCS
1427
1428 * doc/bison.texinfo: *** empty log message ***
1429
14301993-11-21 Richard Stallman <rms@gnu.org>
1431
1432 * bison.simple: *** empty log message ***
1433
14341993-10-25 David J. MacKenzie <djm@gnu.org>
1435
1436 * doc/bison.texinfo: *** empty log message ***
1437
14381993-10-19 Richard Stallman <rms@gnu.org>
1439
1440 * src/bison.s1: *** empty log message ***
1441
14421993-10-19 Richard Stallman <rms@gnu.org>
1443
1444 * bison.simple: *** empty log message ***
1445
14461993-10-14 Richard Stallman <rms@gnu.org>
1447
1448 * src/bison.s1: *** empty log message ***
1449
14501993-10-14 Richard Stallman <rms@gnu.org>
1451
1452 * bison.simple: *** empty log message ***
1453
14541993-09-14 David J. MacKenzie <djm@gnu.org>
1455
1456 * doc/bison.texinfo: *** empty log message ***
1457
14581993-09-13 Noah Friedman <friedman@gnu.org>
1459
1460 * Makefile.in: *** empty log message ***
1461
14621993-09-10 Richard Stallman <rms@gnu.org>
1463
1464 * src/conflicts.c: *** empty log message ***
1465
1466 * src/system.h: entered into RCS
1467
14681993-09-10 Richard Stallman <rms@gnu.org>
1469
1470 * doc/bison.1: entered into RCS
1471
14721993-09-06 Noah Friedman <friedman@gnu.org>
1473
1474 * src/version.c: entered into RCS
1475
14761993-09-06 Noah Friedman <friedman@gnu.org>
1477
1478 * Makefile.in: *** empty log message ***
1479
14801993-07-30 David J. MacKenzie <djm@gnu.org>
1481
1482 * Makefile.in: *** empty log message ***
1483
14841993-07-24 Richard Stallman <rms@gnu.org>
1485
1486 * src/bison.s1: *** empty log message ***
1487
14881993-07-24 Richard Stallman <rms@gnu.org>
1489
1490 * bison.simple: *** empty log message ***
1491
14921993-07-08 David J. MacKenzie <djm@gnu.org>
1493
1494 * Makefile.in: *** empty log message ***
1495
14961993-07-04 Richard Stallman <rms@gnu.org>
1497
1498 * src/bison.s1: *** empty log message ***
1499
15001993-07-04 Richard Stallman <rms@gnu.org>
1501
1502 * bison.simple: *** empty log message ***
1503
15041993-06-26 David J. MacKenzie <djm@gnu.org>
1505
1506 * src/getargs.c: entered into RCS
1507
15081993-06-26 David J. MacKenzie <djm@gnu.org>
1509
1510 * doc/bison.texinfo: *** empty log message ***
1511
1512 * doc/bison.1: New file.
1513
15141993-06-25 Richard Stallman <rms@gnu.org>
1515
1516 * src/getargs.c: New file.
1517
15181993-06-16 Richard Stallman <rms@gnu.org>
1519
1520 * src/bison.s1: *** empty log message ***
1521
15221993-06-16 Richard Stallman <rms@gnu.org>
1523
1524 * bison.simple: *** empty log message ***
1525
15261993-06-03 Richard Stallman <rms@gnu.org>
1527
1528 * src/bison.s1: New file.
1529
15301993-06-03 Richard Stallman <rms@gnu.org>
1531
1532 * doc/bison.texinfo: *** empty log message ***
1533
15341993-06-03 Richard Stallman <rms@gnu.org>
1535
1536 * bison.simple: New file.
1537
15381993-05-19 Richard Stallman <rms@gnu.org>
1539
1540 * doc/bison.texinfo: New file.
1541
15421993-05-07 Noah Friedman <friedman@gnu.org>
1543
1544 * Makefile.in: *** empty log message ***
1545
15461993-04-28 Noah Friedman <friedman@gnu.org>
1547
1548 * src/reader.c: *** empty log message ***
1549
15501993-04-23 Noah Friedman <friedman@gnu.org>
1551
1552 * src/alloc.h: entered into RCS
1553
15541993-04-20 David J. MacKenzie <djm@gnu.org>
1555
1556 * src/version.c: *** empty log message ***
1557
1558 * src/files.c, src/allocate.c:
1559 entered into RCS
1560
1561 * src/reader.c: *** empty log message ***
1562
1563 * src/lex.c: entered into RCS
1564
1565 * src/conflicts.c: New file.
1566
1567 * src/symtab.c: entered into RCS
1568
1569 * src/alloc.h: New file.
1570
1571 * src/LR0.c: entered into RCS
1572
15731993-04-18 Noah Friedman <friedman@gnu.org>
1574
1575 * src/reader.c: New file.
1576
1577 * src/version.c: *** empty log message ***
1578
15791993-04-18 Noah Friedman <friedman@gnu.org>
1580
1581 * Makefile.in: *** empty log message ***
1582
15831993-04-17 Noah Friedman <friedman@gnu.org>
1584
1585 * Makefile.in: *** empty log message ***
1586
15871993-04-15 Richard Stallman <rms@gnu.org>
1588
1589 * src/main.c, src/files.c:
1590 New file.
1591
15921993-04-15 Noah Friedman <friedman@gnu.org>
1593
1594 * configure.in: entered into RCS
1595
1596 * configure.in: *** empty log message ***
1597
1598 * configure.in: New file.
1599
16001993-04-14 Richard Stallman <rms@gnu.org>
1601
1602 * Makefile.in: New file.
1603
16041993-04-13 Richard Stallman <rms@gnu.org>
1605
1606 * src/version.c: New file.
1607
16081993-03-25 Richard Stallman <rms@gnu.org>
1609
1610 * src/output.c: entered into RCS
1611
16121992-09-25 Richard Stallman <rms@gnu.org>
1613
1614 * configure.bat: entered into RCS
1615
16161992-06-22 Richard Stallman <rms@gnu.org>
1617
1618 * src/vmsgetargs.c: entered into RCS
1619
16201992-06-22 Richard Stallman <rms@gnu.org>
1621
1622 * doc/bison.rnh: entered into RCS
1623
16241992-04-20 David J. MacKenzie <djm@gnu.org>
1625
1626 * README: entered into RCS
1627
16281992-01-22 Richard Stallman <rms@gnu.org>
1629
1630 * src/machine.h: entered into RCS
1631
16321991-12-21 Richard Stallman <rms@gnu.org>
1633
1634 * src/lalr.c, src/closure.c:
1635 entered into RCS
1636
16371991-12-20 Richard Stallman <rms@gnu.org>
1638
1639 * src/state.h: entered into RCS
1640
16411991-12-18 Richard Stallman <rms@gnu.org>
1642
1643 * src/print.c, src/nullable.c, src/derives.c:
1644 entered into RCS
1645
16461991-11-03 David J. MacKenzie <djm@gnu.org>
1647
1648 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1649 entered into RCS
1650
16511988-09-09 Richard Stallman <rms@gnu.org>
1652
1653 * src/bison.hairy: entered into RCS
1654
16551987-12-16 Richard Stallman <rms@gnu.org>
1656
1657 * REFERENCES: entered into RCS