% { int flag = 0; % } % % [a - z.0 - 9 _] + @[a - z] + ".com" | ".in" flag = 1; % % main() { yylex(); if (flag == 1) printf("Accepted"); else printf("Not Accepted"); }
dkant%gmail.com
Standard output is empty
ERROR: /home/ZvJn1u/prog:14:1: Syntax error: Unexpected end of file ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit