?? ch1-02.l
字號:
%{/* * this sample demonstrates (very) simple recognition: * a verb/not a verb. */%}%%[\t ]+ /* ignore white space */ ;is |am |are |were |was |be |being |been |do |does |did |will |would |should |can |could |has |have |had |go { printf("%s: is a verb\n", yytext); }[a-zA-Z]+ { printf("%s: is not a verb\n", yytext); }.|\n { ECHO; /* normal default anyway */ }%%main(){ yylex();}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -