From d7a68b75f1811006e75396c12a7f2b918407c9ed Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Wed, 17 Jul 2019 17:25:44 -0500 Subject: [PATCH] bolt-gen: fixup broken subtype parsing --- tools/gen/header_template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():