Skip to content

Commit

Permalink
repair issue eclipse-cyclonedds#461
Browse files Browse the repository at this point in the history
  • Loading branch information
ruoruoniao committed Apr 30, 2024
1 parent a5898db commit 895a5a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/idlcxx/src/generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,9 @@ bool is_selfcontained(const void *node)
const idl_node_t *parent = ((const idl_node_t*)node)->parent;
assert (idl_is_typedef(parent));
return is_selfcontained(parent);
} else if (idl_is_type_spec(node)) {
const idl_node_t *parent = ((const idl_node_t*)node)->parent;
return is_selfcontained(parent);
} else {
return !is_external(node);
}
Expand Down

0 comments on commit 895a5a2

Please sign in to comment.