thread context scratch system; converge on transition idiom in sample code

This commit is contained in:
Allen Webster
2021-07-21 16:03:39 -07:00
parent c6df111fb1
commit 37484ea0a6
15 changed files with 120 additions and 92 deletions
+3
View File
@@ -120,6 +120,9 @@ TokenMatch(MD_Token token, MD_String8 string, MD_TokenKind kind)
int main(void)
{
MD_ThreadContext tctx;
MD_ThreadInit(&tctx);
arena = MD_ArenaNew(1ull << 40);
Test("Lexer")