This commit is contained in:
parent
f857751606
commit
aae2e8e05f
168 changed files with 11625 additions and 0 deletions
21
Utils/Parser Generator/SOURCE/yycback.cpp
Normal file
21
Utils/Parser Generator/SOURCE/yycback.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
/************************************************************
|
||||
yycback.cpp
|
||||
This file can be freely modified for the generation of
|
||||
custom code.
|
||||
|
||||
Copyright (c) 1999 Bumble-Bee Software Ltd.
|
||||
************************************************************/
|
||||
|
||||
#include "clex.h"
|
||||
|
||||
int yylexer::yyback(const yymatch_t YYNEARFAR* p, int action) const
|
||||
{
|
||||
yyassert(p != NULL);
|
||||
yyassert(action < 0);
|
||||
while (*p != 0) {
|
||||
if (*p++ == action) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue