parsing function docs; remove some dead code

This commit is contained in:
ryanfleury
2021-06-30 16:39:31 -06:00
parent 9755bc966b
commit 0045b05a04
2 changed files with 62 additions and 28 deletions
+1 -10
View File
@@ -1070,16 +1070,7 @@ MD_MapOverwrite(MD_Map *map, MD_MapKey key, void *val){
//~ Parsing
MD_PRIVATE_FUNCTION_IMPL MD_b32
_MD_TokenBoundariesAreBalanced(MD_Token token)
{
MD_u64 front_len = token.string.str - token.outer_string.str;
MD_u64 back_len = (token.outer_string.str + token.outer_string.size) - (token.string.str + token.string.size);
MD_b32 result = (front_len == back_len);
return result;
}
MD_FUNCTION MD_Token
MD_FUNCTION_IMPL MD_Token
MD_TokenFromString(MD_String8 string)
{
MD_Token token = MD_ZERO_STRUCT;