]> git.saurik.com Git - bison.git/commitdiff
(YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Jan 2002 13:50:11 +0000 (13:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Jan 2002 13:50:11 +0000 (13:50 +0000)
or alloca or _ALLOCA_H are defined.  On some platforms, <alloca.h>
does not declare YYSTD (size_t).

src/bison.simple

index 4b5123e7aa703f71db7a8b148b0fa45b215574db..72cd1487273437cf25ffaba051ec3cff060164bd 100644 (file)
@@ -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
 
 # 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