26 lines
581 B
C++
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;
|
||
|
}
|