feat: implement format strings
This commit is contained in:
@@ -30,7 +30,11 @@ fzl_token_t *fzl_mktoken(const fzl_toktype_t type, size_t line, size_t col,
|
||||
// Free allocated token
|
||||
void fzl_freetoken(fzl_token_t *tok)
|
||||
{
|
||||
if (!tok)
|
||||
return;
|
||||
|
||||
if (tok->store_value)
|
||||
free(tok->value);
|
||||
|
||||
free(tok);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user