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