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