Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %option noyywrap
- %{
- void match(char *s);
- void ot(char *s)
- %}
- %%
- "ami" { match("ami");}
- %%
- void match()
- {
- print something
- }
- int main()
- {
- yylex();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement