diff --git a/docs/rh-log.txt b/docs/rh-log.txt index f82d6df89..6bf28cda4 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,11 @@ +September 8, 2009 (Changes by Graf Zahl) +- moved ENDOOM lump name definition into gameinfo. +- moved default item drop style into gameinfo. +- moved default respawn time into gameinfo. +- moved default inventory max amount into gameinfo. +- turned Heretic's blocking of the sector for LS_Plat_RaiseAndStayTx0 into + a parameter instead of having the game mode decide. + September 7, 2009 - Applied vertical SBARINFO inventory bar patch. diff --git a/src/g_skill.cpp b/src/g_skill.cpp index 203acdb46..3d2ef9bf2 100644 --- a/src/g_skill.cpp +++ b/src/g_skill.cpp @@ -326,7 +326,7 @@ int G_SkillProperty(ESkillProperty prop) case SKILLP_Respawn: if (dmflags & DF_MONSTERS_RESPAWN && AllSkills[gameskill].RespawnCounter==0) - return TICRATE * (gameinfo.gametype != GAME_Strife ? 12 : 16); + return TICRATE * gameinfo.defaultrespawntime; return AllSkills[gameskill].RespawnCounter; case SKILLP_RespawnLimit: diff --git a/src/gi.cpp b/src/gi.cpp index a3faf4958..ae473ef66 100644 --- a/src/gi.cpp +++ b/src/gi.cpp @@ -276,6 +276,11 @@ void FMapInfoParser::ParseGameInfo() GAMEINFOKEY_BOOL(intermissioncounter, "intermissioncounter") GAMEINFOKEY_COLOR(dimcolor, "dimcolor") GAMEINFOKEY_FLOAT(dimamount, "dimamount") + GAMEINFOKEY_INT(definventorymaxamount, "definventorymaxamount") + GAMEINFOKEY_INT(defaultrespawntime, "defaultrespawntime") + GAMEINFOKEY_INT(defaultrespawntime, "defaultrespawntime") + GAMEINFOKEY_INT(defaultdropstyle, "defaultdropstyle") + GAMEINFOKEY_CSTRING(Endoom, "endoom", 8) else { // ignore unkown keys. diff --git a/src/gi.h b/src/gi.h index bf6fd3026..c5dfadfc4 100644 --- a/src/gi.h +++ b/src/gi.h @@ -86,6 +86,7 @@ struct gameinfo_t char SkyFlatName[9]; char ArmorIcon1[9]; char ArmorIcon2[9]; + char Endoom[9]; fixed_t Armor2Percent; FString quitSound; gameborder_t *border; @@ -99,6 +100,9 @@ struct gameinfo_t FString intermissionMusic; DWORD dimcolor; float dimamount; + int definventorymaxamount; + int defaultrespawntime; + int defaultdropstyle; const char *GetFinalePage(unsigned int num) const; }; diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index 1289b6f04..30306188e 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -2558,7 +2558,7 @@ AInventory *P_DropItem (AActor *source, const PClass *type, int dropamount, int void P_TossItem (AActor *item) { int style = sv_dropstyle; - if (style==0) style= (gameinfo.gametype == GAME_Strife)? 2:1; + if (style==0) style= gameinfo.defaultdropstyle; if (style==2) { diff --git a/src/p_lnspec.cpp b/src/p_lnspec.cpp index a49843327..c154ef814 100644 --- a/src/p_lnspec.cpp +++ b/src/p_lnspec.cpp @@ -698,9 +698,25 @@ FUNC(LS_Plat_UpNearestWaitDownStay) } FUNC(LS_Plat_RaiseAndStayTx0) -// Plat_RaiseAndStayTx0 (tag, speed) +// Plat_RaiseAndStayTx0 (tag, speed, lockout) { - return EV_DoPlat (arg0, ln, DPlat::platRaiseAndStay, 0, SPEED(arg1), 0, 0, 1); + DPlat::EPlatType type; + + switch (arg3) + { + case 1: + type = DPlat::platRaiseAndStay; + break; + case 2: + type = DPlat::platRaiseAndStayLockout; + break; + default: + type = gameinfo.gametype == GAME_Heretic? DPlat::platRaiseAndStayLockout : DPlat::platRaiseAndStay; + break; + } + + + return EV_DoPlat (arg0, ln, type, 0, SPEED(arg1), 0, 0, 1); } FUNC(LS_Plat_UpByValueStayTx) diff --git a/src/p_plats.cpp b/src/p_plats.cpp index f93ab503b..9d64e1145 100644 --- a/src/p_plats.cpp +++ b/src/p_plats.cpp @@ -90,9 +90,9 @@ void DPlat::Tick () switch (m_Type) { + case platRaiseAndStayLockout: + break; case platRaiseAndStay: - if (gameinfo.gametype == GAME_Heretic) - break; case platDownByValue: case platDownWaitUpStay: case platDownWaitUpStayStone: @@ -157,6 +157,7 @@ void DPlat::Tick () { case platUpByValueStay: case platRaiseAndStay: + case platRaiseAndStayLockout: Destroy (); default: break; @@ -268,6 +269,7 @@ manual_plat: switch (type) { case DPlat::platRaiseAndStay: + case DPlat::platRaiseAndStayLockout: newheight = sec->FindNextHighestFloor (&spot); plat->m_High = sec->floorplane.PointToDist (spot, newheight); plat->m_Low = sec->floorplane.d; diff --git a/src/p_spec.h b/src/p_spec.h index dbf330082..7f2dc4b38 100644 --- a/src/p_spec.h +++ b/src/p_spec.h @@ -432,6 +432,7 @@ public: platToggle, platDownToNearestFloor, platDownToLowestCeiling, + platRaiseAndStayLockout, }; void Serialize (FArchive &arc); diff --git a/src/sc_man_scanner.h b/src/sc_man_scanner.h deleted file mode 100644 index 69a6e6e70..000000000 --- a/src/sc_man_scanner.h +++ /dev/null @@ -1,4863 +0,0 @@ -/* Generated by re2c 0.12.3 */ -#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) - - const char *cursor = ScriptPtr; - const 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) 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 206 "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 yy586; - goto yy174; - } else { - if(yych <= 'R') goto yy587; - if(yych <= 'X') goto yy174; - goto yy588; - } - } else { - if(yych <= 'q') { - if(yych == 'o') goto yy586; - goto yy174; - } else { - if(yych <= 'r') goto yy587; - if(yych == 'y') goto yy588; - goto yy174; - } - } -yy5: -#line 152 "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 yy544; - case 'H': - case 'h': goto yy545; - case 'L': - case 'l': goto yy546; - case 'O': - case 'o': goto yy547; - case 'R': - case 'r': goto yy548; - default: goto yy174; - } -yy7: - yych = *++YYCURSOR; - if(yych <= 'O') { - if(yych == 'E') goto yy517; - if(yych <= 'N') goto yy174; - goto yy518; - } else { - if(yych <= 'e') { - if(yych <= 'd') goto yy174; - goto yy517; - } else { - if(yych == 'o') goto yy518; - goto yy174; - } - } -yy8: - yych = *++YYCURSOR; - if(yych <= 'X') { - if(yych <= 'N') { - if(yych == 'L') goto yy489; - if(yych <= 'M') goto yy174; - goto yy490; - } else { - if(yych == 'V') goto yy491; - if(yych <= 'W') goto yy174; - goto yy492; - } - } else { - if(yych <= 'n') { - if(yych == 'l') goto yy489; - if(yych <= 'm') goto yy174; - goto yy490; - } else { - if(yych <= 'v') { - if(yych <= 'u') goto yy174; - goto yy491; - } else { - if(yych == 'x') goto yy492; - goto yy174; - } - } - } -yy9: - yych = *++YYCURSOR; - switch(yych) { - case 'A': - case 'a': goto yy453; - case 'I': - case 'i': goto yy454; - case 'L': - case 'l': goto yy455; - case 'O': - case 'o': goto yy456; - case 'R': - case 'r': goto yy457; - default: goto yy174; - } -yy10: - yych = *++YYCURSOR; - if(yych <= 'O') { - if(yych == 'L') goto yy443; - if(yych <= 'N') goto yy174; - goto yy444; - } else { - if(yych <= 'l') { - if(yych <= 'k') goto yy174; - goto yy443; - } else { - if(yych == 'o') goto yy444; - goto yy174; - } - } -yy11: - yych = *++YYCURSOR; - if(yych <= 'T') { - if(yych <= 'G') { - if(yych <= 'E') goto yy174; - if(yych <= 'F') goto yy414; - goto yy416; - } else { - if(yych == 'N') goto yy417; - if(yych <= 'S') goto yy174; - goto yy418; - } - } else { - if(yych <= 'm') { - if(yych <= 'e') goto yy174; - if(yych <= 'f') goto yy414; - if(yych <= 'g') goto yy416; - goto yy174; - } else { - if(yych <= 'n') goto yy417; - if(yych == 't') goto yy418; - goto yy174; - } - } -yy12: - yych = *++YYCURSOR; - if(yych <= 'E') { - if(yych == 'A') goto yy398; - if(yych <= 'D') goto yy174; - goto yy399; - } else { - if(yych <= 'a') { - if(yych <= '`') goto yy174; - goto yy398; - } else { - if(yych == 'e') goto yy399; - goto yy174; - } - } -yy13: - yych = *++YYCURSOR; - switch(yych) { - case 'B': - case 'b': goto yy340; - case 'E': - case 'e': goto yy341; - case 'H': - case 'h': goto yy342; - case 'I': - case 'i': goto yy343; - case 'O': - case 'o': goto yy344; - case 'T': - case 't': goto yy345; - case 'U': - case 'u': goto yy346; - case 'W': - case 'w': goto yy347; - default: goto yy174; - } -yy14: - yych = *++YYCURSOR; - switch(yych) { - case 'I': - case 'i': goto yy320; - case 'L': - case 'l': goto yy321; - case 'N': - case 'n': goto yy322; - case 'S': - case 's': goto yy323; - default: goto yy174; - } -yy15: - yych = *++YYCURSOR; - if(yych <= 'O') { - if(yych == 'I') goto yy302; - if(yych <= 'N') goto yy174; - goto yy303; - } else { - if(yych <= 'i') { - if(yych <= 'h') goto yy174; - goto yy302; - } else { - if(yych == 'o') goto yy303; - goto yy174; - } - } -yy16: - yych = *++YYCURSOR; - if(yych == 'H') goto yy297; - if(yych == 'h') goto yy297; - goto yy174; -yy17: - yych = *++YYCURSOR; - if(yych <= 'O') { - if(yych == 'A') goto yy279; - if(yych <= 'N') goto yy174; - goto yy280; - } else { - if(yych <= 'a') { - if(yych <= '`') goto yy174; - goto yy279; - } else { - if(yych == 'o') goto yy280; - goto yy174; - } - } -yy18: - yych = *++YYCURSOR; - if(yych == 'O') goto yy275; - if(yych == 'o') goto yy275; - goto yy174; -yy19: - yych = *++YYCURSOR; - if(yych <= 'O') { - if(yych <= 'D') { - if(yych == 'A') goto yy259; - goto yy174; - } else { - if(yych <= 'E') goto yy260; - if(yych <= 'N') goto yy174; - goto yy261; - } - } else { - if(yych <= 'd') { - if(yych == 'a') goto yy259; - goto yy174; - } else { - if(yych <= 'e') goto yy260; - if(yych == 'o') goto yy261; - goto yy174; - } - } -yy20: - yych = *++YYCURSOR; - if(yych <= 'U') { - if(yych <= 'C') { - if(yych <= 'A') goto yy174; - if(yych <= 'B') goto yy233; - goto yy234; - } else { - if(yych == 'N') goto yy235; - if(yych <= 'T') goto yy174; - goto yy236; - } - } else { - if(yych <= 'm') { - if(yych <= 'a') goto yy174; - if(yych <= 'b') goto yy233; - if(yych <= 'c') goto yy234; - goto yy174; - } else { - if(yych <= 'n') goto yy235; - if(yych == 'u') goto yy236; - goto yy174; - } - } -yy21: - yych = *++YYCURSOR; - if(yych <= 'R') { - if(yych == 'H') goto yy215; - if(yych <= 'Q') goto yy174; - goto yy216; - } else { - if(yych <= 'h') { - if(yych <= 'g') goto yy174; - goto yy215; - } else { - if(yych == 'r') goto yy216; - goto yy174; - } - } -yy22: - yych = *++YYCURSOR; - if(yych <= 'U') { - if(yych == 'P') goto yy204; - if(yych <= 'T') goto yy174; - goto yy205; - } else { - if(yych <= 'p') { - if(yych <= 'o') goto yy174; - goto yy204; - } else { - if(yych == 'u') goto yy205; - goto yy174; - } - } -yy23: - yych = *++YYCURSOR; - if(yych <= 'U') { - if(yych == 'R') goto yy183; - if(yych <= 'T') goto yy174; - goto yy184; - } else { - if(yych <= 'r') { - if(yych <= 'q') goto yy174; - goto yy183; - } else { - if(yych == 'u') goto yy184; - goto yy174; - } - } -yy24: - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if(yych == 'I') goto yy175; - if(yych == 'i') goto yy175; -yy25: -#line 217 "src/sc_man_scanner.re" - { - ScriptError ("Unexpected character: %c (ASCII %d)\n", *tok, *tok); - goto std1; - } -#line 484 "src/sc_man_scanner.h" -yy26: - yych = *++YYCURSOR; - goto yy174; -yy27: - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if(yych == 'X') goto yy170; - if(yych == 'x') goto yy170; - goto yy169; -yy28: -#line 155 "src/sc_man_scanner.re" - { RET(TK_IntConst); } -#line 497 "src/sc_man_scanner.h" -yy29: - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - goto yy152; -yy30: - yyaccept = 3; - yych = *(YYMARKER = ++YYCURSOR); - if(yych == '.') goto yy139; - if(yych <= '/') goto yy31; - if(yych <= '9') goto yy140; -yy31: -#line 199 "src/sc_man_scanner.re" - { RET('.'); } -#line 511 "src/sc_man_scanner.h" -yy32: - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - 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 209 "src/sc_man_scanner.re" - { RET('>'); } -#line 529 "src/sc_man_scanner.h" -yy36: - ++YYCURSOR; - if((yych = *YYCURSOR) <= ';') goto yy37; - if(yych <= '<') goto yy113; - if(yych <= '=') goto yy111; -yy37: -#line 208 "src/sc_man_scanner.re" - { RET('<'); } -#line 538 "src/sc_man_scanner.h" -yy38: - ++YYCURSOR; - if((yych = *YYCURSOR) == '+') goto yy107; - if(yych == '=') goto yy109; -#line 204 "src/sc_man_scanner.re" - { RET('+'); } -#line 545 "src/sc_man_scanner.h" -yy40: - ++YYCURSOR; - if((yych = *YYCURSOR) == '-') goto yy103; - if(yych == '=') goto yy105; -#line 203 "src/sc_man_scanner.re" - { RET('-'); } -#line 552 "src/sc_man_scanner.h" -yy42: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy101; -#line 205 "src/sc_man_scanner.re" - { RET('*'); } -#line 558 "src/sc_man_scanner.h" -yy44: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy99; -#line 207 "src/sc_man_scanner.re" - { RET('%'); } -#line 564 "src/sc_man_scanner.h" -yy46: - ++YYCURSOR; - if((yych = *YYCURSOR) == '&') goto yy95; - if(yych == '=') goto yy97; -#line 200 "src/sc_man_scanner.re" - { RET('&'); } -#line 571 "src/sc_man_scanner.h" -yy48: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy93; -#line 210 "src/sc_man_scanner.re" - { RET('^'); } -#line 577 "src/sc_man_scanner.h" -yy50: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy91; - if(yych == '|') goto yy89; -#line 211 "src/sc_man_scanner.re" - { RET('|'); } -#line 584 "src/sc_man_scanner.h" -yy52: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy87; -#line 194 "src/sc_man_scanner.re" - { RET('='); } -#line 590 "src/sc_man_scanner.h" -yy54: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy85; -#line 201 "src/sc_man_scanner.re" - { RET('!'); } -#line 596 "src/sc_man_scanner.h" -yy56: - ++YYCURSOR; -#line 189 "src/sc_man_scanner.re" - { RET(';'); } -#line 601 "src/sc_man_scanner.h" -yy58: - ++YYCURSOR; -#line 190 "src/sc_man_scanner.re" - { RET('{'); } -#line 606 "src/sc_man_scanner.h" -yy60: - ++YYCURSOR; -#line 191 "src/sc_man_scanner.re" - { RET('}'); } -#line 611 "src/sc_man_scanner.h" -yy62: - ++YYCURSOR; -#line 192 "src/sc_man_scanner.re" - { RET(','); } -#line 616 "src/sc_man_scanner.h" -yy64: - ++YYCURSOR; -#line 193 "src/sc_man_scanner.re" - { RET(':'); } -#line 621 "src/sc_man_scanner.h" -yy66: - ++YYCURSOR; -#line 195 "src/sc_man_scanner.re" - { RET('('); } -#line 626 "src/sc_man_scanner.h" -yy68: - ++YYCURSOR; -#line 196 "src/sc_man_scanner.re" - { RET(')'); } -#line 631 "src/sc_man_scanner.h" -yy70: - ++YYCURSOR; -#line 197 "src/sc_man_scanner.re" - { RET('['); } -#line 636 "src/sc_man_scanner.h" -yy72: - ++YYCURSOR; -#line 198 "src/sc_man_scanner.re" - { RET(']'); } -#line 641 "src/sc_man_scanner.h" -yy74: - ++YYCURSOR; -#line 202 "src/sc_man_scanner.re" - { RET('~'); } -#line 646 "src/sc_man_scanner.h" -yy76: - ++YYCURSOR; -#line 212 "src/sc_man_scanner.re" - { RET('?'); } -#line 651 "src/sc_man_scanner.h" -yy78: - ++YYCURSOR; - yych = *YYCURSOR; - goto yy84; -yy79: -#line 214 "src/sc_man_scanner.re" - { goto std1; } -#line 659 "src/sc_man_scanner.h" -yy80: - ++YYCURSOR; -#line 215 "src/sc_man_scanner.re" - { goto newline; } -#line 664 "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 188 "src/sc_man_scanner.re" - { RET(TK_Neq); } -#line 685 "src/sc_man_scanner.h" -yy87: - ++YYCURSOR; -#line 187 "src/sc_man_scanner.re" - { RET(TK_Eq); } -#line 690 "src/sc_man_scanner.h" -yy89: - ++YYCURSOR; -#line 184 "src/sc_man_scanner.re" - { RET(TK_OrOr); } -#line 695 "src/sc_man_scanner.h" -yy91: - ++YYCURSOR; -#line 177 "src/sc_man_scanner.re" - { RET(TK_OrEq); } -#line 700 "src/sc_man_scanner.h" -yy93: - ++YYCURSOR; -#line 176 "src/sc_man_scanner.re" - { RET(TK_XorEq); } -#line 705 "src/sc_man_scanner.h" -yy95: - ++YYCURSOR; -#line 183 "src/sc_man_scanner.re" - { RET(TK_AndAnd); } -#line 710 "src/sc_man_scanner.h" -yy97: - ++YYCURSOR; -#line 175 "src/sc_man_scanner.re" - { RET(TK_AndEq); } -#line 715 "src/sc_man_scanner.h" -yy99: - ++YYCURSOR; -#line 174 "src/sc_man_scanner.re" - { RET(TK_ModEq); } -#line 720 "src/sc_man_scanner.h" -yy101: - ++YYCURSOR; -#line 172 "src/sc_man_scanner.re" - { RET(TK_MulEq); } -#line 725 "src/sc_man_scanner.h" -yy103: - ++YYCURSOR; -#line 182 "src/sc_man_scanner.re" - { RET(TK_Decr); } -#line 730 "src/sc_man_scanner.h" -yy105: - ++YYCURSOR; -#line 171 "src/sc_man_scanner.re" - { RET(TK_SubEq); } -#line 735 "src/sc_man_scanner.h" -yy107: - ++YYCURSOR; -#line 181 "src/sc_man_scanner.re" - { RET(TK_Incr); } -#line 740 "src/sc_man_scanner.h" -yy109: - ++YYCURSOR; -#line 170 "src/sc_man_scanner.re" - { RET(TK_AddEq); } -#line 745 "src/sc_man_scanner.h" -yy111: - ++YYCURSOR; -#line 185 "src/sc_man_scanner.re" - { RET(TK_Leq); } -#line 750 "src/sc_man_scanner.h" -yy113: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy115; -#line 180 "src/sc_man_scanner.re" - { RET(TK_LShift); } -#line 756 "src/sc_man_scanner.h" -yy115: - ++YYCURSOR; -#line 169 "src/sc_man_scanner.re" - { RET(TK_LShiftEq); } -#line 761 "src/sc_man_scanner.h" -yy117: - ++YYCURSOR; -#line 186 "src/sc_man_scanner.re" - { RET(TK_Geq); } -#line 766 "src/sc_man_scanner.h" -yy119: - ++YYCURSOR; - if((yych = *YYCURSOR) <= '<') goto yy120; - if(yych <= '=') goto yy123; - if(yych <= '>') goto yy121; -yy120: -#line 179 "src/sc_man_scanner.re" - { RET(TK_RShift); } -#line 775 "src/sc_man_scanner.h" -yy121: - ++YYCURSOR; - if((yych = *YYCURSOR) == '=') goto yy125; -#line 178 "src/sc_man_scanner.re" - { RET(TK_URShift); } -#line 781 "src/sc_man_scanner.h" -yy123: - ++YYCURSOR; -#line 168 "src/sc_man_scanner.re" - { RET(TK_RShiftEq); } -#line 786 "src/sc_man_scanner.h" -yy125: - ++YYCURSOR; -#line 167 "src/sc_man_scanner.re" - { RET(TK_URShiftEq); } -#line 791 "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 <= 4) { - if(yyaccept <= 3) { - goto yy31; - } else { - goto yy137; - } - } else { - goto yy142; - } - } -yy130: - ++YYCURSOR; -#line 164 "src/sc_man_scanner.re" - { RET(TK_NameConst); } -#line 827 "src/sc_man_scanner.h" -yy132: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; -yy133: - if(yych == '"') goto yy136; - if(yych != '\\') goto yy132; -yy134: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych == '"') goto yy138; - if(yych == '\\') goto yy134; - goto yy132; -yy136: - ++YYCURSOR; -yy137: -#line 161 "src/sc_man_scanner.re" - { RET(TK_StringConst); } -#line 847 "src/sc_man_scanner.h" -yy138: - yyaccept = 4; - YYMARKER = ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych == '"') goto yy136; - if(yych == '\\') goto yy134; - goto yy132; -yy139: - yych = *++YYCURSOR; - if(yych == '.') goto yy148; - goto yy129; -yy140: - yyaccept = 5; - YYMARKER = ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 3) YYFILL(3); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= 'D') { - if(yych <= '/') goto yy142; - if(yych <= '9') goto yy140; - } else { - if(yych <= 'E') goto yy143; - if(yych <= 'F') goto yy144; - } - } else { - if(yych <= 'e') { - if(yych <= 'L') goto yy144; - if(yych >= 'e') goto yy143; - } else { - if(yych <= 'f') goto yy144; - if(yych == 'l') goto yy144; - } - } -yy142: -#line 158 "src/sc_man_scanner.re" - { RET(TK_FloatConst); } -#line 885 "src/sc_man_scanner.h" -yy143: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych == '+') goto yy145; - goto yy129; - } else { - if(yych <= '-') goto yy145; - if(yych <= '/') goto yy129; - if(yych <= '9') goto yy146; - goto yy129; - } -yy144: - yych = *++YYCURSOR; - goto yy142; -yy145: - yych = *++YYCURSOR; - if(yych <= '/') goto yy129; - if(yych >= ':') goto yy129; -yy146: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy142; - goto yy146; - } else { - if(yych == 'F') goto yy144; - goto yy142; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy144; - if(yych <= 'e') goto yy142; - goto yy144; - } else { - if(yych == 'l') goto yy144; - goto yy142; - } - } -yy148: - ++YYCURSOR; -#line 166 "src/sc_man_scanner.re" - { RET(TK_Ellipsis); } -#line 930 "src/sc_man_scanner.h" -yy150: - yyaccept = 5; - yych = *(YYMARKER = ++YYCURSOR); - if(yych == 'E') goto yy160; - if(yych == 'e') goto yy160; - goto yy159; -yy151: - yyaccept = 2; - YYMARKER = ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 4) YYFILL(4); - yych = *YYCURSOR; -yy152: - if(yych <= 'L') { - if(yych <= '9') { - if(yych == '.') goto yy150; - if(yych <= '/') goto yy28; - goto yy151; - } else { - if(yych == 'E') goto yy153; - if(yych <= 'K') goto yy28; - goto yy154; - } - } else { - if(yych <= 'e') { - if(yych == 'U') goto yy154; - if(yych <= 'd') goto yy28; - } else { - if(yych <= 'l') { - if(yych <= 'k') goto yy28; - goto yy154; - } else { - if(yych == 'u') goto yy154; - goto yy28; - } - } - } -yy153: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych == '+') goto yy155; - goto yy129; - } else { - if(yych <= '-') goto yy155; - if(yych <= '/') goto yy129; - if(yych <= '9') goto yy156; - goto yy129; - } -yy154: - yych = *++YYCURSOR; - goto yy28; -yy155: - yych = *++YYCURSOR; - if(yych <= '/') goto yy129; - if(yych >= ':') goto yy129; -yy156: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy142; - goto yy156; - } else { - if(yych == 'F') goto yy144; - goto yy142; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy144; - if(yych <= 'e') goto yy142; - goto yy144; - } else { - if(yych == 'l') goto yy144; - goto yy142; - } - } -yy158: - yyaccept = 5; - YYMARKER = ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 3) YYFILL(3); - yych = *YYCURSOR; -yy159: - if(yych <= 'K') { - if(yych <= 'D') { - if(yych <= '/') goto yy142; - if(yych <= '9') goto yy158; - goto yy142; - } else { - if(yych <= 'E') goto yy164; - if(yych <= 'F') goto yy144; - goto yy142; - } - } else { - if(yych <= 'e') { - if(yych <= 'L') goto yy144; - if(yych <= 'd') goto yy142; - goto yy164; - } else { - if(yych <= 'f') goto yy144; - if(yych == 'l') goto yy144; - goto yy142; - } - } -yy160: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych != '+') goto yy129; - } else { - if(yych <= '-') goto yy161; - if(yych <= '/') goto yy129; - if(yych <= '9') goto yy162; - goto yy129; - } -yy161: - yych = *++YYCURSOR; - if(yych <= '/') goto yy129; - if(yych >= ':') goto yy129; -yy162: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy142; - goto yy162; - } else { - if(yych == 'F') goto yy144; - goto yy142; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy144; - if(yych <= 'e') goto yy142; - goto yy144; - } else { - if(yych == 'l') goto yy144; - goto yy142; - } - } -yy164: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych != '+') goto yy129; - } else { - if(yych <= '-') goto yy165; - if(yych <= '/') goto yy129; - if(yych <= '9') goto yy166; - goto yy129; - } -yy165: - yych = *++YYCURSOR; - if(yych <= '/') goto yy129; - if(yych >= ':') goto yy129; -yy166: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy142; - goto yy166; - } else { - if(yych == 'F') goto yy144; - goto yy142; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy144; - if(yych <= 'e') goto yy142; - goto yy144; - } else { - if(yych == 'l') goto yy144; - goto yy142; - } - } -yy168: - yyaccept = 2; - YYMARKER = ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 4) YYFILL(4); - yych = *YYCURSOR; -yy169: - if(yych <= 'L') { - if(yych <= '9') { - if(yych == '.') goto yy150; - if(yych <= '/') goto yy28; - goto yy168; - } else { - if(yych == 'E') goto yy153; - if(yych <= 'K') goto yy28; - goto yy154; - } - } else { - if(yych <= 'e') { - if(yych == 'U') goto yy154; - if(yych <= 'd') goto yy28; - goto yy153; - } else { - if(yych <= 'l') { - if(yych <= 'k') goto yy28; - goto yy154; - } else { - if(yych == 'u') goto yy154; - goto yy28; - } - } - } -yy170: - yych = *++YYCURSOR; - if(yych <= '@') { - if(yych <= '/') goto yy129; - if(yych >= ':') goto yy129; - } else { - if(yych <= 'F') goto yy171; - if(yych <= '`') goto yy129; - if(yych >= 'g') goto yy129; - } -yy171: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'T') { - if(yych <= '@') { - if(yych <= '/') goto yy28; - if(yych <= '9') goto yy171; - goto yy28; - } else { - if(yych <= 'F') goto yy171; - if(yych == 'L') goto yy154; - goto yy28; - } - } else { - if(yych <= 'k') { - if(yych <= 'U') goto yy154; - if(yych <= '`') goto yy28; - if(yych <= 'f') goto yy171; - goto yy28; - } else { - if(yych <= 'l') goto yy154; - if(yych == 'u') goto yy154; - goto yy28; - } - } -yy173: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; -yy174: - if(yych <= 'Z') { - if(yych <= '/') goto yy5; - if(yych <= '9') goto yy173; - if(yych <= '@') goto yy5; - goto yy173; - } else { - if(yych <= '_') { - if(yych <= '^') goto yy5; - goto yy173; - } else { - if(yych <= '`') goto yy5; - if(yych <= 'z') goto yy173; - goto yy5; - } - } -yy175: - yych = *++YYCURSOR; - if(yych == 'N') goto yy176; - if(yych != 'n') goto yy129; -yy176: - yych = *++YYCURSOR; - if(yych == 'C') goto yy177; - if(yych != 'c') goto yy129; -yy177: - yych = *++YYCURSOR; - if(yych == 'L') goto yy178; - if(yych != 'l') goto yy129; -yy178: - yych = *++YYCURSOR; - if(yych == 'U') goto yy179; - if(yych != 'u') goto yy129; -yy179: - yych = *++YYCURSOR; - if(yych == 'D') goto yy180; - if(yych != 'd') goto yy129; -yy180: - yych = *++YYCURSOR; - if(yych == 'E') goto yy181; - if(yych != 'e') goto yy129; -yy181: - ++YYCURSOR; -#line 144 "src/sc_man_scanner.re" - { RET(TK_Include); } -#line 1221 "src/sc_man_scanner.h" -yy183: - yych = *++YYCURSOR; - if(yych <= 'O') { - if(yych == 'I') goto yy191; - if(yych <= 'N') goto yy174; - goto yy190; - } else { - if(yych <= 'i') { - if(yych <= 'h') goto yy174; - goto yy191; - } else { - if(yych == 'o') goto yy190; - goto yy174; - } - } -yy184: - yych = *++YYCURSOR; - if(yych == 'B') goto yy185; - if(yych != 'b') goto yy174; -yy185: - yych = *++YYCURSOR; - if(yych == 'L') goto yy186; - if(yych != 'l') goto yy174; -yy186: - yych = *++YYCURSOR; - if(yych == 'I') goto yy187; - if(yych != 'i') goto yy174; -yy187: - yych = *++YYCURSOR; - if(yych == 'C') goto yy188; - if(yych != 'c') goto yy174; -yy188: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy189; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy189; - if(yych <= 'z') goto yy173; - } - } -yy189: -#line 120 "src/sc_man_scanner.re" - { RET(TK_Public); } -#line 1270 "src/sc_man_scanner.h" -yy190: - yych = *++YYCURSOR; - if(yych == 'T') goto yy197; - if(yych == 't') goto yy197; - goto yy174; -yy191: - yych = *++YYCURSOR; - if(yych == 'V') goto yy192; - if(yych != 'v') goto yy174; -yy192: - yych = *++YYCURSOR; - if(yych == 'A') goto yy193; - if(yych != 'a') goto yy174; -yy193: - yych = *++YYCURSOR; - if(yych == 'T') goto yy194; - if(yych != 't') goto yy174; -yy194: - yych = *++YYCURSOR; - if(yych == 'E') goto yy195; - if(yych != 'e') goto yy174; -yy195: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy196; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy196; - if(yych <= 'z') goto yy173; - } - } -yy196: -#line 122 "src/sc_man_scanner.re" - { RET(TK_Private); } -#line 1309 "src/sc_man_scanner.h" -yy197: - yych = *++YYCURSOR; - if(yych == 'E') goto yy198; - if(yych != 'e') goto yy174; -yy198: - yych = *++YYCURSOR; - if(yych == 'C') goto yy199; - if(yych != 'c') goto yy174; -yy199: - yych = *++YYCURSOR; - if(yych == 'T') goto yy200; - if(yych != 't') goto yy174; -yy200: - yych = *++YYCURSOR; - if(yych == 'E') goto yy201; - if(yych != 'e') goto yy174; -yy201: - yych = *++YYCURSOR; - if(yych == 'D') goto yy202; - if(yych != 'd') goto yy174; -yy202: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy203; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy203; - if(yych <= 'z') goto yy173; - } - } -yy203: -#line 121 "src/sc_man_scanner.re" - { RET(TK_Protected); } -#line 1347 "src/sc_man_scanner.h" -yy204: - yych = *++YYCURSOR; - if(yych == 'T') goto yy208; - if(yych == 't') goto yy208; - goto yy174; -yy205: - yych = *++YYCURSOR; - if(yych == 'T') goto yy206; - if(yych != 't') goto yy174; -yy206: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy207; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy207; - if(yych <= 'z') goto yy173; - } - } -yy207: -#line 112 "src/sc_man_scanner.re" - { RET(TK_Out); } -#line 1374 "src/sc_man_scanner.h" -yy208: - yych = *++YYCURSOR; - if(yych == 'I') goto yy209; - if(yych != 'i') goto yy174; -yy209: - yych = *++YYCURSOR; - if(yych == 'O') goto yy210; - if(yych != 'o') goto yy174; -yy210: - yych = *++YYCURSOR; - if(yych == 'N') goto yy211; - if(yych != 'n') goto yy174; -yy211: - yych = *++YYCURSOR; - if(yych == 'A') goto yy212; - if(yych != 'a') goto yy174; -yy212: - yych = *++YYCURSOR; - if(yych == 'L') goto yy213; - if(yych != 'l') goto yy174; -yy213: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy214; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy214; - if(yych <= 'z') goto yy173; - } - } -yy214: -#line 132 "src/sc_man_scanner.re" - { RET(TK_Optional); } -#line 1412 "src/sc_man_scanner.h" -yy215: - yych = *++YYCURSOR; - if(yych == 'R') goto yy228; - if(yych == 'r') goto yy228; - goto yy174; -yy216: - yych = *++YYCURSOR; - if(yych <= 'U') { - if(yych == 'A') goto yy218; - if(yych <= 'T') goto yy174; - } else { - if(yych <= 'a') { - if(yych <= '`') goto yy174; - goto yy218; - } else { - if(yych != 'u') goto yy174; - } - } - yych = *++YYCURSOR; - if(yych == 'E') goto yy226; - if(yych == 'e') goto yy226; - goto yy174; -yy218: - yych = *++YYCURSOR; - if(yych == 'N') goto yy219; - if(yych != 'n') goto yy174; -yy219: - yych = *++YYCURSOR; - if(yych == 'S') goto yy220; - if(yych != 's') goto yy174; -yy220: - yych = *++YYCURSOR; - if(yych == 'I') goto yy221; - if(yych != 'i') goto yy174; -yy221: - yych = *++YYCURSOR; - if(yych == 'E') goto yy222; - if(yych != 'e') goto yy174; -yy222: - yych = *++YYCURSOR; - if(yych == 'N') goto yy223; - if(yych != 'n') goto yy174; -yy223: - yych = *++YYCURSOR; - if(yych == 'T') goto yy224; - if(yych != 't') goto yy174; -yy224: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy225; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy225; - if(yych <= 'z') goto yy173; - } - } -yy225: -#line 116 "src/sc_man_scanner.re" - { RET(TK_Transient); } -#line 1476 "src/sc_man_scanner.h" -yy226: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy227; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy227; - if(yych <= 'z') goto yy173; - } - } -yy227: -#line 103 "src/sc_man_scanner.re" - { RET(TK_True); } -#line 1494 "src/sc_man_scanner.h" -yy228: - yych = *++YYCURSOR; - if(yych == 'O') goto yy229; - if(yych != 'o') goto yy174; -yy229: - yych = *++YYCURSOR; - if(yych == 'W') goto yy230; - if(yych != 'w') goto yy174; -yy230: - yych = *++YYCURSOR; - if(yych == 'S') goto yy231; - if(yych != 's') goto yy174; -yy231: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy232; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy232; - if(yych <= 'z') goto yy173; - } - } -yy232: -#line 118 "src/sc_man_scanner.re" - { RET(TK_Throws); } -#line 1524 "src/sc_man_scanner.h" -yy233: - yych = *++YYCURSOR; - if(yych == 'S') goto yy251; - if(yych == 's') goto yy251; - goto yy174; -yy234: - yych = *++YYCURSOR; - if(yych == 'T') goto yy246; - if(yych == 't') goto yy246; - goto yy174; -yy235: - yych = *++YYCURSOR; - if(yych == 'G') goto yy240; - if(yych == 'g') goto yy240; - goto yy174; -yy236: - yych = *++YYCURSOR; - if(yych == 'T') goto yy237; - if(yych != 't') goto yy174; -yy237: - yych = *++YYCURSOR; - if(yych == 'O') goto yy238; - if(yych != 'o') goto yy174; -yy238: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy239; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy239; - if(yych <= 'z') goto yy173; - } - } -yy239: -#line 108 "src/sc_man_scanner.re" - { RET(TK_Auto); } -#line 1565 "src/sc_man_scanner.h" -yy240: - yych = *++YYCURSOR; - if(yych == 'L') goto yy241; - if(yych != 'l') goto yy174; -yy241: - yych = *++YYCURSOR; - if(yych == 'E') goto yy242; - if(yych != 'e') goto yy174; -yy242: - yych = *++YYCURSOR; - if(yych != '_') goto yy174; - yych = *++YYCURSOR; - if(yych == 'T') goto yy244; - if(yych != 't') goto yy174; -yy244: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy245; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy245; - if(yych <= 'z') goto yy173; - } - } -yy245: -#line 146 "src/sc_man_scanner.re" - { RET(TK_Angle_t); } -#line 1597 "src/sc_man_scanner.h" -yy246: - yych = *++YYCURSOR; - if(yych == 'I') goto yy247; - if(yych != 'i') goto yy174; -yy247: - yych = *++YYCURSOR; - if(yych == 'O') goto yy248; - if(yych != 'o') goto yy174; -yy248: - yych = *++YYCURSOR; - if(yych == 'N') goto yy249; - if(yych != 'n') goto yy174; -yy249: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy250; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy250; - if(yych <= 'z') goto yy173; - } - } -yy250: -#line 141 "src/sc_man_scanner.re" - { RET(TK_Action); } -#line 1627 "src/sc_man_scanner.h" -yy251: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '@') { - if(yych <= '/') goto yy252; - if(yych <= '9') goto yy173; - } else { - if(yych == 'T') goto yy253; - goto yy173; - } - } else { - if(yych <= '`') { - if(yych == '_') goto yy173; - } else { - if(yych == 't') goto yy253; - if(yych <= 'z') goto yy173; - } - } -yy252: -#line 147 "src/sc_man_scanner.re" - { RET(TK_Abs); } -#line 1649 "src/sc_man_scanner.h" -yy253: - yych = *++YYCURSOR; - if(yych == 'R') goto yy254; - if(yych != 'r') goto yy174; -yy254: - yych = *++YYCURSOR; - if(yych == 'A') goto yy255; - if(yych != 'a') goto yy174; -yy255: - yych = *++YYCURSOR; - if(yych == 'C') goto yy256; - if(yych != 'c') goto yy174; -yy256: - yych = *++YYCURSOR; - if(yych == 'T') goto yy257; - if(yych != 't') goto yy174; -yy257: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy258; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy258; - if(yych <= 'z') goto yy173; - } - } -yy258: -#line 101 "src/sc_man_scanner.re" - { RET(TK_Abstract); } -#line 1683 "src/sc_man_scanner.h" -yy259: - yych = *++YYCURSOR; - if(yych <= 'T') { - if(yych == 'M') goto yy267; - if(yych <= 'S') goto yy174; - goto yy268; - } else { - if(yych <= 'm') { - if(yych <= 'l') goto yy174; - goto yy267; - } else { - if(yych == 't') goto yy268; - goto yy174; - } - } -yy260: - yych = *++YYCURSOR; - if(yych == 'W') goto yy265; - if(yych == 'w') goto yy265; - goto yy174; -yy261: - yych = *++YYCURSOR; - if(yych == 'N') goto yy262; - if(yych != 'n') goto yy174; -yy262: - yych = *++YYCURSOR; - if(yych == 'E') goto yy263; - if(yych != 'e') goto yy174; -yy263: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy264; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy264; - if(yych <= 'z') goto yy173; - } - } -yy264: -#line 105 "src/sc_man_scanner.re" - { RET(TK_None); } -#line 1729 "src/sc_man_scanner.h" -yy265: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy266; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy266; - if(yych <= 'z') goto yy173; - } - } -yy266: -#line 106 "src/sc_man_scanner.re" - { RET(TK_New); } -#line 1747 "src/sc_man_scanner.h" -yy267: - yych = *++YYCURSOR; - if(yych == 'E') goto yy273; - if(yych == 'e') goto yy273; - goto yy174; -yy268: - yych = *++YYCURSOR; - if(yych == 'I') goto yy269; - if(yych != 'i') goto yy174; -yy269: - yych = *++YYCURSOR; - if(yych == 'V') goto yy270; - if(yych != 'v') goto yy174; -yy270: - yych = *++YYCURSOR; - if(yych == 'E') goto yy271; - if(yych != 'e') goto yy174; -yy271: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy272; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy272; - if(yych <= 'z') goto yy173; - } - } -yy272: -#line 111 "src/sc_man_scanner.re" - { RET(TK_Native); } -#line 1782 "src/sc_man_scanner.h" -yy273: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy274; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy274; - if(yych <= 'z') goto yy173; - } - } -yy274: -#line 94 "src/sc_man_scanner.re" - { RET(TK_Name); } -#line 1800 "src/sc_man_scanner.h" -yy275: - yych = *++YYCURSOR; - if(yych == 'D') goto yy276; - if(yych != 'd') goto yy174; -yy276: - yych = *++YYCURSOR; - if(yych == 'E') goto yy277; - if(yych != 'e') goto yy174; -yy277: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy278; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy278; - if(yych <= 'z') goto yy173; - } - } -yy278: -#line 92 "src/sc_man_scanner.re" - { RET(TK_Mode); } -#line 1826 "src/sc_man_scanner.h" -yy279: - yych = *++YYCURSOR; - if(yych == 'T') goto yy292; - if(yych == 't') goto yy292; - goto yy174; -yy280: - yych = *++YYCURSOR; - if(yych <= 'N') { - if(yych == 'C') goto yy282; - if(yych <= 'M') goto yy174; - } else { - if(yych <= 'c') { - if(yych <= 'b') goto yy174; - goto yy282; - } else { - if(yych != 'n') goto yy174; - } - } - yych = *++YYCURSOR; - if(yych == 'G') goto yy290; - if(yych == 'g') goto yy290; - goto yy174; -yy282: - yych = *++YYCURSOR; - if(yych == 'A') goto yy283; - if(yych != 'a') goto yy174; -yy283: - yych = *++YYCURSOR; - if(yych == 'L') goto yy284; - if(yych != 'l') goto yy174; -yy284: - yych = *++YYCURSOR; - if(yych == 'I') goto yy285; - if(yych != 'i') goto yy174; -yy285: - yych = *++YYCURSOR; - if(yych == 'Z') goto yy286; - if(yych != 'z') goto yy174; -yy286: - yych = *++YYCURSOR; - if(yych == 'E') goto yy287; - if(yych != 'e') goto yy174; -yy287: - yych = *++YYCURSOR; - if(yych == 'D') goto yy288; - if(yych != 'd') goto yy174; -yy288: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy289; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy289; - if(yych <= 'z') goto yy173; - } - } -yy289: -#line 126 "src/sc_man_scanner.re" - { RET(TK_Localized); } -#line 1890 "src/sc_man_scanner.h" -yy290: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy291; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy291; - if(yych <= 'z') goto yy173; - } - } -yy291: -#line 87 "src/sc_man_scanner.re" - { RET(TK_Long); } -#line 1908 "src/sc_man_scanner.h" -yy292: - yych = *++YYCURSOR; - if(yych == 'E') goto yy293; - if(yych != 'e') goto yy174; -yy293: - yych = *++YYCURSOR; - if(yych == 'N') goto yy294; - if(yych != 'n') goto yy174; -yy294: - yych = *++YYCURSOR; - if(yych == 'T') goto yy295; - if(yych != 't') goto yy174; -yy295: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy296; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy296; - if(yych <= 'z') goto yy173; - } - } -yy296: -#line 127 "src/sc_man_scanner.re" - { RET(TK_Latent); } -#line 1938 "src/sc_man_scanner.h" -yy297: - yych = *++YYCURSOR; - if(yych == 'I') goto yy298; - if(yych != 'i') goto yy174; -yy298: - yych = *++YYCURSOR; - if(yych == 'L') goto yy299; - if(yych != 'l') goto yy174; -yy299: - yych = *++YYCURSOR; - if(yych == 'E') goto yy300; - if(yych != 'e') goto yy174; -yy300: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy301; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy301; - if(yych <= 'z') goto yy173; - } - } -yy301: -#line 74 "src/sc_man_scanner.re" - { RET(TK_While); } -#line 1968 "src/sc_man_scanner.h" -yy302: - yych = *++YYCURSOR; - if(yych == 'R') goto yy314; - if(yych == 'r') goto yy314; - goto yy174; -yy303: - yych = *++YYCURSOR; - if(yych <= 'L') { - if(yych == 'I') goto yy305; - if(yych <= 'K') goto yy174; - } else { - if(yych <= 'i') { - if(yych <= 'h') goto yy174; - goto yy305; - } else { - if(yych != 'l') goto yy174; - } - } - yych = *++YYCURSOR; - if(yych == 'A') goto yy308; - if(yych == 'a') goto yy308; - goto yy174; -yy305: - yych = *++YYCURSOR; - if(yych == 'D') goto yy306; - if(yych != 'd') goto yy174; -yy306: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy307; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy307; - if(yych <= 'z') goto yy173; - } - } -yy307: -#line 89 "src/sc_man_scanner.re" - { RET(TK_Void); } -#line 2012 "src/sc_man_scanner.h" -yy308: - yych = *++YYCURSOR; - if(yych == 'T') goto yy309; - if(yych != 't') goto yy174; -yy309: - yych = *++YYCURSOR; - if(yych == 'I') goto yy310; - if(yych != 'i') goto yy174; -yy310: - yych = *++YYCURSOR; - if(yych == 'L') goto yy311; - if(yych != 'l') goto yy174; -yy311: - yych = *++YYCURSOR; - if(yych == 'E') goto yy312; - if(yych != 'e') goto yy174; -yy312: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy313; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy313; - if(yych <= 'z') goto yy173; - } - } -yy313: -#line 73 "src/sc_man_scanner.re" - { RET(TK_Volatile); } -#line 2046 "src/sc_man_scanner.h" -yy314: - yych = *++YYCURSOR; - if(yych == 'T') goto yy315; - if(yych != 't') goto yy174; -yy315: - yych = *++YYCURSOR; - if(yych == 'U') goto yy316; - if(yych != 'u') goto yy174; -yy316: - yych = *++YYCURSOR; - if(yych == 'A') goto yy317; - if(yych != 'a') goto yy174; -yy317: - yych = *++YYCURSOR; - if(yych == 'L') goto yy318; - if(yych != 'l') goto yy174; -yy318: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy319; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy319; - if(yych <= 'z') goto yy173; - } - } -yy319: -#line 134 "src/sc_man_scanner.re" - { RET(TK_Virtual); } -#line 2080 "src/sc_man_scanner.h" -yy320: - yych = *++YYCURSOR; - if(yych == 'N') goto yy337; - if(yych == 'n') goto yy337; - goto yy174; -yy321: - yych = *++YYCURSOR; - if(yych == 'O') goto yy333; - if(yych == 'o') goto yy333; - goto yy174; -yy322: - yych = *++YYCURSOR; - if(yych == 'T') goto yy329; - if(yych == 't') goto yy329; - goto yy174; -yy323: - yych = *++YYCURSOR; - if(yych == 'H') goto yy324; - if(yych != 'h') goto yy174; -yy324: - yych = *++YYCURSOR; - if(yych == 'O') goto yy325; - if(yych != 'o') goto yy174; -yy325: - yych = *++YYCURSOR; - if(yych == 'R') goto yy326; - if(yych != 'r') goto yy174; -yy326: - yych = *++YYCURSOR; - if(yych == 'T') goto yy327; - if(yych != 't') goto yy174; -yy327: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy328; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy328; - if(yych <= 'z') goto yy173; - } - } -yy328: -#line 84 "src/sc_man_scanner.re" - { RET(TK_UShort); } -#line 2129 "src/sc_man_scanner.h" -yy329: - yych = *++YYCURSOR; - if(yych == 'I') goto yy330; - if(yych != 'i') goto yy174; -yy330: - yych = *++YYCURSOR; - if(yych == 'L') goto yy331; - if(yych != 'l') goto yy174; -yy331: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy332; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy332; - if(yych <= 'z') goto yy173; - } - } -yy332: -#line 72 "src/sc_man_scanner.re" - { RET(TK_Until); } -#line 2155 "src/sc_man_scanner.h" -yy333: - yych = *++YYCURSOR; - if(yych == 'N') goto yy334; - if(yych != 'n') goto yy174; -yy334: - yych = *++YYCURSOR; - if(yych == 'G') goto yy335; - if(yych != 'g') goto yy174; -yy335: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy336; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy336; - if(yych <= 'z') goto yy173; - } - } -yy336: -#line 88 "src/sc_man_scanner.re" - { RET(TK_ULong); } -#line 2181 "src/sc_man_scanner.h" -yy337: - yych = *++YYCURSOR; - if(yych == 'T') goto yy338; - if(yych != 't') goto yy174; -yy338: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy339; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy339; - if(yych <= 'z') goto yy173; - } - } -yy339: -#line 86 "src/sc_man_scanner.re" - { RET(TK_UInt); } -#line 2203 "src/sc_man_scanner.h" -yy340: - yych = *++YYCURSOR; - if(yych == 'Y') goto yy394; - if(yych == 'y') goto yy394; - goto yy174; -yy341: - yych = *++YYCURSOR; - if(yych == 'L') goto yy391; - if(yych == 'l') goto yy391; - goto yy174; -yy342: - yych = *++YYCURSOR; - if(yych == 'O') goto yy387; - if(yych == 'o') goto yy387; - goto yy174; -yy343: - yych = *++YYCURSOR; - if(yych == 'N') goto yy380; - if(yych == 'n') goto yy380; - goto yy174; -yy344: - yych = *++YYCURSOR; - if(yych == 'U') goto yy376; - if(yych == 'u') goto yy376; - goto yy174; -yy345: - yych = *++YYCURSOR; - if(yych <= 'R') { - if(yych <= 'N') { - if(yych == 'A') goto yy358; - goto yy174; - } else { - if(yych <= 'O') goto yy359; - if(yych <= 'Q') goto yy174; - goto yy357; - } - } else { - if(yych <= 'n') { - if(yych == 'a') goto yy358; - goto yy174; - } else { - if(yych <= 'o') goto yy359; - if(yych == 'r') goto yy357; - goto yy174; - } - } -yy346: - yych = *++YYCURSOR; - if(yych == 'P') goto yy353; - if(yych == 'p') goto yy353; - goto yy174; -yy347: - yych = *++YYCURSOR; - if(yych == 'I') goto yy348; - if(yych != 'i') goto yy174; -yy348: - yych = *++YYCURSOR; - if(yych == 'T') goto yy349; - if(yych != 't') goto yy174; -yy349: - yych = *++YYCURSOR; - if(yych == 'C') goto yy350; - if(yych != 'c') goto yy174; -yy350: - yych = *++YYCURSOR; - if(yych == 'H') goto yy351; - if(yych != 'h') goto yy174; -yy351: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy352; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy352; - if(yych <= 'z') goto yy173; - } - } -yy352: -#line 71 "src/sc_man_scanner.re" - { RET(TK_Switch); } -#line 2288 "src/sc_man_scanner.h" -yy353: - yych = *++YYCURSOR; - if(yych == 'E') goto yy354; - if(yych != 'e') goto yy174; -yy354: - yych = *++YYCURSOR; - if(yych == 'R') goto yy355; - if(yych != 'r') goto yy174; -yy355: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy356; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy356; - if(yych <= 'z') goto yy173; - } - } -yy356: -#line 135 "src/sc_man_scanner.re" - { RET(TK_Super); } -#line 2314 "src/sc_man_scanner.h" -yy357: - yych = *++YYCURSOR; - if(yych <= 'U') { - if(yych == 'I') goto yy368; - if(yych <= 'T') goto yy174; - goto yy369; - } else { - if(yych <= 'i') { - if(yych <= 'h') goto yy174; - goto yy368; - } else { - if(yych == 'u') goto yy369; - goto yy174; - } - } -yy358: - yych = *++YYCURSOR; - if(yych == 'T') goto yy362; - if(yych == 't') goto yy362; - goto yy174; -yy359: - yych = *++YYCURSOR; - if(yych == 'P') goto yy360; - if(yych != 'p') goto yy174; -yy360: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy361; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy361; - if(yych <= 'z') goto yy173; - } - } -yy361: -#line 138 "src/sc_man_scanner.re" - { RET(TK_Stop); } -#line 2356 "src/sc_man_scanner.h" -yy362: - yych = *++YYCURSOR; - if(yych <= 'I') { - if(yych == 'E') goto yy363; - if(yych <= 'H') goto yy174; - goto yy365; - } else { - if(yych <= 'e') { - if(yych <= 'd') goto yy174; - } else { - if(yych == 'i') goto yy365; - goto yy174; - } - } -yy363: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy364; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy364; - if(yych <= 'z') goto yy173; - } - } -yy364: -#line 97 "src/sc_man_scanner.re" - { RET(TK_State); } -#line 2388 "src/sc_man_scanner.h" -yy365: - yych = *++YYCURSOR; - if(yych == 'C') goto yy366; - if(yych != 'c') goto yy174; -yy366: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy367; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy367; - if(yych <= 'z') goto yy173; - } - } -yy367: -#line 115 "src/sc_man_scanner.re" - { RET(TK_Static); } -#line 2410 "src/sc_man_scanner.h" -yy368: - yych = *++YYCURSOR; - if(yych == 'N') goto yy373; - if(yych == 'n') goto yy373; - goto yy174; -yy369: - yych = *++YYCURSOR; - if(yych == 'C') goto yy370; - if(yych != 'c') goto yy174; -yy370: - yych = *++YYCURSOR; - if(yych == 'T') goto yy371; - if(yych != 't') goto yy174; -yy371: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy372; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy372; - if(yych <= 'z') goto yy173; - } - } -yy372: -#line 90 "src/sc_man_scanner.re" - { RET(TK_Struct); } -#line 2441 "src/sc_man_scanner.h" -yy373: - yych = *++YYCURSOR; - if(yych == 'G') goto yy374; - if(yych != 'g') goto yy174; -yy374: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy375; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy375; - if(yych <= 'z') goto yy173; - } - } -yy375: -#line 95 "src/sc_man_scanner.re" - { RET(TK_String); } -#line 2463 "src/sc_man_scanner.h" -yy376: - yych = *++YYCURSOR; - if(yych == 'N') goto yy377; - if(yych != 'n') goto yy174; -yy377: - yych = *++YYCURSOR; - if(yych == 'D') goto yy378; - if(yych != 'd') goto yy174; -yy378: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy379; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy379; - if(yych <= 'z') goto yy173; - } - } -yy379: -#line 96 "src/sc_man_scanner.re" - { RET(TK_Sound); } -#line 2489 "src/sc_man_scanner.h" -yy380: - yych = *++YYCURSOR; - if(yych == 'G') goto yy381; - if(yych != 'g') goto yy174; -yy381: - yych = *++YYCURSOR; - if(yych == 'U') goto yy382; - if(yych != 'u') goto yy174; -yy382: - yych = *++YYCURSOR; - if(yych == 'L') goto yy383; - if(yych != 'l') goto yy174; -yy383: - yych = *++YYCURSOR; - if(yych == 'A') goto yy384; - if(yych != 'a') goto yy174; -yy384: - yych = *++YYCURSOR; - if(yych == 'R') goto yy385; - if(yych != 'r') goto yy174; -yy385: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy386; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy386; - if(yych <= 'z') goto yy173; - } - } -yy386: -#line 128 "src/sc_man_scanner.re" - { RET(TK_Singular); } -#line 2527 "src/sc_man_scanner.h" -yy387: - yych = *++YYCURSOR; - if(yych == 'R') goto yy388; - if(yych != 'r') goto yy174; -yy388: - yych = *++YYCURSOR; - if(yych == 'T') goto yy389; - if(yych != 't') goto yy174; -yy389: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy390; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy390; - if(yych <= 'z') goto yy173; - } - } -yy390: -#line 83 "src/sc_man_scanner.re" - { RET(TK_Short); } -#line 2553 "src/sc_man_scanner.h" -yy391: - yych = *++YYCURSOR; - if(yych == 'F') goto yy392; - if(yych != 'f') goto yy174; -yy392: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy393; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy393; - if(yych <= 'z') goto yy173; - } - } -yy393: -#line 137 "src/sc_man_scanner.re" - { RET(TK_Self); } -#line 2575 "src/sc_man_scanner.h" -yy394: - yych = *++YYCURSOR; - if(yych == 'T') goto yy395; - if(yych != 't') goto yy174; -yy395: - yych = *++YYCURSOR; - if(yych == 'E') goto yy396; - if(yych != 'e') goto yy174; -yy396: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy397; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy397; - if(yych <= 'z') goto yy173; - } - } -yy397: -#line 82 "src/sc_man_scanner.re" - { RET(TK_SByte); } -#line 2601 "src/sc_man_scanner.h" -yy398: - yych = *++YYCURSOR; - if(yych == 'N') goto yy407; - if(yych == 'n') goto yy407; - goto yy174; -yy399: - yych = *++YYCURSOR; - if(yych <= 'T') { - if(yych == 'F') goto yy401; - if(yych <= 'S') goto yy174; - } else { - if(yych <= 'f') { - if(yych <= 'e') goto yy174; - goto yy401; - } else { - if(yych != 't') goto yy174; - } - } - yych = *++YYCURSOR; - if(yych == 'U') goto yy403; - if(yych == 'u') goto yy403; - goto yy174; -yy401: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy402; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy402; - if(yych <= 'z') goto yy173; - } - } -yy402: -#line 113 "src/sc_man_scanner.re" - { RET(TK_Ref); } -#line 2641 "src/sc_man_scanner.h" -yy403: - yych = *++YYCURSOR; - if(yych == 'R') goto yy404; - if(yych != 'r') goto yy174; -yy404: - yych = *++YYCURSOR; - if(yych == 'N') goto yy405; - if(yych != 'n') goto yy174; -yy405: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy406; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy406; - if(yych <= 'z') goto yy173; - } - } -yy406: -#line 70 "src/sc_man_scanner.re" - { RET(TK_Return); } -#line 2667 "src/sc_man_scanner.h" -yy407: - yych = *++YYCURSOR; - if(yych == 'D') goto yy408; - if(yych != 'd') goto yy174; -yy408: - yych = *++YYCURSOR; - if(yych == 'O') goto yy409; - if(yych != 'o') goto yy174; -yy409: - yych = *++YYCURSOR; - if(yych == 'M') goto yy410; - if(yych != 'm') goto yy174; -yy410: - ++YYCURSOR; - if((yych = *YYCURSOR) <= '@') { - if(yych <= '1') { - if(yych >= '0') goto yy173; - } else { - if(yych <= '2') goto yy412; - if(yych <= '9') goto yy173; - } - } else { - if(yych <= '_') { - if(yych <= 'Z') goto yy173; - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy411; - if(yych <= 'z') goto yy173; - } - } -yy411: -#line 148 "src/sc_man_scanner.re" - { RET(TK_Random); } -#line 2701 "src/sc_man_scanner.h" -yy412: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy413; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy413; - if(yych <= 'z') goto yy173; - } - } -yy413: -#line 149 "src/sc_man_scanner.re" - { RET(TK_Random2); } -#line 2719 "src/sc_man_scanner.h" -yy414: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy415; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy415; - if(yych <= 'z') goto yy173; - } - } -yy415: -#line 69 "src/sc_man_scanner.re" - { RET(TK_If); } -#line 2737 "src/sc_man_scanner.h" -yy416: - yych = *++YYCURSOR; - if(yych == 'N') goto yy437; - if(yych == 'n') goto yy437; - goto yy174; -yy417: - yych = *++YYCURSOR; - if(yych <= 'T') { - if(yych <= 'R') goto yy174; - if(yych <= 'S') goto yy428; - goto yy426; - } else { - if(yych <= 'r') goto yy174; - if(yych <= 's') goto yy428; - if(yych <= 't') goto yy426; - goto yy174; - } -yy418: - yych = *++YYCURSOR; - if(yych == 'E') goto yy419; - if(yych != 'e') goto yy174; -yy419: - yych = *++YYCURSOR; - if(yych == 'R') goto yy420; - if(yych != 'r') goto yy174; -yy420: - yych = *++YYCURSOR; - if(yych == 'A') goto yy421; - if(yych != 'a') goto yy174; -yy421: - yych = *++YYCURSOR; - if(yych == 'T') goto yy422; - if(yych != 't') goto yy174; -yy422: - yych = *++YYCURSOR; - if(yych == 'O') goto yy423; - if(yych != 'o') goto yy174; -yy423: - yych = *++YYCURSOR; - if(yych == 'R') goto yy424; - if(yych != 'r') goto yy174; -yy424: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy425; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy425; - if(yych <= 'z') goto yy173; - } - } -yy425: -#line 131 "src/sc_man_scanner.re" - { RET(TK_Iterator); } -#line 2796 "src/sc_man_scanner.h" -yy426: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy427; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy427; - if(yych <= 'z') goto yy173; - } - } -yy427: -#line 85 "src/sc_man_scanner.re" - { RET(TK_Int); } -#line 2814 "src/sc_man_scanner.h" -yy428: - yych = *++YYCURSOR; - if(yych == 'T') goto yy429; - if(yych != 't') goto yy174; -yy429: - yych = *++YYCURSOR; - if(yych == 'A') goto yy430; - if(yych != 'a') goto yy174; -yy430: - yych = *++YYCURSOR; - if(yych == 'N') goto yy431; - if(yych != 'n') goto yy174; -yy431: - yych = *++YYCURSOR; - if(yych == 'C') goto yy432; - if(yych != 'c') goto yy174; -yy432: - yych = *++YYCURSOR; - if(yych == 'E') goto yy433; - if(yych != 'e') goto yy174; -yy433: - yych = *++YYCURSOR; - if(yych == 'O') goto yy434; - if(yych != 'o') goto yy174; -yy434: - yych = *++YYCURSOR; - if(yych == 'F') goto yy435; - if(yych != 'f') goto yy174; -yy435: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy436; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy436; - if(yych <= 'z') goto yy173; - } - } -yy436: -#line 107 "src/sc_man_scanner.re" - { RET(TK_InstanceOf); } -#line 2860 "src/sc_man_scanner.h" -yy437: - yych = *++YYCURSOR; - if(yych == 'O') goto yy438; - if(yych != 'o') goto yy174; -yy438: - yych = *++YYCURSOR; - if(yych == 'R') goto yy439; - if(yych != 'r') goto yy174; -yy439: - yych = *++YYCURSOR; - if(yych == 'E') goto yy440; - if(yych != 'e') goto yy174; -yy440: - yych = *++YYCURSOR; - if(yych == 'S') goto yy441; - if(yych != 's') goto yy174; -yy441: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy442; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy442; - if(yych <= 'z') goto yy173; - } - } -yy442: -#line 125 "src/sc_man_scanner.re" - { RET(TK_Ignores); } -#line 2894 "src/sc_man_scanner.h" -yy443: - yych = *++YYCURSOR; - if(yych == 'O') goto yy448; - if(yych == 'o') goto yy448; - goto yy174; -yy444: - yych = *++YYCURSOR; - if(yych == 'T') goto yy445; - if(yych != 't') goto yy174; -yy445: - yych = *++YYCURSOR; - if(yych == 'O') goto yy446; - if(yych != 'o') goto yy174; -yy446: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy447; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy447; - if(yych <= 'z') goto yy173; - } - } -yy447: -#line 68 "src/sc_man_scanner.re" - { RET(TK_Goto); } -#line 2925 "src/sc_man_scanner.h" -yy448: - yych = *++YYCURSOR; - if(yych == 'B') goto yy449; - if(yych != 'b') goto yy174; -yy449: - yych = *++YYCURSOR; - if(yych == 'A') goto yy450; - if(yych != 'a') goto yy174; -yy450: - yych = *++YYCURSOR; - if(yych == 'L') goto yy451; - if(yych != 'l') goto yy174; -yy451: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy452; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy452; - if(yych <= 'z') goto yy173; - } - } -yy452: -#line 136 "src/sc_man_scanner.re" - { RET(TK_Global); } -#line 2955 "src/sc_man_scanner.h" -yy453: - yych = *++YYCURSOR; - if(yych == 'L') goto yy485; - if(yych == 'l') goto yy485; - goto yy174; -yy454: - yych = *++YYCURSOR; - if(yych <= 'X') { - if(yych == 'N') goto yy475; - if(yych <= 'W') goto yy174; - goto yy476; - } else { - if(yych <= 'n') { - if(yych <= 'm') goto yy174; - goto yy475; - } else { - if(yych == 'x') goto yy476; - goto yy174; - } - } -yy455: - yych = *++YYCURSOR; - if(yych == 'O') goto yy471; - if(yych == 'o') goto yy471; - goto yy174; -yy456: - yych = *++YYCURSOR; - if(yych == 'R') goto yy464; - if(yych == 'r') goto yy464; - goto yy174; -yy457: - yych = *++YYCURSOR; - if(yych == 'A') goto yy458; - if(yych != 'a') goto yy174; -yy458: - yych = *++YYCURSOR; - if(yych == 'N') goto yy459; - if(yych != 'n') goto yy174; -yy459: - yych = *++YYCURSOR; - if(yych == 'D') goto yy460; - if(yych != 'd') goto yy174; -yy460: - yych = *++YYCURSOR; - if(yych == 'O') goto yy461; - if(yych != 'o') goto yy174; -yy461: - yych = *++YYCURSOR; - if(yych == 'M') goto yy462; - if(yych != 'm') goto yy174; -yy462: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy463; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy463; - if(yych <= 'z') goto yy173; - } - } -yy463: -#line 150 "src/sc_man_scanner.re" - { RET(TK_FRandom); } -#line 3023 "src/sc_man_scanner.h" -yy464: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '@') { - if(yych <= '/') goto yy465; - if(yych <= '9') goto yy173; - } else { - if(yych == 'E') goto yy466; - goto yy173; - } - } else { - if(yych <= '`') { - if(yych == '_') goto yy173; - } else { - if(yych == 'e') goto yy466; - if(yych <= 'z') goto yy173; - } - } -yy465: -#line 67 "src/sc_man_scanner.re" - { RET(TK_For); } -#line 3045 "src/sc_man_scanner.h" -yy466: - yych = *++YYCURSOR; - if(yych == 'A') goto yy467; - if(yych != 'a') goto yy174; -yy467: - yych = *++YYCURSOR; - if(yych == 'C') goto yy468; - if(yych != 'c') goto yy174; -yy468: - yych = *++YYCURSOR; - if(yych == 'H') goto yy469; - if(yych != 'h') goto yy174; -yy469: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy470; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy470; - if(yych <= 'z') goto yy173; - } - } -yy470: -#line 102 "src/sc_man_scanner.re" - { RET(TK_ForEach); } -#line 3075 "src/sc_man_scanner.h" -yy471: - yych = *++YYCURSOR; - if(yych == 'A') goto yy472; - if(yych != 'a') goto yy174; -yy472: - yych = *++YYCURSOR; - if(yych == 'T') goto yy473; - if(yych != 't') goto yy174; -yy473: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy474; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy474; - if(yych <= 'z') goto yy173; - } - } -yy474: -#line 78 "src/sc_man_scanner.re" - { RET(TK_Float); } -#line 3101 "src/sc_man_scanner.h" -yy475: - yych = *++YYCURSOR; - if(yych == 'A') goto yy482; - if(yych == 'a') goto yy482; - goto yy174; -yy476: - yych = *++YYCURSOR; - if(yych == 'E') goto yy477; - if(yych != 'e') goto yy174; -yy477: - yych = *++YYCURSOR; - if(yych == 'D') goto yy478; - if(yych != 'd') goto yy174; -yy478: - yych = *++YYCURSOR; - if(yych != '_') goto yy174; - yych = *++YYCURSOR; - if(yych == 'T') goto yy480; - if(yych != 't') goto yy174; -yy480: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy481; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy481; - if(yych <= 'z') goto yy173; - } - } -yy481: -#line 145 "src/sc_man_scanner.re" - { RET(TK_Fixed_t); } -#line 3138 "src/sc_man_scanner.h" -yy482: - yych = *++YYCURSOR; - if(yych == 'L') goto yy483; - if(yych != 'l') goto yy174; -yy483: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy484; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy484; - if(yych <= 'z') goto yy173; - } - } -yy484: -#line 117 "src/sc_man_scanner.re" - { RET(TK_Final); } -#line 3160 "src/sc_man_scanner.h" -yy485: - yych = *++YYCURSOR; - if(yych == 'S') goto yy486; - if(yych != 's') goto yy174; -yy486: - yych = *++YYCURSOR; - if(yych == 'E') goto yy487; - if(yych != 'e') goto yy174; -yy487: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy488; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy488; - if(yych <= 'z') goto yy173; - } - } -yy488: -#line 104 "src/sc_man_scanner.re" - { RET(TK_False); } -#line 3186 "src/sc_man_scanner.h" -yy489: - yych = *++YYCURSOR; - if(yych == 'S') goto yy514; - if(yych == 's') goto yy514; - goto yy174; -yy490: - yych = *++YYCURSOR; - if(yych == 'U') goto yy511; - if(yych == 'u') goto yy511; - goto yy174; -yy491: - yych = *++YYCURSOR; - if(yych == 'E') goto yy507; - if(yych == 'e') goto yy507; - goto yy174; -yy492: - yych = *++YYCURSOR; - if(yych <= 'T') { - if(yych <= 'O') { - if(yych != 'E') goto yy174; - } else { - if(yych <= 'P') goto yy495; - if(yych <= 'S') goto yy174; - goto yy494; - } - } else { - if(yych <= 'o') { - if(yych != 'e') goto yy174; - } else { - if(yych <= 'p') goto yy495; - if(yych == 't') goto yy494; - goto yy174; - } - } - yych = *++YYCURSOR; - if(yych == 'C') goto yy505; - if(yych == 'c') goto yy505; - goto yy174; -yy494: - yych = *++YYCURSOR; - if(yych == 'E') goto yy500; - if(yych == 'e') goto yy500; - goto yy174; -yy495: - yych = *++YYCURSOR; - if(yych == 'O') goto yy496; - if(yych != 'o') goto yy174; -yy496: - yych = *++YYCURSOR; - if(yych == 'R') goto yy497; - if(yych != 'r') goto yy174; -yy497: - yych = *++YYCURSOR; - if(yych == 'T') goto yy498; - if(yych != 't') goto yy174; -yy498: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy499; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy499; - if(yych <= 'z') goto yy173; - } - } -yy499: -#line 133 "src/sc_man_scanner.re" - { RET(TK_Export); } -#line 3259 "src/sc_man_scanner.h" -yy500: - yych = *++YYCURSOR; - if(yych == 'N') goto yy501; - if(yych != 'n') goto yy174; -yy501: - yych = *++YYCURSOR; - if(yych == 'D') goto yy502; - if(yych != 'd') goto yy174; -yy502: - yych = *++YYCURSOR; - if(yych == 'S') goto yy503; - if(yych != 's') goto yy174; -yy503: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy504; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy504; - if(yych <= 'z') goto yy173; - } - } -yy504: -#line 119 "src/sc_man_scanner.re" - { RET(TK_Extends); } -#line 3289 "src/sc_man_scanner.h" -yy505: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy506; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy506; - if(yych <= 'z') goto yy173; - } - } -yy506: -#line 109 "src/sc_man_scanner.re" - { RET(TK_Exec); } -#line 3307 "src/sc_man_scanner.h" -yy507: - yych = *++YYCURSOR; - if(yych == 'N') goto yy508; - if(yych != 'n') goto yy174; -yy508: - yych = *++YYCURSOR; - if(yych == 'T') goto yy509; - if(yych != 't') goto yy174; -yy509: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy510; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy510; - if(yych <= 'z') goto yy173; - } - } -yy510: -#line 114 "src/sc_man_scanner.re" - { RET(TK_Event); } -#line 3333 "src/sc_man_scanner.h" -yy511: - yych = *++YYCURSOR; - if(yych == 'M') goto yy512; - if(yych != 'm') goto yy174; -yy512: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy513; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy513; - if(yych <= 'z') goto yy173; - } - } -yy513: -#line 93 "src/sc_man_scanner.re" - { RET(TK_Enum); } -#line 3355 "src/sc_man_scanner.h" -yy514: - yych = *++YYCURSOR; - if(yych == 'E') goto yy515; - if(yych != 'e') goto yy174; -yy515: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy516; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy516; - if(yych <= 'z') goto yy173; - } - } -yy516: -#line 66 "src/sc_man_scanner.re" - { RET(TK_Else); } -#line 3377 "src/sc_man_scanner.h" -yy517: - yych = *++YYCURSOR; - if(yych == 'F') goto yy527; - if(yych == 'f') goto yy527; - goto yy174; -yy518: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '@') { - if(yych <= '/') goto yy519; - if(yych <= '9') goto yy173; - } else { - if(yych <= 'S') goto yy173; - if(yych <= 'T') goto yy521; - if(yych <= 'U') goto yy520; - goto yy173; - } - } else { - if(yych <= 's') { - if(yych == '_') goto yy173; - if(yych >= 'a') goto yy173; - } else { - if(yych <= 't') goto yy521; - if(yych <= 'u') goto yy520; - if(yych <= 'z') goto yy173; - } - } -yy519: -#line 65 "src/sc_man_scanner.re" - { RET(TK_Do); } -#line 3408 "src/sc_man_scanner.h" -yy520: - yych = *++YYCURSOR; - if(yych == 'B') goto yy523; - if(yych == 'b') goto yy523; - goto yy174; -yy521: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy522; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy522; - if(yych <= 'z') goto yy173; - } - } -yy522: -#line 123 "src/sc_man_scanner.re" - { RET(TK_Dot); } -#line 3431 "src/sc_man_scanner.h" -yy523: - yych = *++YYCURSOR; - if(yych == 'L') goto yy524; - if(yych != 'l') goto yy174; -yy524: - yych = *++YYCURSOR; - if(yych == 'E') goto yy525; - if(yych != 'e') goto yy174; -yy525: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy526; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy526; - if(yych <= 'z') goto yy173; - } - } -yy526: -#line 79 "src/sc_man_scanner.re" - { RET(TK_Double); } -#line 3457 "src/sc_man_scanner.h" -yy527: - yych = *++YYCURSOR; - if(yych == 'A') goto yy528; - if(yych != 'a') goto yy174; -yy528: - yych = *++YYCURSOR; - if(yych == 'U') goto yy529; - if(yych != 'u') goto yy174; -yy529: - yych = *++YYCURSOR; - if(yych == 'L') goto yy530; - if(yych != 'l') goto yy174; -yy530: - yych = *++YYCURSOR; - if(yych == 'T') goto yy531; - if(yych != 't') goto yy174; -yy531: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '@') { - if(yych <= '/') goto yy532; - if(yych <= '9') goto yy173; - } else { - if(yych == 'P') goto yy533; - goto yy173; - } - } else { - if(yych <= '`') { - if(yych == '_') goto yy173; - } else { - if(yych == 'p') goto yy533; - if(yych <= 'z') goto yy173; - } - } -yy532: -#line 64 "src/sc_man_scanner.re" - { RET(TK_Default); } -#line 3495 "src/sc_man_scanner.h" -yy533: - yych = *++YYCURSOR; - if(yych == 'R') goto yy534; - if(yych != 'r') goto yy174; -yy534: - yych = *++YYCURSOR; - if(yych == 'O') goto yy535; - if(yych != 'o') goto yy174; -yy535: - yych = *++YYCURSOR; - if(yych == 'P') goto yy536; - if(yych != 'p') goto yy174; -yy536: - yych = *++YYCURSOR; - if(yych == 'E') goto yy537; - if(yych != 'e') goto yy174; -yy537: - yych = *++YYCURSOR; - if(yych == 'R') goto yy538; - if(yych != 'r') goto yy174; -yy538: - yych = *++YYCURSOR; - if(yych == 'T') goto yy539; - if(yych != 't') goto yy174; -yy539: - yych = *++YYCURSOR; - if(yych == 'I') goto yy540; - if(yych != 'i') goto yy174; -yy540: - yych = *++YYCURSOR; - if(yych == 'E') goto yy541; - if(yych != 'e') goto yy174; -yy541: - yych = *++YYCURSOR; - if(yych == 'S') goto yy542; - if(yych != 's') goto yy174; -yy542: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy543; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy543; - if(yych <= 'z') goto yy173; - } - } -yy543: -#line 110 "src/sc_man_scanner.re" - { RET(TK_DefaultProperties); } -#line 3549 "src/sc_man_scanner.h" -yy544: - yych = *++YYCURSOR; - if(yych == 'S') goto yy583; - if(yych == 's') goto yy583; - goto yy174; -yy545: - yych = *++YYCURSOR; - if(yych == 'A') goto yy580; - if(yych == 'a') goto yy580; - goto yy174; -yy546: - yych = *++YYCURSOR; - if(yych == 'A') goto yy576; - if(yych == 'a') goto yy576; - goto yy174; -yy547: - yych = *++YYCURSOR; - if(yych <= 'N') { - if(yych <= 'K') { - if(yych == 'E') goto yy555; - goto yy174; - } else { - if(yych <= 'L') goto yy554; - if(yych <= 'M') goto yy174; - goto yy553; - } - } else { - if(yych <= 'k') { - if(yych == 'e') goto yy555; - goto yy174; - } else { - if(yych <= 'l') goto yy554; - if(yych == 'n') goto yy553; - goto yy174; - } - } -yy548: - yych = *++YYCURSOR; - if(yych == 'O') goto yy549; - if(yych != 'o') goto yy174; -yy549: - yych = *++YYCURSOR; - if(yych == 'S') goto yy550; - if(yych != 's') goto yy174; -yy550: - yych = *++YYCURSOR; - if(yych == 'S') goto yy551; - if(yych != 's') goto yy174; -yy551: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy552; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy552; - if(yych <= 'z') goto yy173; - } - } -yy552: -#line 124 "src/sc_man_scanner.re" - { RET(TK_Cross); } -#line 3615 "src/sc_man_scanner.h" -yy553: - yych = *++YYCURSOR; - if(yych <= 'T') { - if(yych <= 'F') { - if(yych <= 'E') goto yy174; - goto yy563; - } else { - if(yych <= 'R') goto yy174; - if(yych <= 'S') goto yy564; - goto yy565; - } - } else { - if(yych <= 'r') { - if(yych == 'f') goto yy563; - goto yy174; - } else { - if(yych <= 's') goto yy564; - if(yych <= 't') goto yy565; - goto yy174; - } - } -yy554: - yych = *++YYCURSOR; - if(yych == 'O') goto yy560; - if(yych == 'o') goto yy560; - goto yy174; -yy555: - yych = *++YYCURSOR; - if(yych == 'R') goto yy556; - if(yych != 'r') goto yy174; -yy556: - yych = *++YYCURSOR; - if(yych == 'C') goto yy557; - if(yych != 'c') goto yy174; -yy557: - yych = *++YYCURSOR; - if(yych == 'E') goto yy558; - if(yych != 'e') goto yy174; -yy558: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy559; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy559; - if(yych <= 'z') goto yy173; - } - } -yy559: -#line 130 "src/sc_man_scanner.re" - { RET(TK_Coerce); } -#line 3671 "src/sc_man_scanner.h" -yy560: - yych = *++YYCURSOR; - if(yych == 'R') goto yy561; - if(yych != 'r') goto yy174; -yy561: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy562; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy562; - if(yych <= 'z') goto yy173; - } - } -yy562: -#line 98 "src/sc_man_scanner.re" - { RET(TK_Color); } -#line 3693 "src/sc_man_scanner.h" -yy563: - yych = *++YYCURSOR; - if(yych == 'I') goto yy573; - if(yych == 'i') goto yy573; - goto yy174; -yy564: - yych = *++YYCURSOR; - if(yych == 'T') goto yy571; - if(yych == 't') goto yy571; - goto yy174; -yy565: - yych = *++YYCURSOR; - if(yych == 'I') goto yy566; - if(yych != 'i') goto yy174; -yy566: - yych = *++YYCURSOR; - if(yych == 'N') goto yy567; - if(yych != 'n') goto yy174; -yy567: - yych = *++YYCURSOR; - if(yych == 'U') goto yy568; - if(yych != 'u') goto yy174; -yy568: - yych = *++YYCURSOR; - if(yych == 'E') goto yy569; - if(yych != 'e') goto yy174; -yy569: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy570; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy570; - if(yych <= 'z') goto yy173; - } - } -yy570: -#line 63 "src/sc_man_scanner.re" - { RET(TK_Continue); } -#line 3737 "src/sc_man_scanner.h" -yy571: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy572; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy572; - if(yych <= 'z') goto yy173; - } - } -yy572: -#line 62 "src/sc_man_scanner.re" - { RET(TK_Const); } -#line 3755 "src/sc_man_scanner.h" -yy573: - yych = *++YYCURSOR; - if(yych == 'G') goto yy574; - if(yych != 'g') goto yy174; -yy574: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy575; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy575; - if(yych <= 'z') goto yy173; - } - } -yy575: -#line 129 "src/sc_man_scanner.re" - { RET(TK_Config); } -#line 3777 "src/sc_man_scanner.h" -yy576: - yych = *++YYCURSOR; - if(yych == 'S') goto yy577; - if(yych != 's') goto yy174; -yy577: - yych = *++YYCURSOR; - if(yych == 'S') goto yy578; - if(yych != 's') goto yy174; -yy578: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy579; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy579; - if(yych <= 'z') goto yy173; - } - } -yy579: -#line 91 "src/sc_man_scanner.re" - { RET(TK_Class); } -#line 3803 "src/sc_man_scanner.h" -yy580: - yych = *++YYCURSOR; - if(yych == 'R') goto yy581; - if(yych != 'r') goto yy174; -yy581: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy582; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy582; - if(yych <= 'z') goto yy173; - } - } -yy582: -#line 80 "src/sc_man_scanner.re" - { RET(TK_Char); } -#line 3825 "src/sc_man_scanner.h" -yy583: - yych = *++YYCURSOR; - if(yych == 'E') goto yy584; - if(yych != 'e') goto yy174; -yy584: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy585; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy585; - if(yych <= 'z') goto yy173; - } - } -yy585: -#line 61 "src/sc_man_scanner.re" - { RET(TK_Case); } -#line 3847 "src/sc_man_scanner.h" -yy586: - yych = *++YYCURSOR; - if(yych == 'O') goto yy596; - if(yych == 'o') goto yy596; - goto yy174; -yy587: - yych = *++YYCURSOR; - if(yych == 'E') goto yy592; - if(yych == 'e') goto yy592; - goto yy174; -yy588: - yych = *++YYCURSOR; - if(yych == 'T') goto yy589; - if(yych != 't') goto yy174; -yy589: - yych = *++YYCURSOR; - if(yych == 'E') goto yy590; - if(yych != 'e') goto yy174; -yy590: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy591; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy591; - if(yych <= 'z') goto yy173; - } - } -yy591: -#line 81 "src/sc_man_scanner.re" - { RET(TK_Byte); } -#line 3883 "src/sc_man_scanner.h" -yy592: - yych = *++YYCURSOR; - if(yych == 'A') goto yy593; - if(yych != 'a') goto yy174; -yy593: - yych = *++YYCURSOR; - if(yych == 'K') goto yy594; - if(yych != 'k') goto yy174; -yy594: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy595; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy595; - if(yych <= 'z') goto yy173; - } - } -yy595: -#line 60 "src/sc_man_scanner.re" - { RET(TK_Break); } -#line 3909 "src/sc_man_scanner.h" -yy596: - yych = *++YYCURSOR; - if(yych == 'L') goto yy597; - if(yych != 'l') goto yy174; -yy597: - ++YYCURSOR; - if((yych = *YYCURSOR) <= 'Z') { - if(yych <= '/') goto yy598; - if(yych <= '9') goto yy173; - if(yych >= 'A') goto yy173; - } else { - if(yych <= '_') { - if(yych >= '_') goto yy173; - } else { - if(yych <= '`') goto yy598; - if(yych <= 'z') goto yy173; - } - } -yy598: -#line 77 "src/sc_man_scanner.re" - { RET(TK_Bool); } -#line 3931 "src/sc_man_scanner.h" -yy599: - ++YYCURSOR; -#line 173 "src/sc_man_scanner.re" - { RET(TK_DivEq); } -#line 3936 "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 3947 "src/sc_man_scanner.h" -yy605: - ++YYCURSOR; -#line 57 "src/sc_man_scanner.re" - { goto newline; } -#line 3952 "src/sc_man_scanner.h" -} -#line 221 "src/sc_man_scanner.re" - - } - if (!CMode) // The classic Hexen scanner. - { - -#line 3960 "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 236 "src/sc_man_scanner.re" - { goto normal_token; } -#line 3989 "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 238 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4013 "src/sc_man_scanner.h" -yy612: - yyaccept = 0; - yych = *(YYMARKER = ++YYCURSOR); - goto yy631; -yy613: - ++YYCURSOR; - yych = *YYCURSOR; - goto yy629; -yy614: -#line 229 "src/sc_man_scanner.re" - { goto std1; } -#line 4025 "src/sc_man_scanner.h" -yy615: - ++YYCURSOR; -#line 230 "src/sc_man_scanner.re" - { goto newline; } -#line 4030 "src/sc_man_scanner.h" -yy617: - ++YYCURSOR; -#line 231 "src/sc_man_scanner.re" - { goto string; } -#line 4035 "src/sc_man_scanner.h" -yy619: - ++YYCURSOR; -#line 233 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4040 "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 227 "src/sc_man_scanner.re" - { goto newline; } -#line 4136 "src/sc_man_scanner.h" -yy634: - ++YYCURSOR; -#line 226 "src/sc_man_scanner.re" - { goto comment; } -#line 4141 "src/sc_man_scanner.h" -} -#line 239 "src/sc_man_scanner.re" - - } - else // A modified Hexen scanner for DECORATE. - { - -#line 4149 "src/sc_man_scanner.h" -{ - YYCTYPE yych; - unsigned int yyaccept = 0; - if((YYLIMIT - YYCURSOR) < 5) YYFILL(5); - 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: - yyaccept = 0; - yych = *(YYMARKER = ++YYCURSOR); - if(yych == '*') goto yy707; - if(yych == '/') goto yy705; -yy639: -#line 260 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4208 "src/sc_man_scanner.h" -yy640: - ++YYCURSOR; - yych = *YYCURSOR; - goto yy704; -yy641: -#line 247 "src/sc_man_scanner.re" - { goto std1; } -#line 4216 "src/sc_man_scanner.h" -yy642: - ++YYCURSOR; -#line 248 "src/sc_man_scanner.re" - { goto newline; } -#line 4221 "src/sc_man_scanner.h" -yy644: - ++YYCURSOR; -#line 249 "src/sc_man_scanner.re" - { goto string; } -#line 4226 "src/sc_man_scanner.h" -yy646: - ++YYCURSOR; -#line 251 "src/sc_man_scanner.re" - { goto negative_check; } -#line 4231 "src/sc_man_scanner.h" -yy648: - ++YYCURSOR; - if((yych = *YYCURSOR) <= '9') { - if(yych == '.') goto yy686; - if(yych <= '/') goto yy660; - goto yy683; - } else { - if(yych <= 'E') { - if(yych <= 'D') goto yy660; - goto yy685; - } else { - if(yych == 'e') goto yy685; - goto yy660; - } - } -yy649: -#line 261 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4250 "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 259 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4314 "src/sc_man_scanner.h" -yy663: - ++YYCURSOR; -#line 258 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4319 "src/sc_man_scanner.h" -yy665: - ++YYCURSOR; -#line 257 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4324 "src/sc_man_scanner.h" -yy667: - ++YYCURSOR; -#line 256 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4329 "src/sc_man_scanner.h" -yy669: - ++YYCURSOR; -#line 255 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4334 "src/sc_man_scanner.h" -yy671: - ++YYCURSOR; -#line 254 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4339 "src/sc_man_scanner.h" -yy673: - yyaccept = 1; - YYMARKER = ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 3) YYFILL(3); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= 'D') { - if(yych <= '/') goto yy675; - if(yych <= '9') goto yy673; - } else { - if(yych <= 'E') goto yy676; - if(yych <= 'F') goto yy678; - } - } else { - if(yych <= 'e') { - if(yych <= 'L') goto yy678; - if(yych >= 'e') goto yy676; - } else { - if(yych <= 'f') goto yy678; - if(yych == 'l') goto yy678; - } - } -yy675: -#line 252 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4365 "src/sc_man_scanner.h" -yy676: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych == '+') goto yy680; - } else { - if(yych <= '-') goto yy680; - if(yych <= '/') goto yy677; - if(yych <= '9') goto yy681; - } -yy677: - YYCURSOR = YYMARKER; - if(yyaccept <= 1) { - if(yyaccept <= 0) { - goto yy639; - } else { - goto yy675; - } - } else { - goto yy649; - } -yy678: - ++YYCURSOR; -yy679: -#line 253 "src/sc_man_scanner.re" - { goto normal_token; } -#line 4391 "src/sc_man_scanner.h" -yy680: - yych = *++YYCURSOR; - if(yych <= '/') goto yy677; - if(yych >= ':') goto yy677; -yy681: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy679; - goto yy681; - } else { - if(yych == 'F') goto yy678; - goto yy679; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy678; - if(yych <= 'e') goto yy679; - goto yy678; - } else { - if(yych == 'l') goto yy678; - goto yy679; - } - } -yy683: - ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 4) YYFILL(4); - yych = *YYCURSOR; - if(yych <= 'E') { - if(yych <= '.') { - if(yych == '\'') goto yy659; - if(yych <= '-') goto yy649; - goto yy686; - } else { - if(yych <= '9') { - if(yych <= '/') goto yy649; - goto yy683; - } else { - if(yych <= '@') goto yy649; - if(yych <= 'D') goto yy659; - } - } - } else { - if(yych <= '`') { - if(yych <= 'Z') goto yy659; - if(yych == '_') goto yy659; - goto yy649; - } else { - if(yych <= 'e') { - if(yych <= 'd') goto yy659; - } else { - if(yych <= 'z') goto yy659; - if(yych <= '~') goto yy649; - goto yy659; - } - } - } -yy685: - yyaccept = 2; - yych = *(YYMARKER = ++YYCURSOR); - if(yych <= ',') { - if(yych == '+') goto yy697; - goto yy660; - } else { - if(yych <= '-') goto yy697; - if(yych <= '/') goto yy660; - if(yych <= '9') goto yy698; - goto yy660; - } -yy686: - yyaccept = 1; - yych = *(YYMARKER = ++YYCURSOR); - if(yych == 'E') goto yy689; - if(yych == 'e') goto yy689; - goto yy688; -yy687: - yyaccept = 1; - YYMARKER = ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 3) YYFILL(3); - yych = *YYCURSOR; -yy688: - if(yych <= 'K') { - if(yych <= 'D') { - if(yych <= '/') goto yy675; - if(yych <= '9') goto yy687; - goto yy675; - } else { - if(yych <= 'E') goto yy693; - if(yych <= 'F') goto yy678; - goto yy675; - } - } else { - if(yych <= 'e') { - if(yych <= 'L') goto yy678; - if(yych <= 'd') goto yy675; - goto yy693; - } else { - if(yych <= 'f') goto yy678; - if(yych == 'l') goto yy678; - goto yy675; - } - } -yy689: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych != '+') goto yy677; - } else { - if(yych <= '-') goto yy690; - if(yych <= '/') goto yy677; - if(yych <= '9') goto yy691; - goto yy677; - } -yy690: - yych = *++YYCURSOR; - if(yych <= '/') goto yy677; - if(yych >= ':') goto yy677; -yy691: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy679; - goto yy691; - } else { - if(yych == 'F') goto yy678; - goto yy679; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy678; - if(yych <= 'e') goto yy679; - goto yy678; - } else { - if(yych == 'l') goto yy678; - goto yy679; - } - } -yy693: - yych = *++YYCURSOR; - if(yych <= ',') { - if(yych != '+') goto yy677; - } else { - if(yych <= '-') goto yy694; - if(yych <= '/') goto yy677; - if(yych <= '9') goto yy695; - goto yy677; - } -yy694: - yych = *++YYCURSOR; - if(yych <= '/') goto yy677; - if(yych >= ':') goto yy677; -yy695: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy679; - goto yy695; - } else { - if(yych == 'F') goto yy678; - goto yy679; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy678; - if(yych <= 'e') goto yy679; - goto yy678; - } else { - if(yych == 'l') goto yy678; - goto yy679; - } - } -yy697: - yych = *++YYCURSOR; - if(yych <= '/') goto yy677; - if(yych <= '9') goto yy701; - goto yy677; -yy698: - ++YYCURSOR; - if((YYLIMIT - YYCURSOR) < 2) YYFILL(2); - yych = *YYCURSOR; - if(yych <= 'Z') { - if(yych <= '@') { - if(yych <= '\'') { - if(yych <= '&') goto yy679; - goto yy659; - } else { - if(yych <= '/') goto yy679; - if(yych <= '9') goto yy698; - goto yy679; - } - } else { - if(yych <= 'F') { - if(yych <= 'E') goto yy659; - } else { - if(yych != 'L') goto yy659; - } - } - } else { - if(yych <= 'f') { - if(yych <= '_') { - if(yych <= '^') goto yy679; - goto yy659; - } else { - if(yych <= '`') goto yy679; - if(yych <= 'e') goto yy659; - } - } else { - if(yych <= 'l') { - if(yych <= 'k') goto yy659; - } else { - if(yych <= 'z') goto yy659; - if(yych <= '~') goto yy679; - goto yy659; - } - } - } - yych = *++YYCURSOR; - if(yych <= 'Z') { - if(yych <= '/') { - if(yych == '\'') goto yy659; - goto yy679; - } else { - if(yych <= '9') goto yy659; - if(yych <= '@') goto yy679; - goto yy659; - } - } else { - if(yych <= '`') { - if(yych == '_') goto yy659; - goto yy679; - } else { - if(yych <= 'z') goto yy659; - if(yych <= '~') goto yy679; - goto yy659; - } - } -yy701: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych <= 'K') { - if(yych <= '9') { - if(yych <= '/') goto yy679; - goto yy701; - } else { - if(yych == 'F') goto yy678; - goto yy679; - } - } else { - if(yych <= 'f') { - if(yych <= 'L') goto yy678; - if(yych <= 'e') goto yy679; - goto yy678; - } else { - if(yych == 'l') goto yy678; - goto yy679; - } - } -yy703: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; -yy704: - if(yych == 0x0A) goto yy641; - if(yych <= ' ') goto yy703; - goto yy641; -yy705: - ++YYCURSOR; - if(YYLIMIT == YYCURSOR) YYFILL(1); - yych = *YYCURSOR; - if(yych == 0x0A) goto yy709; - goto yy705; -yy707: - ++YYCURSOR; -#line 244 "src/sc_man_scanner.re" - { goto comment; } -#line 4673 "src/sc_man_scanner.h" -yy709: - ++YYCURSOR; -#line 245 "src/sc_man_scanner.re" - { goto newline; } -#line 4678 "src/sc_man_scanner.h" -} -#line 264 "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. - 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 4708 "src/sc_man_scanner.h" -{ - YYCTYPE yych; - if((YYLIMIT - YYCURSOR) < 2) YYFILL(2); - yych = *YYCURSOR; - if(yych == 0x0A) goto yy715; - if(yych != '*') goto yy717; - ++YYCURSOR; - if((yych = *YYCURSOR) == '/') goto yy718; -yy714: -#line 313 "src/sc_man_scanner.re" - { goto comment; } -#line 4720 "src/sc_man_scanner.h" -yy715: - ++YYCURSOR; -#line 302 "src/sc_man_scanner.re" - { - if (YYCURSOR >= YYLIMIT) - { - ScriptPtr = ScriptEndPtr; - return_val = false; - goto end; - } - Line++; - Crossed = true; - goto comment; - } -#line 4735 "src/sc_man_scanner.h" -yy717: - yych = *++YYCURSOR; - goto yy714; -yy718: - ++YYCURSOR; -#line 292 "src/sc_man_scanner.re" - { - if (YYCURSOR >= YYLIMIT) - { - ScriptPtr = ScriptEndPtr; - return_val = false; - goto end; - } - goto std1; - } -#line 4751 "src/sc_man_scanner.h" -} -#line 314 "src/sc_man_scanner.re" - - -newline: - if (YYCURSOR >= YYLIMIT) - { - ScriptPtr = ScriptEndPtr; - return_val = false; - goto end; - } - Line++; - Crossed = true; - goto std1; - -normal_token: - ScriptPtr = (YYCURSOR >= YYLIMIT) ? ScriptEndPtr : cursor; - StringLen = int(ScriptPtr - tok); - if (tokens && (TokenType == TK_StringConst || TokenType == TK_NameConst)) - { - StringLen -= 2; - if (StringLen >= MAX_STRING_SIZE) - { - BigStringBuffer = FString(tok+1, StringLen); - } - else - { - memcpy (StringBuffer, tok+1, StringLen); - } - } - else - { - if (StringLen >= MAX_STRING_SIZE) - { - BigStringBuffer = FString(tok, StringLen); - } - else - { - memcpy (StringBuffer, tok, StringLen); - } - } - if (StringLen < MAX_STRING_SIZE) - { - String = StringBuffer; - StringBuffer[StringLen] = '\0'; - } - else - { - String = BigStringBuffer.LockBuffer(); - } - return_val = true; - goto end; - -string: - if (YYLIMIT != ScriptEndPtr) - { - ScriptPtr = ScriptEndPtr; - return_val = false; - goto end; - } - ScriptPtr = cursor; - BigStringBuffer = ""; - for (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 || StringLen == 0 || String[StringLen - 1] != '\\') - { - ScriptError ("Unterminated string constant"); - } - else - { - StringLen--; // overwrite the \ character with \n - } - } - Line++; - Crossed = true; - } - if (StringLen == MAX_STRING_SIZE) - { - BigStringBuffer.AppendCStrPart(StringBuffer, StringLen); - StringLen = 0; - } - StringBuffer[StringLen++] = *cursor; - } - if (BigStringBuffer.IsNotEmpty() || StringLen == MAX_STRING_SIZE) - { - BigStringBuffer.AppendCStrPart(StringBuffer, StringLen); - String = BigStringBuffer.LockBuffer(); - StringLen = int(BigStringBuffer.Len()); - } - else - { - String = StringBuffer; - StringBuffer[StringLen] = '\0'; - } - ScriptPtr = cursor + 1; - return_val = true; -end: diff --git a/src/thingdef/thingdef_properties.cpp b/src/thingdef/thingdef_properties.cpp index dced3cf02..8ebf70d93 100644 --- a/src/thingdef/thingdef_properties.cpp +++ b/src/thingdef/thingdef_properties.cpp @@ -1258,7 +1258,7 @@ DEFINE_CLASS_PROPERTY(maxamount, I, Inventory) //========================================================================== DEFINE_CLASS_PROPERTY(defmaxamount, 0, Inventory) { - defaults->MaxAmount = gameinfo.gametype == GAME_Heretic ? 16 : 25; + defaults->MaxAmount = gameinfo.definventorymaxamount; } diff --git a/src/win32/st_start.cpp b/src/win32/st_start.cpp index d2f2d0416..d343fb2b4 100644 --- a/src/win32/st_start.cpp +++ b/src/win32/st_start.cpp @@ -1090,10 +1090,12 @@ void ST_Endoom() { if (showendoom == 0) exit(0); - int endoom_lump = Wads.CheckNumForName ( - gameinfo.gametype & GAME_DoomChex ? "ENDOOM" : - gameinfo.gametype == GAME_Heretic? "ENDTEXT" : - gameinfo.gametype == GAME_Strife? "ENDSTRF" : NULL); + if (gameinfo.Endoom[0] == 0) + { + exit(0); + } + + int endoom_lump = Wads.CheckNumForName (gameinfo.Endoom); BYTE endoom_screen[4000]; BYTE *font; diff --git a/wadsrc/static/mapinfo/chex.txt b/wadsrc/static/mapinfo/chex.txt index ee80a90e5..3401551eb 100644 --- a/wadsrc/static/mapinfo/chex.txt +++ b/wadsrc/static/mapinfo/chex.txt @@ -36,6 +36,10 @@ gameinfo weaponslot = 7, "LAZDevice" dimcolor = "ff d7 00" dimamount = 0.2 + definventorymaxamount = 25 + defaultrespawntime = 12 + defaultdropstyle = 1 + endoom = "ENDOOM" } skill baby diff --git a/wadsrc/static/mapinfo/doomcommon.txt b/wadsrc/static/mapinfo/doomcommon.txt index 4339a5dcb..0a5abbcda 100644 --- a/wadsrc/static/mapinfo/doomcommon.txt +++ b/wadsrc/static/mapinfo/doomcommon.txt @@ -35,6 +35,10 @@ gameinfo weaponslot = 7, "BFG9000" dimcolor = "ff d7 00" dimamount = 0.2 + definventorymaxamount = 25 + defaultrespawntime = 12 + defaultdropstyle = 1 + endoom = "ENDOOM" } skill baby diff --git a/wadsrc/static/mapinfo/heretic.txt b/wadsrc/static/mapinfo/heretic.txt index 390152447..6136baca2 100644 --- a/wadsrc/static/mapinfo/heretic.txt +++ b/wadsrc/static/mapinfo/heretic.txt @@ -36,6 +36,10 @@ gameinfo weaponslot = 7, "Mace" dimcolor = "00 00 ff" dimamount = 0.2 + definventorymaxamount = 16 + defaultrespawntime = 12 + defaultdropstyle = 1 + endoom = "ENDTEXT" } skill baby diff --git a/wadsrc/static/mapinfo/hexen.txt b/wadsrc/static/mapinfo/hexen.txt index 603cd005a..b4ab056fb 100644 --- a/wadsrc/static/mapinfo/hexen.txt +++ b/wadsrc/static/mapinfo/hexen.txt @@ -35,6 +35,9 @@ gameinfo weaponslot = 4, "FWeapQuietus", "CWeapWraithverge", "MWeapBloodscourge" dimcolor = "00 00 ff" dimamount = 0.2 + definventorymaxamount = 25 + defaultrespawntime = 12 + defaultdropstyle = 1 } skill baby diff --git a/wadsrc/static/mapinfo/strife.txt b/wadsrc/static/mapinfo/strife.txt index e8fd62f95..28b87f357 100644 --- a/wadsrc/static/mapinfo/strife.txt +++ b/wadsrc/static/mapinfo/strife.txt @@ -37,6 +37,10 @@ gameinfo weaponslot = 8, "Sigil" dimcolor = "ff d7 00" dimamount = 0.2 + definventorymaxamount = 25 + defaultrespawntime = 16 + defaultdropstyle = 2 + endoom = "ENDSTRF" } skill baby