about summary refs log tree commit diff
path: root/examples/7.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/7.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 '')
-rw-r--r--examples/7.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index e887d9c..e4db114 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 {
-		printf("%d", i);
+		printf("%d\n", i);
 		return i;
 	};