%{
%}
%%
'*' {return 0;}
'(' {return 1;}
')' {return 2;}
%%
int yywrap(){}
An example code like above. It gives the error message as:
zort.l:7: unrecognized rule
zort.l:8: unrecognized rule
zort.l:8: unrecognized rule
zort.l:8: unrecognized rule
It only gives the error for paranthesis characters. Doesn't give any error for other characters. What is the reason? Are paranthesis' exceptions? How to solve it?