ckeyword.l

来自「lex files for given decription used as 」· L 代码 · 共 49 行

L
49
字号
%{/* Recognising ckeyword*/#include<stdio.h>%}%%[\t ]+auto |break |char |case |const |continue |default |do |double |else |does |enum |extern |float |goto |int |long |register |short |signed |sizeof |static |struct |typedef |union |unsigned |void |volatile  { printf("%s: The given word is the C language keyword\n",yytext);}[a-zA-Z]+ { printf("%s: The given word is not a keyword\n",yytext);}.|\n  {ECHO;}%%main(){	yylex();}

⌨️ 快捷键说明

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