Branch: Tag:

2021-02-27

2021-02-27 16:32:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added F_INITIALIZER node type.

This node type behaves identically to F_ASSIGN, but is only used
in the case where it is the initializer assignment in a local
variable declaration.

2006:    /* Only warn about unused initialized variables in strict types mode. */    Pike_compiler->compiler_frame->variable[id].flags |= LOCAL_VAR_IS_USED;    } -  $$=mknode(F_ASSIGN, mklocalnode(id,0), $4); +  $$ = mknode(F_INITIALIZE, mklocalnode(id, 0), $4);    } else    $$ = 0;    free_node($1);