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