Branch: Tag:

2013-04-21

2013-04-21 10:12:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added resolve_program().

Added helper function resolve_program() to simplify resolving of
program symbols during compile-time for C-modules.

This function is used from precompiled code when inheriting
strings (API level 5).

784:   node *find_module_identifier(struct pike_string *ident,    int see_inherit);   node *resolve_identifier(struct pike_string *ident); + PMOD_EXPORT struct program *resolve_program(struct pike_string *ident);   node *program_magic_identifier (struct program_state *state,    int state_depth, int inherit_num,    struct pike_string *ident,