vbscript: Print more informative FIXME when parser fails.

This commit is contained in:
Jacek Caban 2012-10-30 09:48:21 +01:00 committed by Alexandre Julliard
parent bbc0137f8a
commit 0e56e99698
1 changed files with 1 additions and 1 deletions

View File

@ -952,7 +952,7 @@ HRESULT parse_script(parser_ctx_t *ctx, const WCHAR *code, const WCHAR *delimite
if(FAILED(ctx->hres)) if(FAILED(ctx->hres))
return ctx->hres; return ctx->hres;
if(!ctx->parse_complete) { if(!ctx->parse_complete) {
FIXME("parser failed on parsing %s\n", debugstr_w(ctx->ptr)); FIXME("parser failed around %s\n", debugstr_w(ctx->code+20 > ctx->ptr ? ctx->code : ctx->ptr-20));
return E_FAIL; return E_FAIL;
} }