From: Paul Eggert Date: Tue, 29 Jan 2002 13:50:11 +0000 (+0000) Subject: (YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero X-Git-Tag: BISON-1_33~6 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/62a21d52cef3c70053f5d1060f35930b7a0da332?ds=sidebyside (YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined. On some platforms, does not declare YYSTD (size_t). --- diff --git a/src/bison.simple b/src/bison.simple index 4b5123e7..72cd1487 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -1,7 +1,9 @@ /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ #line /* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001 Free Software Foundation, Inc. + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,12 +49,10 @@ # if YYSTACK_USE_ALLOCA # define YYSTACK_ALLOC alloca -# define YYSIZE_T YYSTD (size_t) # else # ifndef YYSTACK_USE_ALLOCA # if defined (alloca) || defined (_ALLOCA_H) # define YYSTACK_ALLOC alloca -# define YYSIZE_T YYSTD (size_t) # else # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca