lexedit.sed
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· SED 代码 · 共 12 行
SED
12 行
2,/^extern int yylineno;$/c\static int start_cond = 0;\#define BEGIN start_cond =/^struct yysvf \*yyestate;$/,/^extern struct yysvf yysvec/d/^# define YYNEWLINE /,/^int nstr;/d/^while((nstr = yylook()/,/^if(yywrap()) /d/^case -1:$/,/^} return(0); }/c\ default: return(0);\} }/^struct yysvf *yybgin = yysvec+1;$/d/^int yylineno /,$d
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?