]> git.saurik.com Git - bison.git/blob - ChangeLog
cd4a780493997daa7ee24e47ae1b808ddccb2f45
[bison.git] / ChangeLog
1 2000-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
7 2000-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
13 2000-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
27 2000-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
42 2000-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
55 2000-03-31 Akim Demaille <akim@epita.fr>
56
57 * src/files.c (tryopen, tryclose): Move to the top.
58 Be static.
59
60 2000-03-31 Akim Demaille <akim@epita.fr>
61
62 * src/main.c (main): Don't call `done', exit does it.
63
64 2000-03-31 Akim Demaille <akim@epita.fr>
65
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
74 2000-03-31 Akim Demaille <akim@epita.fr>
75
76 Clean up the error reporting functions.
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
95 2000-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
111 2000-03-28 Akim Demaille <akim@epita.fr>
112
113 * src/getargs.c (usage): Refresh the help message.
114
115 2000-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
121 2000-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
126 2000-03-17 Akim Demaille <akim@epita.fr>
127
128 On syntax errors, report the token on which we choked.
129
130 * src/bison.s1 (yyparse): In the label yyerrlab, when
131 YYERROR_VERBOSE, add yychar in msg.
132
133 2000-03-17 Akim Demaille <akim@epita.fr>
134
135 * src/reader.c (copy_at): New function.
136 (copy_guard): Use it.
137 (copy_action): Use it.
138
139 2000-03-17 Akim Demaille <akim@epita.fr>
140
141 Be kind to translators, save some useless translations.
142
143 * src/main.c (banner): New function.
144 (fatal_banner): Use it.
145 (warn_banner): Use it.
146
147 2000-03-17 Akim Demaille <akim@epita.fr>
148
149 * src/reader.c (copy_definition): Use copy_string and
150 copy_comment. Removed now unused `match', `ended',
151 `cplus_comment'.
152 (copy_comment, copy_string): Moved, to be visible from
153 copy_definition.
154
155 2000-03-17 Akim Demaille <akim@epita.fr>
156
157 * src/reader.c (copy_string): Declare `static inline'. No
158 problems with inline, since it is checked by configure.
159 (copy_comment): Likewise.
160
161 2000-03-17 Akim Demaille <akim@epita.fr>
162
163 * src/reader.c (packsymbols): Formatting changes.
164
165 2000-03-17 Akim Demaille <akim@epita.fr>
166
167 * src/reader.c (copy_comment): New function, factored out from:
168 (copy_action): Use it. Removed now unused `match', `ended',
169 `cplus_comment'.
170 (copy_guard): Likewise.
171
172 2000-03-17 Akim Demaille <akim@epita.fr>
173
174 * src/reader.c (copy_string): New function, factored out from:
175 (copy_action): Use it.
176 (copy_guard): Likewise.
177
178 2000-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
198 2000-03-17 Akim Demaille <akim@epita.fr>
199
200 * src/bison.s1: Formatting and cosmetics changes.
201 * src/reader.c: Likewise.
202 Update the Copyright notice.
203
204 2000-03-17 Akim Demaille <akim@epita.fr>
205
206 * src/bison.s1 (#line): All set to `#line' only, since the
207 Makefile now handles them.
208
209 2000-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
216 2000-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
223 2000-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
228 2000-03-16 Akim Demaille <akim@epita.fr>
229
230 * src/bison.s1: Properly indent CPP directives.
231
232 2000-03-16 Akim Demaille <akim@epita.fr>
233
234 * src/bison.s1: Properly indent the `alloca' CPP section.
235
236 2000-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
267 2000-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
274 1999-12-13 Jesse Thilo <jthilo@gnu.org>
275
276 * src/files.c:
277 OS/2 honors TMPDIR environment variable.
278
279 1999-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
286 1999-12-13 Jesse Thilo <jthilo@gnu.org>
287
288 * configure.in, NEWS:
289 Bison 1.29 released.
290
291 1999-10-27 Jesse Thilo <jthilo@gnu.org>
292
293 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
294 Added reference card.
295
296 1999-07-26 Jesse Thilo <jthilo@gnu.org>
297
298 * po/ru.po: Added Russian translation.
299
300 1999-07-26 Jesse Thilo <jthilo@gnu.org>
301
302 * configure.in: Added Russian translation.
303
304 1999-07-06 Jesse Thilo <jthilo@gnu.org>
305
306 * configure.in, NEWS, README:
307 Released version 1.28.
308
309 1999-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
318 1999-06-14 Jesse Thilo <jthilo@gnu.org>
319
320 * po/POTFILES.in: Got rid of version.c.
321
322 1999-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
328 1999-06-08 Jesse Thilo <jthilo@gnu.org>
329
330 * doc/bison.1:
331 Dropped mention of `+' for long-named options.
332
333 1999-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
340 1999-05-30 Jesse Thilo <jthilo@gnu.org>
341
342 * README: Added a FAQ list.
343
344 * configure.in, acconfig.h:
345 I18n fixes.
346
347 1999-05-30 Jesse Thilo <jthilo@gnu.org>
348
349 * doc/FAQ, doc/Makefile.am:
350 Added a FAQ list.
351
352 1999-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
357 1999-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
366 1999-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
371 1999-04-18 Jesse Thilo <jthilo@gnu.org>
372
373 * doc/.cvsignore, doc/Makefile.am:
374 Reorganized: sources in `src', documentation in `doc'.
375
376 1999-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
384 1999-04-13 Jesse Thilo <jthilo@gnu.org>
385
386 * src/allocate.c:
387 Don't declare calloc() and realloc() if not necessary.
388
389 1999-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
394 1999-03-23 Jesse Thilo <jthilo@gnu.org>
395
396 * po/.cvsignore: Added i18n support.
397
398 1999-03-23 Jesse Thilo <jthilo@gnu.org>
399
400 * acconfig.h, configure.in, Makefile.am:
401 Added i18n support.
402
403 1999-03-22 Jesse Thilo <jthilo@gnu.org>
404
405 * src/bison.s1: Fixed #line numbers.
406
407 1999-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
412 1999-03-03 Jesse Thilo <jthilo@gnu.org>
413
414 * Makefile.am:
415 Added support for non-ANSI compilers (ansi2knr).
416
417 1999-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
424 1999-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
429 1999-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
434 1999-02-09 Jesse Thilo <jthilo@gnu.org>
435
436 * Makefile.am:
437 Removed inappropriate use of $< macro.
438
439 1999-02-05 Jesse Thilo <jthilo@gnu.org>
440
441 * po/Makefile.in.in, po/POTFILES.in:
442 Add `po' directory skeleton.
443
444 1999-01-27 Jesse Thilo <jthilo@gnu.org>
445
446 * README: Document help-bison list.
447
448 * configure.in: Add check for mkstemp().
449
450 1999-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
459 1999-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
465 1999-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
470 1999-01-14 Jesse Thilo <jthilo@gnu.org>
471
472 * doc/bison.texinfo: Fix formatting glitch.
473
474 * doc/bison.texinfo: Update FSF address.
475
476 1999-01-14 Jesse Thilo <jthilo@gnu.org>
477
478 * acconfig.h: Update FSF address.
479
480 1999-01-08 Jesse Thilo <jthilo@gnu.org>
481
482 * src/system.h:
483 Don't define PACKAGE here, since config.h defines it.
484
485 1998-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
508 1998-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
514 1998-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
526 1998-12-29 Jesse Thilo <jthilo@gnu.org>
527
528 * src/version.c:
529 Use VERSION symbol from automake for version number.
530
531 1998-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
536 1998-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
542 1998-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
549 1998-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
554 1998-11-26 Jesse Thilo <jthilo@gnu.org>
555
556 * doc/bison.1:
557 Document the BISON_HAIRY and BISON_SIMPLE variables.
558
559 1998-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
573 1998-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
591 1998-11-25 Jesse Thilo <jthilo@gnu.org>
592
593 * doc/bison.texinfo: Clean up some formatting.
594
595 1998-05-05 Richard Stallman <rms@gnu.org>
596
597 * doc/bison.texinfo:
598 Explain better why to make a pure parser.
599
600 1998-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
607 1997-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
614 1997-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
621 1997-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
629 1997-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
638 1997-06-18 Richard Stallman <rms@gnu.org>
639
640 * Makefile.in: new.h renamed to alloc.h.
641
642 1997-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
650 1997-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
660 1997-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
670 1997-04-23 Richard Stallman <rms@gnu.org>
671
672 * src/bison.s1:
673 (alloca) [__hpux]: Always define as __builtin_alloca.
674
675 1997-04-23 Richard Stallman <rms@gnu.org>
676
677 * bison.simple:
678 (alloca) [__hpux]: Always define as __builtin_alloca.
679
680 1997-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
690 1997-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
700 1997-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
705 1997-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
714 1997-01-02 Richard Stallman <rms@gnu.org>
715
716 * Makefile.in (dist):
717 Explicitly check for symlinks, and copy them.
718
719 1996-12-19 Richard Stallman <rms@gnu.org>
720
721 * src/files.c:
722 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
723
724 1996-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
730 1996-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
736 1996-12-17 Richard Stallman <rms@gnu.org>
737
738 * src/reduce.c (nbits): Add some casts.
739
740 1996-08-12 Richard Stallman <rms@gnu.org>
741
742 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
743
744 1996-08-12 Richard Stallman <rms@gnu.org>
745
746 * bison.simple: Test _MSDOS as well as _MSDOS_.
747
748 1996-07-31 Richard Stallman <rms@gnu.org>
749
750 * src/bison.s1:
751 [__sun && __i386]: Include alloca.h.
752
753 1996-07-31 Richard Stallman <rms@gnu.org>
754
755 * bison.simple:
756 [__sun && __i386]: Include alloca.h.
757
758 1996-07-30 Richard Stallman <rms@gnu.org>
759
760 * src/bison.s1: Comment change.
761
762 * src/bison.s1: Test _MSDOS_, not MSDOS.
763
764 1996-07-30 Richard Stallman <rms@gnu.org>
765
766 * bison.simple: Comment change.
767
768 * bison.simple: Test _MSDOS_, not MSDOS.
769
770 1996-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
787 1996-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
802 1996-05-12 Richard Stallman <rms@gnu.org>
803
804 * src/bison.s1:
805 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
806
807 1996-05-12 Richard Stallman <rms@gnu.org>
808
809 * bison.simple:
810 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
811
812 1996-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
818 1996-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
826 1996-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
832 1995-12-29 Richard Stallman <rms@gnu.org>
833
834 * src/bison.s1:
835 Fix line numbers in #line commands.
836
837 1995-12-29 Richard Stallman <rms@gnu.org>
838
839 * bison.simple:
840 Fix line numbers in #line commands.
841
842 1995-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
849 1995-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
856 1995-11-29 Richard Stallman <rms@gnu.org>
857
858 * doc/bison.texinfo:
859 Describe literal string tokens, %raw, %no_lines, %token_table.
860
861 1995-11-29 Daniel Hagerty <hag@gnu.org>
862
863 * doc/bison.texinfo: Fixed update date
864
865 1995-10-16 Richard Stallman <rms@gnu.org>
866
867 * src/version.c: Version 1.25.
868
869 1995-10-16 Richard Stallman <rms@gnu.org>
870
871 * NEWS: *** empty log message ***
872
873 1995-10-16 Richard Stallman <rms@gnu.org>
874
875 * doc/bison.1, doc/bison.rnh:
876 Add new options.
877
878 1995-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
965 1995-06-01 Jim Meyering <meyering@gnu.org>
966
967 * doc/bison.texinfo: *** empty log message ***
968
969 1995-05-06 Richard Stallman <rms@gnu.org>
970
971 * src/bison.s1: Comment change.
972
973 1995-05-06 Richard Stallman <rms@gnu.org>
974
975 * bison.simple: Comment change.
976
977 1995-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
985 1995-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
991 1995-05-03 Richard Stallman <rms@gnu.org>
992
993 * bison.simple: Change distribution terms.
994
995 1995-02-23 Richard Stallman <rms@gnu.org>
996
997 * src/files.c: Test __VMS_POSIX as well as VMS.
998
999 1995-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
1006 1995-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
1013 1994-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
1026 1994-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
1033 1994-09-28 David J. MacKenzie <djm@gnu.org>
1034
1035 * Makefile.in: Set datadir to $(prefix)/share.
1036
1037 1994-09-15 Richard Stallman <rms@gnu.org>
1038
1039 * src/bison.s1:
1040 Update copyright notice and GPL version.
1041
1042 1994-09-15 Richard Stallman <rms@gnu.org>
1043
1044 * bison.simple:
1045 Update copyright notice and GPL version.
1046
1047 1994-07-12 Richard Stallman <rms@gnu.org>
1048
1049 * src/reduce.c, src/reader.c:
1050 entered into RCS
1051
1052 1994-05-05 David J. MacKenzie <djm@gnu.org>
1053
1054 * Makefile.in: entered into RCS
1055
1056 1994-03-26 Richard Stallman <rms@gnu.org>
1057
1058 * src/bison.s1: entered into RCS
1059
1060 1994-03-26 Richard Stallman <rms@gnu.org>
1061
1062 * bison.simple: entered into RCS
1063
1064 1994-03-25 Richard Stallman <rms@gnu.org>
1065
1066 * src/main.c: entered into RCS
1067
1068 1994-03-24 Richard Stallman <rms@gnu.org>
1069
1070 * src/conflicts.c: entered into RCS
1071
1072 1994-01-02 Richard Stallman <rms@gnu.org>
1073
1074 * Makefile.in: *** empty log message ***
1075
1076 1993-11-21 Richard Stallman <rms@gnu.org>
1077
1078 * src/bison.s1: *** empty log message ***
1079
1080 1993-11-21 Richard Stallman <rms@gnu.org>
1081
1082 * doc/bison.texinfo: entered into RCS
1083
1084 * doc/bison.texinfo: *** empty log message ***
1085
1086 1993-11-21 Richard Stallman <rms@gnu.org>
1087
1088 * bison.simple: *** empty log message ***
1089
1090 1993-10-25 David J. MacKenzie <djm@gnu.org>
1091
1092 * doc/bison.texinfo: *** empty log message ***
1093
1094 1993-10-19 Richard Stallman <rms@gnu.org>
1095
1096 * src/bison.s1: *** empty log message ***
1097
1098 1993-10-19 Richard Stallman <rms@gnu.org>
1099
1100 * bison.simple: *** empty log message ***
1101
1102 1993-10-14 Richard Stallman <rms@gnu.org>
1103
1104 * src/bison.s1: *** empty log message ***
1105
1106 1993-10-14 Richard Stallman <rms@gnu.org>
1107
1108 * bison.simple: *** empty log message ***
1109
1110 1993-09-14 David J. MacKenzie <djm@gnu.org>
1111
1112 * doc/bison.texinfo: *** empty log message ***
1113
1114 1993-09-13 Noah Friedman <friedman@gnu.org>
1115
1116 * Makefile.in: *** empty log message ***
1117
1118 1993-09-10 Richard Stallman <rms@gnu.org>
1119
1120 * src/conflicts.c: *** empty log message ***
1121
1122 * src/system.h: entered into RCS
1123
1124 1993-09-10 Richard Stallman <rms@gnu.org>
1125
1126 * doc/bison.1: entered into RCS
1127
1128 1993-09-06 Noah Friedman <friedman@gnu.org>
1129
1130 * src/version.c: entered into RCS
1131
1132 1993-09-06 Noah Friedman <friedman@gnu.org>
1133
1134 * Makefile.in: *** empty log message ***
1135
1136 1993-07-30 David J. MacKenzie <djm@gnu.org>
1137
1138 * Makefile.in: *** empty log message ***
1139
1140 1993-07-24 Richard Stallman <rms@gnu.org>
1141
1142 * src/bison.s1: *** empty log message ***
1143
1144 1993-07-24 Richard Stallman <rms@gnu.org>
1145
1146 * bison.simple: *** empty log message ***
1147
1148 1993-07-08 David J. MacKenzie <djm@gnu.org>
1149
1150 * Makefile.in: *** empty log message ***
1151
1152 1993-07-04 Richard Stallman <rms@gnu.org>
1153
1154 * src/bison.s1: *** empty log message ***
1155
1156 1993-07-04 Richard Stallman <rms@gnu.org>
1157
1158 * bison.simple: *** empty log message ***
1159
1160 1993-06-26 David J. MacKenzie <djm@gnu.org>
1161
1162 * src/getargs.c: entered into RCS
1163
1164 1993-06-26 David J. MacKenzie <djm@gnu.org>
1165
1166 * doc/bison.texinfo: *** empty log message ***
1167
1168 * doc/bison.1: New file.
1169
1170 1993-06-25 Richard Stallman <rms@gnu.org>
1171
1172 * src/getargs.c: New file.
1173
1174 1993-06-16 Richard Stallman <rms@gnu.org>
1175
1176 * src/bison.s1: *** empty log message ***
1177
1178 1993-06-16 Richard Stallman <rms@gnu.org>
1179
1180 * bison.simple: *** empty log message ***
1181
1182 1993-06-03 Richard Stallman <rms@gnu.org>
1183
1184 * src/bison.s1: New file.
1185
1186 1993-06-03 Richard Stallman <rms@gnu.org>
1187
1188 * doc/bison.texinfo: *** empty log message ***
1189
1190 1993-06-03 Richard Stallman <rms@gnu.org>
1191
1192 * bison.simple: New file.
1193
1194 1993-05-19 Richard Stallman <rms@gnu.org>
1195
1196 * doc/bison.texinfo: New file.
1197
1198 1993-05-07 Noah Friedman <friedman@gnu.org>
1199
1200 * Makefile.in: *** empty log message ***
1201
1202 1993-04-28 Noah Friedman <friedman@gnu.org>
1203
1204 * src/reader.c: *** empty log message ***
1205
1206 1993-04-23 Noah Friedman <friedman@gnu.org>
1207
1208 * src/alloc.h: entered into RCS
1209
1210 1993-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
1229 1993-04-18 Noah Friedman <friedman@gnu.org>
1230
1231 * src/reader.c: New file.
1232
1233 * src/version.c: *** empty log message ***
1234
1235 1993-04-18 Noah Friedman <friedman@gnu.org>
1236
1237 * Makefile.in: *** empty log message ***
1238
1239 1993-04-17 Noah Friedman <friedman@gnu.org>
1240
1241 * Makefile.in: *** empty log message ***
1242
1243 1993-04-15 Richard Stallman <rms@gnu.org>
1244
1245 * src/main.c, src/files.c:
1246 New file.
1247
1248 1993-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
1256 1993-04-14 Richard Stallman <rms@gnu.org>
1257
1258 * Makefile.in: New file.
1259
1260 1993-04-13 Richard Stallman <rms@gnu.org>
1261
1262 * src/version.c: New file.
1263
1264 1993-03-25 Richard Stallman <rms@gnu.org>
1265
1266 * src/output.c: entered into RCS
1267
1268 1992-09-25 Richard Stallman <rms@gnu.org>
1269
1270 * configure.bat: entered into RCS
1271
1272 1992-06-22 Richard Stallman <rms@gnu.org>
1273
1274 * src/vmsgetargs.c: entered into RCS
1275
1276 1992-06-22 Richard Stallman <rms@gnu.org>
1277
1278 * doc/bison.rnh: entered into RCS
1279
1280 1992-04-20 David J. MacKenzie <djm@gnu.org>
1281
1282 * README: entered into RCS
1283
1284 1992-01-22 Richard Stallman <rms@gnu.org>
1285
1286 * src/machine.h: entered into RCS
1287
1288 1991-12-21 Richard Stallman <rms@gnu.org>
1289
1290 * src/lalr.c, src/closure.c:
1291 entered into RCS
1292
1293 1991-12-20 Richard Stallman <rms@gnu.org>
1294
1295 * src/state.h: entered into RCS
1296
1297 1991-12-18 Richard Stallman <rms@gnu.org>
1298
1299 * src/print.c, src/nullable.c, src/derives.c:
1300 entered into RCS
1301
1302 1991-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
1307 1988-09-09 Richard Stallman <rms@gnu.org>
1308
1309 * src/bison.hairy: entered into RCS
1310
1311 1987-12-16 Richard Stallman <rms@gnu.org>
1312
1313 * REFERENCES: entered into RCS