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