Fix lexer error message priorities