Module: wine Branch: master Commit: c79561f7aec69f9d70a48bbbcd61c4bf4af8122a URL: https://source.winehq.org/git/wine.git/?a=commit;h=c79561f7aec69f9d70a48bbbc...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Mar 12 18:39:17 2021 +0100
jscript: Silence parser_error warning.
It's triggered on handling implicit semi-colon in the end of statement.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/jscript/parser.y | 1 - 1 file changed, 1 deletion(-)
diff --git a/dlls/jscript/parser.y b/dlls/jscript/parser.y index ba81668dbb3..716c9688201 100644 --- a/dlls/jscript/parser.y +++ b/dlls/jscript/parser.y @@ -1468,7 +1468,6 @@ static int parser_error(unsigned *loc, parser_ctx_t *ctx, const char *str) ctx->error_loc = *loc; if(ctx->hres == S_OK) ctx->hres = JS_E_SYNTAX; - WARN("%s: %s\n", debugstr_w(ctx->begin + *loc), str); return 0; }