]>
git.saurik.com Git - bison.git/log
Richard M. Stallman [Wed, 18 Jun 1997 06:40:45 +0000 (06:40 +0000)]
new.h renamed to alloc.h.
Richard M. Stallman [Sat, 24 May 1997 08:04:42 +0000 (08:04 +0000)]
(literalchar): Fix the code for escaping \, " and '.
(lex): Avoid trouble when there are many chars
to discard in a char literal with just several chars in it.
Richard M. Stallman [Sat, 17 May 1997 18:44:24 +0000 (18:44 +0000)]
Use malloc, if using alloca is troublesome.
(YYSTACK_USE_ALLOCA): New flag macro.
Define it for some systems and compilers.
(YYSTACK_ALLOC): New macro.
(yyparse): Use YYSTACK_ALLOC to allocate stack.
If it was malloc'd, free it.
Richard M. Stallman [Wed, 23 Apr 1997 18:01:25 +0000 (18:01 +0000)]
(alloca) [__hpux]: Always define as __builtin_alloca.
Richard M. Stallman [Tue, 22 Apr 1997 22:23:48 +0000 (22:23 +0000)]
[__hpux]: Include alloca.h (right for HPUX 10)
instead of declaring alloca (right for HPUX 9).
Richard M. Stallman [Tue, 22 Apr 1997 22:19:12 +0000 (22:19 +0000)]
(__yy_memcpy): Declare arg `count' as unsigned int.
(yyparse): Cast third arg to __yy_memcpy to unsigned int.
Richard M. Stallman [Fri, 3 Jan 1997 01:24:27 +0000 (01:24 +0000)]
[__STDC__ or _MSC_VER]:
Declare calloc and realloc to return void *.
Richard M. Stallman [Thu, 2 Jan 1997 07:13:01 +0000 (07:13 +0000)]
(dist): Explicitly check for symlinks, and copy them.
Richard M. Stallman [Thu, 2 Jan 1997 07:03:45 +0000 (07:03 +0000)]
[_MSC_VER]: Include stdlib.h and process.h.
[_MSC_VER] (getpid): Define as macro--translate it to _getpid.
Richard M. Stallman [Thu, 2 Jan 1997 06:59:56 +0000 (06:59 +0000)]
(main): Return FAILURE as a value.
(printable_version): Declare arg as int, not char.
Richard M. Stallman [Thu, 19 Dec 1996 08:24:56 +0000 (08:24 +0000)]
[_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
Paul Eggert [Wed, 18 Dec 1996 02:18:10 +0000 (02:18 +0000)]
(yyparse): If __GNUC__ and YYPARSE_PARAM are both defined,
declare yyparse to have a void * argument.
Richard M. Stallman [Tue, 17 Dec 1996 06:20:27 +0000 (06:20 +0000)]
(nbits): Add some casts.
Richard M. Stallman [Mon, 12 Aug 1996 22:17:15 +0000 (22:17 +0000)]
Test _MSDOS as well as _MSDOS_.
Richard M. Stallman [Wed, 31 Jul 1996 19:18:57 +0000 (19:18 +0000)]
[__sun && __i386]: Include alloca.h.
Richard M. Stallman [Tue, 30 Jul 1996 04:37:37 +0000 (04:37 +0000)]
Comment change.
Richard M. Stallman [Tue, 30 Jul 1996 04:37:16 +0000 (04:37 +0000)]
Test _MSDOS_, not MSDOS.
Richard M. Stallman [Sat, 1 Jun 1996 22:10:15 +0000 (22:10 +0000)]
Insert `_' macro around many string constants.
Richard M. Stallman [Sat, 1 Jun 1996 22:07:27 +0000 (22:07 +0000)]
Insert `_' macro around many string constants.
(main): Call setlocale, bindtextdomain and textdomain.
Richard M. Stallman [Sat, 1 Jun 1996 22:06:24 +0000 (22:06 +0000)]
[HAVE_LOCALE_H]: Include locale.h.
[! HAVE_LOCALE_H] (setlocale): Define as no-op.
[ENABLE_NLS]: Include libintl.h.
[ENABLE_NLS] (gettext): Define.
[! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
(N_, PACKAGE, LOCALEDIR): New macros.
Richard M. Stallman [Sat, 1 Jun 1996 22:00:33 +0000 (22:00 +0000)]
Initial revision
Richard M. Stallman [Sat, 1 Jun 1996 22:00:14 +0000 (22:00 +0000)]
(allocate.o): Define target explicitly.
Richard M. Stallman [Sat, 1 Jun 1996 21:53:20 +0000 (21:53 +0000)]
(CFLAGS): Set to @CFLAGS@.
(LDFLAGS): Set to @LDFLAGS@.
(configure): Run autoconf only if preceding `cd' succeeds.
(bison.s1): Redirect output to temporary file then move the
temporary to the target, rather than redirecting directly to bison.s1.
(clean): Remove config.status and config.log.
(distclean): Don't remove config.status here.
Richard M. Stallman [Sun, 12 May 1996 22:17:15 +0000 (22:17 +0000)]
(__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
Richard M. Stallman [Sat, 11 May 1996 19:20:49 +0000 (19:20 +0000)]
(dist): Don't use $(srcdir).
Richard M. Stallman [Sat, 11 May 1996 19:19:55 +0000 (19:19 +0000)]
(__yy_memcpy): Really reorder the args, as was supposedly done on Feb 14 1995.
(yyparse): Calls changed accordingly.
Richard M. Stallman [Sat, 27 Jan 1996 08:26:26 +0000 (08:26 +0000)]
(output_rule_data): Test YYERROR_VERBOSE in the conditional
around the definition of ttyname.
Richard M. Stallman [Fri, 29 Dec 1995 04:29:18 +0000 (04:29 +0000)]
Fix line numbers in #line commands.
Richard M. Stallman [Wed, 27 Dec 1995 12:43:49 +0000 (12:43 +0000)]
(YYPARSE_PARAM_DECL): In C++, make it always null.
(YYPARSE_PARAM_ARG): New macro.
(yyparse): Use YYPARSE_PARAM_ARG.
Daniel Hagerty [Wed, 29 Nov 1995 01:26:22 +0000 (01:26 +0000)]
Fixed update date
Richard M. Stallman [Wed, 29 Nov 1995 01:22:34 +0000 (01:22 +0000)]
Describe literal string tokens, %raw, %no_lines, %token_table.
Richard M. Stallman [Mon, 16 Oct 1995 14:12:23 +0000 (14:12 +0000)]
Add new options.
Richard M. Stallman [Mon, 16 Oct 1995 14:12:01 +0000 (14:12 +0000)]
Version 1.25.
Richard M. Stallman [Mon, 16 Oct 1995 14:10:22 +0000 (14:10 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 15 Oct 1995 20:22:50 +0000 (20:22 +0000)]
Added -n, -k, and -raw switches.
(noparserflag, toknumflag, rawtoknumflag): New variables.
Richard M. Stallman [Sun, 15 Oct 1995 20:19:02 +0000 (20:19 +0000)]
(SALIAS): New #define for adding aliases to %token.
(struct bucket): Added `alias' field.
Richard M. Stallman [Sun, 15 Oct 1995 20:18:29 +0000 (20:18 +0000)]
(reduce_grammar): Revise error message.
(print_notices): Remove final `.' from error message.
Richard M. Stallman [Sun, 15 Oct 1995 20:17:23 +0000 (20:17 +0000)]
(reader_output_yylsp): New function.
(readgram): Use `#if 0' around code that accepted %command
inside grammar rules: The documentation doesn't allow it,
and it will fail since the %command processors scan for the next %.
(parse_token_decl): Extended the %token
declaration to allow a multi-character symbol as an alias.
(parse_thong_decl): New function.
(read_declarations): Added %thong declarations.
(read_declarations): Handle NOOP to deal with allowing
% declarations as another means to specify the flags.
(readgram): Allow %prec prior to semantics embedded in a rule.
(skip_to_char, read_declarations, copy_definition)
(parse_token_decl, parse_start_decl, parse_type_decl)
(parse_assoc_decl, parse_union_decl, parse_expect_decl)
(get_type_name, copy_guard, copy_action, readgram)
(get_type, packsymbols): Revised most error messages.
Changed `fatal' to `warnxxx' to avoid aborting for error.
Revised and use multiple warnxxx functions to avoid using VARARGS1.
(read_declarations): Improve the error message for
an invalid character. Do not abort.
(read_declarations, copy_guard, copy_action): Use
printable_version to avoid unprintable characters in printed output.
(parse_expect_decl): Error if argument to %expect exceeds 10 digits.
(parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
Allow the type of a non-terminal can be given
more than once, as long as all specifications give the same type.
Richard M. Stallman [Sun, 15 Oct 1995 20:10:00 +0000 (20:10 +0000)]
(output_headers, output_trailers, output, output_gram)
(output_rule_data): Implement noparserflag variable.
Implement toknumflag variable.
(output): Call reader_output_yylsp to output LTYPESTR.
Richard M. Stallman [Sun, 15 Oct 1995 20:08:17 +0000 (20:08 +0000)]
(main): If reader sees an error, don't process the grammar.
(fatals): Updated to not use VARARGS1.
(printable_version, int_to_string, warn, warni, warns, warnss)
(warnsss): New error reporting functions. Avoid abort for error.
Richard M. Stallman [Sun, 15 Oct 1995 20:07:08 +0000 (20:07 +0000)]
Added THONG and NOOP for alias processing.
Added SETOPT for the new code that allows setting options with %flags.
Richard M. Stallman [Sun, 15 Oct 1995 20:06:23 +0000 (20:06 +0000)]
Include getopt.h. Add some extern decls.
(safegetc): New function to deal with EOF gracefully.
(literalchar); new function to deal with reading \ escapes.
(lex): Use literalchar.
(lex): Implemented "..." tokens.
(literalchar, lex, parse_percent_token): Made tokenbuffer
always contain the token. This includes growing the token
buffer while reading an integer.
(parse_percent_token): Replaced if-else statement with percent_table.
(parse_percent_token): Added % declarations as another
way to specify the flags -n, -l, and -r. Also added hooks for
-d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
major changes to files.c.
(lex) Retain in the incoming stream a character following
an incorrect '/'.
(skip_white_space, lex): Revised most error messages
and changed fatal to warn to avoid aborting.
(percent_table): Added %thong declarations.
Richard M. Stallman [Sun, 15 Oct 1995 20:02:41 +0000 (20:02 +0000)]
Comment changes.
Richard M. Stallman [Sun, 15 Oct 1995 20:02:02 +0000 (20:02 +0000)]
(openfiles, open_extra_files, done): Add faction flag
and actfile file. Handle noparserflag. Both for -n switch.
Richard M. Stallman [Sun, 15 Oct 1995 20:01:09 +0000 (20:01 +0000)]
(resolve_sr_conflict): Remove use of alloca.
Jim Meyering [Thu, 1 Jun 1995 13:54:23 +0000 (13:54 +0000)]
*** empty log message ***
Richard M. Stallman [Sat, 6 May 1995 05:35:44 +0000 (05:35 +0000)]
Comment change.
Richard M. Stallman [Wed, 3 May 1995 15:13:10 +0000 (15:13 +0000)]
Rewrite "Conditions for Using Bison".
Update version to 1.24.
Richard M. Stallman [Wed, 3 May 1995 14:56:25 +0000 (14:56 +0000)]
Version now 1.24.
Richard M. Stallman [Wed, 3 May 1995 07:13:20 +0000 (07:13 +0000)]
Change distribution terms.
Richard M. Stallman [Wed, 3 May 1995 07:12:53 +0000 (07:12 +0000)]
Version now 1.23.
Richard M. Stallman [Thu, 23 Feb 1995 07:43:50 +0000 (07:43 +0000)]
Test __VMS_POSIX as well as VMS.
Jim Meyering [Tue, 14 Feb 1995 16:49:32 +0000 (16:49 +0000)]
(__yy_memcpy): Renamed from __yy_bcopy to avoid
confusion. Reverse FROM and TO arguments to be consistent with
those of memcpy.
David MacKenzie [Thu, 10 Nov 1994 22:34:22 +0000 (22:34 +0000)]
reformat
David MacKenzie [Thu, 10 Nov 1994 22:31:09 +0000 (22:31 +0000)]
Initial revision
David MacKenzie [Thu, 10 Nov 1994 21:36:34 +0000 (21:36 +0000)]
(DISTFILES): Include NEWS.
David MacKenzie [Thu, 10 Nov 1994 21:34:59 +0000 (21:34 +0000)]
(DISTFILES): Include install-sh, not install.sh.
David MacKenzie [Thu, 10 Nov 1994 21:33:39 +0000 (21:33 +0000)]
Update to Autoconf v2 macro names.
David MacKenzie [Wed, 5 Oct 1994 02:26:07 +0000 (02:26 +0000)]
fix typo
David MacKenzie [Wed, 5 Oct 1994 02:25:40 +0000 (02:25 +0000)]
(prefix, exec_prefix): Let configure set them.
David MacKenzie [Wed, 28 Sep 1994 13:55:25 +0000 (13:55 +0000)]
Set datadir to $(prefix)/share.
Richard M. Stallman [Thu, 15 Sep 1994 21:39:22 +0000 (21:39 +0000)]
Update copyright notice and GPL version.
Richard M. Stallman [Tue, 12 Jul 1994 20:43:44 +0000 (20:43 +0000)]
entered into RCS
David MacKenzie [Thu, 5 May 1994 18:41:55 +0000 (18:41 +0000)]
entered into RCS
Richard M. Stallman [Sat, 26 Mar 1994 20:33:04 +0000 (20:33 +0000)]
entered into RCS
Richard M. Stallman [Fri, 25 Mar 1994 22:52:41 +0000 (22:52 +0000)]
entered into RCS
Richard M. Stallman [Thu, 24 Mar 1994 22:54:32 +0000 (22:54 +0000)]
entered into RCS
Richard M. Stallman [Sun, 2 Jan 1994 20:52:16 +0000 (20:52 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 21 Nov 1993 22:03:08 +0000 (22:03 +0000)]
entered into RCS
Richard M. Stallman [Sun, 21 Nov 1993 10:25:13 +0000 (10:25 +0000)]
*** empty log message ***
David MacKenzie [Mon, 25 Oct 1993 23:45:06 +0000 (23:45 +0000)]
*** empty log message ***
Richard M. Stallman [Tue, 19 Oct 1993 03:55:14 +0000 (03:55 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 14 Oct 1993 16:19:10 +0000 (16:19 +0000)]
*** empty log message ***
David MacKenzie [Tue, 14 Sep 1993 20:43:31 +0000 (20:43 +0000)]
*** empty log message ***
Noah Friedman [Mon, 13 Sep 1993 22:17:10 +0000 (22:17 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 10 Sep 1993 13:41:02 +0000 (13:41 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 10 Sep 1993 12:10:14 +0000 (12:10 +0000)]
entered into RCS
Noah Friedman [Mon, 6 Sep 1993 22:19:19 +0000 (22:19 +0000)]
*** empty log message ***
Noah Friedman [Mon, 6 Sep 1993 19:51:09 +0000 (19:51 +0000)]
*** empty log message ***
Noah Friedman [Mon, 6 Sep 1993 19:40:38 +0000 (19:40 +0000)]
*** empty log message ***
Noah Friedman [Mon, 6 Sep 1993 19:32:26 +0000 (19:32 +0000)]
entered into RCS
David MacKenzie [Fri, 30 Jul 1993 00:34:59 +0000 (00:34 +0000)]
*** empty log message ***
Richard M. Stallman [Sat, 24 Jul 1993 08:00:44 +0000 (08:00 +0000)]
*** empty log message ***
David MacKenzie [Thu, 8 Jul 1993 23:40:10 +0000 (23:40 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 4 Jul 1993 20:07:28 +0000 (20:07 +0000)]
*** empty log message ***
David MacKenzie [Sat, 26 Jun 1993 20:09:41 +0000 (20:09 +0000)]
*** empty log message ***
David MacKenzie [Sat, 26 Jun 1993 20:06:51 +0000 (20:06 +0000)]
entered into RCS
David MacKenzie [Sat, 26 Jun 1993 20:00:26 +0000 (20:00 +0000)]
Initial revision
Richard M. Stallman [Fri, 25 Jun 1993 19:11:46 +0000 (19:11 +0000)]
Initial revision
Richard M. Stallman [Wed, 16 Jun 1993 21:02:31 +0000 (21:02 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 3 Jun 1993 20:24:26 +0000 (20:24 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 3 Jun 1993 17:07:14 +0000 (17:07 +0000)]
Initial revision
Richard M. Stallman [Wed, 19 May 1993 03:41:36 +0000 (03:41 +0000)]
Initial revision
Noah Friedman [Fri, 7 May 1993 10:16:54 +0000 (10:16 +0000)]
*** empty log message ***
Noah Friedman [Fri, 7 May 1993 09:54:20 +0000 (09:54 +0000)]
*** empty log message ***
Noah Friedman [Wed, 28 Apr 1993 19:15:14 +0000 (19:15 +0000)]
*** empty log message ***
Noah Friedman [Fri, 23 Apr 1993 16:29:13 +0000 (16:29 +0000)]
entered into RCS
David MacKenzie [Tue, 20 Apr 1993 06:00:53 +0000 (06:00 +0000)]
*** empty log message ***
David MacKenzie [Tue, 20 Apr 1993 05:55:54 +0000 (05:55 +0000)]
entered into RCS
David MacKenzie [Tue, 20 Apr 1993 05:42:52 +0000 (05:42 +0000)]
Initial revision