Branch: Tag:

2019-04-28

2019-04-28 17:54:16 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: respect call_handle_import() return codes

When call_handle_import() returns 0, there is nothing for us on the
stack to use... or pop.

571:    {    resolv_constant($2);    free_node($2); -  if (TYPEOF(Pike_sp[-1]) == PIKE_T_STRING) { -  call_handle_import(); -  } +  if (TYPEOF(Pike_sp[-1]) != PIKE_T_STRING || call_handle_import()) {    use_module(Pike_sp-1);    pop_stack();    } -  +  }    ;      constant_name: TOK_IDENTIFIER '=' safe_expr0