]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/derives.c, src/print.c, src/reduce.c: To ease the
[bison.git] / ChangeLog
CommitLineData
444c570a
AD
12000-10-02 Akim Demaille <akim@epita.fr>
2
3 * src/derives.c, src/print.c, src/reduce.c: To ease the
4 translation, move some `\n' out of the translated strings.
5
6
89cab50d
AD
72000-10-02 Akim Demaille <akim@epita.fr>
8
9 The location tracking mechanism is precious for parse error
10 messages. Nevertheless, it is enabled only when `@n' is used in
11 the grammar, which is a different issue (you can use it in error
12 message, but not in the grammar per se). Therefore, there should
13 be another means to enable it.
14
15 * src/getargs.c (getargs): Support `--locations'.
16 (usage): Report it.
17 * src/getargs.h (locationsflag): Export it.
18 * src/lex.c (percent_table): Support `%locations'.
19 * src/reader.c (yylsp_needed): Remove this variable, now replaced
20 with `locationsflag'.
21 * doc/bison.texinfo: Document `--locations' and `%locations'.
22 Sort the options.
23 * tests/calc.m4: Test it.
24
25 For regularity of the names, replace each
26 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
27 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
28 In addition replace each `flag' with `_flag'.
29
30
d6c2cba0
AD
312000-10-02 Akim Demaille <akim@epita.fr>
32
33 Also test parse error messages, including with YYERROR_VERBOSE.
34
35 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
36 associative).
37 Use it to check the computations.
38 Use it to check `nonassoc' is honored.
39 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
40 `--yyerror-verbose'.
41 (_AT_CHECK_CALC): Adjust to this option.
42 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
43
44
5a35a6cb
AD
452000-10-02 Akim Demaille <akim@epita.fr>
46
47 Test also `--verbose', `--defines' and `--name-prefix'. Testing
48 the latter demonstrates a flaw in the handling of non debugging
49 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
50 was used in order to simplify:
51
52 #if YYDEBUG
53 if (yydebug)
54 {
55 ...
56 }
57 #endif
58
59 into
60
61 if (yydebug)
62 {
63 ...
64 }
65
66 unfortunately this leads to a CPP conflict when
67 `--name-prefix=foo' is used since it produces `#define yydebug
68 foodebug'.
69
70 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
71 (YYDPRINTF): New macro.
72 Spread its use.
73 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
74 the bison options.
75 Also test `--verbose', `--defines' and `--name-prefix'.
76
77
71da9eea
AD
782000-10-02 Akim Demaille <akim@epita.fr>
79
80 Improve the readability of the produced parsers.
81
82 * src/bison.s1: Formatting changes.
83 Improve the comment related to the `$' mark.
84 (yydefault): Don't fall through to `yyresume': `goto' there.
85 * src/output.c (output_parser): When the `$' is met, skip the end
86 of its line.
87 New variable, `number_of_dollar_signs', to check there's exactly
88 one `$' in the parser skeleton.
89
90
95e36146
AD
912000-10-02 Akim Demaille <akim@epita.fr>
92
93 * lib/xstrdup.c: New file, from the fileutils.
94 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
95 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
96 instead of strlen + xmalloc + strcpy.
97 * src/symtab.c (copys): Remove, use xstrdup instead.
98
99
d7020c20
AD
1002000-10-02 Akim Demaille <akim@epita.fr>
101
102 * src/gram.h (associativity): New enum type which replaces the
103 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
104 `right_assoc', `left_assoc' and `non_assoc'.
105 Adjust all dependencies.
106 * src/reader.c: Formatting changes.
107 (LTYPESTR): Don't define it, use it as a literal in
108 `reader_output_yylsp'.
109 * src/symtab.h (symbol_class): New enum type which replaces the
110 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
111 `sunknown', `stoken and `snterm'.
112
1916f98e
AD
1132000-10-02 Akim Demaille <akim@epita.fr>
114
115 * src/getargs.c (fixed_outfiles): Rename as...
116 (yaccflag): for consistency and accuracy.
117 Adjust dependencies.
118
119
d7913476
AD
1202000-10-02 Akim Demaille <akim@epita.fr>
121
122 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
123 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
124 difficult and introduced a lot of core dump. It turns out that
125 Bison used an implementation of `xmalloc' based on `calloc', and
126 at various places it does depend upon the initialization to 0. I
127 have not tried to isolate the pertinent places, and all the former
128 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
129 someone should address this issue.
130
131 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
132 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
133 files.
134 Adjust dependencies.
135 * src/warshall.h: New file.
136 Propagate.
137
340ef489
AD
1382000-10-02 Akim Demaille <akim@epita.fr>
139
140 Various anti-`extern in *.c' changes.
141
142 * src/system.h: Include `assert.h'.
143
d7913476 144
b2ca4022
AD
1452000-10-02 Akim Demaille <akim@epita.fr>
146
147 * src/state.h (nstates, final_state, first_state, first_shift)
148 (first_reduction): Move their exportation from here...
149 * src/LR0.h: to here.
150 Adjust dependencies.
151 * src/getargs.c (statisticsflag): New variable.
152 Add support for `--statistics'.
153 Adjust dependencies.
154
155 Remove a lot of now useless `extern' statements in most files.
156
d7913476 157
403b315b
AD
1582000-10-02 Akim Demaille <akim@epita.fr>
159
160 * src/LR0.h: New file.
161 Propagate its use.
162
d7913476 163
07a58c13
AD
1642000-10-02 Akim Demaille <akim@epita.fr>
165
166 * src/print.h: New file.
167 Propagate its use.
168 * src/print.c: Formatting and ordering changes.
169 (verbose, terse): Replace with...
170 (print_results): this new function.
171 Adjust dependencies.
172
d7913476 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
d7913476 183
3519ec76
AD
1842000-10-02 Akim Demaille <akim@epita.fr>
185
186 * src/nullable.h: New file.
187 Propagate its inclusion.
188 * src/nullable.c: Formatting changes.
189
d7913476 190
015acc48
AD
1912000-10-02 Akim Demaille <akim@epita.fr>
192
193 * src/reduce.h: New file.
194 Propagate its inclusion.
195 * src/reduce.c: Topological sort and other formatting changes.
196 (bool, TRUE, FALSE): Move their definition to...
197 * src/system.h: here.
198
199
8963a27b
AD
2002000-10-02 Akim Demaille <akim@epita.fr>
201
202 * src/files.c: Formatting changes.
203 (tryopen, tryclose, openfiles): Rename as...
204 (xfopen, xfclose, open_files): this.
205 (stringappend): static.
206 * src/files.h: Complete the list of exported symbols.
207 Propagate its use.
208
015acc48 209
a70083a3
AD
2102000-10-02 Akim Demaille <akim@epita.fr>
211
212 * src/reader.h: New file.
213 Propagate its use instead of tedious list of `extern' and
214 prototypes.
215 * src/reader.c: Formatting changes, topological sort,
216 s/register//.
217
218
abadc117
AD
2192000-10-02 Akim Demaille <akim@epita.fr>
220
221 * src/lex.h: Prototype `lex.c' exported functions.
222 * src/reader.c: Adjust.
223 * src/lex.c: Formatting changes.
224 (safegetc): Rename as...
225 (xgetc): this.
226
015acc48 227
720d742f
AD
2282000-10-02 Akim Demaille <akim@epita.fr>
229
230 * src/lalr.h: New file.
231 Propagate its inclusion instead of prototypes and `extern'.
232 * src/lalr.c: Formatting changes, topological sorting etc.
233
015acc48 234
f2acea59
AD
2352000-10-02 Akim Demaille <akim@epita.fr>
236
237 * src/output.c (token_actions): Introduce a temporary array,
238 YYDEFACT, that makes it possible for this function to use
239 output_short_table.
240
015acc48 241
d019d655
AD
2422000-10-02 Akim Demaille <akim@epita.fr>
243
244 `user_toknums' is output as a `short[]' in `output.c', while it is
245 defined as a `int[]' in `reader.c'. For consistency with the
246 other output tables, `user_toknums' is now defined as a table of
247 shorts.
248
249 * src/reader.c (user_toknums): Be a short table instead of an int
250 table.
251 Adjust dependencies.
252
253 Factor the short table outputs.
254
255 * src/output.c (output_short_table): New function.
256 * src/output.c (output_gram, output_stos, output_rule_data)
257 (output_base, output_table, output_check): Use it.
258
6c89f1c1
AD
2592000-10-02 Akim Demaille <akim@epita.fr>
260
261 * src/output.c (output): Topological sort of the functions, in
262 order to get rid of the `static' prototypes.
263 No longer use `register'.
264 * src/output.h: New file.
265 Propagate its inclusion in files explicitly prototyping functions
266 from output.c.
267
d9efd181
AD
2682000-09-21 Akim Demaille <akim@epita.fr>
269
270 * src/atgeneral.m4: Update from Autoconf.
271
c29240e7 2722000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
273
274 * src/closure.h: New file.
275 * src/closure.c: Formatting changes, topological sort over the
276 functions, use of closure.h.
277 (initialize_closure, finalize_closure): Rename as...
278 (new_closure, free_closure): these. Adjust dependencies.
279 * src/LR0.c: Formatting changes, topological sort, use of
280 cloture.h.
281 (initialize_states): Rename as...
282 (new_states): this.
283 * src/Makefile.am (noinst_HEADERS): Adjust.
284
499daa50
AD
2852000-09-20 Akim Demaille <akim@epita.fr>
286
287 * src/acconfig.h: Don't protect config.h against multiple
288 inclusion.
289 Don't define PARAMS.
290 * src/system.h: Define PARAMS.
291 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
292 purpose of config.h. system.h must not try to fix wrong
293 definitions in config.h.
294
cc84fd5d
AD
2952000-09-20 Akim Demaille <akim@epita.fr>
296
297 * src/derives.h: New file.
298 * src/main.c, src/derives.h: Use it.
299 Formatting changes.
300 * src/Makefile.am (noinst_HEADERS): Adjust.
301
db5b3a89
AD
3022000-09-20 Akim Demaille <akim@epita.fr>
303
304 * tests/atgeneral.m4: Update from Autoconf.
305 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
306 (AT_CHECK_CALC): New macros.
307 Use these macros to test bison with options `', `--raw',
308 `--debug', `--yacc', `--yacc --debug'.
309
ceed8467
AD
3102000-09-19 Akim Demaille <akim@epita.fr>
311
312 * src/output.c: Formatting changes.
313 * src/machine.h: Remove, leaving its contents in...
314 * src/system.h: here.
315 Include stdio.h.
316 Adjust all dependencies on stdio.h and machine.h.
317 * src/getargs.h: New file.
318 Let all `extern' declarations about getargs.c be replaced with
319 inclusion of `getargs.h'.
320 * src/Makefile.am (noinst_HEADERS): Adjust.
321
322 * tests/calc.m4 (yyin): Be initialized in main, not on the global
323 scope.
324 (yyerror): Returns void, not int.
325 * doc/bison.texinfo: Formatting changes.
326
05a1d24b
AD
3272000-09-19 Akim Demaille <akim@epita.fr>
328
329 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
330 portable.
331
cbd25751
AD
3322000-09-18 Akim Demaille <akim@epita.fr>
333
334 * configure.in: Append WARNING_CFLAGS to CFLAGS.
335 * src/Makefile.am (INCLUDES): Don't.
336 Be ready to fetch headers in lib/.
337
13863333
AD
3382000-09-18 Akim Demaille <akim@epita.fr>
339
340 * doc/bison.texinfo: Update the copyright.
341 ANSIfy and GNUify the examples.
342 Remove the old menu.
343
0d533154
AD
3442000-09-18 Akim Demaille <akim@epita.fr>
345
346 First set of tests: use the `calc' example from the documentation.
347
348 * src/bison.s1 (yyparse): Condition the code using `yytname' which
349 is defined only when YYDEBUG is.
350 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
351 * src/files.c (tryopen, tryclose): Formatting changes.
352 Move to the top and be static.
353 * src/reader.c (read_signed_integer): Likewise.
354 * tests/calc.m4: New file.
355 * Makefile.am, suite.m4: Adjust.
356 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
357
e79137ac
AD
3582000-09-18 Akim Demaille <akim@epita.fr>
359
360 Add support for an Autotest test suite for Bison.
361
362 * m4/m4.m4, m4/atconfig.m4: New files.
363 * m4/Makefile.am (EXTRA_DIST): Adjust.
364 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
365 files.
366 * src/getargs.c: Display a more standard --version message.
367 * src/reader.c (reader): Formatting changes.
368 No longer depend upon VERSION_STRING.
369 * configure.in: No longer use `dnl'.
370 Set up the test suite and the new directory `tests/.
371 (VERSION_STRING): Remove.
372
27821bff
AD
3732000-04-14 Akim Demaille <akim@epita.fr>
374
375 * src/reader.c (copy_comment2): New function, same as former
376 `copy_comment', but outputs into two FILE *.
377 (copy_comment): Use it.
378 (parse_union_decl): Use it.
379 (get_type, parse_start_decl): Use the same `invalid' message.
380 (parse_start_decl, parse_union_decl): Use the same `multiple'
381 message.
382 (parse_union_decl, copy_guard, copy_action): Use the same
383 `unmatched' message.
384 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
385
cfe5fbc0
AD
3862000-03-31 Akim Demaille <akim@epita.fr>
387
388 * src/files.c (tryopen, tryclose): Move to the top.
389 Be static.
390
cb7db13e
AD
3912000-03-31 Akim Demaille <akim@epita.fr>
392
393 * src/main.c (main): Don't call `done', exit does it.
394
a0f6b076
AD
3952000-03-31 Akim Demaille <akim@epita.fr>
396
36281465
AD
397 * allocate.c: s/return (foo)/return foo/.
398 * lalr.c: Likewise.
399 * LR0.c: Likewise.
400 * output.c: Likewise.
401 * reader.c: Likewise.
402 * symtab.c: Likewise.
403 * vmsgetargs.c: Likewise.
404
4052000-03-31 Akim Demaille <akim@epita.fr>
406
407 Clean up the error reporting functions.
a0f6b076
AD
408
409 * src/report.c: New file.
410 * src/report.h: Likewise.
411 * src/Makefile.am: Adjust.
412 * m4/error.m4: New file.
413 * m4/Makefile.am: Adjust.
414 * configure.in (jm_PREREQ_ERROR): Call it.
415 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
416 Remove.
417 (fatal, fatals): Remove. All callers use complain.c::fatal.
418 (warn, warni, warns, warnss, warnss): Remove. All callers use
419 complain.c::complain.
420 (toomany): Remove, use fatal instead.
421 * src/files.c (done): No argument, use complain_message_count.
422 * src/main.c (main): Register `done' to `atexit'.
423
424 * src/getargs.c (usage): More `fputs', less `fprintf'.
425
18539825
AD
4262000-03-28 Akim Demaille <akim@epita.fr>
427
428 * lib/: New directory.
429 * Makefile.am (SUBDIRS): Adjust.
430 * configure.in: Adjust.
431 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
432 useless.
433 * src/alloca.c: Moved to lib/.
434 * src/getopt.c: Likewise.
435 * src/getopt1.c: Likewise.
436 * src/getopt.h: Likewise.
437 * src/ansi2knr.c: Likewise.
438 * src/ansi2knr.1: Likewise.
439 * src/Makefile.am: Adjust.
440 * lib/Makefile.am: New file.
441
9f306f2a
AD
4422000-03-28 Akim Demaille <akim@epita.fr>
443
444 * src/getargs.c (usage): Refresh the help message.
445
0ba347b6
AD
4462000-03-17 Akim Demaille <akim@epita.fr>
447
448 * src/getopt1.c: Updated from textutils 2.0e
449 * src/getopt.c: Likewise.
450 * src/getopt.h: Likewise.
451
dbe7f271
AD
4522000-03-17 Akim Demaille <akim@epita.fr>
453
454 * src/Makefile.am (bison.simple): Fix the awk program: quote only
455 the file name, not the whole `#line LINE FILE'.
456
75bbe78d
AD
4572000-03-17 Akim Demaille <akim@epita.fr>
458
459 On syntax errors, report the token on which we choked.
460
aa5fd0ee
AD
461 * src/bison.s1 (yyparse): In the label yyerrlab, when
462 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 463
7b306f52
AD
4642000-03-17 Akim Demaille <akim@epita.fr>
465
aa5fd0ee 466 * src/reader.c (copy_at): New function.
7b306f52
AD
467 (copy_guard): Use it.
468 (copy_action): Use it.
469
e87b5700
AD
4702000-03-17 Akim Demaille <akim@epita.fr>
471
472 Be kind to translators, save some useless translations.
473
aa5fd0ee 474 * src/main.c (banner): New function.
e87b5700
AD
475 (fatal_banner): Use it.
476 (warn_banner): Use it.
477
ae3c3164
AD
4782000-03-17 Akim Demaille <akim@epita.fr>
479
aa5fd0ee
AD
480 * src/reader.c (copy_definition): Use copy_string and
481 copy_comment. Removed now unused `match', `ended',
482 `cplus_comment'.
ae3c3164
AD
483 (copy_comment, copy_string): Moved, to be visible from
484 copy_definition.
485
4dc58e7c
AD
4862000-03-17 Akim Demaille <akim@epita.fr>
487
aa5fd0ee
AD
488 * src/reader.c (copy_string): Declare `static inline'. No
489 problems with inline, since it is checked by configure.
4dc58e7c
AD
490 (copy_comment): Likewise.
491
0a6384c4
AD
4922000-03-17 Akim Demaille <akim@epita.fr>
493
aa5fd0ee 494 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 495
3cef001a
AD
4962000-03-17 Akim Demaille <akim@epita.fr>
497
aa5fd0ee 498 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
499 (copy_action): Use it. Removed now unused `match', `ended',
500 `cplus_comment'.
501 (copy_guard): Likewise.
502
ca36d2ef
AD
5032000-03-17 Akim Demaille <akim@epita.fr>
504
aa5fd0ee 505 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
506 (copy_action): Use it.
507 (copy_guard): Likewise.
508
6666f98f
AD
5092000-03-17 Akim Demaille <akim@epita.fr>
510
511 Change the handling of @s so that they behave exactly like $s.
512 There is now a pseudo variable @$ (readble and writable), location
513 of the lhs of the rule (by default ranging from the location of
514 the first symbol of the rhs, to the location of the last symbol,
515 or, if the rhs is empty, YYLLOC).
516
517 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
518 yyval.
519 (yyparse): When providing a default semantic action, provide a
520 default location action.
521 (after the $): No longer change `*YYLSP', just stack YYLOC the
522 same way you stack YYVAL.
523 * src/reader.c (read_declarations): Use warns.
524 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
525 (copy_action, case '@'): Likewise.
526 Use a standard error message, to save useless work from
527 translators.
528
41aca2e0
AD
5292000-03-17 Akim Demaille <akim@epita.fr>
530
aa5fd0ee
AD
531 * src/bison.s1: Formatting and cosmetics changes.
532 * src/reader.c: Likewise.
41aca2e0
AD
533 Update the Copyright notice.
534
dc08c1d5
AD
5352000-03-17 Akim Demaille <akim@epita.fr>
536
aa5fd0ee
AD
537 * src/bison.s1 (#line): All set to `#line' only, since the
538 Makefile now handles them.
dc08c1d5 539
9ee3c97b
AD
5402000-03-16 Akim Demaille <akim@epita.fr>
541
542 * src/output.c (output_rule_data): Output the documentation of
543 some of the tables.
544 (Copyright notice): Update.
545 Formatting changes.
546
0de741ca
AD
5472000-03-16 Akim Demaille <akim@epita.fr>
548
549 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
550 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
551 One `#if YYDEBUG' remains, since it uses variables which are
552 defined only if `YYDEBUG != 0'.
553
bb10be54
AD
5542000-03-16 Akim Demaille <akim@epita.fr>
555
556 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
557 and related variables so that the similarities are highlighted.
558
b07b484a
AD
5592000-03-16 Akim Demaille <akim@epita.fr>
560
561 * src/bison.s1: Properly indent CPP directives.
562
361f60b3
AD
5632000-03-16 Akim Demaille <akim@epita.fr>
564
565 * src/bison.s1: Properly indent the `alloca' CPP section.
566
8c44d3ec
AD
5672000-03-16 Akim Demaille <akim@epita.fr>
568
569 Do not hard code values of directories in `configure.in'.
570 Update the `configure' tool chain.
571
572 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
573 src/makefile.am.
574 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
575 (AC_OUTPUT): Add m4/Makefile.
576 Bump to bison 1.28a, 1.29 has never been released.
577 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
578 handled via src/Makefile.am.
579 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
580 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
581 autoheader.
582 * Makefile.am (SUBDIRS): Add m4.
583 (ACLOCAL_AM_FLAGS): New variable.
584 (AUTOMAKE_OPTIONS): Add check-news.
585 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
586 the proper line number and file name.
587 (DEFS): Propagate the location of bison library files and of the
588 locale files.
589 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
590 builddir.
591 * acinclude.m4: Remove, replaced by the directory m4.
592 * m4/Makefile.am (EXTRA_DIST): New variable.
593 * m4/gettext.m4: New file, from the fileutils.
594 * m4/lcmessage.m4: Likewise
595 * m4/progtest.m4: Likewise.
596 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
597
f95997e7
AD
5982000-03-10 Akim Demaille <akim@epita.fr>
599
600 * src/closure.c:
601 Formatting changes of various comments.
602 Respect the GNU coding standards at various places.
603 Don't use `_()' when no translation is needed.
604
6051999-12-13 Jesse Thilo <jthilo@gnu.org>
606
607 * src/files.c:
608 OS/2 honors TMPDIR environment variable.
609
6101999-12-13 Jesse Thilo <jthilo@gnu.org>
611
612 * doc/bison.texinfo: Tweaked spelling and grammar.
613 Updated ISBN.
614 Removed reference to price of printed copy.
615 Mention BISON_SIMPLE and BISON_HAIRY.
616
6171999-12-13 Jesse Thilo <jthilo@gnu.org>
618
619 * configure.in, NEWS:
620 Bison 1.29 released.
621
6221999-10-27 Jesse Thilo <jthilo@gnu.org>
623
624 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
625 Added reference card.
626
6271999-07-26 Jesse Thilo <jthilo@gnu.org>
628
629 * po/ru.po: Added Russian translation.
630
6311999-07-26 Jesse Thilo <jthilo@gnu.org>
632
633 * configure.in: Added Russian translation.
634
6351999-07-06 Jesse Thilo <jthilo@gnu.org>
636
637 * configure.in, NEWS, README:
638 Released version 1.28.
639
6401999-06-14 Jesse Thilo <jthilo@gnu.org>
641
642 * src/system.h:
643 Squashed redefinition warning on some systems.
644
645 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
646 Have configure build version string instead of relying on ANSI string
647 concatentation.
648
6491999-06-14 Jesse Thilo <jthilo@gnu.org>
650
651 * po/POTFILES.in: Got rid of version.c.
652
6531999-06-14 Jesse Thilo <jthilo@gnu.org>
654
655 * acconfig.h, configure.in:
656 Have configure build version string instead of relying on ANSI string
657 concatentation.
658
6591999-06-08 Jesse Thilo <jthilo@gnu.org>
660
661 * doc/bison.1:
662 Dropped mention of `+' for long-named options.
663
6641999-05-30 Jesse Thilo <jthilo@gnu.org>
665
666 * src/files.c: Added <unistd.h> for unlink().
667
668 * src/Makefile.am, src/system.h:
669 I18n fixes.
670
6711999-05-30 Jesse Thilo <jthilo@gnu.org>
672
673 * README: Added a FAQ list.
674
675 * configure.in, acconfig.h:
676 I18n fixes.
677
6781999-05-30 Jesse Thilo <jthilo@gnu.org>
679
680 * doc/FAQ, doc/Makefile.am:
681 Added a FAQ list.
682
6831999-05-19 Jesse Thilo <jthilo@gnu.org>
684
685 * src/alloc.h, src/symtab.h, src/version.c:
686 Protected inclusion of "config.h" with HAVE_CONFIG_H.
687
6881999-04-18 Jesse Thilo <jthilo@gnu.org>
689
690 * src/.cvsignore, src/Makefile.am:
691 Reorganized: sources in `src', documentation in `doc'.
692
693 * src/lex.c (literalchar):
694 fixed the code for escaping double quotes (thanks
695 Jonathan Czisny.)
696
6971999-04-18 Jesse Thilo <jthilo@gnu.org>
698
699 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
700 Adjusted paths to reflect directory reorganization.
701
7021999-04-18 Jesse Thilo <jthilo@gnu.org>
703
704 * doc/.cvsignore, doc/Makefile.am:
705 Reorganized: sources in `src', documentation in `doc'.
706
7071999-04-18 Jesse Thilo <jthilo@gnu.org>
708
709 * configure.in:
710 Updated AC_INIT file to reflect directory reorganization.
711
712 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
713 Reorganized: sources in `src', documentation in `doc'.
714
7151999-04-13 Jesse Thilo <jthilo@gnu.org>
716
717 * src/allocate.c:
718 Don't declare calloc() and realloc() if not necessary.
719
7201999-04-13 Jesse Thilo <jthilo@gnu.org>
721
722 * configure.in, acconfig.h, acinclude.m4:
723 Don't declare calloc() and realloc() if not necessary.
724
7251999-03-23 Jesse Thilo <jthilo@gnu.org>
726
727 * po/.cvsignore: Added i18n support.
728
7291999-03-23 Jesse Thilo <jthilo@gnu.org>
730
731 * acconfig.h, configure.in, Makefile.am:
732 Added i18n support.
733
7341999-03-22 Jesse Thilo <jthilo@gnu.org>
735
736 * src/bison.s1: Fixed #line numbers.
737
7381999-03-15 Jesse Thilo <jthilo@gnu.org>
739
740 * po/es.po, po/fr.po, po/nl.po, po/de.po:
741 Added PO files from Translation Project.
742
7431999-03-03 Jesse Thilo <jthilo@gnu.org>
744
745 * Makefile.am:
746 Added support for non-ANSI compilers (ansi2knr).
747
7481999-02-16 Jesse Thilo <jthilo@gnu.org>
749
750 * configure.in: Bumped version number to 1.27.
751
752 * Makefile.am:
753 Added `bison.simple' to list of files removed by `make distclean'.
754
7551999-02-12 Jesse Thilo <jthilo@gnu.org>
756
757 * src/files.c, src/files.h:
758 Defined locations of parser files in config.h instead of Makefile.
759
7601999-02-12 Jesse Thilo <jthilo@gnu.org>
761
762 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
763 Defined locations of parser files in config.h instead of Makefile.
764
7651999-02-09 Jesse Thilo <jthilo@gnu.org>
766
767 * Makefile.am:
768 Removed inappropriate use of $< macro.
769
7701999-02-05 Jesse Thilo <jthilo@gnu.org>
771
772 * po/Makefile.in.in, po/POTFILES.in:
773 Add `po' directory skeleton.
774
7751999-01-27 Jesse Thilo <jthilo@gnu.org>
776
777 * README: Document help-bison list.
778
779 * configure.in: Add check for mkstemp().
780
7811999-01-20 Jesse Thilo <jthilo@gnu.org>
782
783 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
784 Hush a few compiler warnings.
785
786 * src/files.c:
787 Add tryclose(), which verifies that fclose was successful.
788 Hush a couple of compiler warnings.
789
7901999-01-20 Jesse Thilo <jthilo@gnu.org>
791
792 * Makefile.am, OChangeLog:
793 ChangeLog is now automatically generated. Include the old version as
794 OChangeLog.
795
7961999-01-14 Jesse Thilo <jthilo@gnu.org>
797
798 * 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:
799 Update FSF address.
800
8011999-01-14 Jesse Thilo <jthilo@gnu.org>
802
803 * doc/bison.texinfo: Fix formatting glitch.
804
805 * doc/bison.texinfo: Update FSF address.
806
8071999-01-14 Jesse Thilo <jthilo@gnu.org>
808
809 * acconfig.h: Update FSF address.
810
8111999-01-08 Jesse Thilo <jthilo@gnu.org>
812
813 * src/system.h:
814 Don't define PACKAGE here, since config.h defines it.
815
8161998-12-30 Jesse Thilo <jthilo@gnu.org>
817
818 * src/reader.c: Update copyright date.
819
820 * src/main.c:
821 Ditch sprintf to statically-sized buffers in fatal/warn functions in
822 favor of output directly to stderr (avoids buffer overruns).
823
824 * src/reader.c: Some checks for premature EOF.
825
826 * 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:
827 Use prototypes if the compiler understands them.
828
829 * src/files.c: Honor TMPDIR on Unix hosts.
830 Use prototypes if the compiler understands them.
831
832 * src/reader.c:
833 Fix a couple of buffer overrun bugs.
834 Use prototypes if the compiler understands them.
835
836 * src/system.h: Include unistd.h and ctype.h.
837 Use #ifdef instead of #if for NLS symbols.
838
8391998-12-30 Jesse Thilo <jthilo@gnu.org>
840
841 * doc/bison.texinfo:
842 Delete comment "consider using @set for edition number, etc..." since
843 we now are doing so.
844
8451998-12-30 Jesse Thilo <jthilo@gnu.org>
846
847 * configure.in:
848 Use prototypes if the compiler understands them.
849
850 * NEWS: Document 1.26 highlights.
851
852 * Makefile.am: Require Automake 1.3 or later.
853
854 * acconfig.h:
855 Use prototypes if the compiler understands them.
856
8571998-12-29 Jesse Thilo <jthilo@gnu.org>
858
859 * src/version.c:
860 Use VERSION symbol from automake for version number.
861
8621998-12-29 Jesse Thilo <jthilo@gnu.org>
863
864 * acconfig.h, configure.in, version.cin:
865 Use VERSION symbol from automake for version number.
866
8671998-11-28 Jesse Thilo <jthilo@gnu.org>
868
869 * Makefile.am:
870 Distribute original version of simple parser (bison.s1), not built
871 version (bison.simple).
872
8731998-11-28 Jesse Thilo <jthilo@gnu.org>
874
875 * doc/bison.texinfo: Add info dir entry.
876
877 * doc/bison.texinfo:
878 Let automake put version number into documentation.
879
8801998-11-26 Jesse Thilo <jthilo@gnu.org>
881
882 * src/bison.cld, src/build.com, src/vmshlp.mar:
883 Add non-RCS files from /gd/gnu/bison.
884
8851998-11-26 Jesse Thilo <jthilo@gnu.org>
886
887 * doc/bison.1:
888 Document the BISON_HAIRY and BISON_SIMPLE variables.
889
8901998-11-25 Jesse Thilo <jthilo@gnu.org>
891
892 * src/version.c: Build version.c automatically.
893
894 * src/reader.c:
895 Fix token numbering (used to start at 258, not 257).
896
897 * src/system.h: Include config.h.
898
899 * src/getargs.c: Update bug report address.
900
901 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
902 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
903
9041998-11-25 Jesse Thilo <jthilo@gnu.org>
905
906 * Makefile.am:
907 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
908
909 * configure.in, version.cin:
910 Build version.c automatically.
911
912 * AUTHORS: Add AUTHORS file.
913
914 * README: Update bug report address.
915
916 * bison.simple:
917 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
918
919 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
920 Add automake stuff.
921
9221998-11-25 Jesse Thilo <jthilo@gnu.org>
923
924 * doc/bison.texinfo: Clean up some formatting.
925
9261998-05-05 Richard Stallman <rms@gnu.org>
927
928 * doc/bison.texinfo:
929 Explain better why to make a pure parser.
930
9311998-01-05 Richard Stallman <rms@gnu.org>
932
933 * src/files.c (openfiles):
934 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
935 find a temporary directory, if possible. Do not unlink files while
936 they are open.
937
9381997-08-25 Richard Stallman <rms@gnu.org>
939
940 * src/reader.c (stack_offset;):
941 Change some warni to warns.
942
943 * src/lex.c (literalchar): Use warns, not warni.
944
9451997-06-28 Richard Stallman <rms@gnu.org>
946
947 * src/bison.s1: Add a Bison version comment.
948
949 * src/main.c (fatal, warn, berror):
950 Use program_name.
951
9521997-06-28 Richard Stallman <rms@gnu.org>
953
954 * Makefile.in (bison_version): New variable.
955 (dist): Use that variable.
956 (bison.s1): Substitute the Bison version into bison.simple.
957
958 * bison.simple: Add a Bison version comment.
959
9601997-06-18 Richard Stallman <rms@gnu.org>
961
962 * src/main.c (fatal, warn, berror):
963 Make error messages standard.
964 (toomany): Improve error message text.
965
966 * 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:
967 new.h renamed to alloc.h.
968
9691997-06-18 Richard Stallman <rms@gnu.org>
970
971 * Makefile.in: new.h renamed to alloc.h.
972
9731997-05-24 Richard Stallman <rms@gnu.org>
974
975 * src/lex.c (literalchar):
976 Fix the code for escaping \, " and '.
977
978 (lex): Avoid trouble when there are many chars
979 to discard in a char literal with just several chars in it.
980
9811997-05-17 Richard Stallman <rms@gnu.org>
982
983 * src/bison.s1:
984 Use malloc, if using alloca is troublesome.
985 (YYSTACK_USE_ALLOCA): New flag macro.
986 Define it for some systems and compilers.
987 (YYSTACK_ALLOC): New macro.
988 (yyparse): Use YYSTACK_ALLOC to allocate stack.
989 If it was malloc'd, free it.
990
9911997-05-17 Richard Stallman <rms@gnu.org>
992
993 * bison.simple:
994 Use malloc, if using alloca is troublesome.
995 (YYSTACK_USE_ALLOCA): New flag macro.
996 Define it for some systems and compilers.
997 (YYSTACK_ALLOC): New macro.
998 (yyparse): Use YYSTACK_ALLOC to allocate stack.
999 If it was malloc'd, free it.
1000
10011997-04-23 Richard Stallman <rms@gnu.org>
1002
1003 * src/bison.s1:
1004 (alloca) [__hpux]: Always define as __builtin_alloca.
1005
10061997-04-23 Richard Stallman <rms@gnu.org>
1007
1008 * bison.simple:
1009 (alloca) [__hpux]: Always define as __builtin_alloca.
1010
10111997-04-22 Richard Stallman <rms@gnu.org>
1012
1013 * src/bison.s1:
1014 [__hpux]: Include alloca.h (right for HPUX 10)
1015 instead of declaring alloca (right for HPUX 9).
1016
1017 * src/bison.s1 (__yy_memcpy):
1018 Declare arg `count' as unsigned int.
1019 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1020
10211997-04-22 Richard Stallman <rms@gnu.org>
1022
1023 * bison.simple:
1024 [__hpux]: Include alloca.h (right for HPUX 10)
1025 instead of declaring alloca (right for HPUX 9).
1026
1027 * bison.simple (__yy_memcpy):
1028 Declare arg `count' as unsigned int.
1029 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1030
10311997-01-03 Richard Stallman <rms@gnu.org>
1032
1033 * src/allocate.c: [__STDC__ or _MSC_VER]:
1034 Declare calloc and realloc to return void *.
1035
10361997-01-02 Richard Stallman <rms@gnu.org>
1037
1038 * src/system.h:
1039 [_MSC_VER]: Include stdlib.h and process.h.
1040 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1041
1042 * src/main.c (main): Return FAILURE as a value.
1043 (printable_version): Declare arg as int, not char.
1044
10451997-01-02 Richard Stallman <rms@gnu.org>
1046
1047 * Makefile.in (dist):
1048 Explicitly check for symlinks, and copy them.
1049
10501996-12-19 Richard Stallman <rms@gnu.org>
1051
1052 * src/files.c:
1053 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1054
10551996-12-18 Paul Eggert <eggert@gnu.org>
1056
1057 * src/bison.s1 (yyparse):
1058 If __GNUC__ and YYPARSE_PARAM are both defined,
1059 declare yyparse to have a void * argument.
1060
10611996-12-18 Paul Eggert <eggert@gnu.org>
1062
1063 * bison.simple (yyparse):
1064 If __GNUC__ and YYPARSE_PARAM are both defined,
1065 declare yyparse to have a void * argument.
1066
10671996-12-17 Richard Stallman <rms@gnu.org>
1068
1069 * src/reduce.c (nbits): Add some casts.
1070
10711996-08-12 Richard Stallman <rms@gnu.org>
1072
1073 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1074
10751996-08-12 Richard Stallman <rms@gnu.org>
1076
1077 * bison.simple: Test _MSDOS as well as _MSDOS_.
1078
10791996-07-31 Richard Stallman <rms@gnu.org>
1080
1081 * src/bison.s1:
1082 [__sun && __i386]: Include alloca.h.
1083
10841996-07-31 Richard Stallman <rms@gnu.org>
1085
1086 * bison.simple:
1087 [__sun && __i386]: Include alloca.h.
1088
10891996-07-30 Richard Stallman <rms@gnu.org>
1090
1091 * src/bison.s1: Comment change.
1092
1093 * src/bison.s1: Test _MSDOS_, not MSDOS.
1094
10951996-07-30 Richard Stallman <rms@gnu.org>
1096
1097 * bison.simple: Comment change.
1098
1099 * bison.simple: Test _MSDOS_, not MSDOS.
1100
11011996-06-01 Richard Stallman <rms@gnu.org>
1102
1103 * 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:
1104 Insert `_' macro around many string constants.
1105
1106 * src/main.c:
1107 Insert `_' macro around many string constants.
1108
1109 (main): Call setlocale, bindtextdomain and textdomain.
1110
1111 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1112 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1113 [ENABLE_NLS]: Include libintl.h.
1114 [ENABLE_NLS] (gettext): Define.
1115 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1116 (N_, PACKAGE, LOCALEDIR): New macros.
1117
11181996-06-01 Richard Stallman <rms@gnu.org>
1119
1120 * POTFILES.in: New file.
1121
1122 * Makefile.in (allocate.o):
1123 Define target explicitly.
1124
1125 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1126 (LDFLAGS): Set to @LDFLAGS@.
1127 (configure): Run autoconf only if preceding `cd' succeeds.
1128 (bison.s1): Redirect output to temporary file then move the
1129 temporary to the target, rather than redirecting directly to bison.s1.
1130 (clean): Remove config.status and config.log.
1131 (distclean): Don't remove config.status here.
1132
11331996-05-12 Richard Stallman <rms@gnu.org>
1134
1135 * src/bison.s1:
1136 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1137
11381996-05-12 Richard Stallman <rms@gnu.org>
1139
1140 * bison.simple:
1141 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1142
11431996-05-11 Richard Stallman <rms@gnu.org>
1144
1145 * src/bison.s1 (__yy_memcpy):
1146 Really reorder the args, as was supposedly done on Feb 14 1995.
1147 (yyparse): Calls changed accordingly.
1148
11491996-05-11 Richard Stallman <rms@gnu.org>
1150
1151 * Makefile.in (dist): Don't use $(srcdir).
1152
1153 * bison.simple (__yy_memcpy):
1154 Really reorder the args, as was supposedly done on Feb 14 1995.
1155 (yyparse): Calls changed accordingly.
1156
11571996-01-27 Richard Stallman <rms@gnu.org>
1158
1159 * src/output.c (output_rule_data):
1160 Test YYERROR_VERBOSE in the conditional
1161 around the definition of ttyname.
1162
11631995-12-29 Richard Stallman <rms@gnu.org>
1164
1165 * src/bison.s1:
1166 Fix line numbers in #line commands.
1167
11681995-12-29 Richard Stallman <rms@gnu.org>
1169
1170 * bison.simple:
1171 Fix line numbers in #line commands.
1172
11731995-12-27 Richard Stallman <rms@gnu.org>
1174
1175 * src/bison.s1 (YYPARSE_PARAM_DECL):
1176 In C++, make it always null.
1177 (YYPARSE_PARAM_ARG): New macro.
1178 (yyparse): Use YYPARSE_PARAM_ARG.
1179
11801995-12-27 Richard Stallman <rms@gnu.org>
1181
1182 * bison.simple (YYPARSE_PARAM_DECL):
1183 In C++, make it always null.
1184 (YYPARSE_PARAM_ARG): New macro.
1185 (yyparse): Use YYPARSE_PARAM_ARG.
1186
11871995-11-29 Richard Stallman <rms@gnu.org>
1188
1189 * doc/bison.texinfo:
1190 Describe literal string tokens, %raw, %no_lines, %token_table.
1191
11921995-11-29 Daniel Hagerty <hag@gnu.org>
1193
1194 * doc/bison.texinfo: Fixed update date
1195
11961995-10-16 Richard Stallman <rms@gnu.org>
1197
1198 * src/version.c: Version 1.25.
1199
12001995-10-16 Richard Stallman <rms@gnu.org>
1201
1202 * NEWS: *** empty log message ***
1203
12041995-10-16 Richard Stallman <rms@gnu.org>
1205
1206 * doc/bison.1, doc/bison.rnh:
1207 Add new options.
1208
12091995-10-15 Richard Stallman <rms@gnu.org>
1210
1211 * src/vmsgetargs.c, src/getargs.c:
1212 Added -n, -k, and -raw switches.
1213 (noparserflag, toknumflag, rawtoknumflag): New variables.
1214
1215 * src/symtab.h (SALIAS):
1216 New #define for adding aliases to %token.
1217 (struct bucket): Added `alias' field.
1218
1219 * src/reduce.c (reduce_grammar):
1220 Revise error message.
1221 (print_notices): Remove final `.' from error message.
1222
1223 * src/reader.c (reader_output_yylsp):
1224 New function.
1225 (readgram): Use `#if 0' around code that accepted %command
1226 inside grammar rules: The documentation doesn't allow it,
1227 and it will fail since the %command processors scan for the next %.
1228 (parse_token_decl): Extended the %token
1229 declaration to allow a multi-character symbol as an alias.
1230 (parse_thong_decl): New function.
1231 (read_declarations): Added %thong declarations.
1232 (read_declarations): Handle NOOP to deal with allowing
1233 % declarations as another means to specify the flags.
1234 (readgram): Allow %prec prior to semantics embedded in a rule.
1235 (skip_to_char, read_declarations, copy_definition)
1236 (parse_token_decl, parse_start_decl, parse_type_decl)
1237 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1238 (get_type_name, copy_guard, copy_action, readgram)
1239 (get_type, packsymbols): Revised most error messages.
1240 Changed `fatal' to `warnxxx' to avoid aborting for error.
1241 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1242 (read_declarations): Improve the error message for
1243 an invalid character. Do not abort.
1244 (read_declarations, copy_guard, copy_action): Use
1245 printable_version to avoid unprintable characters in printed output.
1246 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1247 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1248 Allow the type of a non-terminal can be given
1249 more than once, as long as all specifications give the same type.
1250
1251 * src/output.c:
1252 (output_headers, output_trailers, output, output_gram)
1253 (output_rule_data): Implement noparserflag variable.
1254 Implement toknumflag variable.
1255 (output): Call reader_output_yylsp to output LTYPESTR.
1256
1257 * src/main.c (main):
1258 If reader sees an error, don't process the grammar.
1259 (fatals): Updated to not use VARARGS1.
1260 (printable_version, int_to_string, warn, warni, warns, warnss)
1261 (warnsss): New error reporting functions. Avoid abort for error.
1262
1263 * src/lex.h:
1264 Added THONG and NOOP for alias processing.
1265 Added SETOPT for the new code that allows setting options with %flags.
1266
1267 * src/lex.c:
1268 Include getopt.h. Add some extern decls.
1269 (safegetc): New function to deal with EOF gracefully.
1270 (literalchar); new function to deal with reading \ escapes.
1271 (lex): Use literalchar.
1272 (lex): Implemented "..." tokens.
1273 (literalchar, lex, parse_percent_token): Made tokenbuffer
1274 always contain the token. This includes growing the token
1275 buffer while reading an integer.
1276 (parse_percent_token): Replaced if-else statement with percent_table.
1277 (parse_percent_token): Added % declarations as another
1278 way to specify the flags -n, -l, and -r. Also added hooks for
1279 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1280 major changes to files.c.
1281 (lex) Retain in the incoming stream a character following
1282 an incorrect '/'.
1283 (skip_white_space, lex): Revised most error messages
1284 and changed fatal to warn to avoid aborting.
1285 (percent_table): Added %thong declarations.
1286
1287 * src/gram.h: Comment changes.
1288
1289 * src/files.c (openfiles, open_extra_files, done):
1290 Add faction flag
1291 and actfile file. Handle noparserflag. Both for -n switch.
1292
1293 * src/conflicts.c (resolve_sr_conflict):
1294 Remove use of alloca.
1295
12961995-06-01 Jim Meyering <meyering@gnu.org>
1297
1298 * doc/bison.texinfo: *** empty log message ***
1299
13001995-05-06 Richard Stallman <rms@gnu.org>
1301
1302 * src/bison.s1: Comment change.
1303
13041995-05-06 Richard Stallman <rms@gnu.org>
1305
1306 * bison.simple: Comment change.
1307
13081995-05-03 Richard Stallman <rms@gnu.org>
1309
1310 * src/version.c: Version now 1.24.
1311
1312 * src/bison.s1: Change distribution terms.
1313
1314 * src/version.c: Version now 1.23.
1315
13161995-05-03 Richard Stallman <rms@gnu.org>
1317
1318 * doc/bison.texinfo:
1319 Rewrite "Conditions for Using Bison".
1320 Update version to 1.24.
1321
13221995-05-03 Richard Stallman <rms@gnu.org>
1323
1324 * bison.simple: Change distribution terms.
1325
13261995-02-23 Richard Stallman <rms@gnu.org>
1327
1328 * src/files.c: Test __VMS_POSIX as well as VMS.
1329
13301995-02-14 Jim Meyering <meyering@gnu.org>
1331
1332 * src/bison.s1 (__yy_memcpy):
1333 Renamed from __yy_bcopy to avoid
1334 confusion. Reverse FROM and TO arguments to be consistent with
1335 those of memcpy.
1336
13371995-02-14 Jim Meyering <meyering@gnu.org>
1338
1339 * bison.simple (__yy_memcpy):
1340 Renamed from __yy_bcopy to avoid
1341 confusion. Reverse FROM and TO arguments to be consistent with
1342 those of memcpy.
1343
13441994-11-10 David J. MacKenzie <djm@gnu.org>
1345
1346 * NEWS: reformat
1347
1348 * NEWS: New file.
1349
1350 * Makefile.in (DISTFILES): Include NEWS.
1351
1352 * Makefile.in (DISTFILES):
1353 Include install-sh, not install.sh.
1354
1355 * configure.in: Update to Autoconf v2 macro names.
1356
13571994-10-05 David J. MacKenzie <djm@gnu.org>
1358
1359 * Makefile.in: fix typo
1360
1361 * Makefile.in (prefix, exec_prefix):
1362 Let configure set them.
1363
13641994-09-28 David J. MacKenzie <djm@gnu.org>
1365
1366 * Makefile.in: Set datadir to $(prefix)/share.
1367
13681994-09-15 Richard Stallman <rms@gnu.org>
1369
1370 * src/bison.s1:
1371 Update copyright notice and GPL version.
1372
13731994-09-15 Richard Stallman <rms@gnu.org>
1374
1375 * bison.simple:
1376 Update copyright notice and GPL version.
1377
13781994-07-12 Richard Stallman <rms@gnu.org>
1379
1380 * src/reduce.c, src/reader.c:
1381 entered into RCS
1382
13831994-05-05 David J. MacKenzie <djm@gnu.org>
1384
1385 * Makefile.in: entered into RCS
1386
13871994-03-26 Richard Stallman <rms@gnu.org>
1388
1389 * src/bison.s1: entered into RCS
1390
13911994-03-26 Richard Stallman <rms@gnu.org>
1392
1393 * bison.simple: entered into RCS
1394
13951994-03-25 Richard Stallman <rms@gnu.org>
1396
1397 * src/main.c: entered into RCS
1398
13991994-03-24 Richard Stallman <rms@gnu.org>
1400
1401 * src/conflicts.c: entered into RCS
1402
14031994-01-02 Richard Stallman <rms@gnu.org>
1404
1405 * Makefile.in: *** empty log message ***
1406
14071993-11-21 Richard Stallman <rms@gnu.org>
1408
1409 * src/bison.s1: *** empty log message ***
1410
14111993-11-21 Richard Stallman <rms@gnu.org>
1412
1413 * doc/bison.texinfo: entered into RCS
1414
1415 * doc/bison.texinfo: *** empty log message ***
1416
14171993-11-21 Richard Stallman <rms@gnu.org>
1418
1419 * bison.simple: *** empty log message ***
1420
14211993-10-25 David J. MacKenzie <djm@gnu.org>
1422
1423 * doc/bison.texinfo: *** empty log message ***
1424
14251993-10-19 Richard Stallman <rms@gnu.org>
1426
1427 * src/bison.s1: *** empty log message ***
1428
14291993-10-19 Richard Stallman <rms@gnu.org>
1430
1431 * bison.simple: *** empty log message ***
1432
14331993-10-14 Richard Stallman <rms@gnu.org>
1434
1435 * src/bison.s1: *** empty log message ***
1436
14371993-10-14 Richard Stallman <rms@gnu.org>
1438
1439 * bison.simple: *** empty log message ***
1440
14411993-09-14 David J. MacKenzie <djm@gnu.org>
1442
1443 * doc/bison.texinfo: *** empty log message ***
1444
14451993-09-13 Noah Friedman <friedman@gnu.org>
1446
1447 * Makefile.in: *** empty log message ***
1448
14491993-09-10 Richard Stallman <rms@gnu.org>
1450
1451 * src/conflicts.c: *** empty log message ***
1452
1453 * src/system.h: entered into RCS
1454
14551993-09-10 Richard Stallman <rms@gnu.org>
1456
1457 * doc/bison.1: entered into RCS
1458
14591993-09-06 Noah Friedman <friedman@gnu.org>
1460
1461 * src/version.c: entered into RCS
1462
14631993-09-06 Noah Friedman <friedman@gnu.org>
1464
1465 * Makefile.in: *** empty log message ***
1466
14671993-07-30 David J. MacKenzie <djm@gnu.org>
1468
1469 * Makefile.in: *** empty log message ***
1470
14711993-07-24 Richard Stallman <rms@gnu.org>
1472
1473 * src/bison.s1: *** empty log message ***
1474
14751993-07-24 Richard Stallman <rms@gnu.org>
1476
1477 * bison.simple: *** empty log message ***
1478
14791993-07-08 David J. MacKenzie <djm@gnu.org>
1480
1481 * Makefile.in: *** empty log message ***
1482
14831993-07-04 Richard Stallman <rms@gnu.org>
1484
1485 * src/bison.s1: *** empty log message ***
1486
14871993-07-04 Richard Stallman <rms@gnu.org>
1488
1489 * bison.simple: *** empty log message ***
1490
14911993-06-26 David J. MacKenzie <djm@gnu.org>
1492
1493 * src/getargs.c: entered into RCS
1494
14951993-06-26 David J. MacKenzie <djm@gnu.org>
1496
1497 * doc/bison.texinfo: *** empty log message ***
1498
1499 * doc/bison.1: New file.
1500
15011993-06-25 Richard Stallman <rms@gnu.org>
1502
1503 * src/getargs.c: New file.
1504
15051993-06-16 Richard Stallman <rms@gnu.org>
1506
1507 * src/bison.s1: *** empty log message ***
1508
15091993-06-16 Richard Stallman <rms@gnu.org>
1510
1511 * bison.simple: *** empty log message ***
1512
15131993-06-03 Richard Stallman <rms@gnu.org>
1514
1515 * src/bison.s1: New file.
1516
15171993-06-03 Richard Stallman <rms@gnu.org>
1518
1519 * doc/bison.texinfo: *** empty log message ***
1520
15211993-06-03 Richard Stallman <rms@gnu.org>
1522
1523 * bison.simple: New file.
1524
15251993-05-19 Richard Stallman <rms@gnu.org>
1526
1527 * doc/bison.texinfo: New file.
1528
15291993-05-07 Noah Friedman <friedman@gnu.org>
1530
1531 * Makefile.in: *** empty log message ***
1532
15331993-04-28 Noah Friedman <friedman@gnu.org>
1534
1535 * src/reader.c: *** empty log message ***
1536
15371993-04-23 Noah Friedman <friedman@gnu.org>
1538
1539 * src/alloc.h: entered into RCS
1540
15411993-04-20 David J. MacKenzie <djm@gnu.org>
1542
1543 * src/version.c: *** empty log message ***
1544
1545 * src/files.c, src/allocate.c:
1546 entered into RCS
1547
1548 * src/reader.c: *** empty log message ***
1549
1550 * src/lex.c: entered into RCS
1551
1552 * src/conflicts.c: New file.
1553
1554 * src/symtab.c: entered into RCS
1555
1556 * src/alloc.h: New file.
1557
1558 * src/LR0.c: entered into RCS
1559
15601993-04-18 Noah Friedman <friedman@gnu.org>
1561
1562 * src/reader.c: New file.
1563
1564 * src/version.c: *** empty log message ***
1565
15661993-04-18 Noah Friedman <friedman@gnu.org>
1567
1568 * Makefile.in: *** empty log message ***
1569
15701993-04-17 Noah Friedman <friedman@gnu.org>
1571
1572 * Makefile.in: *** empty log message ***
1573
15741993-04-15 Richard Stallman <rms@gnu.org>
1575
1576 * src/main.c, src/files.c:
1577 New file.
1578
15791993-04-15 Noah Friedman <friedman@gnu.org>
1580
1581 * configure.in: entered into RCS
1582
1583 * configure.in: *** empty log message ***
1584
1585 * configure.in: New file.
1586
15871993-04-14 Richard Stallman <rms@gnu.org>
1588
1589 * Makefile.in: New file.
1590
15911993-04-13 Richard Stallman <rms@gnu.org>
1592
1593 * src/version.c: New file.
1594
15951993-03-25 Richard Stallman <rms@gnu.org>
1596
1597 * src/output.c: entered into RCS
1598
15991992-09-25 Richard Stallman <rms@gnu.org>
1600
1601 * configure.bat: entered into RCS
1602
16031992-06-22 Richard Stallman <rms@gnu.org>
1604
1605 * src/vmsgetargs.c: entered into RCS
1606
16071992-06-22 Richard Stallman <rms@gnu.org>
1608
1609 * doc/bison.rnh: entered into RCS
1610
16111992-04-20 David J. MacKenzie <djm@gnu.org>
1612
1613 * README: entered into RCS
1614
16151992-01-22 Richard Stallman <rms@gnu.org>
1616
1617 * src/machine.h: entered into RCS
1618
16191991-12-21 Richard Stallman <rms@gnu.org>
1620
1621 * src/lalr.c, src/closure.c:
1622 entered into RCS
1623
16241991-12-20 Richard Stallman <rms@gnu.org>
1625
1626 * src/state.h: entered into RCS
1627
16281991-12-18 Richard Stallman <rms@gnu.org>
1629
1630 * src/print.c, src/nullable.c, src/derives.c:
1631 entered into RCS
1632
16331991-11-03 David J. MacKenzie <djm@gnu.org>
1634
1635 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1636 entered into RCS
1637
16381988-09-09 Richard Stallman <rms@gnu.org>
1639
1640 * src/bison.hairy: entered into RCS
1641
16421987-12-16 Richard Stallman <rms@gnu.org>
1643
1644 * REFERENCES: entered into RCS