mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 03:03:02 +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
|
Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000, 2001, 2002
|
||||||
Free Software Foundation, Inc.
|
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
|
/* If using alloca.c, flush the alloca'ed memory for the benefit of
|
||||||
people running Bison as a library in IDEs. */
|
people running Bison as a library in IDEs. */
|
||||||
#if C_ALLOCA
|
#if C_ALLOCA
|
||||||
alloca (0);
|
{
|
||||||
|
extern void *alloca (size_t);
|
||||||
|
alloca (0);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
timevar_pop (TV_FREE);
|
timevar_pop (TV_FREE);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user