Branch: Tag:

2014-12-04

2014-12-04 19:26:06 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.

5031:    return;    }    +  fix_type_field(n); +  +  if (!pike_types_le(n->type, inheritable_type_string) && +  (THIS_COMPILATION->lex.pragmas & ID_STRICT_TYPES)) { +  yytype_report(REPORT_WARNING, +  n->current_file, n->line_number, inheritable_type_string, +  n->current_file, n->line_number, n->type, +  0, "Program required for inherit.\n"); +  } +     switch(n->token)    {    case F_IDENTIFIER: