hx509: Show query expression parse errors
This commit is contained in:
@@ -204,6 +204,7 @@ _hx509_expr_free(struct hx_expr *expr)
|
||||
free(expr);
|
||||
}
|
||||
|
||||
/* XXX Horrible, no good cause not thread-safe */
|
||||
HX509_LIB_FUNCTION struct hx_expr * HX509_LIB_CALL
|
||||
_hx509_expr_parse(const char *buf)
|
||||
{
|
||||
@@ -222,6 +223,12 @@ _hx509_expr_parse(const char *buf)
|
||||
return _hx509_expr_input.expr;
|
||||
}
|
||||
|
||||
const char *
|
||||
_hx509_expr_parse_error(void)
|
||||
{
|
||||
return _hx509_expr_input.error;
|
||||
}
|
||||
|
||||
void
|
||||
_hx509_sel_yyerror (const char *s)
|
||||
{
|
||||
|
Reference in New Issue
Block a user