On 20/11/2015 19:28, Eric Blake wrote: >> > + token = parser_context_peek_token(ctxt); >> > if (token == NULL) { >> > goto out; >> > } >> > >> > + if (token_get_type(token) != JSON_ESCAPE) { >> > + goto out; >> > + } > Could merge these two conditionals.
Following the style of the rest of the file, for example: if (token == NULL) { goto out; } if (!token_is_operator(token, '{')) { goto out; } Paolo