]>
git.saurik.com Git - bison.git/log
Jesse Thilo [Fri, 5 Feb 1999 15:06:29 +0000 (15:06 +0000)]
#
Jesse Thilo [Fri, 5 Feb 1999 15:05:15 +0000 (15:05 +0000)]
Add `po' directory skeleton.
Jesse Thilo [Wed, 27 Jan 1999 03:35:18 +0000 (03:35 +0000)]
#updated.
Jesse Thilo [Wed, 27 Jan 1999 03:34:47 +0000 (03:34 +0000)]
Document help-bison list.
Jesse Thilo [Wed, 27 Jan 1999 03:26:56 +0000 (03:26 +0000)]
Add check for mkstemp().
Jesse Thilo [Wed, 20 Jan 1999 22:56:40 +0000 (22:56 +0000)]
#Remove static from dummy().
Jesse Thilo [Wed, 20 Jan 1999 22:55:06 +0000 (22:55 +0000)]
Hush a few compiler warnings.
Jesse Thilo [Wed, 20 Jan 1999 22:53:23 +0000 (22:53 +0000)]
Add tryclose(), which verifies that fclose was successful.
Hush a couple of compiler warnings.
Jesse Thilo [Wed, 20 Jan 1999 22:45:49 +0000 (22:45 +0000)]
ChangeLog is now automatically generated. Include the old version as
OChangeLog.
Jesse Thilo [Thu, 14 Jan 1999 15:08:17 +0000 (15:08 +0000)]
Fix formatting glitch.
Jesse Thilo [Thu, 14 Jan 1999 14:58:38 +0000 (14:58 +0000)]
Update FSF address.
Jesse Thilo [Fri, 8 Jan 1999 21:17:26 +0000 (21:17 +0000)]
Don't define PACKAGE here, since config.h defines it.
Jesse Thilo [Wed, 30 Dec 1998 06:54:16 +0000 (06:54 +0000)]
Update copyright date.
Jesse Thilo [Wed, 30 Dec 1998 06:29:42 +0000 (06:29 +0000)]
Ditch sprintf to statically-sized buffers in fatal/warn functions in
favor of output directly to stderr (avoids buffer overruns).
Jesse Thilo [Wed, 30 Dec 1998 06:07:25 +0000 (06:07 +0000)]
Some checks for premature EOF.
Jesse Thilo [Wed, 30 Dec 1998 05:27:11 +0000 (05:27 +0000)]
Use prototypes if the compiler understands them.
Jesse Thilo [Wed, 30 Dec 1998 05:24:36 +0000 (05:24 +0000)]
Document 1.26 highlights.
Jesse Thilo [Wed, 30 Dec 1998 05:24:00 +0000 (05:24 +0000)]
Delete comment "consider using @set for edition number, etc..." since
we now are doing so.
Jesse Thilo [Wed, 30 Dec 1998 05:23:22 +0000 (05:23 +0000)]
Require Automake 1.3 or later.
Jesse Thilo [Wed, 30 Dec 1998 05:22:02 +0000 (05:22 +0000)]
Honor TMPDIR on Unix hosts.
Use prototypes if the compiler understands them.
Jesse Thilo [Wed, 30 Dec 1998 05:21:02 +0000 (05:21 +0000)]
Fix a couple of buffer overrun bugs.
Use prototypes if the compiler understands them.
Jesse Thilo [Wed, 30 Dec 1998 05:19:09 +0000 (05:19 +0000)]
Include unistd.h and ctype.h.
Use #ifdef instead of #if for NLS symbols.
Jesse Thilo [Tue, 29 Dec 1998 21:54:26 +0000 (21:54 +0000)]
Use VERSION symbol from automake for version number.
Jesse Thilo [Sat, 28 Nov 1998 21:44:16 +0000 (21:44 +0000)]
Add info dir entry.
Jesse Thilo [Sat, 28 Nov 1998 21:31:37 +0000 (21:31 +0000)]
Distribute original version of simple parser (bison.s1), not built
version (bison.simple).
Jesse Thilo [Sat, 28 Nov 1998 21:30:44 +0000 (21:30 +0000)]
#
Jesse Thilo [Sat, 28 Nov 1998 21:30:44 +0000 (21:30 +0000)]
Let automake put version number into documentation.
Jesse Thilo [Thu, 26 Nov 1998 00:44:18 +0000 (00:44 +0000)]
Add non-RCS files from /gd/gnu/bison.
Jesse Thilo [Thu, 26 Nov 1998 00:14:37 +0000 (00:14 +0000)]
Document the BISON_HAIRY and BISON_SIMPLE variables.
Jesse Thilo [Wed, 25 Nov 1998 23:52:35 +0000 (23:52 +0000)]
#
Jesse Thilo [Wed, 25 Nov 1998 23:40:54 +0000 (23:40 +0000)]
#
Jesse Thilo [Wed, 25 Nov 1998 23:18:48 +0000 (23:18 +0000)]
Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
Jesse Thilo [Wed, 25 Nov 1998 23:17:35 +0000 (23:17 +0000)]
Build version.c automatically.
Jesse Thilo [Wed, 25 Nov 1998 23:17:05 +0000 (23:17 +0000)]
#
Jesse Thilo [Wed, 25 Nov 1998 22:13:23 +0000 (22:13 +0000)]
Add AUTHORS file.
Jesse Thilo [Wed, 25 Nov 1998 22:13:09 +0000 (22:13 +0000)]
Fix token numbering (used to start at 258, not 257).
Jesse Thilo [Wed, 25 Nov 1998 22:12:45 +0000 (22:12 +0000)]
Include config.h.
Jesse Thilo [Wed, 25 Nov 1998 22:11:01 +0000 (22:11 +0000)]
Clean up some formatting.
Jesse Thilo [Wed, 25 Nov 1998 22:09:19 +0000 (22:09 +0000)]
Update bug report address.
Jesse Thilo [Wed, 25 Nov 1998 21:55:23 +0000 (21:55 +0000)]
Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
Jesse Thilo [Wed, 25 Nov 1998 21:40:21 +0000 (21:40 +0000)]
Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
Jesse Thilo [Wed, 25 Nov 1998 21:36:05 +0000 (21:36 +0000)]
Add automake stuff.
Jesse Thilo [Wed, 25 Nov 1998 21:36:05 +0000 (21:36 +0000)]
#
Richard M. Stallman [Tue, 5 May 1998 22:18:45 +0000 (22:18 +0000)]
Explain better why to make a pure parser.
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.
Richard M. Stallman [Mon, 25 Aug 1997 19:40:12 +0000 (19:40 +0000)]
(stack_offset;): Change some warni to warns.
Richard M. Stallman [Mon, 25 Aug 1997 19:38:57 +0000 (19:38 +0000)]
(literalchar): Use warns, not warni.
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.
Richard M. Stallman [Sat, 28 Jun 1997 19:41:24 +0000 (19:41 +0000)]
Add a Bison version comment.
Richard M. Stallman [Sat, 28 Jun 1997 19:31:35 +0000 (19:31 +0000)]
(fatal, warn, berror): Use program_name.
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.
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.