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