mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-15 00:41:57 +00:00
8f6fdc1d21
no longer gets in the way of the main parser. - Changed A_MissileAttack, A_MeleeAttack and A_ComboAttack so that they use metadata. Now all the hack code associated with these functions can be removed. SVN r538 (trunk)
4628 lines
96 KiB
C
4628 lines
96 KiB
C
/* Generated by re2c 0.10.5 */
|
|
#line 1 "src/sc_man_scanner.re"
|
|
#define YYCTYPE char
|
|
#define YYCURSOR cursor
|
|
#define YYLIMIT limit
|
|
#define YYMARKER marker
|
|
#define YYFILL(n) {}
|
|
#if 0 // As long as the buffer ends with '\n', we need do nothing special for YYFILL.
|
|
// This buffer must be as large as the largest YYFILL call
|
|
YYCTYPE eofbuf[9];
|
|
#define YYFILL(n) \
|
|
{ if(!sc_End) { \
|
|
if(n == 2) { eofbuf[0] = *cursor; } \
|
|
else if(n >= 3 && n <= 9) { memcpy(eofbuf, cursor, n-1); } \
|
|
eofbuf[n-1] = '\n'; \
|
|
cursor = eofbuf; \
|
|
limit = eofbuf + n - 1; \
|
|
sc_End = true; } \
|
|
} \
|
|
assert(n <= sizeof eofbuf) // Semicolon intentionally omitted
|
|
#endif
|
|
|
|
//#define YYDEBUG(s,c) { Printf ("%d: %02x\n", s, c); }
|
|
#define YYDEBUG(s,c)
|
|
|
|
char *cursor = ScriptPtr;
|
|
char *limit = ScriptEndPtr;
|
|
|
|
std1:
|
|
tok = YYCURSOR;
|
|
std2:
|
|
#line 51 "src/sc_man_scanner.re"
|
|
|
|
if (tokens) // A well-defined scanner, based on the c.re example.
|
|
{
|
|
#define RET(x) sc_TokenType = x; goto normal_token;
|
|
|
|
#line 39 "src/sc_man_scanner.h"
|
|
{
|
|
YYCTYPE yych;
|
|
unsigned int yyaccept = 0;
|
|
|
|
if((YYLIMIT - YYCURSOR) < 18) YYFILL(18);
|
|
yych = *YYCURSOR;
|
|
switch(yych){
|
|
case 0x09:
|
|
case 0x0B:
|
|
case 0x0C:
|
|
case 0x0D:
|
|
case ' ': goto yy78;
|
|
case 0x0A: goto yy80;
|
|
case '!': goto yy54;
|
|
case '"': goto yy32;
|
|
case '#': goto yy24;
|
|
case '%': goto yy44;
|
|
case '&': goto yy46;
|
|
case '\'': goto yy33;
|
|
case '(': goto yy66;
|
|
case ')': goto yy68;
|
|
case '*': goto yy42;
|
|
case '+': goto yy38;
|
|
case ',': goto yy62;
|
|
case '-': goto yy40;
|
|
case '.': goto yy30;
|
|
case '/': goto yy2;
|
|
case '0': goto yy27;
|
|
case '1':
|
|
case '2':
|
|
case '3':
|
|
case '4':
|
|
case '5':
|
|
case '6':
|
|
case '7':
|
|
case '8':
|
|
case '9': goto yy29;
|
|
case ':': goto yy64;
|
|
case ';': goto yy56;
|
|
case '<': goto yy36;
|
|
case '=': goto yy52;
|
|
case '>': goto yy34;
|
|
case '?': goto yy76;
|
|
case 'A':
|
|
case 'a': goto yy20;
|
|
case 'B':
|
|
case 'b': goto yy4;
|
|
case 'C':
|
|
case 'c': goto yy6;
|
|
case 'D':
|
|
case 'd': goto yy7;
|
|
case 'E':
|
|
case 'e': goto yy8;
|
|
case 'F':
|
|
case 'f': goto yy9;
|
|
case 'G':
|
|
case 'g': goto yy10;
|
|
case 'H':
|
|
case 'J':
|
|
case 'K':
|
|
case 'Q':
|
|
case 'X':
|
|
case 'Y':
|
|
case 'Z':
|
|
case '_':
|
|
case 'h':
|
|
case 'j':
|
|
case 'k':
|
|
case 'q':
|
|
case 'x':
|
|
case 'y':
|
|
case 'z': goto yy26;
|
|
case 'I':
|
|
case 'i': goto yy11;
|
|
case 'L':
|
|
case 'l': goto yy17;
|
|
case 'M':
|
|
case 'm': goto yy18;
|
|
case 'N':
|
|
case 'n': goto yy19;
|
|
case 'O':
|
|
case 'o': goto yy22;
|
|
case 'P':
|
|
case 'p': goto yy23;
|
|
case 'R':
|
|
case 'r': goto yy12;
|
|
case 'S':
|
|
case 's': goto yy13;
|
|
case 'T':
|
|
case 't': goto yy21;
|
|
case 'U':
|
|
case 'u': goto yy14;
|
|
case 'V':
|
|
case 'v': goto yy15;
|
|
case 'W':
|
|
case 'w': goto yy16;
|
|
case '[': goto yy70;
|
|
case ']': goto yy72;
|
|
case '^': goto yy48;
|
|
case '{': goto yy58;
|
|
case '|': goto yy50;
|
|
case '}': goto yy60;
|
|
case '~': goto yy74;
|
|
default: goto yy82;
|
|
}
|
|
yy2:
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych <= '.') {
|
|
if(yych == '*') goto yy603;
|
|
} else {
|
|
if(yych <= '/') goto yy601;
|
|
if(yych == '=') goto yy599;
|
|
}
|
|
yy3:
|
|
#line 205 "src/sc_man_scanner.re"
|
|
{ RET('/'); }
|
|
#line 157 "src/sc_man_scanner.h"
|
|
yy4:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Y') {
|
|
if(yych <= 'Q') {
|
|
if(yych == 'O') goto yy581;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'R') goto yy582;
|
|
if(yych <= 'X') goto yy177;
|
|
goto yy583;
|
|
}
|
|
} else {
|
|
if(yych <= 'q') {
|
|
if(yych == 'o') goto yy581;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'r') goto yy582;
|
|
if(yych == 'y') goto yy583;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy5:
|
|
#line 151 "src/sc_man_scanner.re"
|
|
{ RET(TK_Identifier); }
|
|
#line 182 "src/sc_man_scanner.h"
|
|
yy6:
|
|
yych = *++YYCURSOR;
|
|
switch(yych){
|
|
case 'A':
|
|
case 'a': goto yy539;
|
|
case 'H':
|
|
case 'h': goto yy540;
|
|
case 'L':
|
|
case 'l': goto yy541;
|
|
case 'O':
|
|
case 'o': goto yy542;
|
|
case 'R':
|
|
case 'r': goto yy543;
|
|
default: goto yy177;
|
|
}
|
|
yy7:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych == 'E') goto yy512;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy513;
|
|
} else {
|
|
if(yych <= 'e') {
|
|
if(yych <= 'd') goto yy177;
|
|
goto yy512;
|
|
} else {
|
|
if(yych == 'o') goto yy513;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy8:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'X') {
|
|
if(yych <= 'N') {
|
|
if(yych == 'L') goto yy477;
|
|
if(yych <= 'M') goto yy177;
|
|
goto yy478;
|
|
} else {
|
|
if(yych == 'V') goto yy479;
|
|
if(yych <= 'W') goto yy177;
|
|
goto yy480;
|
|
}
|
|
} else {
|
|
if(yych <= 'n') {
|
|
if(yych == 'l') goto yy477;
|
|
if(yych <= 'm') goto yy177;
|
|
goto yy478;
|
|
} else {
|
|
if(yych <= 'v') {
|
|
if(yych <= 'u') goto yy177;
|
|
goto yy479;
|
|
} else {
|
|
if(yych == 'x') goto yy480;
|
|
goto yy177;
|
|
}
|
|
}
|
|
}
|
|
yy9:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych <= 'I') {
|
|
if(yych == 'A') goto yy454;
|
|
if(yych <= 'H') goto yy177;
|
|
goto yy455;
|
|
} else {
|
|
if(yych == 'L') goto yy456;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy457;
|
|
}
|
|
} else {
|
|
if(yych <= 'i') {
|
|
if(yych == 'a') goto yy454;
|
|
if(yych <= 'h') goto yy177;
|
|
goto yy455;
|
|
} else {
|
|
if(yych <= 'l') {
|
|
if(yych <= 'k') goto yy177;
|
|
goto yy456;
|
|
} else {
|
|
if(yych == 'o') goto yy457;
|
|
goto yy177;
|
|
}
|
|
}
|
|
}
|
|
yy10:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych == 'L') goto yy444;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy445;
|
|
} else {
|
|
if(yych <= 'l') {
|
|
if(yych <= 'k') goto yy177;
|
|
goto yy444;
|
|
} else {
|
|
if(yych == 'o') goto yy445;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy11:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych <= 'G') {
|
|
if(yych <= 'E') goto yy177;
|
|
if(yych <= 'F') goto yy415;
|
|
goto yy417;
|
|
} else {
|
|
if(yych == 'N') goto yy418;
|
|
if(yych <= 'S') goto yy177;
|
|
goto yy419;
|
|
}
|
|
} else {
|
|
if(yych <= 'm') {
|
|
if(yych <= 'e') goto yy177;
|
|
if(yych <= 'f') goto yy415;
|
|
if(yych <= 'g') goto yy417;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'n') goto yy418;
|
|
if(yych == 't') goto yy419;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy12:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy407;
|
|
if(yych == 'e') goto yy407;
|
|
goto yy177;
|
|
yy13:
|
|
yych = *++YYCURSOR;
|
|
switch(yych){
|
|
case 'B':
|
|
case 'b': goto yy349;
|
|
case 'E':
|
|
case 'e': goto yy350;
|
|
case 'H':
|
|
case 'h': goto yy351;
|
|
case 'I':
|
|
case 'i': goto yy352;
|
|
case 'O':
|
|
case 'o': goto yy353;
|
|
case 'T':
|
|
case 't': goto yy354;
|
|
case 'U':
|
|
case 'u': goto yy355;
|
|
case 'W':
|
|
case 'w': goto yy356;
|
|
default: goto yy177;
|
|
}
|
|
yy14:
|
|
yych = *++YYCURSOR;
|
|
switch(yych){
|
|
case 'I':
|
|
case 'i': goto yy329;
|
|
case 'L':
|
|
case 'l': goto yy330;
|
|
case 'N':
|
|
case 'n': goto yy331;
|
|
case 'S':
|
|
case 's': goto yy332;
|
|
default: goto yy177;
|
|
}
|
|
yy15:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych == 'I') goto yy311;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy312;
|
|
} else {
|
|
if(yych <= 'i') {
|
|
if(yych <= 'h') goto yy177;
|
|
goto yy311;
|
|
} else {
|
|
if(yych == 'o') goto yy312;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy16:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'H') goto yy306;
|
|
if(yych == 'h') goto yy306;
|
|
goto yy177;
|
|
yy17:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych == 'A') goto yy288;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy289;
|
|
} else {
|
|
if(yych <= 'a') {
|
|
if(yych <= '`') goto yy177;
|
|
goto yy288;
|
|
} else {
|
|
if(yych == 'o') goto yy289;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy18:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy284;
|
|
if(yych == 'o') goto yy284;
|
|
goto yy177;
|
|
yy19:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych <= 'D') {
|
|
if(yych == 'A') goto yy268;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'E') goto yy269;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy270;
|
|
}
|
|
} else {
|
|
if(yych <= 'd') {
|
|
if(yych == 'a') goto yy268;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'e') goto yy269;
|
|
if(yych == 'o') goto yy270;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy20:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'U') {
|
|
if(yych <= 'B') {
|
|
if(yych <= 'A') goto yy177;
|
|
goto yy250;
|
|
} else {
|
|
if(yych <= 'C') goto yy251;
|
|
if(yych <= 'T') goto yy177;
|
|
goto yy252;
|
|
}
|
|
} else {
|
|
if(yych <= 'c') {
|
|
if(yych <= 'a') goto yy177;
|
|
if(yych <= 'b') goto yy250;
|
|
goto yy251;
|
|
} else {
|
|
if(yych == 'u') goto yy252;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy21:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'R') {
|
|
if(yych == 'H') goto yy232;
|
|
if(yych <= 'Q') goto yy177;
|
|
goto yy233;
|
|
} else {
|
|
if(yych <= 'h') {
|
|
if(yych <= 'g') goto yy177;
|
|
goto yy232;
|
|
} else {
|
|
if(yych == 'r') goto yy233;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy22:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'U') {
|
|
if(yych == 'P') goto yy221;
|
|
if(yych <= 'T') goto yy177;
|
|
goto yy222;
|
|
} else {
|
|
if(yych <= 'p') {
|
|
if(yych <= 'o') goto yy177;
|
|
goto yy221;
|
|
} else {
|
|
if(yych == 'u') goto yy222;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy23:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'U') {
|
|
if(yych <= 'Q') {
|
|
if(yych == 'I') goto yy186;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'R') goto yy187;
|
|
if(yych <= 'T') goto yy177;
|
|
goto yy188;
|
|
}
|
|
} else {
|
|
if(yych <= 'q') {
|
|
if(yych == 'i') goto yy186;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'r') goto yy187;
|
|
if(yych == 'u') goto yy188;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy24:
|
|
yyaccept = 1;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == 'I') goto yy178;
|
|
if(yych == 'i') goto yy178;
|
|
yy25:
|
|
#line 216 "src/sc_man_scanner.re"
|
|
{
|
|
SC_ScriptError ("Unexpected character: %c (ASCII %d)\n", *tok, *tok);
|
|
goto std1;
|
|
}
|
|
#line 489 "src/sc_man_scanner.h"
|
|
yy26:
|
|
yych = *++YYCURSOR;
|
|
goto yy177;
|
|
yy27:
|
|
yyaccept = 2;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == 'X') goto yy173;
|
|
if(yych == 'x') goto yy173;
|
|
goto yy172;
|
|
yy28:
|
|
#line 154 "src/sc_man_scanner.re"
|
|
{ RET(TK_IntConst); }
|
|
#line 502 "src/sc_man_scanner.h"
|
|
yy29:
|
|
yyaccept = 2;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
goto yy155;
|
|
yy30:
|
|
yyaccept = 3;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == '.') goto yy142;
|
|
if(yych <= '/') goto yy31;
|
|
if(yych <= '9') goto yy143;
|
|
yy31:
|
|
#line 198 "src/sc_man_scanner.re"
|
|
{ RET('.'); }
|
|
#line 516 "src/sc_man_scanner.h"
|
|
yy32:
|
|
yyaccept = 1;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == 0x0A) goto yy25;
|
|
goto yy133;
|
|
yy33:
|
|
yyaccept = 1;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == 0x0A) goto yy25;
|
|
goto yy128;
|
|
yy34:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= '<') goto yy35;
|
|
if(yych <= '=') goto yy117;
|
|
if(yych <= '>') goto yy119;
|
|
yy35:
|
|
#line 208 "src/sc_man_scanner.re"
|
|
{ RET('>'); }
|
|
#line 535 "src/sc_man_scanner.h"
|
|
yy36:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= ';') goto yy37;
|
|
if(yych <= '<') goto yy113;
|
|
if(yych <= '=') goto yy111;
|
|
yy37:
|
|
#line 207 "src/sc_man_scanner.re"
|
|
{ RET('<'); }
|
|
#line 544 "src/sc_man_scanner.h"
|
|
yy38:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '+') goto yy107;
|
|
if(yych == '=') goto yy109;
|
|
#line 203 "src/sc_man_scanner.re"
|
|
{ RET('+'); }
|
|
#line 551 "src/sc_man_scanner.h"
|
|
yy40:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '-') goto yy103;
|
|
if(yych == '=') goto yy105;
|
|
#line 202 "src/sc_man_scanner.re"
|
|
{ RET('-'); }
|
|
#line 558 "src/sc_man_scanner.h"
|
|
yy42:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy101;
|
|
#line 204 "src/sc_man_scanner.re"
|
|
{ RET('*'); }
|
|
#line 564 "src/sc_man_scanner.h"
|
|
yy44:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy99;
|
|
#line 206 "src/sc_man_scanner.re"
|
|
{ RET('%'); }
|
|
#line 570 "src/sc_man_scanner.h"
|
|
yy46:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '&') goto yy95;
|
|
if(yych == '=') goto yy97;
|
|
#line 199 "src/sc_man_scanner.re"
|
|
{ RET('&'); }
|
|
#line 577 "src/sc_man_scanner.h"
|
|
yy48:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy93;
|
|
#line 209 "src/sc_man_scanner.re"
|
|
{ RET('^'); }
|
|
#line 583 "src/sc_man_scanner.h"
|
|
yy50:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy91;
|
|
if(yych == '|') goto yy89;
|
|
#line 210 "src/sc_man_scanner.re"
|
|
{ RET('|'); }
|
|
#line 590 "src/sc_man_scanner.h"
|
|
yy52:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy87;
|
|
#line 193 "src/sc_man_scanner.re"
|
|
{ RET('='); }
|
|
#line 596 "src/sc_man_scanner.h"
|
|
yy54:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy85;
|
|
#line 200 "src/sc_man_scanner.re"
|
|
{ RET('!'); }
|
|
#line 602 "src/sc_man_scanner.h"
|
|
yy56:
|
|
++YYCURSOR;
|
|
#line 188 "src/sc_man_scanner.re"
|
|
{ RET(';'); }
|
|
#line 607 "src/sc_man_scanner.h"
|
|
yy58:
|
|
++YYCURSOR;
|
|
#line 189 "src/sc_man_scanner.re"
|
|
{ RET('{'); }
|
|
#line 612 "src/sc_man_scanner.h"
|
|
yy60:
|
|
++YYCURSOR;
|
|
#line 190 "src/sc_man_scanner.re"
|
|
{ RET('}'); }
|
|
#line 617 "src/sc_man_scanner.h"
|
|
yy62:
|
|
++YYCURSOR;
|
|
#line 191 "src/sc_man_scanner.re"
|
|
{ RET(','); }
|
|
#line 622 "src/sc_man_scanner.h"
|
|
yy64:
|
|
++YYCURSOR;
|
|
#line 192 "src/sc_man_scanner.re"
|
|
{ RET(':'); }
|
|
#line 627 "src/sc_man_scanner.h"
|
|
yy66:
|
|
++YYCURSOR;
|
|
#line 194 "src/sc_man_scanner.re"
|
|
{ RET('('); }
|
|
#line 632 "src/sc_man_scanner.h"
|
|
yy68:
|
|
++YYCURSOR;
|
|
#line 195 "src/sc_man_scanner.re"
|
|
{ RET(')'); }
|
|
#line 637 "src/sc_man_scanner.h"
|
|
yy70:
|
|
++YYCURSOR;
|
|
#line 196 "src/sc_man_scanner.re"
|
|
{ RET('['); }
|
|
#line 642 "src/sc_man_scanner.h"
|
|
yy72:
|
|
++YYCURSOR;
|
|
#line 197 "src/sc_man_scanner.re"
|
|
{ RET(']'); }
|
|
#line 647 "src/sc_man_scanner.h"
|
|
yy74:
|
|
++YYCURSOR;
|
|
#line 201 "src/sc_man_scanner.re"
|
|
{ RET('~'); }
|
|
#line 652 "src/sc_man_scanner.h"
|
|
yy76:
|
|
++YYCURSOR;
|
|
#line 211 "src/sc_man_scanner.re"
|
|
{ RET('?'); }
|
|
#line 657 "src/sc_man_scanner.h"
|
|
yy78:
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy84;
|
|
yy79:
|
|
#line 213 "src/sc_man_scanner.re"
|
|
{ goto std1; }
|
|
#line 665 "src/sc_man_scanner.h"
|
|
yy80:
|
|
++YYCURSOR;
|
|
#line 214 "src/sc_man_scanner.re"
|
|
{ goto newline; }
|
|
#line 670 "src/sc_man_scanner.h"
|
|
yy82:
|
|
yych = *++YYCURSOR;
|
|
goto yy25;
|
|
yy83:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy84:
|
|
if(yych <= 0x0A) {
|
|
if(yych == 0x09) goto yy83;
|
|
goto yy79;
|
|
} else {
|
|
if(yych <= 0x0D) goto yy83;
|
|
if(yych == ' ') goto yy83;
|
|
goto yy79;
|
|
}
|
|
yy85:
|
|
++YYCURSOR;
|
|
#line 187 "src/sc_man_scanner.re"
|
|
{ RET(TK_Neq); }
|
|
#line 691 "src/sc_man_scanner.h"
|
|
yy87:
|
|
++YYCURSOR;
|
|
#line 186 "src/sc_man_scanner.re"
|
|
{ RET(TK_Eq); }
|
|
#line 696 "src/sc_man_scanner.h"
|
|
yy89:
|
|
++YYCURSOR;
|
|
#line 183 "src/sc_man_scanner.re"
|
|
{ RET(TK_OrOr); }
|
|
#line 701 "src/sc_man_scanner.h"
|
|
yy91:
|
|
++YYCURSOR;
|
|
#line 176 "src/sc_man_scanner.re"
|
|
{ RET(TK_OrEq); }
|
|
#line 706 "src/sc_man_scanner.h"
|
|
yy93:
|
|
++YYCURSOR;
|
|
#line 175 "src/sc_man_scanner.re"
|
|
{ RET(TK_XorEq); }
|
|
#line 711 "src/sc_man_scanner.h"
|
|
yy95:
|
|
++YYCURSOR;
|
|
#line 182 "src/sc_man_scanner.re"
|
|
{ RET(TK_AndAnd); }
|
|
#line 716 "src/sc_man_scanner.h"
|
|
yy97:
|
|
++YYCURSOR;
|
|
#line 174 "src/sc_man_scanner.re"
|
|
{ RET(TK_AndEq); }
|
|
#line 721 "src/sc_man_scanner.h"
|
|
yy99:
|
|
++YYCURSOR;
|
|
#line 173 "src/sc_man_scanner.re"
|
|
{ RET(TK_ModEq); }
|
|
#line 726 "src/sc_man_scanner.h"
|
|
yy101:
|
|
++YYCURSOR;
|
|
#line 171 "src/sc_man_scanner.re"
|
|
{ RET(TK_MulEq); }
|
|
#line 731 "src/sc_man_scanner.h"
|
|
yy103:
|
|
++YYCURSOR;
|
|
#line 181 "src/sc_man_scanner.re"
|
|
{ RET(TK_Decr); }
|
|
#line 736 "src/sc_man_scanner.h"
|
|
yy105:
|
|
++YYCURSOR;
|
|
#line 170 "src/sc_man_scanner.re"
|
|
{ RET(TK_SubEq); }
|
|
#line 741 "src/sc_man_scanner.h"
|
|
yy107:
|
|
++YYCURSOR;
|
|
#line 180 "src/sc_man_scanner.re"
|
|
{ RET(TK_Incr); }
|
|
#line 746 "src/sc_man_scanner.h"
|
|
yy109:
|
|
++YYCURSOR;
|
|
#line 169 "src/sc_man_scanner.re"
|
|
{ RET(TK_AddEq); }
|
|
#line 751 "src/sc_man_scanner.h"
|
|
yy111:
|
|
++YYCURSOR;
|
|
#line 184 "src/sc_man_scanner.re"
|
|
{ RET(TK_Leq); }
|
|
#line 756 "src/sc_man_scanner.h"
|
|
yy113:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy115;
|
|
#line 179 "src/sc_man_scanner.re"
|
|
{ RET(TK_LShift); }
|
|
#line 762 "src/sc_man_scanner.h"
|
|
yy115:
|
|
++YYCURSOR;
|
|
#line 168 "src/sc_man_scanner.re"
|
|
{ RET(TK_LShiftEq); }
|
|
#line 767 "src/sc_man_scanner.h"
|
|
yy117:
|
|
++YYCURSOR;
|
|
#line 185 "src/sc_man_scanner.re"
|
|
{ RET(TK_Geq); }
|
|
#line 772 "src/sc_man_scanner.h"
|
|
yy119:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= '<') goto yy120;
|
|
if(yych <= '=') goto yy123;
|
|
if(yych <= '>') goto yy121;
|
|
yy120:
|
|
#line 178 "src/sc_man_scanner.re"
|
|
{ RET(TK_RShift); }
|
|
#line 781 "src/sc_man_scanner.h"
|
|
yy121:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '=') goto yy125;
|
|
#line 177 "src/sc_man_scanner.re"
|
|
{ RET(TK_URShift); }
|
|
#line 787 "src/sc_man_scanner.h"
|
|
yy123:
|
|
++YYCURSOR;
|
|
#line 167 "src/sc_man_scanner.re"
|
|
{ RET(TK_RShiftEq); }
|
|
#line 792 "src/sc_man_scanner.h"
|
|
yy125:
|
|
++YYCURSOR;
|
|
#line 166 "src/sc_man_scanner.re"
|
|
{ RET(TK_URShiftEq); }
|
|
#line 797 "src/sc_man_scanner.h"
|
|
yy127:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy128:
|
|
if(yych == 0x0A) goto yy129;
|
|
if(yych == '\'') goto yy130;
|
|
goto yy127;
|
|
yy129:
|
|
YYCURSOR = YYMARKER;
|
|
if(yyaccept <= 2) {
|
|
if(yyaccept <= 1) {
|
|
if(yyaccept <= 0) {
|
|
goto yy3;
|
|
} else {
|
|
goto yy25;
|
|
}
|
|
} else {
|
|
goto yy28;
|
|
}
|
|
} else {
|
|
if(yyaccept <= 3) {
|
|
goto yy31;
|
|
} else {
|
|
goto yy145;
|
|
}
|
|
}
|
|
yy130:
|
|
++YYCURSOR;
|
|
#line 163 "src/sc_man_scanner.re"
|
|
{ RET(TK_NameConst); }
|
|
#line 829 "src/sc_man_scanner.h"
|
|
yy132:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy133:
|
|
if(yych <= '!') {
|
|
if(yych == 0x0A) goto yy129;
|
|
goto yy132;
|
|
} else {
|
|
if(yych <= '"') goto yy135;
|
|
if(yych != '\\') goto yy132;
|
|
}
|
|
yy134:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'c') {
|
|
if(yych <= '7') {
|
|
if(yych <= '&') {
|
|
if(yych == '"') goto yy132;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= '\'') goto yy132;
|
|
if(yych <= '/') goto yy129;
|
|
goto yy138;
|
|
}
|
|
} else {
|
|
if(yych <= '[') {
|
|
if(yych == '?') goto yy132;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= '\\') goto yy132;
|
|
if(yych <= '`') goto yy129;
|
|
goto yy132;
|
|
}
|
|
}
|
|
} else {
|
|
if(yych <= 'r') {
|
|
if(yych <= 'm') {
|
|
if(yych == 'f') goto yy132;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= 'n') goto yy132;
|
|
if(yych <= 'q') goto yy129;
|
|
goto yy132;
|
|
}
|
|
} else {
|
|
if(yych <= 'u') {
|
|
if(yych == 't') goto yy132;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= 'v') goto yy132;
|
|
if(yych == 'x') goto yy137;
|
|
goto yy129;
|
|
}
|
|
}
|
|
}
|
|
yy135:
|
|
++YYCURSOR;
|
|
#line 160 "src/sc_man_scanner.re"
|
|
{ RET(TK_StringConst); }
|
|
#line 891 "src/sc_man_scanner.h"
|
|
yy137:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy129;
|
|
if(yych <= '9') goto yy140;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= 'F') goto yy140;
|
|
if(yych <= '`') goto yy129;
|
|
if(yych <= 'f') goto yy140;
|
|
goto yy129;
|
|
}
|
|
yy138:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '"') {
|
|
if(yych == 0x0A) goto yy129;
|
|
if(yych <= '!') goto yy132;
|
|
goto yy135;
|
|
} else {
|
|
if(yych <= '7') {
|
|
if(yych <= '/') goto yy132;
|
|
goto yy138;
|
|
} else {
|
|
if(yych == '\\') goto yy134;
|
|
goto yy132;
|
|
}
|
|
}
|
|
yy140:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '9') {
|
|
if(yych <= '!') {
|
|
if(yych == 0x0A) goto yy129;
|
|
goto yy132;
|
|
} else {
|
|
if(yych <= '"') goto yy135;
|
|
if(yych <= '/') goto yy132;
|
|
goto yy140;
|
|
}
|
|
} else {
|
|
if(yych <= '[') {
|
|
if(yych <= '@') goto yy132;
|
|
if(yych <= 'F') goto yy140;
|
|
goto yy132;
|
|
} else {
|
|
if(yych <= '\\') goto yy134;
|
|
if(yych <= '`') goto yy132;
|
|
if(yych <= 'f') goto yy140;
|
|
goto yy132;
|
|
}
|
|
}
|
|
yy142:
|
|
yych = *++YYCURSOR;
|
|
if(yych == '.') goto yy151;
|
|
goto yy129;
|
|
yy143:
|
|
yyaccept = 4;
|
|
YYMARKER = ++YYCURSOR;
|
|
if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'K') {
|
|
if(yych <= 'D') {
|
|
if(yych <= '/') goto yy145;
|
|
if(yych <= '9') goto yy143;
|
|
} else {
|
|
if(yych <= 'E') goto yy146;
|
|
if(yych <= 'F') goto yy147;
|
|
}
|
|
} else {
|
|
if(yych <= 'e') {
|
|
if(yych <= 'L') goto yy147;
|
|
if(yych >= 'e') goto yy146;
|
|
} else {
|
|
if(yych <= 'f') goto yy147;
|
|
if(yych == 'l') goto yy147;
|
|
}
|
|
}
|
|
yy145:
|
|
#line 157 "src/sc_man_scanner.re"
|
|
{ RET(TK_FloatConst); }
|
|
#line 977 "src/sc_man_scanner.h"
|
|
yy146:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= ',') {
|
|
if(yych == '+') goto yy148;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= '-') goto yy148;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych <= '9') goto yy149;
|
|
goto yy129;
|
|
}
|
|
yy147:
|
|
yych = *++YYCURSOR;
|
|
goto yy145;
|
|
yy148:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych >= ':') goto yy129;
|
|
yy149:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'K') {
|
|
if(yych <= '9') {
|
|
if(yych <= '/') goto yy145;
|
|
goto yy149;
|
|
} else {
|
|
if(yych == 'F') goto yy147;
|
|
goto yy145;
|
|
}
|
|
} else {
|
|
if(yych <= 'f') {
|
|
if(yych <= 'L') goto yy147;
|
|
if(yych <= 'e') goto yy145;
|
|
goto yy147;
|
|
} else {
|
|
if(yych == 'l') goto yy147;
|
|
goto yy145;
|
|
}
|
|
}
|
|
yy151:
|
|
++YYCURSOR;
|
|
#line 165 "src/sc_man_scanner.re"
|
|
{ RET(TK_Ellipsis); }
|
|
#line 1022 "src/sc_man_scanner.h"
|
|
yy153:
|
|
yyaccept = 4;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == 'E') goto yy163;
|
|
if(yych == 'e') goto yy163;
|
|
goto yy162;
|
|
yy154:
|
|
yyaccept = 2;
|
|
YYMARKER = ++YYCURSOR;
|
|
if((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
|
|
yych = *YYCURSOR;
|
|
yy155:
|
|
if(yych <= 'L') {
|
|
if(yych <= '9') {
|
|
if(yych == '.') goto yy153;
|
|
if(yych <= '/') goto yy28;
|
|
goto yy154;
|
|
} else {
|
|
if(yych == 'E') goto yy156;
|
|
if(yych <= 'K') goto yy28;
|
|
goto yy157;
|
|
}
|
|
} else {
|
|
if(yych <= 'e') {
|
|
if(yych == 'U') goto yy157;
|
|
if(yych <= 'd') goto yy28;
|
|
} else {
|
|
if(yych <= 'l') {
|
|
if(yych <= 'k') goto yy28;
|
|
goto yy157;
|
|
} else {
|
|
if(yych == 'u') goto yy157;
|
|
goto yy28;
|
|
}
|
|
}
|
|
}
|
|
yy156:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= ',') {
|
|
if(yych == '+') goto yy158;
|
|
goto yy129;
|
|
} else {
|
|
if(yych <= '-') goto yy158;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych <= '9') goto yy159;
|
|
goto yy129;
|
|
}
|
|
yy157:
|
|
yych = *++YYCURSOR;
|
|
goto yy28;
|
|
yy158:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych >= ':') goto yy129;
|
|
yy159:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'K') {
|
|
if(yych <= '9') {
|
|
if(yych <= '/') goto yy145;
|
|
goto yy159;
|
|
} else {
|
|
if(yych == 'F') goto yy147;
|
|
goto yy145;
|
|
}
|
|
} else {
|
|
if(yych <= 'f') {
|
|
if(yych <= 'L') goto yy147;
|
|
if(yych <= 'e') goto yy145;
|
|
goto yy147;
|
|
} else {
|
|
if(yych == 'l') goto yy147;
|
|
goto yy145;
|
|
}
|
|
}
|
|
yy161:
|
|
yyaccept = 4;
|
|
YYMARKER = ++YYCURSOR;
|
|
if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
|
|
yych = *YYCURSOR;
|
|
yy162:
|
|
if(yych <= 'K') {
|
|
if(yych <= 'D') {
|
|
if(yych <= '/') goto yy145;
|
|
if(yych <= '9') goto yy161;
|
|
goto yy145;
|
|
} else {
|
|
if(yych <= 'E') goto yy167;
|
|
if(yych <= 'F') goto yy147;
|
|
goto yy145;
|
|
}
|
|
} else {
|
|
if(yych <= 'e') {
|
|
if(yych <= 'L') goto yy147;
|
|
if(yych <= 'd') goto yy145;
|
|
goto yy167;
|
|
} else {
|
|
if(yych <= 'f') goto yy147;
|
|
if(yych == 'l') goto yy147;
|
|
goto yy145;
|
|
}
|
|
}
|
|
yy163:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= ',') {
|
|
if(yych != '+') goto yy129;
|
|
} else {
|
|
if(yych <= '-') goto yy164;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych <= '9') goto yy165;
|
|
goto yy129;
|
|
}
|
|
yy164:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych >= ':') goto yy129;
|
|
yy165:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'K') {
|
|
if(yych <= '9') {
|
|
if(yych <= '/') goto yy145;
|
|
goto yy165;
|
|
} else {
|
|
if(yych == 'F') goto yy147;
|
|
goto yy145;
|
|
}
|
|
} else {
|
|
if(yych <= 'f') {
|
|
if(yych <= 'L') goto yy147;
|
|
if(yych <= 'e') goto yy145;
|
|
goto yy147;
|
|
} else {
|
|
if(yych == 'l') goto yy147;
|
|
goto yy145;
|
|
}
|
|
}
|
|
yy167:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= ',') {
|
|
if(yych != '+') goto yy129;
|
|
} else {
|
|
if(yych <= '-') goto yy168;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych <= '9') goto yy169;
|
|
goto yy129;
|
|
}
|
|
yy168:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= '/') goto yy129;
|
|
if(yych >= ':') goto yy129;
|
|
yy169:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'K') {
|
|
if(yych <= '9') {
|
|
if(yych <= '/') goto yy145;
|
|
goto yy169;
|
|
} else {
|
|
if(yych == 'F') goto yy147;
|
|
goto yy145;
|
|
}
|
|
} else {
|
|
if(yych <= 'f') {
|
|
if(yych <= 'L') goto yy147;
|
|
if(yych <= 'e') goto yy145;
|
|
goto yy147;
|
|
} else {
|
|
if(yych == 'l') goto yy147;
|
|
goto yy145;
|
|
}
|
|
}
|
|
yy171:
|
|
yyaccept = 2;
|
|
YYMARKER = ++YYCURSOR;
|
|
if((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
|
|
yych = *YYCURSOR;
|
|
yy172:
|
|
if(yych <= 'L') {
|
|
if(yych <= '9') {
|
|
if(yych == '.') goto yy153;
|
|
if(yych <= '/') goto yy28;
|
|
goto yy171;
|
|
} else {
|
|
if(yych == 'E') goto yy156;
|
|
if(yych <= 'K') goto yy28;
|
|
goto yy157;
|
|
}
|
|
} else {
|
|
if(yych <= 'e') {
|
|
if(yych == 'U') goto yy157;
|
|
if(yych <= 'd') goto yy28;
|
|
goto yy156;
|
|
} else {
|
|
if(yych <= 'l') {
|
|
if(yych <= 'k') goto yy28;
|
|
goto yy157;
|
|
} else {
|
|
if(yych == 'u') goto yy157;
|
|
goto yy28;
|
|
}
|
|
}
|
|
}
|
|
yy173:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy129;
|
|
if(yych >= ':') goto yy129;
|
|
} else {
|
|
if(yych <= 'F') goto yy174;
|
|
if(yych <= '`') goto yy129;
|
|
if(yych >= 'g') goto yy129;
|
|
}
|
|
yy174:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy28;
|
|
if(yych <= '9') goto yy174;
|
|
goto yy28;
|
|
} else {
|
|
if(yych <= 'F') goto yy174;
|
|
if(yych == 'L') goto yy157;
|
|
goto yy28;
|
|
}
|
|
} else {
|
|
if(yych <= 'k') {
|
|
if(yych <= 'U') goto yy157;
|
|
if(yych <= '`') goto yy28;
|
|
if(yych <= 'f') goto yy174;
|
|
goto yy28;
|
|
} else {
|
|
if(yych <= 'l') goto yy157;
|
|
if(yych == 'u') goto yy157;
|
|
goto yy28;
|
|
}
|
|
}
|
|
yy176:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy177:
|
|
if(yych <= 'Z') {
|
|
if(yych <= '/') goto yy5;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych <= '@') goto yy5;
|
|
goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych <= '^') goto yy5;
|
|
goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy5;
|
|
if(yych <= 'z') goto yy176;
|
|
goto yy5;
|
|
}
|
|
}
|
|
yy178:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy179;
|
|
if(yych != 'n') goto yy129;
|
|
yy179:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy180;
|
|
if(yych != 'c') goto yy129;
|
|
yy180:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy181;
|
|
if(yych != 'l') goto yy129;
|
|
yy181:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy182;
|
|
if(yych != 'u') goto yy129;
|
|
yy182:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy183;
|
|
if(yych != 'd') goto yy129;
|
|
yy183:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy184;
|
|
if(yych != 'e') goto yy129;
|
|
yy184:
|
|
++YYCURSOR;
|
|
#line 146 "src/sc_man_scanner.re"
|
|
{ RET(TK_Include); }
|
|
#line 1313 "src/sc_man_scanner.h"
|
|
yy186:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy216;
|
|
if(yych == 'c') goto yy216;
|
|
goto yy177;
|
|
yy187:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'O') {
|
|
if(yych == 'I') goto yy195;
|
|
if(yych <= 'N') goto yy177;
|
|
goto yy194;
|
|
} else {
|
|
if(yych <= 'i') {
|
|
if(yych <= 'h') goto yy177;
|
|
goto yy195;
|
|
} else {
|
|
if(yych == 'o') goto yy194;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy188:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'B') goto yy189;
|
|
if(yych != 'b') goto yy177;
|
|
yy189:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy190;
|
|
if(yych != 'l') goto yy177;
|
|
yy190:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy191;
|
|
if(yych != 'i') goto yy177;
|
|
yy191:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy192;
|
|
if(yych != 'c') goto yy177;
|
|
yy192:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy193;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy193;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy193:
|
|
#line 120 "src/sc_man_scanner.re"
|
|
{ RET(TK_Public); }
|
|
#line 1367 "src/sc_man_scanner.h"
|
|
yy194:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych == 'J') goto yy201;
|
|
if(yych <= 'S') goto yy177;
|
|
goto yy202;
|
|
} else {
|
|
if(yych <= 'j') {
|
|
if(yych <= 'i') goto yy177;
|
|
goto yy201;
|
|
} else {
|
|
if(yych == 't') goto yy202;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy195:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'V') goto yy196;
|
|
if(yych != 'v') goto yy177;
|
|
yy196:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy197;
|
|
if(yych != 'a') goto yy177;
|
|
yy197:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy198;
|
|
if(yych != 't') goto yy177;
|
|
yy198:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy199;
|
|
if(yych != 'e') goto yy177;
|
|
yy199:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy200;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy200;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy200:
|
|
#line 122 "src/sc_man_scanner.re"
|
|
{ RET(TK_Private); }
|
|
#line 1416 "src/sc_man_scanner.h"
|
|
yy201:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy209;
|
|
if(yych == 'e') goto yy209;
|
|
goto yy177;
|
|
yy202:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy203;
|
|
if(yych != 'e') goto yy177;
|
|
yy203:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy204;
|
|
if(yych != 'c') goto yy177;
|
|
yy204:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy205;
|
|
if(yych != 't') goto yy177;
|
|
yy205:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy206;
|
|
if(yych != 'e') goto yy177;
|
|
yy206:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy207;
|
|
if(yych != 'd') goto yy177;
|
|
yy207:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy208;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy208;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy208:
|
|
#line 121 "src/sc_man_scanner.re"
|
|
{ RET(TK_Protected); }
|
|
#line 1459 "src/sc_man_scanner.h"
|
|
yy209:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy210;
|
|
if(yych != 'c') goto yy177;
|
|
yy210:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy211;
|
|
if(yych != 't') goto yy177;
|
|
yy211:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy212;
|
|
if(yych != 'i') goto yy177;
|
|
yy212:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy213;
|
|
if(yych != 'l') goto yy177;
|
|
yy213:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy214;
|
|
if(yych != 'e') goto yy177;
|
|
yy214:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy215;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy215;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy215:
|
|
#line 149 "src/sc_man_scanner.re"
|
|
{ RET(TK_Projectile); }
|
|
#line 1497 "src/sc_man_scanner.h"
|
|
yy216:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'K') goto yy217;
|
|
if(yych != 'k') goto yy177;
|
|
yy217:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy218;
|
|
if(yych != 'u') goto yy177;
|
|
yy218:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'P') goto yy219;
|
|
if(yych != 'p') goto yy177;
|
|
yy219:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy220;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy220;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy220:
|
|
#line 147 "src/sc_man_scanner.re"
|
|
{ RET(TK_Pickup); }
|
|
#line 1527 "src/sc_man_scanner.h"
|
|
yy221:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy225;
|
|
if(yych == 't') goto yy225;
|
|
goto yy177;
|
|
yy222:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy223;
|
|
if(yych != 't') goto yy177;
|
|
yy223:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy224;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy224;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy224:
|
|
#line 112 "src/sc_man_scanner.re"
|
|
{ RET(TK_Out); }
|
|
#line 1554 "src/sc_man_scanner.h"
|
|
yy225:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy226;
|
|
if(yych != 'i') goto yy177;
|
|
yy226:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy227;
|
|
if(yych != 'o') goto yy177;
|
|
yy227:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy228;
|
|
if(yych != 'n') goto yy177;
|
|
yy228:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy229;
|
|
if(yych != 'a') goto yy177;
|
|
yy229:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy230;
|
|
if(yych != 'l') goto yy177;
|
|
yy230:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy231;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy231;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy231:
|
|
#line 132 "src/sc_man_scanner.re"
|
|
{ RET(TK_Optional); }
|
|
#line 1592 "src/sc_man_scanner.h"
|
|
yy232:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy245;
|
|
if(yych == 'r') goto yy245;
|
|
goto yy177;
|
|
yy233:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'U') {
|
|
if(yych == 'A') goto yy235;
|
|
if(yych <= 'T') goto yy177;
|
|
} else {
|
|
if(yych <= 'a') {
|
|
if(yych <= '`') goto yy177;
|
|
goto yy235;
|
|
} else {
|
|
if(yych != 'u') goto yy177;
|
|
}
|
|
}
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy243;
|
|
if(yych == 'e') goto yy243;
|
|
goto yy177;
|
|
yy235:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy236;
|
|
if(yych != 'n') goto yy177;
|
|
yy236:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy237;
|
|
if(yych != 's') goto yy177;
|
|
yy237:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy238;
|
|
if(yych != 'i') goto yy177;
|
|
yy238:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy239;
|
|
if(yych != 'e') goto yy177;
|
|
yy239:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy240;
|
|
if(yych != 'n') goto yy177;
|
|
yy240:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy241;
|
|
if(yych != 't') goto yy177;
|
|
yy241:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy242;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy242;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy242:
|
|
#line 116 "src/sc_man_scanner.re"
|
|
{ RET(TK_Transient); }
|
|
#line 1656 "src/sc_man_scanner.h"
|
|
yy243:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy244;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy244;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy244:
|
|
#line 103 "src/sc_man_scanner.re"
|
|
{ RET(TK_True); }
|
|
#line 1674 "src/sc_man_scanner.h"
|
|
yy245:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy246;
|
|
if(yych != 'o') goto yy177;
|
|
yy246:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'W') goto yy247;
|
|
if(yych != 'w') goto yy177;
|
|
yy247:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy248;
|
|
if(yych != 's') goto yy177;
|
|
yy248:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy249;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy249;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy249:
|
|
#line 118 "src/sc_man_scanner.re"
|
|
{ RET(TK_Throws); }
|
|
#line 1704 "src/sc_man_scanner.h"
|
|
yy250:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy261;
|
|
if(yych == 's') goto yy261;
|
|
goto yy177;
|
|
yy251:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy256;
|
|
if(yych == 't') goto yy256;
|
|
goto yy177;
|
|
yy252:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy253;
|
|
if(yych != 't') goto yy177;
|
|
yy253:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy254;
|
|
if(yych != 'o') goto yy177;
|
|
yy254:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy255;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy255;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy255:
|
|
#line 108 "src/sc_man_scanner.re"
|
|
{ RET(TK_Auto); }
|
|
#line 1740 "src/sc_man_scanner.h"
|
|
yy256:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy257;
|
|
if(yych != 'i') goto yy177;
|
|
yy257:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy258;
|
|
if(yych != 'o') goto yy177;
|
|
yy258:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy259;
|
|
if(yych != 'n') goto yy177;
|
|
yy259:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy260;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy260;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy260:
|
|
#line 143 "src/sc_man_scanner.re"
|
|
{ RET(TK_Action); }
|
|
#line 1770 "src/sc_man_scanner.h"
|
|
yy261:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy262;
|
|
if(yych != 't') goto yy177;
|
|
yy262:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy263;
|
|
if(yych != 'r') goto yy177;
|
|
yy263:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy264;
|
|
if(yych != 'a') goto yy177;
|
|
yy264:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy265;
|
|
if(yych != 'c') goto yy177;
|
|
yy265:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy266;
|
|
if(yych != 't') goto yy177;
|
|
yy266:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy267;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy267;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy267:
|
|
#line 101 "src/sc_man_scanner.re"
|
|
{ RET(TK_Abstract); }
|
|
#line 1808 "src/sc_man_scanner.h"
|
|
yy268:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych == 'M') goto yy276;
|
|
if(yych <= 'S') goto yy177;
|
|
goto yy277;
|
|
} else {
|
|
if(yych <= 'm') {
|
|
if(yych <= 'l') goto yy177;
|
|
goto yy276;
|
|
} else {
|
|
if(yych == 't') goto yy277;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy269:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'W') goto yy274;
|
|
if(yych == 'w') goto yy274;
|
|
goto yy177;
|
|
yy270:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy271;
|
|
if(yych != 'n') goto yy177;
|
|
yy271:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy272;
|
|
if(yych != 'e') goto yy177;
|
|
yy272:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy273;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy273;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy273:
|
|
#line 105 "src/sc_man_scanner.re"
|
|
{ RET(TK_None); }
|
|
#line 1854 "src/sc_man_scanner.h"
|
|
yy274:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy275;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy275;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy275:
|
|
#line 106 "src/sc_man_scanner.re"
|
|
{ RET(TK_New); }
|
|
#line 1872 "src/sc_man_scanner.h"
|
|
yy276:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy282;
|
|
if(yych == 'e') goto yy282;
|
|
goto yy177;
|
|
yy277:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy278;
|
|
if(yych != 'i') goto yy177;
|
|
yy278:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'V') goto yy279;
|
|
if(yych != 'v') goto yy177;
|
|
yy279:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy280;
|
|
if(yych != 'e') goto yy177;
|
|
yy280:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy281;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy281;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy281:
|
|
#line 111 "src/sc_man_scanner.re"
|
|
{ RET(TK_Native); }
|
|
#line 1907 "src/sc_man_scanner.h"
|
|
yy282:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy283;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy283;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy283:
|
|
#line 94 "src/sc_man_scanner.re"
|
|
{ RET(TK_Name); }
|
|
#line 1925 "src/sc_man_scanner.h"
|
|
yy284:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy285;
|
|
if(yych != 'd') goto yy177;
|
|
yy285:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy286;
|
|
if(yych != 'e') goto yy177;
|
|
yy286:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy287;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy287;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy287:
|
|
#line 92 "src/sc_man_scanner.re"
|
|
{ RET(TK_Mode); }
|
|
#line 1951 "src/sc_man_scanner.h"
|
|
yy288:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy301;
|
|
if(yych == 't') goto yy301;
|
|
goto yy177;
|
|
yy289:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'N') {
|
|
if(yych == 'C') goto yy291;
|
|
if(yych <= 'M') goto yy177;
|
|
} else {
|
|
if(yych <= 'c') {
|
|
if(yych <= 'b') goto yy177;
|
|
goto yy291;
|
|
} else {
|
|
if(yych != 'n') goto yy177;
|
|
}
|
|
}
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'G') goto yy299;
|
|
if(yych == 'g') goto yy299;
|
|
goto yy177;
|
|
yy291:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy292;
|
|
if(yych != 'a') goto yy177;
|
|
yy292:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy293;
|
|
if(yych != 'l') goto yy177;
|
|
yy293:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy294;
|
|
if(yych != 'i') goto yy177;
|
|
yy294:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'Z') goto yy295;
|
|
if(yych != 'z') goto yy177;
|
|
yy295:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy296;
|
|
if(yych != 'e') goto yy177;
|
|
yy296:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy297;
|
|
if(yych != 'd') goto yy177;
|
|
yy297:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy298;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy298;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy298:
|
|
#line 126 "src/sc_man_scanner.re"
|
|
{ RET(TK_Localized); }
|
|
#line 2015 "src/sc_man_scanner.h"
|
|
yy299:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy300;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy300;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy300:
|
|
#line 87 "src/sc_man_scanner.re"
|
|
{ RET(TK_Long); }
|
|
#line 2033 "src/sc_man_scanner.h"
|
|
yy301:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy302;
|
|
if(yych != 'e') goto yy177;
|
|
yy302:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy303;
|
|
if(yych != 'n') goto yy177;
|
|
yy303:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy304;
|
|
if(yych != 't') goto yy177;
|
|
yy304:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy305;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy305;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy305:
|
|
#line 127 "src/sc_man_scanner.re"
|
|
{ RET(TK_Latent); }
|
|
#line 2063 "src/sc_man_scanner.h"
|
|
yy306:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy307;
|
|
if(yych != 'i') goto yy177;
|
|
yy307:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy308;
|
|
if(yych != 'l') goto yy177;
|
|
yy308:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy309;
|
|
if(yych != 'e') goto yy177;
|
|
yy309:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy310;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy310;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy310:
|
|
#line 74 "src/sc_man_scanner.re"
|
|
{ RET(TK_While); }
|
|
#line 2093 "src/sc_man_scanner.h"
|
|
yy311:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy323;
|
|
if(yych == 'r') goto yy323;
|
|
goto yy177;
|
|
yy312:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'L') {
|
|
if(yych == 'I') goto yy314;
|
|
if(yych <= 'K') goto yy177;
|
|
} else {
|
|
if(yych <= 'i') {
|
|
if(yych <= 'h') goto yy177;
|
|
goto yy314;
|
|
} else {
|
|
if(yych != 'l') goto yy177;
|
|
}
|
|
}
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy317;
|
|
if(yych == 'a') goto yy317;
|
|
goto yy177;
|
|
yy314:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy315;
|
|
if(yych != 'd') goto yy177;
|
|
yy315:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy316;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy316;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy316:
|
|
#line 89 "src/sc_man_scanner.re"
|
|
{ RET(TK_Void); }
|
|
#line 2137 "src/sc_man_scanner.h"
|
|
yy317:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy318;
|
|
if(yych != 't') goto yy177;
|
|
yy318:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy319;
|
|
if(yych != 'i') goto yy177;
|
|
yy319:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy320;
|
|
if(yych != 'l') goto yy177;
|
|
yy320:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy321;
|
|
if(yych != 'e') goto yy177;
|
|
yy321:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy322;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy322;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy322:
|
|
#line 73 "src/sc_man_scanner.re"
|
|
{ RET(TK_Volatile); }
|
|
#line 2171 "src/sc_man_scanner.h"
|
|
yy323:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy324;
|
|
if(yych != 't') goto yy177;
|
|
yy324:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy325;
|
|
if(yych != 'u') goto yy177;
|
|
yy325:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy326;
|
|
if(yych != 'a') goto yy177;
|
|
yy326:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy327;
|
|
if(yych != 'l') goto yy177;
|
|
yy327:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy328;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy328;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy328:
|
|
#line 134 "src/sc_man_scanner.re"
|
|
{ RET(TK_Virtual); }
|
|
#line 2205 "src/sc_man_scanner.h"
|
|
yy329:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy346;
|
|
if(yych == 'n') goto yy346;
|
|
goto yy177;
|
|
yy330:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy342;
|
|
if(yych == 'o') goto yy342;
|
|
goto yy177;
|
|
yy331:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy338;
|
|
if(yych == 't') goto yy338;
|
|
goto yy177;
|
|
yy332:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'H') goto yy333;
|
|
if(yych != 'h') goto yy177;
|
|
yy333:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy334;
|
|
if(yych != 'o') goto yy177;
|
|
yy334:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy335;
|
|
if(yych != 'r') goto yy177;
|
|
yy335:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy336;
|
|
if(yych != 't') goto yy177;
|
|
yy336:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy337;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy337;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy337:
|
|
#line 84 "src/sc_man_scanner.re"
|
|
{ RET(TK_UShort); }
|
|
#line 2254 "src/sc_man_scanner.h"
|
|
yy338:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy339;
|
|
if(yych != 'i') goto yy177;
|
|
yy339:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy340;
|
|
if(yych != 'l') goto yy177;
|
|
yy340:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy341;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy341;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy341:
|
|
#line 72 "src/sc_man_scanner.re"
|
|
{ RET(TK_Until); }
|
|
#line 2280 "src/sc_man_scanner.h"
|
|
yy342:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy343;
|
|
if(yych != 'n') goto yy177;
|
|
yy343:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'G') goto yy344;
|
|
if(yych != 'g') goto yy177;
|
|
yy344:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy345;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy345;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy345:
|
|
#line 88 "src/sc_man_scanner.re"
|
|
{ RET(TK_ULong); }
|
|
#line 2306 "src/sc_man_scanner.h"
|
|
yy346:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy347;
|
|
if(yych != 't') goto yy177;
|
|
yy347:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy348;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy348;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy348:
|
|
#line 86 "src/sc_man_scanner.re"
|
|
{ RET(TK_UInt); }
|
|
#line 2328 "src/sc_man_scanner.h"
|
|
yy349:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'Y') goto yy403;
|
|
if(yych == 'y') goto yy403;
|
|
goto yy177;
|
|
yy350:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy400;
|
|
if(yych == 'l') goto yy400;
|
|
goto yy177;
|
|
yy351:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy396;
|
|
if(yych == 'o') goto yy396;
|
|
goto yy177;
|
|
yy352:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy389;
|
|
if(yych == 'n') goto yy389;
|
|
goto yy177;
|
|
yy353:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy385;
|
|
if(yych == 'u') goto yy385;
|
|
goto yy177;
|
|
yy354:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'R') {
|
|
if(yych <= 'N') {
|
|
if(yych == 'A') goto yy367;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'O') goto yy368;
|
|
if(yych <= 'Q') goto yy177;
|
|
goto yy366;
|
|
}
|
|
} else {
|
|
if(yych <= 'n') {
|
|
if(yych == 'a') goto yy367;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'o') goto yy368;
|
|
if(yych == 'r') goto yy366;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy355:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'P') goto yy362;
|
|
if(yych == 'p') goto yy362;
|
|
goto yy177;
|
|
yy356:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy357;
|
|
if(yych != 'i') goto yy177;
|
|
yy357:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy358;
|
|
if(yych != 't') goto yy177;
|
|
yy358:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy359;
|
|
if(yych != 'c') goto yy177;
|
|
yy359:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'H') goto yy360;
|
|
if(yych != 'h') goto yy177;
|
|
yy360:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy361;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy361;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy361:
|
|
#line 71 "src/sc_man_scanner.re"
|
|
{ RET(TK_Switch); }
|
|
#line 2413 "src/sc_man_scanner.h"
|
|
yy362:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy363;
|
|
if(yych != 'e') goto yy177;
|
|
yy363:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy364;
|
|
if(yych != 'r') goto yy177;
|
|
yy364:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy365;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy365;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy365:
|
|
#line 135 "src/sc_man_scanner.re"
|
|
{ RET(TK_Super); }
|
|
#line 2439 "src/sc_man_scanner.h"
|
|
yy366:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'U') {
|
|
if(yych == 'I') goto yy377;
|
|
if(yych <= 'T') goto yy177;
|
|
goto yy378;
|
|
} else {
|
|
if(yych <= 'i') {
|
|
if(yych <= 'h') goto yy177;
|
|
goto yy377;
|
|
} else {
|
|
if(yych == 'u') goto yy378;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy367:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy371;
|
|
if(yych == 't') goto yy371;
|
|
goto yy177;
|
|
yy368:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'P') goto yy369;
|
|
if(yych != 'p') goto yy177;
|
|
yy369:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy370;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy370;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy370:
|
|
#line 138 "src/sc_man_scanner.re"
|
|
{ RET(TK_Stop); }
|
|
#line 2481 "src/sc_man_scanner.h"
|
|
yy371:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'I') {
|
|
if(yych == 'E') goto yy372;
|
|
if(yych <= 'H') goto yy177;
|
|
goto yy374;
|
|
} else {
|
|
if(yych <= 'e') {
|
|
if(yych <= 'd') goto yy177;
|
|
} else {
|
|
if(yych == 'i') goto yy374;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy372:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy373;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy373;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy373:
|
|
#line 97 "src/sc_man_scanner.re"
|
|
{ RET(TK_State); }
|
|
#line 2513 "src/sc_man_scanner.h"
|
|
yy374:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy375;
|
|
if(yych != 'c') goto yy177;
|
|
yy375:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy376;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy376;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy376:
|
|
#line 115 "src/sc_man_scanner.re"
|
|
{ RET(TK_Static); }
|
|
#line 2535 "src/sc_man_scanner.h"
|
|
yy377:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy382;
|
|
if(yych == 'n') goto yy382;
|
|
goto yy177;
|
|
yy378:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy379;
|
|
if(yych != 'c') goto yy177;
|
|
yy379:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy380;
|
|
if(yych != 't') goto yy177;
|
|
yy380:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy381;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy381;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy381:
|
|
#line 90 "src/sc_man_scanner.re"
|
|
{ RET(TK_Struct); }
|
|
#line 2566 "src/sc_man_scanner.h"
|
|
yy382:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'G') goto yy383;
|
|
if(yych != 'g') goto yy177;
|
|
yy383:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy384;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy384;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy384:
|
|
#line 95 "src/sc_man_scanner.re"
|
|
{ RET(TK_String); }
|
|
#line 2588 "src/sc_man_scanner.h"
|
|
yy385:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy386;
|
|
if(yych != 'n') goto yy177;
|
|
yy386:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy387;
|
|
if(yych != 'd') goto yy177;
|
|
yy387:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy388;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy388;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy388:
|
|
#line 96 "src/sc_man_scanner.re"
|
|
{ RET(TK_Sound); }
|
|
#line 2614 "src/sc_man_scanner.h"
|
|
yy389:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'G') goto yy390;
|
|
if(yych != 'g') goto yy177;
|
|
yy390:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy391;
|
|
if(yych != 'u') goto yy177;
|
|
yy391:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy392;
|
|
if(yych != 'l') goto yy177;
|
|
yy392:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy393;
|
|
if(yych != 'a') goto yy177;
|
|
yy393:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy394;
|
|
if(yych != 'r') goto yy177;
|
|
yy394:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy395;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy395;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy395:
|
|
#line 128 "src/sc_man_scanner.re"
|
|
{ RET(TK_Singular); }
|
|
#line 2652 "src/sc_man_scanner.h"
|
|
yy396:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy397;
|
|
if(yych != 'r') goto yy177;
|
|
yy397:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy398;
|
|
if(yych != 't') goto yy177;
|
|
yy398:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy399;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy399;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy399:
|
|
#line 83 "src/sc_man_scanner.re"
|
|
{ RET(TK_Short); }
|
|
#line 2678 "src/sc_man_scanner.h"
|
|
yy400:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'F') goto yy401;
|
|
if(yych != 'f') goto yy177;
|
|
yy401:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy402;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy402;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy402:
|
|
#line 137 "src/sc_man_scanner.re"
|
|
{ RET(TK_Self); }
|
|
#line 2700 "src/sc_man_scanner.h"
|
|
yy403:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy404;
|
|
if(yych != 't') goto yy177;
|
|
yy404:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy405;
|
|
if(yych != 'e') goto yy177;
|
|
yy405:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy406;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy406;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy406:
|
|
#line 82 "src/sc_man_scanner.re"
|
|
{ RET(TK_SByte); }
|
|
#line 2726 "src/sc_man_scanner.h"
|
|
yy407:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych == 'F') goto yy409;
|
|
if(yych <= 'S') goto yy177;
|
|
} else {
|
|
if(yych <= 'f') {
|
|
if(yych <= 'e') goto yy177;
|
|
goto yy409;
|
|
} else {
|
|
if(yych != 't') goto yy177;
|
|
}
|
|
}
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy411;
|
|
if(yych == 'u') goto yy411;
|
|
goto yy177;
|
|
yy409:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy410;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy410;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy410:
|
|
#line 113 "src/sc_man_scanner.re"
|
|
{ RET(TK_Ref); }
|
|
#line 2761 "src/sc_man_scanner.h"
|
|
yy411:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy412;
|
|
if(yych != 'r') goto yy177;
|
|
yy412:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy413;
|
|
if(yych != 'n') goto yy177;
|
|
yy413:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy414;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy414;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy414:
|
|
#line 70 "src/sc_man_scanner.re"
|
|
{ RET(TK_Return); }
|
|
#line 2787 "src/sc_man_scanner.h"
|
|
yy415:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy416;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy416;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy416:
|
|
#line 69 "src/sc_man_scanner.re"
|
|
{ RET(TK_If); }
|
|
#line 2805 "src/sc_man_scanner.h"
|
|
yy417:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy438;
|
|
if(yych == 'n') goto yy438;
|
|
goto yy177;
|
|
yy418:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych <= 'R') goto yy177;
|
|
if(yych <= 'S') goto yy429;
|
|
goto yy427;
|
|
} else {
|
|
if(yych <= 'r') goto yy177;
|
|
if(yych <= 's') goto yy429;
|
|
if(yych <= 't') goto yy427;
|
|
goto yy177;
|
|
}
|
|
yy419:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy420;
|
|
if(yych != 'e') goto yy177;
|
|
yy420:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy421;
|
|
if(yych != 'r') goto yy177;
|
|
yy421:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy422;
|
|
if(yych != 'a') goto yy177;
|
|
yy422:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy423;
|
|
if(yych != 't') goto yy177;
|
|
yy423:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy424;
|
|
if(yych != 'o') goto yy177;
|
|
yy424:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy425;
|
|
if(yych != 'r') goto yy177;
|
|
yy425:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy426;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy426;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy426:
|
|
#line 131 "src/sc_man_scanner.re"
|
|
{ RET(TK_Iterator); }
|
|
#line 2864 "src/sc_man_scanner.h"
|
|
yy427:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy428;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy428;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy428:
|
|
#line 85 "src/sc_man_scanner.re"
|
|
{ RET(TK_Int); }
|
|
#line 2882 "src/sc_man_scanner.h"
|
|
yy429:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy430;
|
|
if(yych != 't') goto yy177;
|
|
yy430:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy431;
|
|
if(yych != 'a') goto yy177;
|
|
yy431:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy432;
|
|
if(yych != 'n') goto yy177;
|
|
yy432:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy433;
|
|
if(yych != 'c') goto yy177;
|
|
yy433:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy434;
|
|
if(yych != 'e') goto yy177;
|
|
yy434:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy435;
|
|
if(yych != 'o') goto yy177;
|
|
yy435:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'F') goto yy436;
|
|
if(yych != 'f') goto yy177;
|
|
yy436:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy437;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy437;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy437:
|
|
#line 107 "src/sc_man_scanner.re"
|
|
{ RET(TK_InstanceOf); }
|
|
#line 2928 "src/sc_man_scanner.h"
|
|
yy438:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy439;
|
|
if(yych != 'o') goto yy177;
|
|
yy439:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy440;
|
|
if(yych != 'r') goto yy177;
|
|
yy440:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy441;
|
|
if(yych != 'e') goto yy177;
|
|
yy441:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy442;
|
|
if(yych != 's') goto yy177;
|
|
yy442:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy443;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy443;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy443:
|
|
#line 125 "src/sc_man_scanner.re"
|
|
{ RET(TK_Ignores); }
|
|
#line 2962 "src/sc_man_scanner.h"
|
|
yy444:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy449;
|
|
if(yych == 'o') goto yy449;
|
|
goto yy177;
|
|
yy445:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy446;
|
|
if(yych != 't') goto yy177;
|
|
yy446:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy447;
|
|
if(yych != 'o') goto yy177;
|
|
yy447:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy448;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy448;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy448:
|
|
#line 68 "src/sc_man_scanner.re"
|
|
{ RET(TK_Goto); }
|
|
#line 2993 "src/sc_man_scanner.h"
|
|
yy449:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'B') goto yy450;
|
|
if(yych != 'b') goto yy177;
|
|
yy450:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy451;
|
|
if(yych != 'a') goto yy177;
|
|
yy451:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy452;
|
|
if(yych != 'l') goto yy177;
|
|
yy452:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy453;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy453;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy453:
|
|
#line 136 "src/sc_man_scanner.re"
|
|
{ RET(TK_Global); }
|
|
#line 3023 "src/sc_man_scanner.h"
|
|
yy454:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy473;
|
|
if(yych == 'l') goto yy473;
|
|
goto yy177;
|
|
yy455:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy469;
|
|
if(yych == 'n') goto yy469;
|
|
goto yy177;
|
|
yy456:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy465;
|
|
if(yych == 'o') goto yy465;
|
|
goto yy177;
|
|
yy457:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy458;
|
|
if(yych != 'r') goto yy177;
|
|
yy458:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy459;
|
|
if(yych <= '9') goto yy176;
|
|
} else {
|
|
if(yych == 'E') goto yy460;
|
|
goto yy176;
|
|
}
|
|
} else {
|
|
if(yych <= '`') {
|
|
if(yych == '_') goto yy176;
|
|
} else {
|
|
if(yych == 'e') goto yy460;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy459:
|
|
#line 67 "src/sc_man_scanner.re"
|
|
{ RET(TK_For); }
|
|
#line 3064 "src/sc_man_scanner.h"
|
|
yy460:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy461;
|
|
if(yych != 'a') goto yy177;
|
|
yy461:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy462;
|
|
if(yych != 'c') goto yy177;
|
|
yy462:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'H') goto yy463;
|
|
if(yych != 'h') goto yy177;
|
|
yy463:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy464;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy464;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy464:
|
|
#line 102 "src/sc_man_scanner.re"
|
|
{ RET(TK_ForEach); }
|
|
#line 3094 "src/sc_man_scanner.h"
|
|
yy465:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy466;
|
|
if(yych != 'a') goto yy177;
|
|
yy466:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy467;
|
|
if(yych != 't') goto yy177;
|
|
yy467:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy468;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy468;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy468:
|
|
#line 78 "src/sc_man_scanner.re"
|
|
{ RET(TK_Float); }
|
|
#line 3120 "src/sc_man_scanner.h"
|
|
yy469:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy470;
|
|
if(yych != 'a') goto yy177;
|
|
yy470:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy471;
|
|
if(yych != 'l') goto yy177;
|
|
yy471:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy472;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy472;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy472:
|
|
#line 117 "src/sc_man_scanner.re"
|
|
{ RET(TK_Final); }
|
|
#line 3146 "src/sc_man_scanner.h"
|
|
yy473:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy474;
|
|
if(yych != 's') goto yy177;
|
|
yy474:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy475;
|
|
if(yych != 'e') goto yy177;
|
|
yy475:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy476;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy476;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy476:
|
|
#line 104 "src/sc_man_scanner.re"
|
|
{ RET(TK_False); }
|
|
#line 3172 "src/sc_man_scanner.h"
|
|
yy477:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy509;
|
|
if(yych == 's') goto yy509;
|
|
goto yy177;
|
|
yy478:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy506;
|
|
if(yych == 'u') goto yy506;
|
|
goto yy177;
|
|
yy479:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'E') {
|
|
if(yych == 'A') goto yy496;
|
|
if(yych <= 'D') goto yy177;
|
|
goto yy495;
|
|
} else {
|
|
if(yych <= 'a') {
|
|
if(yych <= '`') goto yy177;
|
|
goto yy496;
|
|
} else {
|
|
if(yych == 'e') goto yy495;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy480:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych <= 'O') {
|
|
if(yych != 'E') goto yy177;
|
|
} else {
|
|
if(yych <= 'P') goto yy483;
|
|
if(yych <= 'S') goto yy177;
|
|
goto yy482;
|
|
}
|
|
} else {
|
|
if(yych <= 'o') {
|
|
if(yych != 'e') goto yy177;
|
|
} else {
|
|
if(yych <= 'p') goto yy483;
|
|
if(yych == 't') goto yy482;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy493;
|
|
if(yych == 'c') goto yy493;
|
|
goto yy177;
|
|
yy482:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy488;
|
|
if(yych == 'e') goto yy488;
|
|
goto yy177;
|
|
yy483:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy484;
|
|
if(yych != 'o') goto yy177;
|
|
yy484:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy485;
|
|
if(yych != 'r') goto yy177;
|
|
yy485:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy486;
|
|
if(yych != 't') goto yy177;
|
|
yy486:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy487;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy487;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy487:
|
|
#line 133 "src/sc_man_scanner.re"
|
|
{ RET(TK_Export); }
|
|
#line 3255 "src/sc_man_scanner.h"
|
|
yy488:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy489;
|
|
if(yych != 'n') goto yy177;
|
|
yy489:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'D') goto yy490;
|
|
if(yych != 'd') goto yy177;
|
|
yy490:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy491;
|
|
if(yych != 's') goto yy177;
|
|
yy491:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy492;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy492;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy492:
|
|
#line 119 "src/sc_man_scanner.re"
|
|
{ RET(TK_Extends); }
|
|
#line 3285 "src/sc_man_scanner.h"
|
|
yy493:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy494;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy494;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy494:
|
|
#line 109 "src/sc_man_scanner.re"
|
|
{ RET(TK_Exec); }
|
|
#line 3303 "src/sc_man_scanner.h"
|
|
yy495:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy503;
|
|
if(yych == 'n') goto yy503;
|
|
goto yy177;
|
|
yy496:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy497;
|
|
if(yych != 'l') goto yy177;
|
|
yy497:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy498;
|
|
if(yych <= '9') goto yy176;
|
|
} else {
|
|
if(yych == 'N') goto yy499;
|
|
goto yy176;
|
|
}
|
|
} else {
|
|
if(yych <= '`') {
|
|
if(yych == '_') goto yy176;
|
|
} else {
|
|
if(yych == 'n') goto yy499;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy498:
|
|
#line 141 "src/sc_man_scanner.re"
|
|
{ RET(TK_Eval); }
|
|
#line 3334 "src/sc_man_scanner.h"
|
|
yy499:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy500;
|
|
if(yych != 'o') goto yy177;
|
|
yy500:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy501;
|
|
if(yych != 't') goto yy177;
|
|
yy501:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy502;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy502;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy502:
|
|
#line 142 "src/sc_man_scanner.re"
|
|
{ RET(TK_EvalNot); }
|
|
#line 3360 "src/sc_man_scanner.h"
|
|
yy503:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy504;
|
|
if(yych != 't') goto yy177;
|
|
yy504:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy505;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy505;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy505:
|
|
#line 114 "src/sc_man_scanner.re"
|
|
{ RET(TK_Event); }
|
|
#line 3382 "src/sc_man_scanner.h"
|
|
yy506:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'M') goto yy507;
|
|
if(yych != 'm') goto yy177;
|
|
yy507:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy508;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy508;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy508:
|
|
#line 93 "src/sc_man_scanner.re"
|
|
{ RET(TK_Enum); }
|
|
#line 3404 "src/sc_man_scanner.h"
|
|
yy509:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy510;
|
|
if(yych != 'e') goto yy177;
|
|
yy510:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy511;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy511;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy511:
|
|
#line 66 "src/sc_man_scanner.re"
|
|
{ RET(TK_Else); }
|
|
#line 3426 "src/sc_man_scanner.h"
|
|
yy512:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'F') goto yy522;
|
|
if(yych == 'f') goto yy522;
|
|
goto yy177;
|
|
yy513:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy514;
|
|
if(yych <= '9') goto yy176;
|
|
} else {
|
|
if(yych <= 'S') goto yy176;
|
|
if(yych <= 'T') goto yy516;
|
|
if(yych <= 'U') goto yy515;
|
|
goto yy176;
|
|
}
|
|
} else {
|
|
if(yych <= 's') {
|
|
if(yych == '_') goto yy176;
|
|
if(yych >= 'a') goto yy176;
|
|
} else {
|
|
if(yych <= 't') goto yy516;
|
|
if(yych <= 'u') goto yy515;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy514:
|
|
#line 65 "src/sc_man_scanner.re"
|
|
{ RET(TK_Do); }
|
|
#line 3457 "src/sc_man_scanner.h"
|
|
yy515:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'B') goto yy518;
|
|
if(yych == 'b') goto yy518;
|
|
goto yy177;
|
|
yy516:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy517;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy517;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy517:
|
|
#line 123 "src/sc_man_scanner.re"
|
|
{ RET(TK_Dot); }
|
|
#line 3480 "src/sc_man_scanner.h"
|
|
yy518:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy519;
|
|
if(yych != 'l') goto yy177;
|
|
yy519:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy520;
|
|
if(yych != 'e') goto yy177;
|
|
yy520:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy521;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy521;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy521:
|
|
#line 79 "src/sc_man_scanner.re"
|
|
{ RET(TK_Double); }
|
|
#line 3506 "src/sc_man_scanner.h"
|
|
yy522:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy523;
|
|
if(yych != 'a') goto yy177;
|
|
yy523:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy524;
|
|
if(yych != 'u') goto yy177;
|
|
yy524:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy525;
|
|
if(yych != 'l') goto yy177;
|
|
yy525:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy526;
|
|
if(yych != 't') goto yy177;
|
|
yy526:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '@') {
|
|
if(yych <= '/') goto yy527;
|
|
if(yych <= '9') goto yy176;
|
|
} else {
|
|
if(yych == 'P') goto yy528;
|
|
goto yy176;
|
|
}
|
|
} else {
|
|
if(yych <= '`') {
|
|
if(yych == '_') goto yy176;
|
|
} else {
|
|
if(yych == 'p') goto yy528;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy527:
|
|
#line 64 "src/sc_man_scanner.re"
|
|
{ RET(TK_Default); }
|
|
#line 3544 "src/sc_man_scanner.h"
|
|
yy528:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy529;
|
|
if(yych != 'r') goto yy177;
|
|
yy529:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy530;
|
|
if(yych != 'o') goto yy177;
|
|
yy530:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'P') goto yy531;
|
|
if(yych != 'p') goto yy177;
|
|
yy531:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy532;
|
|
if(yych != 'e') goto yy177;
|
|
yy532:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy533;
|
|
if(yych != 'r') goto yy177;
|
|
yy533:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy534;
|
|
if(yych != 't') goto yy177;
|
|
yy534:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy535;
|
|
if(yych != 'i') goto yy177;
|
|
yy535:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy536;
|
|
if(yych != 'e') goto yy177;
|
|
yy536:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy537;
|
|
if(yych != 's') goto yy177;
|
|
yy537:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy538;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy538;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy538:
|
|
#line 110 "src/sc_man_scanner.re"
|
|
{ RET(TK_DefaultProperties); }
|
|
#line 3598 "src/sc_man_scanner.h"
|
|
yy539:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy578;
|
|
if(yych == 's') goto yy578;
|
|
goto yy177;
|
|
yy540:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy575;
|
|
if(yych == 'a') goto yy575;
|
|
goto yy177;
|
|
yy541:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy571;
|
|
if(yych == 'a') goto yy571;
|
|
goto yy177;
|
|
yy542:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'N') {
|
|
if(yych <= 'K') {
|
|
if(yych == 'E') goto yy550;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'L') goto yy549;
|
|
if(yych <= 'M') goto yy177;
|
|
goto yy548;
|
|
}
|
|
} else {
|
|
if(yych <= 'k') {
|
|
if(yych == 'e') goto yy550;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 'l') goto yy549;
|
|
if(yych == 'n') goto yy548;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy543:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy544;
|
|
if(yych != 'o') goto yy177;
|
|
yy544:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy545;
|
|
if(yych != 's') goto yy177;
|
|
yy545:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy546;
|
|
if(yych != 's') goto yy177;
|
|
yy546:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy547;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy547;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy547:
|
|
#line 124 "src/sc_man_scanner.re"
|
|
{ RET(TK_Cross); }
|
|
#line 3664 "src/sc_man_scanner.h"
|
|
yy548:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= 'T') {
|
|
if(yych <= 'F') {
|
|
if(yych <= 'E') goto yy177;
|
|
goto yy558;
|
|
} else {
|
|
if(yych <= 'R') goto yy177;
|
|
if(yych <= 'S') goto yy559;
|
|
goto yy560;
|
|
}
|
|
} else {
|
|
if(yych <= 'r') {
|
|
if(yych == 'f') goto yy558;
|
|
goto yy177;
|
|
} else {
|
|
if(yych <= 's') goto yy559;
|
|
if(yych <= 't') goto yy560;
|
|
goto yy177;
|
|
}
|
|
}
|
|
yy549:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy555;
|
|
if(yych == 'o') goto yy555;
|
|
goto yy177;
|
|
yy550:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy551;
|
|
if(yych != 'r') goto yy177;
|
|
yy551:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'C') goto yy552;
|
|
if(yych != 'c') goto yy177;
|
|
yy552:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy553;
|
|
if(yych != 'e') goto yy177;
|
|
yy553:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy554;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy554;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy554:
|
|
#line 130 "src/sc_man_scanner.re"
|
|
{ RET(TK_Coerce); }
|
|
#line 3720 "src/sc_man_scanner.h"
|
|
yy555:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy556;
|
|
if(yych != 'r') goto yy177;
|
|
yy556:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy557;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy557;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy557:
|
|
#line 98 "src/sc_man_scanner.re"
|
|
{ RET(TK_Color); }
|
|
#line 3742 "src/sc_man_scanner.h"
|
|
yy558:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy568;
|
|
if(yych == 'i') goto yy568;
|
|
goto yy177;
|
|
yy559:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy566;
|
|
if(yych == 't') goto yy566;
|
|
goto yy177;
|
|
yy560:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'I') goto yy561;
|
|
if(yych != 'i') goto yy177;
|
|
yy561:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'N') goto yy562;
|
|
if(yych != 'n') goto yy177;
|
|
yy562:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'U') goto yy563;
|
|
if(yych != 'u') goto yy177;
|
|
yy563:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy564;
|
|
if(yych != 'e') goto yy177;
|
|
yy564:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy565;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy565;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy565:
|
|
#line 63 "src/sc_man_scanner.re"
|
|
{ RET(TK_Continue); }
|
|
#line 3786 "src/sc_man_scanner.h"
|
|
yy566:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy567;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy567;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy567:
|
|
#line 62 "src/sc_man_scanner.re"
|
|
{ RET(TK_Const); }
|
|
#line 3804 "src/sc_man_scanner.h"
|
|
yy568:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'G') goto yy569;
|
|
if(yych != 'g') goto yy177;
|
|
yy569:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy570;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy570;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy570:
|
|
#line 129 "src/sc_man_scanner.re"
|
|
{ RET(TK_Config); }
|
|
#line 3826 "src/sc_man_scanner.h"
|
|
yy571:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy572;
|
|
if(yych != 's') goto yy177;
|
|
yy572:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'S') goto yy573;
|
|
if(yych != 's') goto yy177;
|
|
yy573:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy574;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy574;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy574:
|
|
#line 91 "src/sc_man_scanner.re"
|
|
{ RET(TK_Class); }
|
|
#line 3852 "src/sc_man_scanner.h"
|
|
yy575:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'R') goto yy576;
|
|
if(yych != 'r') goto yy177;
|
|
yy576:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy577;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy577;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy577:
|
|
#line 80 "src/sc_man_scanner.re"
|
|
{ RET(TK_Char); }
|
|
#line 3874 "src/sc_man_scanner.h"
|
|
yy578:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy579;
|
|
if(yych != 'e') goto yy177;
|
|
yy579:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy580;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy580;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy580:
|
|
#line 61 "src/sc_man_scanner.re"
|
|
{ RET(TK_Case); }
|
|
#line 3896 "src/sc_man_scanner.h"
|
|
yy581:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'O') goto yy596;
|
|
if(yych == 'o') goto yy596;
|
|
goto yy177;
|
|
yy582:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy587;
|
|
if(yych == 'e') goto yy587;
|
|
goto yy177;
|
|
yy583:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'T') goto yy584;
|
|
if(yych != 't') goto yy177;
|
|
yy584:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy585;
|
|
if(yych != 'e') goto yy177;
|
|
yy585:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy586;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy586;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy586:
|
|
#line 81 "src/sc_man_scanner.re"
|
|
{ RET(TK_Byte); }
|
|
#line 3932 "src/sc_man_scanner.h"
|
|
yy587:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'A') goto yy588;
|
|
if(yych != 'a') goto yy177;
|
|
yy588:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'K') goto yy589;
|
|
if(yych != 'k') goto yy177;
|
|
yy589:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '9') {
|
|
if(yych >= '0') goto yy176;
|
|
} else {
|
|
if(yych <= '@') goto yy590;
|
|
if(yych <= 'A') goto yy591;
|
|
goto yy176;
|
|
}
|
|
} else {
|
|
if(yych <= '`') {
|
|
if(yych == '_') goto yy176;
|
|
} else {
|
|
if(yych <= 'a') goto yy591;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy590:
|
|
#line 60 "src/sc_man_scanner.re"
|
|
{ RET(TK_Break); }
|
|
#line 3962 "src/sc_man_scanner.h"
|
|
yy591:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'B') goto yy592;
|
|
if(yych != 'b') goto yy177;
|
|
yy592:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy593;
|
|
if(yych != 'l') goto yy177;
|
|
yy593:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'E') goto yy594;
|
|
if(yych != 'e') goto yy177;
|
|
yy594:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy595;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy595;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy595:
|
|
#line 148 "src/sc_man_scanner.re"
|
|
{ RET(TK_Breakable); }
|
|
#line 3992 "src/sc_man_scanner.h"
|
|
yy596:
|
|
yych = *++YYCURSOR;
|
|
if(yych == 'L') goto yy597;
|
|
if(yych != 'l') goto yy177;
|
|
yy597:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) <= 'Z') {
|
|
if(yych <= '/') goto yy598;
|
|
if(yych <= '9') goto yy176;
|
|
if(yych >= 'A') goto yy176;
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych >= '_') goto yy176;
|
|
} else {
|
|
if(yych <= '`') goto yy598;
|
|
if(yych <= 'z') goto yy176;
|
|
}
|
|
}
|
|
yy598:
|
|
#line 77 "src/sc_man_scanner.re"
|
|
{ RET(TK_Bool); }
|
|
#line 4014 "src/sc_man_scanner.h"
|
|
yy599:
|
|
++YYCURSOR;
|
|
#line 172 "src/sc_man_scanner.re"
|
|
{ RET(TK_DivEq); }
|
|
#line 4019 "src/sc_man_scanner.h"
|
|
yy601:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych == 0x0A) goto yy605;
|
|
goto yy601;
|
|
yy603:
|
|
++YYCURSOR;
|
|
#line 56 "src/sc_man_scanner.re"
|
|
{ goto comment; }
|
|
#line 4030 "src/sc_man_scanner.h"
|
|
yy605:
|
|
++YYCURSOR;
|
|
#line 57 "src/sc_man_scanner.re"
|
|
{ goto newline; }
|
|
#line 4035 "src/sc_man_scanner.h"
|
|
}
|
|
#line 220 "src/sc_man_scanner.re"
|
|
|
|
}
|
|
if (!CMode) // The classic Hexen scanner.
|
|
{
|
|
|
|
#line 4043 "src/sc_man_scanner.h"
|
|
{
|
|
YYCTYPE yych;
|
|
unsigned int yyaccept = 0;
|
|
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '/') {
|
|
if(yych <= ' ') {
|
|
if(yych == 0x0A) goto yy615;
|
|
goto yy613;
|
|
} else {
|
|
if(yych == '"') goto yy617;
|
|
if(yych <= '.') goto yy621;
|
|
goto yy610;
|
|
}
|
|
} else {
|
|
if(yych <= '<') {
|
|
if(yych == ';') goto yy612;
|
|
goto yy621;
|
|
} else {
|
|
if(yych <= '=') goto yy619;
|
|
if(yych <= 'z') goto yy621;
|
|
if(yych <= '}') goto yy619;
|
|
goto yy621;
|
|
}
|
|
}
|
|
yy609:
|
|
#line 235 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4072 "src/sc_man_scanner.h"
|
|
yy610:
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych <= '/') {
|
|
if(yych <= '"') {
|
|
if(yych == '!') goto yy626;
|
|
} else {
|
|
if(yych == '*') goto yy634;
|
|
if(yych <= '.') goto yy626;
|
|
goto yy630;
|
|
}
|
|
} else {
|
|
if(yych <= '<') {
|
|
if(yych != ';') goto yy626;
|
|
} else {
|
|
if(yych <= '=') goto yy611;
|
|
if(yych <= 'z') goto yy626;
|
|
if(yych >= '~') goto yy626;
|
|
}
|
|
}
|
|
yy611:
|
|
#line 237 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4096 "src/sc_man_scanner.h"
|
|
yy612:
|
|
yyaccept = 0;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
goto yy631;
|
|
yy613:
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy629;
|
|
yy614:
|
|
#line 228 "src/sc_man_scanner.re"
|
|
{ goto std1; }
|
|
#line 4108 "src/sc_man_scanner.h"
|
|
yy615:
|
|
++YYCURSOR;
|
|
#line 229 "src/sc_man_scanner.re"
|
|
{ goto newline; }
|
|
#line 4113 "src/sc_man_scanner.h"
|
|
yy617:
|
|
++YYCURSOR;
|
|
#line 230 "src/sc_man_scanner.re"
|
|
{ goto string; }
|
|
#line 4118 "src/sc_man_scanner.h"
|
|
yy619:
|
|
++YYCURSOR;
|
|
#line 232 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4123 "src/sc_man_scanner.h"
|
|
yy621:
|
|
yyaccept = 1;
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
goto yy625;
|
|
yy622:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '/') {
|
|
if(yych <= '"') {
|
|
if(yych == '!') goto yy626;
|
|
} else {
|
|
if(yych == '*') goto yy623;
|
|
if(yych <= '.') goto yy626;
|
|
}
|
|
} else {
|
|
if(yych <= '<') {
|
|
if(yych != ';') goto yy626;
|
|
} else {
|
|
if(yych <= '=') goto yy623;
|
|
if(yych <= 'z') goto yy626;
|
|
if(yych >= '~') goto yy626;
|
|
}
|
|
}
|
|
yy623:
|
|
YYCURSOR = YYMARKER;
|
|
if(yyaccept <= 0) {
|
|
goto yy611;
|
|
} else {
|
|
goto yy609;
|
|
}
|
|
yy624:
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy625:
|
|
if(yych <= ':') {
|
|
if(yych <= '"') {
|
|
if(yych == '!') goto yy624;
|
|
goto yy609;
|
|
} else {
|
|
if(yych == '/') goto yy622;
|
|
goto yy624;
|
|
}
|
|
} else {
|
|
if(yych <= '=') {
|
|
if(yych == '<') goto yy624;
|
|
goto yy609;
|
|
} else {
|
|
if(yych <= 'z') goto yy624;
|
|
if(yych <= '}') goto yy609;
|
|
goto yy624;
|
|
}
|
|
}
|
|
yy626:
|
|
yyaccept = 1;
|
|
YYMARKER = ++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= ':') {
|
|
if(yych <= '"') {
|
|
if(yych == '!') goto yy626;
|
|
goto yy609;
|
|
} else {
|
|
if(yych == '/') goto yy622;
|
|
goto yy626;
|
|
}
|
|
} else {
|
|
if(yych <= '=') {
|
|
if(yych == '<') goto yy626;
|
|
goto yy609;
|
|
} else {
|
|
if(yych <= 'z') goto yy626;
|
|
if(yych <= '}') goto yy609;
|
|
goto yy626;
|
|
}
|
|
}
|
|
yy628:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy629:
|
|
if(yych == 0x0A) goto yy614;
|
|
if(yych <= ' ') goto yy628;
|
|
goto yy614;
|
|
yy630:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy631:
|
|
if(yych != 0x0A) goto yy630;
|
|
++YYCURSOR;
|
|
#line 226 "src/sc_man_scanner.re"
|
|
{ goto newline; }
|
|
#line 4219 "src/sc_man_scanner.h"
|
|
yy634:
|
|
++YYCURSOR;
|
|
#line 225 "src/sc_man_scanner.re"
|
|
{ goto comment; }
|
|
#line 4224 "src/sc_man_scanner.h"
|
|
}
|
|
#line 238 "src/sc_man_scanner.re"
|
|
|
|
}
|
|
else // A modified Hexen scanner for DECORATE.
|
|
{
|
|
|
|
#line 4232 "src/sc_man_scanner.h"
|
|
{
|
|
YYCTYPE yych;
|
|
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if(yych <= ':') {
|
|
if(yych <= '&') {
|
|
if(yych <= ' ') {
|
|
if(yych == 0x0A) goto yy642;
|
|
goto yy640;
|
|
} else {
|
|
if(yych == '"') goto yy644;
|
|
if(yych <= '%') goto yy657;
|
|
goto yy652;
|
|
}
|
|
} else {
|
|
if(yych <= '-') {
|
|
if(yych <= '\'') goto yy658;
|
|
if(yych <= ',') goto yy657;
|
|
goto yy646;
|
|
} else {
|
|
if(yych <= '.') goto yy650;
|
|
if(yych <= '/') goto yy638;
|
|
if(yych <= '9') goto yy648;
|
|
goto yy651;
|
|
}
|
|
}
|
|
} else {
|
|
if(yych <= '^') {
|
|
if(yych <= '=') {
|
|
if(yych <= ';') goto yy657;
|
|
if(yych <= '<') goto yy655;
|
|
goto yy653;
|
|
} else {
|
|
if(yych <= '>') goto yy656;
|
|
if(yych <= '@') goto yy657;
|
|
if(yych <= 'Z') goto yy658;
|
|
goto yy657;
|
|
}
|
|
} else {
|
|
if(yych <= 'z') {
|
|
if(yych == '`') goto yy657;
|
|
goto yy658;
|
|
} else {
|
|
if(yych == '|') goto yy654;
|
|
if(yych <= '~') goto yy657;
|
|
goto yy658;
|
|
}
|
|
}
|
|
}
|
|
yy638:
|
|
yych = *(YYMARKER = ++YYCURSOR);
|
|
if(yych == '*') goto yy684;
|
|
if(yych == '/') goto yy682;
|
|
yy639:
|
|
#line 258 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4289 "src/sc_man_scanner.h"
|
|
yy640:
|
|
++YYCURSOR;
|
|
yych = *YYCURSOR;
|
|
goto yy681;
|
|
yy641:
|
|
#line 246 "src/sc_man_scanner.re"
|
|
{ goto std1; }
|
|
#line 4297 "src/sc_man_scanner.h"
|
|
yy642:
|
|
++YYCURSOR;
|
|
#line 247 "src/sc_man_scanner.re"
|
|
{ goto newline; }
|
|
#line 4302 "src/sc_man_scanner.h"
|
|
yy644:
|
|
++YYCURSOR;
|
|
#line 248 "src/sc_man_scanner.re"
|
|
{ goto string; }
|
|
#line 4307 "src/sc_man_scanner.h"
|
|
yy646:
|
|
++YYCURSOR;
|
|
#line 250 "src/sc_man_scanner.re"
|
|
{ goto negative_check; }
|
|
#line 4312 "src/sc_man_scanner.h"
|
|
yy648:
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '.') goto yy678;
|
|
if(yych <= '/') goto yy660;
|
|
if(yych <= '9') goto yy676;
|
|
goto yy660;
|
|
yy649:
|
|
#line 259 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4322 "src/sc_man_scanner.h"
|
|
yy650:
|
|
yych = *++YYCURSOR;
|
|
if(yych <= '/') goto yy639;
|
|
if(yych <= '9') goto yy673;
|
|
goto yy639;
|
|
yy651:
|
|
yych = *++YYCURSOR;
|
|
if(yych == ':') goto yy671;
|
|
goto yy639;
|
|
yy652:
|
|
yych = *++YYCURSOR;
|
|
if(yych == '&') goto yy669;
|
|
goto yy639;
|
|
yy653:
|
|
yych = *++YYCURSOR;
|
|
if(yych == '=') goto yy667;
|
|
goto yy639;
|
|
yy654:
|
|
yych = *++YYCURSOR;
|
|
if(yych == '|') goto yy665;
|
|
goto yy639;
|
|
yy655:
|
|
yych = *++YYCURSOR;
|
|
if(yych == '<') goto yy663;
|
|
goto yy639;
|
|
yy656:
|
|
yych = *++YYCURSOR;
|
|
if(yych == '>') goto yy661;
|
|
goto yy639;
|
|
yy657:
|
|
yych = *++YYCURSOR;
|
|
goto yy639;
|
|
yy658:
|
|
yych = *++YYCURSOR;
|
|
goto yy660;
|
|
yy659:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy660:
|
|
if(yych <= 'Z') {
|
|
if(yych <= '/') {
|
|
if(yych == '\'') goto yy659;
|
|
goto yy649;
|
|
} else {
|
|
if(yych <= '9') goto yy659;
|
|
if(yych <= '@') goto yy649;
|
|
goto yy659;
|
|
}
|
|
} else {
|
|
if(yych <= '`') {
|
|
if(yych == '_') goto yy659;
|
|
goto yy649;
|
|
} else {
|
|
if(yych <= 'z') goto yy659;
|
|
if(yych <= '~') goto yy649;
|
|
goto yy659;
|
|
}
|
|
}
|
|
yy661:
|
|
++YYCURSOR;
|
|
#line 257 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4386 "src/sc_man_scanner.h"
|
|
yy663:
|
|
++YYCURSOR;
|
|
#line 256 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4391 "src/sc_man_scanner.h"
|
|
yy665:
|
|
++YYCURSOR;
|
|
#line 255 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4396 "src/sc_man_scanner.h"
|
|
yy667:
|
|
++YYCURSOR;
|
|
#line 254 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4401 "src/sc_man_scanner.h"
|
|
yy669:
|
|
++YYCURSOR;
|
|
#line 253 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4406 "src/sc_man_scanner.h"
|
|
yy671:
|
|
++YYCURSOR;
|
|
#line 252 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4411 "src/sc_man_scanner.h"
|
|
yy673:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '/') goto yy675;
|
|
if(yych <= '9') goto yy673;
|
|
yy675:
|
|
#line 251 "src/sc_man_scanner.re"
|
|
{ goto normal_token; }
|
|
#line 4421 "src/sc_man_scanner.h"
|
|
yy676:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '@') {
|
|
if(yych <= '-') {
|
|
if(yych == '\'') goto yy659;
|
|
goto yy649;
|
|
} else {
|
|
if(yych <= '.') goto yy678;
|
|
if(yych <= '/') goto yy649;
|
|
if(yych <= '9') goto yy676;
|
|
goto yy649;
|
|
}
|
|
} else {
|
|
if(yych <= '_') {
|
|
if(yych <= 'Z') goto yy659;
|
|
if(yych <= '^') goto yy649;
|
|
goto yy659;
|
|
} else {
|
|
if(yych <= '`') goto yy649;
|
|
if(yych <= 'z') goto yy659;
|
|
if(yych <= '~') goto yy649;
|
|
goto yy659;
|
|
}
|
|
}
|
|
yy678:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych <= '/') goto yy675;
|
|
if(yych <= '9') goto yy678;
|
|
goto yy675;
|
|
yy680:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
yy681:
|
|
if(yych == 0x0A) goto yy641;
|
|
if(yych <= ' ') goto yy680;
|
|
goto yy641;
|
|
yy682:
|
|
++YYCURSOR;
|
|
if(YYLIMIT == YYCURSOR) YYFILL(1);
|
|
yych = *YYCURSOR;
|
|
if(yych == 0x0A) goto yy686;
|
|
goto yy682;
|
|
yy684:
|
|
++YYCURSOR;
|
|
#line 243 "src/sc_man_scanner.re"
|
|
{ goto comment; }
|
|
#line 4473 "src/sc_man_scanner.h"
|
|
yy686:
|
|
++YYCURSOR;
|
|
#line 244 "src/sc_man_scanner.re"
|
|
{ goto newline; }
|
|
#line 4478 "src/sc_man_scanner.h"
|
|
}
|
|
#line 262 "src/sc_man_scanner.re"
|
|
|
|
}
|
|
|
|
negative_check:
|
|
// re2c doesn't have enough state to handle '-' as the start of a negative number
|
|
// and as its own token, so help it out a little.
|
|
sc_TokenType = '-';
|
|
if (YYCURSOR >= YYLIMIT)
|
|
{
|
|
goto normal_token;
|
|
}
|
|
if (*YYCURSOR >= '0' && *YYCURSOR <= '9')
|
|
{
|
|
goto std2;
|
|
}
|
|
if (*YYCURSOR != '.' || YYCURSOR+1 >= YYLIMIT)
|
|
{
|
|
goto normal_token;
|
|
}
|
|
if (*(YYCURSOR+1) >= '0' && *YYCURSOR <= '9')
|
|
{
|
|
goto std2;
|
|
}
|
|
goto normal_token;
|
|
|
|
comment:
|
|
|
|
#line 4508 "src/sc_man_scanner.h"
|
|
{
|
|
YYCTYPE yych;
|
|
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
|
|
yych = *YYCURSOR;
|
|
if(yych == 0x0A) goto yy692;
|
|
if(yych != '*') goto yy694;
|
|
++YYCURSOR;
|
|
if((yych = *YYCURSOR) == '/') goto yy695;
|
|
yy691:
|
|
#line 311 "src/sc_man_scanner.re"
|
|
{ goto comment; }
|
|
#line 4520 "src/sc_man_scanner.h"
|
|
yy692:
|
|
++YYCURSOR;
|
|
#line 300 "src/sc_man_scanner.re"
|
|
{
|
|
if (YYCURSOR >= YYLIMIT)
|
|
{
|
|
ScriptPtr = ScriptEndPtr;
|
|
return_val = false;
|
|
goto end;
|
|
}
|
|
sc_Line++;
|
|
sc_Crossed = true;
|
|
goto comment;
|
|
}
|
|
#line 4535 "src/sc_man_scanner.h"
|
|
yy694:
|
|
yych = *++YYCURSOR;
|
|
goto yy691;
|
|
yy695:
|
|
++YYCURSOR;
|
|
#line 290 "src/sc_man_scanner.re"
|
|
{
|
|
if (YYCURSOR >= YYLIMIT)
|
|
{
|
|
ScriptPtr = ScriptEndPtr;
|
|
return_val = false;
|
|
goto end;
|
|
}
|
|
goto std1;
|
|
}
|
|
#line 4551 "src/sc_man_scanner.h"
|
|
}
|
|
#line 312 "src/sc_man_scanner.re"
|
|
|
|
|
|
newline:
|
|
if (YYCURSOR >= YYLIMIT)
|
|
{
|
|
ScriptPtr = ScriptEndPtr;
|
|
return_val = false;
|
|
goto end;
|
|
}
|
|
sc_Line++;
|
|
sc_Crossed = true;
|
|
goto std1;
|
|
|
|
normal_token:
|
|
ScriptPtr = (YYCURSOR >= YYLIMIT) ? ScriptEndPtr : cursor;
|
|
sc_StringLen = MIN (ScriptPtr - tok, MAX_STRING_SIZE-1);
|
|
if (tokens && (sc_TokenType == TK_StringConst || sc_TokenType == TK_NameConst))
|
|
{
|
|
sc_StringLen -= 2;
|
|
memcpy (sc_String, tok+1, sc_StringLen);
|
|
}
|
|
else
|
|
{
|
|
memcpy (sc_String, tok, sc_StringLen);
|
|
}
|
|
sc_String[sc_StringLen] = '\0';
|
|
return_val = true;
|
|
goto end;
|
|
|
|
string:
|
|
if (YYLIMIT != ScriptEndPtr)
|
|
{
|
|
ScriptPtr = ScriptEndPtr;
|
|
return_val = false;
|
|
goto end;
|
|
}
|
|
ScriptPtr = cursor;
|
|
for (sc_StringLen = 0; cursor < YYLIMIT; ++cursor)
|
|
{
|
|
if (Escape && *cursor == '\\' && *(cursor + 1) == '"')
|
|
{
|
|
cursor++;
|
|
}
|
|
else if (*cursor == '\r' && *(cursor + 1) == '\n')
|
|
{
|
|
cursor++; // convert CR-LF to simply LF
|
|
}
|
|
else if (*cursor == '"')
|
|
{
|
|
break;
|
|
}
|
|
if (*cursor == '\n')
|
|
{
|
|
if (CMode)
|
|
{
|
|
if (!Escape || sc_StringLen == 0 || sc_String[sc_StringLen - 1] != '\\')
|
|
{
|
|
SC_ScriptError ("Unterminated string constant");
|
|
}
|
|
else
|
|
{
|
|
sc_StringLen--; // overwrite the \ character with \n
|
|
}
|
|
}
|
|
sc_Line++;
|
|
sc_Crossed = true;
|
|
}
|
|
if (sc_StringLen < MAX_STRING_SIZE-1)
|
|
{
|
|
sc_String[sc_StringLen++] = *cursor;
|
|
}
|
|
}
|
|
ScriptPtr = cursor + 1;
|
|
sc_String[sc_StringLen] = '\0';
|
|
return_val = true;
|
|
end:
|