Move variable out of switch
This doesn't complie with emcc
This commit is contained in:
parent
09f7df79bb
commit
64f2be5afc
1 changed files with 2 additions and 1 deletions
|
|
@ -1682,11 +1682,12 @@ break_inner:
|
|||
read_token_after_cant_handle(p);
|
||||
|
||||
bool is_rbrace = false;
|
||||
bool local;
|
||||
|
||||
switch (p->token.type) {
|
||||
case APFL_TOK_ASSIGN:
|
||||
case APFL_TOK_LOCAL_ASSIGN:
|
||||
bool local = p->token.type == APFL_TOK_LOCAL_ASSIGN;
|
||||
local = p->token.type == APFL_TOK_LOCAL_ASSIGN;
|
||||
struct apfl_position position = p->token.position;
|
||||
|
||||
if (fragments->len == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue