about summary refs log tree commit diff
path: root/examples/0.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-03-26 01:19:00 +0100
committerBaitinq <[email protected]>2025-03-26 01:19:00 +0100
commitd43c244d76c1e89117bb21f2f53a5b05ca73812c (patch)
tree955c7891facec4a37b0aa215bd76a4ba6f08c875 /examples/0.src
parentFeature: Add basic support for varargs (diff)
downloadinterpreter-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.gz
interpreter-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.bz2
interpreter-d43c244d76c1e89117bb21f2f53a5b05ca73812c.zip
Tokenizer: Support newlines and tabs for strings
Diffstat (limited to 'examples/0.src')
-rw-r--r--examples/0.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/0.src b/examples/0.src
index 8d0f7c1..db7a87f 100644
--- a/examples/0.src
+++ b/examples/0.src
@@ -2,7 +2,7 @@
 extern printf = (*i64, varargs) => i64;
 
 let main = (argc: i64, argv: *i64) => i64 {
-	printf("%d", argc);
+	printf("%d\n", argc);
 	
 	return 2;
 };