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