]> git.saurik.com Git - bison.git/blame_incremental - ChangeLog
* tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
[bison.git] / ChangeLog
... / ...
CommitLineData
12000-09-19 Akim Demaille <akim@epita.fr>
2
3 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
4 portable.
5
62000-09-18 Akim Demaille <akim@epita.fr>
7
8 * configure.in: Append WARNING_CFLAGS to CFLAGS.
9 * src/Makefile.am (INCLUDES): Don't.
10 Be ready to fetch headers in lib/.
11
122000-09-18 Akim Demaille <akim@epita.fr>
13
14 * doc/bison.texinfo: Update the copyright.
15 ANSIfy and GNUify the examples.
16 Remove the old menu.
17
182000-09-18 Akim Demaille <akim@epita.fr>
19
20 First set of tests: use the `calc' example from the documentation.
21
22 * src/bison.s1 (yyparse): Condition the code using `yytname' which
23 is defined only when YYDEBUG is.
24 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
25 * src/files.c (tryopen, tryclose): Formatting changes.
26 Move to the top and be static.
27 * src/reader.c (read_signed_integer): Likewise.
28 * tests/calc.m4: New file.
29 * Makefile.am, suite.m4: Adjust.
30 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
31
322000-09-18 Akim Demaille <akim@epita.fr>
33
34 Add support for an Autotest test suite for Bison.
35
36 * m4/m4.m4, m4/atconfig.m4: New files.
37 * m4/Makefile.am (EXTRA_DIST): Adjust.
38 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
39 files.
40 * src/getargs.c: Display a more standard --version message.
41 * src/reader.c (reader): Formatting changes.
42 No longer depend upon VERSION_STRING.
43 * configure.in: No longer use `dnl'.
44 Set up the test suite and the new directory `tests/.
45 (VERSION_STRING): Remove.
46
472000-04-14 Akim Demaille <akim@epita.fr>
48
49 * src/reader.c (copy_comment2): New function, same as former
50 `copy_comment', but outputs into two FILE *.
51 (copy_comment): Use it.
52 (parse_union_decl): Use it.
53 (get_type, parse_start_decl): Use the same `invalid' message.
54 (parse_start_decl, parse_union_decl): Use the same `multiple'
55 message.
56 (parse_union_decl, copy_guard, copy_action): Use the same
57 `unmatched' message.
58 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
59
602000-03-31 Akim Demaille <akim@epita.fr>
61
62 * src/files.c (tryopen, tryclose): Move to the top.
63 Be static.
64
652000-03-31 Akim Demaille <akim@epita.fr>
66
67 * src/main.c (main): Don't call `done', exit does it.
68
692000-03-31 Akim Demaille <akim@epita.fr>
70
71 * allocate.c: s/return (foo)/return foo/.
72 * lalr.c: Likewise.
73 * LR0.c: Likewise.
74 * output.c: Likewise.
75 * reader.c: Likewise.
76 * symtab.c: Likewise.
77 * vmsgetargs.c: Likewise.
78
792000-03-31 Akim Demaille <akim@epita.fr>
80
81 Clean up the error reporting functions.
82
83 * src/report.c: New file.
84 * src/report.h: Likewise.
85 * src/Makefile.am: Adjust.
86 * m4/error.m4: New file.
87 * m4/Makefile.am: Adjust.
88 * configure.in (jm_PREREQ_ERROR): Call it.
89 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
90 Remove.
91 (fatal, fatals): Remove. All callers use complain.c::fatal.
92 (warn, warni, warns, warnss, warnss): Remove. All callers use
93 complain.c::complain.
94 (toomany): Remove, use fatal instead.
95 * src/files.c (done): No argument, use complain_message_count.
96 * src/main.c (main): Register `done' to `atexit'.
97
98 * src/getargs.c (usage): More `fputs', less `fprintf'.
99
1002000-03-28 Akim Demaille <akim@epita.fr>
101
102 * lib/: New directory.
103 * Makefile.am (SUBDIRS): Adjust.
104 * configure.in: Adjust.
105 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
106 useless.
107 * src/alloca.c: Moved to lib/.
108 * src/getopt.c: Likewise.
109 * src/getopt1.c: Likewise.
110 * src/getopt.h: Likewise.
111 * src/ansi2knr.c: Likewise.
112 * src/ansi2knr.1: Likewise.
113 * src/Makefile.am: Adjust.
114 * lib/Makefile.am: New file.
115
1162000-03-28 Akim Demaille <akim@epita.fr>
117
118 * src/getargs.c (usage): Refresh the help message.
119
1202000-03-17 Akim Demaille <akim@epita.fr>
121
122 * src/getopt1.c: Updated from textutils 2.0e
123 * src/getopt.c: Likewise.
124 * src/getopt.h: Likewise.
125
1262000-03-17 Akim Demaille <akim@epita.fr>
127
128 * src/Makefile.am (bison.simple): Fix the awk program: quote only
129 the file name, not the whole `#line LINE FILE'.
130
1312000-03-17 Akim Demaille <akim@epita.fr>
132
133 On syntax errors, report the token on which we choked.
134
135 * src/bison.s1 (yyparse): In the label yyerrlab, when
136 YYERROR_VERBOSE, add yychar in msg.
137
1382000-03-17 Akim Demaille <akim@epita.fr>
139
140 * src/reader.c (copy_at): New function.
141 (copy_guard): Use it.
142 (copy_action): Use it.
143
1442000-03-17 Akim Demaille <akim@epita.fr>
145
146 Be kind to translators, save some useless translations.
147
148 * src/main.c (banner): New function.
149 (fatal_banner): Use it.
150 (warn_banner): Use it.
151
1522000-03-17 Akim Demaille <akim@epita.fr>
153
154 * src/reader.c (copy_definition): Use copy_string and
155 copy_comment. Removed now unused `match', `ended',
156 `cplus_comment'.
157 (copy_comment, copy_string): Moved, to be visible from
158 copy_definition.
159
1602000-03-17 Akim Demaille <akim@epita.fr>
161
162 * src/reader.c (copy_string): Declare `static inline'. No
163 problems with inline, since it is checked by configure.
164 (copy_comment): Likewise.
165
1662000-03-17 Akim Demaille <akim@epita.fr>
167
168 * src/reader.c (packsymbols): Formatting changes.
169
1702000-03-17 Akim Demaille <akim@epita.fr>
171
172 * src/reader.c (copy_comment): New function, factored out from:
173 (copy_action): Use it. Removed now unused `match', `ended',
174 `cplus_comment'.
175 (copy_guard): Likewise.
176
1772000-03-17 Akim Demaille <akim@epita.fr>
178
179 * src/reader.c (copy_string): New function, factored out from:
180 (copy_action): Use it.
181 (copy_guard): Likewise.
182
1832000-03-17 Akim Demaille <akim@epita.fr>
184
185 Change the handling of @s so that they behave exactly like $s.
186 There is now a pseudo variable @$ (readble and writable), location
187 of the lhs of the rule (by default ranging from the location of
188 the first symbol of the rhs, to the location of the last symbol,
189 or, if the rhs is empty, YYLLOC).
190
191 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
192 yyval.
193 (yyparse): When providing a default semantic action, provide a
194 default location action.
195 (after the $): No longer change `*YYLSP', just stack YYLOC the
196 same way you stack YYVAL.
197 * src/reader.c (read_declarations): Use warns.
198 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
199 (copy_action, case '@'): Likewise.
200 Use a standard error message, to save useless work from
201 translators.
202
2032000-03-17 Akim Demaille <akim@epita.fr>
204
205 * src/bison.s1: Formatting and cosmetics changes.
206 * src/reader.c: Likewise.
207 Update the Copyright notice.
208
2092000-03-17 Akim Demaille <akim@epita.fr>
210
211 * src/bison.s1 (#line): All set to `#line' only, since the
212 Makefile now handles them.
213
2142000-03-16 Akim Demaille <akim@epita.fr>
215
216 * src/output.c (output_rule_data): Output the documentation of
217 some of the tables.
218 (Copyright notice): Update.
219 Formatting changes.
220
2212000-03-16 Akim Demaille <akim@epita.fr>
222
223 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
224 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
225 One `#if YYDEBUG' remains, since it uses variables which are
226 defined only if `YYDEBUG != 0'.
227
2282000-03-16 Akim Demaille <akim@epita.fr>
229
230 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
231 and related variables so that the similarities are highlighted.
232
2332000-03-16 Akim Demaille <akim@epita.fr>
234
235 * src/bison.s1: Properly indent CPP directives.
236
2372000-03-16 Akim Demaille <akim@epita.fr>
238
239 * src/bison.s1: Properly indent the `alloca' CPP section.
240
2412000-03-16 Akim Demaille <akim@epita.fr>
242
243 Do not hard code values of directories in `configure.in'.
244 Update the `configure' tool chain.
245
246 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
247 src/makefile.am.
248 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
249 (AC_OUTPUT): Add m4/Makefile.
250 Bump to bison 1.28a, 1.29 has never been released.
251 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
252 handled via src/Makefile.am.
253 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
254 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
255 autoheader.
256 * Makefile.am (SUBDIRS): Add m4.
257 (ACLOCAL_AM_FLAGS): New variable.
258 (AUTOMAKE_OPTIONS): Add check-news.
259 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
260 the proper line number and file name.
261 (DEFS): Propagate the location of bison library files and of the
262 locale files.
263 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
264 builddir.
265 * acinclude.m4: Remove, replaced by the directory m4.
266 * m4/Makefile.am (EXTRA_DIST): New variable.
267 * m4/gettext.m4: New file, from the fileutils.
268 * m4/lcmessage.m4: Likewise
269 * m4/progtest.m4: Likewise.
270 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
271
2722000-03-10 Akim Demaille <akim@epita.fr>
273
274 * src/closure.c:
275 Formatting changes of various comments.
276 Respect the GNU coding standards at various places.
277 Don't use `_()' when no translation is needed.
278
2791999-12-13 Jesse Thilo <jthilo@gnu.org>
280
281 * src/files.c:
282 OS/2 honors TMPDIR environment variable.
283
2841999-12-13 Jesse Thilo <jthilo@gnu.org>
285
286 * doc/bison.texinfo: Tweaked spelling and grammar.
287 Updated ISBN.
288 Removed reference to price of printed copy.
289 Mention BISON_SIMPLE and BISON_HAIRY.
290
2911999-12-13 Jesse Thilo <jthilo@gnu.org>
292
293 * configure.in, NEWS:
294 Bison 1.29 released.
295
2961999-10-27 Jesse Thilo <jthilo@gnu.org>
297
298 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
299 Added reference card.
300
3011999-07-26 Jesse Thilo <jthilo@gnu.org>
302
303 * po/ru.po: Added Russian translation.
304
3051999-07-26 Jesse Thilo <jthilo@gnu.org>
306
307 * configure.in: Added Russian translation.
308
3091999-07-06 Jesse Thilo <jthilo@gnu.org>
310
311 * configure.in, NEWS, README:
312 Released version 1.28.
313
3141999-06-14 Jesse Thilo <jthilo@gnu.org>
315
316 * src/system.h:
317 Squashed redefinition warning on some systems.
318
319 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
320 Have configure build version string instead of relying on ANSI string
321 concatentation.
322
3231999-06-14 Jesse Thilo <jthilo@gnu.org>
324
325 * po/POTFILES.in: Got rid of version.c.
326
3271999-06-14 Jesse Thilo <jthilo@gnu.org>
328
329 * acconfig.h, configure.in:
330 Have configure build version string instead of relying on ANSI string
331 concatentation.
332
3331999-06-08 Jesse Thilo <jthilo@gnu.org>
334
335 * doc/bison.1:
336 Dropped mention of `+' for long-named options.
337
3381999-05-30 Jesse Thilo <jthilo@gnu.org>
339
340 * src/files.c: Added <unistd.h> for unlink().
341
342 * src/Makefile.am, src/system.h:
343 I18n fixes.
344
3451999-05-30 Jesse Thilo <jthilo@gnu.org>
346
347 * README: Added a FAQ list.
348
349 * configure.in, acconfig.h:
350 I18n fixes.
351
3521999-05-30 Jesse Thilo <jthilo@gnu.org>
353
354 * doc/FAQ, doc/Makefile.am:
355 Added a FAQ list.
356
3571999-05-19 Jesse Thilo <jthilo@gnu.org>
358
359 * src/alloc.h, src/symtab.h, src/version.c:
360 Protected inclusion of "config.h" with HAVE_CONFIG_H.
361
3621999-04-18 Jesse Thilo <jthilo@gnu.org>
363
364 * src/.cvsignore, src/Makefile.am:
365 Reorganized: sources in `src', documentation in `doc'.
366
367 * src/lex.c (literalchar):
368 fixed the code for escaping double quotes (thanks
369 Jonathan Czisny.)
370
3711999-04-18 Jesse Thilo <jthilo@gnu.org>
372
373 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
374 Adjusted paths to reflect directory reorganization.
375
3761999-04-18 Jesse Thilo <jthilo@gnu.org>
377
378 * doc/.cvsignore, doc/Makefile.am:
379 Reorganized: sources in `src', documentation in `doc'.
380
3811999-04-18 Jesse Thilo <jthilo@gnu.org>
382
383 * configure.in:
384 Updated AC_INIT file to reflect directory reorganization.
385
386 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
387 Reorganized: sources in `src', documentation in `doc'.
388
3891999-04-13 Jesse Thilo <jthilo@gnu.org>
390
391 * src/allocate.c:
392 Don't declare calloc() and realloc() if not necessary.
393
3941999-04-13 Jesse Thilo <jthilo@gnu.org>
395
396 * configure.in, acconfig.h, acinclude.m4:
397 Don't declare calloc() and realloc() if not necessary.
398
3991999-03-23 Jesse Thilo <jthilo@gnu.org>
400
401 * po/.cvsignore: Added i18n support.
402
4031999-03-23 Jesse Thilo <jthilo@gnu.org>
404
405 * acconfig.h, configure.in, Makefile.am:
406 Added i18n support.
407
4081999-03-22 Jesse Thilo <jthilo@gnu.org>
409
410 * src/bison.s1: Fixed #line numbers.
411
4121999-03-15 Jesse Thilo <jthilo@gnu.org>
413
414 * po/es.po, po/fr.po, po/nl.po, po/de.po:
415 Added PO files from Translation Project.
416
4171999-03-03 Jesse Thilo <jthilo@gnu.org>
418
419 * Makefile.am:
420 Added support for non-ANSI compilers (ansi2knr).
421
4221999-02-16 Jesse Thilo <jthilo@gnu.org>
423
424 * configure.in: Bumped version number to 1.27.
425
426 * Makefile.am:
427 Added `bison.simple' to list of files removed by `make distclean'.
428
4291999-02-12 Jesse Thilo <jthilo@gnu.org>
430
431 * src/files.c, src/files.h:
432 Defined locations of parser files in config.h instead of Makefile.
433
4341999-02-12 Jesse Thilo <jthilo@gnu.org>
435
436 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
437 Defined locations of parser files in config.h instead of Makefile.
438
4391999-02-09 Jesse Thilo <jthilo@gnu.org>
440
441 * Makefile.am:
442 Removed inappropriate use of $< macro.
443
4441999-02-05 Jesse Thilo <jthilo@gnu.org>
445
446 * po/Makefile.in.in, po/POTFILES.in:
447 Add `po' directory skeleton.
448
4491999-01-27 Jesse Thilo <jthilo@gnu.org>
450
451 * README: Document help-bison list.
452
453 * configure.in: Add check for mkstemp().
454
4551999-01-20 Jesse Thilo <jthilo@gnu.org>
456
457 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
458 Hush a few compiler warnings.
459
460 * src/files.c:
461 Add tryclose(), which verifies that fclose was successful.
462 Hush a couple of compiler warnings.
463
4641999-01-20 Jesse Thilo <jthilo@gnu.org>
465
466 * Makefile.am, OChangeLog:
467 ChangeLog is now automatically generated. Include the old version as
468 OChangeLog.
469
4701999-01-14 Jesse Thilo <jthilo@gnu.org>
471
472 * 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:
473 Update FSF address.
474
4751999-01-14 Jesse Thilo <jthilo@gnu.org>
476
477 * doc/bison.texinfo: Fix formatting glitch.
478
479 * doc/bison.texinfo: Update FSF address.
480
4811999-01-14 Jesse Thilo <jthilo@gnu.org>
482
483 * acconfig.h: Update FSF address.
484
4851999-01-08 Jesse Thilo <jthilo@gnu.org>
486
487 * src/system.h:
488 Don't define PACKAGE here, since config.h defines it.
489
4901998-12-30 Jesse Thilo <jthilo@gnu.org>
491
492 * src/reader.c: Update copyright date.
493
494 * src/main.c:
495 Ditch sprintf to statically-sized buffers in fatal/warn functions in
496 favor of output directly to stderr (avoids buffer overruns).
497
498 * src/reader.c: Some checks for premature EOF.
499
500 * 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:
501 Use prototypes if the compiler understands them.
502
503 * src/files.c: Honor TMPDIR on Unix hosts.
504 Use prototypes if the compiler understands them.
505
506 * src/reader.c:
507 Fix a couple of buffer overrun bugs.
508 Use prototypes if the compiler understands them.
509
510 * src/system.h: Include unistd.h and ctype.h.
511 Use #ifdef instead of #if for NLS symbols.
512
5131998-12-30 Jesse Thilo <jthilo@gnu.org>
514
515 * doc/bison.texinfo:
516 Delete comment "consider using @set for edition number, etc..." since
517 we now are doing so.
518
5191998-12-30 Jesse Thilo <jthilo@gnu.org>
520
521 * configure.in:
522 Use prototypes if the compiler understands them.
523
524 * NEWS: Document 1.26 highlights.
525
526 * Makefile.am: Require Automake 1.3 or later.
527
528 * acconfig.h:
529 Use prototypes if the compiler understands them.
530
5311998-12-29 Jesse Thilo <jthilo@gnu.org>
532
533 * src/version.c:
534 Use VERSION symbol from automake for version number.
535
5361998-12-29 Jesse Thilo <jthilo@gnu.org>
537
538 * acconfig.h, configure.in, version.cin:
539 Use VERSION symbol from automake for version number.
540
5411998-11-28 Jesse Thilo <jthilo@gnu.org>
542
543 * Makefile.am:
544 Distribute original version of simple parser (bison.s1), not built
545 version (bison.simple).
546
5471998-11-28 Jesse Thilo <jthilo@gnu.org>
548
549 * doc/bison.texinfo: Add info dir entry.
550
551 * doc/bison.texinfo:
552 Let automake put version number into documentation.
553
5541998-11-26 Jesse Thilo <jthilo@gnu.org>
555
556 * src/bison.cld, src/build.com, src/vmshlp.mar:
557 Add non-RCS files from /gd/gnu/bison.
558
5591998-11-26 Jesse Thilo <jthilo@gnu.org>
560
561 * doc/bison.1:
562 Document the BISON_HAIRY and BISON_SIMPLE variables.
563
5641998-11-25 Jesse Thilo <jthilo@gnu.org>
565
566 * src/version.c: Build version.c automatically.
567
568 * src/reader.c:
569 Fix token numbering (used to start at 258, not 257).
570
571 * src/system.h: Include config.h.
572
573 * src/getargs.c: Update bug report address.
574
575 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
576 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
577
5781998-11-25 Jesse Thilo <jthilo@gnu.org>
579
580 * Makefile.am:
581 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
582
583 * configure.in, version.cin:
584 Build version.c automatically.
585
586 * AUTHORS: Add AUTHORS file.
587
588 * README: Update bug report address.
589
590 * bison.simple:
591 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
592
593 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
594 Add automake stuff.
595
5961998-11-25 Jesse Thilo <jthilo@gnu.org>
597
598 * doc/bison.texinfo: Clean up some formatting.
599
6001998-05-05 Richard Stallman <rms@gnu.org>
601
602 * doc/bison.texinfo:
603 Explain better why to make a pure parser.
604
6051998-01-05 Richard Stallman <rms@gnu.org>
606
607 * src/files.c (openfiles):
608 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
609 find a temporary directory, if possible. Do not unlink files while
610 they are open.
611
6121997-08-25 Richard Stallman <rms@gnu.org>
613
614 * src/reader.c (stack_offset;):
615 Change some warni to warns.
616
617 * src/lex.c (literalchar): Use warns, not warni.
618
6191997-06-28 Richard Stallman <rms@gnu.org>
620
621 * src/bison.s1: Add a Bison version comment.
622
623 * src/main.c (fatal, warn, berror):
624 Use program_name.
625
6261997-06-28 Richard Stallman <rms@gnu.org>
627
628 * Makefile.in (bison_version): New variable.
629 (dist): Use that variable.
630 (bison.s1): Substitute the Bison version into bison.simple.
631
632 * bison.simple: Add a Bison version comment.
633
6341997-06-18 Richard Stallman <rms@gnu.org>
635
636 * src/main.c (fatal, warn, berror):
637 Make error messages standard.
638 (toomany): Improve error message text.
639
640 * 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:
641 new.h renamed to alloc.h.
642
6431997-06-18 Richard Stallman <rms@gnu.org>
644
645 * Makefile.in: new.h renamed to alloc.h.
646
6471997-05-24 Richard Stallman <rms@gnu.org>
648
649 * src/lex.c (literalchar):
650 Fix the code for escaping \, " and '.
651
652 (lex): Avoid trouble when there are many chars
653 to discard in a char literal with just several chars in it.
654
6551997-05-17 Richard Stallman <rms@gnu.org>
656
657 * src/bison.s1:
658 Use malloc, if using alloca is troublesome.
659 (YYSTACK_USE_ALLOCA): New flag macro.
660 Define it for some systems and compilers.
661 (YYSTACK_ALLOC): New macro.
662 (yyparse): Use YYSTACK_ALLOC to allocate stack.
663 If it was malloc'd, free it.
664
6651997-05-17 Richard Stallman <rms@gnu.org>
666
667 * bison.simple:
668 Use malloc, if using alloca is troublesome.
669 (YYSTACK_USE_ALLOCA): New flag macro.
670 Define it for some systems and compilers.
671 (YYSTACK_ALLOC): New macro.
672 (yyparse): Use YYSTACK_ALLOC to allocate stack.
673 If it was malloc'd, free it.
674
6751997-04-23 Richard Stallman <rms@gnu.org>
676
677 * src/bison.s1:
678 (alloca) [__hpux]: Always define as __builtin_alloca.
679
6801997-04-23 Richard Stallman <rms@gnu.org>
681
682 * bison.simple:
683 (alloca) [__hpux]: Always define as __builtin_alloca.
684
6851997-04-22 Richard Stallman <rms@gnu.org>
686
687 * src/bison.s1:
688 [__hpux]: Include alloca.h (right for HPUX 10)
689 instead of declaring alloca (right for HPUX 9).
690
691 * src/bison.s1 (__yy_memcpy):
692 Declare arg `count' as unsigned int.
693 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
694
6951997-04-22 Richard Stallman <rms@gnu.org>
696
697 * bison.simple:
698 [__hpux]: Include alloca.h (right for HPUX 10)
699 instead of declaring alloca (right for HPUX 9).
700
701 * bison.simple (__yy_memcpy):
702 Declare arg `count' as unsigned int.
703 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
704
7051997-01-03 Richard Stallman <rms@gnu.org>
706
707 * src/allocate.c: [__STDC__ or _MSC_VER]:
708 Declare calloc and realloc to return void *.
709
7101997-01-02 Richard Stallman <rms@gnu.org>
711
712 * src/system.h:
713 [_MSC_VER]: Include stdlib.h and process.h.
714 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
715
716 * src/main.c (main): Return FAILURE as a value.
717 (printable_version): Declare arg as int, not char.
718
7191997-01-02 Richard Stallman <rms@gnu.org>
720
721 * Makefile.in (dist):
722 Explicitly check for symlinks, and copy them.
723
7241996-12-19 Richard Stallman <rms@gnu.org>
725
726 * src/files.c:
727 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
728
7291996-12-18 Paul Eggert <eggert@gnu.org>
730
731 * src/bison.s1 (yyparse):
732 If __GNUC__ and YYPARSE_PARAM are both defined,
733 declare yyparse to have a void * argument.
734
7351996-12-18 Paul Eggert <eggert@gnu.org>
736
737 * bison.simple (yyparse):
738 If __GNUC__ and YYPARSE_PARAM are both defined,
739 declare yyparse to have a void * argument.
740
7411996-12-17 Richard Stallman <rms@gnu.org>
742
743 * src/reduce.c (nbits): Add some casts.
744
7451996-08-12 Richard Stallman <rms@gnu.org>
746
747 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
748
7491996-08-12 Richard Stallman <rms@gnu.org>
750
751 * bison.simple: Test _MSDOS as well as _MSDOS_.
752
7531996-07-31 Richard Stallman <rms@gnu.org>
754
755 * src/bison.s1:
756 [__sun && __i386]: Include alloca.h.
757
7581996-07-31 Richard Stallman <rms@gnu.org>
759
760 * bison.simple:
761 [__sun && __i386]: Include alloca.h.
762
7631996-07-30 Richard Stallman <rms@gnu.org>
764
765 * src/bison.s1: Comment change.
766
767 * src/bison.s1: Test _MSDOS_, not MSDOS.
768
7691996-07-30 Richard Stallman <rms@gnu.org>
770
771 * bison.simple: Comment change.
772
773 * bison.simple: Test _MSDOS_, not MSDOS.
774
7751996-06-01 Richard Stallman <rms@gnu.org>
776
777 * 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:
778 Insert `_' macro around many string constants.
779
780 * src/main.c:
781 Insert `_' macro around many string constants.
782
783 (main): Call setlocale, bindtextdomain and textdomain.
784
785 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
786 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
787 [ENABLE_NLS]: Include libintl.h.
788 [ENABLE_NLS] (gettext): Define.
789 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
790 (N_, PACKAGE, LOCALEDIR): New macros.
791
7921996-06-01 Richard Stallman <rms@gnu.org>
793
794 * POTFILES.in: New file.
795
796 * Makefile.in (allocate.o):
797 Define target explicitly.
798
799 * Makefile.in (CFLAGS): Set to @CFLAGS@.
800 (LDFLAGS): Set to @LDFLAGS@.
801 (configure): Run autoconf only if preceding `cd' succeeds.
802 (bison.s1): Redirect output to temporary file then move the
803 temporary to the target, rather than redirecting directly to bison.s1.
804 (clean): Remove config.status and config.log.
805 (distclean): Don't remove config.status here.
806
8071996-05-12 Richard Stallman <rms@gnu.org>
808
809 * src/bison.s1:
810 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
811
8121996-05-12 Richard Stallman <rms@gnu.org>
813
814 * bison.simple:
815 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
816
8171996-05-11 Richard Stallman <rms@gnu.org>
818
819 * src/bison.s1 (__yy_memcpy):
820 Really reorder the args, as was supposedly done on Feb 14 1995.
821 (yyparse): Calls changed accordingly.
822
8231996-05-11 Richard Stallman <rms@gnu.org>
824
825 * Makefile.in (dist): Don't use $(srcdir).
826
827 * bison.simple (__yy_memcpy):
828 Really reorder the args, as was supposedly done on Feb 14 1995.
829 (yyparse): Calls changed accordingly.
830
8311996-01-27 Richard Stallman <rms@gnu.org>
832
833 * src/output.c (output_rule_data):
834 Test YYERROR_VERBOSE in the conditional
835 around the definition of ttyname.
836
8371995-12-29 Richard Stallman <rms@gnu.org>
838
839 * src/bison.s1:
840 Fix line numbers in #line commands.
841
8421995-12-29 Richard Stallman <rms@gnu.org>
843
844 * bison.simple:
845 Fix line numbers in #line commands.
846
8471995-12-27 Richard Stallman <rms@gnu.org>
848
849 * src/bison.s1 (YYPARSE_PARAM_DECL):
850 In C++, make it always null.
851 (YYPARSE_PARAM_ARG): New macro.
852 (yyparse): Use YYPARSE_PARAM_ARG.
853
8541995-12-27 Richard Stallman <rms@gnu.org>
855
856 * bison.simple (YYPARSE_PARAM_DECL):
857 In C++, make it always null.
858 (YYPARSE_PARAM_ARG): New macro.
859 (yyparse): Use YYPARSE_PARAM_ARG.
860
8611995-11-29 Richard Stallman <rms@gnu.org>
862
863 * doc/bison.texinfo:
864 Describe literal string tokens, %raw, %no_lines, %token_table.
865
8661995-11-29 Daniel Hagerty <hag@gnu.org>
867
868 * doc/bison.texinfo: Fixed update date
869
8701995-10-16 Richard Stallman <rms@gnu.org>
871
872 * src/version.c: Version 1.25.
873
8741995-10-16 Richard Stallman <rms@gnu.org>
875
876 * NEWS: *** empty log message ***
877
8781995-10-16 Richard Stallman <rms@gnu.org>
879
880 * doc/bison.1, doc/bison.rnh:
881 Add new options.
882
8831995-10-15 Richard Stallman <rms@gnu.org>
884
885 * src/vmsgetargs.c, src/getargs.c:
886 Added -n, -k, and -raw switches.
887 (noparserflag, toknumflag, rawtoknumflag): New variables.
888
889 * src/symtab.h (SALIAS):
890 New #define for adding aliases to %token.
891 (struct bucket): Added `alias' field.
892
893 * src/reduce.c (reduce_grammar):
894 Revise error message.
895 (print_notices): Remove final `.' from error message.
896
897 * src/reader.c (reader_output_yylsp):
898 New function.
899 (readgram): Use `#if 0' around code that accepted %command
900 inside grammar rules: The documentation doesn't allow it,
901 and it will fail since the %command processors scan for the next %.
902 (parse_token_decl): Extended the %token
903 declaration to allow a multi-character symbol as an alias.
904 (parse_thong_decl): New function.
905 (read_declarations): Added %thong declarations.
906 (read_declarations): Handle NOOP to deal with allowing
907 % declarations as another means to specify the flags.
908 (readgram): Allow %prec prior to semantics embedded in a rule.
909 (skip_to_char, read_declarations, copy_definition)
910 (parse_token_decl, parse_start_decl, parse_type_decl)
911 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
912 (get_type_name, copy_guard, copy_action, readgram)
913 (get_type, packsymbols): Revised most error messages.
914 Changed `fatal' to `warnxxx' to avoid aborting for error.
915 Revised and use multiple warnxxx functions to avoid using VARARGS1.
916 (read_declarations): Improve the error message for
917 an invalid character. Do not abort.
918 (read_declarations, copy_guard, copy_action): Use
919 printable_version to avoid unprintable characters in printed output.
920 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
921 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
922 Allow the type of a non-terminal can be given
923 more than once, as long as all specifications give the same type.
924
925 * src/output.c:
926 (output_headers, output_trailers, output, output_gram)
927 (output_rule_data): Implement noparserflag variable.
928 Implement toknumflag variable.
929 (output): Call reader_output_yylsp to output LTYPESTR.
930
931 * src/main.c (main):
932 If reader sees an error, don't process the grammar.
933 (fatals): Updated to not use VARARGS1.
934 (printable_version, int_to_string, warn, warni, warns, warnss)
935 (warnsss): New error reporting functions. Avoid abort for error.
936
937 * src/lex.h:
938 Added THONG and NOOP for alias processing.
939 Added SETOPT for the new code that allows setting options with %flags.
940
941 * src/lex.c:
942 Include getopt.h. Add some extern decls.
943 (safegetc): New function to deal with EOF gracefully.
944 (literalchar); new function to deal with reading \ escapes.
945 (lex): Use literalchar.
946 (lex): Implemented "..." tokens.
947 (literalchar, lex, parse_percent_token): Made tokenbuffer
948 always contain the token. This includes growing the token
949 buffer while reading an integer.
950 (parse_percent_token): Replaced if-else statement with percent_table.
951 (parse_percent_token): Added % declarations as another
952 way to specify the flags -n, -l, and -r. Also added hooks for
953 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
954 major changes to files.c.
955 (lex) Retain in the incoming stream a character following
956 an incorrect '/'.
957 (skip_white_space, lex): Revised most error messages
958 and changed fatal to warn to avoid aborting.
959 (percent_table): Added %thong declarations.
960
961 * src/gram.h: Comment changes.
962
963 * src/files.c (openfiles, open_extra_files, done):
964 Add faction flag
965 and actfile file. Handle noparserflag. Both for -n switch.
966
967 * src/conflicts.c (resolve_sr_conflict):
968 Remove use of alloca.
969
9701995-06-01 Jim Meyering <meyering@gnu.org>
971
972 * doc/bison.texinfo: *** empty log message ***
973
9741995-05-06 Richard Stallman <rms@gnu.org>
975
976 * src/bison.s1: Comment change.
977
9781995-05-06 Richard Stallman <rms@gnu.org>
979
980 * bison.simple: Comment change.
981
9821995-05-03 Richard Stallman <rms@gnu.org>
983
984 * src/version.c: Version now 1.24.
985
986 * src/bison.s1: Change distribution terms.
987
988 * src/version.c: Version now 1.23.
989
9901995-05-03 Richard Stallman <rms@gnu.org>
991
992 * doc/bison.texinfo:
993 Rewrite "Conditions for Using Bison".
994 Update version to 1.24.
995
9961995-05-03 Richard Stallman <rms@gnu.org>
997
998 * bison.simple: Change distribution terms.
999
10001995-02-23 Richard Stallman <rms@gnu.org>
1001
1002 * src/files.c: Test __VMS_POSIX as well as VMS.
1003
10041995-02-14 Jim Meyering <meyering@gnu.org>
1005
1006 * src/bison.s1 (__yy_memcpy):
1007 Renamed from __yy_bcopy to avoid
1008 confusion. Reverse FROM and TO arguments to be consistent with
1009 those of memcpy.
1010
10111995-02-14 Jim Meyering <meyering@gnu.org>
1012
1013 * bison.simple (__yy_memcpy):
1014 Renamed from __yy_bcopy to avoid
1015 confusion. Reverse FROM and TO arguments to be consistent with
1016 those of memcpy.
1017
10181994-11-10 David J. MacKenzie <djm@gnu.org>
1019
1020 * NEWS: reformat
1021
1022 * NEWS: New file.
1023
1024 * Makefile.in (DISTFILES): Include NEWS.
1025
1026 * Makefile.in (DISTFILES):
1027 Include install-sh, not install.sh.
1028
1029 * configure.in: Update to Autoconf v2 macro names.
1030
10311994-10-05 David J. MacKenzie <djm@gnu.org>
1032
1033 * Makefile.in: fix typo
1034
1035 * Makefile.in (prefix, exec_prefix):
1036 Let configure set them.
1037
10381994-09-28 David J. MacKenzie <djm@gnu.org>
1039
1040 * Makefile.in: Set datadir to $(prefix)/share.
1041
10421994-09-15 Richard Stallman <rms@gnu.org>
1043
1044 * src/bison.s1:
1045 Update copyright notice and GPL version.
1046
10471994-09-15 Richard Stallman <rms@gnu.org>
1048
1049 * bison.simple:
1050 Update copyright notice and GPL version.
1051
10521994-07-12 Richard Stallman <rms@gnu.org>
1053
1054 * src/reduce.c, src/reader.c:
1055 entered into RCS
1056
10571994-05-05 David J. MacKenzie <djm@gnu.org>
1058
1059 * Makefile.in: entered into RCS
1060
10611994-03-26 Richard Stallman <rms@gnu.org>
1062
1063 * src/bison.s1: entered into RCS
1064
10651994-03-26 Richard Stallman <rms@gnu.org>
1066
1067 * bison.simple: entered into RCS
1068
10691994-03-25 Richard Stallman <rms@gnu.org>
1070
1071 * src/main.c: entered into RCS
1072
10731994-03-24 Richard Stallman <rms@gnu.org>
1074
1075 * src/conflicts.c: entered into RCS
1076
10771994-01-02 Richard Stallman <rms@gnu.org>
1078
1079 * Makefile.in: *** empty log message ***
1080
10811993-11-21 Richard Stallman <rms@gnu.org>
1082
1083 * src/bison.s1: *** empty log message ***
1084
10851993-11-21 Richard Stallman <rms@gnu.org>
1086
1087 * doc/bison.texinfo: entered into RCS
1088
1089 * doc/bison.texinfo: *** empty log message ***
1090
10911993-11-21 Richard Stallman <rms@gnu.org>
1092
1093 * bison.simple: *** empty log message ***
1094
10951993-10-25 David J. MacKenzie <djm@gnu.org>
1096
1097 * doc/bison.texinfo: *** empty log message ***
1098
10991993-10-19 Richard Stallman <rms@gnu.org>
1100
1101 * src/bison.s1: *** empty log message ***
1102
11031993-10-19 Richard Stallman <rms@gnu.org>
1104
1105 * bison.simple: *** empty log message ***
1106
11071993-10-14 Richard Stallman <rms@gnu.org>
1108
1109 * src/bison.s1: *** empty log message ***
1110
11111993-10-14 Richard Stallman <rms@gnu.org>
1112
1113 * bison.simple: *** empty log message ***
1114
11151993-09-14 David J. MacKenzie <djm@gnu.org>
1116
1117 * doc/bison.texinfo: *** empty log message ***
1118
11191993-09-13 Noah Friedman <friedman@gnu.org>
1120
1121 * Makefile.in: *** empty log message ***
1122
11231993-09-10 Richard Stallman <rms@gnu.org>
1124
1125 * src/conflicts.c: *** empty log message ***
1126
1127 * src/system.h: entered into RCS
1128
11291993-09-10 Richard Stallman <rms@gnu.org>
1130
1131 * doc/bison.1: entered into RCS
1132
11331993-09-06 Noah Friedman <friedman@gnu.org>
1134
1135 * src/version.c: entered into RCS
1136
11371993-09-06 Noah Friedman <friedman@gnu.org>
1138
1139 * Makefile.in: *** empty log message ***
1140
11411993-07-30 David J. MacKenzie <djm@gnu.org>
1142
1143 * Makefile.in: *** empty log message ***
1144
11451993-07-24 Richard Stallman <rms@gnu.org>
1146
1147 * src/bison.s1: *** empty log message ***
1148
11491993-07-24 Richard Stallman <rms@gnu.org>
1150
1151 * bison.simple: *** empty log message ***
1152
11531993-07-08 David J. MacKenzie <djm@gnu.org>
1154
1155 * Makefile.in: *** empty log message ***
1156
11571993-07-04 Richard Stallman <rms@gnu.org>
1158
1159 * src/bison.s1: *** empty log message ***
1160
11611993-07-04 Richard Stallman <rms@gnu.org>
1162
1163 * bison.simple: *** empty log message ***
1164
11651993-06-26 David J. MacKenzie <djm@gnu.org>
1166
1167 * src/getargs.c: entered into RCS
1168
11691993-06-26 David J. MacKenzie <djm@gnu.org>
1170
1171 * doc/bison.texinfo: *** empty log message ***
1172
1173 * doc/bison.1: New file.
1174
11751993-06-25 Richard Stallman <rms@gnu.org>
1176
1177 * src/getargs.c: New file.
1178
11791993-06-16 Richard Stallman <rms@gnu.org>
1180
1181 * src/bison.s1: *** empty log message ***
1182
11831993-06-16 Richard Stallman <rms@gnu.org>
1184
1185 * bison.simple: *** empty log message ***
1186
11871993-06-03 Richard Stallman <rms@gnu.org>
1188
1189 * src/bison.s1: New file.
1190
11911993-06-03 Richard Stallman <rms@gnu.org>
1192
1193 * doc/bison.texinfo: *** empty log message ***
1194
11951993-06-03 Richard Stallman <rms@gnu.org>
1196
1197 * bison.simple: New file.
1198
11991993-05-19 Richard Stallman <rms@gnu.org>
1200
1201 * doc/bison.texinfo: New file.
1202
12031993-05-07 Noah Friedman <friedman@gnu.org>
1204
1205 * Makefile.in: *** empty log message ***
1206
12071993-04-28 Noah Friedman <friedman@gnu.org>
1208
1209 * src/reader.c: *** empty log message ***
1210
12111993-04-23 Noah Friedman <friedman@gnu.org>
1212
1213 * src/alloc.h: entered into RCS
1214
12151993-04-20 David J. MacKenzie <djm@gnu.org>
1216
1217 * src/version.c: *** empty log message ***
1218
1219 * src/files.c, src/allocate.c:
1220 entered into RCS
1221
1222 * src/reader.c: *** empty log message ***
1223
1224 * src/lex.c: entered into RCS
1225
1226 * src/conflicts.c: New file.
1227
1228 * src/symtab.c: entered into RCS
1229
1230 * src/alloc.h: New file.
1231
1232 * src/LR0.c: entered into RCS
1233
12341993-04-18 Noah Friedman <friedman@gnu.org>
1235
1236 * src/reader.c: New file.
1237
1238 * src/version.c: *** empty log message ***
1239
12401993-04-18 Noah Friedman <friedman@gnu.org>
1241
1242 * Makefile.in: *** empty log message ***
1243
12441993-04-17 Noah Friedman <friedman@gnu.org>
1245
1246 * Makefile.in: *** empty log message ***
1247
12481993-04-15 Richard Stallman <rms@gnu.org>
1249
1250 * src/main.c, src/files.c:
1251 New file.
1252
12531993-04-15 Noah Friedman <friedman@gnu.org>
1254
1255 * configure.in: entered into RCS
1256
1257 * configure.in: *** empty log message ***
1258
1259 * configure.in: New file.
1260
12611993-04-14 Richard Stallman <rms@gnu.org>
1262
1263 * Makefile.in: New file.
1264
12651993-04-13 Richard Stallman <rms@gnu.org>
1266
1267 * src/version.c: New file.
1268
12691993-03-25 Richard Stallman <rms@gnu.org>
1270
1271 * src/output.c: entered into RCS
1272
12731992-09-25 Richard Stallman <rms@gnu.org>
1274
1275 * configure.bat: entered into RCS
1276
12771992-06-22 Richard Stallman <rms@gnu.org>
1278
1279 * src/vmsgetargs.c: entered into RCS
1280
12811992-06-22 Richard Stallman <rms@gnu.org>
1282
1283 * doc/bison.rnh: entered into RCS
1284
12851992-04-20 David J. MacKenzie <djm@gnu.org>
1286
1287 * README: entered into RCS
1288
12891992-01-22 Richard Stallman <rms@gnu.org>
1290
1291 * src/machine.h: entered into RCS
1292
12931991-12-21 Richard Stallman <rms@gnu.org>
1294
1295 * src/lalr.c, src/closure.c:
1296 entered into RCS
1297
12981991-12-20 Richard Stallman <rms@gnu.org>
1299
1300 * src/state.h: entered into RCS
1301
13021991-12-18 Richard Stallman <rms@gnu.org>
1303
1304 * src/print.c, src/nullable.c, src/derives.c:
1305 entered into RCS
1306
13071991-11-03 David J. MacKenzie <djm@gnu.org>
1308
1309 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1310 entered into RCS
1311
13121988-09-09 Richard Stallman <rms@gnu.org>
1313
1314 * src/bison.hairy: entered into RCS
1315
13161987-12-16 Richard Stallman <rms@gnu.org>
1317
1318 * REFERENCES: entered into RCS