Notify of unknown keywords

This commit is contained in:
bʰedoh₂ swé 2024-06-11 16:06:47 +05:00
parent 57af99e53a
commit ab7f648e56

View File

@ -302,6 +302,13 @@ char* compile(tSyntaxElement* syntaxtree) {
string_append(&result,compile_expression(token->next));
string_append(&result, "}}");
} else {
string_append(&result, "{#");
string_append(&result, "Unknown keyword: ");
string_append(&result, token->content.string);
string_append(&result, "#}");
}
}