Branch: Tag:

2022-08-02

2022-08-02 15:59:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Add bool_type_string.

47:      PMOD_EXPORT struct pike_type *string0_type_string;   PMOD_EXPORT struct pike_type *string_type_string; + PMOD_EXPORT struct pike_type *bool_type_string;   PMOD_EXPORT struct pike_type *int_type_string;   PMOD_EXPORT struct pike_type *int_pos_type_string;   PMOD_EXPORT struct pike_type *float_type_string;
15106:       type_stack_mark(); /* Type stack marker sentinel. */    +  bool_type_string = CONSTTYPE(tInt01);    int_type_string = CONSTTYPE(tInt); /* MUST come before string and array! */    int_pos_type_string = CONSTTYPE(tIntPos);    string0_type_string = CONSTTYPE(tStr0);
15195:    string0_type_string = NULL;    free_type(string_type_string);    string_type_string = NULL; +  free_type(bool_type_string); +  bool_type_string = NULL;    free_type(int_type_string);    int_type_string = NULL;    free_type(int_pos_type_string);