about summary refs log tree commit diff
path: root/examples/7.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-06-11 00:10:59 +0200
committerBaitinq <[email protected]>2025-06-11 00:11:01 +0200
commit8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5 (patch)
tree80e8e9319734e112558f1a9c31485b1c01bccb41 /examples/7.src
parentBoostrap: fix aarch64 linking (diff)
downloadinterpreter-8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5.tar.gz
interpreter-8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5.tar.bz2
interpreter-8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5.zip
stdlib: Remove println
varargs forwarding is platform specific with llvm, so we cannot easily
have this function
Diffstat (limited to 'examples/7.src')
-rw-r--r--examples/7.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index 6b45b73..a94891d 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -10,7 +10,7 @@ let main = () => i64 {
 	let i = 4;
 	
 	if (1 - -1 * 2) == 5 - (-1 + 1 + ten() / 2) + 3 {
-		println("%d", i);
+		printf("%d\n", i);
 		return i;
 	};