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