The question is self explanatory
Here is the code:
%{
%}
%%
[aeiouAEIOU].[a-zA-Z0-9.]+ printf("%s",yytext);
[a-zA-Z0-9]+ printf(" ");
%%
main()
{
extern FILE *yyin;
yyin=fopen("new","r");
yylex();
}
Here is the code:
%{
%}
%%
[aeiouAEIOU].[a-zA-Z0-9.]+ printf("%s",yytext);
[a-zA-Z0-9]+ printf(" ");
%%
main()
{
extern FILE *yyin;
yyin=fopen("new","r");
yylex();
}
No comments:
Post a Comment