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