]> git.saurik.com Git - bison.git/blob - ChangeLog
a3b6d1061a563597b4162dbae9a8d35c82a65750
[bison.git] / ChangeLog
1 2000-09-19 Akim Demaille <akim@epita.fr>
2
3 * src/output.c: Formatting changes.
4 * src/machine.h: Remove, leaving its contents in...
5 * src/system.h: here.
6 Include stdio.h.
7 Adjust all dependencies on stdio.h and machine.h.
8 * src/getargs.h: New file.
9 Let all `extern' declarations about getargs.c be replaced with
10 inclusion of `getargs.h'.
11 * src/Makefile.am (noinst_HEADERS): Adjust.
12
13 * tests/calc.m4 (yyin): Be initialized in main, not on the global
14 scope.
15 (yyerror): Returns void, not int.
16 * doc/bison.texinfo: Formatting changes.
17
18 2000-09-19 Akim Demaille <akim@epita.fr>
19
20 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
21 portable.
22
23 2000-09-18 Akim Demaille <akim@epita.fr>
24
25 * configure.in: Append WARNING_CFLAGS to CFLAGS.
26 * src/Makefile.am (INCLUDES): Don't.
27 Be ready to fetch headers in lib/.
28
29 2000-09-18 Akim Demaille <akim@epita.fr>
30
31 * doc/bison.texinfo: Update the copyright.
32 ANSIfy and GNUify the examples.
33 Remove the old menu.
34
35 2000-09-18 Akim Demaille <akim@epita.fr>
36
37 First set of tests: use the `calc' example from the documentation.
38
39 * src/bison.s1 (yyparse): Condition the code using `yytname' which
40 is defined only when YYDEBUG is.
41 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
42 * src/files.c (tryopen, tryclose): Formatting changes.
43 Move to the top and be static.
44 * src/reader.c (read_signed_integer): Likewise.
45 * tests/calc.m4: New file.
46 * Makefile.am, suite.m4: Adjust.
47 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
48
49 2000-09-18 Akim Demaille <akim@epita.fr>
50
51 Add support for an Autotest test suite for Bison.
52
53 * m4/m4.m4, m4/atconfig.m4: New files.
54 * m4/Makefile.am (EXTRA_DIST): Adjust.
55 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
56 files.
57 * src/getargs.c: Display a more standard --version message.
58 * src/reader.c (reader): Formatting changes.
59 No longer depend upon VERSION_STRING.
60 * configure.in: No longer use `dnl'.
61 Set up the test suite and the new directory `tests/.
62 (VERSION_STRING): Remove.
63
64 2000-04-14 Akim Demaille <akim@epita.fr>
65
66 * src/reader.c (copy_comment2): New function, same as former
67 `copy_comment', but outputs into two FILE *.
68 (copy_comment): Use it.
69 (parse_union_decl): Use it.
70 (get_type, parse_start_decl): Use the same `invalid' message.
71 (parse_start_decl, parse_union_decl): Use the same `multiple'
72 message.
73 (parse_union_decl, copy_guard, copy_action): Use the same
74 `unmatched' message.
75 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
76
77 2000-03-31 Akim Demaille <akim@epita.fr>
78
79 * src/files.c (tryopen, tryclose): Move to the top.
80 Be static.
81
82 2000-03-31 Akim Demaille <akim@epita.fr>
83
84 * src/main.c (main): Don't call `done', exit does it.
85
86 2000-03-31 Akim Demaille <akim@epita.fr>
87
88 * allocate.c: s/return (foo)/return foo/.
89 * lalr.c: Likewise.
90 * LR0.c: Likewise.
91 * output.c: Likewise.
92 * reader.c: Likewise.
93 * symtab.c: Likewise.
94 * vmsgetargs.c: Likewise.
95
96 2000-03-31 Akim Demaille <akim@epita.fr>
97
98 Clean up the error reporting functions.
99
100 * src/report.c: New file.
101 * src/report.h: Likewise.
102 * src/Makefile.am: Adjust.
103 * m4/error.m4: New file.
104 * m4/Makefile.am: Adjust.
105 * configure.in (jm_PREREQ_ERROR): Call it.
106 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
107 Remove.
108 (fatal, fatals): Remove. All callers use complain.c::fatal.
109 (warn, warni, warns, warnss, warnss): Remove. All callers use
110 complain.c::complain.
111 (toomany): Remove, use fatal instead.
112 * src/files.c (done): No argument, use complain_message_count.
113 * src/main.c (main): Register `done' to `atexit'.
114
115 * src/getargs.c (usage): More `fputs', less `fprintf'.
116
117 2000-03-28 Akim Demaille <akim@epita.fr>
118
119 * lib/: New directory.
120 * Makefile.am (SUBDIRS): Adjust.
121 * configure.in: Adjust.
122 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
123 useless.
124 * src/alloca.c: Moved to lib/.
125 * src/getopt.c: Likewise.
126 * src/getopt1.c: Likewise.
127 * src/getopt.h: Likewise.
128 * src/ansi2knr.c: Likewise.
129 * src/ansi2knr.1: Likewise.
130 * src/Makefile.am: Adjust.
131 * lib/Makefile.am: New file.
132
133 2000-03-28 Akim Demaille <akim@epita.fr>
134
135 * src/getargs.c (usage): Refresh the help message.
136
137 2000-03-17 Akim Demaille <akim@epita.fr>
138
139 * src/getopt1.c: Updated from textutils 2.0e
140 * src/getopt.c: Likewise.
141 * src/getopt.h: Likewise.
142
143 2000-03-17 Akim Demaille <akim@epita.fr>
144
145 * src/Makefile.am (bison.simple): Fix the awk program: quote only
146 the file name, not the whole `#line LINE FILE'.
147
148 2000-03-17 Akim Demaille <akim@epita.fr>
149
150 On syntax errors, report the token on which we choked.
151
152 * src/bison.s1 (yyparse): In the label yyerrlab, when
153 YYERROR_VERBOSE, add yychar in msg.
154
155 2000-03-17 Akim Demaille <akim@epita.fr>
156
157 * src/reader.c (copy_at): New function.
158 (copy_guard): Use it.
159 (copy_action): Use it.
160
161 2000-03-17 Akim Demaille <akim@epita.fr>
162
163 Be kind to translators, save some useless translations.
164
165 * src/main.c (banner): New function.
166 (fatal_banner): Use it.
167 (warn_banner): Use it.
168
169 2000-03-17 Akim Demaille <akim@epita.fr>
170
171 * src/reader.c (copy_definition): Use copy_string and
172 copy_comment. Removed now unused `match', `ended',
173 `cplus_comment'.
174 (copy_comment, copy_string): Moved, to be visible from
175 copy_definition.
176
177 2000-03-17 Akim Demaille <akim@epita.fr>
178
179 * src/reader.c (copy_string): Declare `static inline'. No
180 problems with inline, since it is checked by configure.
181 (copy_comment): Likewise.
182
183 2000-03-17 Akim Demaille <akim@epita.fr>
184
185 * src/reader.c (packsymbols): Formatting changes.
186
187 2000-03-17 Akim Demaille <akim@epita.fr>
188
189 * src/reader.c (copy_comment): New function, factored out from:
190 (copy_action): Use it. Removed now unused `match', `ended',
191 `cplus_comment'.
192 (copy_guard): Likewise.
193
194 2000-03-17 Akim Demaille <akim@epita.fr>
195
196 * src/reader.c (copy_string): New function, factored out from:
197 (copy_action): Use it.
198 (copy_guard): Likewise.
199
200 2000-03-17 Akim Demaille <akim@epita.fr>
201
202 Change the handling of @s so that they behave exactly like $s.
203 There is now a pseudo variable @$ (readble and writable), location
204 of the lhs of the rule (by default ranging from the location of
205 the first symbol of the rhs, to the location of the last symbol,
206 or, if the rhs is empty, YYLLOC).
207
208 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
209 yyval.
210 (yyparse): When providing a default semantic action, provide a
211 default location action.
212 (after the $): No longer change `*YYLSP', just stack YYLOC the
213 same way you stack YYVAL.
214 * src/reader.c (read_declarations): Use warns.
215 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
216 (copy_action, case '@'): Likewise.
217 Use a standard error message, to save useless work from
218 translators.
219
220 2000-03-17 Akim Demaille <akim@epita.fr>
221
222 * src/bison.s1: Formatting and cosmetics changes.
223 * src/reader.c: Likewise.
224 Update the Copyright notice.
225
226 2000-03-17 Akim Demaille <akim@epita.fr>
227
228 * src/bison.s1 (#line): All set to `#line' only, since the
229 Makefile now handles them.
230
231 2000-03-16 Akim Demaille <akim@epita.fr>
232
233 * src/output.c (output_rule_data): Output the documentation of
234 some of the tables.
235 (Copyright notice): Update.
236 Formatting changes.
237
238 2000-03-16 Akim Demaille <akim@epita.fr>
239
240 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
241 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
242 One `#if YYDEBUG' remains, since it uses variables which are
243 defined only if `YYDEBUG != 0'.
244
245 2000-03-16 Akim Demaille <akim@epita.fr>
246
247 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
248 and related variables so that the similarities are highlighted.
249
250 2000-03-16 Akim Demaille <akim@epita.fr>
251
252 * src/bison.s1: Properly indent CPP directives.
253
254 2000-03-16 Akim Demaille <akim@epita.fr>
255
256 * src/bison.s1: Properly indent the `alloca' CPP section.
257
258 2000-03-16 Akim Demaille <akim@epita.fr>
259
260 Do not hard code values of directories in `configure.in'.
261 Update the `configure' tool chain.
262
263 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
264 src/makefile.am.
265 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
266 (AC_OUTPUT): Add m4/Makefile.
267 Bump to bison 1.28a, 1.29 has never been released.
268 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
269 handled via src/Makefile.am.
270 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
271 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
272 autoheader.
273 * Makefile.am (SUBDIRS): Add m4.
274 (ACLOCAL_AM_FLAGS): New variable.
275 (AUTOMAKE_OPTIONS): Add check-news.
276 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
277 the proper line number and file name.
278 (DEFS): Propagate the location of bison library files and of the
279 locale files.
280 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
281 builddir.
282 * acinclude.m4: Remove, replaced by the directory m4.
283 * m4/Makefile.am (EXTRA_DIST): New variable.
284 * m4/gettext.m4: New file, from the fileutils.
285 * m4/lcmessage.m4: Likewise
286 * m4/progtest.m4: Likewise.
287 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
288
289 2000-03-10 Akim Demaille <akim@epita.fr>
290
291 * src/closure.c:
292 Formatting changes of various comments.
293 Respect the GNU coding standards at various places.
294 Don't use `_()' when no translation is needed.
295
296 1999-12-13 Jesse Thilo <jthilo@gnu.org>
297
298 * src/files.c:
299 OS/2 honors TMPDIR environment variable.
300
301 1999-12-13 Jesse Thilo <jthilo@gnu.org>
302
303 * doc/bison.texinfo: Tweaked spelling and grammar.
304 Updated ISBN.
305 Removed reference to price of printed copy.
306 Mention BISON_SIMPLE and BISON_HAIRY.
307
308 1999-12-13 Jesse Thilo <jthilo@gnu.org>
309
310 * configure.in, NEWS:
311 Bison 1.29 released.
312
313 1999-10-27 Jesse Thilo <jthilo@gnu.org>
314
315 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
316 Added reference card.
317
318 1999-07-26 Jesse Thilo <jthilo@gnu.org>
319
320 * po/ru.po: Added Russian translation.
321
322 1999-07-26 Jesse Thilo <jthilo@gnu.org>
323
324 * configure.in: Added Russian translation.
325
326 1999-07-06 Jesse Thilo <jthilo@gnu.org>
327
328 * configure.in, NEWS, README:
329 Released version 1.28.
330
331 1999-06-14 Jesse Thilo <jthilo@gnu.org>
332
333 * src/system.h:
334 Squashed redefinition warning on some systems.
335
336 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
337 Have configure build version string instead of relying on ANSI string
338 concatentation.
339
340 1999-06-14 Jesse Thilo <jthilo@gnu.org>
341
342 * po/POTFILES.in: Got rid of version.c.
343
344 1999-06-14 Jesse Thilo <jthilo@gnu.org>
345
346 * acconfig.h, configure.in:
347 Have configure build version string instead of relying on ANSI string
348 concatentation.
349
350 1999-06-08 Jesse Thilo <jthilo@gnu.org>
351
352 * doc/bison.1:
353 Dropped mention of `+' for long-named options.
354
355 1999-05-30 Jesse Thilo <jthilo@gnu.org>
356
357 * src/files.c: Added <unistd.h> for unlink().
358
359 * src/Makefile.am, src/system.h:
360 I18n fixes.
361
362 1999-05-30 Jesse Thilo <jthilo@gnu.org>
363
364 * README: Added a FAQ list.
365
366 * configure.in, acconfig.h:
367 I18n fixes.
368
369 1999-05-30 Jesse Thilo <jthilo@gnu.org>
370
371 * doc/FAQ, doc/Makefile.am:
372 Added a FAQ list.
373
374 1999-05-19 Jesse Thilo <jthilo@gnu.org>
375
376 * src/alloc.h, src/symtab.h, src/version.c:
377 Protected inclusion of "config.h" with HAVE_CONFIG_H.
378
379 1999-04-18 Jesse Thilo <jthilo@gnu.org>
380
381 * src/.cvsignore, src/Makefile.am:
382 Reorganized: sources in `src', documentation in `doc'.
383
384 * src/lex.c (literalchar):
385 fixed the code for escaping double quotes (thanks
386 Jonathan Czisny.)
387
388 1999-04-18 Jesse Thilo <jthilo@gnu.org>
389
390 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
391 Adjusted paths to reflect directory reorganization.
392
393 1999-04-18 Jesse Thilo <jthilo@gnu.org>
394
395 * doc/.cvsignore, doc/Makefile.am:
396 Reorganized: sources in `src', documentation in `doc'.
397
398 1999-04-18 Jesse Thilo <jthilo@gnu.org>
399
400 * configure.in:
401 Updated AC_INIT file to reflect directory reorganization.
402
403 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
404 Reorganized: sources in `src', documentation in `doc'.
405
406 1999-04-13 Jesse Thilo <jthilo@gnu.org>
407
408 * src/allocate.c:
409 Don't declare calloc() and realloc() if not necessary.
410
411 1999-04-13 Jesse Thilo <jthilo@gnu.org>
412
413 * configure.in, acconfig.h, acinclude.m4:
414 Don't declare calloc() and realloc() if not necessary.
415
416 1999-03-23 Jesse Thilo <jthilo@gnu.org>
417
418 * po/.cvsignore: Added i18n support.
419
420 1999-03-23 Jesse Thilo <jthilo@gnu.org>
421
422 * acconfig.h, configure.in, Makefile.am:
423 Added i18n support.
424
425 1999-03-22 Jesse Thilo <jthilo@gnu.org>
426
427 * src/bison.s1: Fixed #line numbers.
428
429 1999-03-15 Jesse Thilo <jthilo@gnu.org>
430
431 * po/es.po, po/fr.po, po/nl.po, po/de.po:
432 Added PO files from Translation Project.
433
434 1999-03-03 Jesse Thilo <jthilo@gnu.org>
435
436 * Makefile.am:
437 Added support for non-ANSI compilers (ansi2knr).
438
439 1999-02-16 Jesse Thilo <jthilo@gnu.org>
440
441 * configure.in: Bumped version number to 1.27.
442
443 * Makefile.am:
444 Added `bison.simple' to list of files removed by `make distclean'.
445
446 1999-02-12 Jesse Thilo <jthilo@gnu.org>
447
448 * src/files.c, src/files.h:
449 Defined locations of parser files in config.h instead of Makefile.
450
451 1999-02-12 Jesse Thilo <jthilo@gnu.org>
452
453 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
454 Defined locations of parser files in config.h instead of Makefile.
455
456 1999-02-09 Jesse Thilo <jthilo@gnu.org>
457
458 * Makefile.am:
459 Removed inappropriate use of $< macro.
460
461 1999-02-05 Jesse Thilo <jthilo@gnu.org>
462
463 * po/Makefile.in.in, po/POTFILES.in:
464 Add `po' directory skeleton.
465
466 1999-01-27 Jesse Thilo <jthilo@gnu.org>
467
468 * README: Document help-bison list.
469
470 * configure.in: Add check for mkstemp().
471
472 1999-01-20 Jesse Thilo <jthilo@gnu.org>
473
474 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
475 Hush a few compiler warnings.
476
477 * src/files.c:
478 Add tryclose(), which verifies that fclose was successful.
479 Hush a couple of compiler warnings.
480
481 1999-01-20 Jesse Thilo <jthilo@gnu.org>
482
483 * Makefile.am, OChangeLog:
484 ChangeLog is now automatically generated. Include the old version as
485 OChangeLog.
486
487 1999-01-14 Jesse Thilo <jthilo@gnu.org>
488
489 * 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:
490 Update FSF address.
491
492 1999-01-14 Jesse Thilo <jthilo@gnu.org>
493
494 * doc/bison.texinfo: Fix formatting glitch.
495
496 * doc/bison.texinfo: Update FSF address.
497
498 1999-01-14 Jesse Thilo <jthilo@gnu.org>
499
500 * acconfig.h: Update FSF address.
501
502 1999-01-08 Jesse Thilo <jthilo@gnu.org>
503
504 * src/system.h:
505 Don't define PACKAGE here, since config.h defines it.
506
507 1998-12-30 Jesse Thilo <jthilo@gnu.org>
508
509 * src/reader.c: Update copyright date.
510
511 * src/main.c:
512 Ditch sprintf to statically-sized buffers in fatal/warn functions in
513 favor of output directly to stderr (avoids buffer overruns).
514
515 * src/reader.c: Some checks for premature EOF.
516
517 * 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:
518 Use prototypes if the compiler understands them.
519
520 * src/files.c: Honor TMPDIR on Unix hosts.
521 Use prototypes if the compiler understands them.
522
523 * src/reader.c:
524 Fix a couple of buffer overrun bugs.
525 Use prototypes if the compiler understands them.
526
527 * src/system.h: Include unistd.h and ctype.h.
528 Use #ifdef instead of #if for NLS symbols.
529
530 1998-12-30 Jesse Thilo <jthilo@gnu.org>
531
532 * doc/bison.texinfo:
533 Delete comment "consider using @set for edition number, etc..." since
534 we now are doing so.
535
536 1998-12-30 Jesse Thilo <jthilo@gnu.org>
537
538 * configure.in:
539 Use prototypes if the compiler understands them.
540
541 * NEWS: Document 1.26 highlights.
542
543 * Makefile.am: Require Automake 1.3 or later.
544
545 * acconfig.h:
546 Use prototypes if the compiler understands them.
547
548 1998-12-29 Jesse Thilo <jthilo@gnu.org>
549
550 * src/version.c:
551 Use VERSION symbol from automake for version number.
552
553 1998-12-29 Jesse Thilo <jthilo@gnu.org>
554
555 * acconfig.h, configure.in, version.cin:
556 Use VERSION symbol from automake for version number.
557
558 1998-11-28 Jesse Thilo <jthilo@gnu.org>
559
560 * Makefile.am:
561 Distribute original version of simple parser (bison.s1), not built
562 version (bison.simple).
563
564 1998-11-28 Jesse Thilo <jthilo@gnu.org>
565
566 * doc/bison.texinfo: Add info dir entry.
567
568 * doc/bison.texinfo:
569 Let automake put version number into documentation.
570
571 1998-11-26 Jesse Thilo <jthilo@gnu.org>
572
573 * src/bison.cld, src/build.com, src/vmshlp.mar:
574 Add non-RCS files from /gd/gnu/bison.
575
576 1998-11-26 Jesse Thilo <jthilo@gnu.org>
577
578 * doc/bison.1:
579 Document the BISON_HAIRY and BISON_SIMPLE variables.
580
581 1998-11-25 Jesse Thilo <jthilo@gnu.org>
582
583 * src/version.c: Build version.c automatically.
584
585 * src/reader.c:
586 Fix token numbering (used to start at 258, not 257).
587
588 * src/system.h: Include config.h.
589
590 * src/getargs.c: Update bug report address.
591
592 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
593 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
594
595 1998-11-25 Jesse Thilo <jthilo@gnu.org>
596
597 * Makefile.am:
598 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
599
600 * configure.in, version.cin:
601 Build version.c automatically.
602
603 * AUTHORS: Add AUTHORS file.
604
605 * README: Update bug report address.
606
607 * bison.simple:
608 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
609
610 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
611 Add automake stuff.
612
613 1998-11-25 Jesse Thilo <jthilo@gnu.org>
614
615 * doc/bison.texinfo: Clean up some formatting.
616
617 1998-05-05 Richard Stallman <rms@gnu.org>
618
619 * doc/bison.texinfo:
620 Explain better why to make a pure parser.
621
622 1998-01-05 Richard Stallman <rms@gnu.org>
623
624 * src/files.c (openfiles):
625 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
626 find a temporary directory, if possible. Do not unlink files while
627 they are open.
628
629 1997-08-25 Richard Stallman <rms@gnu.org>
630
631 * src/reader.c (stack_offset;):
632 Change some warni to warns.
633
634 * src/lex.c (literalchar): Use warns, not warni.
635
636 1997-06-28 Richard Stallman <rms@gnu.org>
637
638 * src/bison.s1: Add a Bison version comment.
639
640 * src/main.c (fatal, warn, berror):
641 Use program_name.
642
643 1997-06-28 Richard Stallman <rms@gnu.org>
644
645 * Makefile.in (bison_version): New variable.
646 (dist): Use that variable.
647 (bison.s1): Substitute the Bison version into bison.simple.
648
649 * bison.simple: Add a Bison version comment.
650
651 1997-06-18 Richard Stallman <rms@gnu.org>
652
653 * src/main.c (fatal, warn, berror):
654 Make error messages standard.
655 (toomany): Improve error message text.
656
657 * 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:
658 new.h renamed to alloc.h.
659
660 1997-06-18 Richard Stallman <rms@gnu.org>
661
662 * Makefile.in: new.h renamed to alloc.h.
663
664 1997-05-24 Richard Stallman <rms@gnu.org>
665
666 * src/lex.c (literalchar):
667 Fix the code for escaping \, " and '.
668
669 (lex): Avoid trouble when there are many chars
670 to discard in a char literal with just several chars in it.
671
672 1997-05-17 Richard Stallman <rms@gnu.org>
673
674 * src/bison.s1:
675 Use malloc, if using alloca is troublesome.
676 (YYSTACK_USE_ALLOCA): New flag macro.
677 Define it for some systems and compilers.
678 (YYSTACK_ALLOC): New macro.
679 (yyparse): Use YYSTACK_ALLOC to allocate stack.
680 If it was malloc'd, free it.
681
682 1997-05-17 Richard Stallman <rms@gnu.org>
683
684 * bison.simple:
685 Use malloc, if using alloca is troublesome.
686 (YYSTACK_USE_ALLOCA): New flag macro.
687 Define it for some systems and compilers.
688 (YYSTACK_ALLOC): New macro.
689 (yyparse): Use YYSTACK_ALLOC to allocate stack.
690 If it was malloc'd, free it.
691
692 1997-04-23 Richard Stallman <rms@gnu.org>
693
694 * src/bison.s1:
695 (alloca) [__hpux]: Always define as __builtin_alloca.
696
697 1997-04-23 Richard Stallman <rms@gnu.org>
698
699 * bison.simple:
700 (alloca) [__hpux]: Always define as __builtin_alloca.
701
702 1997-04-22 Richard Stallman <rms@gnu.org>
703
704 * src/bison.s1:
705 [__hpux]: Include alloca.h (right for HPUX 10)
706 instead of declaring alloca (right for HPUX 9).
707
708 * src/bison.s1 (__yy_memcpy):
709 Declare arg `count' as unsigned int.
710 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
711
712 1997-04-22 Richard Stallman <rms@gnu.org>
713
714 * bison.simple:
715 [__hpux]: Include alloca.h (right for HPUX 10)
716 instead of declaring alloca (right for HPUX 9).
717
718 * bison.simple (__yy_memcpy):
719 Declare arg `count' as unsigned int.
720 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
721
722 1997-01-03 Richard Stallman <rms@gnu.org>
723
724 * src/allocate.c: [__STDC__ or _MSC_VER]:
725 Declare calloc and realloc to return void *.
726
727 1997-01-02 Richard Stallman <rms@gnu.org>
728
729 * src/system.h:
730 [_MSC_VER]: Include stdlib.h and process.h.
731 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
732
733 * src/main.c (main): Return FAILURE as a value.
734 (printable_version): Declare arg as int, not char.
735
736 1997-01-02 Richard Stallman <rms@gnu.org>
737
738 * Makefile.in (dist):
739 Explicitly check for symlinks, and copy them.
740
741 1996-12-19 Richard Stallman <rms@gnu.org>
742
743 * src/files.c:
744 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
745
746 1996-12-18 Paul Eggert <eggert@gnu.org>
747
748 * src/bison.s1 (yyparse):
749 If __GNUC__ and YYPARSE_PARAM are both defined,
750 declare yyparse to have a void * argument.
751
752 1996-12-18 Paul Eggert <eggert@gnu.org>
753
754 * bison.simple (yyparse):
755 If __GNUC__ and YYPARSE_PARAM are both defined,
756 declare yyparse to have a void * argument.
757
758 1996-12-17 Richard Stallman <rms@gnu.org>
759
760 * src/reduce.c (nbits): Add some casts.
761
762 1996-08-12 Richard Stallman <rms@gnu.org>
763
764 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
765
766 1996-08-12 Richard Stallman <rms@gnu.org>
767
768 * bison.simple: Test _MSDOS as well as _MSDOS_.
769
770 1996-07-31 Richard Stallman <rms@gnu.org>
771
772 * src/bison.s1:
773 [__sun && __i386]: Include alloca.h.
774
775 1996-07-31 Richard Stallman <rms@gnu.org>
776
777 * bison.simple:
778 [__sun && __i386]: Include alloca.h.
779
780 1996-07-30 Richard Stallman <rms@gnu.org>
781
782 * src/bison.s1: Comment change.
783
784 * src/bison.s1: Test _MSDOS_, not MSDOS.
785
786 1996-07-30 Richard Stallman <rms@gnu.org>
787
788 * bison.simple: Comment change.
789
790 * bison.simple: Test _MSDOS_, not MSDOS.
791
792 1996-06-01 Richard Stallman <rms@gnu.org>
793
794 * 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:
795 Insert `_' macro around many string constants.
796
797 * src/main.c:
798 Insert `_' macro around many string constants.
799
800 (main): Call setlocale, bindtextdomain and textdomain.
801
802 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
803 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
804 [ENABLE_NLS]: Include libintl.h.
805 [ENABLE_NLS] (gettext): Define.
806 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
807 (N_, PACKAGE, LOCALEDIR): New macros.
808
809 1996-06-01 Richard Stallman <rms@gnu.org>
810
811 * POTFILES.in: New file.
812
813 * Makefile.in (allocate.o):
814 Define target explicitly.
815
816 * Makefile.in (CFLAGS): Set to @CFLAGS@.
817 (LDFLAGS): Set to @LDFLAGS@.
818 (configure): Run autoconf only if preceding `cd' succeeds.
819 (bison.s1): Redirect output to temporary file then move the
820 temporary to the target, rather than redirecting directly to bison.s1.
821 (clean): Remove config.status and config.log.
822 (distclean): Don't remove config.status here.
823
824 1996-05-12 Richard Stallman <rms@gnu.org>
825
826 * src/bison.s1:
827 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
828
829 1996-05-12 Richard Stallman <rms@gnu.org>
830
831 * bison.simple:
832 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
833
834 1996-05-11 Richard Stallman <rms@gnu.org>
835
836 * src/bison.s1 (__yy_memcpy):
837 Really reorder the args, as was supposedly done on Feb 14 1995.
838 (yyparse): Calls changed accordingly.
839
840 1996-05-11 Richard Stallman <rms@gnu.org>
841
842 * Makefile.in (dist): Don't use $(srcdir).
843
844 * bison.simple (__yy_memcpy):
845 Really reorder the args, as was supposedly done on Feb 14 1995.
846 (yyparse): Calls changed accordingly.
847
848 1996-01-27 Richard Stallman <rms@gnu.org>
849
850 * src/output.c (output_rule_data):
851 Test YYERROR_VERBOSE in the conditional
852 around the definition of ttyname.
853
854 1995-12-29 Richard Stallman <rms@gnu.org>
855
856 * src/bison.s1:
857 Fix line numbers in #line commands.
858
859 1995-12-29 Richard Stallman <rms@gnu.org>
860
861 * bison.simple:
862 Fix line numbers in #line commands.
863
864 1995-12-27 Richard Stallman <rms@gnu.org>
865
866 * src/bison.s1 (YYPARSE_PARAM_DECL):
867 In C++, make it always null.
868 (YYPARSE_PARAM_ARG): New macro.
869 (yyparse): Use YYPARSE_PARAM_ARG.
870
871 1995-12-27 Richard Stallman <rms@gnu.org>
872
873 * bison.simple (YYPARSE_PARAM_DECL):
874 In C++, make it always null.
875 (YYPARSE_PARAM_ARG): New macro.
876 (yyparse): Use YYPARSE_PARAM_ARG.
877
878 1995-11-29 Richard Stallman <rms@gnu.org>
879
880 * doc/bison.texinfo:
881 Describe literal string tokens, %raw, %no_lines, %token_table.
882
883 1995-11-29 Daniel Hagerty <hag@gnu.org>
884
885 * doc/bison.texinfo: Fixed update date
886
887 1995-10-16 Richard Stallman <rms@gnu.org>
888
889 * src/version.c: Version 1.25.
890
891 1995-10-16 Richard Stallman <rms@gnu.org>
892
893 * NEWS: *** empty log message ***
894
895 1995-10-16 Richard Stallman <rms@gnu.org>
896
897 * doc/bison.1, doc/bison.rnh:
898 Add new options.
899
900 1995-10-15 Richard Stallman <rms@gnu.org>
901
902 * src/vmsgetargs.c, src/getargs.c:
903 Added -n, -k, and -raw switches.
904 (noparserflag, toknumflag, rawtoknumflag): New variables.
905
906 * src/symtab.h (SALIAS):
907 New #define for adding aliases to %token.
908 (struct bucket): Added `alias' field.
909
910 * src/reduce.c (reduce_grammar):
911 Revise error message.
912 (print_notices): Remove final `.' from error message.
913
914 * src/reader.c (reader_output_yylsp):
915 New function.
916 (readgram): Use `#if 0' around code that accepted %command
917 inside grammar rules: The documentation doesn't allow it,
918 and it will fail since the %command processors scan for the next %.
919 (parse_token_decl): Extended the %token
920 declaration to allow a multi-character symbol as an alias.
921 (parse_thong_decl): New function.
922 (read_declarations): Added %thong declarations.
923 (read_declarations): Handle NOOP to deal with allowing
924 % declarations as another means to specify the flags.
925 (readgram): Allow %prec prior to semantics embedded in a rule.
926 (skip_to_char, read_declarations, copy_definition)
927 (parse_token_decl, parse_start_decl, parse_type_decl)
928 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
929 (get_type_name, copy_guard, copy_action, readgram)
930 (get_type, packsymbols): Revised most error messages.
931 Changed `fatal' to `warnxxx' to avoid aborting for error.
932 Revised and use multiple warnxxx functions to avoid using VARARGS1.
933 (read_declarations): Improve the error message for
934 an invalid character. Do not abort.
935 (read_declarations, copy_guard, copy_action): Use
936 printable_version to avoid unprintable characters in printed output.
937 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
938 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
939 Allow the type of a non-terminal can be given
940 more than once, as long as all specifications give the same type.
941
942 * src/output.c:
943 (output_headers, output_trailers, output, output_gram)
944 (output_rule_data): Implement noparserflag variable.
945 Implement toknumflag variable.
946 (output): Call reader_output_yylsp to output LTYPESTR.
947
948 * src/main.c (main):
949 If reader sees an error, don't process the grammar.
950 (fatals): Updated to not use VARARGS1.
951 (printable_version, int_to_string, warn, warni, warns, warnss)
952 (warnsss): New error reporting functions. Avoid abort for error.
953
954 * src/lex.h:
955 Added THONG and NOOP for alias processing.
956 Added SETOPT for the new code that allows setting options with %flags.
957
958 * src/lex.c:
959 Include getopt.h. Add some extern decls.
960 (safegetc): New function to deal with EOF gracefully.
961 (literalchar); new function to deal with reading \ escapes.
962 (lex): Use literalchar.
963 (lex): Implemented "..." tokens.
964 (literalchar, lex, parse_percent_token): Made tokenbuffer
965 always contain the token. This includes growing the token
966 buffer while reading an integer.
967 (parse_percent_token): Replaced if-else statement with percent_table.
968 (parse_percent_token): Added % declarations as another
969 way to specify the flags -n, -l, and -r. Also added hooks for
970 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
971 major changes to files.c.
972 (lex) Retain in the incoming stream a character following
973 an incorrect '/'.
974 (skip_white_space, lex): Revised most error messages
975 and changed fatal to warn to avoid aborting.
976 (percent_table): Added %thong declarations.
977
978 * src/gram.h: Comment changes.
979
980 * src/files.c (openfiles, open_extra_files, done):
981 Add faction flag
982 and actfile file. Handle noparserflag. Both for -n switch.
983
984 * src/conflicts.c (resolve_sr_conflict):
985 Remove use of alloca.
986
987 1995-06-01 Jim Meyering <meyering@gnu.org>
988
989 * doc/bison.texinfo: *** empty log message ***
990
991 1995-05-06 Richard Stallman <rms@gnu.org>
992
993 * src/bison.s1: Comment change.
994
995 1995-05-06 Richard Stallman <rms@gnu.org>
996
997 * bison.simple: Comment change.
998
999 1995-05-03 Richard Stallman <rms@gnu.org>
1000
1001 * src/version.c: Version now 1.24.
1002
1003 * src/bison.s1: Change distribution terms.
1004
1005 * src/version.c: Version now 1.23.
1006
1007 1995-05-03 Richard Stallman <rms@gnu.org>
1008
1009 * doc/bison.texinfo:
1010 Rewrite "Conditions for Using Bison".
1011 Update version to 1.24.
1012
1013 1995-05-03 Richard Stallman <rms@gnu.org>
1014
1015 * bison.simple: Change distribution terms.
1016
1017 1995-02-23 Richard Stallman <rms@gnu.org>
1018
1019 * src/files.c: Test __VMS_POSIX as well as VMS.
1020
1021 1995-02-14 Jim Meyering <meyering@gnu.org>
1022
1023 * src/bison.s1 (__yy_memcpy):
1024 Renamed from __yy_bcopy to avoid
1025 confusion. Reverse FROM and TO arguments to be consistent with
1026 those of memcpy.
1027
1028 1995-02-14 Jim Meyering <meyering@gnu.org>
1029
1030 * bison.simple (__yy_memcpy):
1031 Renamed from __yy_bcopy to avoid
1032 confusion. Reverse FROM and TO arguments to be consistent with
1033 those of memcpy.
1034
1035 1994-11-10 David J. MacKenzie <djm@gnu.org>
1036
1037 * NEWS: reformat
1038
1039 * NEWS: New file.
1040
1041 * Makefile.in (DISTFILES): Include NEWS.
1042
1043 * Makefile.in (DISTFILES):
1044 Include install-sh, not install.sh.
1045
1046 * configure.in: Update to Autoconf v2 macro names.
1047
1048 1994-10-05 David J. MacKenzie <djm@gnu.org>
1049
1050 * Makefile.in: fix typo
1051
1052 * Makefile.in (prefix, exec_prefix):
1053 Let configure set them.
1054
1055 1994-09-28 David J. MacKenzie <djm@gnu.org>
1056
1057 * Makefile.in: Set datadir to $(prefix)/share.
1058
1059 1994-09-15 Richard Stallman <rms@gnu.org>
1060
1061 * src/bison.s1:
1062 Update copyright notice and GPL version.
1063
1064 1994-09-15 Richard Stallman <rms@gnu.org>
1065
1066 * bison.simple:
1067 Update copyright notice and GPL version.
1068
1069 1994-07-12 Richard Stallman <rms@gnu.org>
1070
1071 * src/reduce.c, src/reader.c:
1072 entered into RCS
1073
1074 1994-05-05 David J. MacKenzie <djm@gnu.org>
1075
1076 * Makefile.in: entered into RCS
1077
1078 1994-03-26 Richard Stallman <rms@gnu.org>
1079
1080 * src/bison.s1: entered into RCS
1081
1082 1994-03-26 Richard Stallman <rms@gnu.org>
1083
1084 * bison.simple: entered into RCS
1085
1086 1994-03-25 Richard Stallman <rms@gnu.org>
1087
1088 * src/main.c: entered into RCS
1089
1090 1994-03-24 Richard Stallman <rms@gnu.org>
1091
1092 * src/conflicts.c: entered into RCS
1093
1094 1994-01-02 Richard Stallman <rms@gnu.org>
1095
1096 * Makefile.in: *** empty log message ***
1097
1098 1993-11-21 Richard Stallman <rms@gnu.org>
1099
1100 * src/bison.s1: *** empty log message ***
1101
1102 1993-11-21 Richard Stallman <rms@gnu.org>
1103
1104 * doc/bison.texinfo: entered into RCS
1105
1106 * doc/bison.texinfo: *** empty log message ***
1107
1108 1993-11-21 Richard Stallman <rms@gnu.org>
1109
1110 * bison.simple: *** empty log message ***
1111
1112 1993-10-25 David J. MacKenzie <djm@gnu.org>
1113
1114 * doc/bison.texinfo: *** empty log message ***
1115
1116 1993-10-19 Richard Stallman <rms@gnu.org>
1117
1118 * src/bison.s1: *** empty log message ***
1119
1120 1993-10-19 Richard Stallman <rms@gnu.org>
1121
1122 * bison.simple: *** empty log message ***
1123
1124 1993-10-14 Richard Stallman <rms@gnu.org>
1125
1126 * src/bison.s1: *** empty log message ***
1127
1128 1993-10-14 Richard Stallman <rms@gnu.org>
1129
1130 * bison.simple: *** empty log message ***
1131
1132 1993-09-14 David J. MacKenzie <djm@gnu.org>
1133
1134 * doc/bison.texinfo: *** empty log message ***
1135
1136 1993-09-13 Noah Friedman <friedman@gnu.org>
1137
1138 * Makefile.in: *** empty log message ***
1139
1140 1993-09-10 Richard Stallman <rms@gnu.org>
1141
1142 * src/conflicts.c: *** empty log message ***
1143
1144 * src/system.h: entered into RCS
1145
1146 1993-09-10 Richard Stallman <rms@gnu.org>
1147
1148 * doc/bison.1: entered into RCS
1149
1150 1993-09-06 Noah Friedman <friedman@gnu.org>
1151
1152 * src/version.c: entered into RCS
1153
1154 1993-09-06 Noah Friedman <friedman@gnu.org>
1155
1156 * Makefile.in: *** empty log message ***
1157
1158 1993-07-30 David J. MacKenzie <djm@gnu.org>
1159
1160 * Makefile.in: *** empty log message ***
1161
1162 1993-07-24 Richard Stallman <rms@gnu.org>
1163
1164 * src/bison.s1: *** empty log message ***
1165
1166 1993-07-24 Richard Stallman <rms@gnu.org>
1167
1168 * bison.simple: *** empty log message ***
1169
1170 1993-07-08 David J. MacKenzie <djm@gnu.org>
1171
1172 * Makefile.in: *** empty log message ***
1173
1174 1993-07-04 Richard Stallman <rms@gnu.org>
1175
1176 * src/bison.s1: *** empty log message ***
1177
1178 1993-07-04 Richard Stallman <rms@gnu.org>
1179
1180 * bison.simple: *** empty log message ***
1181
1182 1993-06-26 David J. MacKenzie <djm@gnu.org>
1183
1184 * src/getargs.c: entered into RCS
1185
1186 1993-06-26 David J. MacKenzie <djm@gnu.org>
1187
1188 * doc/bison.texinfo: *** empty log message ***
1189
1190 * doc/bison.1: New file.
1191
1192 1993-06-25 Richard Stallman <rms@gnu.org>
1193
1194 * src/getargs.c: New file.
1195
1196 1993-06-16 Richard Stallman <rms@gnu.org>
1197
1198 * src/bison.s1: *** empty log message ***
1199
1200 1993-06-16 Richard Stallman <rms@gnu.org>
1201
1202 * bison.simple: *** empty log message ***
1203
1204 1993-06-03 Richard Stallman <rms@gnu.org>
1205
1206 * src/bison.s1: New file.
1207
1208 1993-06-03 Richard Stallman <rms@gnu.org>
1209
1210 * doc/bison.texinfo: *** empty log message ***
1211
1212 1993-06-03 Richard Stallman <rms@gnu.org>
1213
1214 * bison.simple: New file.
1215
1216 1993-05-19 Richard Stallman <rms@gnu.org>
1217
1218 * doc/bison.texinfo: New file.
1219
1220 1993-05-07 Noah Friedman <friedman@gnu.org>
1221
1222 * Makefile.in: *** empty log message ***
1223
1224 1993-04-28 Noah Friedman <friedman@gnu.org>
1225
1226 * src/reader.c: *** empty log message ***
1227
1228 1993-04-23 Noah Friedman <friedman@gnu.org>
1229
1230 * src/alloc.h: entered into RCS
1231
1232 1993-04-20 David J. MacKenzie <djm@gnu.org>
1233
1234 * src/version.c: *** empty log message ***
1235
1236 * src/files.c, src/allocate.c:
1237 entered into RCS
1238
1239 * src/reader.c: *** empty log message ***
1240
1241 * src/lex.c: entered into RCS
1242
1243 * src/conflicts.c: New file.
1244
1245 * src/symtab.c: entered into RCS
1246
1247 * src/alloc.h: New file.
1248
1249 * src/LR0.c: entered into RCS
1250
1251 1993-04-18 Noah Friedman <friedman@gnu.org>
1252
1253 * src/reader.c: New file.
1254
1255 * src/version.c: *** empty log message ***
1256
1257 1993-04-18 Noah Friedman <friedman@gnu.org>
1258
1259 * Makefile.in: *** empty log message ***
1260
1261 1993-04-17 Noah Friedman <friedman@gnu.org>
1262
1263 * Makefile.in: *** empty log message ***
1264
1265 1993-04-15 Richard Stallman <rms@gnu.org>
1266
1267 * src/main.c, src/files.c:
1268 New file.
1269
1270 1993-04-15 Noah Friedman <friedman@gnu.org>
1271
1272 * configure.in: entered into RCS
1273
1274 * configure.in: *** empty log message ***
1275
1276 * configure.in: New file.
1277
1278 1993-04-14 Richard Stallman <rms@gnu.org>
1279
1280 * Makefile.in: New file.
1281
1282 1993-04-13 Richard Stallman <rms@gnu.org>
1283
1284 * src/version.c: New file.
1285
1286 1993-03-25 Richard Stallman <rms@gnu.org>
1287
1288 * src/output.c: entered into RCS
1289
1290 1992-09-25 Richard Stallman <rms@gnu.org>
1291
1292 * configure.bat: entered into RCS
1293
1294 1992-06-22 Richard Stallman <rms@gnu.org>
1295
1296 * src/vmsgetargs.c: entered into RCS
1297
1298 1992-06-22 Richard Stallman <rms@gnu.org>
1299
1300 * doc/bison.rnh: entered into RCS
1301
1302 1992-04-20 David J. MacKenzie <djm@gnu.org>
1303
1304 * README: entered into RCS
1305
1306 1992-01-22 Richard Stallman <rms@gnu.org>
1307
1308 * src/machine.h: entered into RCS
1309
1310 1991-12-21 Richard Stallman <rms@gnu.org>
1311
1312 * src/lalr.c, src/closure.c:
1313 entered into RCS
1314
1315 1991-12-20 Richard Stallman <rms@gnu.org>
1316
1317 * src/state.h: entered into RCS
1318
1319 1991-12-18 Richard Stallman <rms@gnu.org>
1320
1321 * src/print.c, src/nullable.c, src/derives.c:
1322 entered into RCS
1323
1324 1991-11-03 David J. MacKenzie <djm@gnu.org>
1325
1326 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1327 entered into RCS
1328
1329 1988-09-09 Richard Stallman <rms@gnu.org>
1330
1331 * src/bison.hairy: entered into RCS
1332
1333 1987-12-16 Richard Stallman <rms@gnu.org>
1334
1335 * REFERENCES: entered into RCS