pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:3926:    /* Name of surrounding class ==> Done. */    e = 0;    inherit_state = state;    inherit_depth = depth;    break;    }    }    if (e == -1) {    inherit_state = state;    inherit_depth = depth; -  if ($1->u.sval.u.string == this_program_string) { +  if ($1->u.sval.u.string == this_program_string || $1->u.sval.u.string == this_string) {    inherit_state = Pike_compiler;    inherit_depth = 0;    e = 0;    }    else    my_yyerror("No inherit or surrounding class %S.",    $1->u.sval.u.string);    }    free_node($1);    $$ = e;