working on adding arrays into config

This commit is contained in:
herbglitch 2025-03-24 01:40:14 -06:00
parent 44f0acecf7
commit a9ddb5aa00

View file

@ -338,6 +338,10 @@ void ARC_ConfigData_RunVariableLineTag(ARC_ParserTagToken *tagToken, ARC_Config
ARC_String_Create(&variableString, NULL, 0);
ARC_ParserData_HelperRecurseStringAdd(&variableString, childTagToken);
//check if the value is an array
childTagToken = (ARC_ParserTagToken *)ARC_Vector_Get(tagToken->tagTokens, 5);
//ARC_Bool isArray = (ARC_Bool)(ARC_Vector_GetSize(childTagToken->tagTokens) != 0);
//check if removing
if(config->load == ARC_False){
ARC_Hashtable_Remove(config->currentGroup, (void *)variableString->data);