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