cidentifier.l

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

L
53
字号
%{/* example for verb and article*/%}#include<stdio.h>%%[\t ]+autobreak |char |case |const |continue |default |do |double |else |does |enum |extern |float |for |goto |if |int |long |register |return |short |signed |sizeof |static |struct |switch |typedef |union |unsigned |void |volatile |while { 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 + -
显示快捷键?