Fail upon unexpected character in lexer