mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 13:29:41 -07:00
more progress in df cmds -> msgs
This commit is contained in:
1 parent
6ead03ac17
commit
06f65857db
8 files changed
+137
-38
No files matched your search
@@ -1098,6 +1098,19 @@ if(work_top == 0) {work_top = &broken_work;}\
|
||||
return result;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Bundled Text -> Tree Functions
|
||||
|
||||
internal MD_ParseResult
|
||||
md_parse_from_text(Arena *arena, String8 filename, String8 text)
|
||||
{
|
||||
Temp scratch = scratch_begin(&arena, 1);
|
||||
MD_TokenizeResult tokenize = md_tokenize_from_text(scratch.arena, text);
|
||||
MD_ParseResult parse = md_parse_from_text_tokens(arena, filename, text, tokenize.tokens);
|
||||
scratch_end(scratch);
|
||||
return parse;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Tree -> Text Functions
|
||||
|
||||
|
||||
Reference in new issue
Block a user