]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/lex.c (read_typename): New function.
[bison.git] / ChangeLog
CommitLineData
f282676b
AD
12000-10-16 Akim Demaille <akim@epita.fr>
2
3 * src/lex.c (read_typename): New function.
4 (lex): Use it.
5 * src/reader.c (copy_dollar): Likewise.
6
7
550a72a3
AD
82000-10-16 Akim Demaille <akim@epita.fr>
9
10 * src/reader.c (copy_comment2): Expect the input stream to be on
11 the `/' which is suspected to open a comment, instead of being
12 called after `//' or `/*' was read.
13 (copy_comment, copy_definition, parse_union_decl, copy_action)
14 (copy_guard): Adjust.
15
16
131e2fef
AD
172000-10-16 Akim Demaille <akim@epita.fr>
18
19 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
20 `read_signed_integer'.
21
22
79282c5a
AD
232000-10-16 Akim Demaille <akim@epita.fr>
24
25 * src/reader.c (copy_dollar): New function.
26 (copy_guard, copy_action): Use it.
27
28
ff4a34be
AD
292000-10-16 Akim Demaille <akim@epita.fr>
30
31 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
32 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
33 New files, from Fileutils 4.0.27.
34 * src/main.c (printable_version): Remove.
35 * src/lex.c, src/reader.c: Use `quote'.
36
372000-10-04 Akim Demaille <akim@epita.fr>
38
39 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
40
14ded682
AD
412000-10-04 Akim Demaille <akim@epita.fr>
42
43 * doc/bison.texinfo: Various typos spotted by Neil Booth.
44
8e03724b
AD
452000-10-04 Akim Demaille <akim@epita.fr>
46
47 When a literal string is used to define two different tokens,
48 `bison -v' segfaults.
49 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
50
51 * tests/regression.m4: New file.
52 Include the core of the sample provided by Piotr Gackiewicz.
53 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
54 properly.
55
a9e64249
AD
562000-10-04 Akim Demaille <akim@epita.fr>
57
58 * src/reader.c (parse_expect_decl): Keep `count' within the size
59 of `buffer'.
60 From Neil Booth.
61
da9abf43
AD
622000-10-02 Paul Eggert <eggert@twinsun.com>
63
64 * bison.s1 (yyparse): Assign the default value
65 unconditionally, to avoid a GCC warning and make the parser a
66 tad smaller.
67
c33638bb
AD
682000-10-02 Akim Demaille <akim@epita.fr>
69
70 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
71 options.
72
444c570a
AD
732000-10-02 Akim Demaille <akim@epita.fr>
74
75 * src/derives.c, src/print.c, src/reduce.c: To ease the
76 translation, move some `\n' out of the translated strings.
77
89cab50d
AD
782000-10-02 Akim Demaille <akim@epita.fr>
79
80 The location tracking mechanism is precious for parse error
81 messages. Nevertheless, it is enabled only when `@n' is used in
82 the grammar, which is a different issue (you can use it in error
83 message, but not in the grammar per se). Therefore, there should
84 be another means to enable it.
85
86 * src/getargs.c (getargs): Support `--locations'.
87 (usage): Report it.
88 * src/getargs.h (locationsflag): Export it.
89 * src/lex.c (percent_table): Support `%locations'.
90 * src/reader.c (yylsp_needed): Remove this variable, now replaced
91 with `locationsflag'.
92 * doc/bison.texinfo: Document `--locations' and `%locations'.
93 Sort the options.
94 * tests/calc.m4: Test it.
95
96 For regularity of the names, replace each
97 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
98 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
99 In addition replace each `flag' with `_flag'.
100
d6c2cba0
AD
1012000-10-02 Akim Demaille <akim@epita.fr>
102
103 Also test parse error messages, including with YYERROR_VERBOSE.
104
105 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
106 associative).
107 Use it to check the computations.
108 Use it to check `nonassoc' is honored.
109 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
110 `--yyerror-verbose'.
111 (_AT_CHECK_CALC): Adjust to this option.
112 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
113
5a35a6cb
AD
1142000-10-02 Akim Demaille <akim@epita.fr>
115
116 Test also `--verbose', `--defines' and `--name-prefix'. Testing
117 the latter demonstrates a flaw in the handling of non debugging
118 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
119 was used in order to simplify:
120
121 #if YYDEBUG
122 if (yydebug)
123 {
124 ...
125 }
126 #endif
127
128 into
129
130 if (yydebug)
131 {
132 ...
133 }
134
135 unfortunately this leads to a CPP conflict when
136 `--name-prefix=foo' is used since it produces `#define yydebug
137 foodebug'.
138
139 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
140 (YYDPRINTF): New macro.
141 Spread its use.
142 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
143 the bison options.
144 Also test `--verbose', `--defines' and `--name-prefix'.
145
71da9eea
AD
1462000-10-02 Akim Demaille <akim@epita.fr>
147
148 Improve the readability of the produced parsers.
149
150 * src/bison.s1: Formatting changes.
151 Improve the comment related to the `$' mark.
152 (yydefault): Don't fall through to `yyresume': `goto' there.
153 * src/output.c (output_parser): When the `$' is met, skip the end
154 of its line.
155 New variable, `number_of_dollar_signs', to check there's exactly
156 one `$' in the parser skeleton.
157
95e36146
AD
1582000-10-02 Akim Demaille <akim@epita.fr>
159
160 * lib/xstrdup.c: New file, from the fileutils.
161 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
162 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
163 instead of strlen + xmalloc + strcpy.
164 * src/symtab.c (copys): Remove, use xstrdup instead.
165
d7020c20
AD
1662000-10-02 Akim Demaille <akim@epita.fr>
167
168 * src/gram.h (associativity): New enum type which replaces the
169 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
170 `right_assoc', `left_assoc' and `non_assoc'.
171 Adjust all dependencies.
172 * src/reader.c: Formatting changes.
173 (LTYPESTR): Don't define it, use it as a literal in
174 `reader_output_yylsp'.
175 * src/symtab.h (symbol_class): New enum type which replaces the
176 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
177 `sunknown', `stoken and `snterm'.
178
1916f98e
AD
1792000-10-02 Akim Demaille <akim@epita.fr>
180
181 * src/getargs.c (fixed_outfiles): Rename as...
182 (yaccflag): for consistency and accuracy.
183 Adjust dependencies.
184
d7913476
AD
1852000-10-02 Akim Demaille <akim@epita.fr>
186
187 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
188 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
189 difficult and introduced a lot of core dump. It turns out that
190 Bison used an implementation of `xmalloc' based on `calloc', and
191 at various places it does depend upon the initialization to 0. I
192 have not tried to isolate the pertinent places, and all the former
193 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
194 someone should address this issue.
195
196 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
197 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
198 files.
199 Adjust dependencies.
200 * src/warshall.h: New file.
201 Propagate.
202
340ef489
AD
2032000-10-02 Akim Demaille <akim@epita.fr>
204
205 Various anti-`extern in *.c' changes.
206
207 * src/system.h: Include `assert.h'.
208
b2ca4022
AD
2092000-10-02 Akim Demaille <akim@epita.fr>
210
211 * src/state.h (nstates, final_state, first_state, first_shift)
212 (first_reduction): Move their exportation from here...
213 * src/LR0.h: to here.
214 Adjust dependencies.
215 * src/getargs.c (statisticsflag): New variable.
216 Add support for `--statistics'.
217 Adjust dependencies.
218
219 Remove a lot of now useless `extern' statements in most files.
220
403b315b
AD
2212000-10-02 Akim Demaille <akim@epita.fr>
222
223 * src/LR0.h: New file.
224 Propagate its use.
225
07a58c13
AD
2262000-10-02 Akim Demaille <akim@epita.fr>
227
228 * src/print.h: New file.
229 Propagate its use.
230 * src/print.c: Formatting and ordering changes.
231 (verbose, terse): Replace with...
232 (print_results): this new function.
233 Adjust dependencies.
234
0619caf0
AD
2352000-10-02 Akim Demaille <akim@epita.fr>
236
237 * src/conflicts.c (conflict_report): New function.
238 (conflict_log, verbose_conflict_log): Replace with...
239 (print_conflicts): this function.
240 Adjust dependencies.
241 * src/conflicts.h: New file.
242 Propagate its inclusion.
243
3519ec76
AD
2442000-10-02 Akim Demaille <akim@epita.fr>
245
246 * src/nullable.h: New file.
247 Propagate its inclusion.
248 * src/nullable.c: Formatting changes.
249
015acc48
AD
2502000-10-02 Akim Demaille <akim@epita.fr>
251
252 * src/reduce.h: New file.
253 Propagate its inclusion.
254 * src/reduce.c: Topological sort and other formatting changes.
255 (bool, TRUE, FALSE): Move their definition to...
256 * src/system.h: here.
257
8963a27b
AD
2582000-10-02 Akim Demaille <akim@epita.fr>
259
260 * src/files.c: Formatting changes.
261 (tryopen, tryclose, openfiles): Rename as...
262 (xfopen, xfclose, open_files): this.
263 (stringappend): static.
264 * src/files.h: Complete the list of exported symbols.
265 Propagate its use.
266
a70083a3
AD
2672000-10-02 Akim Demaille <akim@epita.fr>
268
269 * src/reader.h: New file.
270 Propagate its use instead of tedious list of `extern' and
271 prototypes.
272 * src/reader.c: Formatting changes, topological sort,
273 s/register//.
274
abadc117
AD
2752000-10-02 Akim Demaille <akim@epita.fr>
276
277 * src/lex.h: Prototype `lex.c' exported functions.
278 * src/reader.c: Adjust.
279 * src/lex.c: Formatting changes.
280 (safegetc): Rename as...
281 (xgetc): this.
282
720d742f
AD
2832000-10-02 Akim Demaille <akim@epita.fr>
284
285 * src/lalr.h: New file.
286 Propagate its inclusion instead of prototypes and `extern'.
287 * src/lalr.c: Formatting changes, topological sorting etc.
288
f2acea59
AD
2892000-10-02 Akim Demaille <akim@epita.fr>
290
291 * src/output.c (token_actions): Introduce a temporary array,
292 YYDEFACT, that makes it possible for this function to use
293 output_short_table.
294
d019d655
AD
2952000-10-02 Akim Demaille <akim@epita.fr>
296
297 `user_toknums' is output as a `short[]' in `output.c', while it is
298 defined as a `int[]' in `reader.c'. For consistency with the
299 other output tables, `user_toknums' is now defined as a table of
300 shorts.
301
302 * src/reader.c (user_toknums): Be a short table instead of an int
303 table.
304 Adjust dependencies.
305
306 Factor the short table outputs.
307
308 * src/output.c (output_short_table): New function.
309 * src/output.c (output_gram, output_stos, output_rule_data)
310 (output_base, output_table, output_check): Use it.
311
6c89f1c1
AD
3122000-10-02 Akim Demaille <akim@epita.fr>
313
314 * src/output.c (output): Topological sort of the functions, in
315 order to get rid of the `static' prototypes.
316 No longer use `register'.
317 * src/output.h: New file.
318 Propagate its inclusion in files explicitly prototyping functions
319 from output.c.
320
d9efd181
AD
3212000-09-21 Akim Demaille <akim@epita.fr>
322
323 * src/atgeneral.m4: Update from Autoconf.
324
c29240e7 3252000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
326
327 * src/closure.h: New file.
328 * src/closure.c: Formatting changes, topological sort over the
329 functions, use of closure.h.
330 (initialize_closure, finalize_closure): Rename as...
331 (new_closure, free_closure): these. Adjust dependencies.
332 * src/LR0.c: Formatting changes, topological sort, use of
333 cloture.h.
334 (initialize_states): Rename as...
335 (new_states): this.
336 * src/Makefile.am (noinst_HEADERS): Adjust.
337
499daa50
AD
3382000-09-20 Akim Demaille <akim@epita.fr>
339
340 * src/acconfig.h: Don't protect config.h against multiple
341 inclusion.
342 Don't define PARAMS.
343 * src/system.h: Define PARAMS.
344 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
345 purpose of config.h. system.h must not try to fix wrong
346 definitions in config.h.
347
cc84fd5d
AD
3482000-09-20 Akim Demaille <akim@epita.fr>
349
350 * src/derives.h: New file.
351 * src/main.c, src/derives.h: Use it.
352 Formatting changes.
353 * src/Makefile.am (noinst_HEADERS): Adjust.
354
db5b3a89
AD
3552000-09-20 Akim Demaille <akim@epita.fr>
356
357 * tests/atgeneral.m4: Update from Autoconf.
358 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
359 (AT_CHECK_CALC): New macros.
360 Use these macros to test bison with options `', `--raw',
361 `--debug', `--yacc', `--yacc --debug'.
362
ceed8467
AD
3632000-09-19 Akim Demaille <akim@epita.fr>
364
365 * src/output.c: Formatting changes.
366 * src/machine.h: Remove, leaving its contents in...
367 * src/system.h: here.
368 Include stdio.h.
369 Adjust all dependencies on stdio.h and machine.h.
370 * src/getargs.h: New file.
371 Let all `extern' declarations about getargs.c be replaced with
372 inclusion of `getargs.h'.
373 * src/Makefile.am (noinst_HEADERS): Adjust.
374
375 * tests/calc.m4 (yyin): Be initialized in main, not on the global
376 scope.
377 (yyerror): Returns void, not int.
378 * doc/bison.texinfo: Formatting changes.
379
05a1d24b
AD
3802000-09-19 Akim Demaille <akim@epita.fr>
381
382 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
383 portable.
384
cbd25751
AD
3852000-09-18 Akim Demaille <akim@epita.fr>
386
387 * configure.in: Append WARNING_CFLAGS to CFLAGS.
388 * src/Makefile.am (INCLUDES): Don't.
389 Be ready to fetch headers in lib/.
390
13863333
AD
3912000-09-18 Akim Demaille <akim@epita.fr>
392
393 * doc/bison.texinfo: Update the copyright.
394 ANSIfy and GNUify the examples.
395 Remove the old menu.
396
0d533154
AD
3972000-09-18 Akim Demaille <akim@epita.fr>
398
399 First set of tests: use the `calc' example from the documentation.
400
401 * src/bison.s1 (yyparse): Condition the code using `yytname' which
402 is defined only when YYDEBUG is.
403 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
404 * src/files.c (tryopen, tryclose): Formatting changes.
405 Move to the top and be static.
406 * src/reader.c (read_signed_integer): Likewise.
407 * tests/calc.m4: New file.
408 * Makefile.am, suite.m4: Adjust.
409 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
410
e79137ac
AD
4112000-09-18 Akim Demaille <akim@epita.fr>
412
413 Add support for an Autotest test suite for Bison.
414
415 * m4/m4.m4, m4/atconfig.m4: New files.
416 * m4/Makefile.am (EXTRA_DIST): Adjust.
417 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
418 files.
419 * src/getargs.c: Display a more standard --version message.
420 * src/reader.c (reader): Formatting changes.
421 No longer depend upon VERSION_STRING.
422 * configure.in: No longer use `dnl'.
423 Set up the test suite and the new directory `tests/.
424 (VERSION_STRING): Remove.
425
27821bff
AD
4262000-04-14 Akim Demaille <akim@epita.fr>
427
428 * src/reader.c (copy_comment2): New function, same as former
429 `copy_comment', but outputs into two FILE *.
430 (copy_comment): Use it.
431 (parse_union_decl): Use it.
432 (get_type, parse_start_decl): Use the same `invalid' message.
433 (parse_start_decl, parse_union_decl): Use the same `multiple'
434 message.
435 (parse_union_decl, copy_guard, copy_action): Use the same
436 `unmatched' message.
437 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
438
cfe5fbc0
AD
4392000-03-31 Akim Demaille <akim@epita.fr>
440
441 * src/files.c (tryopen, tryclose): Move to the top.
442 Be static.
443
cb7db13e
AD
4442000-03-31 Akim Demaille <akim@epita.fr>
445
446 * src/main.c (main): Don't call `done', exit does it.
447
a0f6b076
AD
4482000-03-31 Akim Demaille <akim@epita.fr>
449
36281465
AD
450 * allocate.c: s/return (foo)/return foo/.
451 * lalr.c: Likewise.
452 * LR0.c: Likewise.
453 * output.c: Likewise.
454 * reader.c: Likewise.
455 * symtab.c: Likewise.
456 * vmsgetargs.c: Likewise.
457
4582000-03-31 Akim Demaille <akim@epita.fr>
459
460 Clean up the error reporting functions.
a0f6b076
AD
461
462 * src/report.c: New file.
463 * src/report.h: Likewise.
464 * src/Makefile.am: Adjust.
465 * m4/error.m4: New file.
466 * m4/Makefile.am: Adjust.
467 * configure.in (jm_PREREQ_ERROR): Call it.
468 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
469 Remove.
470 (fatal, fatals): Remove. All callers use complain.c::fatal.
471 (warn, warni, warns, warnss, warnss): Remove. All callers use
472 complain.c::complain.
473 (toomany): Remove, use fatal instead.
474 * src/files.c (done): No argument, use complain_message_count.
475 * src/main.c (main): Register `done' to `atexit'.
476
477 * src/getargs.c (usage): More `fputs', less `fprintf'.
478
18539825
AD
4792000-03-28 Akim Demaille <akim@epita.fr>
480
481 * lib/: New directory.
482 * Makefile.am (SUBDIRS): Adjust.
483 * configure.in: Adjust.
484 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
485 useless.
486 * src/alloca.c: Moved to lib/.
487 * src/getopt.c: Likewise.
488 * src/getopt1.c: Likewise.
489 * src/getopt.h: Likewise.
490 * src/ansi2knr.c: Likewise.
491 * src/ansi2knr.1: Likewise.
492 * src/Makefile.am: Adjust.
493 * lib/Makefile.am: New file.
494
9f306f2a
AD
4952000-03-28 Akim Demaille <akim@epita.fr>
496
497 * src/getargs.c (usage): Refresh the help message.
498
0ba347b6
AD
4992000-03-17 Akim Demaille <akim@epita.fr>
500
501 * src/getopt1.c: Updated from textutils 2.0e
502 * src/getopt.c: Likewise.
503 * src/getopt.h: Likewise.
504
dbe7f271
AD
5052000-03-17 Akim Demaille <akim@epita.fr>
506
507 * src/Makefile.am (bison.simple): Fix the awk program: quote only
508 the file name, not the whole `#line LINE FILE'.
509
75bbe78d
AD
5102000-03-17 Akim Demaille <akim@epita.fr>
511
512 On syntax errors, report the token on which we choked.
513
aa5fd0ee
AD
514 * src/bison.s1 (yyparse): In the label yyerrlab, when
515 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 516
7b306f52
AD
5172000-03-17 Akim Demaille <akim@epita.fr>
518
aa5fd0ee 519 * src/reader.c (copy_at): New function.
7b306f52
AD
520 (copy_guard): Use it.
521 (copy_action): Use it.
522
e87b5700
AD
5232000-03-17 Akim Demaille <akim@epita.fr>
524
525 Be kind to translators, save some useless translations.
526
aa5fd0ee 527 * src/main.c (banner): New function.
e87b5700
AD
528 (fatal_banner): Use it.
529 (warn_banner): Use it.
530
ae3c3164
AD
5312000-03-17 Akim Demaille <akim@epita.fr>
532
aa5fd0ee
AD
533 * src/reader.c (copy_definition): Use copy_string and
534 copy_comment. Removed now unused `match', `ended',
535 `cplus_comment'.
ae3c3164
AD
536 (copy_comment, copy_string): Moved, to be visible from
537 copy_definition.
538
4dc58e7c
AD
5392000-03-17 Akim Demaille <akim@epita.fr>
540
aa5fd0ee
AD
541 * src/reader.c (copy_string): Declare `static inline'. No
542 problems with inline, since it is checked by configure.
4dc58e7c
AD
543 (copy_comment): Likewise.
544
0a6384c4
AD
5452000-03-17 Akim Demaille <akim@epita.fr>
546
aa5fd0ee 547 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 548
3cef001a
AD
5492000-03-17 Akim Demaille <akim@epita.fr>
550
aa5fd0ee 551 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
552 (copy_action): Use it. Removed now unused `match', `ended',
553 `cplus_comment'.
554 (copy_guard): Likewise.
555
ca36d2ef
AD
5562000-03-17 Akim Demaille <akim@epita.fr>
557
aa5fd0ee 558 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
559 (copy_action): Use it.
560 (copy_guard): Likewise.
561
6666f98f
AD
5622000-03-17 Akim Demaille <akim@epita.fr>
563
564 Change the handling of @s so that they behave exactly like $s.
565 There is now a pseudo variable @$ (readble and writable), location
566 of the lhs of the rule (by default ranging from the location of
567 the first symbol of the rhs, to the location of the last symbol,
568 or, if the rhs is empty, YYLLOC).
569
570 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
571 yyval.
572 (yyparse): When providing a default semantic action, provide a
573 default location action.
574 (after the $): No longer change `*YYLSP', just stack YYLOC the
575 same way you stack YYVAL.
576 * src/reader.c (read_declarations): Use warns.
577 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
578 (copy_action, case '@'): Likewise.
579 Use a standard error message, to save useless work from
580 translators.
581
41aca2e0
AD
5822000-03-17 Akim Demaille <akim@epita.fr>
583
aa5fd0ee
AD
584 * src/bison.s1: Formatting and cosmetics changes.
585 * src/reader.c: Likewise.
41aca2e0
AD
586 Update the Copyright notice.
587
dc08c1d5
AD
5882000-03-17 Akim Demaille <akim@epita.fr>
589
aa5fd0ee
AD
590 * src/bison.s1 (#line): All set to `#line' only, since the
591 Makefile now handles them.
dc08c1d5 592
9ee3c97b
AD
5932000-03-16 Akim Demaille <akim@epita.fr>
594
595 * src/output.c (output_rule_data): Output the documentation of
596 some of the tables.
597 (Copyright notice): Update.
598 Formatting changes.
599
0de741ca
AD
6002000-03-16 Akim Demaille <akim@epita.fr>
601
602 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
603 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
604 One `#if YYDEBUG' remains, since it uses variables which are
605 defined only if `YYDEBUG != 0'.
606
bb10be54
AD
6072000-03-16 Akim Demaille <akim@epita.fr>
608
609 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
610 and related variables so that the similarities are highlighted.
611
b07b484a
AD
6122000-03-16 Akim Demaille <akim@epita.fr>
613
614 * src/bison.s1: Properly indent CPP directives.
615
361f60b3
AD
6162000-03-16 Akim Demaille <akim@epita.fr>
617
618 * src/bison.s1: Properly indent the `alloca' CPP section.
619
8c44d3ec
AD
6202000-03-16 Akim Demaille <akim@epita.fr>
621
622 Do not hard code values of directories in `configure.in'.
623 Update the `configure' tool chain.
624
625 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
626 src/makefile.am.
627 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
628 (AC_OUTPUT): Add m4/Makefile.
629 Bump to bison 1.28a, 1.29 has never been released.
630 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
631 handled via src/Makefile.am.
632 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
633 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
634 autoheader.
635 * Makefile.am (SUBDIRS): Add m4.
636 (ACLOCAL_AM_FLAGS): New variable.
637 (AUTOMAKE_OPTIONS): Add check-news.
638 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
639 the proper line number and file name.
640 (DEFS): Propagate the location of bison library files and of the
641 locale files.
642 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
643 builddir.
644 * acinclude.m4: Remove, replaced by the directory m4.
645 * m4/Makefile.am (EXTRA_DIST): New variable.
646 * m4/gettext.m4: New file, from the fileutils.
647 * m4/lcmessage.m4: Likewise
648 * m4/progtest.m4: Likewise.
649 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
650
f95997e7
AD
6512000-03-10 Akim Demaille <akim@epita.fr>
652
653 * src/closure.c:
654 Formatting changes of various comments.
655 Respect the GNU coding standards at various places.
656 Don't use `_()' when no translation is needed.
657
6581999-12-13 Jesse Thilo <jthilo@gnu.org>
659
660 * src/files.c:
661 OS/2 honors TMPDIR environment variable.
662
6631999-12-13 Jesse Thilo <jthilo@gnu.org>
664
665 * doc/bison.texinfo: Tweaked spelling and grammar.
666 Updated ISBN.
667 Removed reference to price of printed copy.
668 Mention BISON_SIMPLE and BISON_HAIRY.
669
6701999-12-13 Jesse Thilo <jthilo@gnu.org>
671
672 * configure.in, NEWS:
673 Bison 1.29 released.
674
6751999-10-27 Jesse Thilo <jthilo@gnu.org>
676
677 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
678 Added reference card.
679
6801999-07-26 Jesse Thilo <jthilo@gnu.org>
681
682 * po/ru.po: Added Russian translation.
683
6841999-07-26 Jesse Thilo <jthilo@gnu.org>
685
686 * configure.in: Added Russian translation.
687
6881999-07-06 Jesse Thilo <jthilo@gnu.org>
689
690 * configure.in, NEWS, README:
691 Released version 1.28.
692
6931999-06-14 Jesse Thilo <jthilo@gnu.org>
694
695 * src/system.h:
696 Squashed redefinition warning on some systems.
697
698 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
699 Have configure build version string instead of relying on ANSI string
700 concatentation.
701
7021999-06-14 Jesse Thilo <jthilo@gnu.org>
703
704 * po/POTFILES.in: Got rid of version.c.
705
7061999-06-14 Jesse Thilo <jthilo@gnu.org>
707
708 * acconfig.h, configure.in:
709 Have configure build version string instead of relying on ANSI string
710 concatentation.
711
7121999-06-08 Jesse Thilo <jthilo@gnu.org>
713
714 * doc/bison.1:
715 Dropped mention of `+' for long-named options.
716
7171999-05-30 Jesse Thilo <jthilo@gnu.org>
718
719 * src/files.c: Added <unistd.h> for unlink().
720
721 * src/Makefile.am, src/system.h:
722 I18n fixes.
723
7241999-05-30 Jesse Thilo <jthilo@gnu.org>
725
726 * README: Added a FAQ list.
727
728 * configure.in, acconfig.h:
729 I18n fixes.
730
7311999-05-30 Jesse Thilo <jthilo@gnu.org>
732
733 * doc/FAQ, doc/Makefile.am:
734 Added a FAQ list.
735
7361999-05-19 Jesse Thilo <jthilo@gnu.org>
737
738 * src/alloc.h, src/symtab.h, src/version.c:
739 Protected inclusion of "config.h" with HAVE_CONFIG_H.
740
7411999-04-18 Jesse Thilo <jthilo@gnu.org>
742
743 * src/.cvsignore, src/Makefile.am:
744 Reorganized: sources in `src', documentation in `doc'.
745
746 * src/lex.c (literalchar):
747 fixed the code for escaping double quotes (thanks
748 Jonathan Czisny.)
749
7501999-04-18 Jesse Thilo <jthilo@gnu.org>
751
752 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
753 Adjusted paths to reflect directory reorganization.
754
7551999-04-18 Jesse Thilo <jthilo@gnu.org>
756
757 * doc/.cvsignore, doc/Makefile.am:
758 Reorganized: sources in `src', documentation in `doc'.
759
7601999-04-18 Jesse Thilo <jthilo@gnu.org>
761
762 * configure.in:
763 Updated AC_INIT file to reflect directory reorganization.
764
765 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
766 Reorganized: sources in `src', documentation in `doc'.
767
7681999-04-13 Jesse Thilo <jthilo@gnu.org>
769
770 * src/allocate.c:
771 Don't declare calloc() and realloc() if not necessary.
772
7731999-04-13 Jesse Thilo <jthilo@gnu.org>
774
775 * configure.in, acconfig.h, acinclude.m4:
776 Don't declare calloc() and realloc() if not necessary.
777
7781999-03-23 Jesse Thilo <jthilo@gnu.org>
779
780 * po/.cvsignore: Added i18n support.
781
7821999-03-23 Jesse Thilo <jthilo@gnu.org>
783
784 * acconfig.h, configure.in, Makefile.am:
785 Added i18n support.
786
7871999-03-22 Jesse Thilo <jthilo@gnu.org>
788
789 * src/bison.s1: Fixed #line numbers.
790
7911999-03-15 Jesse Thilo <jthilo@gnu.org>
792
793 * po/es.po, po/fr.po, po/nl.po, po/de.po:
794 Added PO files from Translation Project.
795
7961999-03-03 Jesse Thilo <jthilo@gnu.org>
797
798 * Makefile.am:
799 Added support for non-ANSI compilers (ansi2knr).
800
8011999-02-16 Jesse Thilo <jthilo@gnu.org>
802
803 * configure.in: Bumped version number to 1.27.
804
805 * Makefile.am:
806 Added `bison.simple' to list of files removed by `make distclean'.
807
8081999-02-12 Jesse Thilo <jthilo@gnu.org>
809
810 * src/files.c, src/files.h:
811 Defined locations of parser files in config.h instead of Makefile.
812
8131999-02-12 Jesse Thilo <jthilo@gnu.org>
814
815 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
816 Defined locations of parser files in config.h instead of Makefile.
817
8181999-02-09 Jesse Thilo <jthilo@gnu.org>
819
820 * Makefile.am:
821 Removed inappropriate use of $< macro.
822
8231999-02-05 Jesse Thilo <jthilo@gnu.org>
824
825 * po/Makefile.in.in, po/POTFILES.in:
826 Add `po' directory skeleton.
827
8281999-01-27 Jesse Thilo <jthilo@gnu.org>
829
830 * README: Document help-bison list.
831
832 * configure.in: Add check for mkstemp().
833
8341999-01-20 Jesse Thilo <jthilo@gnu.org>
835
836 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
837 Hush a few compiler warnings.
838
839 * src/files.c:
840 Add tryclose(), which verifies that fclose was successful.
841 Hush a couple of compiler warnings.
842
8431999-01-20 Jesse Thilo <jthilo@gnu.org>
844
845 * Makefile.am, OChangeLog:
846 ChangeLog is now automatically generated. Include the old version as
847 OChangeLog.
848
8491999-01-14 Jesse Thilo <jthilo@gnu.org>
850
851 * 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:
852 Update FSF address.
853
8541999-01-14 Jesse Thilo <jthilo@gnu.org>
855
856 * doc/bison.texinfo: Fix formatting glitch.
857
858 * doc/bison.texinfo: Update FSF address.
859
8601999-01-14 Jesse Thilo <jthilo@gnu.org>
861
862 * acconfig.h: Update FSF address.
863
8641999-01-08 Jesse Thilo <jthilo@gnu.org>
865
866 * src/system.h:
867 Don't define PACKAGE here, since config.h defines it.
868
8691998-12-30 Jesse Thilo <jthilo@gnu.org>
870
871 * src/reader.c: Update copyright date.
872
873 * src/main.c:
874 Ditch sprintf to statically-sized buffers in fatal/warn functions in
875 favor of output directly to stderr (avoids buffer overruns).
876
877 * src/reader.c: Some checks for premature EOF.
878
879 * 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:
880 Use prototypes if the compiler understands them.
881
882 * src/files.c: Honor TMPDIR on Unix hosts.
883 Use prototypes if the compiler understands them.
884
885 * src/reader.c:
886 Fix a couple of buffer overrun bugs.
887 Use prototypes if the compiler understands them.
888
889 * src/system.h: Include unistd.h and ctype.h.
890 Use #ifdef instead of #if for NLS symbols.
891
8921998-12-30 Jesse Thilo <jthilo@gnu.org>
893
894 * doc/bison.texinfo:
895 Delete comment "consider using @set for edition number, etc..." since
896 we now are doing so.
897
8981998-12-30 Jesse Thilo <jthilo@gnu.org>
899
900 * configure.in:
901 Use prototypes if the compiler understands them.
902
903 * NEWS: Document 1.26 highlights.
904
905 * Makefile.am: Require Automake 1.3 or later.
906
907 * acconfig.h:
908 Use prototypes if the compiler understands them.
909
9101998-12-29 Jesse Thilo <jthilo@gnu.org>
911
912 * src/version.c:
913 Use VERSION symbol from automake for version number.
914
9151998-12-29 Jesse Thilo <jthilo@gnu.org>
916
917 * acconfig.h, configure.in, version.cin:
918 Use VERSION symbol from automake for version number.
919
9201998-11-28 Jesse Thilo <jthilo@gnu.org>
921
922 * Makefile.am:
923 Distribute original version of simple parser (bison.s1), not built
924 version (bison.simple).
925
9261998-11-28 Jesse Thilo <jthilo@gnu.org>
927
928 * doc/bison.texinfo: Add info dir entry.
929
930 * doc/bison.texinfo:
931 Let automake put version number into documentation.
932
9331998-11-26 Jesse Thilo <jthilo@gnu.org>
934
935 * src/bison.cld, src/build.com, src/vmshlp.mar:
936 Add non-RCS files from /gd/gnu/bison.
937
9381998-11-26 Jesse Thilo <jthilo@gnu.org>
939
940 * doc/bison.1:
941 Document the BISON_HAIRY and BISON_SIMPLE variables.
942
9431998-11-25 Jesse Thilo <jthilo@gnu.org>
944
945 * src/version.c: Build version.c automatically.
946
947 * src/reader.c:
948 Fix token numbering (used to start at 258, not 257).
949
950 * src/system.h: Include config.h.
951
952 * src/getargs.c: Update bug report address.
953
954 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
955 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
956
9571998-11-25 Jesse Thilo <jthilo@gnu.org>
958
959 * Makefile.am:
960 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
961
962 * configure.in, version.cin:
963 Build version.c automatically.
964
965 * AUTHORS: Add AUTHORS file.
966
967 * README: Update bug report address.
968
969 * bison.simple:
970 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
971
972 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
973 Add automake stuff.
974
9751998-11-25 Jesse Thilo <jthilo@gnu.org>
976
977 * doc/bison.texinfo: Clean up some formatting.
978
9791998-05-05 Richard Stallman <rms@gnu.org>
980
981 * doc/bison.texinfo:
982 Explain better why to make a pure parser.
983
9841998-01-05 Richard Stallman <rms@gnu.org>
985
986 * src/files.c (openfiles):
987 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
988 find a temporary directory, if possible. Do not unlink files while
989 they are open.
990
9911997-08-25 Richard Stallman <rms@gnu.org>
992
993 * src/reader.c (stack_offset;):
994 Change some warni to warns.
995
996 * src/lex.c (literalchar): Use warns, not warni.
997
9981997-06-28 Richard Stallman <rms@gnu.org>
999
1000 * src/bison.s1: Add a Bison version comment.
1001
1002 * src/main.c (fatal, warn, berror):
1003 Use program_name.
1004
10051997-06-28 Richard Stallman <rms@gnu.org>
1006
1007 * Makefile.in (bison_version): New variable.
1008 (dist): Use that variable.
1009 (bison.s1): Substitute the Bison version into bison.simple.
1010
1011 * bison.simple: Add a Bison version comment.
1012
10131997-06-18 Richard Stallman <rms@gnu.org>
1014
1015 * src/main.c (fatal, warn, berror):
1016 Make error messages standard.
1017 (toomany): Improve error message text.
1018
1019 * 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:
1020 new.h renamed to alloc.h.
1021
10221997-06-18 Richard Stallman <rms@gnu.org>
1023
1024 * Makefile.in: new.h renamed to alloc.h.
1025
10261997-05-24 Richard Stallman <rms@gnu.org>
1027
1028 * src/lex.c (literalchar):
1029 Fix the code for escaping \, " and '.
1030
1031 (lex): Avoid trouble when there are many chars
1032 to discard in a char literal with just several chars in it.
1033
10341997-05-17 Richard Stallman <rms@gnu.org>
1035
1036 * src/bison.s1:
1037 Use malloc, if using alloca is troublesome.
1038 (YYSTACK_USE_ALLOCA): New flag macro.
1039 Define it for some systems and compilers.
1040 (YYSTACK_ALLOC): New macro.
1041 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1042 If it was malloc'd, free it.
1043
10441997-05-17 Richard Stallman <rms@gnu.org>
1045
1046 * bison.simple:
1047 Use malloc, if using alloca is troublesome.
1048 (YYSTACK_USE_ALLOCA): New flag macro.
1049 Define it for some systems and compilers.
1050 (YYSTACK_ALLOC): New macro.
1051 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1052 If it was malloc'd, free it.
1053
10541997-04-23 Richard Stallman <rms@gnu.org>
1055
1056 * src/bison.s1:
1057 (alloca) [__hpux]: Always define as __builtin_alloca.
1058
10591997-04-23 Richard Stallman <rms@gnu.org>
1060
1061 * bison.simple:
1062 (alloca) [__hpux]: Always define as __builtin_alloca.
1063
10641997-04-22 Richard Stallman <rms@gnu.org>
1065
1066 * src/bison.s1:
1067 [__hpux]: Include alloca.h (right for HPUX 10)
1068 instead of declaring alloca (right for HPUX 9).
1069
1070 * src/bison.s1 (__yy_memcpy):
1071 Declare arg `count' as unsigned int.
1072 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1073
10741997-04-22 Richard Stallman <rms@gnu.org>
1075
1076 * bison.simple:
1077 [__hpux]: Include alloca.h (right for HPUX 10)
1078 instead of declaring alloca (right for HPUX 9).
1079
1080 * bison.simple (__yy_memcpy):
1081 Declare arg `count' as unsigned int.
1082 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1083
10841997-01-03 Richard Stallman <rms@gnu.org>
1085
1086 * src/allocate.c: [__STDC__ or _MSC_VER]:
1087 Declare calloc and realloc to return void *.
1088
10891997-01-02 Richard Stallman <rms@gnu.org>
1090
1091 * src/system.h:
1092 [_MSC_VER]: Include stdlib.h and process.h.
1093 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1094
1095 * src/main.c (main): Return FAILURE as a value.
1096 (printable_version): Declare arg as int, not char.
1097
10981997-01-02 Richard Stallman <rms@gnu.org>
1099
1100 * Makefile.in (dist):
1101 Explicitly check for symlinks, and copy them.
1102
11031996-12-19 Richard Stallman <rms@gnu.org>
1104
1105 * src/files.c:
1106 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1107
11081996-12-18 Paul Eggert <eggert@gnu.org>
1109
1110 * src/bison.s1 (yyparse):
1111 If __GNUC__ and YYPARSE_PARAM are both defined,
1112 declare yyparse to have a void * argument.
1113
11141996-12-18 Paul Eggert <eggert@gnu.org>
1115
1116 * bison.simple (yyparse):
1117 If __GNUC__ and YYPARSE_PARAM are both defined,
1118 declare yyparse to have a void * argument.
1119
11201996-12-17 Richard Stallman <rms@gnu.org>
1121
1122 * src/reduce.c (nbits): Add some casts.
1123
11241996-08-12 Richard Stallman <rms@gnu.org>
1125
1126 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1127
11281996-08-12 Richard Stallman <rms@gnu.org>
1129
1130 * bison.simple: Test _MSDOS as well as _MSDOS_.
1131
11321996-07-31 Richard Stallman <rms@gnu.org>
1133
1134 * src/bison.s1:
1135 [__sun && __i386]: Include alloca.h.
1136
11371996-07-31 Richard Stallman <rms@gnu.org>
1138
1139 * bison.simple:
1140 [__sun && __i386]: Include alloca.h.
1141
11421996-07-30 Richard Stallman <rms@gnu.org>
1143
1144 * src/bison.s1: Comment change.
1145
1146 * src/bison.s1: Test _MSDOS_, not MSDOS.
1147
11481996-07-30 Richard Stallman <rms@gnu.org>
1149
1150 * bison.simple: Comment change.
1151
1152 * bison.simple: Test _MSDOS_, not MSDOS.
1153
11541996-06-01 Richard Stallman <rms@gnu.org>
1155
1156 * 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:
1157 Insert `_' macro around many string constants.
1158
1159 * src/main.c:
1160 Insert `_' macro around many string constants.
1161
1162 (main): Call setlocale, bindtextdomain and textdomain.
1163
1164 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1165 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1166 [ENABLE_NLS]: Include libintl.h.
1167 [ENABLE_NLS] (gettext): Define.
1168 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1169 (N_, PACKAGE, LOCALEDIR): New macros.
1170
11711996-06-01 Richard Stallman <rms@gnu.org>
1172
1173 * POTFILES.in: New file.
1174
1175 * Makefile.in (allocate.o):
1176 Define target explicitly.
1177
1178 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1179 (LDFLAGS): Set to @LDFLAGS@.
1180 (configure): Run autoconf only if preceding `cd' succeeds.
1181 (bison.s1): Redirect output to temporary file then move the
1182 temporary to the target, rather than redirecting directly to bison.s1.
1183 (clean): Remove config.status and config.log.
1184 (distclean): Don't remove config.status here.
1185
11861996-05-12 Richard Stallman <rms@gnu.org>
1187
1188 * src/bison.s1:
1189 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1190
11911996-05-12 Richard Stallman <rms@gnu.org>
1192
1193 * bison.simple:
1194 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1195
11961996-05-11 Richard Stallman <rms@gnu.org>
1197
1198 * src/bison.s1 (__yy_memcpy):
1199 Really reorder the args, as was supposedly done on Feb 14 1995.
1200 (yyparse): Calls changed accordingly.
1201
12021996-05-11 Richard Stallman <rms@gnu.org>
1203
1204 * Makefile.in (dist): Don't use $(srcdir).
1205
1206 * bison.simple (__yy_memcpy):
1207 Really reorder the args, as was supposedly done on Feb 14 1995.
1208 (yyparse): Calls changed accordingly.
1209
12101996-01-27 Richard Stallman <rms@gnu.org>
1211
1212 * src/output.c (output_rule_data):
1213 Test YYERROR_VERBOSE in the conditional
1214 around the definition of ttyname.
1215
12161995-12-29 Richard Stallman <rms@gnu.org>
1217
1218 * src/bison.s1:
1219 Fix line numbers in #line commands.
1220
12211995-12-29 Richard Stallman <rms@gnu.org>
1222
1223 * bison.simple:
1224 Fix line numbers in #line commands.
1225
12261995-12-27 Richard Stallman <rms@gnu.org>
1227
1228 * src/bison.s1 (YYPARSE_PARAM_DECL):
1229 In C++, make it always null.
1230 (YYPARSE_PARAM_ARG): New macro.
1231 (yyparse): Use YYPARSE_PARAM_ARG.
1232
12331995-12-27 Richard Stallman <rms@gnu.org>
1234
1235 * bison.simple (YYPARSE_PARAM_DECL):
1236 In C++, make it always null.
1237 (YYPARSE_PARAM_ARG): New macro.
1238 (yyparse): Use YYPARSE_PARAM_ARG.
1239
12401995-11-29 Richard Stallman <rms@gnu.org>
1241
1242 * doc/bison.texinfo:
1243 Describe literal string tokens, %raw, %no_lines, %token_table.
1244
12451995-11-29 Daniel Hagerty <hag@gnu.org>
1246
1247 * doc/bison.texinfo: Fixed update date
1248
12491995-10-16 Richard Stallman <rms@gnu.org>
1250
1251 * src/version.c: Version 1.25.
1252
12531995-10-16 Richard Stallman <rms@gnu.org>
1254
1255 * NEWS: *** empty log message ***
1256
12571995-10-16 Richard Stallman <rms@gnu.org>
1258
1259 * doc/bison.1, doc/bison.rnh:
1260 Add new options.
1261
12621995-10-15 Richard Stallman <rms@gnu.org>
1263
1264 * src/vmsgetargs.c, src/getargs.c:
1265 Added -n, -k, and -raw switches.
1266 (noparserflag, toknumflag, rawtoknumflag): New variables.
1267
1268 * src/symtab.h (SALIAS):
1269 New #define for adding aliases to %token.
1270 (struct bucket): Added `alias' field.
1271
1272 * src/reduce.c (reduce_grammar):
1273 Revise error message.
1274 (print_notices): Remove final `.' from error message.
1275
1276 * src/reader.c (reader_output_yylsp):
1277 New function.
1278 (readgram): Use `#if 0' around code that accepted %command
1279 inside grammar rules: The documentation doesn't allow it,
1280 and it will fail since the %command processors scan for the next %.
1281 (parse_token_decl): Extended the %token
1282 declaration to allow a multi-character symbol as an alias.
1283 (parse_thong_decl): New function.
1284 (read_declarations): Added %thong declarations.
1285 (read_declarations): Handle NOOP to deal with allowing
1286 % declarations as another means to specify the flags.
1287 (readgram): Allow %prec prior to semantics embedded in a rule.
1288 (skip_to_char, read_declarations, copy_definition)
1289 (parse_token_decl, parse_start_decl, parse_type_decl)
1290 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1291 (get_type_name, copy_guard, copy_action, readgram)
1292 (get_type, packsymbols): Revised most error messages.
1293 Changed `fatal' to `warnxxx' to avoid aborting for error.
1294 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1295 (read_declarations): Improve the error message for
1296 an invalid character. Do not abort.
1297 (read_declarations, copy_guard, copy_action): Use
1298 printable_version to avoid unprintable characters in printed output.
1299 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1300 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1301 Allow the type of a non-terminal can be given
1302 more than once, as long as all specifications give the same type.
1303
1304 * src/output.c:
1305 (output_headers, output_trailers, output, output_gram)
1306 (output_rule_data): Implement noparserflag variable.
1307 Implement toknumflag variable.
1308 (output): Call reader_output_yylsp to output LTYPESTR.
1309
1310 * src/main.c (main):
1311 If reader sees an error, don't process the grammar.
1312 (fatals): Updated to not use VARARGS1.
1313 (printable_version, int_to_string, warn, warni, warns, warnss)
1314 (warnsss): New error reporting functions. Avoid abort for error.
1315
1316 * src/lex.h:
1317 Added THONG and NOOP for alias processing.
1318 Added SETOPT for the new code that allows setting options with %flags.
1319
1320 * src/lex.c:
1321 Include getopt.h. Add some extern decls.
1322 (safegetc): New function to deal with EOF gracefully.
1323 (literalchar); new function to deal with reading \ escapes.
1324 (lex): Use literalchar.
1325 (lex): Implemented "..." tokens.
1326 (literalchar, lex, parse_percent_token): Made tokenbuffer
1327 always contain the token. This includes growing the token
1328 buffer while reading an integer.
1329 (parse_percent_token): Replaced if-else statement with percent_table.
1330 (parse_percent_token): Added % declarations as another
1331 way to specify the flags -n, -l, and -r. Also added hooks for
1332 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1333 major changes to files.c.
1334 (lex) Retain in the incoming stream a character following
1335 an incorrect '/'.
1336 (skip_white_space, lex): Revised most error messages
1337 and changed fatal to warn to avoid aborting.
1338 (percent_table): Added %thong declarations.
1339
1340 * src/gram.h: Comment changes.
1341
1342 * src/files.c (openfiles, open_extra_files, done):
1343 Add faction flag
1344 and actfile file. Handle noparserflag. Both for -n switch.
1345
1346 * src/conflicts.c (resolve_sr_conflict):
1347 Remove use of alloca.
1348
13491995-06-01 Jim Meyering <meyering@gnu.org>
1350
1351 * doc/bison.texinfo: *** empty log message ***
1352
13531995-05-06 Richard Stallman <rms@gnu.org>
1354
1355 * src/bison.s1: Comment change.
1356
13571995-05-06 Richard Stallman <rms@gnu.org>
1358
1359 * bison.simple: Comment change.
1360
13611995-05-03 Richard Stallman <rms@gnu.org>
1362
1363 * src/version.c: Version now 1.24.
1364
1365 * src/bison.s1: Change distribution terms.
1366
1367 * src/version.c: Version now 1.23.
1368
13691995-05-03 Richard Stallman <rms@gnu.org>
1370
1371 * doc/bison.texinfo:
1372 Rewrite "Conditions for Using Bison".
1373 Update version to 1.24.
1374
13751995-05-03 Richard Stallman <rms@gnu.org>
1376
1377 * bison.simple: Change distribution terms.
1378
13791995-02-23 Richard Stallman <rms@gnu.org>
1380
1381 * src/files.c: Test __VMS_POSIX as well as VMS.
1382
13831995-02-14 Jim Meyering <meyering@gnu.org>
1384
1385 * src/bison.s1 (__yy_memcpy):
1386 Renamed from __yy_bcopy to avoid
1387 confusion. Reverse FROM and TO arguments to be consistent with
1388 those of memcpy.
1389
13901995-02-14 Jim Meyering <meyering@gnu.org>
1391
1392 * bison.simple (__yy_memcpy):
1393 Renamed from __yy_bcopy to avoid
1394 confusion. Reverse FROM and TO arguments to be consistent with
1395 those of memcpy.
1396
13971994-11-10 David J. MacKenzie <djm@gnu.org>
1398
1399 * NEWS: reformat
1400
1401 * NEWS: New file.
1402
1403 * Makefile.in (DISTFILES): Include NEWS.
1404
1405 * Makefile.in (DISTFILES):
1406 Include install-sh, not install.sh.
1407
1408 * configure.in: Update to Autoconf v2 macro names.
1409
14101994-10-05 David J. MacKenzie <djm@gnu.org>
1411
1412 * Makefile.in: fix typo
1413
1414 * Makefile.in (prefix, exec_prefix):
1415 Let configure set them.
1416
14171994-09-28 David J. MacKenzie <djm@gnu.org>
1418
1419 * Makefile.in: Set datadir to $(prefix)/share.
1420
14211994-09-15 Richard Stallman <rms@gnu.org>
1422
1423 * src/bison.s1:
1424 Update copyright notice and GPL version.
1425
14261994-09-15 Richard Stallman <rms@gnu.org>
1427
1428 * bison.simple:
1429 Update copyright notice and GPL version.
1430
14311994-07-12 Richard Stallman <rms@gnu.org>
1432
1433 * src/reduce.c, src/reader.c:
1434 entered into RCS
1435
14361994-05-05 David J. MacKenzie <djm@gnu.org>
1437
1438 * Makefile.in: entered into RCS
1439
14401994-03-26 Richard Stallman <rms@gnu.org>
1441
1442 * src/bison.s1: entered into RCS
1443
14441994-03-26 Richard Stallman <rms@gnu.org>
1445
1446 * bison.simple: entered into RCS
1447
14481994-03-25 Richard Stallman <rms@gnu.org>
1449
1450 * src/main.c: entered into RCS
1451
14521994-03-24 Richard Stallman <rms@gnu.org>
1453
1454 * src/conflicts.c: entered into RCS
1455
14561994-01-02 Richard Stallman <rms@gnu.org>
1457
1458 * Makefile.in: *** empty log message ***
1459
14601993-11-21 Richard Stallman <rms@gnu.org>
1461
1462 * src/bison.s1: *** empty log message ***
1463
14641993-11-21 Richard Stallman <rms@gnu.org>
1465
1466 * doc/bison.texinfo: entered into RCS
1467
1468 * doc/bison.texinfo: *** empty log message ***
1469
14701993-11-21 Richard Stallman <rms@gnu.org>
1471
1472 * bison.simple: *** empty log message ***
1473
14741993-10-25 David J. MacKenzie <djm@gnu.org>
1475
1476 * doc/bison.texinfo: *** empty log message ***
1477
14781993-10-19 Richard Stallman <rms@gnu.org>
1479
1480 * src/bison.s1: *** empty log message ***
1481
14821993-10-19 Richard Stallman <rms@gnu.org>
1483
1484 * bison.simple: *** empty log message ***
1485
14861993-10-14 Richard Stallman <rms@gnu.org>
1487
1488 * src/bison.s1: *** empty log message ***
1489
14901993-10-14 Richard Stallman <rms@gnu.org>
1491
1492 * bison.simple: *** empty log message ***
1493
14941993-09-14 David J. MacKenzie <djm@gnu.org>
1495
1496 * doc/bison.texinfo: *** empty log message ***
1497
14981993-09-13 Noah Friedman <friedman@gnu.org>
1499
1500 * Makefile.in: *** empty log message ***
1501
15021993-09-10 Richard Stallman <rms@gnu.org>
1503
1504 * src/conflicts.c: *** empty log message ***
1505
1506 * src/system.h: entered into RCS
1507
15081993-09-10 Richard Stallman <rms@gnu.org>
1509
1510 * doc/bison.1: entered into RCS
1511
15121993-09-06 Noah Friedman <friedman@gnu.org>
1513
1514 * src/version.c: entered into RCS
1515
15161993-09-06 Noah Friedman <friedman@gnu.org>
1517
1518 * Makefile.in: *** empty log message ***
1519
15201993-07-30 David J. MacKenzie <djm@gnu.org>
1521
1522 * Makefile.in: *** empty log message ***
1523
15241993-07-24 Richard Stallman <rms@gnu.org>
1525
1526 * src/bison.s1: *** empty log message ***
1527
15281993-07-24 Richard Stallman <rms@gnu.org>
1529
1530 * bison.simple: *** empty log message ***
1531
15321993-07-08 David J. MacKenzie <djm@gnu.org>
1533
1534 * Makefile.in: *** empty log message ***
1535
15361993-07-04 Richard Stallman <rms@gnu.org>
1537
1538 * src/bison.s1: *** empty log message ***
1539
15401993-07-04 Richard Stallman <rms@gnu.org>
1541
1542 * bison.simple: *** empty log message ***
1543
15441993-06-26 David J. MacKenzie <djm@gnu.org>
1545
1546 * src/getargs.c: entered into RCS
1547
15481993-06-26 David J. MacKenzie <djm@gnu.org>
1549
1550 * doc/bison.texinfo: *** empty log message ***
1551
1552 * doc/bison.1: New file.
1553
15541993-06-25 Richard Stallman <rms@gnu.org>
1555
1556 * src/getargs.c: New file.
1557
15581993-06-16 Richard Stallman <rms@gnu.org>
1559
1560 * src/bison.s1: *** empty log message ***
1561
15621993-06-16 Richard Stallman <rms@gnu.org>
1563
1564 * bison.simple: *** empty log message ***
1565
15661993-06-03 Richard Stallman <rms@gnu.org>
1567
1568 * src/bison.s1: New file.
1569
15701993-06-03 Richard Stallman <rms@gnu.org>
1571
1572 * doc/bison.texinfo: *** empty log message ***
1573
15741993-06-03 Richard Stallman <rms@gnu.org>
1575
1576 * bison.simple: New file.
1577
15781993-05-19 Richard Stallman <rms@gnu.org>
1579
1580 * doc/bison.texinfo: New file.
1581
15821993-05-07 Noah Friedman <friedman@gnu.org>
1583
1584 * Makefile.in: *** empty log message ***
1585
15861993-04-28 Noah Friedman <friedman@gnu.org>
1587
1588 * src/reader.c: *** empty log message ***
1589
15901993-04-23 Noah Friedman <friedman@gnu.org>
1591
1592 * src/alloc.h: entered into RCS
1593
15941993-04-20 David J. MacKenzie <djm@gnu.org>
1595
1596 * src/version.c: *** empty log message ***
1597
1598 * src/files.c, src/allocate.c:
1599 entered into RCS
1600
1601 * src/reader.c: *** empty log message ***
1602
1603 * src/lex.c: entered into RCS
1604
1605 * src/conflicts.c: New file.
1606
1607 * src/symtab.c: entered into RCS
1608
1609 * src/alloc.h: New file.
1610
1611 * src/LR0.c: entered into RCS
1612
16131993-04-18 Noah Friedman <friedman@gnu.org>
1614
1615 * src/reader.c: New file.
1616
1617 * src/version.c: *** empty log message ***
1618
16191993-04-18 Noah Friedman <friedman@gnu.org>
1620
1621 * Makefile.in: *** empty log message ***
1622
16231993-04-17 Noah Friedman <friedman@gnu.org>
1624
1625 * Makefile.in: *** empty log message ***
1626
16271993-04-15 Richard Stallman <rms@gnu.org>
1628
1629 * src/main.c, src/files.c:
1630 New file.
1631
16321993-04-15 Noah Friedman <friedman@gnu.org>
1633
1634 * configure.in: entered into RCS
1635
1636 * configure.in: *** empty log message ***
1637
1638 * configure.in: New file.
1639
16401993-04-14 Richard Stallman <rms@gnu.org>
1641
1642 * Makefile.in: New file.
1643
16441993-04-13 Richard Stallman <rms@gnu.org>
1645
1646 * src/version.c: New file.
1647
16481993-03-25 Richard Stallman <rms@gnu.org>
1649
1650 * src/output.c: entered into RCS
1651
16521992-09-25 Richard Stallman <rms@gnu.org>
1653
1654 * configure.bat: entered into RCS
1655
16561992-06-22 Richard Stallman <rms@gnu.org>
1657
1658 * src/vmsgetargs.c: entered into RCS
1659
16601992-06-22 Richard Stallman <rms@gnu.org>
1661
1662 * doc/bison.rnh: entered into RCS
1663
16641992-04-20 David J. MacKenzie <djm@gnu.org>
1665
1666 * README: entered into RCS
1667
16681992-01-22 Richard Stallman <rms@gnu.org>
1669
1670 * src/machine.h: entered into RCS
1671
16721991-12-21 Richard Stallman <rms@gnu.org>
1673
1674 * src/lalr.c, src/closure.c:
1675 entered into RCS
1676
16771991-12-20 Richard Stallman <rms@gnu.org>
1678
1679 * src/state.h: entered into RCS
1680
16811991-12-18 Richard Stallman <rms@gnu.org>
1682
1683 * src/print.c, src/nullable.c, src/derives.c:
1684 entered into RCS
1685
16861991-11-03 David J. MacKenzie <djm@gnu.org>
1687
1688 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1689 entered into RCS
1690
16911988-09-09 Richard Stallman <rms@gnu.org>
1692
1693 * src/bison.hairy: entered into RCS
1694
16951987-12-16 Richard Stallman <rms@gnu.org>
1696
1697 * REFERENCES: entered into RCS