]> git.saurik.com Git - bison.git/blame - ChangeLog
Remove the last uses of mktemp and unlink/delete.
[bison.git] / ChangeLog
CommitLineData
896fe5c1
AD
12000-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
dd60faec
AD
152000-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
8c7ebe49
AD
252000-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
77aee789
AD
352000-10-20 Akim Demaille <akim@epita.fr>
36
37 * lib/quote.h (PARAMS): New macro. Use it.
38
43591cec
AD
392000-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
1e9798d5
AD
452000-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
f282676b
AD
562000-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
550a72a3
AD
622000-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
131e2fef
AD
702000-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
79282c5a
AD
752000-10-16 Akim Demaille <akim@epita.fr>
76
77 * src/reader.c (copy_dollar): New function.
78 (copy_guard, copy_action): Use it.
79
ff4a34be
AD
802000-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
882000-10-04 Akim Demaille <akim@epita.fr>
89
90 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
91
14ded682
AD
922000-10-04 Akim Demaille <akim@epita.fr>
93
94 * doc/bison.texinfo: Various typos spotted by Neil Booth.
95
8e03724b
AD
962000-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
a9e64249
AD
1072000-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
da9abf43
AD
1132000-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
c33638bb
AD
1192000-10-02 Akim Demaille <akim@epita.fr>
120
121 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
122 options.
123
444c570a
AD
1242000-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
89cab50d
AD
1292000-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
d6c2cba0
AD
1522000-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
5a35a6cb
AD
1652000-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
71da9eea
AD
1972000-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
95e36146
AD
2092000-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
d7020c20
AD
2172000-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
1916f98e
AD
2302000-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
d7913476
AD
2362000-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
340ef489
AD
2542000-10-02 Akim Demaille <akim@epita.fr>
255
256 Various anti-`extern in *.c' changes.
257
258 * src/system.h: Include `assert.h'.
259
b2ca4022
AD
2602000-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
403b315b
AD
2722000-10-02 Akim Demaille <akim@epita.fr>
273
274 * src/LR0.h: New file.
275 Propagate its use.
276
07a58c13
AD
2772000-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
0619caf0
AD
2862000-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
3519ec76
AD
2952000-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
015acc48
AD
3012000-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
8963a27b
AD
3092000-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
a70083a3
AD
3182000-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
abadc117
AD
3262000-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
720d742f
AD
3342000-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
f2acea59
AD
3402000-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
d019d655
AD
3462000-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
6c89f1c1
AD
3632000-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
d9efd181
AD
3722000-09-21 Akim Demaille <akim@epita.fr>
373
374 * src/atgeneral.m4: Update from Autoconf.
375
c29240e7 3762000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
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
499daa50
AD
3892000-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
cc84fd5d
AD
3992000-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
db5b3a89
AD
4062000-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
ceed8467
AD
4142000-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
05a1d24b
AD
4312000-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
cbd25751
AD
4362000-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
13863333
AD
4422000-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
0d533154
AD
4482000-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
e79137ac
AD
4622000-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
27821bff
AD
4772000-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
cfe5fbc0
AD
4902000-03-31 Akim Demaille <akim@epita.fr>
491
492 * src/files.c (tryopen, tryclose): Move to the top.
493 Be static.
494
cb7db13e
AD
4952000-03-31 Akim Demaille <akim@epita.fr>
496
497 * src/main.c (main): Don't call `done', exit does it.
498
a0f6b076
AD
4992000-03-31 Akim Demaille <akim@epita.fr>
500
36281465
AD
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
5092000-03-31 Akim Demaille <akim@epita.fr>
510
511 Clean up the error reporting functions.
a0f6b076
AD
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
18539825
AD
5302000-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
9f306f2a
AD
5462000-03-28 Akim Demaille <akim@epita.fr>
547
548 * src/getargs.c (usage): Refresh the help message.
549
0ba347b6
AD
5502000-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
dbe7f271
AD
5562000-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
75bbe78d
AD
5612000-03-17 Akim Demaille <akim@epita.fr>
562
563 On syntax errors, report the token on which we choked.
564
aa5fd0ee
AD
565 * src/bison.s1 (yyparse): In the label yyerrlab, when
566 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 567
7b306f52
AD
5682000-03-17 Akim Demaille <akim@epita.fr>
569
aa5fd0ee 570 * src/reader.c (copy_at): New function.
7b306f52
AD
571 (copy_guard): Use it.
572 (copy_action): Use it.
573
e87b5700
AD
5742000-03-17 Akim Demaille <akim@epita.fr>
575
576 Be kind to translators, save some useless translations.
577
aa5fd0ee 578 * src/main.c (banner): New function.
e87b5700
AD
579 (fatal_banner): Use it.
580 (warn_banner): Use it.
581
ae3c3164
AD
5822000-03-17 Akim Demaille <akim@epita.fr>
583
aa5fd0ee
AD
584 * src/reader.c (copy_definition): Use copy_string and
585 copy_comment. Removed now unused `match', `ended',
586 `cplus_comment'.
ae3c3164
AD
587 (copy_comment, copy_string): Moved, to be visible from
588 copy_definition.
589
4dc58e7c
AD
5902000-03-17 Akim Demaille <akim@epita.fr>
591
aa5fd0ee
AD
592 * src/reader.c (copy_string): Declare `static inline'. No
593 problems with inline, since it is checked by configure.
4dc58e7c
AD
594 (copy_comment): Likewise.
595
0a6384c4
AD
5962000-03-17 Akim Demaille <akim@epita.fr>
597
aa5fd0ee 598 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 599
3cef001a
AD
6002000-03-17 Akim Demaille <akim@epita.fr>
601
aa5fd0ee 602 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
603 (copy_action): Use it. Removed now unused `match', `ended',
604 `cplus_comment'.
605 (copy_guard): Likewise.
606
ca36d2ef
AD
6072000-03-17 Akim Demaille <akim@epita.fr>
608
aa5fd0ee 609 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
610 (copy_action): Use it.
611 (copy_guard): Likewise.
612
6666f98f
AD
6132000-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
41aca2e0
AD
6332000-03-17 Akim Demaille <akim@epita.fr>
634
aa5fd0ee
AD
635 * src/bison.s1: Formatting and cosmetics changes.
636 * src/reader.c: Likewise.
41aca2e0
AD
637 Update the Copyright notice.
638
dc08c1d5
AD
6392000-03-17 Akim Demaille <akim@epita.fr>
640
aa5fd0ee
AD
641 * src/bison.s1 (#line): All set to `#line' only, since the
642 Makefile now handles them.
dc08c1d5 643
9ee3c97b
AD
6442000-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
0de741ca
AD
6512000-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
bb10be54
AD
6582000-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
b07b484a
AD
6632000-03-16 Akim Demaille <akim@epita.fr>
664
665 * src/bison.s1: Properly indent CPP directives.
666
361f60b3
AD
6672000-03-16 Akim Demaille <akim@epita.fr>
668
669 * src/bison.s1: Properly indent the `alloca' CPP section.
670
8c44d3ec
AD
6712000-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
f95997e7
AD
7022000-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
7091999-12-13 Jesse Thilo <jthilo@gnu.org>
710
711 * src/files.c:
712 OS/2 honors TMPDIR environment variable.
713
7141999-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
7211999-12-13 Jesse Thilo <jthilo@gnu.org>
722
723 * configure.in, NEWS:
724 Bison 1.29 released.
725
7261999-10-27 Jesse Thilo <jthilo@gnu.org>
727
728 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
729 Added reference card.
730
7311999-07-26 Jesse Thilo <jthilo@gnu.org>
732
733 * po/ru.po: Added Russian translation.
734
7351999-07-26 Jesse Thilo <jthilo@gnu.org>
736
737 * configure.in: Added Russian translation.
738
7391999-07-06 Jesse Thilo <jthilo@gnu.org>
740
741 * configure.in, NEWS, README:
742 Released version 1.28.
743
7441999-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
7531999-06-14 Jesse Thilo <jthilo@gnu.org>
754
755 * po/POTFILES.in: Got rid of version.c.
756
7571999-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
7631999-06-08 Jesse Thilo <jthilo@gnu.org>
764
765 * doc/bison.1:
766 Dropped mention of `+' for long-named options.
767
7681999-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
7751999-05-30 Jesse Thilo <jthilo@gnu.org>
776
777 * README: Added a FAQ list.
778
779 * configure.in, acconfig.h:
780 I18n fixes.
781
7821999-05-30 Jesse Thilo <jthilo@gnu.org>
783
784 * doc/FAQ, doc/Makefile.am:
785 Added a FAQ list.
786
7871999-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
7921999-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
8011999-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
8061999-04-18 Jesse Thilo <jthilo@gnu.org>
807
808 * doc/.cvsignore, doc/Makefile.am:
809 Reorganized: sources in `src', documentation in `doc'.
810
8111999-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
8191999-04-13 Jesse Thilo <jthilo@gnu.org>
820
821 * src/allocate.c:
822 Don't declare calloc() and realloc() if not necessary.
823
8241999-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
8291999-03-23 Jesse Thilo <jthilo@gnu.org>
830
831 * po/.cvsignore: Added i18n support.
832
8331999-03-23 Jesse Thilo <jthilo@gnu.org>
834
835 * acconfig.h, configure.in, Makefile.am:
836 Added i18n support.
837
8381999-03-22 Jesse Thilo <jthilo@gnu.org>
839
840 * src/bison.s1: Fixed #line numbers.
841
8421999-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
8471999-03-03 Jesse Thilo <jthilo@gnu.org>
848
849 * Makefile.am:
850 Added support for non-ANSI compilers (ansi2knr).
851
8521999-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
8591999-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
8641999-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
8691999-02-09 Jesse Thilo <jthilo@gnu.org>
870
871 * Makefile.am:
872 Removed inappropriate use of $< macro.
873
8741999-02-05 Jesse Thilo <jthilo@gnu.org>
875
876 * po/Makefile.in.in, po/POTFILES.in:
877 Add `po' directory skeleton.
878
8791999-01-27 Jesse Thilo <jthilo@gnu.org>
880
881 * README: Document help-bison list.
882
883 * configure.in: Add check for mkstemp().
884
8851999-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
8941999-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
9001999-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
9051999-01-14 Jesse Thilo <jthilo@gnu.org>
906
907 * doc/bison.texinfo: Fix formatting glitch.
908
909 * doc/bison.texinfo: Update FSF address.
910
9111999-01-14 Jesse Thilo <jthilo@gnu.org>
912
913 * acconfig.h: Update FSF address.
914
9151999-01-08 Jesse Thilo <jthilo@gnu.org>
916
917 * src/system.h:
918 Don't define PACKAGE here, since config.h defines it.
919
9201998-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
9431998-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
9491998-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
9611998-12-29 Jesse Thilo <jthilo@gnu.org>
962
963 * src/version.c:
964 Use VERSION symbol from automake for version number.
965
9661998-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
9711998-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
9771998-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
9841998-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
9891998-11-26 Jesse Thilo <jthilo@gnu.org>
990
991 * doc/bison.1:
992 Document the BISON_HAIRY and BISON_SIMPLE variables.
993
9941998-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
10081998-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
10261998-11-25 Jesse Thilo <jthilo@gnu.org>
1027
1028 * doc/bison.texinfo: Clean up some formatting.
1029
10301998-05-05 Richard Stallman <rms@gnu.org>
1031
1032 * doc/bison.texinfo:
1033 Explain better why to make a pure parser.
1034
10351998-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
10421997-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
10491997-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
10561997-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
10641997-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
10731997-06-18 Richard Stallman <rms@gnu.org>
1074
1075 * Makefile.in: new.h renamed to alloc.h.
1076
10771997-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
10851997-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
10951997-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
11051997-04-23 Richard Stallman <rms@gnu.org>
1106
1107 * src/bison.s1:
1108 (alloca) [__hpux]: Always define as __builtin_alloca.
1109
11101997-04-23 Richard Stallman <rms@gnu.org>
1111
1112 * bison.simple:
1113 (alloca) [__hpux]: Always define as __builtin_alloca.
1114
11151997-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
11251997-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
11351997-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
11401997-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
11491997-01-02 Richard Stallman <rms@gnu.org>
1150
1151 * Makefile.in (dist):
1152 Explicitly check for symlinks, and copy them.
1153
11541996-12-19 Richard Stallman <rms@gnu.org>
1155
1156 * src/files.c:
1157 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1158
11591996-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
11651996-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
11711996-12-17 Richard Stallman <rms@gnu.org>
1172
1173 * src/reduce.c (nbits): Add some casts.
1174
11751996-08-12 Richard Stallman <rms@gnu.org>
1176
1177 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1178
11791996-08-12 Richard Stallman <rms@gnu.org>
1180
1181 * bison.simple: Test _MSDOS as well as _MSDOS_.
1182
11831996-07-31 Richard Stallman <rms@gnu.org>
1184
1185 * src/bison.s1:
1186 [__sun && __i386]: Include alloca.h.
1187
11881996-07-31 Richard Stallman <rms@gnu.org>
1189
1190 * bison.simple:
1191 [__sun && __i386]: Include alloca.h.
1192
11931996-07-30 Richard Stallman <rms@gnu.org>
1194
1195 * src/bison.s1: Comment change.
1196
1197 * src/bison.s1: Test _MSDOS_, not MSDOS.
1198
11991996-07-30 Richard Stallman <rms@gnu.org>
1200
1201 * bison.simple: Comment change.
1202
1203 * bison.simple: Test _MSDOS_, not MSDOS.
1204
12051996-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
12221996-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
12371996-05-12 Richard Stallman <rms@gnu.org>
1238
1239 * src/bison.s1:
1240 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1241
12421996-05-12 Richard Stallman <rms@gnu.org>
1243
1244 * bison.simple:
1245 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1246
12471996-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
12531996-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
12611996-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
12671995-12-29 Richard Stallman <rms@gnu.org>
1268
1269 * src/bison.s1:
1270 Fix line numbers in #line commands.
1271
12721995-12-29 Richard Stallman <rms@gnu.org>
1273
1274 * bison.simple:
1275 Fix line numbers in #line commands.
1276
12771995-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
12841995-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
12911995-11-29 Richard Stallman <rms@gnu.org>
1292
1293 * doc/bison.texinfo:
1294 Describe literal string tokens, %raw, %no_lines, %token_table.
1295
12961995-11-29 Daniel Hagerty <hag@gnu.org>
1297
1298 * doc/bison.texinfo: Fixed update date
1299
13001995-10-16 Richard Stallman <rms@gnu.org>
1301
1302 * src/version.c: Version 1.25.
1303
13041995-10-16 Richard Stallman <rms@gnu.org>
1305
1306 * NEWS: *** empty log message ***
1307
13081995-10-16 Richard Stallman <rms@gnu.org>
1309
1310 * doc/bison.1, doc/bison.rnh:
1311 Add new options.
1312
13131995-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
14001995-06-01 Jim Meyering <meyering@gnu.org>
1401
1402 * doc/bison.texinfo: *** empty log message ***
1403
14041995-05-06 Richard Stallman <rms@gnu.org>
1405
1406 * src/bison.s1: Comment change.
1407
14081995-05-06 Richard Stallman <rms@gnu.org>
1409
1410 * bison.simple: Comment change.
1411
14121995-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
14201995-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
14261995-05-03 Richard Stallman <rms@gnu.org>
1427
1428 * bison.simple: Change distribution terms.
1429
14301995-02-23 Richard Stallman <rms@gnu.org>
1431
1432 * src/files.c: Test __VMS_POSIX as well as VMS.
1433
14341995-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
14411995-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
14481994-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
14611994-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
14681994-09-28 David J. MacKenzie <djm@gnu.org>
1469
1470 * Makefile.in: Set datadir to $(prefix)/share.
1471
14721994-09-15 Richard Stallman <rms@gnu.org>
1473
1474 * src/bison.s1:
1475 Update copyright notice and GPL version.
1476
14771994-09-15 Richard Stallman <rms@gnu.org>
1478
1479 * bison.simple:
1480 Update copyright notice and GPL version.
1481
14821994-07-12 Richard Stallman <rms@gnu.org>
1483
1484 * src/reduce.c, src/reader.c:
1485 entered into RCS
1486
14871994-05-05 David J. MacKenzie <djm@gnu.org>
1488
1489 * Makefile.in: entered into RCS
1490
14911994-03-26 Richard Stallman <rms@gnu.org>
1492
1493 * src/bison.s1: entered into RCS
1494
14951994-03-26 Richard Stallman <rms@gnu.org>
1496
1497 * bison.simple: entered into RCS
1498
14991994-03-25 Richard Stallman <rms@gnu.org>
1500
1501 * src/main.c: entered into RCS
1502
15031994-03-24 Richard Stallman <rms@gnu.org>
1504
1505 * src/conflicts.c: entered into RCS
1506
15071994-01-02 Richard Stallman <rms@gnu.org>
1508
1509 * Makefile.in: *** empty log message ***
1510
15111993-11-21 Richard Stallman <rms@gnu.org>
1512
1513 * src/bison.s1: *** empty log message ***
1514
15151993-11-21 Richard Stallman <rms@gnu.org>
1516
1517 * doc/bison.texinfo: entered into RCS
1518
1519 * doc/bison.texinfo: *** empty log message ***
1520
15211993-11-21 Richard Stallman <rms@gnu.org>
1522
1523 * bison.simple: *** empty log message ***
1524
15251993-10-25 David J. MacKenzie <djm@gnu.org>
1526
1527 * doc/bison.texinfo: *** empty log message ***
1528
15291993-10-19 Richard Stallman <rms@gnu.org>
1530
1531 * src/bison.s1: *** empty log message ***
1532
15331993-10-19 Richard Stallman <rms@gnu.org>
1534
1535 * bison.simple: *** empty log message ***
1536
15371993-10-14 Richard Stallman <rms@gnu.org>
1538
1539 * src/bison.s1: *** empty log message ***
1540
15411993-10-14 Richard Stallman <rms@gnu.org>
1542
1543 * bison.simple: *** empty log message ***
1544
15451993-09-14 David J. MacKenzie <djm@gnu.org>
1546
1547 * doc/bison.texinfo: *** empty log message ***
1548
15491993-09-13 Noah Friedman <friedman@gnu.org>
1550
1551 * Makefile.in: *** empty log message ***
1552
15531993-09-10 Richard Stallman <rms@gnu.org>
1554
1555 * src/conflicts.c: *** empty log message ***
1556
1557 * src/system.h: entered into RCS
1558
15591993-09-10 Richard Stallman <rms@gnu.org>
1560
1561 * doc/bison.1: entered into RCS
1562
15631993-09-06 Noah Friedman <friedman@gnu.org>
1564
1565 * src/version.c: entered into RCS
1566
15671993-09-06 Noah Friedman <friedman@gnu.org>
1568
1569 * Makefile.in: *** empty log message ***
1570
15711993-07-30 David J. MacKenzie <djm@gnu.org>
1572
1573 * Makefile.in: *** empty log message ***
1574
15751993-07-24 Richard Stallman <rms@gnu.org>
1576
1577 * src/bison.s1: *** empty log message ***
1578
15791993-07-24 Richard Stallman <rms@gnu.org>
1580
1581 * bison.simple: *** empty log message ***
1582
15831993-07-08 David J. MacKenzie <djm@gnu.org>
1584
1585 * Makefile.in: *** empty log message ***
1586
15871993-07-04 Richard Stallman <rms@gnu.org>
1588
1589 * src/bison.s1: *** empty log message ***
1590
15911993-07-04 Richard Stallman <rms@gnu.org>
1592
1593 * bison.simple: *** empty log message ***
1594
15951993-06-26 David J. MacKenzie <djm@gnu.org>
1596
1597 * src/getargs.c: entered into RCS
1598
15991993-06-26 David J. MacKenzie <djm@gnu.org>
1600
1601 * doc/bison.texinfo: *** empty log message ***
1602
1603 * doc/bison.1: New file.
1604
16051993-06-25 Richard Stallman <rms@gnu.org>
1606
1607 * src/getargs.c: New file.
1608
16091993-06-16 Richard Stallman <rms@gnu.org>
1610
1611 * src/bison.s1: *** empty log message ***
1612
16131993-06-16 Richard Stallman <rms@gnu.org>
1614
1615 * bison.simple: *** empty log message ***
1616
16171993-06-03 Richard Stallman <rms@gnu.org>
1618
1619 * src/bison.s1: New file.
1620
16211993-06-03 Richard Stallman <rms@gnu.org>
1622
1623 * doc/bison.texinfo: *** empty log message ***
1624
16251993-06-03 Richard Stallman <rms@gnu.org>
1626
1627 * bison.simple: New file.
1628
16291993-05-19 Richard Stallman <rms@gnu.org>
1630
1631 * doc/bison.texinfo: New file.
1632
16331993-05-07 Noah Friedman <friedman@gnu.org>
1634
1635 * Makefile.in: *** empty log message ***
1636
16371993-04-28 Noah Friedman <friedman@gnu.org>
1638
1639 * src/reader.c: *** empty log message ***
1640
16411993-04-23 Noah Friedman <friedman@gnu.org>
1642
1643 * src/alloc.h: entered into RCS
1644
16451993-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
16641993-04-18 Noah Friedman <friedman@gnu.org>
1665
1666 * src/reader.c: New file.
1667
1668 * src/version.c: *** empty log message ***
1669
16701993-04-18 Noah Friedman <friedman@gnu.org>
1671
1672 * Makefile.in: *** empty log message ***
1673
16741993-04-17 Noah Friedman <friedman@gnu.org>
1675
1676 * Makefile.in: *** empty log message ***
1677
16781993-04-15 Richard Stallman <rms@gnu.org>
1679
1680 * src/main.c, src/files.c:
1681 New file.
1682
16831993-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
16911993-04-14 Richard Stallman <rms@gnu.org>
1692
1693 * Makefile.in: New file.
1694
16951993-04-13 Richard Stallman <rms@gnu.org>
1696
1697 * src/version.c: New file.
1698
16991993-03-25 Richard Stallman <rms@gnu.org>
1700
1701 * src/output.c: entered into RCS
1702
17031992-09-25 Richard Stallman <rms@gnu.org>
1704
1705 * configure.bat: entered into RCS
1706
17071992-06-22 Richard Stallman <rms@gnu.org>
1708
1709 * src/vmsgetargs.c: entered into RCS
1710
17111992-06-22 Richard Stallman <rms@gnu.org>
1712
1713 * doc/bison.rnh: entered into RCS
1714
17151992-04-20 David J. MacKenzie <djm@gnu.org>
1716
1717 * README: entered into RCS
1718
17191992-01-22 Richard Stallman <rms@gnu.org>
1720
1721 * src/machine.h: entered into RCS
1722
17231991-12-21 Richard Stallman <rms@gnu.org>
1724
1725 * src/lalr.c, src/closure.c:
1726 entered into RCS
1727
17281991-12-20 Richard Stallman <rms@gnu.org>
1729
1730 * src/state.h: entered into RCS
1731
17321991-12-18 Richard Stallman <rms@gnu.org>
1733
1734 * src/print.c, src/nullable.c, src/derives.c:
1735 entered into RCS
1736
17371991-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
17421988-09-09 Richard Stallman <rms@gnu.org>
1743
1744 * src/bison.hairy: entered into RCS
1745
17461987-12-16 Richard Stallman <rms@gnu.org>
1747
1748 * REFERENCES: entered into RCS