PTMLCBuilder: introduce a code tag annotation

This commit is contained in:
Ivan Krysak
2024-07-24 17:14:55 +03:00
parent 2c9c780a3d
commit 7b00b85647
3 changed files with 6 additions and 0 deletions
+3
View File
@@ -328,6 +328,9 @@ static void printDefinition(Logger<> &Log,
<< B.getKeyword(ptml::PTMLCBuilder::Keyword::Struct) << " "
<< B.getPackedAttribute() << " ";
if (S.CanContainCode())
Header << B.getCanContainCodeAttribute() << " ";
if (ForEditing)
Header << B.getSizeAnnotation(S.Size()) << " ";