📄 test30_tab.c
字号:
/* A Bison parser, made from test30.y with Bison version GNU Bison version 1.24
*/
#define YYBISON 1 /* Identify Bison output. */
#define NUMBER 258
#define STR 259
#define ID 260
#define STATESTART 261
#define RETURN 262
#define INIT 263
#define PROC 264
#define FUNID 265
#define INT 266
#define STRING 267
#define BREAK 268
#define SWITCH 269
#define CASE 270
#define DEFAULT 271
#define SF 272
#define IF 273
#define ELSE 274
#define LEFTK 275
#define RIGHTK 276
#define COLON 277
#define GOTO 278
#define PLAYFILE 279
#define READDIGITS 280
#define CONFPLAYFILE 281
#define JOINCONF 282
#define DIALOUT 283
#define TALKWITH 284
#define RECFILE 285
#define CONFRECFILE 286
#define HANGUP 287
#define LEFTC 288
#define RIGHTC 289
#define LEFTV 290
#define RIGHTV 291
#define LEFTVE 292
#define RIGHTVE 293
#define VVEE 294
#define NOTVVEE 295
#define VE 296
#define ELSEIF 297
#define ELSESF 298
#define VOID 299
#define SQLSELECT 300
#define SQLCOMMAND 301
#define STOI 302
#define ITOS 303
#define COMMENT 304
#define SETCHANTIMER 305
#define GETFREECHAN 306
#define GETFREECONFNO 307
#define GETFIELDVALUE 308
#define GETAFFECTEDROW 309
#define HANGUPPROC 310
#define GETSUBSTRING 311
#define GETRAND 312
#define GETRANDKEY 313
#define FINDFILE 314
#define JUMPAGENT 315
#define GETNOWTIME 316
#define STMTEND 317
#define ASSIGN 318
#define PLUS 319
#define MINUS 320
#define TIMES 321
#define DIV 322
#define JUMPFLOW 323
#define WHILE 324
#define STRLEN 325
#define LINKPCMFILE 326
#define SLEEP 327
#define GOTOFLOW 328
#define GOTOSUBFLOW 329
#define SENDANC 330
#define GETUSEDSECONDS 331
#define GETDIALINTIME 332
#define ENTERSECTION 333
#define LEAVESECTION 334
#define ONHOOK 335
#define OFFHOOK 336
#define USERHANGUP 337
#define USERCALLIN 338
#define AGENTDIGIT 339
#define AGENTREQ 340
#define SWITCHAGENT 341
#define AGENTCALLOUT 342
#define AGENTIVRREQ 343
#define LOGMSG 344
#define RGOTO 345
#define LISTENAGENT 346
#define BREAKAGENT 347
#define GETCONFNOMEMBERS 348
#define AGENTPLAYRING 349
#define AGENTREQEX 350
#define GETFREEIPCHANNO 351
#define IPCALL 352
#define MOD 353
#define TIMESPAN 354
#define SETDIALINTIME 355
#define CHECKINTSECTION 356
#define CHECKSTRINGSECTION 357
#define DATEDIFF 358
#define GETUSEDCHAN 359
#define HANGUPDEST 360
#define STARTRECORD 361
#define STARTLINERECORD 362
#define AGENTIPCALL 363
#define AGENTIPREQ 364
#define IVRIPREQ 365
#define CHECKNETCONNECTION 366
#define ADDNETCONNECTION 367
#define SETDIALOUTORICALLEENUM 368
#define VTTALKWITH 369
#define VTSETSCALE 370
#define SETPROCEVENT 371
#define AGENTEVENTPROC 372
#define AGENTEVENTPROCSTART 373
#define AGENTEVENTPROCEND 374
#define WAITEVENTPROC 375
#define LJOINCONF 376
#define RESETCONF 377
#define SHAREFLOWVAR 378
#define CHECKDIRECTORY 379
#define RESETAGENT 380
#define CONFSTOPFILE 381
#define JOINMULTICONF 382
#define LINEISOFFHOOK 383
#define GETRECORDSECONDS 384
#define STARTRECORDCTOC 385
#define GETFREECHANWITHLINK 386
#define SETORICALLEE 387
#define REQUESTSERVICE 388
#define INTERSERVICE 389
#line 1 "test30.y"
#include <stdio.h>
#include "yy.tab.h"
extern FILE *yyin, *yyout;
extern int lineno;
extern int ofiletype;
int assigntype=0;
int outlineno=1;
int hangupprocline=-1;
int onhookline = -1;
int offhookline =-1;
int agenteventprocline = -1;
int waiteventprocline = -1;
int usercallinline = -1;
int userhangupline = -1;
int agentdigitline = -1;
int interserviceline = -1;
int strlines = 0;
#define heapsize 100
ststringheap vstringheap[heapsize];
stintheap vintheap[heapsize];
stconstant constant[CONSTANTSIZE];
boolresultheap boolresult[heapsize];
int int_k=0;int_k_count=0;
int string_k =0;int string_k_count=0;
int result_heap_k = 0;
int errcount = 0;
int current_bool_result = -1;
char szswitchname[100];
extern char szswitchend[100];
extern char nop[100];
extern char * filename;
extern int newstmt;
extern int nexttoken;
int assignstmtflag = 0;
int assignstmtflag2= 0;
int sectioncount = 0;
#ifndef YYLTYPE
typedef
struct yyltype
{
int timestamp;
int first_line;
int first_column;
int last_line;
int last_column;
char *text;
}
yyltype;
#define YYLTYPE yyltype
#endif
#include <stdio.h>
#ifndef __cplusplus
#ifndef __STDC__
#define const
#endif
#endif
#define YYFINAL 1457
#define YYFLAG -32768
#define YYNTBASE 141
#define YYTRANSLATE(x) ((unsigned)(x) <= 389 ? yytranslate[x] : 266)
static const short yytranslate[] = { 0,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -