mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-02 12:48:13 +00:00
fix bugs with inline linked list macros
This commit is contained in:
+5
-1
@@ -1,6 +1,7 @@
|
||||
// This is test strictly for the granular (non-generated) version of the library to make sure it operates correctly
|
||||
|
||||
// #define MD_DONT_MAP_ANREA_TO_ALLOCATOR_IMPL
|
||||
// #define MD_LINKED_LIST_PURE_MACRO 1
|
||||
// #define MD_DONT_MAP_ANREA_TO_ALLOCATOR_IMPL 1
|
||||
#include "metadesk.c"
|
||||
|
||||
// This program expects to be run from the build directory (where it would be after being built)
|
||||
@@ -21,5 +22,8 @@ int main()
|
||||
Arena* arena = arena_alloc();
|
||||
String8 hello_world_mdesk = os_data_from_file_path(arena, text(path_hello_world_mdesk));
|
||||
|
||||
TokenizeResult lexed = tokenize_from_text (arena, hello_world_mdesk);
|
||||
ParseResult parsed = parse_from_text_tokens(arena, text(path_hello_world_mdesk), hello_world_mdesk, lexed.tokens);
|
||||
|
||||
deinit(& ctx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user