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

📄 test30_tab.c

📁 使用flex和bison
💻 C
📖 第 1 页 / 共 5 页
字号:
"RIGHTVE","VVEE","NOTVVEE","VE","ELSEIF","ELSESF","VOID","SQLSELECT","SQLCOMMAND",
"STOI","ITOS","COMMENT","SETCHANTIMER","GETFREECHAN","GETFREECONFNO","GETFIELDVALUE",
"GETAFFECTEDROW","HANGUPPROC","GETSUBSTRING","GETRAND","GETRANDKEY","FINDFILE",
"JUMPAGENT","GETNOWTIME","STMTEND","ASSIGN","PLUS","MINUS","TIMES","DIV","JUMPFLOW",
"WHILE","STRLEN","LINKPCMFILE","SLEEP","GOTOFLOW","GOTOSUBFLOW","SENDANC","GETUSEDSECONDS",
"GETDIALINTIME","ENTERSECTION","LEAVESECTION","ONHOOK","OFFHOOK","USERHANGUP",
"USERCALLIN","AGENTDIGIT","AGENTREQ","SWITCHAGENT","AGENTCALLOUT","AGENTIVRREQ",
"LOGMSG","RGOTO","LISTENAGENT","BREAKAGENT","GETCONFNOMEMBERS","AGENTPLAYRING",
"AGENTREQEX","GETFREEIPCHANNO","IPCALL","MOD","TIMESPAN","SETDIALINTIME","CHECKINTSECTION",
"CHECKSTRINGSECTION","DATEDIFF","GETUSEDCHAN","HANGUPDEST","STARTRECORD","STARTLINERECORD",
"AGENTIPCALL","AGENTIPREQ","IVRIPREQ","CHECKNETCONNECTION","ADDNETCONNECTION",
"SETDIALOUTORICALLEENUM","VTTALKWITH","VTSETSCALE","SETPROCEVENT","AGENTEVENTPROC",
"AGENTEVENTPROCSTART","AGENTEVENTPROCEND","WAITEVENTPROC","LJOINCONF","RESETCONF",
"SHAREFLOWVAR","CHECKDIRECTORY","RESETAGENT","CONFSTOPFILE","JOINMULTICONF",
"LINEISOFFHOOK","GETRECORDSECONDS","STARTRECORDCTOC","GETFREECHANWITHLINK","SETORICALLEE",
"REQUESTSERVICE","INTERSERVICE","','","program","declaration_list","declaration",
"hangup_declaration","onhook_declaration","offhook_declaration","usercallin_declaration",
"userhangup_declaration","agentdigit_declaration","agenteventproc_declaration",
"waiteventproc_declaration","interservice_declaration","statehangupproc","stateonhook",
"stateinterservice","stateoffhook","stateagenteventproc","statewaiteventproc",
"stateusercallin","stateuserhangup","stateagentdigit","hangupstatement_list",
"hangupstatement","var_declaration","assign_stmt","myexpression","sysfun_expression",
"assign_head","string_declaration","string_identifer","expression_list","expression",
"int_declaration","int_identifer","state_declaration","statestartp","init","proc",
"statement_list","statement","gotoflow","logmsg","gotosubflow","hangupdest",
"sleep","setdialintime","agenteventprocstart","agenteventprocend","agentivrreq",
"ivripreq","agentipreq","setchantimer","linkpcmfile","sqlcommand","sqlselect",
"sf_stmt","sf_identiferp","elsesf_list","elsesf_statementp","elsesf_statement",
"elsesf_identifer","elseif_identifer","elseif_list","elseif_statementp","elseif_statement",
"while_stmt","while_stmtp","while_identifer","if_stmt","if_identiferp","leftk_identifer",
"rightk_identifer","string_bool_expression","int_bool_expression","sf_identifer",
"if_identifer","else_identifer","switch_stmt","switct_identifer","case_stmt_list",
"break_identifer","case_stmt","case_stmtl","default_stmt","default_stmtl","goto_stmt",
"rgoto_stmt","playfile","dialout","ipcall","agentipcall","agentcallout","readdigits",
"resetagent","listenagent_stmt","breakagent_stmt","confplayfile","joinconf",
"joinmulticonf","ljoinconf","agentplayring","talkwith","lineisoffhook","vttalkwith",
"vtsetscale","setprocevent","beginsection","endsection","jumpagent","sendanc",
"agentreq","agentreqex","switchagent","recfile","shareflowvar","confrecfile",
"setoricallee","checkdirectory","setdialoutoricalleenum","startrecord","startrecordctoc",
"startlinerecord","hangup","confstopfile","requestservice",""
};
#endif

static const short yyr1[] = {     0,
   141,   142,   142,   143,   143,   143,   143,   143,   143,   143,
   143,   143,   143,   143,   144,   145,   146,   146,   147,   147,
   148,   148,   149,   149,   150,   150,   151,   151,   152,   152,
   153,   154,   155,   156,   157,   158,   159,   160,   161,   162,
   162,   163,   163,   163,   163,   163,   163,   163,   163,   163,
   163,   163,   163,   163,   163,   163,   164,   164,   165,   166,
   166,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   167,   167,   167,   167,   167,
   167,   167,   167,   167,   167,   168,   169,   169,   169,   170,
   171,   171,   172,   172,   172,   172,   172,   172,   172,   172,
   173,   173,   173,   174,   175,   175,   176,   177,   178,   179,
   179,   180,   180,   180,   180,   180,   180,   180,   180,   180,
   180,   180,   180,   180,   180,   180,   180,   180,   180,   180,
   180,   180,   180,   180,   180,   180,   180,   180,   180,   180,
   180,   180,   180,   180,   180,   180,   180,   180,   180,   180,
   180,   180,   180,   180,   180,   180,   180,   180,   180,   180,
   180,   180,   180,   180,   180,   180,   180,   180,   180,   180,
   180,   180,   180,   181,   181,   182,   182,   183,   183,   183,
   183,   184,   185,   185,   186,   187,   188,   189,   190,   191,
   192,   192,   193,   193,   193,   193,   194,   194,   194,   194,
   195,   195,   195,   195,   196,   196,   196,   196,   197,   198,
   198,   199,   200,   201,   202,   203,   203,   204,   205,   206,
   207,   208,   209,   209,   209,   209,   210,   211,   212,   213,
   213,   213,   213,   213,   213,   213,   213,   213,   213,   213,
   213,   213,   213,   213,   213,   213,   213,   213,   213,   213,
   213,   213,   213,   214,   214,   214,   214,   214,   214,   214,
   214,   214,   214,   214,   214,   214,   214,   214,   214,   214,
   214,   214,   214,   214,   214,   214,   214,   215,   216,   217,
   218,   219,   220,   220,   221,   222,   223,   224,   225,   226,
   227,   228,   228,   228,   228,   229,   229,   229,   229,   229,
   229,   229,   229,   230,   230,   230,   230,   230,   230,   230,
   230,   231,   231,   231,   231,   231,   231,   231,   231,   232,
   232,   232,   232,   232,   232,   232,   232,   232,   232,   232,
   232,   232,   232,   232,   232,   233,   233,   234,   234,   235,
   235,   236,   236,   237,   237,   237,   237,   237,   237,   237,
   237,   238,   238,   238,   238,   238,   238,   238,   238,   239,
   239,   239,   239,   239,   239,   239,   239,   240,   240,   240,
   240,   240,   240,   240,   240,   241,   241,   241,   241,   242,
   242,   243,   243,   244,   244,   245,   245,   246,   246,   247,
   248,   249,   249,   250,   250,   251,   251,   252,   252,   253,
   253,   254,   254,   254,   254,   255,   255,   255,   255,   256,
   256,   257,   257,   257,   257,   258,   258,   259,   259,   260,
   260,   260,   260,   261,   261,   261,   261,   262,   262,   263,
   264,   265,   265
};

static const short yyr2[] = {     0,
     1,     2,     1,     1,     1,     1,     1,     1,     1,     1,
     1,     1,     1,     1,     7,     7,    11,     7,    11,     7,
    11,     7,    11,     7,    11,     7,    11,     7,    11,     7,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
     1,     1,     1,     1,     1,     0,     1,     1,     3,     1,
     1,     3,     3,     3,     3,     4,     4,     4,     4,     4,
     4,     4,     4,     8,     8,     8,     8,     8,     8,     8,
     8,     4,     4,     3,     3,     3,     8,     8,     8,     8,
     8,     8,     8,     8,     8,     8,     8,     8,     8,     8,
     8,     8,     8,     8,     8,     8,     8,     8,     8,     8,
     4,     4,     4,     4,     4,     4,     4,     4,     4,     4,
     4,     4,     8,     8,     8,     8,     8,     8,     8,     8,
     4,     4,     3,     0,     3,     2,     2,     4,     4,     2,
     2,     1,     3,     3,     3,     3,     3,     1,     1,     1,
     2,     4,     4,     2,    11,     7,     2,     1,     1,     2,
     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,     0,     5,     5,     5,     5,     7,     7,     7,
     7,     4,     5,     5,     4,     4,     4,     4,     4,     4,
     5,     5,     7,     7,     7,     7,     7,     7,     7,     7,
     7,     7,     7,     7,     4,     8,     5,     9,     4,     2,
     1,     4,     4,     1,     1,     2,     1,     4,     4,     4,
     4,     1,     4,     8,     5,     9,     4,     1,     1,     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,     3,     3,     3,
     3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
     3,     3,     3,     3,     3,     3,     3,     1,     1,     1,
     5,     4,     2,     1,     1,     4,     3,     4,     2,     3,
     3,     7,     7,     7,     7,     9,     9,     9,     9,     9,
     9,     9,     9,     9,     9,     9,     9,     9,     9,     9,
     9,     9,     9,     9,     9,     9,     9,     9,     9,    11,
    11,    11,    11,    11,    11,    11,    11,    11,    11,    11,
    11,    11,    11,    11,    11,     5,     5,     5,     5,     5,
     5,     5,     5,     9,     9,     9,     9,     9,     9,     9,
     9,     9,     9,     9,     9,     9,     9,     9,     9,     9,
     9,     9,     9,     9,     9,     9,     9,     9,     9,     9,
     9,     9,     9,     9,     9,     7,     7,     7,     7,     5,
     5,     5,     5,     5,     5,     5,     5,     5,     5,     4,
     4,     5,     5,     5,     5,     5,     5,     5,     5,     5,
     5,     7,     7,     7,     7,     7,     7,     7,     7,     5,
     5,     7,     7,     7,     7,     5,     5,     5,     5,     7,
     7,     7,     7,     7,     7,     7,     7,     5,     5,     4,
     4,     5,     5
};

static const short yydefact[] = {     0,
     0,     0,     0,     1,     3,     6,     7,     8,     9,    10,
    11,    12,    13,    14,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     4,    57,     0,    58,     0,     5,     0,
   157,    31,    32,    34,    38,    37,    39,    35,    36,    33,
   154,   140,     2,   278,     0,     0,     0,     0,     0,     0,
     0,     0,     0,   137,   134,   151,   134,     0,   158,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   149,   148,
   150,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,   142,
     0,     0,     0,    56,    56,   223,   223,   223,   223,   223,
   223,   223,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,   139,   138,
   141,     0,     0,     0,     0,     0,   153,   152,   223,     0,
     0,   328,   329,     0,     0,     0,   272,     0,     0,     0,
     0,     0,    46,     0,    41,    45,   134,    54,    51,    48,
    49,    44,     0,    50,     0,     0,    43,     0,     0,     0,
    42,     0,    55,    52,    53,    47,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,   167,   165,     0,   161,   187,   195,
   188,   203,   186,   202,   212,   213,   194,   209,   208,   179,
   185,   180,   181,   164,   184,   163,   162,   166,   196,   168,
   172,   201,   207,   193,   169,   216,   197,   198,   170,   171,
   219,   217,   199,   173,   220,   174,   175,   211,   189,   190,
   182,   183,   191,   200,   192,   176,   214,   177,   221,   215,
   210,   204,   206,   205,   178,   218,   222,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,    62,    64,     0,
     0,    84,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,    85,     0,     0,     0,
     0,    65,     0,     0,     0,     0,     0,     0,     0,     0,
    63,   133,   135,    86,     0,     0,   143,   144,   145,   146,
   147,     0,   136,     0,     0,     0,     0,     0,     0,     0,
     0,     0,   279,    40,     0,     0,    60,    61,   223,    56,
     0,   223,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,   160,     0,     0,     0,     0,     0,     0,
     0,    73,    72,    71,    70,    83,    82,     0,     0,   112,
   111,   114,   113,   116,   115,   118,   117,     0,     0,   132,
   131,   122,   121,    69,    68,   120,   119,     0,     0,     0,
     0,     0,     0,    67,    66,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    15,    59,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,   334,   223,    16,   340,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,   341,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,   159,     0,    30,     0,    18,     0,    26,     0,    28,
     0,    20,     0,    22,     0,    24,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,   156,   332,   480,
     0,     0,     0,     0,     0,     0,   440,   441,     0,     0,
     0,     0,   255,   270,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,   271,   273,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
   259,   277,     0,     0,   333,     0,   223,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,

⌨️ 快捷键说明

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