mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-06 15:48:47 +00:00
thread context scratch system; converge on transition idiom in sample code
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user