]> git.saurik.com Git - bison.git/blame - ChangeLog
* bison.s1 (yyparse): Assign the default value
[bison.git] / ChangeLog
CommitLineData
da9abf43
AD
12000-10-02 Paul Eggert <eggert@twinsun.com>
2
3 * bison.s1 (yyparse): Assign the default value
4 unconditionally, to avoid a GCC warning and make the parser a
5 tad smaller.
6
c33638bb
AD
72000-10-02 Akim Demaille <akim@epita.fr>
8
9 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
10 options.
11
444c570a
AD
122000-10-02 Akim Demaille <akim@epita.fr>
13
14 * src/derives.c, src/print.c, src/reduce.c: To ease the
15 translation, move some `\n' out of the translated strings.
16
89cab50d
AD
172000-10-02 Akim Demaille <akim@epita.fr>
18
19 The location tracking mechanism is precious for parse error
20 messages. Nevertheless, it is enabled only when `@n' is used in
21 the grammar, which is a different issue (you can use it in error
22 message, but not in the grammar per se). Therefore, there should
23 be another means to enable it.
24
25 * src/getargs.c (getargs): Support `--locations'.
26 (usage): Report it.
27 * src/getargs.h (locationsflag): Export it.
28 * src/lex.c (percent_table): Support `%locations'.
29 * src/reader.c (yylsp_needed): Remove this variable, now replaced
30 with `locationsflag'.
31 * doc/bison.texinfo: Document `--locations' and `%locations'.
32 Sort the options.
33 * tests/calc.m4: Test it.
34
35 For regularity of the names, replace each
36 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
37 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
38 In addition replace each `flag' with `_flag'.
39
d6c2cba0
AD
402000-10-02 Akim Demaille <akim@epita.fr>
41
42 Also test parse error messages, including with YYERROR_VERBOSE.
43
44 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
45 associative).
46 Use it to check the computations.
47 Use it to check `nonassoc' is honored.
48 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
49 `--yyerror-verbose'.
50 (_AT_CHECK_CALC): Adjust to this option.
51 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
52
5a35a6cb
AD
532000-10-02 Akim Demaille <akim@epita.fr>
54
55 Test also `--verbose', `--defines' and `--name-prefix'. Testing
56 the latter demonstrates a flaw in the handling of non debugging
57 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
58 was used in order to simplify:
59
60 #if YYDEBUG
61 if (yydebug)
62 {
63 ...
64 }
65 #endif
66
67 into
68
69 if (yydebug)
70 {
71 ...
72 }
73
74 unfortunately this leads to a CPP conflict when
75 `--name-prefix=foo' is used since it produces `#define yydebug
76 foodebug'.
77
78 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
79 (YYDPRINTF): New macro.
80 Spread its use.
81 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
82 the bison options.
83 Also test `--verbose', `--defines' and `--name-prefix'.
84
71da9eea
AD
852000-10-02 Akim Demaille <akim@epita.fr>
86
87 Improve the readability of the produced parsers.
88
89 * src/bison.s1: Formatting changes.
90 Improve the comment related to the `$' mark.
91 (yydefault): Don't fall through to `yyresume': `goto' there.
92 * src/output.c (output_parser): When the `$' is met, skip the end
93 of its line.
94 New variable, `number_of_dollar_signs', to check there's exactly
95 one `$' in the parser skeleton.
96
95e36146
AD
972000-10-02 Akim Demaille <akim@epita.fr>
98
99 * lib/xstrdup.c: New file, from the fileutils.
100 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
101 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
102 instead of strlen + xmalloc + strcpy.
103 * src/symtab.c (copys): Remove, use xstrdup instead.
104
d7020c20
AD
1052000-10-02 Akim Demaille <akim@epita.fr>
106
107 * src/gram.h (associativity): New enum type which replaces the
108 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
109 `right_assoc', `left_assoc' and `non_assoc'.
110 Adjust all dependencies.
111 * src/reader.c: Formatting changes.
112 (LTYPESTR): Don't define it, use it as a literal in
113 `reader_output_yylsp'.
114 * src/symtab.h (symbol_class): New enum type which replaces the
115 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
116 `sunknown', `stoken and `snterm'.
117
1916f98e
AD
1182000-10-02 Akim Demaille <akim@epita.fr>
119
120 * src/getargs.c (fixed_outfiles): Rename as...
121 (yaccflag): for consistency and accuracy.
122 Adjust dependencies.
123
d7913476
AD
1242000-10-02 Akim Demaille <akim@epita.fr>
125
126 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
127 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
128 difficult and introduced a lot of core dump. It turns out that
129 Bison used an implementation of `xmalloc' based on `calloc', and
130 at various places it does depend upon the initialization to 0. I
131 have not tried to isolate the pertinent places, and all the former
132 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
133 someone should address this issue.
134
135 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
136 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
137 files.
138 Adjust dependencies.
139 * src/warshall.h: New file.
140 Propagate.
141
340ef489
AD
1422000-10-02 Akim Demaille <akim@epita.fr>
143
144 Various anti-`extern in *.c' changes.
145
146 * src/system.h: Include `assert.h'.
147
b2ca4022
AD
1482000-10-02 Akim Demaille <akim@epita.fr>
149
150 * src/state.h (nstates, final_state, first_state, first_shift)
151 (first_reduction): Move their exportation from here...
152 * src/LR0.h: to here.
153 Adjust dependencies.
154 * src/getargs.c (statisticsflag): New variable.
155 Add support for `--statistics'.
156 Adjust dependencies.
157
158 Remove a lot of now useless `extern' statements in most files.
159
403b315b
AD
1602000-10-02 Akim Demaille <akim@epita.fr>
161
162 * src/LR0.h: New file.
163 Propagate its use.
164
07a58c13
AD
1652000-10-02 Akim Demaille <akim@epita.fr>
166
167 * src/print.h: New file.
168 Propagate its use.
169 * src/print.c: Formatting and ordering changes.
170 (verbose, terse): Replace with...
171 (print_results): this new function.
172 Adjust dependencies.
173
0619caf0
AD
1742000-10-02 Akim Demaille <akim@epita.fr>
175
176 * src/conflicts.c (conflict_report): New function.
177 (conflict_log, verbose_conflict_log): Replace with...
178 (print_conflicts): this function.
179 Adjust dependencies.
180 * src/conflicts.h: New file.
181 Propagate its inclusion.
182
3519ec76
AD
1832000-10-02 Akim Demaille <akim@epita.fr>
184
185 * src/nullable.h: New file.
186 Propagate its inclusion.
187 * src/nullable.c: Formatting changes.
188
015acc48
AD
1892000-10-02 Akim Demaille <akim@epita.fr>
190
191 * src/reduce.h: New file.
192 Propagate its inclusion.
193 * src/reduce.c: Topological sort and other formatting changes.
194 (bool, TRUE, FALSE): Move their definition to...
195 * src/system.h: here.
196
8963a27b
AD
1972000-10-02 Akim Demaille <akim@epita.fr>
198
199 * src/files.c: Formatting changes.
200 (tryopen, tryclose, openfiles): Rename as...
201 (xfopen, xfclose, open_files): this.
202 (stringappend): static.
203 * src/files.h: Complete the list of exported symbols.
204 Propagate its use.
205
a70083a3
AD
2062000-10-02 Akim Demaille <akim@epita.fr>
207
208 * src/reader.h: New file.
209 Propagate its use instead of tedious list of `extern' and
210 prototypes.
211 * src/reader.c: Formatting changes, topological sort,
212 s/register//.
213
abadc117
AD
2142000-10-02 Akim Demaille <akim@epita.fr>
215
216 * src/lex.h: Prototype `lex.c' exported functions.
217 * src/reader.c: Adjust.
218 * src/lex.c: Formatting changes.
219 (safegetc): Rename as...
220 (xgetc): this.
221
720d742f
AD
2222000-10-02 Akim Demaille <akim@epita.fr>
223
224 * src/lalr.h: New file.
225 Propagate its inclusion instead of prototypes and `extern'.
226 * src/lalr.c: Formatting changes, topological sorting etc.
227
f2acea59
AD
2282000-10-02 Akim Demaille <akim@epita.fr>
229
230 * src/output.c (token_actions): Introduce a temporary array,
231 YYDEFACT, that makes it possible for this function to use
232 output_short_table.
233
d019d655
AD
2342000-10-02 Akim Demaille <akim@epita.fr>
235
236 `user_toknums' is output as a `short[]' in `output.c', while it is
237 defined as a `int[]' in `reader.c'. For consistency with the
238 other output tables, `user_toknums' is now defined as a table of
239 shorts.
240
241 * src/reader.c (user_toknums): Be a short table instead of an int
242 table.
243 Adjust dependencies.
244
245 Factor the short table outputs.
246
247 * src/output.c (output_short_table): New function.
248 * src/output.c (output_gram, output_stos, output_rule_data)
249 (output_base, output_table, output_check): Use it.
250
6c89f1c1
AD
2512000-10-02 Akim Demaille <akim@epita.fr>
252
253 * src/output.c (output): Topological sort of the functions, in
254 order to get rid of the `static' prototypes.
255 No longer use `register'.
256 * src/output.h: New file.
257 Propagate its inclusion in files explicitly prototyping functions
258 from output.c.
259
d9efd181
AD
2602000-09-21 Akim Demaille <akim@epita.fr>
261
262 * src/atgeneral.m4: Update from Autoconf.
263
c29240e7 2642000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
265
266 * src/closure.h: New file.
267 * src/closure.c: Formatting changes, topological sort over the
268 functions, use of closure.h.
269 (initialize_closure, finalize_closure): Rename as...
270 (new_closure, free_closure): these. Adjust dependencies.
271 * src/LR0.c: Formatting changes, topological sort, use of
272 cloture.h.
273 (initialize_states): Rename as...
274 (new_states): this.
275 * src/Makefile.am (noinst_HEADERS): Adjust.
276
499daa50
AD
2772000-09-20 Akim Demaille <akim@epita.fr>
278
279 * src/acconfig.h: Don't protect config.h against multiple
280 inclusion.
281 Don't define PARAMS.
282 * src/system.h: Define PARAMS.
283 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
284 purpose of config.h. system.h must not try to fix wrong
285 definitions in config.h.
286
cc84fd5d
AD
2872000-09-20 Akim Demaille <akim@epita.fr>
288
289 * src/derives.h: New file.
290 * src/main.c, src/derives.h: Use it.
291 Formatting changes.
292 * src/Makefile.am (noinst_HEADERS): Adjust.
293
db5b3a89
AD
2942000-09-20 Akim Demaille <akim@epita.fr>
295
296 * tests/atgeneral.m4: Update from Autoconf.
297 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
298 (AT_CHECK_CALC): New macros.
299 Use these macros to test bison with options `', `--raw',
300 `--debug', `--yacc', `--yacc --debug'.
301
ceed8467
AD
3022000-09-19 Akim Demaille <akim@epita.fr>
303
304 * src/output.c: Formatting changes.
305 * src/machine.h: Remove, leaving its contents in...
306 * src/system.h: here.
307 Include stdio.h.
308 Adjust all dependencies on stdio.h and machine.h.
309 * src/getargs.h: New file.
310 Let all `extern' declarations about getargs.c be replaced with
311 inclusion of `getargs.h'.
312 * src/Makefile.am (noinst_HEADERS): Adjust.
313
314 * tests/calc.m4 (yyin): Be initialized in main, not on the global
315 scope.
316 (yyerror): Returns void, not int.
317 * doc/bison.texinfo: Formatting changes.
318
05a1d24b
AD
3192000-09-19 Akim Demaille <akim@epita.fr>
320
321 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
322 portable.
323
cbd25751
AD
3242000-09-18 Akim Demaille <akim@epita.fr>
325
326 * configure.in: Append WARNING_CFLAGS to CFLAGS.
327 * src/Makefile.am (INCLUDES): Don't.
328 Be ready to fetch headers in lib/.
329
13863333
AD
3302000-09-18 Akim Demaille <akim@epita.fr>
331
332 * doc/bison.texinfo: Update the copyright.
333 ANSIfy and GNUify the examples.
334 Remove the old menu.
335
0d533154
AD
3362000-09-18 Akim Demaille <akim@epita.fr>
337
338 First set of tests: use the `calc' example from the documentation.
339
340 * src/bison.s1 (yyparse): Condition the code using `yytname' which
341 is defined only when YYDEBUG is.
342 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
343 * src/files.c (tryopen, tryclose): Formatting changes.
344 Move to the top and be static.
345 * src/reader.c (read_signed_integer): Likewise.
346 * tests/calc.m4: New file.
347 * Makefile.am, suite.m4: Adjust.
348 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
349
e79137ac
AD
3502000-09-18 Akim Demaille <akim@epita.fr>
351
352 Add support for an Autotest test suite for Bison.
353
354 * m4/m4.m4, m4/atconfig.m4: New files.
355 * m4/Makefile.am (EXTRA_DIST): Adjust.
356 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
357 files.
358 * src/getargs.c: Display a more standard --version message.
359 * src/reader.c (reader): Formatting changes.
360 No longer depend upon VERSION_STRING.
361 * configure.in: No longer use `dnl'.
362 Set up the test suite and the new directory `tests/.
363 (VERSION_STRING): Remove.
364
27821bff
AD
3652000-04-14 Akim Demaille <akim@epita.fr>
366
367 * src/reader.c (copy_comment2): New function, same as former
368 `copy_comment', but outputs into two FILE *.
369 (copy_comment): Use it.
370 (parse_union_decl): Use it.
371 (get_type, parse_start_decl): Use the same `invalid' message.
372 (parse_start_decl, parse_union_decl): Use the same `multiple'
373 message.
374 (parse_union_decl, copy_guard, copy_action): Use the same
375 `unmatched' message.
376 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
377
cfe5fbc0
AD
3782000-03-31 Akim Demaille <akim@epita.fr>
379
380 * src/files.c (tryopen, tryclose): Move to the top.
381 Be static.
382
cb7db13e
AD
3832000-03-31 Akim Demaille <akim@epita.fr>
384
385 * src/main.c (main): Don't call `done', exit does it.
386
a0f6b076
AD
3872000-03-31 Akim Demaille <akim@epita.fr>
388
36281465
AD
389 * allocate.c: s/return (foo)/return foo/.
390 * lalr.c: Likewise.
391 * LR0.c: Likewise.
392 * output.c: Likewise.
393 * reader.c: Likewise.
394 * symtab.c: Likewise.
395 * vmsgetargs.c: Likewise.
396
3972000-03-31 Akim Demaille <akim@epita.fr>
398
399 Clean up the error reporting functions.
a0f6b076
AD
400
401 * src/report.c: New file.
402 * src/report.h: Likewise.
403 * src/Makefile.am: Adjust.
404 * m4/error.m4: New file.
405 * m4/Makefile.am: Adjust.
406 * configure.in (jm_PREREQ_ERROR): Call it.
407 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
408 Remove.
409 (fatal, fatals): Remove. All callers use complain.c::fatal.
410 (warn, warni, warns, warnss, warnss): Remove. All callers use
411 complain.c::complain.
412 (toomany): Remove, use fatal instead.
413 * src/files.c (done): No argument, use complain_message_count.
414 * src/main.c (main): Register `done' to `atexit'.
415
416 * src/getargs.c (usage): More `fputs', less `fprintf'.
417
18539825
AD
4182000-03-28 Akim Demaille <akim@epita.fr>
419
420 * lib/: New directory.
421 * Makefile.am (SUBDIRS): Adjust.
422 * configure.in: Adjust.
423 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
424 useless.
425 * src/alloca.c: Moved to lib/.
426 * src/getopt.c: Likewise.
427 * src/getopt1.c: Likewise.
428 * src/getopt.h: Likewise.
429 * src/ansi2knr.c: Likewise.
430 * src/ansi2knr.1: Likewise.
431 * src/Makefile.am: Adjust.
432 * lib/Makefile.am: New file.
433
9f306f2a
AD
4342000-03-28 Akim Demaille <akim@epita.fr>
435
436 * src/getargs.c (usage): Refresh the help message.
437
0ba347b6
AD
4382000-03-17 Akim Demaille <akim@epita.fr>
439
440 * src/getopt1.c: Updated from textutils 2.0e
441 * src/getopt.c: Likewise.
442 * src/getopt.h: Likewise.
443
dbe7f271
AD
4442000-03-17 Akim Demaille <akim@epita.fr>
445
446 * src/Makefile.am (bison.simple): Fix the awk program: quote only
447 the file name, not the whole `#line LINE FILE'.
448
75bbe78d
AD
4492000-03-17 Akim Demaille <akim@epita.fr>
450
451 On syntax errors, report the token on which we choked.
452
aa5fd0ee
AD
453 * src/bison.s1 (yyparse): In the label yyerrlab, when
454 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 455
7b306f52
AD
4562000-03-17 Akim Demaille <akim@epita.fr>
457
aa5fd0ee 458 * src/reader.c (copy_at): New function.
7b306f52
AD
459 (copy_guard): Use it.
460 (copy_action): Use it.
461
e87b5700
AD
4622000-03-17 Akim Demaille <akim@epita.fr>
463
464 Be kind to translators, save some useless translations.
465
aa5fd0ee 466 * src/main.c (banner): New function.
e87b5700
AD
467 (fatal_banner): Use it.
468 (warn_banner): Use it.
469
ae3c3164
AD
4702000-03-17 Akim Demaille <akim@epita.fr>
471
aa5fd0ee
AD
472 * src/reader.c (copy_definition): Use copy_string and
473 copy_comment. Removed now unused `match', `ended',
474 `cplus_comment'.
ae3c3164
AD
475 (copy_comment, copy_string): Moved, to be visible from
476 copy_definition.
477
4dc58e7c
AD
4782000-03-17 Akim Demaille <akim@epita.fr>
479
aa5fd0ee
AD
480 * src/reader.c (copy_string): Declare `static inline'. No
481 problems with inline, since it is checked by configure.
4dc58e7c
AD
482 (copy_comment): Likewise.
483
0a6384c4
AD
4842000-03-17 Akim Demaille <akim@epita.fr>
485
aa5fd0ee 486 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 487
3cef001a
AD
4882000-03-17 Akim Demaille <akim@epita.fr>
489
aa5fd0ee 490 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
491 (copy_action): Use it. Removed now unused `match', `ended',
492 `cplus_comment'.
493 (copy_guard): Likewise.
494
ca36d2ef
AD
4952000-03-17 Akim Demaille <akim@epita.fr>
496
aa5fd0ee 497 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
498 (copy_action): Use it.
499 (copy_guard): Likewise.
500
6666f98f
AD
5012000-03-17 Akim Demaille <akim@epita.fr>
502
503 Change the handling of @s so that they behave exactly like $s.
504 There is now a pseudo variable @$ (readble and writable), location
505 of the lhs of the rule (by default ranging from the location of
506 the first symbol of the rhs, to the location of the last symbol,
507 or, if the rhs is empty, YYLLOC).
508
509 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
510 yyval.
511 (yyparse): When providing a default semantic action, provide a
512 default location action.
513 (after the $): No longer change `*YYLSP', just stack YYLOC the
514 same way you stack YYVAL.
515 * src/reader.c (read_declarations): Use warns.
516 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
517 (copy_action, case '@'): Likewise.
518 Use a standard error message, to save useless work from
519 translators.
520
41aca2e0
AD
5212000-03-17 Akim Demaille <akim@epita.fr>
522
aa5fd0ee
AD
523 * src/bison.s1: Formatting and cosmetics changes.
524 * src/reader.c: Likewise.
41aca2e0
AD
525 Update the Copyright notice.
526
dc08c1d5
AD
5272000-03-17 Akim Demaille <akim@epita.fr>
528
aa5fd0ee
AD
529 * src/bison.s1 (#line): All set to `#line' only, since the
530 Makefile now handles them.
dc08c1d5 531
9ee3c97b
AD
5322000-03-16 Akim Demaille <akim@epita.fr>
533
534 * src/output.c (output_rule_data): Output the documentation of
535 some of the tables.
536 (Copyright notice): Update.
537 Formatting changes.
538
0de741ca
AD
5392000-03-16 Akim Demaille <akim@epita.fr>
540
541 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
542 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
543 One `#if YYDEBUG' remains, since it uses variables which are
544 defined only if `YYDEBUG != 0'.
545
bb10be54
AD
5462000-03-16 Akim Demaille <akim@epita.fr>
547
548 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
549 and related variables so that the similarities are highlighted.
550
b07b484a
AD
5512000-03-16 Akim Demaille <akim@epita.fr>
552
553 * src/bison.s1: Properly indent CPP directives.
554
361f60b3
AD
5552000-03-16 Akim Demaille <akim@epita.fr>
556
557 * src/bison.s1: Properly indent the `alloca' CPP section.
558
8c44d3ec
AD
5592000-03-16 Akim Demaille <akim@epita.fr>
560
561 Do not hard code values of directories in `configure.in'.
562 Update the `configure' tool chain.
563
564 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
565 src/makefile.am.
566 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
567 (AC_OUTPUT): Add m4/Makefile.
568 Bump to bison 1.28a, 1.29 has never been released.
569 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
570 handled via src/Makefile.am.
571 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
572 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
573 autoheader.
574 * Makefile.am (SUBDIRS): Add m4.
575 (ACLOCAL_AM_FLAGS): New variable.
576 (AUTOMAKE_OPTIONS): Add check-news.
577 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
578 the proper line number and file name.
579 (DEFS): Propagate the location of bison library files and of the
580 locale files.
581 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
582 builddir.
583 * acinclude.m4: Remove, replaced by the directory m4.
584 * m4/Makefile.am (EXTRA_DIST): New variable.
585 * m4/gettext.m4: New file, from the fileutils.
586 * m4/lcmessage.m4: Likewise
587 * m4/progtest.m4: Likewise.
588 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
589
f95997e7
AD
5902000-03-10 Akim Demaille <akim@epita.fr>
591
592 * src/closure.c:
593 Formatting changes of various comments.
594 Respect the GNU coding standards at various places.
595 Don't use `_()' when no translation is needed.
596
5971999-12-13 Jesse Thilo <jthilo@gnu.org>
598
599 * src/files.c:
600 OS/2 honors TMPDIR environment variable.
601
6021999-12-13 Jesse Thilo <jthilo@gnu.org>
603
604 * doc/bison.texinfo: Tweaked spelling and grammar.
605 Updated ISBN.
606 Removed reference to price of printed copy.
607 Mention BISON_SIMPLE and BISON_HAIRY.
608
6091999-12-13 Jesse Thilo <jthilo@gnu.org>
610
611 * configure.in, NEWS:
612 Bison 1.29 released.
613
6141999-10-27 Jesse Thilo <jthilo@gnu.org>
615
616 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
617 Added reference card.
618
6191999-07-26 Jesse Thilo <jthilo@gnu.org>
620
621 * po/ru.po: Added Russian translation.
622
6231999-07-26 Jesse Thilo <jthilo@gnu.org>
624
625 * configure.in: Added Russian translation.
626
6271999-07-06 Jesse Thilo <jthilo@gnu.org>
628
629 * configure.in, NEWS, README:
630 Released version 1.28.
631
6321999-06-14 Jesse Thilo <jthilo@gnu.org>
633
634 * src/system.h:
635 Squashed redefinition warning on some systems.
636
637 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
638 Have configure build version string instead of relying on ANSI string
639 concatentation.
640
6411999-06-14 Jesse Thilo <jthilo@gnu.org>
642
643 * po/POTFILES.in: Got rid of version.c.
644
6451999-06-14 Jesse Thilo <jthilo@gnu.org>
646
647 * acconfig.h, configure.in:
648 Have configure build version string instead of relying on ANSI string
649 concatentation.
650
6511999-06-08 Jesse Thilo <jthilo@gnu.org>
652
653 * doc/bison.1:
654 Dropped mention of `+' for long-named options.
655
6561999-05-30 Jesse Thilo <jthilo@gnu.org>
657
658 * src/files.c: Added <unistd.h> for unlink().
659
660 * src/Makefile.am, src/system.h:
661 I18n fixes.
662
6631999-05-30 Jesse Thilo <jthilo@gnu.org>
664
665 * README: Added a FAQ list.
666
667 * configure.in, acconfig.h:
668 I18n fixes.
669
6701999-05-30 Jesse Thilo <jthilo@gnu.org>
671
672 * doc/FAQ, doc/Makefile.am:
673 Added a FAQ list.
674
6751999-05-19 Jesse Thilo <jthilo@gnu.org>
676
677 * src/alloc.h, src/symtab.h, src/version.c:
678 Protected inclusion of "config.h" with HAVE_CONFIG_H.
679
6801999-04-18 Jesse Thilo <jthilo@gnu.org>
681
682 * src/.cvsignore, src/Makefile.am:
683 Reorganized: sources in `src', documentation in `doc'.
684
685 * src/lex.c (literalchar):
686 fixed the code for escaping double quotes (thanks
687 Jonathan Czisny.)
688
6891999-04-18 Jesse Thilo <jthilo@gnu.org>
690
691 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
692 Adjusted paths to reflect directory reorganization.
693
6941999-04-18 Jesse Thilo <jthilo@gnu.org>
695
696 * doc/.cvsignore, doc/Makefile.am:
697 Reorganized: sources in `src', documentation in `doc'.
698
6991999-04-18 Jesse Thilo <jthilo@gnu.org>
700
701 * configure.in:
702 Updated AC_INIT file to reflect directory reorganization.
703
704 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
705 Reorganized: sources in `src', documentation in `doc'.
706
7071999-04-13 Jesse Thilo <jthilo@gnu.org>
708
709 * src/allocate.c:
710 Don't declare calloc() and realloc() if not necessary.
711
7121999-04-13 Jesse Thilo <jthilo@gnu.org>
713
714 * configure.in, acconfig.h, acinclude.m4:
715 Don't declare calloc() and realloc() if not necessary.
716
7171999-03-23 Jesse Thilo <jthilo@gnu.org>
718
719 * po/.cvsignore: Added i18n support.
720
7211999-03-23 Jesse Thilo <jthilo@gnu.org>
722
723 * acconfig.h, configure.in, Makefile.am:
724 Added i18n support.
725
7261999-03-22 Jesse Thilo <jthilo@gnu.org>
727
728 * src/bison.s1: Fixed #line numbers.
729
7301999-03-15 Jesse Thilo <jthilo@gnu.org>
731
732 * po/es.po, po/fr.po, po/nl.po, po/de.po:
733 Added PO files from Translation Project.
734
7351999-03-03 Jesse Thilo <jthilo@gnu.org>
736
737 * Makefile.am:
738 Added support for non-ANSI compilers (ansi2knr).
739
7401999-02-16 Jesse Thilo <jthilo@gnu.org>
741
742 * configure.in: Bumped version number to 1.27.
743
744 * Makefile.am:
745 Added `bison.simple' to list of files removed by `make distclean'.
746
7471999-02-12 Jesse Thilo <jthilo@gnu.org>
748
749 * src/files.c, src/files.h:
750 Defined locations of parser files in config.h instead of Makefile.
751
7521999-02-12 Jesse Thilo <jthilo@gnu.org>
753
754 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
755 Defined locations of parser files in config.h instead of Makefile.
756
7571999-02-09 Jesse Thilo <jthilo@gnu.org>
758
759 * Makefile.am:
760 Removed inappropriate use of $< macro.
761
7621999-02-05 Jesse Thilo <jthilo@gnu.org>
763
764 * po/Makefile.in.in, po/POTFILES.in:
765 Add `po' directory skeleton.
766
7671999-01-27 Jesse Thilo <jthilo@gnu.org>
768
769 * README: Document help-bison list.
770
771 * configure.in: Add check for mkstemp().
772
7731999-01-20 Jesse Thilo <jthilo@gnu.org>
774
775 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
776 Hush a few compiler warnings.
777
778 * src/files.c:
779 Add tryclose(), which verifies that fclose was successful.
780 Hush a couple of compiler warnings.
781
7821999-01-20 Jesse Thilo <jthilo@gnu.org>
783
784 * Makefile.am, OChangeLog:
785 ChangeLog is now automatically generated. Include the old version as
786 OChangeLog.
787
7881999-01-14 Jesse Thilo <jthilo@gnu.org>
789
790 * 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:
791 Update FSF address.
792
7931999-01-14 Jesse Thilo <jthilo@gnu.org>
794
795 * doc/bison.texinfo: Fix formatting glitch.
796
797 * doc/bison.texinfo: Update FSF address.
798
7991999-01-14 Jesse Thilo <jthilo@gnu.org>
800
801 * acconfig.h: Update FSF address.
802
8031999-01-08 Jesse Thilo <jthilo@gnu.org>
804
805 * src/system.h:
806 Don't define PACKAGE here, since config.h defines it.
807
8081998-12-30 Jesse Thilo <jthilo@gnu.org>
809
810 * src/reader.c: Update copyright date.
811
812 * src/main.c:
813 Ditch sprintf to statically-sized buffers in fatal/warn functions in
814 favor of output directly to stderr (avoids buffer overruns).
815
816 * src/reader.c: Some checks for premature EOF.
817
818 * 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:
819 Use prototypes if the compiler understands them.
820
821 * src/files.c: Honor TMPDIR on Unix hosts.
822 Use prototypes if the compiler understands them.
823
824 * src/reader.c:
825 Fix a couple of buffer overrun bugs.
826 Use prototypes if the compiler understands them.
827
828 * src/system.h: Include unistd.h and ctype.h.
829 Use #ifdef instead of #if for NLS symbols.
830
8311998-12-30 Jesse Thilo <jthilo@gnu.org>
832
833 * doc/bison.texinfo:
834 Delete comment "consider using @set for edition number, etc..." since
835 we now are doing so.
836
8371998-12-30 Jesse Thilo <jthilo@gnu.org>
838
839 * configure.in:
840 Use prototypes if the compiler understands them.
841
842 * NEWS: Document 1.26 highlights.
843
844 * Makefile.am: Require Automake 1.3 or later.
845
846 * acconfig.h:
847 Use prototypes if the compiler understands them.
848
8491998-12-29 Jesse Thilo <jthilo@gnu.org>
850
851 * src/version.c:
852 Use VERSION symbol from automake for version number.
853
8541998-12-29 Jesse Thilo <jthilo@gnu.org>
855
856 * acconfig.h, configure.in, version.cin:
857 Use VERSION symbol from automake for version number.
858
8591998-11-28 Jesse Thilo <jthilo@gnu.org>
860
861 * Makefile.am:
862 Distribute original version of simple parser (bison.s1), not built
863 version (bison.simple).
864
8651998-11-28 Jesse Thilo <jthilo@gnu.org>
866
867 * doc/bison.texinfo: Add info dir entry.
868
869 * doc/bison.texinfo:
870 Let automake put version number into documentation.
871
8721998-11-26 Jesse Thilo <jthilo@gnu.org>
873
874 * src/bison.cld, src/build.com, src/vmshlp.mar:
875 Add non-RCS files from /gd/gnu/bison.
876
8771998-11-26 Jesse Thilo <jthilo@gnu.org>
878
879 * doc/bison.1:
880 Document the BISON_HAIRY and BISON_SIMPLE variables.
881
8821998-11-25 Jesse Thilo <jthilo@gnu.org>
883
884 * src/version.c: Build version.c automatically.
885
886 * src/reader.c:
887 Fix token numbering (used to start at 258, not 257).
888
889 * src/system.h: Include config.h.
890
891 * src/getargs.c: Update bug report address.
892
893 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
894 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
895
8961998-11-25 Jesse Thilo <jthilo@gnu.org>
897
898 * Makefile.am:
899 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
900
901 * configure.in, version.cin:
902 Build version.c automatically.
903
904 * AUTHORS: Add AUTHORS file.
905
906 * README: Update bug report address.
907
908 * bison.simple:
909 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
910
911 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
912 Add automake stuff.
913
9141998-11-25 Jesse Thilo <jthilo@gnu.org>
915
916 * doc/bison.texinfo: Clean up some formatting.
917
9181998-05-05 Richard Stallman <rms@gnu.org>
919
920 * doc/bison.texinfo:
921 Explain better why to make a pure parser.
922
9231998-01-05 Richard Stallman <rms@gnu.org>
924
925 * src/files.c (openfiles):
926 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
927 find a temporary directory, if possible. Do not unlink files while
928 they are open.
929
9301997-08-25 Richard Stallman <rms@gnu.org>
931
932 * src/reader.c (stack_offset;):
933 Change some warni to warns.
934
935 * src/lex.c (literalchar): Use warns, not warni.
936
9371997-06-28 Richard Stallman <rms@gnu.org>
938
939 * src/bison.s1: Add a Bison version comment.
940
941 * src/main.c (fatal, warn, berror):
942 Use program_name.
943
9441997-06-28 Richard Stallman <rms@gnu.org>
945
946 * Makefile.in (bison_version): New variable.
947 (dist): Use that variable.
948 (bison.s1): Substitute the Bison version into bison.simple.
949
950 * bison.simple: Add a Bison version comment.
951
9521997-06-18 Richard Stallman <rms@gnu.org>
953
954 * src/main.c (fatal, warn, berror):
955 Make error messages standard.
956 (toomany): Improve error message text.
957
958 * 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:
959 new.h renamed to alloc.h.
960
9611997-06-18 Richard Stallman <rms@gnu.org>
962
963 * Makefile.in: new.h renamed to alloc.h.
964
9651997-05-24 Richard Stallman <rms@gnu.org>
966
967 * src/lex.c (literalchar):
968 Fix the code for escaping \, " and '.
969
970 (lex): Avoid trouble when there are many chars
971 to discard in a char literal with just several chars in it.
972
9731997-05-17 Richard Stallman <rms@gnu.org>
974
975 * src/bison.s1:
976 Use malloc, if using alloca is troublesome.
977 (YYSTACK_USE_ALLOCA): New flag macro.
978 Define it for some systems and compilers.
979 (YYSTACK_ALLOC): New macro.
980 (yyparse): Use YYSTACK_ALLOC to allocate stack.
981 If it was malloc'd, free it.
982
9831997-05-17 Richard Stallman <rms@gnu.org>
984
985 * bison.simple:
986 Use malloc, if using alloca is troublesome.
987 (YYSTACK_USE_ALLOCA): New flag macro.
988 Define it for some systems and compilers.
989 (YYSTACK_ALLOC): New macro.
990 (yyparse): Use YYSTACK_ALLOC to allocate stack.
991 If it was malloc'd, free it.
992
9931997-04-23 Richard Stallman <rms@gnu.org>
994
995 * src/bison.s1:
996 (alloca) [__hpux]: Always define as __builtin_alloca.
997
9981997-04-23 Richard Stallman <rms@gnu.org>
999
1000 * bison.simple:
1001 (alloca) [__hpux]: Always define as __builtin_alloca.
1002
10031997-04-22 Richard Stallman <rms@gnu.org>
1004
1005 * src/bison.s1:
1006 [__hpux]: Include alloca.h (right for HPUX 10)
1007 instead of declaring alloca (right for HPUX 9).
1008
1009 * src/bison.s1 (__yy_memcpy):
1010 Declare arg `count' as unsigned int.
1011 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1012
10131997-04-22 Richard Stallman <rms@gnu.org>
1014
1015 * bison.simple:
1016 [__hpux]: Include alloca.h (right for HPUX 10)
1017 instead of declaring alloca (right for HPUX 9).
1018
1019 * bison.simple (__yy_memcpy):
1020 Declare arg `count' as unsigned int.
1021 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1022
10231997-01-03 Richard Stallman <rms@gnu.org>
1024
1025 * src/allocate.c: [__STDC__ or _MSC_VER]:
1026 Declare calloc and realloc to return void *.
1027
10281997-01-02 Richard Stallman <rms@gnu.org>
1029
1030 * src/system.h:
1031 [_MSC_VER]: Include stdlib.h and process.h.
1032 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1033
1034 * src/main.c (main): Return FAILURE as a value.
1035 (printable_version): Declare arg as int, not char.
1036
10371997-01-02 Richard Stallman <rms@gnu.org>
1038
1039 * Makefile.in (dist):
1040 Explicitly check for symlinks, and copy them.
1041
10421996-12-19 Richard Stallman <rms@gnu.org>
1043
1044 * src/files.c:
1045 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1046
10471996-12-18 Paul Eggert <eggert@gnu.org>
1048
1049 * src/bison.s1 (yyparse):
1050 If __GNUC__ and YYPARSE_PARAM are both defined,
1051 declare yyparse to have a void * argument.
1052
10531996-12-18 Paul Eggert <eggert@gnu.org>
1054
1055 * bison.simple (yyparse):
1056 If __GNUC__ and YYPARSE_PARAM are both defined,
1057 declare yyparse to have a void * argument.
1058
10591996-12-17 Richard Stallman <rms@gnu.org>
1060
1061 * src/reduce.c (nbits): Add some casts.
1062
10631996-08-12 Richard Stallman <rms@gnu.org>
1064
1065 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1066
10671996-08-12 Richard Stallman <rms@gnu.org>
1068
1069 * bison.simple: Test _MSDOS as well as _MSDOS_.
1070
10711996-07-31 Richard Stallman <rms@gnu.org>
1072
1073 * src/bison.s1:
1074 [__sun && __i386]: Include alloca.h.
1075
10761996-07-31 Richard Stallman <rms@gnu.org>
1077
1078 * bison.simple:
1079 [__sun && __i386]: Include alloca.h.
1080
10811996-07-30 Richard Stallman <rms@gnu.org>
1082
1083 * src/bison.s1: Comment change.
1084
1085 * src/bison.s1: Test _MSDOS_, not MSDOS.
1086
10871996-07-30 Richard Stallman <rms@gnu.org>
1088
1089 * bison.simple: Comment change.
1090
1091 * bison.simple: Test _MSDOS_, not MSDOS.
1092
10931996-06-01 Richard Stallman <rms@gnu.org>
1094
1095 * 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:
1096 Insert `_' macro around many string constants.
1097
1098 * src/main.c:
1099 Insert `_' macro around many string constants.
1100
1101 (main): Call setlocale, bindtextdomain and textdomain.
1102
1103 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1104 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1105 [ENABLE_NLS]: Include libintl.h.
1106 [ENABLE_NLS] (gettext): Define.
1107 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1108 (N_, PACKAGE, LOCALEDIR): New macros.
1109
11101996-06-01 Richard Stallman <rms@gnu.org>
1111
1112 * POTFILES.in: New file.
1113
1114 * Makefile.in (allocate.o):
1115 Define target explicitly.
1116
1117 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1118 (LDFLAGS): Set to @LDFLAGS@.
1119 (configure): Run autoconf only if preceding `cd' succeeds.
1120 (bison.s1): Redirect output to temporary file then move the
1121 temporary to the target, rather than redirecting directly to bison.s1.
1122 (clean): Remove config.status and config.log.
1123 (distclean): Don't remove config.status here.
1124
11251996-05-12 Richard Stallman <rms@gnu.org>
1126
1127 * src/bison.s1:
1128 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1129
11301996-05-12 Richard Stallman <rms@gnu.org>
1131
1132 * bison.simple:
1133 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1134
11351996-05-11 Richard Stallman <rms@gnu.org>
1136
1137 * src/bison.s1 (__yy_memcpy):
1138 Really reorder the args, as was supposedly done on Feb 14 1995.
1139 (yyparse): Calls changed accordingly.
1140
11411996-05-11 Richard Stallman <rms@gnu.org>
1142
1143 * Makefile.in (dist): Don't use $(srcdir).
1144
1145 * bison.simple (__yy_memcpy):
1146 Really reorder the args, as was supposedly done on Feb 14 1995.
1147 (yyparse): Calls changed accordingly.
1148
11491996-01-27 Richard Stallman <rms@gnu.org>
1150
1151 * src/output.c (output_rule_data):
1152 Test YYERROR_VERBOSE in the conditional
1153 around the definition of ttyname.
1154
11551995-12-29 Richard Stallman <rms@gnu.org>
1156
1157 * src/bison.s1:
1158 Fix line numbers in #line commands.
1159
11601995-12-29 Richard Stallman <rms@gnu.org>
1161
1162 * bison.simple:
1163 Fix line numbers in #line commands.
1164
11651995-12-27 Richard Stallman <rms@gnu.org>
1166
1167 * src/bison.s1 (YYPARSE_PARAM_DECL):
1168 In C++, make it always null.
1169 (YYPARSE_PARAM_ARG): New macro.
1170 (yyparse): Use YYPARSE_PARAM_ARG.
1171
11721995-12-27 Richard Stallman <rms@gnu.org>
1173
1174 * bison.simple (YYPARSE_PARAM_DECL):
1175 In C++, make it always null.
1176 (YYPARSE_PARAM_ARG): New macro.
1177 (yyparse): Use YYPARSE_PARAM_ARG.
1178
11791995-11-29 Richard Stallman <rms@gnu.org>
1180
1181 * doc/bison.texinfo:
1182 Describe literal string tokens, %raw, %no_lines, %token_table.
1183
11841995-11-29 Daniel Hagerty <hag@gnu.org>
1185
1186 * doc/bison.texinfo: Fixed update date
1187
11881995-10-16 Richard Stallman <rms@gnu.org>
1189
1190 * src/version.c: Version 1.25.
1191
11921995-10-16 Richard Stallman <rms@gnu.org>
1193
1194 * NEWS: *** empty log message ***
1195
11961995-10-16 Richard Stallman <rms@gnu.org>
1197
1198 * doc/bison.1, doc/bison.rnh:
1199 Add new options.
1200
12011995-10-15 Richard Stallman <rms@gnu.org>
1202
1203 * src/vmsgetargs.c, src/getargs.c:
1204 Added -n, -k, and -raw switches.
1205 (noparserflag, toknumflag, rawtoknumflag): New variables.
1206
1207 * src/symtab.h (SALIAS):
1208 New #define for adding aliases to %token.
1209 (struct bucket): Added `alias' field.
1210
1211 * src/reduce.c (reduce_grammar):
1212 Revise error message.
1213 (print_notices): Remove final `.' from error message.
1214
1215 * src/reader.c (reader_output_yylsp):
1216 New function.
1217 (readgram): Use `#if 0' around code that accepted %command
1218 inside grammar rules: The documentation doesn't allow it,
1219 and it will fail since the %command processors scan for the next %.
1220 (parse_token_decl): Extended the %token
1221 declaration to allow a multi-character symbol as an alias.
1222 (parse_thong_decl): New function.
1223 (read_declarations): Added %thong declarations.
1224 (read_declarations): Handle NOOP to deal with allowing
1225 % declarations as another means to specify the flags.
1226 (readgram): Allow %prec prior to semantics embedded in a rule.
1227 (skip_to_char, read_declarations, copy_definition)
1228 (parse_token_decl, parse_start_decl, parse_type_decl)
1229 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1230 (get_type_name, copy_guard, copy_action, readgram)
1231 (get_type, packsymbols): Revised most error messages.
1232 Changed `fatal' to `warnxxx' to avoid aborting for error.
1233 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1234 (read_declarations): Improve the error message for
1235 an invalid character. Do not abort.
1236 (read_declarations, copy_guard, copy_action): Use
1237 printable_version to avoid unprintable characters in printed output.
1238 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1239 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1240 Allow the type of a non-terminal can be given
1241 more than once, as long as all specifications give the same type.
1242
1243 * src/output.c:
1244 (output_headers, output_trailers, output, output_gram)
1245 (output_rule_data): Implement noparserflag variable.
1246 Implement toknumflag variable.
1247 (output): Call reader_output_yylsp to output LTYPESTR.
1248
1249 * src/main.c (main):
1250 If reader sees an error, don't process the grammar.
1251 (fatals): Updated to not use VARARGS1.
1252 (printable_version, int_to_string, warn, warni, warns, warnss)
1253 (warnsss): New error reporting functions. Avoid abort for error.
1254
1255 * src/lex.h:
1256 Added THONG and NOOP for alias processing.
1257 Added SETOPT for the new code that allows setting options with %flags.
1258
1259 * src/lex.c:
1260 Include getopt.h. Add some extern decls.
1261 (safegetc): New function to deal with EOF gracefully.
1262 (literalchar); new function to deal with reading \ escapes.
1263 (lex): Use literalchar.
1264 (lex): Implemented "..." tokens.
1265 (literalchar, lex, parse_percent_token): Made tokenbuffer
1266 always contain the token. This includes growing the token
1267 buffer while reading an integer.
1268 (parse_percent_token): Replaced if-else statement with percent_table.
1269 (parse_percent_token): Added % declarations as another
1270 way to specify the flags -n, -l, and -r. Also added hooks for
1271 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1272 major changes to files.c.
1273 (lex) Retain in the incoming stream a character following
1274 an incorrect '/'.
1275 (skip_white_space, lex): Revised most error messages
1276 and changed fatal to warn to avoid aborting.
1277 (percent_table): Added %thong declarations.
1278
1279 * src/gram.h: Comment changes.
1280
1281 * src/files.c (openfiles, open_extra_files, done):
1282 Add faction flag
1283 and actfile file. Handle noparserflag. Both for -n switch.
1284
1285 * src/conflicts.c (resolve_sr_conflict):
1286 Remove use of alloca.
1287
12881995-06-01 Jim Meyering <meyering@gnu.org>
1289
1290 * doc/bison.texinfo: *** empty log message ***
1291
12921995-05-06 Richard Stallman <rms@gnu.org>
1293
1294 * src/bison.s1: Comment change.
1295
12961995-05-06 Richard Stallman <rms@gnu.org>
1297
1298 * bison.simple: Comment change.
1299
13001995-05-03 Richard Stallman <rms@gnu.org>
1301
1302 * src/version.c: Version now 1.24.
1303
1304 * src/bison.s1: Change distribution terms.
1305
1306 * src/version.c: Version now 1.23.
1307
13081995-05-03 Richard Stallman <rms@gnu.org>
1309
1310 * doc/bison.texinfo:
1311 Rewrite "Conditions for Using Bison".
1312 Update version to 1.24.
1313
13141995-05-03 Richard Stallman <rms@gnu.org>
1315
1316 * bison.simple: Change distribution terms.
1317
13181995-02-23 Richard Stallman <rms@gnu.org>
1319
1320 * src/files.c: Test __VMS_POSIX as well as VMS.
1321
13221995-02-14 Jim Meyering <meyering@gnu.org>
1323
1324 * src/bison.s1 (__yy_memcpy):
1325 Renamed from __yy_bcopy to avoid
1326 confusion. Reverse FROM and TO arguments to be consistent with
1327 those of memcpy.
1328
13291995-02-14 Jim Meyering <meyering@gnu.org>
1330
1331 * bison.simple (__yy_memcpy):
1332 Renamed from __yy_bcopy to avoid
1333 confusion. Reverse FROM and TO arguments to be consistent with
1334 those of memcpy.
1335
13361994-11-10 David J. MacKenzie <djm@gnu.org>
1337
1338 * NEWS: reformat
1339
1340 * NEWS: New file.
1341
1342 * Makefile.in (DISTFILES): Include NEWS.
1343
1344 * Makefile.in (DISTFILES):
1345 Include install-sh, not install.sh.
1346
1347 * configure.in: Update to Autoconf v2 macro names.
1348
13491994-10-05 David J. MacKenzie <djm@gnu.org>
1350
1351 * Makefile.in: fix typo
1352
1353 * Makefile.in (prefix, exec_prefix):
1354 Let configure set them.
1355
13561994-09-28 David J. MacKenzie <djm@gnu.org>
1357
1358 * Makefile.in: Set datadir to $(prefix)/share.
1359
13601994-09-15 Richard Stallman <rms@gnu.org>
1361
1362 * src/bison.s1:
1363 Update copyright notice and GPL version.
1364
13651994-09-15 Richard Stallman <rms@gnu.org>
1366
1367 * bison.simple:
1368 Update copyright notice and GPL version.
1369
13701994-07-12 Richard Stallman <rms@gnu.org>
1371
1372 * src/reduce.c, src/reader.c:
1373 entered into RCS
1374
13751994-05-05 David J. MacKenzie <djm@gnu.org>
1376
1377 * Makefile.in: entered into RCS
1378
13791994-03-26 Richard Stallman <rms@gnu.org>
1380
1381 * src/bison.s1: entered into RCS
1382
13831994-03-26 Richard Stallman <rms@gnu.org>
1384
1385 * bison.simple: entered into RCS
1386
13871994-03-25 Richard Stallman <rms@gnu.org>
1388
1389 * src/main.c: entered into RCS
1390
13911994-03-24 Richard Stallman <rms@gnu.org>
1392
1393 * src/conflicts.c: entered into RCS
1394
13951994-01-02 Richard Stallman <rms@gnu.org>
1396
1397 * Makefile.in: *** empty log message ***
1398
13991993-11-21 Richard Stallman <rms@gnu.org>
1400
1401 * src/bison.s1: *** empty log message ***
1402
14031993-11-21 Richard Stallman <rms@gnu.org>
1404
1405 * doc/bison.texinfo: entered into RCS
1406
1407 * doc/bison.texinfo: *** empty log message ***
1408
14091993-11-21 Richard Stallman <rms@gnu.org>
1410
1411 * bison.simple: *** empty log message ***
1412
14131993-10-25 David J. MacKenzie <djm@gnu.org>
1414
1415 * doc/bison.texinfo: *** empty log message ***
1416
14171993-10-19 Richard Stallman <rms@gnu.org>
1418
1419 * src/bison.s1: *** empty log message ***
1420
14211993-10-19 Richard Stallman <rms@gnu.org>
1422
1423 * bison.simple: *** empty log message ***
1424
14251993-10-14 Richard Stallman <rms@gnu.org>
1426
1427 * src/bison.s1: *** empty log message ***
1428
14291993-10-14 Richard Stallman <rms@gnu.org>
1430
1431 * bison.simple: *** empty log message ***
1432
14331993-09-14 David J. MacKenzie <djm@gnu.org>
1434
1435 * doc/bison.texinfo: *** empty log message ***
1436
14371993-09-13 Noah Friedman <friedman@gnu.org>
1438
1439 * Makefile.in: *** empty log message ***
1440
14411993-09-10 Richard Stallman <rms@gnu.org>
1442
1443 * src/conflicts.c: *** empty log message ***
1444
1445 * src/system.h: entered into RCS
1446
14471993-09-10 Richard Stallman <rms@gnu.org>
1448
1449 * doc/bison.1: entered into RCS
1450
14511993-09-06 Noah Friedman <friedman@gnu.org>
1452
1453 * src/version.c: entered into RCS
1454
14551993-09-06 Noah Friedman <friedman@gnu.org>
1456
1457 * Makefile.in: *** empty log message ***
1458
14591993-07-30 David J. MacKenzie <djm@gnu.org>
1460
1461 * Makefile.in: *** empty log message ***
1462
14631993-07-24 Richard Stallman <rms@gnu.org>
1464
1465 * src/bison.s1: *** empty log message ***
1466
14671993-07-24 Richard Stallman <rms@gnu.org>
1468
1469 * bison.simple: *** empty log message ***
1470
14711993-07-08 David J. MacKenzie <djm@gnu.org>
1472
1473 * Makefile.in: *** empty log message ***
1474
14751993-07-04 Richard Stallman <rms@gnu.org>
1476
1477 * src/bison.s1: *** empty log message ***
1478
14791993-07-04 Richard Stallman <rms@gnu.org>
1480
1481 * bison.simple: *** empty log message ***
1482
14831993-06-26 David J. MacKenzie <djm@gnu.org>
1484
1485 * src/getargs.c: entered into RCS
1486
14871993-06-26 David J. MacKenzie <djm@gnu.org>
1488
1489 * doc/bison.texinfo: *** empty log message ***
1490
1491 * doc/bison.1: New file.
1492
14931993-06-25 Richard Stallman <rms@gnu.org>
1494
1495 * src/getargs.c: New file.
1496
14971993-06-16 Richard Stallman <rms@gnu.org>
1498
1499 * src/bison.s1: *** empty log message ***
1500
15011993-06-16 Richard Stallman <rms@gnu.org>
1502
1503 * bison.simple: *** empty log message ***
1504
15051993-06-03 Richard Stallman <rms@gnu.org>
1506
1507 * src/bison.s1: New file.
1508
15091993-06-03 Richard Stallman <rms@gnu.org>
1510
1511 * doc/bison.texinfo: *** empty log message ***
1512
15131993-06-03 Richard Stallman <rms@gnu.org>
1514
1515 * bison.simple: New file.
1516
15171993-05-19 Richard Stallman <rms@gnu.org>
1518
1519 * doc/bison.texinfo: New file.
1520
15211993-05-07 Noah Friedman <friedman@gnu.org>
1522
1523 * Makefile.in: *** empty log message ***
1524
15251993-04-28 Noah Friedman <friedman@gnu.org>
1526
1527 * src/reader.c: *** empty log message ***
1528
15291993-04-23 Noah Friedman <friedman@gnu.org>
1530
1531 * src/alloc.h: entered into RCS
1532
15331993-04-20 David J. MacKenzie <djm@gnu.org>
1534
1535 * src/version.c: *** empty log message ***
1536
1537 * src/files.c, src/allocate.c:
1538 entered into RCS
1539
1540 * src/reader.c: *** empty log message ***
1541
1542 * src/lex.c: entered into RCS
1543
1544 * src/conflicts.c: New file.
1545
1546 * src/symtab.c: entered into RCS
1547
1548 * src/alloc.h: New file.
1549
1550 * src/LR0.c: entered into RCS
1551
15521993-04-18 Noah Friedman <friedman@gnu.org>
1553
1554 * src/reader.c: New file.
1555
1556 * src/version.c: *** empty log message ***
1557
15581993-04-18 Noah Friedman <friedman@gnu.org>
1559
1560 * Makefile.in: *** empty log message ***
1561
15621993-04-17 Noah Friedman <friedman@gnu.org>
1563
1564 * Makefile.in: *** empty log message ***
1565
15661993-04-15 Richard Stallman <rms@gnu.org>
1567
1568 * src/main.c, src/files.c:
1569 New file.
1570
15711993-04-15 Noah Friedman <friedman@gnu.org>
1572
1573 * configure.in: entered into RCS
1574
1575 * configure.in: *** empty log message ***
1576
1577 * configure.in: New file.
1578
15791993-04-14 Richard Stallman <rms@gnu.org>
1580
1581 * Makefile.in: New file.
1582
15831993-04-13 Richard Stallman <rms@gnu.org>
1584
1585 * src/version.c: New file.
1586
15871993-03-25 Richard Stallman <rms@gnu.org>
1588
1589 * src/output.c: entered into RCS
1590
15911992-09-25 Richard Stallman <rms@gnu.org>
1592
1593 * configure.bat: entered into RCS
1594
15951992-06-22 Richard Stallman <rms@gnu.org>
1596
1597 * src/vmsgetargs.c: entered into RCS
1598
15991992-06-22 Richard Stallman <rms@gnu.org>
1600
1601 * doc/bison.rnh: entered into RCS
1602
16031992-04-20 David J. MacKenzie <djm@gnu.org>
1604
1605 * README: entered into RCS
1606
16071992-01-22 Richard Stallman <rms@gnu.org>
1608
1609 * src/machine.h: entered into RCS
1610
16111991-12-21 Richard Stallman <rms@gnu.org>
1612
1613 * src/lalr.c, src/closure.c:
1614 entered into RCS
1615
16161991-12-20 Richard Stallman <rms@gnu.org>
1617
1618 * src/state.h: entered into RCS
1619
16201991-12-18 Richard Stallman <rms@gnu.org>
1621
1622 * src/print.c, src/nullable.c, src/derives.c:
1623 entered into RCS
1624
16251991-11-03 David J. MacKenzie <djm@gnu.org>
1626
1627 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1628 entered into RCS
1629
16301988-09-09 Richard Stallman <rms@gnu.org>
1631
1632 * src/bison.hairy: entered into RCS
1633
16341987-12-16 Richard Stallman <rms@gnu.org>
1635
1636 * REFERENCES: entered into RCS