From d8c52d6c408a172f1210c77df3e3a9629ea68dc6 Mon Sep 17 00:00:00 2001 From: nasr Date: Thu, 5 Mar 2026 22:42:55 +0000 Subject: feature(main): helper functions for lexing refactor(main): helper script for testing to gitignore --- source/base/base_string.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/base') 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) buf->size += 1; } +read_only global_variable +string8 nil_string = +{ + + .data = NULL, + .size = 0, + +}; + #endif /* BASE_STRING_H */ -- cgit v1.3