Branch: Tag:

2016-05-01

2016-05-01 11:05:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [auto]: Fixed multiple issues.

The PIKE_T_AUTO type node now always has a child type.

gc_check_type() now knows about PIKE_T_AUTO.

{debug_,}push_auto_typed_type() is no more.

Fixed issue with low_describe_type() appending to the wrong
buffer when describing the auto type.

Fixes some related type reference counting errors.

5493:   int is_auto_variable_type( int variable )   {    struct identifier *id=ID_FROM_INT(Pike_compiler->new_program,variable); -  if( id && id->type->type == PIKE_T_AUTO ) +  if( id && id->type && id->type->type == PIKE_T_AUTO )    return 1;    return 0;   }