SBSPSS/Utils/Parser Generator/SOURCE/yycpcln.cpp

26 lines
581 B
C++
Raw Normal View History

2000-12-08 21:40:33 +01:00
/************************************************************
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;
}