Commit a3590113 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

jscript: Enumerate with and block scopes.

parent 2a368c45
......@@ -129,6 +129,7 @@ struct _statement_t {
typedef struct {
statement_t stat;
unsigned int scope_index;
statement_t *stat_list;
} block_statement_t;
......
......@@ -1131,6 +1131,7 @@ static statement_t *new_block_statement(parser_ctx_t *ctx, unsigned loc, stateme
if(!ret)
return NULL;
ret->scope_index = 0;
ret->stat_list = list ? list->head : NULL;
return &ret->stat;
......
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