diff options
Diffstat (limited to 'lib9p/protogen/c.py')
-rw-r--r-- | lib9p/protogen/c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/protogen/c.py b/lib9p/protogen/c.py index 5e67939..cc1daea 100644 --- a/lib9p/protogen/c.py +++ b/lib9p/protogen/c.py @@ -118,7 +118,7 @@ const char *const {c9util.ident('_table_ver_name')}[{c9util.ver_enum('NUM')}] = + "".join( ( "1" - if bit.cat in (idl.BitCat.USED, idl.BitCat.SUBFIELD) + if (bit.cat == "USED" or isinstance(bit.cat, idl.BitNum)) and ver in bit.in_versions else "0" ) |