turn access into a function to be ran at runtime

This commit is contained in:
2025-08-10 01:45:46 +01:00
parent ad3e31b0a2
commit 49b1c1858a
14 changed files with 196 additions and 636502 deletions

View File

@@ -268,7 +268,8 @@ ParsedValueReturn parse_string(Token* token, bool to_unquote) {
NULL};
}
} else {
parsedString->string = strdup(token->value);
parsedString->string = checked_malloc(token->length);
memcpy(parsedString->string, token->value, token->length);
parsedString->length = token->length;
}
return (ParsedValueReturn){no_err,parsedValue};