auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while {printf("%s is a keyword\n",yytext);}
[+*/=<>^-]{printf("%s is a operator\n",yytext);}
[a-zA-Z_][a-zA-Z0-9_]*{printf("%s is an identifier\n",yytext);}
[0-9]+{printf("%s is a number\n",yytext);}
[a-zA-Z_0-9!@#$&]+{printf("%s is an text\n",yytext);}
[,:;(){}?!|&`~]{printf("%s is a punctuation\n",yytext);}