Dont dump legacy fields (#2241)

This commit is contained in:
Jesse Hills authored and GitHub committed 2021-09-06 08:36:55 +12:00
1 parent ff6bed54c6
commit 97eba1eecc
2 files changed
+2 -41

No files matched your search

+2
View File
@@ -183,6 +183,8 @@ class TypeInfo:
@property
def dump_content(self):
if self.name.startswith("legacy_"):
return None
o = f'out.append(" {self.name}: ");\n'
o += self.dump(f"this->{self.field_name}") + "\n"
o += f'out.append("\\n");\n'