This commit is contained in:
parent
f857751606
commit
aae2e8e05f
168 changed files with 11625 additions and 0 deletions
28
Utils/Parser Generator/SOURCE/yymparse.c
Normal file
28
Utils/Parser Generator/SOURCE/yymparse.c
Normal file
|
@ -0,0 +1,28 @@
|
|||
/************************************************************
|
||||
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue