Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/idlcxx/src/generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,9 @@ bool is_nested(const void *node)

static bool sc_union(const idl_union_t *_union)
{
if (!is_selfcontained(_union->switch_type_spec->type_spec))
return false;

/* if (!is_selfcontained(_union->switch_type_spec->type_spec))
return false;

const idl_case_t *_case = NULL;
Expand All @@ -542,7 +544,7 @@ static bool sc_union(const idl_union_t *_union)
return false;
}

return true;
return true;*/
}

static bool sc_struct(const idl_struct_t *str)
Expand Down