Remove usless semi colons at the end of the yacc rules
Add a custom error message for parsing error