about summary refs log tree commit diff
path: root/examples/11.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/11.src
parentFeature: Add basic support for varargs (diff)
downloadpry-lang-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.gz
pry-lang-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.bz2
pry-lang-d43c244d76c1e89117bb21f2f53a5b05ca73812c.zip
Tokenizer: Support newlines and tabs for strings
Diffstat (limited to 'examples/11.src')
-rw-r--r--examples/11.src4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/11.src b/examples/11.src
index cfefad8..cc23719 100644
--- a/examples/11.src
+++ b/examples/11.src
@@ -6,8 +6,8 @@ let main = () => i64 {
 	};
 
 	let id = (a: i64) => i64 {
-		printf("%d", a);
-		printf("%d", 12);
+		printf("%d\n", a);
+		printf("%d\n", 12);
 		return a;
 	};