mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 20:10:35 +00:00
Revert "delete ast_members from parser->locals when they were unused"
This reverts commit cdeffb6de9
.
This commit is contained in:
parent
cdeffb6de9
commit
d4587e5667
1 changed files with 0 additions and 5 deletions
5
parser.c
5
parser.c
|
@ -1668,11 +1668,6 @@ static void parser_pop_local(parser_t *parser)
|
|||
{
|
||||
parser->locals_count--;
|
||||
mem_d(parser->locals[parser->locals_count].name);
|
||||
if (!ast_usecount(parser->locals[parser->locals_count].var) &&
|
||||
ast_istype(parser->locals[parser->locals_count].var, ast_member))
|
||||
{
|
||||
ast_delete(parser->locals[parser->locals_count].var);
|
||||
}
|
||||
}
|
||||
|
||||
static ast_block* parser_parse_block(parser_t *parser)
|
||||
|
|
Loading…
Reference in a new issue