📄 lex.yy.c
字号:
# include "stdio.h"# define U(x) ((unsigned char)(x))# define NLSTATE yyprevious=YYNEWLINE# define BEGIN yybgin = yysvec + 1 +# define INITIAL 0# define YYLERR yysvec# define YYSTATE (yyestate-yysvec-1)# define YYOPTIM 1# ifndef YYLMAX# define YYLMAX 200# endif# define output(c) (void)putc(c,yyout)#if defined(__cplusplus) || defined(__STDC__)# if defined(__cplusplus) && !defined(LEX_USES_CPLUS_LINKAGE) extern "C" {# endif int yyback(int *, int); int yyinput(void); int yylook(void); void yyoutput(int); int yyracc(int); int yyreject(void); void yyunput(int);#ifdef __STDC__#ifndef yyless int yyless(int);#endif#ifndef yywrap int yywrap(void);#endif#endif /*__STDC__*/# if defined(__cplusplus) && !defined(LEX_USES_CPLUS_LINKAGE) }# endif /*defined(__cplusplus) && !defined(LEX_USES_CPLUS_LINKAGE)*/#endif /*defined(__cplusplus) || defined(__STDC__)*/# define input() (((yytchar=yysptr>yysbuf?U(*--yysptr):getc(yyin))==10?(yylineno++,yytchar):yytchar)==EOF?0:yytchar)# define unput(c) {yytchar= (c);if(yytchar=='\n')yylineno--;*yysptr++=yytchar;}# define yymore() (yymorfg=1)# define ECHO (void)fprintf(yyout, "%s",yytext)# define REJECT { nstr = yyreject(); goto yyfussy;}int yyleng;int yymorfg;extern char *yysptr, yysbuf[];int yytchar;FILE *yyin = {stdin}, *yyout = {stdout};extern int yylineno;struct yysvf { struct yywork *yystoff; struct yysvf *yyother; int *yystops;};struct yysvf *yyestate;extern struct yysvf yysvec[], *yybgin;#include <stdlib.h>int __yytext_is_ptr = 0;char yytext[YYLMAX];char * __yytext_ptr = yytext;# define YYNEWLINE 10yylex(){int nstr; extern int yyprevious;while((nstr = yylook()) >= 0)yyfussy: switch(nstr){case 0:if(yywrap()) return(0); break;case 1:# line 14 "myform.l"return(_begin);break;case 2:# line 15 "myform.l"return(_end);break;case 3:# line 16 "myform.l"return(_form);break;case 4:# line 17 "myform.l"return(_label);break;case 5:# line 18 "myform.l"return(_field);break;case 6:# line 19 "myform.l"return(_position);break;case 7:# line 20 "myform.l"return(_name);break;case 8:# line 21 "myform.l"return(_size);break;case 9:# line 22 "myform.l"return(_type);break;case 10:# line 23 "myform.l"return(_default);break;case 11:# line 24 "myform.l"return(_init);break;case 12:# line 25 "myform.l"return(_term);break;case 13:# line 26 "myform.l"return(_disp);break;case 14:# line 27 "myform.l"return(_index);break;case 15:# line 28 "myform.l"return(_prompt);break;case 16:# line 29 "myform.l"return(_fore);break;case 17:# line 30 "myform.l"return(_back);break;case 18:# line 31 "myform.l"return(_optson);break;case 19:# line 32 "myform.l"return(_optsoff);break;case 20:# line 33 "myform.l"return(_just);break;case 21:# line 34 "myform.l"return(_pagination);break;case 22:# line 35 "myform.l"return(_type_text);break;case 23:# line 36 "myform.l"return(_type_ctext);break;case 24:# line 37 "myform.l"return(_type_etext);break;case 25:# line 38 "myform.l"return(_type_digit);break;case 26:# line 39 "myform.l"return(_type_amount);break;case 27:# line 40 "myform.l"return(_type_date);break;case 28:# line 41 "myform.l"return(_type_alpha);break;case 29:# line 42 "myform.l"return(_type_integer);break;case 30:# line 43 "myform.l"return(_type_numeric);break;case 31:# line 44 "myform.l"return(_type_list);break;case 32:# line 45 "myform.l"return(_a_blink);break;case 33:# line 46 "myform.l"return(_a_bold);break;case 34:# line 47 "myform.l"return(_a_dim);break;case 35:# line 48 "myform.l"return(_a_reverse);break;case 36:# line 49 "myform.l"return(_a_standout);break;case 37:# line 50 "myform.l"return(_a_underline);break;case 38:# line 51 "myform.l"return(_a_altcharset);break;case 39:# line 52 "myform.l"return(_a_normal);break;case 40:# line 53 "myform.l"return(_o_visible);break;case 41:# line 54 "myform.l"return(_o_active);break;case 42:# line 55 "myform.l"return(_o_public);break;case 43:# line 56 "myform.l"return(_o_edit);break;case 44:# line 57 "myform.l"return(_o_wrap);break;case 45:# line 58 "myform.l"return(_o_blank);break;case 46:# line 59 "myform.l"return(_o_autoskip);break;case 47:# line 60 "myform.l"return(_o_nullok);break;case 48:# line 61 "myform.l"return(_o_passok);break;case 49:# line 62 "myform.l"return(_o_static);break;case 50:# line 63 "myform.l"return(_no_justification);break;case 51:# line 64 "myform.l"return(_justify_left);break;case 52:# line 65 "myform.l"return(_justify_right);break;case 53:# line 66 "myform.l"return(_justify_center);break;case 54:# line 67 "myform.l"{ yylval.dval = atof(yytext); return(_float); }break;case 55:# line 71 "myform.l"{ yylval.ival = atoi(yytext); return(_digit); }break;case 56:# line 76 "myform.l"{ strcpy(yylval.sval, yytext); return(_str); }break;case 57:# line 80 "myform.l"{ strcpy(yylval.sval, &yytext[1]); yylval.sval[strlen(yytext) - 2] = 0; return(_text); }break;case 58:# line 85 "myform.l"{ return(yytext[0]); }break;case 59:# line 88 "myform.l" ;break;case -1:break;default:(void)fprintf(yyout,"bad switch yylook %d",nstr);} return(0); }/* end of yylex */int yyvstop[] = {0,59,0,58,59,0,58,0,55,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,57,0,55,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,54,0,55,0,56,0,56,0,56,0,56,0,2,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,56,0,55,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -