Rename def to #def

This commit is contained in:
bʰedoh₂ swé 2024-06-11 16:15:09 +05:00
parent 1c9de73b91
commit 71ee935f7b
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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) {