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

📄 player_command_tok.cc

📁 在LINUX下运行的仿真机器人服务器源代码
💻 CC
📖 第 1 页 / 共 4 页
字号:
#define yyFlexLexer RCSSPComFlexLexer#line 4 "player_command_tok.cc"/* A lexical scanner generated by flex *//* Scanner skeleton version: * $Header: /cvs/root/flex/flex/skel.c,v 1.2 2004/05/07 00:28:17 jkh Exp $ */#define FLEX_SCANNER#define YY_FLEX_MAJOR_VERSION 2#define YY_FLEX_MINOR_VERSION 5/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */#ifdef c_plusplus#ifndef __cplusplus#define __cplusplus#endif#endif#ifdef __cplusplus#include <stdlib.h>#include <iostream>using namespace std;#include <unistd.h>/* Use prototypes in function declarations. */#define YY_USE_PROTOS/* The "const" storage-class-modifier is valid. */#define YY_USE_CONST#else	/* ! __cplusplus */#if __STDC__#define YY_USE_PROTOS#define YY_USE_CONST#endif	/* __STDC__ */#endif	/* ! __cplusplus */#ifdef __TURBOC__ #pragma warn -rch #pragma warn -use#include <io.h>#include <stdlib.h>#define YY_USE_CONST#define YY_USE_PROTOS#endif#ifdef YY_USE_CONST#define yyconst const#else#define yyconst#endif#ifdef YY_USE_PROTOS#define YY_PROTO(proto) proto#else#define YY_PROTO(proto) ()#endif/* Returned upon end-of-file. */#define YY_NULL 0/* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index.  If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)/* Enter a start condition.  This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */#define BEGIN yy_start = 1 + 2 */* Translate the current start state into a value that can be later handed * to BEGIN to return to the state.  The YYSTATE alias is for lex * compatibility. */#define YY_START ((yy_start - 1) / 2)#define YYSTATE YY_START/* Action number for EOF rule of a given start state. */#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)/* Special action meaning "start processing a new file". */#define YY_NEW_FILE yyrestart( yyin )#define YY_END_OF_BUFFER_CHAR 0/* Size of default input buffer. */#define YY_BUF_SIZE 16384typedef struct yy_buffer_state *YY_BUFFER_STATE;extern int yyleng;#define EOB_ACT_CONTINUE_SCAN 0#define EOB_ACT_END_OF_FILE 1#define EOB_ACT_LAST_MATCH 2/* The funky do-while in the following #define is used to turn the definition * int a single C statement (which needs a semi-colon terminator).  This * avoids problems with code like: * * 	if ( condition_holds ) *		yyless( 5 ); *	else *		do_something_else(); * * Prior to using the do-while the compiler would get upset at the * "else" because it interpreted the "if" statement as being all * done when it reached the ';' after the yyless() call. *//* Return all but the first 'n' matched characters back to the input stream. */#define yyless(n) \	do \		{ \		/* Undo effects of setting up yytext. */ \		*yy_cp = yy_hold_char; \		YY_RESTORE_YY_MORE_OFFSET \		yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \		YY_DO_BEFORE_ACTION; /* set up yytext again */ \		} \	while ( 0 )#define unput(c) yyunput( c, yytext_ptr )/* The following is because we cannot portably get our hands on size_t * (without autoconf's help, which isn't available because we want * flex-generated scanners to compile on their own). */typedef unsigned int yy_size_t;struct yy_buffer_state	{	istream* yy_input_file;	char *yy_ch_buf;		/* input buffer */	char *yy_buf_pos;		/* current position in input buffer */	/* Size of input buffer in bytes, not including room for EOB	 * characters.	 */	yy_size_t yy_buf_size;	/* Number of characters read into yy_ch_buf, not including EOB	 * characters.	 */	int yy_n_chars;	/* Whether we "own" the buffer - i.e., we know we created it,	 * and can realloc() it to grow it, and should free() it to	 * delete it.	 */	int yy_is_our_buffer;	/* Whether this is an "interactive" input source; if so, and	 * if we're using stdio for input, then we want to use getc()	 * instead of fread(), to make sure we stop fetching input after	 * each newline.	 */	int yy_is_interactive;	/* Whether we're considered to be at the beginning of a line.	 * If so, '^' rules will be active on the next match, otherwise	 * not.	 */	int yy_at_bol;	/* Whether to try to fill the input buffer when we reach the	 * end of it.	 */	int yy_fill_buffer;	int yy_buffer_status;#define YY_BUFFER_NEW 0#define YY_BUFFER_NORMAL 1	/* When an EOF's been seen but there's still some text to process	 * then we mark the buffer as YY_EOF_PENDING, to indicate that we	 * shouldn't try reading from the input source any more.  We might	 * still have a bunch of tokens to match, though, because of	 * possible backing-up.	 *	 * When we actually see the EOF, we change the status to "new"	 * (via yyrestart()), so that the user can continue scanning by	 * just pointing yyin at a new input file.	 */#define YY_BUFFER_EOF_PENDING 2	};/* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". */#define YY_CURRENT_BUFFER yy_current_bufferstatic void *yy_flex_alloc YY_PROTO(( yy_size_t ));static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));static void yy_flex_free YY_PROTO(( void * ));#define yy_new_buffer yy_create_buffer#define yy_set_interactive(is_interactive) \	{ \	if ( ! yy_current_buffer ) \		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \	yy_current_buffer->yy_is_interactive = is_interactive; \	}#define yy_set_bol(at_bol) \	{ \	if ( ! yy_current_buffer ) \		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \	yy_current_buffer->yy_at_bol = at_bol; \	}#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)#define yywrap() 1#define YY_SKIP_YYWRAPtypedef unsigned char YY_CHAR;#define yytext_ptr yytext#define YY_INTERACTIVE#include "player_command_tok.h"int yyFlexLexer::yylex()	{	LexerError( "yyFlexLexer::yylex invoked but %option yyclass used" );	return 0;	}#define YY_DECL int RCSSPComLexer::yylex()/* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */#define YY_DO_BEFORE_ACTION \	yytext_ptr = yy_bp; \	yyleng = (int) (yy_cp - yy_bp); \	yy_hold_char = *yy_cp; \	*yy_cp = '\0'; \	yy_c_buf_p = yy_cp;#define YY_NUM_RULES 48#define YY_END_OF_BUFFER 49static yyconst short int yy_accept[186] =    {   0,        0,    0,   49,   47,   39,   39,   47,    1,    2,   47,       44,   47,   40,   44,   44,   44,   37,   44,   44,   44,       44,   32,   44,   44,   44,   36,   33,   44,   44,   44,       44,   39,    0,    0,    0,   41,   44,   41,   42,   40,       44,   44,   44,   44,   44,   44,   44,   44,   44,   44,       44,   44,   44,   44,   44,   44,   44,   44,   26,   44,       44,   44,   44,   44,   44,   44,   44,   44,   44,   44,       44,   45,    0,    0,    0,   44,   43,   44,   14,   44,       44,   44,   44,   44,   44,   20,   44,   44,   44,   24,       44,   44,   44,   27,   29,   28,   44,   44,   44,    8,       44,   44,   44,   44,   38,   44,    0,   43,   44,   44,       44,   44,   44,    3,   15,   25,    6,   30,   11,   44,       44,   44,   44,   44,   44,   44,   44,    4,   23,    0,       44,    7,   44,   19,   44,   44,   44,   44,   44,   44,       31,   10,   44,   44,   44,    0,   44,   44,   44,   44,       21,   22,   44,   44,   44,   18,   44,   46,   44,   44,       44,   44,   34,   16,   44,   44,   44,   44,   35,   44,       44,   44,   44,   44,   44,   44,    5,   44,   44,   44,        9,   17,   12,   13,    0    } ;static yyconst int yy_ec[256] =    {   0,        1,    1,    1,    1,    1,    1,    1,    1,    2,    3,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    4,    1,    5,    1,    1,    1,    1,    1,    6,        7,    8,    9,    1,   10,   11,    8,   12,   12,   12,       12,   12,   12,   12,   12,   12,   12,    1,    1,    8,        1,    8,    8,    1,   13,   13,   13,   13,   14,   13,       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,        1,    1,    1,    1,   15,    1,   16,   17,   18,   19,       20,   21,   22,   23,   24,   13,   25,   26,   27,   28,       29,   30,   13,   31,   32,   33,   34,   35,   36,   13,       37,   13,    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,    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    } ;static yyconst int yy_meta[38] =    {   0,        1,    1,    1,    2,    1,    2,    2,    2,    2,    3,        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,        3,    3,    3,    3,    3,    3,    3    } ;static yyconst short int yy_base[189] =    {   0,        0,    0,  380,  381,   36,   39,    0,  347,  381,   33,       35,  366,   37,  366,   39,   41,   42,   44,   43,   45,       50,   55,   51,   65,   68,   66,   59,   81,   74,   80,       82,   84,  371,  359,  362,   93,  362,   98,  102,  109,      115,  100,  108,  104,  119,  120,  121,  106,  123,  128,      130,  129,  132,  131,  133,  134,  135,  139,  361,  143,      138,  144,  146,  150,  145,  147,  151,  153,  152,  163,      166,  381,  334,  177,  358,   52,  169,  173,  358,  177,      179,  180,  167,  181,  185,  357,  187,  188,  189,  356,      191,  190,  192,  355,  354,  353,  195,  198,  201,  352,      203,  204,  205,  207,  351,  209,  357,  348,  212,  214,      216,  220,  221,  348,  347,  346,  345,  339,  338,  222,      228,  230,  232,  234,  235,  237,  238,  245,  337,    0,      239,  336,  242,  334,  248,  250,  247,  252,  255,  258,      332,  331,  262,  264,  265,  334,  263,  270,  268,  271,      329,  327,  269,  275,  277,  326,  278,  329,  279,  281,      285,  286,  324,  322,  288,  289,  291,  298,  321,  299,      295,  300,  301,  304,  302,  309,  319,  310,  315,  316,      318,  317,  206,   92,  381,  350,   64,  352    } ;static yyconst short int yy_def[189] =    {   0,      185,    1,  185,  185,  185,  185,  186,  185,  185,  185,      187,  185,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  185,  186,  185,  185,  185,  187,  187,  185,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  185,  185,  185,  185,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  185,  185,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  188,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  188,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  188,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,  187,  187,  187,  187,  187,  187,      187,  187,  187,  187,    0,  185,  185,  185    } ;static yyconst short int yy_nxt[419] =    {   0,        4,    5,    6,    5,    7,    8,    9,    4,   10,   11,       12,   13,   14,   14,   14,   15,   16,   17,   18,   19,       14,   14,   20,   14,   21,   22,   23,   24,   25,   26,       27,   28,   29,   14,   30,   31,   14,   32,   32,   32,       32,   32,   32,   35,   36,   35,   38,   35,   40,  185,       41,  185,  185,  185,  185,  185,   41,   44,   50,   48,      185,  185,  185,   77,   45,  185,   37,   46,   51,  185,       47,   42,   49,   52,   53,  185,  185,   43,  185,   55,       56,   62,   64,   54,  185,   32,   32,   32,   58,   68,      185,  185,  185,   57,   63,   59,   65,   60,   66,   70,       67,   61,  185,   35,   36,   71,   74,   69,   35,   38,      185,   41,   74,   39,  185,   74,  185,   41,  185,   35,       40,   74,   41,   75,   76,  185,   77,   79,   41,  185,      185,  185,   78,  185,   81,   82,   80,   84,  185,  185,      185,  185,  185,  185,  185,  185,   88,   83,  185,  185,       85,   87,   89,  185,  185,  185,  185,  185,   86,   94,      185,  185,  185,  185,   92,   93,   90,   91,   96,   98,      103,   99,   95,  185,   97,  101,  185,  185,  102,  185,       77,  100,  104,  185,  106,   75,   75,  185,  108,  185,      185,  185,  109,  105,  110,  185,  113,  185,  185,  185,      185,  185,  185,  114,  115,  185,  111,  112,  185,  116,      119,  185,  117,  185,  185,  185,  185,  185,  121,  185,      120,  118,  185,  124,  185,  123,  185,  122,  129,  127,      185,  185,  185,  125,  128,  126,  132,  133,  185,  131,      185,  134,  185,  138,  185,  185,  135,  185,  185,  185,      137,  136,  185,  139,  142,  185,  143,  185,  185,  145,      185,  148,  185,  144,  140,  185,  141,  149,  185,  150,      153,  147,  185,  185,  185,  185,  155,  152,  185,  185,      185,  185,  151,  156,  160,  185,  159,  185,  185,  185,      154,  185,  157,  165,  163,  185,  185,  166,  185,  185,      161,  185,  162,  164,  169,  185,  172,  167,  185,  185,      185,  185,  185,  176,  185,  168,  171,  170,  173,  185,      185,  174,  175,  179,  177,  185,  185,  185,  185,  185,      180,  185,  185,  178,  185,  158,  185,  185,  182,  185,      158,  185,  185,  184,  185,  181,  185,  185,  185,  185,      183,   33,   33,  146,  146,  185,  185,  185,  185,  108,      130,  185,  185,  185,  185,  185,  185,  185,  185,  108,      107,  185,  185,   39,   73,   72,  185,   39,   34,  185,        3,  185,  185,  185,  185,  185,  185,  185,  185,  185,      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,      185,  185,  185,  185,  185,  185,  185,  185    } ;static yyconst short int yy_chk[419] =    {   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,    5,    5,    5,        6,    6,    6,   10,   10,   11,   11,   13,   13,   15,       13,   16,   17,   19,   18,   20,   13,   17,   19,   18,       21,   23,   76,   76,   17,   22,  187,   17,   20,   27,       17,   15,   18,   21,   22,   24,   26,   16,   25,   23,       24,   26,   27,   22,   29,   32,   32,   32,   25,   29,       30,   28,   31,   24,   26,   25,   28,   25,   28,   30,       28,   25,  184,   36,   36,   31,   36,   29,   38,   38,       42,   38,   36,   39,   44,   39,   48,   38,   43,   40,       40,   39,   40,   41,   41,   41,   41,   43,   40,   45,       46,   47,   42,   49,   45,   46,   44,   48,   50,   52,       51,   54,   53,   55,   56,   57,   52,   47,   61,   58,       49,   51,   53,   60,   62,   65,   63,   66,   50,   58,       64,   67,   69,   68,   56,   57,   54,   55,   61,   63,       68,   64,   60,   70,   62,   66,   71,   83,   67,   77,       77,   65,   69,   78,   71,   74,   74,   80,   74,   81,       82,   84,   78,   70,   80,   85,   83,   87,   88,   89,       92,   91,   93,   84,   85,   97,   81,   82,   98,   87,       91,   99,   88,  101,  102,  103,  183,  104,   93,  106,       92,   89,  109,   99,  110,   98,  111,   97,  106,  103,

⌨️ 快捷键说明

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