From fcf0174ce10900f7f5ed6547382e0912d6a291b3 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 10 May 2020 14:58:42 -0400 Subject: fixed that namespace problem --- tests/control_flow.toc | 2 +- tests/defer.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/control_flow.toc b/tests/control_flow.toc index 043d4b7..f54a8bc 100644 --- a/tests/control_flow.toc +++ b/tests/control_flow.toc @@ -8,7 +8,7 @@ f ::= fn() int { if i == 7 { break; } } i := 0; - while { + while true { i += 1; total += i; if i == 10 { diff --git a/tests/defer.toc b/tests/defer.toc index ec06a19..07ef9f7 100644 --- a/tests/defer.toc +++ b/tests/defer.toc @@ -50,7 +50,7 @@ main ::= fn() { } } i := 0; - while { + while true { defer io.puts("deferred from while"); i += 1; io.puti(i); -- cgit v1.2.3