Branch: Tag:

2014-12-04

2014-12-04 19:23:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added new lookup functions for variants.

Added new lookup function really_low_find_variant_identifier()
that looks up based on both name and type.

845:    INT32 flags,    struct pike_string *name);   int isidentifier(struct pike_string *s); + int isidentifier_variant(struct pike_string *name, +  unsigned id_flags, +  struct pike_type *type);   int low_define_alias(struct pike_string *name, struct pike_type *type,    int flags, int depth, int refno);   PMOD_EXPORT int define_alias(struct pike_string *name, struct pike_type *type,
915:   int really_low_find_shared_string_identifier(struct pike_string *name,    struct program *prog,    int flags); + int really_low_find_variant_identifier(struct pike_string *name, +  struct program *prog, +  struct pike_type *type, +  int start_pos, +  int flags);   PMOD_EXPORT int low_find_lfun(struct program *p, ptrdiff_t lfun);   int lfun_lookup_id(struct pike_string *lfun_name);   int low_find_shared_string_identifier(struct pike_string *name,