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