about summary refs log tree commit diff
path: root/examples/5.src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/5.src')
-rw-r--r--examples/5.src6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/5.src b/examples/5.src
index c397759..f6b2e62 100644
--- a/examples/5.src
+++ b/examples/5.src
@@ -6,15 +6,15 @@ let x = 18;
 
 let foo = () => i64 {
 	let x = 1;
-	println("%d", x);
+	printf("%d\n", x);
 	return x;
 };
 
 let main = () => i64 {
-	println("%d", x);
+	printf("%d\n", x);
 	let x = 2;
 	let y = foo();
-	println("%d", x);
+	printf("%d\n", x);
 	return x + y;
 };