Add #subtype struct field prefix, required to have a COM interface hierarchy

This commit is contained in:
gingerBill
2022-02-16 11:54:15 +00:00
parent 0e69993d39
commit 65dedbb1ca
6 changed files with 37 additions and 8 deletions

View File

@@ -9774,6 +9774,9 @@ gbString write_expr_to_string(gbString str, Ast *node, bool shorthand) {
if (f->flags&FieldFlag_const) {
str = gb_string_appendc(str, "#const ");
}
if (f->flags&FieldFlag_subtype) {
str = gb_string_appendc(str, "#subtype ");
}
for_array(i, f->names) {
Ast *name = f->names[i];