Advertisement
Guest User

new

a guest
Aug 21st, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. %{
  2. #include <stdio.h>;
  3. %}
  4. %%
  5. ,|;|.|!|-|”|”|(|)|{|}|[|]|’|: {printf("%s is a punctuation symbol\n",yytext);}
  6. .
  7.  
  8. %%
  9. main()
  10. {
  11. yylex();
  12. return 0;
  13. }
  14. int yywrap()
  15. {
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement