SBSPSS/Utils/Parser Generator/SOURCE/yycpcln.cpp
2000-12-08 20:40:33 +00:00

26 lines
581 B
C++

/************************************************************
yycpcln.cpp
This file can be freely modified for the generation of
custom code.
Copyright (c) 1999 Bumble-Bee Software Ltd.
************************************************************/
#include <stdlib.h>
#include "cyacc.h"
void yyparser::yycleanup()
{
if (yystackptr != yysstackptr) {
free(yystackptr);
yystackptr = yysstackptr;
}
if (yyattributestackptr != yysattributestackptr) {
free(yyattributestackptr);
yyattributestackptr = yysattributestackptr;
}
yystack_size = yysstack_size;
yytop = -1;
}