Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %{
- #include <stdio.h>;
- %}
- %%
- ,|;|.|!|-|”|”|(|)|{|}|[|]|’|: {printf("%s is a punctuation symbol\n",yytext);}
- .
- %%
- main()
- {
- yylex();
- return 0;
- }
- int yywrap()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement