1 1998-01-04 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
3 * files.c (openfiles) [_WIN32 && !__CYGWIN32__]: Use TEMP or Temp to
4 find a temporary directory, if possible. Do not unlink files while
7 1997-08-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
9 * reader.c (stack_offset;): Change some warni to warns.
11 * lex.c (literalchar): Use warns, not warni.
13 1997-06-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
15 * bison.simple: Add a Bison version comment.
17 * Makefile.in (bison_version): New variable.
18 (dist): Use that variable.
19 (bison.s1): Substitute the Bison version into bison.simple.
21 * main.c (fatal, warn, berror): Use program_name.
23 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
25 * Makefile.in: new.h renamed to alloc.h.
26 * *.c: new.h renamed to alloc.h.
28 * alloc.h: Renamed from new.h.
30 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
32 * main.c (fatal, warn, berror): Make error messages standard.
33 (toomany): Improve error message text.
35 1997-05-24 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
37 * lex.c (literalchar): Fix the code for escaping \, " and '.
39 1997-05-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
41 * lex.c (lex): Avoid trouble when there are many chars
42 to discard in a char literal with just several chars in it.
44 1997-05-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
46 * bison.simple: Use malloc, if using alloca is troublesome.
47 (YYSTACK_USE_ALLOCA): New flag macro.
48 Define it for some systems and compilers.
49 (YYSTACK_ALLOC): New macro.
50 (yyparse): Use YYSTACK_ALLOC to allocate stack.
51 If it was malloc'd, free it.
53 1997-05-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
55 * bison.simple [_AIX]: Don't include malloc.h.
57 1997-04-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
59 * bison.simple (alloca) [__hpux]: Always define as __builtin_alloca.
61 1997-04-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
63 * bison.simple (__yy_memcpy): Declare arg `count' as unsigned int.
64 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
66 * bison.simple (alloca) [__hpux]: Include alloca.h (right for HPUX 10)
67 instead of declaring alloca (right for HPUX 9).
69 1997-01-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
71 * allocate.c [__STDC__ or _MSC_VER]:
72 Declare calloc and realloc to return void *.
74 * Makefile.in (dist): Explicitly check for symlinks, and copy them.
76 Tue Dec 17 21:19:31 1996 Paul Eggert <eggert@twinsun.com>
78 * bison.simple (yyparse): If __GNUC__ and YYPARSE_PARAM are both
79 defined, declare yyparse to have a void * argument.
81 Tue Dec 17 01:12:08 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
83 * system.h [_MSC_VER]: Include stdlib.h and process.h.
84 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
86 * reduce.c (nbits): Add some casts.
88 * main.c (main): Return FAILURE as a value.
89 (printable_version): Declare arg as int, not char.
91 * files.c [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
93 Mon Dec 16 19:28:01 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
95 * main.c (printable_version): Use type `int' for the arg.
97 Mon Aug 12 18:16:54 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
99 * bison.simple: Test _MSDOS as well as _MSDOS_.
101 Wed Jul 31 15:18:38 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
103 * bison.simple [__sun && __i386]: Include alloca.h.
105 Tue Jul 30 00:36:43 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
107 * bison.simple: Test _MSDOS_, not MSDOS.
109 Sat Jun 1 17:59:56 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
111 * All files: Insert `_' macro around many string constants.
113 * system.h [HAVE_LOCALE_H]: Include locale.h.
114 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
115 [ENABLE_NLS]: Include libintl.h.
116 [ENABLE_NLS] (gettext): Define.
117 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
118 (N_, PACKAGE, LOCALEDIR): New macros.
120 * main.c (main): Call setlocale, bindtextdomain and textdomain.
122 * POTFILES.in: New file.
124 * Makefile.in (allocate.o): Define target explicitly.
126 Sat Jun 1 08:34:46 1996 Jim Meyering (meyering@na-net.ornl.gov)
128 * Makefile.in (CFLAGS): Set to @CFLAGS@.
129 (LDFLAGS): Set to @LDFLAGS@.
130 (configure): Run autoconf only if preceding `cd' succeeds.
131 (bison.s1): Redirect output to temporary file then move the
132 temporary to the target, rather than redirecting directly to bison.s1.
133 (clean): Remove config.status and config.log.
134 (distclean): Don't remove config.status here.
136 Sun May 12 08:34:46 1996 Jim Meyering (meyering@na-net.ornl.gov)
138 * bison.simple (__yy_memcpy) [__cplusplus]: Reorder declarations
139 of variables f and t.
141 Sat May 11 15:11:15 1996 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
143 * Version 1.25 released.
145 * Makefile.in (dist): Don't use $(srcdir).
147 * bison.simple (__yy_memcpy): Really reorder the args, as was
148 supposedly done on Feb 14 1995.
149 (yyparse): Calls changed accordingly.
151 Wed Jan 24 22:56:29 1996 Richard Stallman <rms@mole.gnu.ai.mit.edu>
153 * output.c (output_rule_data): Test YYERROR_VERBOSE in the conditional
154 around the definition of ttyname.
156 Thu Dec 28 23:27:32 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
158 * bison.simple: Fix line numbers in #line commands.
160 Sun Dec 24 16:59:44 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
162 * bison.simple (YYPARSE_PARAM_DECL): In C++, make it always null.
163 (YYPARSE_PARAM_ARG): New macro.
164 (yyparse): Use YYPARSE_PARAM_ARG.
166 Sun Oct 15 12:44:09 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
168 * version.c: Version now 1.25.
170 * main.c (warn): Set `failure'.
172 Tue Aug 1 12:30:38 EDT 1995 Wilfred J. Hansen <wjh+@cmu.edu>
174 * bison.cld, getargs.c, vmsgetargs.c: Added -n, -k, and -raw switches.
175 (noparserflag, toknumflag, rawtoknumflag): New variables.
177 * conflicts.c (resolve_sr_conflict): Remove use of alloca.
179 * files.c (openfiles, open_extra_files, done): Add faction flag
180 and actfile file. Handle noparserflag. Both for -n switch.
182 * lex.c: Include getopt.h. Add some extern decls.
183 (safegetc): New function to deal with EOF gracefully.
184 (literalchar); new function to deal with reading \ escapes.
185 (lex): Use literalchar.
186 (lex): Implemented "..." tokens.
187 (literalchar, lex, parse_percent_token): Made tokenbuffer
188 always contain the token. This includes growing the token
189 buffer while reading an integer.
190 (parse_percent_token): Replaced if-else statement with percent_table.
191 (parse_percent_token): Added % declarations as another
192 way to specify the flags -n, -l, and -r. Also added hooks for
193 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
194 major changes to files.c.
195 (lex) Retain in the incoming stream a character following
197 (skip_white_space, lex): Revised most error messages
198 and changed fatal to warn to avoid aborting.
199 (percent_table): Added %thong declarations.
201 * lex.h: Added THONG and NOOP for alias processing.
202 Added SETOPT for the new code that allows setting options with %flags.
204 * main.c (main): If reader sees an error, don't process the grammar.
205 (fatals): Updated to not use VARARGS1.
206 (printable_version, int_to_string, warn, warni, warns, warnss)
207 (warnsss): New error reporting functions. Avoid abort for error.
209 * output.c (output_headers, output_trailers, output, output_gram)
210 (output_rule_data): Implement noparserflag variable.
211 Implement toknumflag variable.
212 (output): Call reader_output_yylsp to output LTYPESTR.
214 * reader.c (reader_output_yylsp): New function.
215 (readgram): Use `#if 0' around code that accepted %command
216 inside grammar rules: The documentation doesn't allow it,
217 and it will fail since the %command processors scan for the next %.
218 (parse_token_decl): Extended the %token
219 declaration to allow a multi-character symbol as an alias.
220 (parse_thong_decl): New function.
221 (read_declarations): Added %thong declarations.
222 (read_declarations): Handle NOOP to deal with allowing
223 % declarations as another means to specify the flags.
224 (readgram): Allow %prec prior to semantics embedded in a rule.
225 (skip_to_char, read_declarations, copy_definition)
226 (parse_token_decl, parse_start_decl, parse_type_decl)
227 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
228 (get_type_name, copy_guard, copy_action, readgram)
229 (get_type, packsymbols): Revised most error messages.
230 Changed `fatal' to `warnxxx' to avoid aborting for error.
231 Revised and use multiple warnxxx functions to avoid using VARARGS1.
232 (read_declarations): Improve the error message for
233 an invalid character. Do not abort.
234 (read_declarations, copy_guard, copy_action): Use
235 printable_version to avoid unprintable characters in printed output.
236 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
237 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
238 Allow the type of a non-terminal can be given
239 more than once, as long as all specifications give the same type.
241 * reduce.c (reduce_grammar): Revise an error message.
242 (print_notices): Remove final `.' from error message.
244 * symtab.h (SALIAS): New #define for adding aliases to %token.
245 (struct bucket): Added `alias' field.
247 Wed May 3 03:12:28 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
249 * bison.simple: Change distribution terms.
251 * version.c: Version now 1.23. No, 1.24.
253 Thu Feb 23 02:43:21 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
255 * files.c: Test __VMS_POSIX as well as VMS.
257 Tue Feb 14 11:53:05 1995 Jim Meyering (meyering@comco.com)
259 * bison.simple (__yy_memcpy): Renamed from __yy_bcopy to avoid
260 confusion. Reverse FROM and TO arguments to be consistent with
263 Thu Nov 10 16:33:41 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
265 * Makefile.in (DISTFILES): Include install-sh, not install.sh.
268 * configure.in: Update to Autoconf v2 macro names.
270 Tue Oct 4 22:25:43 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
272 * Makefile.in (prefix, exec_prefix): Let configure set them.
274 Wed Sep 28 09:55:28 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
276 * Makefile.in: Set datadir to $(prefix)/share.
278 Tue Jul 12 16:42:43 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
280 * reader.c (reader): Rename undefined-token token to `$undefined.'.
282 Thu May 5 14:41:02 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
284 * Makefile.in (DISTFILES): Add install.sh.
285 (install): Remove chmod commands.
287 Sat Mar 26 15:33:07 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
289 * bison.simple: Fix #line commands.
291 Thu Mar 24 23:09:07 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
293 * conflicts.c (print_reductions): Increment both fp1 and fp2
294 while printing reductions in multi-rule case.
296 Sun Jan 2 15:51:52 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
298 * Makefile.in (LDFLAGS): Make it empty by default.
301 Sun Nov 21 05:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
303 * bison.simple (YYLEX): Take notice of YYLEX_PARAM.
305 Mon Oct 18 23:52:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
307 * bison.simple (YYPARSE_PARAM_DECL): Always define this.
309 Thu Oct 14 12:19:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
311 * bison.simple (yyparse): Support YYPARSE_PARAM.
313 Mon Sep 13 18:17:14 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
315 * Makefile.in (check): New target.
317 Fri Sep 10 08:10:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
319 * conflicts.c (alloca): #undef before defining.
321 * system.h (bcopy): Don't define if already defined.
323 Mon Sep 6 15:32:32 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
325 * Version 1.22 released.
327 * mkinstalldirs: New file.
329 * Makefile.in (dist): Use .gz for extension, not .z.
330 (DISTFILES): New variable.
331 (dist): Use it instead of explicit file list.
332 Try to link each file separately, then copy file if ln fails.
333 (installdirs): Use mkinstalldirs script.
335 Thu Jul 29 20:35:02 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
337 * Makefile.in (config.status): Run config.status --recheck, not
338 configure, to get the right args passed.
340 Sat Jul 24 04:00:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
342 * bison.simple (yyparse): Init yychar1 to avoid warning.
344 Sun Jul 4 16:05:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
346 * bison.simple (yyparse): Don't set yyval when yylen is 0.
348 Sat Jun 26 15:54:04 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
350 * getargs.c (getargs): Exit after printing the version number.
351 Add --help and -h options.
352 (usage): New function.
354 Fri Jun 25 15:11:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
356 * getargs.c (longopts): Allow `output' as an alternative.
358 Wed Jun 16 17:02:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
360 * bison.simple (yyparse): Conditionalize the entire call to yyoverflow,
361 not just two arguments in it.
363 Thu Jun 3 13:07:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
365 * bison.simple [__hpux] (alloca): Don't specify arg types.
367 Fri May 7 05:53:17 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
369 * Makefile.in (install): Depend on `uninstall' and `installdirs'.
370 (installdirs): New target.
372 Wed Apr 28 15:15:15 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
374 * reader.c: Remove declaration of atoi.
376 Fri Apr 23 12:29:20 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
378 * new.h [!__STDC__] (FREE): Check x != 0.
379 Make expr to call `free' evaluate to 0.
381 Tue Apr 20 01:43:44 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
383 * files.c [MSDOS]: Use xmalloc, not malloc.
384 * allocate.c (xmalloc): Renamed from mallocate. Remove old wrapper.
385 * conflicts.c, symtab.c, files.c, LR0.c, new.h: Change callers.
386 * allocate.c (xrealloc): New function.
388 * lex.c, reader.c: Use it.
390 Sun Apr 18 00:45:56 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
392 * Version 1.21 released.
394 * reader.c : Don't declare `realloc'.
396 * Makefile.in (bison.s1): use `rm -f' since it's quieter.
397 (dist): make gzipped tar file.
399 Fri Apr 16 21:24:10 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
401 * Makefile.in (Makefile, config.status, configure): New targets.
403 Thu Apr 15 15:37:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
405 * main.c: Don't declare `abort'.
407 * files.c: Don't declare `exit'.
409 Thu Apr 15 02:42:38 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
411 * configure.in: Add AC_CONST.
413 Wed Apr 14 00:51:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
415 * Makefile.in (all): Depend on bison.s1.
417 Tue Apr 13 14:52:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
419 * Version 1.20 released.
421 Wed Mar 24 21:45:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu)
423 * output.c (output_headers): Rename yynerrs if -p.
425 Thu Mar 18 00:02:17 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
427 * system.h: Don't try to include stdlib.h unless HAVE_STDLIB_H is
430 * configure.in: Check for stdlib.h.
432 Wed Mar 17 14:44:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
434 * bison.simple [__hpux, not __GNUC__]: Declare alloca.
435 (yyparse): When printing the expected token types for an error,
436 Avoid negative indexes in yycheck and yytname.
438 Sat Mar 13 23:31:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
440 * Makefile.in (files.o, .c.o): Put CPPFLAGS and CFLAGS last.
442 Mon Mar 1 17:49:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
444 * bison.simple: Test __sgi like __sparc.
446 Wed Feb 17 00:04:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
448 * conflicts.c (resolve_sr_conflict): Add extra parens in alloca call.
450 * bison.simple [__GNUC__] (yyparse): Declare with prototype.
452 Fri Jan 15 13:15:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
454 * conflicts.c (print_reduction): Near end, increment fp2 when mask
457 Wed Jan 13 04:15:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
459 * Makefile.in (bison.s1): New target. Modifies bison.simple.
460 (install): Install bison.s1, without changing it.
461 (clean): Delete bison.s1.
463 Mon Jan 4 20:35:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
465 * reader.c (reader): Put Bison version in comment in output file.
467 Tue Dec 22 19:00:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
469 * files.c (openfiles): Use .output, not .out, for outfile,
470 regardless of spec_name_prefix.
472 Tue Dec 15 19:22:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
474 * output.c (output_gram): Include yyrhs in the same #if as yyprhs.
476 Tue Dec 15 18:29:16 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
478 * output.c (output): output directives checking for __cplusplus as
479 well as __STDC__ to determine when to define "const" as an empty
480 token. (Patch from Wolfgang Glunz <wogl@sun11a.zfe.siemens.de>)
482 Tue Dec 8 21:51:23 1992 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
484 * system.h, conflicts.c: Replace USG with HAVE_STRING_H and
487 Sat Nov 21 00:37:16 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
489 * Makefile.in: Set and use $(MAKEINFO).
491 Fri Nov 20 20:45:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
493 * files.c (done) [MSDOS]: Delete the tmpdefsfile with the rest.
495 Thu Oct 8 21:55:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
497 * Makefile.in (dist): Put configure.bat in the distribution.
499 Thu Oct 1 09:16:24 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
501 * Makefile.in (install): cd to $(srcdir) before installing info files.
503 Wed Sep 30 17:18:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
505 * Makefile.in (files.o): Supply $(DEFS), and $(CPPFLAGS).
507 Fri Sep 25 18:06:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
509 * Version 1.19 released.
511 * reader.c (parse_union_decl): Fix ending of C++ comment;
512 don't lose the char after the newline.
514 * configure.bat: New file.
516 Thu Sep 24 16:23:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
518 * conflicts.c: Check for using alloca.h as getopt.c does.
520 Sun Sep 6 08:01:53 1992 Karl Berry (karl@hayley)
522 * files.c (openfiles): open `fdefines' after we have assigned a name
523 to `tmpdefsfile', and only if `definesflag' is set.
524 (done): only create the real .tab.h file if `definesflag' is set.
525 * reader.c (packsymbols): don't close `fdefines' here.
527 Sat Sep 5 15:02:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
529 * files.c (openfiles): Open fdefines as temp file, like ftable.
530 (done): Copy temp defines file to real one, like main output file.
532 Fri Aug 21 12:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
534 * Makefile.in (dist): Don't release mergedir.awk
535 (install): Use sed, not awk. Don't depend on mergedir.awk.
536 * mergedir.awk: File effectively deleted.
538 Wed Jul 29 00:53:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
540 * bison.simple: Test __sparc along with __sparc__.
542 Sat Jul 11 14:08:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
544 * lex.c (skip_white_space): Count \n just once at end of c++ comment.
546 Fri Jun 26 00:00:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
548 * bison.simple: Comment fix; #line command updated.
550 Wed Jun 24 15:12:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
552 * Makefile.in (install): Specify full new file name for the executable.
554 Mon Jun 22 16:38:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
556 * Makefile.in (dist): Include bison.rnh in distribution.
558 Sun Jun 21 22:42:13 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
560 Clean up rough edges in VMS port of bison, add support for remaining
561 command line options.
563 * bison.cld: Add /version, /yacc, /file_prefix, and /name_prefix
566 * build.com: General cleanup: add logic to automatically sense
567 which C compiler is present; add code to cwd to the directory
568 that contains bison sources; do not define XPFILE, XPFILE1
569 (correct defaults are applied in file.c).
571 * files.c: Append _tab, not .tab when using /file_prefix under VMS.
573 * system.h: Include string.h instead of strings.h (a la USG).
575 * vmsgetargs.c: Add support for all switches added to bison.cld.
577 Sun Jun 21 15:53:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
579 * Makefile.in (install): Always specify new file name for install.
580 Redirect awk output to temp file and install that.
582 Wed May 27 22:27:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
584 * bison.simple (yyparse): Make yybackup and yyerrlab1 always be used.
586 Fri May 22 14:58:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
588 * Makefile.in (dist): Depend on bison.info
589 (bison.info): Delete spurious <.
591 Sun May 17 21:48:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
593 * Makefile.in (.c.o): New rule. Use $(DEFS) directly.
594 (CFLAGS): Use just -g by default.
595 (CDEBUG): Variable deleted.
597 Thu May 7 00:03:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
599 * reader.c (copy_guard): Fix typo skipping comment.
601 Mon May 4 01:23:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
605 * getargs.c (getargs): Change '0' to 0 in case for long options.
607 Sun Apr 19 10:17:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
609 * reader.c (packsymbols): Handle -p when declaring yylval.
611 Sat Apr 18 18:18:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
613 * output.c (output_gram): Output #endif properly at end of decl.
615 Mon Mar 30 01:13:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
619 * Makefile.in (clean): Don't delete configuration files or TAGS.
620 (distclean): New target; do delete those.
622 Sat Mar 28 17:18:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
624 * output.c (output_gram): Conditionalize yyprhs on YYDEBUG.
626 * LR0.c (augment_automaton): If copying sp->shifts to insert new
627 shift, handle case of inserting at end.
629 Sat Mar 21 23:25:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
631 * lex.c (skip_white_space): Handle C++ comments.
632 * reader.c (copy_definition, parse_union_decl, copy_guard):
633 (copy_action): Likewise.
635 Sun Mar 8 01:22:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
637 * bison.simple (YYPOPSTACK): Fix typo.
639 Sat Feb 29 03:53:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
641 * Makefile.in (install): Install bison.info* files one by one.
643 Fri Feb 28 19:55:30 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
645 * bison.1: Document long options as starting with `--', not `+'.
647 Sat Feb 1 00:08:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
649 * getargs.c (getargs): Accept value 0 from getopt_long.
651 Thu Jan 30 23:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
653 * Makefile.in (mostlyclean): Renamed from `clean'.
654 (clean): Renamed from 'distclean'. Dep on mostlyclean, not realclean.
655 (realclean): Dep on clean.
657 Mon Jan 27 21:59:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
659 * bison.simple: Use malloc, not xmalloc, and handle failure explicitly.
661 Sun Jan 26 22:40:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
663 * conflicts.c (total_conflicts): Delete unused arg to fprintf.
665 Tue Jan 21 23:17:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
669 Mon Jan 6 16:50:11 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
671 * Makefile (distclean): Depend on clean, not realclean. Don't rm TAGS.
672 (realclean): rm TAGS here.
674 * symtab.c (free_symtab): Don't free the type names.
676 Sun Dec 29 22:25:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
678 * machine.h: MSDOS has 32-bit ints if __GO32__.
680 Wed Dec 25 22:09:07 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
682 * bison.simple [_AIX]: Indent `#pragma alloca', so old C compilers
685 Mon Dec 23 02:10:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
687 * getopt.c, getopt1.c, getopt.h: Link them to standard source location.
688 * alloca.c: Likewise.
689 * Makefile.in (dist): Copy those files from current dir.
691 * getargs.c: Update usage message.
693 * LR0.c (augment_automaton): Put new shift in proper order.
695 Fri Dec 20 18:39:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
697 * conflicts.c: Use memcpy if ANSI C library.
699 * closure.c (set_fderives): Delete redundant assignment to vrow.
701 * closure.c (print_firsts): Fix bounds and offset checking tags.
703 * closure.c (tags): Declare just once at start of file.
705 * LR0.c (allocate_itemsets): Eliminate unused var max.
706 (augment_automaton): Test sp is non-null.
708 * lalr.c (initialize_LA): Make the vectors at least 1 element long.
710 * reader.c (readgram): Remove separate YYSTYPE default for MSDOS.
712 Wed Dec 18 02:40:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
714 * print.c (print_grammar): Don't print disabled rules.
716 Tue Dec 17 03:48:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
718 * lex.c (lex): Parse hex escapes properly.
719 Handle \v when filling token_buffer.
721 * lex.c: Include new.h.
722 (token_buffer): Change to a pointer.
723 (init_lex): Allocate initial buffer.
724 (grow_token_buffer): New function.
725 (lex, parse_percent_token): Use that.
727 * reader.c (read_declarations): Call open_extra_files just once.
728 (parse_token_decl): Don't free previous typename value.
729 Don't increment nvars if symbol is already a nonterminal.
730 (parse_union_decl): Catch unmatched close-brace.
731 (parse_expect_decl): Null-terminate buffer.
732 (copy_guard): Set brace_flag for {, not for }.
734 * reader.c: Fix %% in calls to fatal.
736 * reader.c (token_buffer): Just one extern decl, at top level.
739 * symtab.c (free_symtab): Free type_name fields. Free symtab itself.
741 Mon Nov 25 23:04:31 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
743 * bison.simple: Handle alloca for AIX.
745 * Makefile.in (mandir): Compute default using manext.
747 Sat Nov 2 21:39:32 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
749 * Update all files to GPL version 2.
751 Fri Sep 6 01:51:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
753 * bison.simple (__yy_bcopy): Use builtin if GCC version 2.
755 Mon Aug 26 22:09:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
757 * reader.c (parse_assoc_decl): Error if same symbol gets two precs.
759 Mon Aug 26 16:42:09 1991 David J. MacKenzie (djm at pogo.gnu.ai.mit.edu)
761 * Makefile.in, configure: Only put $< in Makefile if using VPATH,
762 because older makes don't understand it.
764 Fri Aug 23 00:05:54 1991 David J. MacKenzie (djm at apple-gunkies)
766 * conflicts.c [_AIX]: #pragma alloca.
767 * reduce.c: Don't define TRUE and FALSE if already defined.
769 Mon Aug 12 22:49:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
771 * Makefile.in: Add deps on system.h.
772 (install): Add some deps.
774 Fri Aug 2 12:19:20 1991 David J. MacKenzie (djm at apple-gunkies)
776 * Makefile.in (dist): Include texinfo.tex.
778 * configure: Create config.status. Remove it and Makefile if
779 interrupted while creating them.
781 Thu Aug 1 23:14:01 1991 David J. MacKenzie (djm at apple-gunkies)
783 * configure: Check for +srcdir etc. arg and look for
784 Makefile.in in that directory. Set VPATH if srcdir is not `.'.
785 * Makefile.in (prefix): Renamed from DESTDIR.
787 Wed Jul 31 21:29:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
789 * print.c (print_grammar): Make output prettier. Break lines.
791 Tue Jul 30 22:38:01 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
793 * print.c (print_grammar): New function.
794 (verbose): Call it instead of printing token names here.
796 Mon Jul 22 16:39:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
798 * vmsgetargs.c (spec_name_prefix, spec_file_prefix): Define variables.
800 Wed Jul 10 01:38:25 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
802 * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL),
803 $(INSTALLTEXT) -> $(INSTALLDATA).
805 Tue Jul 9 00:53:58 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
807 * bison.simple: Don't include malloc.h if __TURBOC__.
809 Sat Jul 6 15:18:12 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
811 * Replace Makefile with configure and Makefile.in.
812 Update README with current compilation instructions.
814 Mon Jul 1 23:12:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
816 * reader.c (reader): Make the output define YYBISON.
818 Thu Jun 20 16:52:51 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
820 * Makefile (MANDIR, MANEXT): Install man page in
821 /usr/local/man/man1/bison.1 by default, instead of
822 /usr/man/manl/bison.l, for consistency with other GNU programs.
823 * Makefile: Rename BINDIR et al. to lowercase to conform to
824 GNU coding standards.
825 (install): Make man page non-executable.
827 Fri May 31 23:22:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
829 * Makefile (bison.info): New target.
830 (realclean): New target.
832 Thu May 2 16:36:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
834 * bison.simple: Use YYPRINT to print a token, if it's defined.
836 Mon Apr 29 12:22:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
838 * lalr.c (transpose): Rename R to R_arg.
839 (initialize_LA): Avoid shadowing variable j.
841 * reader.c (packsymbols): Avoid shadowing variable i.
843 * files.c: Declare exit and perror.
845 * machine.h: Define MAXSHORT and MINSHORT for the eta-10.
847 Tue Apr 2 20:49:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
849 * allocate.c (mallocate): Always allocate at least one byte.
851 Tue Mar 19 22:17:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
853 * Makefile (dist): Put alloca.c into distribution.
855 Wed Mar 6 17:45:42 1991 Richard Stallman (rms at mole.ai.mit.edu)
857 * print.c (print_actions): Nicer output for final states.
859 Thu Feb 21 20:39:53 1991 Richard Stallman (rms at mole.ai.mit.edu)
861 * output.c (output_rule_data): Break lines in yytline based on hpos.
863 Thu Feb 7 12:54:36 1991 Richard Stallman (rms at mole.ai.mit.edu)
865 * bison.simple (yyparse): Move decl of yylsa before use.
867 Tue Jan 15 23:41:33 1991 Richard Stallman (rms at mole.ai.mit.edu)
871 * output.c (output_rule_data): Handle NULL in tags[i].
873 Fri Jan 11 17:27:24 1991 Richard Stallman (rms at mole.ai.mit.edu)
875 * bison.simple: On MSDOS, include malloc.h.
877 Sat Dec 29 19:59:55 1990 David J. MacKenzie (djm at wookumz.ai.mit.edu)
879 * files.c: Use `mallocate' instead of `xmalloc' so no extra decl is
882 Wed Dec 19 18:31:21 1990 Richard Stallman (rms at mole.ai.mit.edu)
884 * reader.c (readgram): Alternate YYSTYPE defn for MSDOS.
885 * files.c [MSDOS]: Declare xmalloc.
887 Thu Dec 13 12:45:54 1990 Richard Stallman (rms at mole.ai.mit.edu)
889 * output.c (output_rule_data): Put all symbols in yytname.
891 * bison.simple (yyparse): Delete extra fprintf arg
892 when printing a result of reduction.
894 Mon Dec 10 13:55:15 1990 Richard Stallman (rms at mole.ai.mit.edu)
896 * reader.c (packsymbols): Don't declare yylval if pure_parser.
898 Tue Oct 30 23:38:09 1990 Richard Stallman (rms at mole.ai.mit.edu)
902 * LR0.c (augment_automaton): Fix bugs adding sp2 to chain of shifts.
904 Tue Oct 23 17:41:49 1990 Richard Stallman (rms at mole.ai.mit.edu)
906 * bison.simple: Don't define alloca if already defined.
908 Sun Oct 21 22:10:53 1990 Richard Stallman (rms at mole.ai.mit.edu)
910 * getopt.c: On VMS, use string.h.
912 * main.c (main): Return type int.
914 Mon Sep 10 16:59:01 1990 Richard Stallman (rms at mole.ai.mit.edu)
916 * output.c (output_headers): Output macro defs for -p.
918 * reader.c (readgram): Handle consecutive actions.
920 * getargs.c (getargs): Rename -a to -p.
921 * files.c (openfiles): Change names used for -b.
923 Mon Aug 27 00:30:15 1990 Richard Stallman (rms at mole.ai.mit.edu)
925 * reduce.c (reduce_grammar_tables): Don't map rlhs of disabled rule.
927 Sun Aug 26 13:43:32 1990 Richard Stallman (rms at mole.ai.mit.edu)
929 * closure.c (print_firsts, print_fderives): Use BITISSET to test bits.
931 Thu Aug 23 22:13:40 1990 Richard Stallman (rms at mole.ai.mit.edu)
933 * closure.c (print_firsts): vrowsize => varsetsize.
934 (print_fderives): rrowsize => rulesetsize.
936 Fri Aug 10 15:32:11 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
938 * bison.simple (alloca): Don't define if already defined.
939 (__yy_bcopy): Alternate definition for C++.
941 Wed Jul 11 00:46:03 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
943 * getargs.c (getargs): Mention +yacc in usage message.
945 Tue Jul 10 17:29:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
947 * reader.c (parse_token_decl, copy_action):
948 Set value_components_used if appropriate.
949 (readgram): Inhibit output of YYSTYPE definition in that case.
951 Sat Jun 30 13:47:57 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
953 * output.c (output_parser): Define YYPURE if pure, and not otherwise.
954 Don't define YYIMPURE.
955 * bison.simple: Adjust conditionals accordingly.
956 * bison.simple (YYLEX): If locations not in use, don't pass &yylloc.
958 Thu Jun 28 12:32:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
960 * getargs.c (longopts): Add `yacc'.
962 Thu Jun 28 00:40:21 1990 David J. MacKenzie (djm at apple-gunkies)
964 * getargs.c (getargs): Add long options.
965 * Makefile: Link with getopt1.o and add getopt1.c and getopt.h to
968 * Move version number and description back into version.c from
969 Makefile and getargs.c.
970 * Makefile (dist): Extract version number from version.c.
972 Tue Jun 26 13:16:35 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
974 * output.c (output): Always call output_gram.
975 * bison.simple (yyparse): Print rhs and lhs symbols of reduction rule.
977 Thu Jun 21 00:15:40 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
979 * main.c: New global var `program_name' to hold argv[0] for error
981 * allocate.c, files.c, getargs.c, reader.c: Use `program_name'
982 in messages instead of hardcoded "bison".
984 Wed Jun 20 23:38:34 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
986 * Makefile: Specify Bison version here. Add rule to pass it to
987 version.c. Encode it in distribution directory and tar file names.
988 * version.c: Use version number from Makefile.
989 * getargs.c (getargs): Print additional text that used to be part of
990 version_string in version.c. Use -V instead of -version to print
991 Bison version info. Print a usage message and exit if given an
994 Tue Jun 19 01:15:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
996 * bison.simple: Fix a #line.
998 * Makefile (INSTALL): New parameter.
1000 (CFLAGS): Move definition to top.
1002 Sun Jun 17 17:10:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1004 * reader.c (parse_type_decl): Ignore semicolon.
1005 Remove excess % from error messages.
1007 Sat Jun 16 19:15:48 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1011 * Makefile (install): Ensure installed files readable.
1013 Tue Jun 12 12:50:56 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
1015 * getargs.c: Declare spec_file_prefix
1017 * lex.c (lex): \a is '\007' instead of '007'
1019 * reader.c: include machine.h
1021 * files.h: Declare extern spec_name_prefix.
1023 Trivial patch from Thorsten Ohl (td12@ddagsi3.bitnet)
1025 Thu May 31 22:00:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1029 * bison.simple (YYBACKUP, YYRECOVERING): New macros.
1030 (YYINITDEPTH): This is what used to be YYMAXDEPTH.
1031 (YYMAXDEPTH): This is what used to be YYMAXLIMIT.
1032 If the value is 0, use the default instead.
1033 (yyparse): Return 2 on stack overflow.
1035 Wed May 30 21:09:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1037 * bison.simple (YYERROR): Jump to new label; don't print error message.
1038 (yyparse): Define label yyerrlab1.
1040 Wed May 16 13:23:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1042 * files.c (openfiles): Support -b.
1043 * getargs.c (getargs): Likewise.
1045 * reader.c (readgram): Error if too many symbols.
1047 * lex.c (lex): Handle \a. Make error msgs more reliable.
1048 * reader.c (read_declarations): Make error msgs more reliable.
1050 Sun May 13 15:03:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1054 * reduce.c (reduce_grammar_tables): Fix backward test.
1056 Sat May 12 21:05:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1058 * Makefile (bison-dist.*): Rename targets and files to bison.*.
1059 (bison.tar): Make tar file to unpack into subdirectory named `bison'.
1061 Mon Apr 30 03:46:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1063 * reduce.c (reduce_grammar_tables): Set rlhs to -1 for useless rules.
1064 * nullable.c (set_nullable): Ignore those rules.
1065 * derives.c (set_derives): Likewise.
1067 Mon Apr 23 15:16:09 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1069 * bison.simple (yyparse): Mention rule number as well as line number.
1071 Thu Mar 29 00:00:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1073 * bison.simple (__yy_bcopy): New function.
1074 (yyparse): Use that, not bcopy.
1076 Wed Mar 28 15:23:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1078 * print.c (print_actions): Don't alter i and j spuriously when errp==0.
1080 Mon Mar 12 16:22:18 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
1082 * bison.simple [__GNUC__]: Use builtin_alloca.
1084 Wed Mar 7 21:11:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1086 * Makefile (install): Use mergedir.awk to process bison.simple
1089 * bison.simple (yyparse): New feature to include possible valid
1090 tokens in parse error message.
1092 Sat Mar 3 14:10:56 1990 Richard Stallman (rms at geech)
1096 Mon Feb 26 16:32:21 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
1098 * print.c (print_actions)
1099 conflicts.c (print_reductions): Change "shift %d" to
1100 "shift, and go to state %d" and "reduce %d" to "reduce using rule %d"
1101 and "goto %d" to "go to state %d".
1102 print.c (print_core): Change "(%d)" to "(rule %d)".
1104 Tue Feb 20 14:22:47 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu)
1106 * bison.simple: Comment out unused yyresume: label.
1108 Fri Feb 9 16:14:34 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu)
1110 * bison.simple : surround all declarations and (remaining) uses of
1111 yyls* and yylloc with #ifdef YYLSP_NEEDED This will significantly
1112 cut down on stack usage, and gets rid of unused-variable msgs from
1115 Wed Jan 31 13:06:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1117 * files.c (done) [VMS]: Don't delete files that weren't used.
1118 [VMS]: Let user override XPFILE and XPFILE1.
1120 Wed Jan 3 15:52:28 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1124 Sat Dec 16 15:50:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1126 * gram.c (dummy): New function.
1128 * reader.c (readgram): Detect error if two consec actions.
1130 Wed Nov 15 02:06:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1132 * reduce.c (reduce_grammar_tables): Update rline like other tables.
1134 * Makefile (install): Install the man page.
1136 Sat Nov 11 03:21:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1138 * output.c (output_rule_data): Write #if YYDEBUG around yyrline.
1140 Wed Oct 18 13:07:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1144 * vmsgetargs.c (getargs): Downcase specified output file name.
1146 Fri Oct 13 17:48:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1148 * reader.c (readgram): Warn if there is no default to use for $$
1151 Fri Sep 29 12:51:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1155 * vmsgetargs.h (getargs): Process outfile option.
1157 Fri Sep 8 03:05:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1161 * reader.c (parse_union_decl): Count newlines even in comments.
1163 Wed Sep 6 22:03:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1165 * files.c (openfiles): short_base_length was always == base_length.
1167 Thu Aug 24 16:55:06 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
1171 * files.c (openfiles): Write output into same dir as input, by default.
1173 Wed Aug 23 15:03:07 1989 Jay Fenlason (hack at gnu)
1175 * Makefile: Include system.h in bison-dist.tar
1177 Tue Aug 15 22:30:42 1989 Richard Stallman (rms at hobbes.ai.mit.edu)
1181 * reader.c (reader): Output LTYPESTR to fdefines
1182 only after reading the grammar.
1184 Sun Aug 6 16:55:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1186 * reader.c (read_declarations): Put space before comment
1187 to avoid bug in Green Hills C compiler.
1189 Mon Jun 19 20:14:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1191 * allocate.c (xmalloc): New function.
1193 Fri Jun 16 23:59:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1195 * build.com: Compile and link reduce.c.
1197 Fri Jun 9 23:00:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1199 * reduce.c (reduce_grammar_tables): Adjust start_symbol when #s change.
1201 Sat May 27 17:57:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1203 * reader.c (copy_definition, copy_guard): Don't object to \-newline
1206 Mon May 22 12:30:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1208 * files.c (openfiles): Alternate file names for MSDOS.
1209 (open_extra_files): Likewise.
1210 (done): On MSDOS, unlink temp files here, not in openfiles.
1212 * machine.h (BITS_PER_WORD): 16 on MSDOS.
1213 (MAXTABLE): Now defined in this file.
1215 * system.h: New file includes system-dependent headers.
1216 All relevant .c files include it.
1218 Thu Apr 27 17:00:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1220 * version.c: Version 1.01.
1222 Tue Apr 18 12:46:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1224 * conflicts.c (total_conflicts): Fixed typo in yacc style output;
1225 mention conflicts if > 0.
1227 Sat Apr 15 17:36:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1229 * reader.c (packsymbols): Start new symbols after 256.
1231 Wed Apr 12 14:09:09 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1233 * reader.c (reader): Always assign code 256 to `error' token.
1234 Always set `translations' to 1 so this code gets handled.
1235 * bison.simple (YYERRCODE): Define it.
1237 Tue Apr 11 19:26:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1239 * conflicts.c: If GNU C, use builtin alloca.
1241 * Makefile (install): Delete parser files before copying them.
1243 Thu Mar 30 13:51:17 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1245 * getargs.c (getargs): Turn off checking of name Bison was invoked by.
1247 * Makefile (dist): Include ChangeLog in distrib.
1249 Thu Mar 23 15:19:41 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
1251 * LR0.c closure.c conflicts.c derives.c files.c getargs.c lalr.c
1252 lex.c main.c nullable.c output.c print.c reader.c reduce.c
1253 symtab.c warshall.c: A first pass at getting gcc -Wall to shut up.
1254 Mostly declared functions as void, etc.
1256 * reduce.c moved 'extern int fixed_outfiles;' into print_notices
1259 Wed Mar 1 12:33:28 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1261 * types.h, symtab.h, state.h, new.h, machine.h, lex.h, gram.h,
1262 files.h, closure.c, vmsgetargs.c, warshall.c, symtab.c, reduce.c,
1263 reader.c, print.c, output.c, nullable.c, main.c, lex.c, lalr.c,
1264 gram.c, getargs.c, files.c, derives.c, conflicts.c, allocate.c,
1265 LR0.c, Makefile, bison.simple: Changed copyright notices to be in
1266 accord with the new General Public License.
1267 * COPYING: Made a link to the new copying file.
1269 Wed Feb 22 06:18:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1271 * new.h (FREE): Alternate definition for __STDC__ avoids error
1272 if `free' returns void.
1274 Tue Feb 21 15:03:34 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1276 * reader.c (read_declarations): Double a `%' in a format string.
1277 (copy_definition, parse_start_decl, parse_token_decl): Likewise.
1278 (parse_type_decl, parse_union_decl, copy_guard, readgram, get_type).
1279 (copy_action): change a `fatal' to `fatals'.
1281 * lalr.c (map_goto): Initial high-end of binary search was off by 1.
1283 Sat Feb 18 08:49:57 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1285 * bison.simple [sparc]: Include alloca.h.
1287 Wed Feb 15 06:24:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1289 * reader.c (packsymbols): Write decl of yylval into .tab.h file.
1291 Sat Jan 28 18:19:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1293 * bison.simple: Avoid comments on `#line' lines.
1295 * reader.c (LTYPESTR): Rearrange to avoid whitespace after \-newline.
1297 Mon Jan 9 18:43:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1299 * conflicts.c (total_conflicts): if -y, use output syntax POSIX wants.
1300 * reduce.c (print_notices): likewise.
1302 * lex.c (lex): Handle \v, and \x hex escapes.
1304 * reader.c (reader): Merge output_ltype into here.
1305 Don't output YYLTYPE definition to .tab.h file
1306 unless the @ construct is used.
1308 * bison.simple: Define YYERROR, YYABORT, YYACCEPT here.
1309 * reader.c (output_ltype): Don't output them here.
1311 * bison.simple: YYDEBUG now should be 0 or 1.
1312 * output.c (output): For YYDEBUG, output conditional to define it
1313 only if not previously defined.
1315 Mon Jan 2 11:29:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1317 * bison.simple (yyparse) [YYPURE]: Add local yynerrs.
1318 (yydebug): Declare global, but don't initialize, regardless of YYPURE.
1319 (yyparse): Don't declare yydebug here.
1321 Thu Dec 22 22:01:22 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1323 * reduce.c (print_notices): Typo in message.
1325 Sun Dec 11 11:32:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1327 * output.c (pack_table): Free only nonzero the elts of froms & tos.
1329 Thu Dec 8 16:26:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1331 * gram.c (rprecsym): New vector indicates the %prec symbol for a rule.
1332 * reader.c (packgram): Allocate it and fill it in.
1333 * reduce.c (inaccessable_symbols): Use it to set V1.
1334 * reduce.c (print_results): Don't complain about useless token
1337 Mon Dec 5 14:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1339 * machine.h (RESETBIT, BITISSET): New macros.
1340 (SETBIT, WORDSIZE): Change to use BITS_PER_WORD.
1342 * reduce.c: New file, by David Bakin. Reduces the grammar.
1343 * Makefile: Compile it, link it, put it in dist.
1345 * main.c (main): Call reduce_grammar (in reduce.c).
1347 Thu Nov 17 18:33:04 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1349 * conflicts.c: Don't declare alloca if including alloca.h.
1351 * bison.cld: Define qualifiers `nolines', `debug'.
1352 * vmsgetargs.c (getargs): Handle them.
1354 * output.c (output_program): Notice `nolinesflag'.
1356 * output.c (output_parser): Simplify logic for -l and #line.
1357 Avoid writing EOF char into output.
1359 Wed Oct 12 18:00:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1361 * Implement `-l' option.
1362 * getopt.c: Set flag `nolinesflag'.
1363 * reader.c (copy_definition, parse_union_decl, copy_guard, copy_action)
1364 Obey that flag; don't generate #line.
1365 * output.c (output_parser): Discard #line's when copying the parser.
1367 Mon Sep 12 16:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1369 * reader.c (copy_guard): Fix brace-counting for brace-surrounded guard.
1371 Thu Sep 8 20:09:53 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1373 * bison.simple: Correct number in #line command.
1374 (yyparse): Call YYABORT instead of YYERROR, due to last change in
1377 Mon Sep 5 14:55:30 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1379 * Makefile: New variable LIBS. Alternatives for USG.
1380 * conflicts.c [USG]: Define bcopy.
1381 * symtab.c [USG]: Include string.h instead of strings.h.
1383 * conflicts.c [sparc]: Include alloca.h.
1385 Tue Aug 2 08:38:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1387 * reader.c (parse_token_decl): Ignore commas.
1389 Sat Jun 25 10:29:20 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1391 * reader.c (output_ltype): Make YYERROR yacc-compatible (like YYFAIL).
1393 Fri Jun 24 11:25:11 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1395 * getargs.c (getargs): -t sets debugflag.
1396 Eliminate upper case duplicate options.
1397 * output.c (output): If debugflag, output `#define YYDEBUG'.
1399 Thu May 26 06:04:21 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1401 * allocate.c (mallocate): New name for `allocate' (which loses in VMS).
1402 Calls changed in LR0.c, conflicts.c, symtab.c, new.h.
1404 * getargs.c (getargs): If argv[0] is "yacc", set fixed_outfiles.
1406 Tue May 17 12:15:30 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1408 * conflicts.c: Declare alloca.
1409 * reader.c: Declare realloc.
1410 * warshall.c (TC): Fix one arithmetic op that was omitted last time.
1412 Thu May 5 14:36:03 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1414 * bison.simple: Conditionalize most refs to yylsp on YYLSP_NEEDED.
1415 * reader.c (copy_guard, copy_action): Notice if `@' is used.
1416 (reader): If it was, output `#define YYLSP_NEEDED'.
1418 Mon Apr 18 04:54:32 1988 Richard Stallman (rms at rice-krispies.ai.mit.edu)
1420 * bison.simple: New variable yynerr counts calls to yyerror.
1422 * lex.c (lex, case '='): Update lineno when skipping a newline.
1424 * reader.c (parse_expect_decl): ungetc the char that ends the number;
1425 don't read any further. This handles multi-line comments right
1426 and avoids incorrect lineno.
1428 * reader.c: Delete duplicate decl of symval.
1430 * warshall.c (RTC, TC): Cast ptrs to char *, not unsigned, for arith.