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