Parse only once. Fix issue: yyparse failed when call it twice.