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