Branch: Tag:

2014-05-03

2014-05-03 09:41:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved type checking for program references.

Inherits and type declarations now complain about use of
deprecated symbols.

1375:      identifier_type: idents    { +  fix_type_field($1); +  +  if (!pike_types_le($1->type, typeable_type_string) && +  (THIS_COMPILATION->lex.pragmas & ID_STRICT_TYPES)) { +  yytype_report(REPORT_WARNING, +  $1->current_file, $1->line_number, typeable_type_string, +  $1->current_file, $1->line_number, $1->type, +  0, "Invalid type."); +  } +     resolv_constant($1);       if (TYPEOF(Pike_sp[-1]) == T_TYPE) {