Add "use"

This commit is contained in:
bʰedoh₂ swé 2024-06-11 18:28:50 +05:00
parent d30a715d06
commit 099bb1d600

View File

@ -334,6 +334,15 @@ char* compile(tSyntaxElement* syntaxtree) {
compile_exit_tag(&result);
} else if (strcmp(token->content.string, "use") == 0) {
compile_enter_tag(&result);
string_append(&result, "use ");
string_append_free(&result,compile_expression(token->next));
compile_exit_tag(&result);
} else if (strcmp(token->content.string, "if") == 0) {
compile_enter_tag(&result);