add yyerror to throw parse error