Fix parsing escaped quotes in config
@@ -146,6 +146,9 @@ static inline int od_parser_next(od_parser_t *parser, od_token_t *token)
token->type = OD_PARSER_ERROR;
return token->type;
}
+ if (*parser->pos == '\\')
+ parser->pos += 2;
+ else
parser->pos++;
}
if (od_unlikely(parser->pos == parser->end)) {
