Branch: Tag:

2017-08-02

2017-08-02 11:59:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added convenience function lexical_inherit().

This function looks up a symbol in the specified lexical scope
and inherits it.

824:    int parent_offset,    INT32 flags,    struct pike_string *name); + PMOD_EXPORT struct program *lexical_inherit(int scope_depth, +  struct pike_string *symbol, +  INT32 flags, +  int failure_severity_level);   PMOD_EXPORT void do_inherit(struct svalue *s,    INT32 flags,    struct pike_string *name);