clean up parser frontend.c