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