%{
#include <stdio.h>
%}
%%
[0-9]+ { printf
("
Number: %s\n", yytext); } [a-zA-Z]+ { printf("Word: %s\n", yytext); }
. { /* ignore other characters */ }
%%
int yywrap(void) {
return 1;
}
int main(void) {
yylex();
return 0;
}
JXsKI2luY2x1ZGUgPHN0ZGlvLmg+CiV9CgolJQpbMC05XSsgICAgeyBwcmludGYoIk51bWJlcjogJXNcbiIsIHl5dGV4dCk7IH0KW2EtekEtWl0rIHsgcHJpbnRmKCJXb3JkOiAlc1xuIiwgeXl0ZXh0KTsgfQouICAgIHsgLyogaWdub3JlIG90aGVyIGNoYXJhY3RlcnMgKi8gfQolJQoKaW50IHl5d3JhcCh2b2lkKSB7CiAgICByZXR1cm4gMTsKfQoKaW50IG1haW4odm9pZCkgewogICAgeXlsZXgoKTsKICAgIHJldHVybiAwOwp9