aboutsummaryrefslogtreecommitdiff
path: root/src/docs_format.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-04 11:44:34 +0000
committergingerBill <bill@gingerbill.org>2022-01-04 11:44:34 +0000
commit17613185e79b324948c14257f64c388c8e2a52fb (patch)
tree1cb7bee03645bea6168261f08041f0743eb7f352 /src/docs_format.cpp
parentf15bb0b424d854e4ba84c14046b56d7b8357eb94 (diff)
Support struct field tags in odin doc format
Diffstat (limited to 'src/docs_format.cpp')
-rw-r--r--src/docs_format.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/docs_format.cpp b/src/docs_format.cpp
index 1c3af6257..5cfac4817 100644
--- a/src/docs_format.cpp
+++ b/src/docs_format.cpp
@@ -15,7 +15,7 @@ struct OdinDocVersionType {
#define OdinDocVersionType_Major 0
#define OdinDocVersionType_Minor 2
-#define OdinDocVersionType_Patch 1
+#define OdinDocVersionType_Patch 2
struct OdinDocHeaderBase {
u8 magic[8];
@@ -137,6 +137,7 @@ struct OdinDocType {
OdinDocArray<OdinDocEntityIndex> entities;
OdinDocTypeIndex polmorphic_params;
OdinDocArray<OdinDocString> where_clauses;
+ OdinDocArray<OdinDocString> tags; // struct field tags
};
struct OdinDocAttribute {