diff options
| author | Baitinq <[email protected]> | 2025-03-26 01:19:00 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-03-26 01:19:00 +0100 |
| commit | d43c244d76c1e89117bb21f2f53a5b05ca73812c (patch) | |
| tree | 955c7891facec4a37b0aa215bd76a4ba6f08c875 /examples/1.5.src | |
| parent | Feature: Add basic support for varargs (diff) | |
| download | interpreter-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.gz interpreter-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.bz2 interpreter-d43c244d76c1e89117bb21f2f53a5b05ca73812c.zip | |
Tokenizer: Support newlines and tabs for strings
Diffstat (limited to 'examples/1.5.src')
| -rw-r--r-- | examples/1.5.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/1.5.src b/examples/1.5.src index 4391639..17c9b35 100644 --- a/examples/1.5.src +++ b/examples/1.5.src @@ -1,14 +1,14 @@ extern printf = (*i64, i64) => i64; let x = () => i64 { - printf("%d", 22); + printf("%d\n", 22); return 11; }; let main = () => i64 { let i = 4; - printf("%d", i); + printf("%d\n", i); return x(); }; |