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