Commit 0e56e996 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

vbscript: Print more informative FIXME when parser fails.

parent bbc0137f
......@@ -952,7 +952,7 @@ HRESULT parse_script(parser_ctx_t *ctx, const WCHAR *code, const WCHAR *delimite
if(FAILED(ctx->hres))
return ctx->hres;
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment