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