]> git.saurik.com Git - bison.git/blob - ChangeLog
89f4f2a43ae88f826525feb4557b4718f37fb624
[bison.git] / ChangeLog
1 2000-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
7 2000-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
18 2000-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
24 2000-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
32 2000-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
37 2000-10-16 Akim Demaille <akim@epita.fr>
38
39 * src/reader.c (copy_dollar): New function.
40 (copy_guard, copy_action): Use it.
41
42 2000-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
50 2000-10-04 Akim Demaille <akim@epita.fr>
51
52 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
53
54 2000-10-04 Akim Demaille <akim@epita.fr>
55
56 * doc/bison.texinfo: Various typos spotted by Neil Booth.
57
58 2000-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
69 2000-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
75 2000-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
81 2000-10-02 Akim Demaille <akim@epita.fr>
82
83 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
84 options.
85
86 2000-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
91 2000-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
114 2000-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
127 2000-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
159 2000-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
171 2000-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
179 2000-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
192 2000-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
198 2000-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
216 2000-10-02 Akim Demaille <akim@epita.fr>
217
218 Various anti-`extern in *.c' changes.
219
220 * src/system.h: Include `assert.h'.
221
222 2000-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
234 2000-10-02 Akim Demaille <akim@epita.fr>
235
236 * src/LR0.h: New file.
237 Propagate its use.
238
239 2000-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
248 2000-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
257 2000-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
263 2000-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
271 2000-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
280 2000-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
288 2000-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
296 2000-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
302 2000-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
308 2000-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
325 2000-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
334 2000-09-21 Akim Demaille <akim@epita.fr>
335
336 * src/atgeneral.m4: Update from Autoconf.
337
338 2000-09-21 Akim Demaille <akim@epita.fr>
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
351 2000-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
361 2000-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
368 2000-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
376 2000-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
393 2000-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
398 2000-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
404 2000-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
410 2000-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
424 2000-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
439 2000-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
452 2000-03-31 Akim Demaille <akim@epita.fr>
453
454 * src/files.c (tryopen, tryclose): Move to the top.
455 Be static.
456
457 2000-03-31 Akim Demaille <akim@epita.fr>
458
459 * src/main.c (main): Don't call `done', exit does it.
460
461 2000-03-31 Akim Demaille <akim@epita.fr>
462
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
471 2000-03-31 Akim Demaille <akim@epita.fr>
472
473 Clean up the error reporting functions.
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
492 2000-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
508 2000-03-28 Akim Demaille <akim@epita.fr>
509
510 * src/getargs.c (usage): Refresh the help message.
511
512 2000-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
518 2000-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
523 2000-03-17 Akim Demaille <akim@epita.fr>
524
525 On syntax errors, report the token on which we choked.
526
527 * src/bison.s1 (yyparse): In the label yyerrlab, when
528 YYERROR_VERBOSE, add yychar in msg.
529
530 2000-03-17 Akim Demaille <akim@epita.fr>
531
532 * src/reader.c (copy_at): New function.
533 (copy_guard): Use it.
534 (copy_action): Use it.
535
536 2000-03-17 Akim Demaille <akim@epita.fr>
537
538 Be kind to translators, save some useless translations.
539
540 * src/main.c (banner): New function.
541 (fatal_banner): Use it.
542 (warn_banner): Use it.
543
544 2000-03-17 Akim Demaille <akim@epita.fr>
545
546 * src/reader.c (copy_definition): Use copy_string and
547 copy_comment. Removed now unused `match', `ended',
548 `cplus_comment'.
549 (copy_comment, copy_string): Moved, to be visible from
550 copy_definition.
551
552 2000-03-17 Akim Demaille <akim@epita.fr>
553
554 * src/reader.c (copy_string): Declare `static inline'. No
555 problems with inline, since it is checked by configure.
556 (copy_comment): Likewise.
557
558 2000-03-17 Akim Demaille <akim@epita.fr>
559
560 * src/reader.c (packsymbols): Formatting changes.
561
562 2000-03-17 Akim Demaille <akim@epita.fr>
563
564 * src/reader.c (copy_comment): New function, factored out from:
565 (copy_action): Use it. Removed now unused `match', `ended',
566 `cplus_comment'.
567 (copy_guard): Likewise.
568
569 2000-03-17 Akim Demaille <akim@epita.fr>
570
571 * src/reader.c (copy_string): New function, factored out from:
572 (copy_action): Use it.
573 (copy_guard): Likewise.
574
575 2000-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
595 2000-03-17 Akim Demaille <akim@epita.fr>
596
597 * src/bison.s1: Formatting and cosmetics changes.
598 * src/reader.c: Likewise.
599 Update the Copyright notice.
600
601 2000-03-17 Akim Demaille <akim@epita.fr>
602
603 * src/bison.s1 (#line): All set to `#line' only, since the
604 Makefile now handles them.
605
606 2000-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
613 2000-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
620 2000-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
625 2000-03-16 Akim Demaille <akim@epita.fr>
626
627 * src/bison.s1: Properly indent CPP directives.
628
629 2000-03-16 Akim Demaille <akim@epita.fr>
630
631 * src/bison.s1: Properly indent the `alloca' CPP section.
632
633 2000-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
664 2000-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
671 1999-12-13 Jesse Thilo <jthilo@gnu.org>
672
673 * src/files.c:
674 OS/2 honors TMPDIR environment variable.
675
676 1999-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
683 1999-12-13 Jesse Thilo <jthilo@gnu.org>
684
685 * configure.in, NEWS:
686 Bison 1.29 released.
687
688 1999-10-27 Jesse Thilo <jthilo@gnu.org>
689
690 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
691 Added reference card.
692
693 1999-07-26 Jesse Thilo <jthilo@gnu.org>
694
695 * po/ru.po: Added Russian translation.
696
697 1999-07-26 Jesse Thilo <jthilo@gnu.org>
698
699 * configure.in: Added Russian translation.
700
701 1999-07-06 Jesse Thilo <jthilo@gnu.org>
702
703 * configure.in, NEWS, README:
704 Released version 1.28.
705
706 1999-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
715 1999-06-14 Jesse Thilo <jthilo@gnu.org>
716
717 * po/POTFILES.in: Got rid of version.c.
718
719 1999-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
725 1999-06-08 Jesse Thilo <jthilo@gnu.org>
726
727 * doc/bison.1:
728 Dropped mention of `+' for long-named options.
729
730 1999-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
737 1999-05-30 Jesse Thilo <jthilo@gnu.org>
738
739 * README: Added a FAQ list.
740
741 * configure.in, acconfig.h:
742 I18n fixes.
743
744 1999-05-30 Jesse Thilo <jthilo@gnu.org>
745
746 * doc/FAQ, doc/Makefile.am:
747 Added a FAQ list.
748
749 1999-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
754 1999-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
763 1999-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
768 1999-04-18 Jesse Thilo <jthilo@gnu.org>
769
770 * doc/.cvsignore, doc/Makefile.am:
771 Reorganized: sources in `src', documentation in `doc'.
772
773 1999-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
781 1999-04-13 Jesse Thilo <jthilo@gnu.org>
782
783 * src/allocate.c:
784 Don't declare calloc() and realloc() if not necessary.
785
786 1999-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
791 1999-03-23 Jesse Thilo <jthilo@gnu.org>
792
793 * po/.cvsignore: Added i18n support.
794
795 1999-03-23 Jesse Thilo <jthilo@gnu.org>
796
797 * acconfig.h, configure.in, Makefile.am:
798 Added i18n support.
799
800 1999-03-22 Jesse Thilo <jthilo@gnu.org>
801
802 * src/bison.s1: Fixed #line numbers.
803
804 1999-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
809 1999-03-03 Jesse Thilo <jthilo@gnu.org>
810
811 * Makefile.am:
812 Added support for non-ANSI compilers (ansi2knr).
813
814 1999-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
821 1999-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
826 1999-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
831 1999-02-09 Jesse Thilo <jthilo@gnu.org>
832
833 * Makefile.am:
834 Removed inappropriate use of $< macro.
835
836 1999-02-05 Jesse Thilo <jthilo@gnu.org>
837
838 * po/Makefile.in.in, po/POTFILES.in:
839 Add `po' directory skeleton.
840
841 1999-01-27 Jesse Thilo <jthilo@gnu.org>
842
843 * README: Document help-bison list.
844
845 * configure.in: Add check for mkstemp().
846
847 1999-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
856 1999-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
862 1999-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
867 1999-01-14 Jesse Thilo <jthilo@gnu.org>
868
869 * doc/bison.texinfo: Fix formatting glitch.
870
871 * doc/bison.texinfo: Update FSF address.
872
873 1999-01-14 Jesse Thilo <jthilo@gnu.org>
874
875 * acconfig.h: Update FSF address.
876
877 1999-01-08 Jesse Thilo <jthilo@gnu.org>
878
879 * src/system.h:
880 Don't define PACKAGE here, since config.h defines it.
881
882 1998-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
905 1998-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
911 1998-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
923 1998-12-29 Jesse Thilo <jthilo@gnu.org>
924
925 * src/version.c:
926 Use VERSION symbol from automake for version number.
927
928 1998-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
933 1998-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
939 1998-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
946 1998-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
951 1998-11-26 Jesse Thilo <jthilo@gnu.org>
952
953 * doc/bison.1:
954 Document the BISON_HAIRY and BISON_SIMPLE variables.
955
956 1998-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
970 1998-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
988 1998-11-25 Jesse Thilo <jthilo@gnu.org>
989
990 * doc/bison.texinfo: Clean up some formatting.
991
992 1998-05-05 Richard Stallman <rms@gnu.org>
993
994 * doc/bison.texinfo:
995 Explain better why to make a pure parser.
996
997 1998-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
1004 1997-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
1011 1997-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
1018 1997-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
1026 1997-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
1035 1997-06-18 Richard Stallman <rms@gnu.org>
1036
1037 * Makefile.in: new.h renamed to alloc.h.
1038
1039 1997-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
1047 1997-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
1057 1997-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
1067 1997-04-23 Richard Stallman <rms@gnu.org>
1068
1069 * src/bison.s1:
1070 (alloca) [__hpux]: Always define as __builtin_alloca.
1071
1072 1997-04-23 Richard Stallman <rms@gnu.org>
1073
1074 * bison.simple:
1075 (alloca) [__hpux]: Always define as __builtin_alloca.
1076
1077 1997-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
1087 1997-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
1097 1997-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
1102 1997-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
1111 1997-01-02 Richard Stallman <rms@gnu.org>
1112
1113 * Makefile.in (dist):
1114 Explicitly check for symlinks, and copy them.
1115
1116 1996-12-19 Richard Stallman <rms@gnu.org>
1117
1118 * src/files.c:
1119 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1120
1121 1996-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
1127 1996-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
1133 1996-12-17 Richard Stallman <rms@gnu.org>
1134
1135 * src/reduce.c (nbits): Add some casts.
1136
1137 1996-08-12 Richard Stallman <rms@gnu.org>
1138
1139 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1140
1141 1996-08-12 Richard Stallman <rms@gnu.org>
1142
1143 * bison.simple: Test _MSDOS as well as _MSDOS_.
1144
1145 1996-07-31 Richard Stallman <rms@gnu.org>
1146
1147 * src/bison.s1:
1148 [__sun && __i386]: Include alloca.h.
1149
1150 1996-07-31 Richard Stallman <rms@gnu.org>
1151
1152 * bison.simple:
1153 [__sun && __i386]: Include alloca.h.
1154
1155 1996-07-30 Richard Stallman <rms@gnu.org>
1156
1157 * src/bison.s1: Comment change.
1158
1159 * src/bison.s1: Test _MSDOS_, not MSDOS.
1160
1161 1996-07-30 Richard Stallman <rms@gnu.org>
1162
1163 * bison.simple: Comment change.
1164
1165 * bison.simple: Test _MSDOS_, not MSDOS.
1166
1167 1996-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
1184 1996-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
1199 1996-05-12 Richard Stallman <rms@gnu.org>
1200
1201 * src/bison.s1:
1202 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1203
1204 1996-05-12 Richard Stallman <rms@gnu.org>
1205
1206 * bison.simple:
1207 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1208
1209 1996-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
1215 1996-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
1223 1996-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
1229 1995-12-29 Richard Stallman <rms@gnu.org>
1230
1231 * src/bison.s1:
1232 Fix line numbers in #line commands.
1233
1234 1995-12-29 Richard Stallman <rms@gnu.org>
1235
1236 * bison.simple:
1237 Fix line numbers in #line commands.
1238
1239 1995-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
1246 1995-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
1253 1995-11-29 Richard Stallman <rms@gnu.org>
1254
1255 * doc/bison.texinfo:
1256 Describe literal string tokens, %raw, %no_lines, %token_table.
1257
1258 1995-11-29 Daniel Hagerty <hag@gnu.org>
1259
1260 * doc/bison.texinfo: Fixed update date
1261
1262 1995-10-16 Richard Stallman <rms@gnu.org>
1263
1264 * src/version.c: Version 1.25.
1265
1266 1995-10-16 Richard Stallman <rms@gnu.org>
1267
1268 * NEWS: *** empty log message ***
1269
1270 1995-10-16 Richard Stallman <rms@gnu.org>
1271
1272 * doc/bison.1, doc/bison.rnh:
1273 Add new options.
1274
1275 1995-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
1362 1995-06-01 Jim Meyering <meyering@gnu.org>
1363
1364 * doc/bison.texinfo: *** empty log message ***
1365
1366 1995-05-06 Richard Stallman <rms@gnu.org>
1367
1368 * src/bison.s1: Comment change.
1369
1370 1995-05-06 Richard Stallman <rms@gnu.org>
1371
1372 * bison.simple: Comment change.
1373
1374 1995-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
1382 1995-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
1388 1995-05-03 Richard Stallman <rms@gnu.org>
1389
1390 * bison.simple: Change distribution terms.
1391
1392 1995-02-23 Richard Stallman <rms@gnu.org>
1393
1394 * src/files.c: Test __VMS_POSIX as well as VMS.
1395
1396 1995-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
1403 1995-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
1410 1994-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
1423 1994-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
1430 1994-09-28 David J. MacKenzie <djm@gnu.org>
1431
1432 * Makefile.in: Set datadir to $(prefix)/share.
1433
1434 1994-09-15 Richard Stallman <rms@gnu.org>
1435
1436 * src/bison.s1:
1437 Update copyright notice and GPL version.
1438
1439 1994-09-15 Richard Stallman <rms@gnu.org>
1440
1441 * bison.simple:
1442 Update copyright notice and GPL version.
1443
1444 1994-07-12 Richard Stallman <rms@gnu.org>
1445
1446 * src/reduce.c, src/reader.c:
1447 entered into RCS
1448
1449 1994-05-05 David J. MacKenzie <djm@gnu.org>
1450
1451 * Makefile.in: entered into RCS
1452
1453 1994-03-26 Richard Stallman <rms@gnu.org>
1454
1455 * src/bison.s1: entered into RCS
1456
1457 1994-03-26 Richard Stallman <rms@gnu.org>
1458
1459 * bison.simple: entered into RCS
1460
1461 1994-03-25 Richard Stallman <rms@gnu.org>
1462
1463 * src/main.c: entered into RCS
1464
1465 1994-03-24 Richard Stallman <rms@gnu.org>
1466
1467 * src/conflicts.c: entered into RCS
1468
1469 1994-01-02 Richard Stallman <rms@gnu.org>
1470
1471 * Makefile.in: *** empty log message ***
1472
1473 1993-11-21 Richard Stallman <rms@gnu.org>
1474
1475 * src/bison.s1: *** empty log message ***
1476
1477 1993-11-21 Richard Stallman <rms@gnu.org>
1478
1479 * doc/bison.texinfo: entered into RCS
1480
1481 * doc/bison.texinfo: *** empty log message ***
1482
1483 1993-11-21 Richard Stallman <rms@gnu.org>
1484
1485 * bison.simple: *** empty log message ***
1486
1487 1993-10-25 David J. MacKenzie <djm@gnu.org>
1488
1489 * doc/bison.texinfo: *** empty log message ***
1490
1491 1993-10-19 Richard Stallman <rms@gnu.org>
1492
1493 * src/bison.s1: *** empty log message ***
1494
1495 1993-10-19 Richard Stallman <rms@gnu.org>
1496
1497 * bison.simple: *** empty log message ***
1498
1499 1993-10-14 Richard Stallman <rms@gnu.org>
1500
1501 * src/bison.s1: *** empty log message ***
1502
1503 1993-10-14 Richard Stallman <rms@gnu.org>
1504
1505 * bison.simple: *** empty log message ***
1506
1507 1993-09-14 David J. MacKenzie <djm@gnu.org>
1508
1509 * doc/bison.texinfo: *** empty log message ***
1510
1511 1993-09-13 Noah Friedman <friedman@gnu.org>
1512
1513 * Makefile.in: *** empty log message ***
1514
1515 1993-09-10 Richard Stallman <rms@gnu.org>
1516
1517 * src/conflicts.c: *** empty log message ***
1518
1519 * src/system.h: entered into RCS
1520
1521 1993-09-10 Richard Stallman <rms@gnu.org>
1522
1523 * doc/bison.1: entered into RCS
1524
1525 1993-09-06 Noah Friedman <friedman@gnu.org>
1526
1527 * src/version.c: entered into RCS
1528
1529 1993-09-06 Noah Friedman <friedman@gnu.org>
1530
1531 * Makefile.in: *** empty log message ***
1532
1533 1993-07-30 David J. MacKenzie <djm@gnu.org>
1534
1535 * Makefile.in: *** empty log message ***
1536
1537 1993-07-24 Richard Stallman <rms@gnu.org>
1538
1539 * src/bison.s1: *** empty log message ***
1540
1541 1993-07-24 Richard Stallman <rms@gnu.org>
1542
1543 * bison.simple: *** empty log message ***
1544
1545 1993-07-08 David J. MacKenzie <djm@gnu.org>
1546
1547 * Makefile.in: *** empty log message ***
1548
1549 1993-07-04 Richard Stallman <rms@gnu.org>
1550
1551 * src/bison.s1: *** empty log message ***
1552
1553 1993-07-04 Richard Stallman <rms@gnu.org>
1554
1555 * bison.simple: *** empty log message ***
1556
1557 1993-06-26 David J. MacKenzie <djm@gnu.org>
1558
1559 * src/getargs.c: entered into RCS
1560
1561 1993-06-26 David J. MacKenzie <djm@gnu.org>
1562
1563 * doc/bison.texinfo: *** empty log message ***
1564
1565 * doc/bison.1: New file.
1566
1567 1993-06-25 Richard Stallman <rms@gnu.org>
1568
1569 * src/getargs.c: New file.
1570
1571 1993-06-16 Richard Stallman <rms@gnu.org>
1572
1573 * src/bison.s1: *** empty log message ***
1574
1575 1993-06-16 Richard Stallman <rms@gnu.org>
1576
1577 * bison.simple: *** empty log message ***
1578
1579 1993-06-03 Richard Stallman <rms@gnu.org>
1580
1581 * src/bison.s1: New file.
1582
1583 1993-06-03 Richard Stallman <rms@gnu.org>
1584
1585 * doc/bison.texinfo: *** empty log message ***
1586
1587 1993-06-03 Richard Stallman <rms@gnu.org>
1588
1589 * bison.simple: New file.
1590
1591 1993-05-19 Richard Stallman <rms@gnu.org>
1592
1593 * doc/bison.texinfo: New file.
1594
1595 1993-05-07 Noah Friedman <friedman@gnu.org>
1596
1597 * Makefile.in: *** empty log message ***
1598
1599 1993-04-28 Noah Friedman <friedman@gnu.org>
1600
1601 * src/reader.c: *** empty log message ***
1602
1603 1993-04-23 Noah Friedman <friedman@gnu.org>
1604
1605 * src/alloc.h: entered into RCS
1606
1607 1993-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
1626 1993-04-18 Noah Friedman <friedman@gnu.org>
1627
1628 * src/reader.c: New file.
1629
1630 * src/version.c: *** empty log message ***
1631
1632 1993-04-18 Noah Friedman <friedman@gnu.org>
1633
1634 * Makefile.in: *** empty log message ***
1635
1636 1993-04-17 Noah Friedman <friedman@gnu.org>
1637
1638 * Makefile.in: *** empty log message ***
1639
1640 1993-04-15 Richard Stallman <rms@gnu.org>
1641
1642 * src/main.c, src/files.c:
1643 New file.
1644
1645 1993-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
1653 1993-04-14 Richard Stallman <rms@gnu.org>
1654
1655 * Makefile.in: New file.
1656
1657 1993-04-13 Richard Stallman <rms@gnu.org>
1658
1659 * src/version.c: New file.
1660
1661 1993-03-25 Richard Stallman <rms@gnu.org>
1662
1663 * src/output.c: entered into RCS
1664
1665 1992-09-25 Richard Stallman <rms@gnu.org>
1666
1667 * configure.bat: entered into RCS
1668
1669 1992-06-22 Richard Stallman <rms@gnu.org>
1670
1671 * src/vmsgetargs.c: entered into RCS
1672
1673 1992-06-22 Richard Stallman <rms@gnu.org>
1674
1675 * doc/bison.rnh: entered into RCS
1676
1677 1992-04-20 David J. MacKenzie <djm@gnu.org>
1678
1679 * README: entered into RCS
1680
1681 1992-01-22 Richard Stallman <rms@gnu.org>
1682
1683 * src/machine.h: entered into RCS
1684
1685 1991-12-21 Richard Stallman <rms@gnu.org>
1686
1687 * src/lalr.c, src/closure.c:
1688 entered into RCS
1689
1690 1991-12-20 Richard Stallman <rms@gnu.org>
1691
1692 * src/state.h: entered into RCS
1693
1694 1991-12-18 Richard Stallman <rms@gnu.org>
1695
1696 * src/print.c, src/nullable.c, src/derives.c:
1697 entered into RCS
1698
1699 1991-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
1704 1988-09-09 Richard Stallman <rms@gnu.org>
1705
1706 * src/bison.hairy: entered into RCS
1707
1708 1987-12-16 Richard Stallman <rms@gnu.org>
1709
1710 * REFERENCES: entered into RCS