Add print keyword
This commit is contained in:
parent
542547e174
commit
eda259dfbf
@ -155,6 +155,14 @@ char* compile(tSyntaxElement* syntaxtree) {
|
|||||||
|
|
||||||
compile_exit_tag(&result);
|
compile_exit_tag(&result);
|
||||||
|
|
||||||
|
} else
|
||||||
|
|
||||||
|
if (strcmp(token->content.string, "print") == 0) {
|
||||||
|
|
||||||
|
string_append(&result, "{{");
|
||||||
|
string_append(&result,compile_expression(token->next));
|
||||||
|
string_append(&result, "}}");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user