diff --git a/tools/gen/header_template b/tools/gen/header_template index d37c4a77f..c0ac8bc38 100644 --- a/tools/gen/header_template +++ b/tools/gen/header_template @@ -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():