2000-12-08 21:51:13 +01:00
|
|
|
#include <clex.h>
|
|
|
|
|
|
|
|
#line 1 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
lexer.l
|
|
|
|
ParserWizard generated Lex file.
|
|
|
|
|
|
|
|
Date: 07 December 2000
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include "parser.h"
|
|
|
|
#include "var.h"
|
2000-12-15 21:29:33 +01:00
|
|
|
#include "function.h"
|
2000-12-11 21:28:41 +01:00
|
|
|
#include "prepro.h"
|
2000-12-08 21:51:13 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 21 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
// repeated because of possible precompiled header
|
|
|
|
#include <clex.h>
|
|
|
|
|
|
|
|
#include "lexer.h"
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// constructor
|
|
|
|
|
|
|
|
YYLEXNAME::YYLEXNAME()
|
|
|
|
{
|
|
|
|
yytables();
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 47 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-08 21:51:13 +01:00
|
|
|
|
|
|
|
// place any extra initialisation code here
|
|
|
|
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 37 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifndef YYTEXT_SIZE
|
|
|
|
#define YYTEXT_SIZE 100
|
|
|
|
#endif
|
|
|
|
#ifndef YYUNPUT_SIZE
|
|
|
|
#define YYUNPUT_SIZE YYTEXT_SIZE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// backwards compatability with lex
|
|
|
|
#ifdef input
|
|
|
|
int YYLEXNAME::yyinput()
|
|
|
|
{
|
|
|
|
return input();
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#define input yyinput
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef output
|
|
|
|
void YYLEXNAME::yyoutput(int ch)
|
|
|
|
{
|
|
|
|
output(ch);
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#define output yyoutput
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef unput
|
|
|
|
void YYLEXNAME::yyunput(int ch)
|
|
|
|
{
|
|
|
|
unput(ch);
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#define unput yyunput
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef YYNBORLANDWARN
|
|
|
|
#ifdef __BORLANDC__
|
|
|
|
#pragma warn -rch // <warning: unreachable code> off
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int YYLEXNAME::yyaction(int action)
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 59 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-08 21:51:13 +01:00
|
|
|
|
|
|
|
// extract yylval for use later on in actions
|
|
|
|
YYSTYPE& yylval = *(YYSTYPE*)yyparserptr->yylvalptr;
|
|
|
|
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 88 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
yyreturnflg = 1;
|
|
|
|
switch (action) {
|
|
|
|
case 1:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 66 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-12 21:51:59 +01:00
|
|
|
if(preprocessorCmd(yytext+1)!=(int)true)error();
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 95 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 2:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 67 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-12 21:51:59 +01:00
|
|
|
printf("# commands must be at start of line!\n");error();
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 102 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 3:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 69 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-11 21:28:41 +01:00
|
|
|
return STOP;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 109 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 4:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 70 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-11 21:28:41 +01:00
|
|
|
return IF;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 116 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 5:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 71 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-11 21:28:41 +01:00
|
|
|
return ELSE;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 123 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 6:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 72 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return WHILE;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 130 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 7:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 73 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return DO;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 137 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 8:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 74 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return PAUSE;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 144 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 9:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 75 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return PRINT;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 151 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 10:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 76 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return ASSIGN;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 158 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 11:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 77 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return EQUAL;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 165 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 12:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 78 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return NOTEQUAL;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 172 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 13:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 79 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return LESSTHAN;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 179 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 14:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 80 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return GREATERTHAN;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 186 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 15:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 81 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return PLUS;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 193 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 16:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 82 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
return SUBTRACT;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 200 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 17:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 83 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return MULTIPLY;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 207 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 18:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 84 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return DIVIDE;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 214 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 19:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 85 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return END_STMT;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 221 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 20:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 86 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return OPEN_PAR;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 228 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 21:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 87 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return CLOSE_PAR;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 235 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-11 21:28:41 +01:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 22:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 88 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return BEGIN_CS;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 242 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 23:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 89 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return END_CS;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 249 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 24:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 90 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
return COMMA;
|
2000-12-15 21:29:33 +01:00
|
|
|
#line 256 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
}
|
|
|
|
break;
|
2000-12-20 21:15:24 +01:00
|
|
|
case 25:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 93 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
yylval.variableIdx=lookupVarName(yytext+1);return VARIABLE;
|
2000-12-20 21:15:24 +01:00
|
|
|
#line 263 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 26:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 94 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
yylval.value=atoi(yytext);return VALUE;
|
2000-12-20 21:15:24 +01:00
|
|
|
#line 270 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 27:
|
|
|
|
{
|
|
|
|
#line 97 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-22 18:10:46 +01:00
|
|
|
yylval.functionNumber=lookupFunctionName(yytext+1);return FUNCTION;
|
2000-12-20 21:15:24 +01:00
|
|
|
#line 277 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 28:
|
|
|
|
{
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 99 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-20 21:15:24 +01:00
|
|
|
|
|
|
|
#line 284 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 29:
|
|
|
|
{
|
|
|
|
#line 100 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-22 18:10:46 +01:00
|
|
|
comment();
|
2000-12-20 21:15:24 +01:00
|
|
|
#line 291 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
2000-12-22 18:10:46 +01:00
|
|
|
case 30:
|
|
|
|
{
|
|
|
|
#line 101 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
|
|
|
|
#line 298 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 31:
|
|
|
|
{
|
|
|
|
#line 102 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
|
|
|
|
#line 305 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 32:
|
|
|
|
{
|
|
|
|
#line 104 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
|
|
|
unexpectedChar();
|
|
|
|
#line 312 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
|
|
|
}
|
|
|
|
break;
|
2000-12-08 21:51:13 +01:00
|
|
|
default:
|
|
|
|
yyassert(0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
yyreturnflg = 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifndef YYNBORLANDWARN
|
|
|
|
#ifdef __BORLANDC__
|
|
|
|
#pragma warn .rch // <warning: unreachable code> to the old state
|
|
|
|
#endif
|
|
|
|
#endif
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 106 "C:\\spongebob\\Utils\\scripter\\lexer.l"
|
2000-12-08 21:51:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// programs section
|
|
|
|
|
|
|
|
|
2000-12-22 18:10:46 +01:00
|
|
|
#line 336 "C:\\spongebob\\Utils\\scripter\\lexer.cpp"
|
2000-12-08 21:51:13 +01:00
|
|
|
|
|
|
|
void YYLEXNAME::yytables()
|
|
|
|
{
|
|
|
|
yystext_size = YYTEXT_SIZE;
|
|
|
|
yysunput_size = YYUNPUT_SIZE;
|
|
|
|
|
|
|
|
static const yymatch_t YYNEARFAR YYBASED_CODE match[] = {
|
|
|
|
0
|
|
|
|
};
|
|
|
|
yymatch = match;
|
|
|
|
|
2000-12-15 21:29:33 +01:00
|
|
|
yytransitionmax = 336;
|
2000-12-08 21:51:13 +01:00
|
|
|
static const yytransition_t YYNEARFAR YYBASED_CODE transition[] = {
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 27, 27 },
|
|
|
|
{ 0, 39 },
|
|
|
|
{ 0, 56 },
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41 },
|
|
|
|
{ 41, 41 },
|
|
|
|
{ 41, 41 },
|
|
|
|
{ 41, 41 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 46, 35 },
|
|
|
|
{ 55, 52 },
|
|
|
|
{ 30, 4 },
|
|
|
|
{ 44, 32 },
|
|
|
|
{ 51, 46 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 48, 43 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 34, 8 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 43, 30 },
|
|
|
|
{ 52, 47 },
|
|
|
|
{ 32, 6 },
|
|
|
|
{ 50, 45 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 45, 33 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
|
|
|
{ 42, 42 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
|
|
|
{ 0, 24 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
|
|
|
{ 0, 26 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 27, 2 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 28, 2 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 35, 9 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 25, 25 },
|
|
|
|
{ 47, 36 },
|
|
|
|
{ 33, 7 },
|
|
|
|
{ 31, 5 },
|
|
|
|
{ 54, 51 },
|
|
|
|
{ 49, 44 },
|
|
|
|
{ 53, 50 },
|
|
|
|
{ 36, 9 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 27, 2 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 11, 2 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 56, 2 },
|
|
|
|
{ 24, 2 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 19, 2 },
|
|
|
|
{ 20, 2 },
|
|
|
|
{ 16, 2 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 14, 2 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 23, 2 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 15, 2 },
|
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 17, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
|
|
|
{ 25, 2 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 25, 2 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
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-08 21:51:13 +01:00
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 9, 2 },
|
2000-12-08 21:51:13 +01:00
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-11 21:28:41 +01:00
|
|
|
{ 4, 2 },
|
2000-12-08 21:51:13 +01:00
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 7, 2 },
|
2000-12-08 21:51:13 +01:00
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 21, 2 },
|
2000-12-08 21:51:13 +01:00
|
|
|
{ 0, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 22, 2 }
|
2000-12-08 21:51:13 +01:00
|
|
|
};
|
|
|
|
yytransition = transition;
|
|
|
|
|
|
|
|
static const yystate_t YYNEARFAR YYBASED_CODE state[] = {
|
|
|
|
{ 0, 0, 0 },
|
|
|
|
{ 2, 1, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ -29, 210, 0 },
|
2000-12-11 21:28:41 +01:00
|
|
|
{ 0, 0, 2 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 52, 20, 32 },
|
|
|
|
{ 0, 132, 32 },
|
|
|
|
{ 45, 61, 32 },
|
|
|
|
{ 0, 129, 32 },
|
|
|
|
{ 30, 29, 32 },
|
|
|
|
{ 0, 124, 32 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 11, 2, 10 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 0, 1, 32 },
|
2000-12-08 21:51:13 +01:00
|
|
|
{ 0, 0, 13 },
|
|
|
|
{ 0, 0, 14 },
|
|
|
|
{ 0, 0, 15 },
|
2000-12-11 21:28:41 +01:00
|
|
|
{ 0, 0, 16 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 0, 17 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 0, 1, 18 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 0, 19 },
|
|
|
|
{ 0, 0, 20 },
|
|
|
|
{ 0, 0, 21 },
|
|
|
|
{ 0, 0, 22 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 0, 0, 23 },
|
|
|
|
{ 0, 0, 24 },
|
|
|
|
{ 41, 151, 32 },
|
|
|
|
{ 0, 174, 26 },
|
|
|
|
{ 42, 161, 32 },
|
|
|
|
{ 0, 1, 30 },
|
|
|
|
{ 0, 0, 31 },
|
|
|
|
{ 0, 0, 32 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 56, 0 },
|
2000-12-11 21:28:41 +01:00
|
|
|
{ 0, 0, 4 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 46, 22, 0 },
|
|
|
|
{ 36, 67, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 0, 7 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 17, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 127, 0 },
|
|
|
|
{ 0, 0, 11 },
|
|
|
|
{ 0, 0, 12 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ -39, 1, 28 },
|
|
|
|
{ 0, 0, 29 },
|
|
|
|
{ 52, 1, 25 },
|
|
|
|
{ 52, 76, 27 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 27, 0 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 51, 135, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 62, 0 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 23, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 58, 0 },
|
2000-12-11 21:28:41 +01:00
|
|
|
{ 0, 0, 3 },
|
|
|
|
{ 0, 0, 5 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ 51, 136, 0 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 134, 0 },
|
2000-12-15 21:29:33 +01:00
|
|
|
{ 0, 19, 0 },
|
2000-12-08 21:51:13 +01:00
|
|
|
{ 0, 0, 6 },
|
2000-12-20 21:15:24 +01:00
|
|
|
{ 0, 0, 8 },
|
|
|
|
{ 0, 0, 9 },
|
2000-12-22 18:10:46 +01:00
|
|
|
{ -56, 2, 1 }
|
2000-12-08 21:51:13 +01:00
|
|
|
};
|
|
|
|
yystate = state;
|
|
|
|
|
|
|
|
static const yybackup_t YYNEARFAR YYBASED_CODE backup[] = {
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
2000-12-11 21:28:41 +01:00
|
|
|
0,
|
2000-12-15 21:29:33 +01:00
|
|
|
0,
|
|
|
|
0,
|
2000-12-20 21:15:24 +01:00
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
2000-12-22 18:10:46 +01:00
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
2000-12-08 21:51:13 +01:00
|
|
|
0
|
|
|
|
};
|
|
|
|
yybackup = backup;
|
|
|
|
}
|