Skip to content

Commit

Permalink
bolt-gen: fixup broken subtype parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
niftynei authored and rustyrussell committed Jul 24, 2019
1 parent 2524aea commit d7a68b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen/header_template
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const char *${enum_set['name']}_name(int e);
% for struct in structs:
struct ${struct.struct_name()} {
% for f in struct.fields.values():
% if f.is_len_field:
% if bool(f.len_field_of):
<% continue %>
% endif
% if f.has_len_field():
Expand Down

0 comments on commit d7a68b7

Please sign in to comment.