This commit is contained in:
2024-06-10 02:22:13 +05:00
parent b3b68ed586
commit a7aefd33ad
+4 -4
View File
@@ -51,13 +51,13 @@ bool process_find(tSyntaxElement* tree, tProcessingData** p_pdata) {
if (se_istraversable(tree))
if (tree->content.syntax->type == TOKEN &&
tree->content.syntax->next != NULL &&
tree->content.syntax->next->next != NULL) {
if (tree->content.syntax->type == TOKEN) {
tSyntaxElement* token = tree->content.syntax;
if (strcmp(token->content.string,"def") == 0) {
if (strcmp(token->content.string,"def") == 0 &&
token->next != NULL &&
token->next->next != NULL) {
char* replacethis = token->next->content.string;