Branch: Tag:

2022-09-21

2022-09-21 09:52:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug10054'

* patches/bug10054:
Compiler [Typechecker]: compiler_discard_type() now leaves a marker.

158:    free_type(*(Pike_compiler->type_stackp--));   }    - void compiler_discard_type (void) + static void low_discard_type (void)   {    ptrdiff_t len = pop_stack_mark();    TYPE_STACK_DEBUG("discard_type");
168:    }   }    + void compiler_discard_type (void) + { +  low_discard_type(); +  type_stack_mark(); + } +    static struct pike_type *low_pop_type(void)   {    TYPE_STACK_DEBUG("low_pop_type");
192:    struct pike_type *res;    compiler_discard_type();    add_ref(res = mixed_type_string); -  type_stack_mark(); +     return res;    }else{    return debug_pop_type();