Notify of unknown keywords
This commit is contained in:
parent
57af99e53a
commit
ab7f648e56
@ -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, "#}");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user