Jesse Thilo
e5335b7401
(literalchar): fixed the code for escaping double quotes (thanks
...
Jonathan Czisny.)
1999-04-18 15:17:30 +00:00
Jesse Thilo
f9b730cd59
Don't declare calloc() and realloc() if not necessary.
1999-04-13 19:53:42 +00:00
Jesse Thilo
ca1d9e53ce
Fixed #line numbers.
1999-03-22 16:30:00 +00:00
Jesse Thilo
5aafad1ddf
#Included config.h (for definition of PROTOTYPES).
1999-03-03 15:44:38 +00:00
Jesse Thilo
9eceb6c6d3
Defined locations of parser files in config.h instead of Makefile.
1999-02-12 15:18:12 +00:00
Jesse Thilo
cbbe75051d
#Remove static from dummy().
1999-01-20 22:56:40 +00:00
Jesse Thilo
2686a6e713
Hush a few compiler warnings.
1999-01-20 22:55:06 +00:00
Jesse Thilo
a693bf18ef
Add tryclose(), which verifies that fclose was successful.
...
Hush a couple of compiler warnings.
1999-01-20 22:53:23 +00:00
Jesse Thilo
c49a8e71ce
Update FSF address.
1999-01-14 14:58:38 +00:00
Jesse Thilo
c9c4ffaa5d
Don't define PACKAGE here, since config.h defines it.
1999-01-08 21:17:26 +00:00
Jesse Thilo
74a53b4b48
Update copyright date.
1998-12-30 06:54:16 +00:00
Jesse Thilo
a889d44ce2
Ditch sprintf to statically-sized buffers in fatal/warn functions in
...
favor of output directly to stderr (avoids buffer overruns).
1998-12-30 06:29:42 +00:00
Jesse Thilo
e6011337c3
Some checks for premature EOF.
1998-12-30 06:07:25 +00:00
Jesse Thilo
d2729d44ab
Use prototypes if the compiler understands them.
1998-12-30 05:27:11 +00:00
Jesse Thilo
bd088c911c
Honor TMPDIR on Unix hosts.
...
Use prototypes if the compiler understands them.
1998-12-30 05:22:02 +00:00
Jesse Thilo
118fb2053c
Fix a couple of buffer overrun bugs.
...
Use prototypes if the compiler understands them.
1998-12-30 05:21:02 +00:00
Jesse Thilo
7bb4d91420
Include unistd.h and ctype.h.
...
Use #ifdef instead of #if for NLS symbols.
1998-12-30 05:19:09 +00:00
Jesse Thilo
bd2a2393ed
Use VERSION symbol from automake for version number.
1998-12-29 21:54:26 +00:00
Jesse Thilo
c55c697eb1
Add non-RCS files from /gd/gnu/bison.
1998-11-26 00:44:18 +00:00
Jesse Thilo
6f82addcd5
Build version.c automatically.
1998-11-25 23:17:35 +00:00
Jesse Thilo
5b2e3c8982
Fix token numbering (used to start at 258, not 257).
1998-11-25 22:13:09 +00:00
Jesse Thilo
d968a24b6e
Include config.h.
1998-11-25 22:12:45 +00:00
Jesse Thilo
5c9ba6311a
Update bug report address.
1998-11-25 22:09:19 +00:00
Jesse Thilo
11443f4acf
Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1998-11-25 21:40:21 +00:00
Richard M. Stallman
e0672a6170
(openfiles): [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
...
find a temporary directory, if possible. Do not unlink files while
they are open.
1998-01-05 00:25:39 +00:00
Richard M. Stallman
aba5ca6dea
(stack_offset;): Change some warni to warns.
1997-08-25 19:40:12 +00:00
Richard M. Stallman
b0180c64a5
(literalchar): Use warns, not warni.
1997-08-25 19:38:57 +00:00
Richard M. Stallman
7d369561eb
Add a Bison version comment.
1997-06-28 19:41:24 +00:00
Richard M. Stallman
319ce53328
(fatal, warn, berror): Use program_name.
1997-06-28 19:31:35 +00:00
Richard M. Stallman
3d05a5de82
(fatal, warn, berror): Make error messages standard.
...
(toomany): Improve error message text.
1997-06-18 17:09:27 +00:00
Richard M. Stallman
7612000cb0
new.h renamed to alloc.h.
1997-06-18 06:40:45 +00:00
Richard M. Stallman
5ce94c2964
(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.
1997-05-24 08:04:42 +00:00
Richard M. Stallman
70ddf8972a
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.
1997-05-17 18:44:24 +00:00
Richard M. Stallman
3054a9cdfb
(alloca) [__hpux]: Always define as __builtin_alloca.
1997-04-23 18:01:25 +00:00
Richard M. Stallman
009b94d421
[__hpux]: Include alloca.h (right for HPUX 10)
...
instead of declaring alloca (right for HPUX 9).
1997-04-22 22:23:48 +00:00
Richard M. Stallman
5e02f2ada1
(__yy_memcpy): Declare arg `count' as unsigned int.
...
(yyparse): Cast third arg to __yy_memcpy to unsigned int.
1997-04-22 22:19:12 +00:00
Richard M. Stallman
8f047e5ecf
[__STDC__ or _MSC_VER]:
...
Declare calloc and realloc to return void *.
1997-01-03 01:24:27 +00:00
Richard M. Stallman
d36e30d8c2
[_MSC_VER]: Include stdlib.h and process.h.
...
[_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1997-01-02 07:03:45 +00:00
Richard M. Stallman
42f95d63c2
(main): Return FAILURE as a value.
...
(printable_version): Declare arg as int, not char.
1997-01-02 06:59:56 +00:00
Richard M. Stallman
6a5705cfe8
[_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1996-12-19 08:24:56 +00:00
Paul Eggert
1b1816515e
(yyparse): If __GNUC__ and YYPARSE_PARAM are both defined,
...
declare yyparse to have a void * argument.
1996-12-18 02:18:10 +00:00
Richard M. Stallman
2f9040d9ba
(nbits): Add some casts.
1996-12-17 06:20:27 +00:00
Richard M. Stallman
32d5c018d8
Test _MSDOS as well as _MSDOS_.
1996-08-12 22:17:15 +00:00
Richard M. Stallman
b6287af6f6
[__sun && __i386]: Include alloca.h.
1996-07-31 19:18:57 +00:00
Richard M. Stallman
444fbf65fb
Comment change.
1996-07-30 04:37:37 +00:00
Richard M. Stallman
db245ba812
Test _MSDOS_, not MSDOS.
1996-07-30 04:37:16 +00:00
Richard M. Stallman
a083fbbf22
Insert `_' macro around many string constants.
1996-06-01 22:10:15 +00:00
Richard M. Stallman
2934057149
Insert `_' macro around many string constants.
...
(main): Call setlocale, bindtextdomain and textdomain.
1996-06-01 22:07:27 +00:00
Richard M. Stallman
f2d78a995d
[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.
1996-06-01 22:06:24 +00:00
Richard M. Stallman
4cf401b28e
(__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1996-05-12 22:17:15 +00:00