It removes all new line characters and prints everything in a line.
For example
%{
%}
%%
\n printf("");
%%
main()
{
extern FILE *yyin;
yyin=fopen("new","r");
yylex();
}
For example
I am
Going
appearsGoing
I am Going
Here is the code:%{
%}
%%
\n printf("");
%%
main()
{
extern FILE *yyin;
yyin=fopen("new","r");
yylex();
}
No comments:
Post a Comment