Move _hx509_sel_yyerror here.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23150 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-30 08:22:57 +00:00
parent 14d05b55ce
commit 1b34818d1e

View File

@@ -220,3 +220,13 @@ _hx509_expr_parse(const char *buf)
return _hx509_expr_input.expr;
}
void
_hx509_sel_yyerror (char *s)
{
if (_hx509_expr_input.error)
free(_hx509_expr_input.error);
_hx509_expr_input.error = strdup(s);
}