mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
more progress in df cmds -> msgs
This commit is contained in:
@@ -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