Commit 4fb1cad1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

jscript: Simplify compile_subscript_stat.

parent 9f83c606
......@@ -1756,10 +1756,7 @@ HRESULT compile_subscript_stat(parser_ctx_t *parser, statement_t *stat, BOOL fro
return hres;
off = parser->compiler->code_off;
if(stat->next)
hres = compile_block_statement(parser->compiler, stat);
else
hres = compile_statement(parser->compiler, NULL, stat);
hres = compile_block_statement(parser->compiler, stat);
if(FAILED(hres))
return hres;
......
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