SHARE
TWEET

Untitled

a guest Sep 21st, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top