From c22410c6f334497a404f0b708ae94be527a8f0ee Mon Sep 17 00:00:00 2001 From: Cody Date: Mon, 19 Jun 2023 03:38:41 -0500 Subject: Parser works with function calls --- examples/hello.sloth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/hello.sloth b/examples/hello.sloth index 0da2fd0..fea5304 100644 --- a/examples/hello.sloth +++ b/examples/hello.sloth @@ -1,6 +1,7 @@ fn main() { var i: Int = 10; - while i > 0 { + var j: Int = int(1.0) - 1; + while i > j { i = i - 1; } } -- cgit v1.2.3