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