Notify of unknown keywords
This commit is contained in:
@@ -302,6 +302,13 @@ char* compile(tSyntaxElement* syntaxtree) {
|
|||||||
string_append(&result,compile_expression(token->next));
|
string_append(&result,compile_expression(token->next));
|
||||||
string_append(&result, "}}");
|
string_append(&result, "}}");
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
string_append(&result, "{#");
|
||||||
|
string_append(&result, "Unknown keyword: ");
|
||||||
|
string_append(&result, token->content.string);
|
||||||
|
string_append(&result, "#}");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user