Branch: Tag:


2016-05-02 16:37:15 by Henrik Grubbström (Grubba) <>

Compiler: Added helper function find_inherited_identifier().

This function is intended to be used to reduce some of
the duplicated code in language.yacc.

786:    int see_inherit);   node *resolve_identifier(struct pike_string *ident);   PMOD_EXPORT struct program *resolve_program(struct pike_string *ident); + node *find_inherited_identifier(struct program_state *inherit_state, +  int inherit_depth, int inh, +  struct pike_string *ident);   node *program_magic_identifier (struct program_state *state,    int state_depth, int inherit_num,    struct pike_string *ident,