Added code for handling the case of using `bison' and having no

`alloca'.  Alloca is usually never called anyway, so we just use
`malloc'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@850 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-10-14 19:22:14 +00:00
parent 32de34c5f8
commit 3ce7399a11

View File

@@ -112,6 +112,12 @@ static void sizecmd (char *);
static void toolong (int); static void toolong (int);
static int yylex (void); static int yylex (void);
/* This is for bison */
#if !defined(alloca) && !defined(HAVE_ALLOCA)
#define alloca(x) malloc(x)
#endif
%} %}
%union { %union {