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/5.src | |
| parent | Feature: Add basic support for varargs (diff) | |
| download | pry-lang-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.gz pry-lang-d43c244d76c1e89117bb21f2f53a5b05ca73812c.tar.bz2 pry-lang-d43c244d76c1e89117bb21f2f53a5b05ca73812c.zip | |
Tokenizer: Support newlines and tabs for strings
Diffstat (limited to 'examples/5.src')
| -rw-r--r-- | examples/5.src | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/5.src b/examples/5.src index f149e92..a8d341d 100644 --- a/examples/5.src +++ b/examples/5.src @@ -5,14 +5,14 @@ let x = 18; let foo = () => i64 { let x = 1; - printf("%d", x); + printf("%d\n", x); return x; }; let main = () => i64 { - printf("%d", x); + printf("%d\n", x); let x = 2; let y = foo(); - printf("%d", x); + printf("%d\n", x); return x + y; }; |