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