aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-11-21 14:06:15 +0000
committergingerBill <bill@gingerbill.org>2021-11-21 14:06:15 +0000
commit8a2c829e07763173864b73d3b6ca46e27f810e72 (patch)
treecfde83ed4d28587c4f898808bcbfae5384dba7e4
parent42b9ce636f72bcad6cb04817d42bb39ba952c1a7 (diff)
Patch odin doc binary format
-rw-r--r--core/odin/doc-format/doc_format.odin2
-rw-r--r--src/docs_format.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/core/odin/doc-format/doc_format.odin b/core/odin/doc-format/doc_format.odin
index 8fa9f453c..c80be2489 100644
--- a/core/odin/doc-format/doc_format.odin
+++ b/core/odin/doc-format/doc_format.odin
@@ -11,7 +11,7 @@ String :: distinct Array(byte)
Version_Type_Major :: 0
Version_Type_Minor :: 2
-Version_Type_Patch :: 0
+Version_Type_Patch :: 1
Version_Type :: struct {
major, minor, patch: u8,
diff --git a/src/docs_format.cpp b/src/docs_format.cpp
index 4cdb19a68..1c3af6257 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 0
+#define OdinDocVersionType_Patch 1
struct OdinDocHeaderBase {
u8 magic[8];
@@ -175,7 +175,8 @@ enum OdinDocEntityFlag : u64 {
struct OdinDocEntity {
OdinDocEntityKind kind;
- u32 flags;
+ u32 reserved;
+ u64 flags;
OdinDocPosition pos;
OdinDocString name;
OdinDocTypeIndex type;