Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. %option noyywrap
  2. %{
  3. void match(char *s);
  4. void ot(char *s)
  5. %}
  6.  
  7.  
  8. %%
  9. "ami" { match("ami");}
  10. %%
  11.  
  12. void match()
  13. {
  14. print something
  15. }
  16.  
  17. int main()
  18. {
  19. yylex();
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement