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