mimeview: improve parser error recovery
* mimeview/Makefile.am: Silent rules * mimeview/mimetypes.l (lex_reset): Remove. (lex_next_rule): New function. * mimeview/mimetypes.y: Expect 12 shift/reduce conflicts. Rewrite the error rule (yyprint): Print TYPE token correctly * mimeview/mimeview.h (lex_next_rule): New proto.
Showing
4 changed files
with
62 additions
and
11 deletions
-
Please register or sign in to post a comment