Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %{
- #include <stdio.h>
- #include <stdlib.h>
- %}
- %%
- "/""/"[^\n]* {}
- "/""*"(.|\n)*"*""/" {}
- %%
- int main(){
- yyin = fopen("file.txt","r");
- yyout = fopen("file.txt","w");
- yylex();
- fclose(yyout);
- fclose(yyin);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement