From 164a8d297429d58d216b9fa44e0cb42db5d23e2c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 11 Feb 2017 22:54:35 +0100 Subject: Handle functions better in 'compilation' --- test.squig | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'test.squig') diff --git a/test.squig b/test.squig index 1e83fb2..c45cdb2 100644 --- a/test.squig +++ b/test.squig @@ -1 +1,16 @@ -a := 1 +v := "first v value" + +f := ??{ + puts("function") + x := v +} + +f { + puts(x) +} + +v = "second v value" + +f { + puts(x) +} -- cgit v1.2.3-70-g09d2