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