aboutsummaryrefslogtreecommitdiff
path: root/examples/while.sil
diff options
context:
space:
mode:
Diffstat (limited to 'examples/while.sil')
-rw-r--r--examples/while.sil2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/while.sil b/examples/while.sil
index 2b531d6..b6ae2cc 100644
--- a/examples/while.sil
+++ b/examples/while.sil
@@ -8,7 +8,7 @@ Int print(Int n) {
Int loop(Int start, Int end) {
while (!(start == end)) {
- start := print(start);
+ print(start);
start := start + 1;
}
return start;