diff --git a/src/compile.c b/src/compile.c index 50fd27a..3b3defd 100644 --- a/src/compile.c +++ b/src/compile.c @@ -237,7 +237,7 @@ char* compile(tSyntaxElement* syntaxtree) { tSyntaxElement* token = syntaxtree->content.syntax; - if (strcmp(token->content.string, "def") == 0) { + if (strcmp(token->content.string, "#def") == 0) { } else if (strcmp(token->content.string, "set") == 0) { compile_enter_tag(&result); diff --git a/src/process.c b/src/process.c index 402b12e..9e9bfd4 100644 --- a/src/process.c +++ b/src/process.c @@ -66,7 +66,7 @@ bool process_find(tSyntaxElement* tree, tProcessingData** p_pdata) { 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) {