platform/upstream/bison.git
26 years agoExplain better why to make a pure parser. GNU_ORIG
Richard M. Stallman [Tue, 5 May 1998 22:18:45 +0000 (22:18 +0000)]
Explain better why to make a pure parser.

26 years ago(openfiles): [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
Richard M. Stallman [Mon, 5 Jan 1998 00:25:39 +0000 (00:25 +0000)]
(openfiles): [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
find a temporary directory, if possible.  Do not unlink files while
they are open.

27 years ago(stack_offset;): Change some warni to warns.
Richard M. Stallman [Mon, 25 Aug 1997 19:40:12 +0000 (19:40 +0000)]
(stack_offset;): Change some warni to warns.

27 years ago(literalchar): Use warns, not warni.
Richard M. Stallman [Mon, 25 Aug 1997 19:38:57 +0000 (19:38 +0000)]
(literalchar): Use warns, not warni.

27 years ago(bison_version): New variable.
Richard M. Stallman [Sat, 28 Jun 1997 19:43:05 +0000 (19:43 +0000)]
(bison_version): New variable.
(dist): Use that variable.
(bison.s1): Substitute the Bison version into bison.simple.

27 years agoAdd a Bison version comment.
Richard M. Stallman [Sat, 28 Jun 1997 19:41:24 +0000 (19:41 +0000)]
Add a Bison version comment.

27 years ago(fatal, warn, berror): Use program_name.
Richard M. Stallman [Sat, 28 Jun 1997 19:31:35 +0000 (19:31 +0000)]
(fatal, warn, berror): Use program_name.

27 years ago(fatal, warn, berror): Make error messages standard.
Richard M. Stallman [Wed, 18 Jun 1997 17:09:27 +0000 (17:09 +0000)]
(fatal, warn, berror): Make error messages standard.
(toomany): Improve error message text.

27 years agonew.h renamed to alloc.h.
Richard M. Stallman [Wed, 18 Jun 1997 06:40:45 +0000 (06:40 +0000)]
new.h renamed to alloc.h.

27 years ago(literalchar): Fix the code for escaping \, " and '.
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.

27 years agoUse malloc, if using alloca is troublesome.
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.

27 years ago(alloca) [__hpux]: Always define as __builtin_alloca.
Richard M. Stallman [Wed, 23 Apr 1997 18:01:25 +0000 (18:01 +0000)]
(alloca) [__hpux]: Always define as __builtin_alloca.

27 years ago[__hpux]: Include alloca.h (right for HPUX 10)
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).

27 years ago(__yy_memcpy): Declare arg `count' as unsigned int.
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.

27 years ago[__STDC__ or _MSC_VER]:
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 *.

27 years ago(dist): Explicitly check for symlinks, and copy them.
Richard M. Stallman [Thu, 2 Jan 1997 07:13:01 +0000 (07:13 +0000)]
(dist): Explicitly check for symlinks, and copy them.

27 years ago[_MSC_VER]: Include stdlib.h and process.h.
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.

27 years ago(main): Return FAILURE as a value.
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.

27 years ago[_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
Richard M. Stallman [Thu, 19 Dec 1996 08:24:56 +0000 (08:24 +0000)]
[_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.

27 years ago(yyparse): If __GNUC__ and YYPARSE_PARAM are both 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.

27 years ago(nbits): Add some casts.
Richard M. Stallman [Tue, 17 Dec 1996 06:20:27 +0000 (06:20 +0000)]
(nbits): Add some casts.

28 years agoTest _MSDOS as well as _MSDOS_.
Richard M. Stallman [Mon, 12 Aug 1996 22:17:15 +0000 (22:17 +0000)]
Test _MSDOS as well as _MSDOS_.

28 years ago[__sun && __i386]: Include alloca.h.
Richard M. Stallman [Wed, 31 Jul 1996 19:18:57 +0000 (19:18 +0000)]
[__sun && __i386]: Include alloca.h.

28 years agoComment change.
Richard M. Stallman [Tue, 30 Jul 1996 04:37:37 +0000 (04:37 +0000)]
Comment change.

28 years agoTest _MSDOS_, not MSDOS.
Richard M. Stallman [Tue, 30 Jul 1996 04:37:16 +0000 (04:37 +0000)]
Test _MSDOS_, not MSDOS.

28 years agoInsert `_' macro around many string constants.
Richard M. Stallman [Sat, 1 Jun 1996 22:10:15 +0000 (22:10 +0000)]
Insert `_' macro around many string constants.

28 years agoInsert `_' 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.

28 years ago[HAVE_LOCALE_H]: Include locale.h.
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.

28 years agoInitial revision
Richard M. Stallman [Sat, 1 Jun 1996 22:00:33 +0000 (22:00 +0000)]
Initial revision

28 years ago(allocate.o): Define target explicitly.
Richard M. Stallman [Sat, 1 Jun 1996 22:00:14 +0000 (22:00 +0000)]
(allocate.o): Define target explicitly.

28 years ago(CFLAGS): Set to @CFLAGS@.
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.

28 years ago(__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
Richard M. Stallman [Sun, 12 May 1996 22:17:15 +0000 (22:17 +0000)]
(__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.

28 years ago(dist): Don't use $(srcdir).
Richard M. Stallman [Sat, 11 May 1996 19:20:49 +0000 (19:20 +0000)]
(dist): Don't use $(srcdir).

28 years ago(__yy_memcpy): Really reorder the args, as was supposedly done on Feb 14 1995.
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.

28 years ago(output_rule_data): Test YYERROR_VERBOSE in the conditional
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.

28 years agoFix line numbers in #line commands.
Richard M. Stallman [Fri, 29 Dec 1995 04:29:18 +0000 (04:29 +0000)]
Fix line numbers in #line commands.

28 years ago(YYPARSE_PARAM_DECL): In C++, make it always null.
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.

28 years agoFixed update date
Daniel Hagerty [Wed, 29 Nov 1995 01:26:22 +0000 (01:26 +0000)]
Fixed update date

28 years agoDescribe literal string tokens, %raw, %no_lines, %token_table.
Richard M. Stallman [Wed, 29 Nov 1995 01:22:34 +0000 (01:22 +0000)]
Describe literal string tokens, %raw, %no_lines, %token_table.

29 years agoAdd new options.
Richard M. Stallman [Mon, 16 Oct 1995 14:12:23 +0000 (14:12 +0000)]
Add new options.

29 years agoVersion 1.25.
Richard M. Stallman [Mon, 16 Oct 1995 14:12:01 +0000 (14:12 +0000)]
Version 1.25.

29 years ago*** empty log message ***
Richard M. Stallman [Mon, 16 Oct 1995 14:10:22 +0000 (14:10 +0000)]
*** empty log message ***

29 years agoAdded -n, -k, and -raw switches.
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.

29 years ago(SALIAS): New #define for adding aliases to %token.
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.

29 years ago(reduce_grammar): Revise error message.
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.

29 years ago(reader_output_yylsp): New function.
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.

29 years ago(output_headers, output_trailers, output, output_gram)
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.

29 years ago(main): If reader sees an error, don't process the grammar.
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.

29 years agoAdded THONG and NOOP for alias processing.
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.

29 years agoInclude getopt.h. Add some extern decls.
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.

29 years agoComment changes.
Richard M. Stallman [Sun, 15 Oct 1995 20:02:41 +0000 (20:02 +0000)]
Comment changes.

29 years ago(openfiles, open_extra_files, done): Add faction flag
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.

29 years ago(resolve_sr_conflict): Remove use of alloca.
Richard M. Stallman [Sun, 15 Oct 1995 20:01:09 +0000 (20:01 +0000)]
(resolve_sr_conflict): Remove use of alloca.

29 years ago*** empty log message ***
Jim Meyering [Thu, 1 Jun 1995 13:54:23 +0000 (13:54 +0000)]
*** empty log message ***

29 years agoComment change.
Richard M. Stallman [Sat, 6 May 1995 05:35:44 +0000 (05:35 +0000)]
Comment change.

29 years agoRewrite "Conditions for Using Bison".
Richard M. Stallman [Wed, 3 May 1995 15:13:10 +0000 (15:13 +0000)]
Rewrite "Conditions for Using Bison".
Update version to 1.24.

29 years agoVersion now 1.24.
Richard M. Stallman [Wed, 3 May 1995 14:56:25 +0000 (14:56 +0000)]
Version now 1.24.

29 years agoChange distribution terms.
Richard M. Stallman [Wed, 3 May 1995 07:13:20 +0000 (07:13 +0000)]
Change distribution terms.

29 years agoVersion now 1.23.
Richard M. Stallman [Wed, 3 May 1995 07:12:53 +0000 (07:12 +0000)]
Version now 1.23.

29 years agoTest __VMS_POSIX as well as VMS.
Richard M. Stallman [Thu, 23 Feb 1995 07:43:50 +0000 (07:43 +0000)]
Test __VMS_POSIX as well as VMS.

29 years ago(__yy_memcpy): Renamed from __yy_bcopy to avoid
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.

30 years agoreformat
David MacKenzie [Thu, 10 Nov 1994 22:34:22 +0000 (22:34 +0000)]
reformat

30 years agoInitial revision
David MacKenzie [Thu, 10 Nov 1994 22:31:09 +0000 (22:31 +0000)]
Initial revision

30 years ago(DISTFILES): Include NEWS.
David MacKenzie [Thu, 10 Nov 1994 21:36:34 +0000 (21:36 +0000)]
(DISTFILES): Include NEWS.

30 years ago(DISTFILES): Include install-sh, not install.sh.
David MacKenzie [Thu, 10 Nov 1994 21:34:59 +0000 (21:34 +0000)]
(DISTFILES): Include install-sh, not install.sh.

30 years agoUpdate to Autoconf v2 macro names.
David MacKenzie [Thu, 10 Nov 1994 21:33:39 +0000 (21:33 +0000)]
Update to Autoconf v2 macro names.

30 years agofix typo
David MacKenzie [Wed, 5 Oct 1994 02:26:07 +0000 (02:26 +0000)]
fix typo

30 years ago(prefix, exec_prefix): Let configure set them.
David MacKenzie [Wed, 5 Oct 1994 02:25:40 +0000 (02:25 +0000)]
(prefix, exec_prefix): Let configure set them.

30 years agoSet datadir to $(prefix)/share.
David MacKenzie [Wed, 28 Sep 1994 13:55:25 +0000 (13:55 +0000)]
Set datadir to $(prefix)/share.

30 years agoUpdate copyright notice and GPL version.
Richard M. Stallman [Thu, 15 Sep 1994 21:39:22 +0000 (21:39 +0000)]
Update copyright notice and GPL version.

30 years agoentered into RCS
Richard M. Stallman [Tue, 12 Jul 1994 20:43:44 +0000 (20:43 +0000)]
entered into RCS

30 years agoentered into RCS
David MacKenzie [Thu, 5 May 1994 18:41:55 +0000 (18:41 +0000)]
entered into RCS

30 years agoentered into RCS
Richard M. Stallman [Sat, 26 Mar 1994 20:33:04 +0000 (20:33 +0000)]
entered into RCS

30 years agoentered into RCS
Richard M. Stallman [Fri, 25 Mar 1994 22:52:41 +0000 (22:52 +0000)]
entered into RCS

30 years agoentered into RCS
Richard M. Stallman [Thu, 24 Mar 1994 22:54:32 +0000 (22:54 +0000)]
entered into RCS

30 years ago*** empty log message ***
Richard M. Stallman [Sun, 2 Jan 1994 20:52:16 +0000 (20:52 +0000)]
*** empty log message ***

31 years agoentered into RCS
Richard M. Stallman [Sun, 21 Nov 1993 22:03:08 +0000 (22:03 +0000)]
entered into RCS

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 21 Nov 1993 10:25:13 +0000 (10:25 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
David MacKenzie [Mon, 25 Oct 1993 23:45:06 +0000 (23:45 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Richard M. Stallman [Tue, 19 Oct 1993 03:55:14 +0000 (03:55 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Richard M. Stallman [Thu, 14 Oct 1993 16:19:10 +0000 (16:19 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
David MacKenzie [Tue, 14 Sep 1993 20:43:31 +0000 (20:43 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Noah Friedman [Mon, 13 Sep 1993 22:17:10 +0000 (22:17 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Richard M. Stallman [Fri, 10 Sep 1993 13:41:02 +0000 (13:41 +0000)]
*** empty log message ***

31 years agoentered into RCS
Richard M. Stallman [Fri, 10 Sep 1993 12:10:14 +0000 (12:10 +0000)]
entered into RCS

31 years ago*** empty log message ***
Noah Friedman [Mon, 6 Sep 1993 22:19:19 +0000 (22:19 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Noah Friedman [Mon, 6 Sep 1993 19:51:09 +0000 (19:51 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Noah Friedman [Mon, 6 Sep 1993 19:40:38 +0000 (19:40 +0000)]
*** empty log message ***

31 years agoentered into RCS
Noah Friedman [Mon, 6 Sep 1993 19:32:26 +0000 (19:32 +0000)]
entered into RCS

31 years ago*** empty log message ***
David MacKenzie [Fri, 30 Jul 1993 00:34:59 +0000 (00:34 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Richard M. Stallman [Sat, 24 Jul 1993 08:00:44 +0000 (08:00 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
David MacKenzie [Thu, 8 Jul 1993 23:40:10 +0000 (23:40 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 4 Jul 1993 20:07:28 +0000 (20:07 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
David MacKenzie [Sat, 26 Jun 1993 20:09:41 +0000 (20:09 +0000)]
*** empty log message ***

31 years agoentered into RCS
David MacKenzie [Sat, 26 Jun 1993 20:06:51 +0000 (20:06 +0000)]
entered into RCS

31 years agoInitial revision
David MacKenzie [Sat, 26 Jun 1993 20:00:26 +0000 (20:00 +0000)]
Initial revision

31 years agoInitial revision
Richard M. Stallman [Fri, 25 Jun 1993 19:11:46 +0000 (19:11 +0000)]
Initial revision

31 years ago*** empty log message ***
Richard M. Stallman [Wed, 16 Jun 1993 21:02:31 +0000 (21:02 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Richard M. Stallman [Thu, 3 Jun 1993 20:24:26 +0000 (20:24 +0000)]
*** empty log message ***

31 years agoInitial revision
Richard M. Stallman [Thu, 3 Jun 1993 17:07:14 +0000 (17:07 +0000)]
Initial revision