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