Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %option noyywrap
- %{
- #include<stdio.h>
- int cnt1=0,cnt2=0;
- %}
- %%
- (a|b)*abbb(a|b)* printf("recognized");
- .* printf("NO recognized");
- %%
- int main()
- {
- yylex();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement