Branch: Tag:

2014-12-04

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

decode_value: Fix handling of inherits.

Use program.c:lower_inherit() in decode_value(). The new
parent flags handling in low_inherit() isn't safe to use
from decode_value(), since the program_state stack isn't
necessarily the same as when the encoded program was
initially compiled.

Fixes various dumping errors.

4533:   }   #endif    - static void lower_inherit(struct program *p, + void lower_inherit(struct program *p,    struct object *parent,    int parent_identifier,    int parent_offset,