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

29 lines
584 B
C
Raw Normal View History

2000-12-08 21:40:33 +01:00
/************************************************************
yymparse.c
This file can be freely modified for the generation of
custom code.
Copyright (c) 1999 Bumble-Bee Software Ltd.
************************************************************/
#include <string.h>
#include "myacc.h"
#ifdef YYPROTOTYPE
int YYCDECL yymparse(yymparse_t YYFAR *yy)
#else
int YYCDECL yymparse(yy)
yymparse_t YYFAR *yy;
#endif
{
int n;
yyassert(yy != NULL);
yyassert(yymisfastparser(yy)); /* make sure it's a fast parser */
n = yymsetup(yy);
if (n != 0) {
return n;
}
return yymwork(yy);
}