⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chsscan.cc

📁 五行MMORPG引擎系统V1.0
💻 CC
📖 第 1 页 / 共 5 页
字号:

      577,  591,  598,  612,  619,  633,  647,  654,  661,  675,
      478,  689,  696,  709,  712,  725,  738,  751,  764,  778,
      781,  795,  808,  820,  823,  836,  849,  503,  862,  875
    } ;

static yyconst short int yy_def[331] =
    {   0,
      300,    1,  301,  301,  300,  300,  300,  300,  300,  300,
      302,  300,  303,  303,  300,  304,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  305,  305,  305,  305,  305,  300,  300,
      300,  305,  305,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  300,  300,  300,  300,  300,
      306,  300,  307,  300,  300,  300,  302,  300,  302,  300,
      300,  308,  300,  309,  300,  300,  300,  300,  304,  300,
      304,  300,  300,  300,  300,  300,  300,  300,  300,  310,
      300,  300,  300,  300,  311,  300,  300,  300,  300,  300,

      300,  305,  300,  305,  305,  305,  312,  300,  305,  305,
      305,  305,  305,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  305,  305,  305,  305,  305,
      300,  300,  305,  306,  300,  307,  300,  307,  300,  300,
      300,  300,  300,  313,  300,  309,  309,  300,  310,  300,
      300,  300,  311,  300,  300,  300,  305,  305,  312,  300,
      312,  305,  305,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  305,  305,  305,  305,  305,
      300,  300,  313,  313,  300,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  305,  305,  305,  305,  305,

      305,  300,  300,  305,  305,  305,  305,  305,  305,  305,
      305,  305,  305,  305,  305,  300,  300,  305,  305,  305,
      305,  305,  305,  305,  305,  314,  300,  305,  305,  305,
      305,  305,  305,  300,  315,  316,  300,  300,  305,  305,
      305,  305,  317,  300,  318,  316,  300,  300,  319,  305,
      305,  317,  317,  300,  320,  321,  322,  323,  300,  300,
      324,  300,  325,  326,  300,  320,  300,  320,  327,  300,
      322,  322,  300,  323,  300,  300,  300,  300,  328,  329,
      324,  300,  329,  330,  300,  300,  326,  300,  300,  327,
      327,  300,  300,  300,  300,  328,  330,  330,  300,    0,

      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300
    } ;

static yyconst short int yy_nxt[962] =
    {   0,
        6,    7,    8,    9,   10,   11,   12,   13,   14,   15,
       16,   17,   18,   19,   20,   21,   22,   23,   24,   25,
       26,   27,   28,   29,   30,   31,   32,   33,   34,   34,
       34,   34,   34,   34,   34,   35,   34,   36,   37,   38,
       34,   39,    6,   40,   41,   34,   42,   43,   44,   45,
       46,   34,   34,   47,   34,   34,   34,   48,   49,   50,
       51,   52,   53,   34,   54,   55,   56,   57,   58,   59,
       60,   62,   62,   65,   68,   72,   72,   70,   77,   83,
       73,   80,   63,   63,   71,  104,   72,   72,   85,   84,
       66,   76,  107,   78,   88,   88,   86,   87,   89,   92,

      105,   93,   93,   90,   92,  106,   93,   93,  116,   91,
      297,   69,  290,   81,   94,   97,   98,  100,  101,   94,
      109,  103,   95,  103,  120,  110,   75,  111,  113,  124,
      117,   94,  114,  125,  103,  103,   94,   75,  121,  103,
      112,  115,  122,  118,  103,  126,  127,  103,  119,  128,
      129,  103,  103,  103,  130,  103,  123,  103,  103,  103,
      131,   68,  137,  103,   72,   72,  103,  147,   80,   88,
       88,  158,  103,  138,  157,  103,  150,  150,  139,   92,
      160,   93,   93,  151,  162,  151,  163,  164,  152,  152,
      167,  165,  170,  166,   94,  171,  103,  168,   69,  172,

       81,  103,  103,  132,  103,  169,  103,  103,  103,  103,
      103,   94,  103,  103,  103,  145,  148,  161,  173,  174,
      103,  175,  176,  103,  177,  178,  179,  137,  180,  184,
      103,  137,  103,  147,  103,  147,  103,  160,  300,  150,
      150,  103,  138,  300,  103,  103,  186,  139,  152,  152,
      152,  152,   94,  189,  187,  188,  190,  193,  191,  103,
      196,  103,  199,  194,  192,  198,  103,  195,  200,   94,
      103,  197,  103,  184,  161,  103,  103,  201,  185,  103,
      184,  103,  148,  103,  148,  103,  103,  103,  103,  103,
      204,  205,  103,  206,  207,  208,  209,  210,  212,  211,

      215,  213,  103,  214,  219,  103,  103,  103,  103,  220,
      103,  103,  218,  221,  223,  224,  222,  103,  103,  103,
      225,  103,  185,  103,  103,  103,  103,  103,  103,  185,
      103,  229,  228,  103,  230,  231,  232,  233,  103,  103,
      234,  239,  103,  103,  226,  240,  241,  103,  242,  245,
      235,  235,  251,  250,  245,  267,  245,  249,  103,  103,
      267,  103,  103,  263,  263,  245,  267,  287,  103,  103,
      247,  103,  245,  103,  253,  247,  255,  247,  256,  256,
      300,  257,  288,  273,  267,  253,  247,  273,  258,  286,
      259,  260,  268,  247,  295,  295,  273,  268,  272,  273,

      253,  300,  284,  103,  276,  275,  275,  273,  276,  280,
      288,  273,  277,  237,  260,  260,  272,  276,  248,  291,
      276,  273,  276,  254,  271,  248,  265,  278,  276,  273,
      273,  269,  276,  266,  254,  279,  273,  277,  286,  260,
      260,  262,  276,  273,  278,  274,  286,  280,  280,  254,
      276,  276,  278,  273,  300,  300,  286,  276,  289,  288,
      264,  275,  275,  285,  276,  273,  298,  288,  292,  278,
      273,  293,  293,  294,  276,  294,  300,  288,  295,  295,
      282,  274,  273,  280,  280,  153,  276,  273,  273,  153,
      291,  276,  283,  270,  252,  103,  291,  300,  282,  282,

      293,  293,  286,  276,  103,  295,  295,  300,  276,  276,
      296,  246,  247,  278,  296,  299,  243,  103,  103,  249,
      236,  244,  298,  288,  103,  289,  103,  298,  300,  238,
      278,  103,  227,  226,  282,  103,  103,  103,  103,  292,
      217,  216,  103,  103,  103,  292,  103,  183,  203,  202,
      103,  103,  103,  300,  103,  103,  146,  144,  182,  181,
      135,  103,  103,  103,  103,  103,  102,  103,  156,  155,
      154,  299,   79,   74,  143,  142,  299,   61,   61,   61,
       61,   61,   61,   61,   61,   61,   61,   61,   61,   61,
       61,   67,   67,   67,   67,   67,   67,   67,   67,   67,

       67,   67,   67,   67,   67,   74,  141,  140,   74,   74,
       74,   74,   79,   79,   64,   79,   79,   79,   79,   79,
       79,   79,   79,   79,   79,   79,  102,  135,  133,  108,
      102,  102,  102,  134,  134,  134,  134,  134,  103,  134,
      134,  134,  134,  134,  134,  134,  134,  136,  136,  136,
      136,  136,  136,  136,  136,  136,  136,  136,  136,  136,
      136,  144,   99,   96,   82,  144,  144,  144,  146,  146,
       64,  300,  146,  146,  146,  149,  149,  300,  149,  149,
      149,  149,  149,  149,  149,  149,  149,  149,  149,  159,
      159,  159,  159,  159,  159,  159,  159,  159,  159,  159,

      159,  159,  159,  183,  183,  300,  300,  183,  183,  183,
      236,  300,  300,  236,  300,  300,  300,  300,  300,  300,
      236,  236,  236,  243,  243,  243,  246,  300,  300,  300,
      300,  300,  246,  300,  246,  300,  246,  246,  246,  252,
      300,  300,  300,  300,  300,  252,  252,  252,  300,  252,
      252,  252,  261,  300,  261,  261,  300,  261,  261,  300,
      261,  300,  261,  261,  261,  264,  300,  300,  264,  300,
      300,  300,  300,  300,  300,  264,  264,  264,  266,  266,
      300,  266,  266,  266,  266,  266,  266,  266,  266,  266,
      266,  266,  269,  269,  269,  271,  271,  300,  271,  271,

      271,  271,  271,  271,  271,  271,  271,  271,  271,  274,
      300,  300,  300,  300,  274,  274,  300,  274,  300,  274,
      274,  281,  300,  300,  300,  300,  281,  281,  300,  281,
      300,  281,  281,  281,  284,  284,  284,  287,  300,  300,
      300,  300,  300,  287,  300,  287,  300,  287,  287,  287,
      290,  300,  300,  300,  300,  300,  290,  290,  290,  300,
      290,  290,  290,  280,  300,  300,  300,  300,  300,  280,
      300,  280,  300,  280,  280,  280,  297,  300,  300,  300,
      300,  300,  297,  297,  297,  300,  297,  297,  297,    5,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,

      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300
    } ;

static yyconst short int yy_chk[962] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    3,    4,   10,   11,   13,   13,   12,   15,   20,
       13,   16,    3,    4,   12,   35,   14,   14,   22,   20,
       10,   14,   38,   15,   23,   23,   22,   22,   24,   25,

       36,   25,   25,   24,   26,   37,   26,   26,   45,   24,
      299,   11,  292,   16,   25,   29,   29,   31,   31,   26,
       42,   35,   25,   45,   47,   42,   13,   43,   44,   49,
       46,   25,   44,   50,   36,   42,   26,   14,   48,   49,
       43,   44,   48,   46,   47,   51,   52,   37,   46,   53,
       54,   52,   43,   44,   55,   46,   48,   38,   50,   53,
       57,   67,   63,   48,   72,   72,   51,   74,   79,   88,
       88,  106,   55,   63,  105,   54,   92,   92,   63,   93,
      107,   93,   93,   94,  109,   94,  110,  111,   94,   94,
      114,  112,  118,  113,   93,  119,  111,  116,   67,  121,

       79,  113,  118,   57,  112,  117,  116,  110,  119,  109,
      114,   93,  106,  121,  105,   72,   74,  107,  122,  123,
      117,  125,  126,  122,  127,  128,  129,  136,  130,  144,
      126,  138,  128,  146,  123,  147,  129,  159,  136,  150,
      150,  127,  138,  136,  125,  130,  162,  138,  151,  151,
      152,  152,  150,  165,  163,  164,  166,  169,  167,  162,
      174,  165,  177,  171,  168,  176,  169,  172,  178,  150,
      177,  175,  176,  183,  159,  174,  164,  180,  144,  163,
      184,  166,  146,  167,  147,  168,  171,  175,  172,  178,
      186,  187,  180,  189,  190,  191,  193,  194,  197,  195,

      201,  198,  191,  199,  207,  194,  186,  187,  195,  208,
      189,  198,  206,  210,  212,  213,  211,  193,  190,  207,
      214,  201,  183,  197,  208,  206,  199,  211,  213,  184,
      210,  219,  218,  212,  220,  221,  222,  223,  214,  218,
      225,  228,  220,  219,  226,  229,  231,  221,  232,  236,
      226,  226,  242,  240,  243,  255,  246,  249,  223,  231,
      266,  222,  228,  249,  249,  252,  257,  289,  229,  240,
      236,  232,  245,  242,  243,  243,  245,  246,  245,  245,
      253,  245,  288,  267,  271,  252,  252,  258,  245,  264,
      245,  245,  255,  245,  294,  294,  259,  266,  257,  269,

      253,  253,  285,  225,  267,  258,  258,  273,  258,  282,
      264,  280,  259,  226,  259,  259,  271,  259,  236,  269,
      269,  260,  276,  243,  272,  246,  249,  259,  273,  261,
      283,  270,  280,  268,  252,  259,  274,  260,  286,  260,
      260,  245,  260,  275,  259,  261,  284,  261,  261,  253,
      261,  283,  260,  277,  274,  274,  287,  274,  264,  286,
      265,  275,  275,  263,  275,  281,  284,  284,  269,  260,
      290,  277,  277,  278,  277,  278,  291,  287,  278,  278,
      280,  281,  293,  281,  281,  311,  281,  295,  296,  311,
      290,  290,  262,  256,  254,  251,  291,  291,  261,  283,

      293,  293,  297,  293,  250,  295,  295,  298,  295,  296,
      328,  248,  247,  293,  328,  284,  244,  241,  239,  238,
      237,  235,  297,  297,  233,  287,  230,  298,  298,  227,
      293,  224,  217,  216,  281,  215,  209,  205,  204,  290,
      203,  202,  200,  196,  192,  291,  188,  185,  182,  181,
      179,  173,  170,  161,  158,  157,  148,  145,  143,  142,
      134,  133,  124,  120,  115,  104,  103,  102,  101,   99,
       97,  297,   81,   75,   71,   70,  298,  301,  301,  301,
      301,  301,  301,  301,  301,  301,  301,  301,  301,  301,
      301,  302,  302,   69,  302,  302,  302,  302,  302,  302,

      302,  302,  302,  302,  302,  303,   66,   65,  303,  303,
      303,  303,  304,  304,   64,  304,  304,  304,  304,  304,
      304,  304,  304,  304,  304,  304,  305,   61,   60,   41,
      305,  305,  305,  306,  306,  306,  306,  306,   34,  306,
      306,  306,  306,  306,  306,  306,  306,  307,  307,  307,
      307,  307,  307,  307,  307,  307,  307,  307,  307,  307,
      307,  308,   30,   27,   19,  308,  308,  308,  309,  309,
        7,    5,  309,  309,  309,  310,  310,    0,  310,  310,
      310,  310,  310,  310,  310,  310,  310,  310,  310,  312,
      312,  312,  312,  312,  312,  312,  312,  312,  312,  312,

      312,  312,  312,  313,  313,    0,    0,  313,  313,  313,
      314,    0,    0,  314,    0,    0,    0,    0,    0,    0,
      314,  314,  314,  315,  315,  315,  316,    0,    0,    0,
        0,    0,  316,    0,  316,    0,  316,  316,  316,  317,
        0,    0,    0,    0,    0,  317,  317,  317,    0,  317,
      317,  317,  318,    0,  318,  318,    0,  318,  318,    0,
      318,    0,  318,  318,  318,  319,    0,    0,  319,    0,
        0,    0,    0,    0,    0,  319,  319,  319,  320,  320,
        0,  320,  320,  320,  320,  320,  320,  320,  320,  320,
      320,  320,  321,  321,  321,  322,  322,    0,  322,  322,

      322,  322,  322,  322,  322,  322,  322,  322,  322,  323,
        0,    0,    0,    0,  323,  323,    0,  323,    0,  323,
      323,  324,    0,    0,    0,    0,  324,  324,    0,  324,
        0,  324,  324,  324,  325,  325,  325,  326,    0,    0,
        0,    0,    0,  326,    0,  326,    0,  326,  326,  326,
      327,    0,    0,    0,    0,    0,  327,  327,  327,    0,
      327,  327,  327,  329,    0,    0,    0,    0,    0,  329,
        0,  329,    0,  329,  329,  329,  330,    0,    0,    0,
        0,    0,  330,  330,  330,    0,  330,  330,  330,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,

      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300,  300,  300,  300,  300,  300,  300,  300,  300,  300,
      300
    } ;

static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;

/* The intent behind this definition is that it'll catch
 * any uses of REJECT which flex missed.
 */
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
char *yytext;
#line 1 "f:\\Torque\\sdk14\\engine\\console\\CHSscan.l"
#define INITIAL 0
#line 2 "f:\\Torque\\sdk14\\engine\\console\\CHSscan.l"
#define YYLMAX 4096

#include <stdio.h>
#include "platform/platform.h"
#include "core/stringTable.h"
#include "console/console.h"
#include "console/macroManager.h"
#define _CMDGRAM_H_
#include "console/compiler.h"
#include "console/chsgram.h"

using namespace Compiler;

#define YY_NEVER_INTERACTIVE 1

// Some basic parsing primitives...
static int Sc_ScanString(int ret);
static int Sc_ScanNum();
static int Sc_ScanVar();
static int Sc_ScanHex();
static void Sc_RegisterMacro(int nBase,bool bMacro=true);
static StringTableEntry Sc_FindMacro(StringTableEntry pName);

// Deal with debuggability of FLEX.
#ifdef TORQUE_DEBUG
#define FLEX_DEBUG 1
#else
#define FLEX_DEBUG 0
#endif

// Install our own input code...
#undef CHSgetc
int CHSgetc();

// Hack to make windows lex happy.
#ifndef isatty
inline int isatty(int) { return 0; }
#endif

// Wrap our getc, so that lex doesn't try to do its own buffering/file IO.
#define YY_INPUT(buf,result,max_size) \
   { \
      int c = '*', n; \
      for ( n = 0; n < max_size && \
            (c = CHSgetc()) != EOF && c != '\n'; ++n ) \
         buf[n] = (char) c; \
      if ( c == '\n' ) \
         buf[n++] = (char) c; \
      result = n; \
   }

// General helper stuff.
static int lineIndex;

// File state
void CHSSetScanBuffer(const char *sb, const char *fn);
const char * CHSgetFileLine(int &lineNumber);

// Error reporting
void CHSerror(char * s, ...);

// Reset the parser.
void CHSrestart(FILE *in);

/*
	Float  	0.0   0e0  0.0e0  0e+0
				.0		0.
*/
#define commentBlock 1

#line 770 "f:\\Torque\\sdk14\\engine\\console\\\\CHSscan.cc"

/* Macros after this point can all be overridden by user definitions in
 * section 1.
 */

#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif

#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif

#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif

#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif

#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif

#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif

#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines.  This will fail
 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
 * or sizeof(void*) != sizeof(int).
 */
#endif
#endif

/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -