Add Stmt::FnCall.

This commit is contained in:
Stephen Chung
2021-04-21 18:16:24 +08:00
parent cc546fcaab
commit fe37edd123
4 changed files with 87 additions and 20 deletions

View File

@@ -72,7 +72,7 @@ fn test_max_operations_functions() -> Result<(), Box<EvalAltResult>> {
fn inc(x) { x + 1 }
let x = 0;
while x < 31 {
while x < 36 {
print(x);
x = inc(x);
}