From 2992e1e967c0a84b143209bfeb4d80f4d817ef0b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 29 Jan 2002 13:55:32 +0000 Subject: [PATCH] (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). --- src/bison.simple | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bison.simple b/src/bison.simple index 59ff145b..f4af302c 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -5,7 +5,9 @@ by GNU bison %%{version}. */ /* Skeleton output parser for bison, - Copyright 1984, 1989, 1990, 2000, 2001, 2002 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 @@ -109,12 +111,10 @@ typedef struct yyltype # 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 -- 2.47.2