]> git.saurik.com Git - bison.git/blame - ChangeLog
Remove spurious empty lines.
[bison.git] / ChangeLog
CommitLineData
43591cec
AD
12000-10-16 Akim Demaille <akim@epita.fr>
2
3 * src/output.c (output_short_or_char_table): New function.
4 (output_short_table, output_token_translations): Use it.
5 (goto_actions): Use output_short_table.
6
1e9798d5
AD
72000-10-16 Akim Demaille <akim@epita.fr>
8
9 * src/symtab.c (bucket_new): New function.
10 (getsym): Use it.
11
12 * src/output.c (output_short_table): New argument to display the
13 comment associated with the table.
14 Adjust dependencies.
15 (output_gram): Use it.
16 (output_rule_data): Nicer output layout for YYTNAME.
17
f282676b
AD
182000-10-16 Akim Demaille <akim@epita.fr>
19
20 * src/lex.c (read_typename): New function.
21 (lex): Use it.
22 * src/reader.c (copy_dollar): Likewise.
23
550a72a3
AD
242000-10-16 Akim Demaille <akim@epita.fr>
25
26 * src/reader.c (copy_comment2): Expect the input stream to be on
27 the `/' which is suspected to open a comment, instead of being
28 called after `//' or `/*' was read.
29 (copy_comment, copy_definition, parse_union_decl, copy_action)
30 (copy_guard): Adjust.
31
131e2fef
AD
322000-10-16 Akim Demaille <akim@epita.fr>
33
34 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
35 `read_signed_integer'.
36
79282c5a
AD
372000-10-16 Akim Demaille <akim@epita.fr>
38
39 * src/reader.c (copy_dollar): New function.
40 (copy_guard, copy_action): Use it.
41
ff4a34be
AD
422000-10-16 Akim Demaille <akim@epita.fr>
43
44 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
45 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
46 New files, from Fileutils 4.0.27.
47 * src/main.c (printable_version): Remove.
48 * src/lex.c, src/reader.c: Use `quote'.
49
502000-10-04 Akim Demaille <akim@epita.fr>
51
52 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
53
14ded682
AD
542000-10-04 Akim Demaille <akim@epita.fr>
55
56 * doc/bison.texinfo: Various typos spotted by Neil Booth.
57
8e03724b
AD
582000-10-04 Akim Demaille <akim@epita.fr>
59
60 When a literal string is used to define two different tokens,
61 `bison -v' segfaults.
62 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
63
64 * tests/regression.m4: New file.
65 Include the core of the sample provided by Piotr Gackiewicz.
66 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
67 properly.
68
a9e64249
AD
692000-10-04 Akim Demaille <akim@epita.fr>
70
71 * src/reader.c (parse_expect_decl): Keep `count' within the size
72 of `buffer'.
73 From Neil Booth.
74
da9abf43
AD
752000-10-02 Paul Eggert <eggert@twinsun.com>
76
77 * bison.s1 (yyparse): Assign the default value
78 unconditionally, to avoid a GCC warning and make the parser a
79 tad smaller.
80
c33638bb
AD
812000-10-02 Akim Demaille <akim@epita.fr>
82
83 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
84 options.
85
444c570a
AD
862000-10-02 Akim Demaille <akim@epita.fr>
87
88 * src/derives.c, src/print.c, src/reduce.c: To ease the
89 translation, move some `\n' out of the translated strings.
90
89cab50d
AD
912000-10-02 Akim Demaille <akim@epita.fr>
92
93 The location tracking mechanism is precious for parse error
94 messages. Nevertheless, it is enabled only when `@n' is used in
95 the grammar, which is a different issue (you can use it in error
96 message, but not in the grammar per se). Therefore, there should
97 be another means to enable it.
98
99 * src/getargs.c (getargs): Support `--locations'.
100 (usage): Report it.
101 * src/getargs.h (locationsflag): Export it.
102 * src/lex.c (percent_table): Support `%locations'.
103 * src/reader.c (yylsp_needed): Remove this variable, now replaced
104 with `locationsflag'.
105 * doc/bison.texinfo: Document `--locations' and `%locations'.
106 Sort the options.
107 * tests/calc.m4: Test it.
108
109 For regularity of the names, replace each
110 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
111 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
112 In addition replace each `flag' with `_flag'.
113
d6c2cba0
AD
1142000-10-02 Akim Demaille <akim@epita.fr>
115
116 Also test parse error messages, including with YYERROR_VERBOSE.
117
118 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
119 associative).
120 Use it to check the computations.
121 Use it to check `nonassoc' is honored.
122 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
123 `--yyerror-verbose'.
124 (_AT_CHECK_CALC): Adjust to this option.
125 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
126
5a35a6cb
AD
1272000-10-02 Akim Demaille <akim@epita.fr>
128
129 Test also `--verbose', `--defines' and `--name-prefix'. Testing
130 the latter demonstrates a flaw in the handling of non debugging
131 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
132 was used in order to simplify:
133
134 #if YYDEBUG
135 if (yydebug)
136 {
137 ...
138 }
139 #endif
140
141 into
142
143 if (yydebug)
144 {
145 ...
146 }
147
148 unfortunately this leads to a CPP conflict when
149 `--name-prefix=foo' is used since it produces `#define yydebug
150 foodebug'.
151
152 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
153 (YYDPRINTF): New macro.
154 Spread its use.
155 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
156 the bison options.
157 Also test `--verbose', `--defines' and `--name-prefix'.
158
71da9eea
AD
1592000-10-02 Akim Demaille <akim@epita.fr>
160
161 Improve the readability of the produced parsers.
162
163 * src/bison.s1: Formatting changes.
164 Improve the comment related to the `$' mark.
165 (yydefault): Don't fall through to `yyresume': `goto' there.
166 * src/output.c (output_parser): When the `$' is met, skip the end
167 of its line.
168 New variable, `number_of_dollar_signs', to check there's exactly
169 one `$' in the parser skeleton.
170
95e36146
AD
1712000-10-02 Akim Demaille <akim@epita.fr>
172
173 * lib/xstrdup.c: New file, from the fileutils.
174 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
175 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
176 instead of strlen + xmalloc + strcpy.
177 * src/symtab.c (copys): Remove, use xstrdup instead.
178
d7020c20
AD
1792000-10-02 Akim Demaille <akim@epita.fr>
180
181 * src/gram.h (associativity): New enum type which replaces the
182 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
183 `right_assoc', `left_assoc' and `non_assoc'.
184 Adjust all dependencies.
185 * src/reader.c: Formatting changes.
186 (LTYPESTR): Don't define it, use it as a literal in
187 `reader_output_yylsp'.
188 * src/symtab.h (symbol_class): New enum type which replaces the
189 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
190 `sunknown', `stoken and `snterm'.
191
1916f98e
AD
1922000-10-02 Akim Demaille <akim@epita.fr>
193
194 * src/getargs.c (fixed_outfiles): Rename as...
195 (yaccflag): for consistency and accuracy.
196 Adjust dependencies.
197
d7913476
AD
1982000-10-02 Akim Demaille <akim@epita.fr>
199
200 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
201 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
202 difficult and introduced a lot of core dump. It turns out that
203 Bison used an implementation of `xmalloc' based on `calloc', and
204 at various places it does depend upon the initialization to 0. I
205 have not tried to isolate the pertinent places, and all the former
206 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
207 someone should address this issue.
208
209 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
210 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
211 files.
212 Adjust dependencies.
213 * src/warshall.h: New file.
214 Propagate.
215
340ef489
AD
2162000-10-02 Akim Demaille <akim@epita.fr>
217
218 Various anti-`extern in *.c' changes.
219
220 * src/system.h: Include `assert.h'.
221
b2ca4022
AD
2222000-10-02 Akim Demaille <akim@epita.fr>
223
224 * src/state.h (nstates, final_state, first_state, first_shift)
225 (first_reduction): Move their exportation from here...
226 * src/LR0.h: to here.
227 Adjust dependencies.
228 * src/getargs.c (statisticsflag): New variable.
229 Add support for `--statistics'.
230 Adjust dependencies.
231
232 Remove a lot of now useless `extern' statements in most files.
233
403b315b
AD
2342000-10-02 Akim Demaille <akim@epita.fr>
235
236 * src/LR0.h: New file.
237 Propagate its use.
238
07a58c13
AD
2392000-10-02 Akim Demaille <akim@epita.fr>
240
241 * src/print.h: New file.
242 Propagate its use.
243 * src/print.c: Formatting and ordering changes.
244 (verbose, terse): Replace with...
245 (print_results): this new function.
246 Adjust dependencies.
247
0619caf0
AD
2482000-10-02 Akim Demaille <akim@epita.fr>
249
250 * src/conflicts.c (conflict_report): New function.
251 (conflict_log, verbose_conflict_log): Replace with...
252 (print_conflicts): this function.
253 Adjust dependencies.
254 * src/conflicts.h: New file.
255 Propagate its inclusion.
256
3519ec76
AD
2572000-10-02 Akim Demaille <akim@epita.fr>
258
259 * src/nullable.h: New file.
260 Propagate its inclusion.
261 * src/nullable.c: Formatting changes.
262
015acc48
AD
2632000-10-02 Akim Demaille <akim@epita.fr>
264
265 * src/reduce.h: New file.
266 Propagate its inclusion.
267 * src/reduce.c: Topological sort and other formatting changes.
268 (bool, TRUE, FALSE): Move their definition to...
269 * src/system.h: here.
270
8963a27b
AD
2712000-10-02 Akim Demaille <akim@epita.fr>
272
273 * src/files.c: Formatting changes.
274 (tryopen, tryclose, openfiles): Rename as...
275 (xfopen, xfclose, open_files): this.
276 (stringappend): static.
277 * src/files.h: Complete the list of exported symbols.
278 Propagate its use.
279
a70083a3
AD
2802000-10-02 Akim Demaille <akim@epita.fr>
281
282 * src/reader.h: New file.
283 Propagate its use instead of tedious list of `extern' and
284 prototypes.
285 * src/reader.c: Formatting changes, topological sort,
286 s/register//.
287
abadc117
AD
2882000-10-02 Akim Demaille <akim@epita.fr>
289
290 * src/lex.h: Prototype `lex.c' exported functions.
291 * src/reader.c: Adjust.
292 * src/lex.c: Formatting changes.
293 (safegetc): Rename as...
294 (xgetc): this.
295
720d742f
AD
2962000-10-02 Akim Demaille <akim@epita.fr>
297
298 * src/lalr.h: New file.
299 Propagate its inclusion instead of prototypes and `extern'.
300 * src/lalr.c: Formatting changes, topological sorting etc.
301
f2acea59
AD
3022000-10-02 Akim Demaille <akim@epita.fr>
303
304 * src/output.c (token_actions): Introduce a temporary array,
305 YYDEFACT, that makes it possible for this function to use
306 output_short_table.
307
d019d655
AD
3082000-10-02 Akim Demaille <akim@epita.fr>
309
310 `user_toknums' is output as a `short[]' in `output.c', while it is
311 defined as a `int[]' in `reader.c'. For consistency with the
312 other output tables, `user_toknums' is now defined as a table of
313 shorts.
314
315 * src/reader.c (user_toknums): Be a short table instead of an int
316 table.
317 Adjust dependencies.
318
319 Factor the short table outputs.
320
321 * src/output.c (output_short_table): New function.
322 * src/output.c (output_gram, output_stos, output_rule_data)
323 (output_base, output_table, output_check): Use it.
324
6c89f1c1
AD
3252000-10-02 Akim Demaille <akim@epita.fr>
326
327 * src/output.c (output): Topological sort of the functions, in
328 order to get rid of the `static' prototypes.
329 No longer use `register'.
330 * src/output.h: New file.
331 Propagate its inclusion in files explicitly prototyping functions
332 from output.c.
333
d9efd181
AD
3342000-09-21 Akim Demaille <akim@epita.fr>
335
336 * src/atgeneral.m4: Update from Autoconf.
337
c29240e7 3382000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
339
340 * src/closure.h: New file.
341 * src/closure.c: Formatting changes, topological sort over the
342 functions, use of closure.h.
343 (initialize_closure, finalize_closure): Rename as...
344 (new_closure, free_closure): these. Adjust dependencies.
345 * src/LR0.c: Formatting changes, topological sort, use of
346 cloture.h.
347 (initialize_states): Rename as...
348 (new_states): this.
349 * src/Makefile.am (noinst_HEADERS): Adjust.
350
499daa50
AD
3512000-09-20 Akim Demaille <akim@epita.fr>
352
353 * src/acconfig.h: Don't protect config.h against multiple
354 inclusion.
355 Don't define PARAMS.
356 * src/system.h: Define PARAMS.
357 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
358 purpose of config.h. system.h must not try to fix wrong
359 definitions in config.h.
360
cc84fd5d
AD
3612000-09-20 Akim Demaille <akim@epita.fr>
362
363 * src/derives.h: New file.
364 * src/main.c, src/derives.h: Use it.
365 Formatting changes.
366 * src/Makefile.am (noinst_HEADERS): Adjust.
367
db5b3a89
AD
3682000-09-20 Akim Demaille <akim@epita.fr>
369
370 * tests/atgeneral.m4: Update from Autoconf.
371 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
372 (AT_CHECK_CALC): New macros.
373 Use these macros to test bison with options `', `--raw',
374 `--debug', `--yacc', `--yacc --debug'.
375
ceed8467
AD
3762000-09-19 Akim Demaille <akim@epita.fr>
377
378 * src/output.c: Formatting changes.
379 * src/machine.h: Remove, leaving its contents in...
380 * src/system.h: here.
381 Include stdio.h.
382 Adjust all dependencies on stdio.h and machine.h.
383 * src/getargs.h: New file.
384 Let all `extern' declarations about getargs.c be replaced with
385 inclusion of `getargs.h'.
386 * src/Makefile.am (noinst_HEADERS): Adjust.
387
388 * tests/calc.m4 (yyin): Be initialized in main, not on the global
389 scope.
390 (yyerror): Returns void, not int.
391 * doc/bison.texinfo: Formatting changes.
392
05a1d24b
AD
3932000-09-19 Akim Demaille <akim@epita.fr>
394
395 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
396 portable.
397
cbd25751
AD
3982000-09-18 Akim Demaille <akim@epita.fr>
399
400 * configure.in: Append WARNING_CFLAGS to CFLAGS.
401 * src/Makefile.am (INCLUDES): Don't.
402 Be ready to fetch headers in lib/.
403
13863333
AD
4042000-09-18 Akim Demaille <akim@epita.fr>
405
406 * doc/bison.texinfo: Update the copyright.
407 ANSIfy and GNUify the examples.
408 Remove the old menu.
409
0d533154
AD
4102000-09-18 Akim Demaille <akim@epita.fr>
411
412 First set of tests: use the `calc' example from the documentation.
413
414 * src/bison.s1 (yyparse): Condition the code using `yytname' which
415 is defined only when YYDEBUG is.
416 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
417 * src/files.c (tryopen, tryclose): Formatting changes.
418 Move to the top and be static.
419 * src/reader.c (read_signed_integer): Likewise.
420 * tests/calc.m4: New file.
421 * Makefile.am, suite.m4: Adjust.
422 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
423
e79137ac
AD
4242000-09-18 Akim Demaille <akim@epita.fr>
425
426 Add support for an Autotest test suite for Bison.
427
428 * m4/m4.m4, m4/atconfig.m4: New files.
429 * m4/Makefile.am (EXTRA_DIST): Adjust.
430 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
431 files.
432 * src/getargs.c: Display a more standard --version message.
433 * src/reader.c (reader): Formatting changes.
434 No longer depend upon VERSION_STRING.
435 * configure.in: No longer use `dnl'.
436 Set up the test suite and the new directory `tests/.
437 (VERSION_STRING): Remove.
438
27821bff
AD
4392000-04-14 Akim Demaille <akim@epita.fr>
440
441 * src/reader.c (copy_comment2): New function, same as former
442 `copy_comment', but outputs into two FILE *.
443 (copy_comment): Use it.
444 (parse_union_decl): Use it.
445 (get_type, parse_start_decl): Use the same `invalid' message.
446 (parse_start_decl, parse_union_decl): Use the same `multiple'
447 message.
448 (parse_union_decl, copy_guard, copy_action): Use the same
449 `unmatched' message.
450 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
451
cfe5fbc0
AD
4522000-03-31 Akim Demaille <akim@epita.fr>
453
454 * src/files.c (tryopen, tryclose): Move to the top.
455 Be static.
456
cb7db13e
AD
4572000-03-31 Akim Demaille <akim@epita.fr>
458
459 * src/main.c (main): Don't call `done', exit does it.
460
a0f6b076
AD
4612000-03-31 Akim Demaille <akim@epita.fr>
462
36281465
AD
463 * allocate.c: s/return (foo)/return foo/.
464 * lalr.c: Likewise.
465 * LR0.c: Likewise.
466 * output.c: Likewise.
467 * reader.c: Likewise.
468 * symtab.c: Likewise.
469 * vmsgetargs.c: Likewise.
470
4712000-03-31 Akim Demaille <akim@epita.fr>
472
473 Clean up the error reporting functions.
a0f6b076
AD
474
475 * src/report.c: New file.
476 * src/report.h: Likewise.
477 * src/Makefile.am: Adjust.
478 * m4/error.m4: New file.
479 * m4/Makefile.am: Adjust.
480 * configure.in (jm_PREREQ_ERROR): Call it.
481 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
482 Remove.
483 (fatal, fatals): Remove. All callers use complain.c::fatal.
484 (warn, warni, warns, warnss, warnss): Remove. All callers use
485 complain.c::complain.
486 (toomany): Remove, use fatal instead.
487 * src/files.c (done): No argument, use complain_message_count.
488 * src/main.c (main): Register `done' to `atexit'.
489
490 * src/getargs.c (usage): More `fputs', less `fprintf'.
491
18539825
AD
4922000-03-28 Akim Demaille <akim@epita.fr>
493
494 * lib/: New directory.
495 * Makefile.am (SUBDIRS): Adjust.
496 * configure.in: Adjust.
497 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
498 useless.
499 * src/alloca.c: Moved to lib/.
500 * src/getopt.c: Likewise.
501 * src/getopt1.c: Likewise.
502 * src/getopt.h: Likewise.
503 * src/ansi2knr.c: Likewise.
504 * src/ansi2knr.1: Likewise.
505 * src/Makefile.am: Adjust.
506 * lib/Makefile.am: New file.
507
9f306f2a
AD
5082000-03-28 Akim Demaille <akim@epita.fr>
509
510 * src/getargs.c (usage): Refresh the help message.
511
0ba347b6
AD
5122000-03-17 Akim Demaille <akim@epita.fr>
513
514 * src/getopt1.c: Updated from textutils 2.0e
515 * src/getopt.c: Likewise.
516 * src/getopt.h: Likewise.
517
dbe7f271
AD
5182000-03-17 Akim Demaille <akim@epita.fr>
519
520 * src/Makefile.am (bison.simple): Fix the awk program: quote only
521 the file name, not the whole `#line LINE FILE'.
522
75bbe78d
AD
5232000-03-17 Akim Demaille <akim@epita.fr>
524
525 On syntax errors, report the token on which we choked.
526
aa5fd0ee
AD
527 * src/bison.s1 (yyparse): In the label yyerrlab, when
528 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 529
7b306f52
AD
5302000-03-17 Akim Demaille <akim@epita.fr>
531
aa5fd0ee 532 * src/reader.c (copy_at): New function.
7b306f52
AD
533 (copy_guard): Use it.
534 (copy_action): Use it.
535
e87b5700
AD
5362000-03-17 Akim Demaille <akim@epita.fr>
537
538 Be kind to translators, save some useless translations.
539
aa5fd0ee 540 * src/main.c (banner): New function.
e87b5700
AD
541 (fatal_banner): Use it.
542 (warn_banner): Use it.
543
ae3c3164
AD
5442000-03-17 Akim Demaille <akim@epita.fr>
545
aa5fd0ee
AD
546 * src/reader.c (copy_definition): Use copy_string and
547 copy_comment. Removed now unused `match', `ended',
548 `cplus_comment'.
ae3c3164
AD
549 (copy_comment, copy_string): Moved, to be visible from
550 copy_definition.
551
4dc58e7c
AD
5522000-03-17 Akim Demaille <akim@epita.fr>
553
aa5fd0ee
AD
554 * src/reader.c (copy_string): Declare `static inline'. No
555 problems with inline, since it is checked by configure.
4dc58e7c
AD
556 (copy_comment): Likewise.
557
0a6384c4
AD
5582000-03-17 Akim Demaille <akim@epita.fr>
559
aa5fd0ee 560 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 561
3cef001a
AD
5622000-03-17 Akim Demaille <akim@epita.fr>
563
aa5fd0ee 564 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
565 (copy_action): Use it. Removed now unused `match', `ended',
566 `cplus_comment'.
567 (copy_guard): Likewise.
568
ca36d2ef
AD
5692000-03-17 Akim Demaille <akim@epita.fr>
570
aa5fd0ee 571 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
572 (copy_action): Use it.
573 (copy_guard): Likewise.
574
6666f98f
AD
5752000-03-17 Akim Demaille <akim@epita.fr>
576
577 Change the handling of @s so that they behave exactly like $s.
578 There is now a pseudo variable @$ (readble and writable), location
579 of the lhs of the rule (by default ranging from the location of
580 the first symbol of the rhs, to the location of the last symbol,
581 or, if the rhs is empty, YYLLOC).
582
583 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
584 yyval.
585 (yyparse): When providing a default semantic action, provide a
586 default location action.
587 (after the $): No longer change `*YYLSP', just stack YYLOC the
588 same way you stack YYVAL.
589 * src/reader.c (read_declarations): Use warns.
590 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
591 (copy_action, case '@'): Likewise.
592 Use a standard error message, to save useless work from
593 translators.
594
41aca2e0
AD
5952000-03-17 Akim Demaille <akim@epita.fr>
596
aa5fd0ee
AD
597 * src/bison.s1: Formatting and cosmetics changes.
598 * src/reader.c: Likewise.
41aca2e0
AD
599 Update the Copyright notice.
600
dc08c1d5
AD
6012000-03-17 Akim Demaille <akim@epita.fr>
602
aa5fd0ee
AD
603 * src/bison.s1 (#line): All set to `#line' only, since the
604 Makefile now handles them.
dc08c1d5 605
9ee3c97b
AD
6062000-03-16 Akim Demaille <akim@epita.fr>
607
608 * src/output.c (output_rule_data): Output the documentation of
609 some of the tables.
610 (Copyright notice): Update.
611 Formatting changes.
612
0de741ca
AD
6132000-03-16 Akim Demaille <akim@epita.fr>
614
615 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
616 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
617 One `#if YYDEBUG' remains, since it uses variables which are
618 defined only if `YYDEBUG != 0'.
619
bb10be54
AD
6202000-03-16 Akim Demaille <akim@epita.fr>
621
622 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
623 and related variables so that the similarities are highlighted.
624
b07b484a
AD
6252000-03-16 Akim Demaille <akim@epita.fr>
626
627 * src/bison.s1: Properly indent CPP directives.
628
361f60b3
AD
6292000-03-16 Akim Demaille <akim@epita.fr>
630
631 * src/bison.s1: Properly indent the `alloca' CPP section.
632
8c44d3ec
AD
6332000-03-16 Akim Demaille <akim@epita.fr>
634
635 Do not hard code values of directories in `configure.in'.
636 Update the `configure' tool chain.
637
638 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
639 src/makefile.am.
640 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
641 (AC_OUTPUT): Add m4/Makefile.
642 Bump to bison 1.28a, 1.29 has never been released.
643 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
644 handled via src/Makefile.am.
645 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
646 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
647 autoheader.
648 * Makefile.am (SUBDIRS): Add m4.
649 (ACLOCAL_AM_FLAGS): New variable.
650 (AUTOMAKE_OPTIONS): Add check-news.
651 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
652 the proper line number and file name.
653 (DEFS): Propagate the location of bison library files and of the
654 locale files.
655 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
656 builddir.
657 * acinclude.m4: Remove, replaced by the directory m4.
658 * m4/Makefile.am (EXTRA_DIST): New variable.
659 * m4/gettext.m4: New file, from the fileutils.
660 * m4/lcmessage.m4: Likewise
661 * m4/progtest.m4: Likewise.
662 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
663
f95997e7
AD
6642000-03-10 Akim Demaille <akim@epita.fr>
665
666 * src/closure.c:
667 Formatting changes of various comments.
668 Respect the GNU coding standards at various places.
669 Don't use `_()' when no translation is needed.
670
6711999-12-13 Jesse Thilo <jthilo@gnu.org>
672
673 * src/files.c:
674 OS/2 honors TMPDIR environment variable.
675
6761999-12-13 Jesse Thilo <jthilo@gnu.org>
677
678 * doc/bison.texinfo: Tweaked spelling and grammar.
679 Updated ISBN.
680 Removed reference to price of printed copy.
681 Mention BISON_SIMPLE and BISON_HAIRY.
682
6831999-12-13 Jesse Thilo <jthilo@gnu.org>
684
685 * configure.in, NEWS:
686 Bison 1.29 released.
687
6881999-10-27 Jesse Thilo <jthilo@gnu.org>
689
690 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
691 Added reference card.
692
6931999-07-26 Jesse Thilo <jthilo@gnu.org>
694
695 * po/ru.po: Added Russian translation.
696
6971999-07-26 Jesse Thilo <jthilo@gnu.org>
698
699 * configure.in: Added Russian translation.
700
7011999-07-06 Jesse Thilo <jthilo@gnu.org>
702
703 * configure.in, NEWS, README:
704 Released version 1.28.
705
7061999-06-14 Jesse Thilo <jthilo@gnu.org>
707
708 * src/system.h:
709 Squashed redefinition warning on some systems.
710
711 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
712 Have configure build version string instead of relying on ANSI string
713 concatentation.
714
7151999-06-14 Jesse Thilo <jthilo@gnu.org>
716
717 * po/POTFILES.in: Got rid of version.c.
718
7191999-06-14 Jesse Thilo <jthilo@gnu.org>
720
721 * acconfig.h, configure.in:
722 Have configure build version string instead of relying on ANSI string
723 concatentation.
724
7251999-06-08 Jesse Thilo <jthilo@gnu.org>
726
727 * doc/bison.1:
728 Dropped mention of `+' for long-named options.
729
7301999-05-30 Jesse Thilo <jthilo@gnu.org>
731
732 * src/files.c: Added <unistd.h> for unlink().
733
734 * src/Makefile.am, src/system.h:
735 I18n fixes.
736
7371999-05-30 Jesse Thilo <jthilo@gnu.org>
738
739 * README: Added a FAQ list.
740
741 * configure.in, acconfig.h:
742 I18n fixes.
743
7441999-05-30 Jesse Thilo <jthilo@gnu.org>
745
746 * doc/FAQ, doc/Makefile.am:
747 Added a FAQ list.
748
7491999-05-19 Jesse Thilo <jthilo@gnu.org>
750
751 * src/alloc.h, src/symtab.h, src/version.c:
752 Protected inclusion of "config.h" with HAVE_CONFIG_H.
753
7541999-04-18 Jesse Thilo <jthilo@gnu.org>
755
756 * src/.cvsignore, src/Makefile.am:
757 Reorganized: sources in `src', documentation in `doc'.
758
759 * src/lex.c (literalchar):
760 fixed the code for escaping double quotes (thanks
761 Jonathan Czisny.)
762
7631999-04-18 Jesse Thilo <jthilo@gnu.org>
764
765 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
766 Adjusted paths to reflect directory reorganization.
767
7681999-04-18 Jesse Thilo <jthilo@gnu.org>
769
770 * doc/.cvsignore, doc/Makefile.am:
771 Reorganized: sources in `src', documentation in `doc'.
772
7731999-04-18 Jesse Thilo <jthilo@gnu.org>
774
775 * configure.in:
776 Updated AC_INIT file to reflect directory reorganization.
777
778 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
779 Reorganized: sources in `src', documentation in `doc'.
780
7811999-04-13 Jesse Thilo <jthilo@gnu.org>
782
783 * src/allocate.c:
784 Don't declare calloc() and realloc() if not necessary.
785
7861999-04-13 Jesse Thilo <jthilo@gnu.org>
787
788 * configure.in, acconfig.h, acinclude.m4:
789 Don't declare calloc() and realloc() if not necessary.
790
7911999-03-23 Jesse Thilo <jthilo@gnu.org>
792
793 * po/.cvsignore: Added i18n support.
794
7951999-03-23 Jesse Thilo <jthilo@gnu.org>
796
797 * acconfig.h, configure.in, Makefile.am:
798 Added i18n support.
799
8001999-03-22 Jesse Thilo <jthilo@gnu.org>
801
802 * src/bison.s1: Fixed #line numbers.
803
8041999-03-15 Jesse Thilo <jthilo@gnu.org>
805
806 * po/es.po, po/fr.po, po/nl.po, po/de.po:
807 Added PO files from Translation Project.
808
8091999-03-03 Jesse Thilo <jthilo@gnu.org>
810
811 * Makefile.am:
812 Added support for non-ANSI compilers (ansi2knr).
813
8141999-02-16 Jesse Thilo <jthilo@gnu.org>
815
816 * configure.in: Bumped version number to 1.27.
817
818 * Makefile.am:
819 Added `bison.simple' to list of files removed by `make distclean'.
820
8211999-02-12 Jesse Thilo <jthilo@gnu.org>
822
823 * src/files.c, src/files.h:
824 Defined locations of parser files in config.h instead of Makefile.
825
8261999-02-12 Jesse Thilo <jthilo@gnu.org>
827
828 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
829 Defined locations of parser files in config.h instead of Makefile.
830
8311999-02-09 Jesse Thilo <jthilo@gnu.org>
832
833 * Makefile.am:
834 Removed inappropriate use of $< macro.
835
8361999-02-05 Jesse Thilo <jthilo@gnu.org>
837
838 * po/Makefile.in.in, po/POTFILES.in:
839 Add `po' directory skeleton.
840
8411999-01-27 Jesse Thilo <jthilo@gnu.org>
842
843 * README: Document help-bison list.
844
845 * configure.in: Add check for mkstemp().
846
8471999-01-20 Jesse Thilo <jthilo@gnu.org>
848
849 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
850 Hush a few compiler warnings.
851
852 * src/files.c:
853 Add tryclose(), which verifies that fclose was successful.
854 Hush a couple of compiler warnings.
855
8561999-01-20 Jesse Thilo <jthilo@gnu.org>
857
858 * Makefile.am, OChangeLog:
859 ChangeLog is now automatically generated. Include the old version as
860 OChangeLog.
861
8621999-01-14 Jesse Thilo <jthilo@gnu.org>
863
864 * 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:
865 Update FSF address.
866
8671999-01-14 Jesse Thilo <jthilo@gnu.org>
868
869 * doc/bison.texinfo: Fix formatting glitch.
870
871 * doc/bison.texinfo: Update FSF address.
872
8731999-01-14 Jesse Thilo <jthilo@gnu.org>
874
875 * acconfig.h: Update FSF address.
876
8771999-01-08 Jesse Thilo <jthilo@gnu.org>
878
879 * src/system.h:
880 Don't define PACKAGE here, since config.h defines it.
881
8821998-12-30 Jesse Thilo <jthilo@gnu.org>
883
884 * src/reader.c: Update copyright date.
885
886 * src/main.c:
887 Ditch sprintf to statically-sized buffers in fatal/warn functions in
888 favor of output directly to stderr (avoids buffer overruns).
889
890 * src/reader.c: Some checks for premature EOF.
891
892 * 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:
893 Use prototypes if the compiler understands them.
894
895 * src/files.c: Honor TMPDIR on Unix hosts.
896 Use prototypes if the compiler understands them.
897
898 * src/reader.c:
899 Fix a couple of buffer overrun bugs.
900 Use prototypes if the compiler understands them.
901
902 * src/system.h: Include unistd.h and ctype.h.
903 Use #ifdef instead of #if for NLS symbols.
904
9051998-12-30 Jesse Thilo <jthilo@gnu.org>
906
907 * doc/bison.texinfo:
908 Delete comment "consider using @set for edition number, etc..." since
909 we now are doing so.
910
9111998-12-30 Jesse Thilo <jthilo@gnu.org>
912
913 * configure.in:
914 Use prototypes if the compiler understands them.
915
916 * NEWS: Document 1.26 highlights.
917
918 * Makefile.am: Require Automake 1.3 or later.
919
920 * acconfig.h:
921 Use prototypes if the compiler understands them.
922
9231998-12-29 Jesse Thilo <jthilo@gnu.org>
924
925 * src/version.c:
926 Use VERSION symbol from automake for version number.
927
9281998-12-29 Jesse Thilo <jthilo@gnu.org>
929
930 * acconfig.h, configure.in, version.cin:
931 Use VERSION symbol from automake for version number.
932
9331998-11-28 Jesse Thilo <jthilo@gnu.org>
934
935 * Makefile.am:
936 Distribute original version of simple parser (bison.s1), not built
937 version (bison.simple).
938
9391998-11-28 Jesse Thilo <jthilo@gnu.org>
940
941 * doc/bison.texinfo: Add info dir entry.
942
943 * doc/bison.texinfo:
944 Let automake put version number into documentation.
945
9461998-11-26 Jesse Thilo <jthilo@gnu.org>
947
948 * src/bison.cld, src/build.com, src/vmshlp.mar:
949 Add non-RCS files from /gd/gnu/bison.
950
9511998-11-26 Jesse Thilo <jthilo@gnu.org>
952
953 * doc/bison.1:
954 Document the BISON_HAIRY and BISON_SIMPLE variables.
955
9561998-11-25 Jesse Thilo <jthilo@gnu.org>
957
958 * src/version.c: Build version.c automatically.
959
960 * src/reader.c:
961 Fix token numbering (used to start at 258, not 257).
962
963 * src/system.h: Include config.h.
964
965 * src/getargs.c: Update bug report address.
966
967 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
968 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
969
9701998-11-25 Jesse Thilo <jthilo@gnu.org>
971
972 * Makefile.am:
973 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
974
975 * configure.in, version.cin:
976 Build version.c automatically.
977
978 * AUTHORS: Add AUTHORS file.
979
980 * README: Update bug report address.
981
982 * bison.simple:
983 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
984
985 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
986 Add automake stuff.
987
9881998-11-25 Jesse Thilo <jthilo@gnu.org>
989
990 * doc/bison.texinfo: Clean up some formatting.
991
9921998-05-05 Richard Stallman <rms@gnu.org>
993
994 * doc/bison.texinfo:
995 Explain better why to make a pure parser.
996
9971998-01-05 Richard Stallman <rms@gnu.org>
998
999 * src/files.c (openfiles):
1000 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1001 find a temporary directory, if possible. Do not unlink files while
1002 they are open.
1003
10041997-08-25 Richard Stallman <rms@gnu.org>
1005
1006 * src/reader.c (stack_offset;):
1007 Change some warni to warns.
1008
1009 * src/lex.c (literalchar): Use warns, not warni.
1010
10111997-06-28 Richard Stallman <rms@gnu.org>
1012
1013 * src/bison.s1: Add a Bison version comment.
1014
1015 * src/main.c (fatal, warn, berror):
1016 Use program_name.
1017
10181997-06-28 Richard Stallman <rms@gnu.org>
1019
1020 * Makefile.in (bison_version): New variable.
1021 (dist): Use that variable.
1022 (bison.s1): Substitute the Bison version into bison.simple.
1023
1024 * bison.simple: Add a Bison version comment.
1025
10261997-06-18 Richard Stallman <rms@gnu.org>
1027
1028 * src/main.c (fatal, warn, berror):
1029 Make error messages standard.
1030 (toomany): Improve error message text.
1031
1032 * 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:
1033 new.h renamed to alloc.h.
1034
10351997-06-18 Richard Stallman <rms@gnu.org>
1036
1037 * Makefile.in: new.h renamed to alloc.h.
1038
10391997-05-24 Richard Stallman <rms@gnu.org>
1040
1041 * src/lex.c (literalchar):
1042 Fix the code for escaping \, " and '.
1043
1044 (lex): Avoid trouble when there are many chars
1045 to discard in a char literal with just several chars in it.
1046
10471997-05-17 Richard Stallman <rms@gnu.org>
1048
1049 * src/bison.s1:
1050 Use malloc, if using alloca is troublesome.
1051 (YYSTACK_USE_ALLOCA): New flag macro.
1052 Define it for some systems and compilers.
1053 (YYSTACK_ALLOC): New macro.
1054 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1055 If it was malloc'd, free it.
1056
10571997-05-17 Richard Stallman <rms@gnu.org>
1058
1059 * bison.simple:
1060 Use malloc, if using alloca is troublesome.
1061 (YYSTACK_USE_ALLOCA): New flag macro.
1062 Define it for some systems and compilers.
1063 (YYSTACK_ALLOC): New macro.
1064 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1065 If it was malloc'd, free it.
1066
10671997-04-23 Richard Stallman <rms@gnu.org>
1068
1069 * src/bison.s1:
1070 (alloca) [__hpux]: Always define as __builtin_alloca.
1071
10721997-04-23 Richard Stallman <rms@gnu.org>
1073
1074 * bison.simple:
1075 (alloca) [__hpux]: Always define as __builtin_alloca.
1076
10771997-04-22 Richard Stallman <rms@gnu.org>
1078
1079 * src/bison.s1:
1080 [__hpux]: Include alloca.h (right for HPUX 10)
1081 instead of declaring alloca (right for HPUX 9).
1082
1083 * src/bison.s1 (__yy_memcpy):
1084 Declare arg `count' as unsigned int.
1085 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1086
10871997-04-22 Richard Stallman <rms@gnu.org>
1088
1089 * bison.simple:
1090 [__hpux]: Include alloca.h (right for HPUX 10)
1091 instead of declaring alloca (right for HPUX 9).
1092
1093 * bison.simple (__yy_memcpy):
1094 Declare arg `count' as unsigned int.
1095 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1096
10971997-01-03 Richard Stallman <rms@gnu.org>
1098
1099 * src/allocate.c: [__STDC__ or _MSC_VER]:
1100 Declare calloc and realloc to return void *.
1101
11021997-01-02 Richard Stallman <rms@gnu.org>
1103
1104 * src/system.h:
1105 [_MSC_VER]: Include stdlib.h and process.h.
1106 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1107
1108 * src/main.c (main): Return FAILURE as a value.
1109 (printable_version): Declare arg as int, not char.
1110
11111997-01-02 Richard Stallman <rms@gnu.org>
1112
1113 * Makefile.in (dist):
1114 Explicitly check for symlinks, and copy them.
1115
11161996-12-19 Richard Stallman <rms@gnu.org>
1117
1118 * src/files.c:
1119 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1120
11211996-12-18 Paul Eggert <eggert@gnu.org>
1122
1123 * src/bison.s1 (yyparse):
1124 If __GNUC__ and YYPARSE_PARAM are both defined,
1125 declare yyparse to have a void * argument.
1126
11271996-12-18 Paul Eggert <eggert@gnu.org>
1128
1129 * bison.simple (yyparse):
1130 If __GNUC__ and YYPARSE_PARAM are both defined,
1131 declare yyparse to have a void * argument.
1132
11331996-12-17 Richard Stallman <rms@gnu.org>
1134
1135 * src/reduce.c (nbits): Add some casts.
1136
11371996-08-12 Richard Stallman <rms@gnu.org>
1138
1139 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1140
11411996-08-12 Richard Stallman <rms@gnu.org>
1142
1143 * bison.simple: Test _MSDOS as well as _MSDOS_.
1144
11451996-07-31 Richard Stallman <rms@gnu.org>
1146
1147 * src/bison.s1:
1148 [__sun && __i386]: Include alloca.h.
1149
11501996-07-31 Richard Stallman <rms@gnu.org>
1151
1152 * bison.simple:
1153 [__sun && __i386]: Include alloca.h.
1154
11551996-07-30 Richard Stallman <rms@gnu.org>
1156
1157 * src/bison.s1: Comment change.
1158
1159 * src/bison.s1: Test _MSDOS_, not MSDOS.
1160
11611996-07-30 Richard Stallman <rms@gnu.org>
1162
1163 * bison.simple: Comment change.
1164
1165 * bison.simple: Test _MSDOS_, not MSDOS.
1166
11671996-06-01 Richard Stallman <rms@gnu.org>
1168
1169 * 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:
1170 Insert `_' macro around many string constants.
1171
1172 * src/main.c:
1173 Insert `_' macro around many string constants.
1174
1175 (main): Call setlocale, bindtextdomain and textdomain.
1176
1177 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1178 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1179 [ENABLE_NLS]: Include libintl.h.
1180 [ENABLE_NLS] (gettext): Define.
1181 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1182 (N_, PACKAGE, LOCALEDIR): New macros.
1183
11841996-06-01 Richard Stallman <rms@gnu.org>
1185
1186 * POTFILES.in: New file.
1187
1188 * Makefile.in (allocate.o):
1189 Define target explicitly.
1190
1191 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1192 (LDFLAGS): Set to @LDFLAGS@.
1193 (configure): Run autoconf only if preceding `cd' succeeds.
1194 (bison.s1): Redirect output to temporary file then move the
1195 temporary to the target, rather than redirecting directly to bison.s1.
1196 (clean): Remove config.status and config.log.
1197 (distclean): Don't remove config.status here.
1198
11991996-05-12 Richard Stallman <rms@gnu.org>
1200
1201 * src/bison.s1:
1202 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1203
12041996-05-12 Richard Stallman <rms@gnu.org>
1205
1206 * bison.simple:
1207 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1208
12091996-05-11 Richard Stallman <rms@gnu.org>
1210
1211 * src/bison.s1 (__yy_memcpy):
1212 Really reorder the args, as was supposedly done on Feb 14 1995.
1213 (yyparse): Calls changed accordingly.
1214
12151996-05-11 Richard Stallman <rms@gnu.org>
1216
1217 * Makefile.in (dist): Don't use $(srcdir).
1218
1219 * bison.simple (__yy_memcpy):
1220 Really reorder the args, as was supposedly done on Feb 14 1995.
1221 (yyparse): Calls changed accordingly.
1222
12231996-01-27 Richard Stallman <rms@gnu.org>
1224
1225 * src/output.c (output_rule_data):
1226 Test YYERROR_VERBOSE in the conditional
1227 around the definition of ttyname.
1228
12291995-12-29 Richard Stallman <rms@gnu.org>
1230
1231 * src/bison.s1:
1232 Fix line numbers in #line commands.
1233
12341995-12-29 Richard Stallman <rms@gnu.org>
1235
1236 * bison.simple:
1237 Fix line numbers in #line commands.
1238
12391995-12-27 Richard Stallman <rms@gnu.org>
1240
1241 * src/bison.s1 (YYPARSE_PARAM_DECL):
1242 In C++, make it always null.
1243 (YYPARSE_PARAM_ARG): New macro.
1244 (yyparse): Use YYPARSE_PARAM_ARG.
1245
12461995-12-27 Richard Stallman <rms@gnu.org>
1247
1248 * bison.simple (YYPARSE_PARAM_DECL):
1249 In C++, make it always null.
1250 (YYPARSE_PARAM_ARG): New macro.
1251 (yyparse): Use YYPARSE_PARAM_ARG.
1252
12531995-11-29 Richard Stallman <rms@gnu.org>
1254
1255 * doc/bison.texinfo:
1256 Describe literal string tokens, %raw, %no_lines, %token_table.
1257
12581995-11-29 Daniel Hagerty <hag@gnu.org>
1259
1260 * doc/bison.texinfo: Fixed update date
1261
12621995-10-16 Richard Stallman <rms@gnu.org>
1263
1264 * src/version.c: Version 1.25.
1265
12661995-10-16 Richard Stallman <rms@gnu.org>
1267
1268 * NEWS: *** empty log message ***
1269
12701995-10-16 Richard Stallman <rms@gnu.org>
1271
1272 * doc/bison.1, doc/bison.rnh:
1273 Add new options.
1274
12751995-10-15 Richard Stallman <rms@gnu.org>
1276
1277 * src/vmsgetargs.c, src/getargs.c:
1278 Added -n, -k, and -raw switches.
1279 (noparserflag, toknumflag, rawtoknumflag): New variables.
1280
1281 * src/symtab.h (SALIAS):
1282 New #define for adding aliases to %token.
1283 (struct bucket): Added `alias' field.
1284
1285 * src/reduce.c (reduce_grammar):
1286 Revise error message.
1287 (print_notices): Remove final `.' from error message.
1288
1289 * src/reader.c (reader_output_yylsp):
1290 New function.
1291 (readgram): Use `#if 0' around code that accepted %command
1292 inside grammar rules: The documentation doesn't allow it,
1293 and it will fail since the %command processors scan for the next %.
1294 (parse_token_decl): Extended the %token
1295 declaration to allow a multi-character symbol as an alias.
1296 (parse_thong_decl): New function.
1297 (read_declarations): Added %thong declarations.
1298 (read_declarations): Handle NOOP to deal with allowing
1299 % declarations as another means to specify the flags.
1300 (readgram): Allow %prec prior to semantics embedded in a rule.
1301 (skip_to_char, read_declarations, copy_definition)
1302 (parse_token_decl, parse_start_decl, parse_type_decl)
1303 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1304 (get_type_name, copy_guard, copy_action, readgram)
1305 (get_type, packsymbols): Revised most error messages.
1306 Changed `fatal' to `warnxxx' to avoid aborting for error.
1307 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1308 (read_declarations): Improve the error message for
1309 an invalid character. Do not abort.
1310 (read_declarations, copy_guard, copy_action): Use
1311 printable_version to avoid unprintable characters in printed output.
1312 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1313 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1314 Allow the type of a non-terminal can be given
1315 more than once, as long as all specifications give the same type.
1316
1317 * src/output.c:
1318 (output_headers, output_trailers, output, output_gram)
1319 (output_rule_data): Implement noparserflag variable.
1320 Implement toknumflag variable.
1321 (output): Call reader_output_yylsp to output LTYPESTR.
1322
1323 * src/main.c (main):
1324 If reader sees an error, don't process the grammar.
1325 (fatals): Updated to not use VARARGS1.
1326 (printable_version, int_to_string, warn, warni, warns, warnss)
1327 (warnsss): New error reporting functions. Avoid abort for error.
1328
1329 * src/lex.h:
1330 Added THONG and NOOP for alias processing.
1331 Added SETOPT for the new code that allows setting options with %flags.
1332
1333 * src/lex.c:
1334 Include getopt.h. Add some extern decls.
1335 (safegetc): New function to deal with EOF gracefully.
1336 (literalchar); new function to deal with reading \ escapes.
1337 (lex): Use literalchar.
1338 (lex): Implemented "..." tokens.
1339 (literalchar, lex, parse_percent_token): Made tokenbuffer
1340 always contain the token. This includes growing the token
1341 buffer while reading an integer.
1342 (parse_percent_token): Replaced if-else statement with percent_table.
1343 (parse_percent_token): Added % declarations as another
1344 way to specify the flags -n, -l, and -r. Also added hooks for
1345 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1346 major changes to files.c.
1347 (lex) Retain in the incoming stream a character following
1348 an incorrect '/'.
1349 (skip_white_space, lex): Revised most error messages
1350 and changed fatal to warn to avoid aborting.
1351 (percent_table): Added %thong declarations.
1352
1353 * src/gram.h: Comment changes.
1354
1355 * src/files.c (openfiles, open_extra_files, done):
1356 Add faction flag
1357 and actfile file. Handle noparserflag. Both for -n switch.
1358
1359 * src/conflicts.c (resolve_sr_conflict):
1360 Remove use of alloca.
1361
13621995-06-01 Jim Meyering <meyering@gnu.org>
1363
1364 * doc/bison.texinfo: *** empty log message ***
1365
13661995-05-06 Richard Stallman <rms@gnu.org>
1367
1368 * src/bison.s1: Comment change.
1369
13701995-05-06 Richard Stallman <rms@gnu.org>
1371
1372 * bison.simple: Comment change.
1373
13741995-05-03 Richard Stallman <rms@gnu.org>
1375
1376 * src/version.c: Version now 1.24.
1377
1378 * src/bison.s1: Change distribution terms.
1379
1380 * src/version.c: Version now 1.23.
1381
13821995-05-03 Richard Stallman <rms@gnu.org>
1383
1384 * doc/bison.texinfo:
1385 Rewrite "Conditions for Using Bison".
1386 Update version to 1.24.
1387
13881995-05-03 Richard Stallman <rms@gnu.org>
1389
1390 * bison.simple: Change distribution terms.
1391
13921995-02-23 Richard Stallman <rms@gnu.org>
1393
1394 * src/files.c: Test __VMS_POSIX as well as VMS.
1395
13961995-02-14 Jim Meyering <meyering@gnu.org>
1397
1398 * src/bison.s1 (__yy_memcpy):
1399 Renamed from __yy_bcopy to avoid
1400 confusion. Reverse FROM and TO arguments to be consistent with
1401 those of memcpy.
1402
14031995-02-14 Jim Meyering <meyering@gnu.org>
1404
1405 * bison.simple (__yy_memcpy):
1406 Renamed from __yy_bcopy to avoid
1407 confusion. Reverse FROM and TO arguments to be consistent with
1408 those of memcpy.
1409
14101994-11-10 David J. MacKenzie <djm@gnu.org>
1411
1412 * NEWS: reformat
1413
1414 * NEWS: New file.
1415
1416 * Makefile.in (DISTFILES): Include NEWS.
1417
1418 * Makefile.in (DISTFILES):
1419 Include install-sh, not install.sh.
1420
1421 * configure.in: Update to Autoconf v2 macro names.
1422
14231994-10-05 David J. MacKenzie <djm@gnu.org>
1424
1425 * Makefile.in: fix typo
1426
1427 * Makefile.in (prefix, exec_prefix):
1428 Let configure set them.
1429
14301994-09-28 David J. MacKenzie <djm@gnu.org>
1431
1432 * Makefile.in: Set datadir to $(prefix)/share.
1433
14341994-09-15 Richard Stallman <rms@gnu.org>
1435
1436 * src/bison.s1:
1437 Update copyright notice and GPL version.
1438
14391994-09-15 Richard Stallman <rms@gnu.org>
1440
1441 * bison.simple:
1442 Update copyright notice and GPL version.
1443
14441994-07-12 Richard Stallman <rms@gnu.org>
1445
1446 * src/reduce.c, src/reader.c:
1447 entered into RCS
1448
14491994-05-05 David J. MacKenzie <djm@gnu.org>
1450
1451 * Makefile.in: entered into RCS
1452
14531994-03-26 Richard Stallman <rms@gnu.org>
1454
1455 * src/bison.s1: entered into RCS
1456
14571994-03-26 Richard Stallman <rms@gnu.org>
1458
1459 * bison.simple: entered into RCS
1460
14611994-03-25 Richard Stallman <rms@gnu.org>
1462
1463 * src/main.c: entered into RCS
1464
14651994-03-24 Richard Stallman <rms@gnu.org>
1466
1467 * src/conflicts.c: entered into RCS
1468
14691994-01-02 Richard Stallman <rms@gnu.org>
1470
1471 * Makefile.in: *** empty log message ***
1472
14731993-11-21 Richard Stallman <rms@gnu.org>
1474
1475 * src/bison.s1: *** empty log message ***
1476
14771993-11-21 Richard Stallman <rms@gnu.org>
1478
1479 * doc/bison.texinfo: entered into RCS
1480
1481 * doc/bison.texinfo: *** empty log message ***
1482
14831993-11-21 Richard Stallman <rms@gnu.org>
1484
1485 * bison.simple: *** empty log message ***
1486
14871993-10-25 David J. MacKenzie <djm@gnu.org>
1488
1489 * doc/bison.texinfo: *** empty log message ***
1490
14911993-10-19 Richard Stallman <rms@gnu.org>
1492
1493 * src/bison.s1: *** empty log message ***
1494
14951993-10-19 Richard Stallman <rms@gnu.org>
1496
1497 * bison.simple: *** empty log message ***
1498
14991993-10-14 Richard Stallman <rms@gnu.org>
1500
1501 * src/bison.s1: *** empty log message ***
1502
15031993-10-14 Richard Stallman <rms@gnu.org>
1504
1505 * bison.simple: *** empty log message ***
1506
15071993-09-14 David J. MacKenzie <djm@gnu.org>
1508
1509 * doc/bison.texinfo: *** empty log message ***
1510
15111993-09-13 Noah Friedman <friedman@gnu.org>
1512
1513 * Makefile.in: *** empty log message ***
1514
15151993-09-10 Richard Stallman <rms@gnu.org>
1516
1517 * src/conflicts.c: *** empty log message ***
1518
1519 * src/system.h: entered into RCS
1520
15211993-09-10 Richard Stallman <rms@gnu.org>
1522
1523 * doc/bison.1: entered into RCS
1524
15251993-09-06 Noah Friedman <friedman@gnu.org>
1526
1527 * src/version.c: entered into RCS
1528
15291993-09-06 Noah Friedman <friedman@gnu.org>
1530
1531 * Makefile.in: *** empty log message ***
1532
15331993-07-30 David J. MacKenzie <djm@gnu.org>
1534
1535 * Makefile.in: *** empty log message ***
1536
15371993-07-24 Richard Stallman <rms@gnu.org>
1538
1539 * src/bison.s1: *** empty log message ***
1540
15411993-07-24 Richard Stallman <rms@gnu.org>
1542
1543 * bison.simple: *** empty log message ***
1544
15451993-07-08 David J. MacKenzie <djm@gnu.org>
1546
1547 * Makefile.in: *** empty log message ***
1548
15491993-07-04 Richard Stallman <rms@gnu.org>
1550
1551 * src/bison.s1: *** empty log message ***
1552
15531993-07-04 Richard Stallman <rms@gnu.org>
1554
1555 * bison.simple: *** empty log message ***
1556
15571993-06-26 David J. MacKenzie <djm@gnu.org>
1558
1559 * src/getargs.c: entered into RCS
1560
15611993-06-26 David J. MacKenzie <djm@gnu.org>
1562
1563 * doc/bison.texinfo: *** empty log message ***
1564
1565 * doc/bison.1: New file.
1566
15671993-06-25 Richard Stallman <rms@gnu.org>
1568
1569 * src/getargs.c: New file.
1570
15711993-06-16 Richard Stallman <rms@gnu.org>
1572
1573 * src/bison.s1: *** empty log message ***
1574
15751993-06-16 Richard Stallman <rms@gnu.org>
1576
1577 * bison.simple: *** empty log message ***
1578
15791993-06-03 Richard Stallman <rms@gnu.org>
1580
1581 * src/bison.s1: New file.
1582
15831993-06-03 Richard Stallman <rms@gnu.org>
1584
1585 * doc/bison.texinfo: *** empty log message ***
1586
15871993-06-03 Richard Stallman <rms@gnu.org>
1588
1589 * bison.simple: New file.
1590
15911993-05-19 Richard Stallman <rms@gnu.org>
1592
1593 * doc/bison.texinfo: New file.
1594
15951993-05-07 Noah Friedman <friedman@gnu.org>
1596
1597 * Makefile.in: *** empty log message ***
1598
15991993-04-28 Noah Friedman <friedman@gnu.org>
1600
1601 * src/reader.c: *** empty log message ***
1602
16031993-04-23 Noah Friedman <friedman@gnu.org>
1604
1605 * src/alloc.h: entered into RCS
1606
16071993-04-20 David J. MacKenzie <djm@gnu.org>
1608
1609 * src/version.c: *** empty log message ***
1610
1611 * src/files.c, src/allocate.c:
1612 entered into RCS
1613
1614 * src/reader.c: *** empty log message ***
1615
1616 * src/lex.c: entered into RCS
1617
1618 * src/conflicts.c: New file.
1619
1620 * src/symtab.c: entered into RCS
1621
1622 * src/alloc.h: New file.
1623
1624 * src/LR0.c: entered into RCS
1625
16261993-04-18 Noah Friedman <friedman@gnu.org>
1627
1628 * src/reader.c: New file.
1629
1630 * src/version.c: *** empty log message ***
1631
16321993-04-18 Noah Friedman <friedman@gnu.org>
1633
1634 * Makefile.in: *** empty log message ***
1635
16361993-04-17 Noah Friedman <friedman@gnu.org>
1637
1638 * Makefile.in: *** empty log message ***
1639
16401993-04-15 Richard Stallman <rms@gnu.org>
1641
1642 * src/main.c, src/files.c:
1643 New file.
1644
16451993-04-15 Noah Friedman <friedman@gnu.org>
1646
1647 * configure.in: entered into RCS
1648
1649 * configure.in: *** empty log message ***
1650
1651 * configure.in: New file.
1652
16531993-04-14 Richard Stallman <rms@gnu.org>
1654
1655 * Makefile.in: New file.
1656
16571993-04-13 Richard Stallman <rms@gnu.org>
1658
1659 * src/version.c: New file.
1660
16611993-03-25 Richard Stallman <rms@gnu.org>
1662
1663 * src/output.c: entered into RCS
1664
16651992-09-25 Richard Stallman <rms@gnu.org>
1666
1667 * configure.bat: entered into RCS
1668
16691992-06-22 Richard Stallman <rms@gnu.org>
1670
1671 * src/vmsgetargs.c: entered into RCS
1672
16731992-06-22 Richard Stallman <rms@gnu.org>
1674
1675 * doc/bison.rnh: entered into RCS
1676
16771992-04-20 David J. MacKenzie <djm@gnu.org>
1678
1679 * README: entered into RCS
1680
16811992-01-22 Richard Stallman <rms@gnu.org>
1682
1683 * src/machine.h: entered into RCS
1684
16851991-12-21 Richard Stallman <rms@gnu.org>
1686
1687 * src/lalr.c, src/closure.c:
1688 entered into RCS
1689
16901991-12-20 Richard Stallman <rms@gnu.org>
1691
1692 * src/state.h: entered into RCS
1693
16941991-12-18 Richard Stallman <rms@gnu.org>
1695
1696 * src/print.c, src/nullable.c, src/derives.c:
1697 entered into RCS
1698
16991991-11-03 David J. MacKenzie <djm@gnu.org>
1700
1701 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1702 entered into RCS
1703
17041988-09-09 Richard Stallman <rms@gnu.org>
1705
1706 * src/bison.hairy: entered into RCS
1707
17081987-12-16 Richard Stallman <rms@gnu.org>
1709
1710 * REFERENCES: entered into RCS