summaryrefslogtreecommitdiff
path: root/source/base
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-03-05 22:42:55 +0000
committernasr <nsrddyn@gmail.com>2026-03-05 22:42:55 +0000
commitd8c52d6c408a172f1210c77df3e3a9629ea68dc6 (patch)
tree8125ad25c4b9a1a94d8a77b4daa19ca06479fc1d /source/base
parentaa2bee82ac82ff47c6be84f2e6d39c690ec66a21 (diff)
feature(main): helper functions for lexing
refactor(main): helper script for testing to gitignore
Diffstat (limited to 'source/base')
-rw-r--r--source/base/base_string.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/base/base_string.h b/source/base/base_string.h
index 64a3162..189b38a 100644
--- a/source/base/base_string.h
+++ b/source/base/base_string.h
@@ -47,4 +47,13 @@ string8_append_char(string8 *buf, u8 c)
47 buf->size += 1; 47 buf->size += 1;
48} 48}
49 49
50read_only global_variable
51string8 nil_string =
52{
53
54 .data = NULL,
55 .size = 0,
56
57};
58
50#endif /* BASE_STRING_H */ 59#endif /* BASE_STRING_H */