Branch: Tag:

2016-01-04

2016-01-04 14:57:56 by Per Hedbor <ph@opera.com>

Somewhat better handling of global auto variables

5526:    * marked 'auto', set it to the given type)    */    struct identifier *id=ID_FROM_INT(Pike_compiler->new_program,variable); -  if( id && id->type->type == PIKE_T_AUTO ) +  if( id )    {    free_type(id->type);    copy_pike_type(id->type, type);