msxml3: Make xslpattern_error() static.

This commit is contained in:
Francois Gouget 2011-03-30 16:43:13 +02:00 committed by Alexandre Julliard
parent 09ba426501
commit 95b6e6b3cd
2 changed files with 18 additions and 19 deletions

View File

@ -51,6 +51,6 @@ int xslpattern_lex_init(void**);
int xslpattern_lex_destroy(void*);
void xslpattern_set_extra(parser_param*, void*);
int xslpattern_parse(parser_param*, void*);
void xslpattern_error(parser_param* param, void const* scanner, char const* msg);
#endif /* __XSLPATTERN__ */

View File

@ -42,6 +42,23 @@ static inline BOOL is_literal(xmlChar const* tok)
(tok[0] == '\'' || tok[0] == '"'));
}
static void xslpattern_error(parser_param* param, void const* scanner, char const* msg)
{
FIXME("%s:\n"
" param {\n"
" yyscanner=%p\n"
" ctx=%p\n"
" in=\"%s\"\n"
" pos=%i\n"
" len=%i\n"
" out=\"%s\"\n"
" err=%i\n"
" }\n"
" scanner=%p\n",
msg, param->yyscanner, param->ctx, param->in, param->pos,
param->len, param->out, ++param->err, scanner);
}
%}
%token TOK_Parent TOK_Self TOK_DblFSlash TOK_FSlash TOK_Axis TOK_Colon
@ -728,22 +745,4 @@ static inline BOOL is_literal(xmlChar const* tok)
%%
void xslpattern_error(parser_param* param, void const* scanner, char const* msg)
{
FIXME("%s:\n"
" param {\n"
" yyscanner=%p\n"
" ctx=%p\n"
" in=\"%s\"\n"
" pos=%i\n"
" len=%i\n"
" out=\"%s\"\n"
" err=%i\n"
" }\n"
" scanner=%p\n",
msg, param->yyscanner, param->ctx, param->in, param->pos,
param->len, param->out, ++param->err, scanner);
}
#endif /* HAVE_LIBXML2 */