Skip to content

Commit

Permalink
Merge pull request #401 from jwillemsen/jwi-ddsx11structinheritance
Browse files Browse the repository at this point in the history
Generate base struct when used in the base definition
  • Loading branch information
jwillemsen authored Aug 3, 2023
2 parents 79582f3 + 5ceba42 commit c2b7900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ridlbe/ccmx11/facets/dds/templates/idl/dds/struct.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/// @copydoc <%= doc_scoped_name %>
@nested(<% if has_toplevel_annotation? %>FALSE<% else %>TRUE<% end %>)
@<%= extensibility_annotation %>
struct <%= unescaped_name %> {
struct <%= unescaped_name %><% unless base.nil? %> : <%= base.unescaped_name %><% end %> {
% members.each do |_m|
/// @copydoc <%= _m.doc_scoped_name %>
<% if _m.has_key_annotation? %>@key <% end %><%= strip_global_scope(_m.idltype_unescaped_name) %> <%= _m.unescaped_name %>;
Expand Down

0 comments on commit c2b7900

Please sign in to comment.