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

📄 lex.yy.c

📁 使用flex和bison
💻 C
📖 第 1 页 / 共 5 页
字号:
		newstmt = 0;
			 

		return RGOTO;
}
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 240 "test30.l"
{
		if(nexttoken!=-1)
		 {
		 printtokenerror(nexttoken,"beginsection");
 		}
		if(sectionflag!=0)
		 {
			printf("%s(%d): syntax error: beginsection \n",filename,lineno);
			errcount ++;
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'beginsection' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		sectionflag = 1;	
	    sectionk = 0;
	return ENTERSECTION;
}
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 260 "test30.l"
{
		if(nexttoken!=-1)
		 {
		 printtokenerror(nexttoken,"endsection");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'endsection' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		if(sectionflag!=1)
		 {
			printf("%s(%d): syntax error: endsection \n",filename,lineno);
			errcount ++;
 		}
		if(sectionk!=0)
		 {
			printf("%s(%d): syntax error: endsection not pipei \n",filename,lineno);
			errcount ++;
 		}
		sectionk=0;
		sectionflag = 0;	

	return LEAVESECTION;
}
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 286 "test30.l"
{
		 if(nexttoken!=-1)
		 {
				 printtokenerror(nexttoken,"sleep");
 		}
		newstmt = 0;	

	 return SLEEP;
 }
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 296 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no playfile stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
			printtokenerror(nexttoken,"playfile");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'playfile' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return PLAYFILE;
}
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 317 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no gotoflow stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
			printtokenerror(nexttoken,"gotoflow");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'gotoflow' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return GOTOFLOW;
}
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 338 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no gotosubflow stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
			printtokenerror(nexttoken,"gotosubflow");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'gotosubflow' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return GOTOSUBFLOW;
}
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 359 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no readdigits stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"readdigits");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'readdigits' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return READDIGITS;
}
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 379 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no readdigits stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"resetagent");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'resetagent' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return RESETAGENT;
}
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 399 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no confplayfile stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"confplayfile");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'confplayfile' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
			

		return CONFPLAYFILE;
}
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 420 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no confstopfile stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"confplayfile");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'confstopfile' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
			

		return CONFSTOPFILE;
}
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 442 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no joinconf stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"joinconf");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'joinconf' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return JOINCONF;
}
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 463 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no joinmulticonf stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"joinmulticonf");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'joinmulticonf' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return JOINMULTICONF;
}
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 483 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no ljoinconf stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"ljoinconf");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'ljoinconf' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return LJOINCONF;
}
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 503 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: lineisoffhook should no ljoinconf stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"lineisoffhook");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'lineisoffhook' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		

		return LINEISOFFHOOK;
}
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 523 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no dialout stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"dialout");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'joinconf' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		
		 return DIALOUT;
}
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 542 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no ipcall stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"ipcall");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'ipcall' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		
		 return IPCALL;
}
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 561 "test30.l"
{
		if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no ipcall stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"agentipcall");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'agentipcall' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
		
		 return AGENTIPCALL;
}
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 580 "test30.l"
{
	
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"datediff");
 		}
	
		
		 return DATEDIFF;
}
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 590 "test30.l"
{
			if(hangupstate==1)
		{
			printf("%s(%d): syntax error: hangupproc should no talkwith stmt \n",filename,lineno);
				errcount ++;	
		}
		if(nexttoken!=-1)
		 {
				printtokenerror(nexttoken,"talkwith");
 		}
		if(newstmt==0) 	
		{
			printf("%s(%d): syntax error: missing ';' before identifier 'talkwith' \n",filename,lineno);
			errcount ++;
		}
		newstmt = 0;
			 

		 return TALKWITH;
}
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 610 "test30.l"

⌨️ 快捷键说明

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