mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
(alloca) [C_ALLOCA]: Add decl here, the only place where it's needed.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* Top level entry point of bison,
|
||||
/* Top level entry point of Bison.
|
||||
|
||||
Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000, 2001, 2002
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
@@ -173,7 +174,10 @@ main (int argc, char *argv[])
|
||||
/* If using alloca.c, flush the alloca'ed memory for the benefit of
|
||||
people running Bison as a library in IDEs. */
|
||||
#if C_ALLOCA
|
||||
alloca (0);
|
||||
{
|
||||
extern void *alloca (size_t);
|
||||
alloca (0);
|
||||
}
|
||||
#endif
|
||||
timevar_pop (TV_FREE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user