How in the bloody hell it end up like that!?

This commit is contained in:
bʰedoh₂ swé 2024-06-11 16:29:40 +05:00
parent 71ee935f7b
commit 898fa9b195

View File

@ -74,7 +74,7 @@ bool process_find(tSyntaxElement* tree, tProcessingData** p_pdata) {
tSyntaxElement* replacewiththis = token->next->next; tSyntaxElement* replacewiththis = token->next->next;
tProcessingData* npd = malloc(sizeof(tSyntaxElement)); tProcessingData* npd = malloc(sizeof(tProcessingData));
npd->type = REPLACE; npd->type = REPLACE;
npd->data.replace.replacethis = replacethis; npd->data.replace.replacethis = replacethis;
@ -90,7 +90,7 @@ bool process_find(tSyntaxElement* tree, tProcessingData** p_pdata) {
token->next->next != NULL && se_istraversable(token->next->next) && token->next->next != NULL && se_istraversable(token->next->next) &&
token->next->next->next != NULL) { token->next->next->next != NULL) {
tProcessingData* npd = malloc(sizeof(tSyntaxElement)); tProcessingData* npd = malloc(sizeof(tProcessingData));
npd->type = FUNCTION; npd->type = FUNCTION;