SBSPSS/Utils/Parser Generator/SOURCE/yyspcln.c

30 lines
647 B
C
Raw Normal View History

2000-12-08 21:40:33 +01:00
/************************************************************
yyspcln.c
This file can be freely modified for the generation of
custom code.
Copyright (c) 1999 Bumble-Bee Software Ltd.
************************************************************/
#include <stdlib.h>
#include "yacc.h"
#ifdef YYPROTOTYPE
void YYCDECL yyparsecleanup(void)
#else
void YYCDECL yyparsecleanup()
#endif
{
if (yystackptr != yysstackptr) {
free(yystackptr);
yystackptr = yysstackptr;
}
if (yyattributestackptr != yysattributestackptr) {
free(yyattributestackptr);
yyattributestackptr = yysattributestackptr;
}
yystack_size = yysstack_size;
yytop = -1;
}