mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 08:22:13 +00:00
Not needed
This commit is contained in:
parent
f38e6b48db
commit
e8fbae4b3e
1 changed files with 0 additions and 11 deletions
11
parser.cpp
11
parser.cpp
|
@ -1923,24 +1923,16 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma
|
||||||
expr = NULL;
|
expr = NULL;
|
||||||
} else
|
} else
|
||||||
expr = sy.out[0].out;
|
expr = sy.out[0].out;
|
||||||
sy.out.clear();
|
|
||||||
sy.ops.clear();
|
|
||||||
if (sy.paren.size()) {
|
if (sy.paren.size()) {
|
||||||
parseerror(parser, "internal error: vec_size(sy.paren) = %lu", (unsigned long)sy.paren.size());
|
parseerror(parser, "internal error: vec_size(sy.paren) = %lu", (unsigned long)sy.paren.size());
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
sy.paren.clear();
|
|
||||||
sy.argc.clear();
|
|
||||||
return expr;
|
return expr;
|
||||||
|
|
||||||
onerr:
|
onerr:
|
||||||
parser->lex->flags.noops = true;
|
parser->lex->flags.noops = true;
|
||||||
for (auto &it : sy.out)
|
for (auto &it : sy.out)
|
||||||
if (it.out) ast_unref(it.out);
|
if (it.out) ast_unref(it.out);
|
||||||
sy.out.clear();
|
|
||||||
sy.ops.clear();
|
|
||||||
sy.paren.clear();
|
|
||||||
sy.argc.clear();
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5772,9 +5764,6 @@ skipvar:
|
||||||
if (!ast_block_add_expr(localblock, (ast_expression*)sy.out[0].out))
|
if (!ast_block_add_expr(localblock, (ast_expression*)sy.out[0].out))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sy.out.clear();
|
|
||||||
sy.ops.clear();
|
|
||||||
sy.argc.clear();
|
|
||||||
var->cvq = cvq;
|
var->cvq = cvq;
|
||||||
}
|
}
|
||||||
/* a constant initialized to an inexact value should be marked inexact:
|
/* a constant initialized to an inexact value should be marked inexact:
|
||||||
|
|
Loading…
Reference in a new issue