Jacek Caban : vbscript: Print more informative FIXME when parser fails.
Alexandre Julliard
julliard at winehq.org
Tue Oct 30 13:27:35 CDT 2012
Module: wine
Branch: master
Commit: 0e56e99698c21f0ead4ff6dc3c6f4fcd1f27d67e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e56e99698c21f0ead4ff6dc3c6f4fcd1f27d67e
Author: Jacek Caban <jacek at codeweavers.com>
Date: Tue Oct 30 09:48:21 2012 +0100
vbscript: Print more informative FIXME when parser fails.
---
dlls/vbscript/parser.y | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/vbscript/parser.y b/dlls/vbscript/parser.y
index 45f9169..b71b92d 100644
--- a/dlls/vbscript/parser.y
+++ b/dlls/vbscript/parser.y
@@ -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;
}
More information about the wine-cvs
mailing list