summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-13 04:25:19 +0200
committerkdx <kikoodx@paranoici.org>2023-06-13 04:25:19 +0200
commitdea6dce494e9c403f1f9e2178cd8c7d0aad79738 (patch)
tree41611f96256ec2525ec19513b796166faed6a3cd /samples
parentbef68b681f0af54061858a6689057850b390d79c (diff)
downloadgolem-dea6dce494e9c403f1f9e2178cd8c7d0aad79738.tar.gz
escape sequences
Diffstat (limited to 'samples')
-rw-r--r--samples/helloworld.golem3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/helloworld.golem b/samples/helloworld.golem
index 37698c0..57333b5 100644
--- a/samples/helloworld.golem
+++ b/samples/helloworld.golem
@@ -5,8 +5,7 @@ define iterations = 9;
main() {
local i;
- strcpy(str, "Hello, World!");
- strappend(str, '\n');
+ strcpy(str, "Hello, World!\n");
i = 0;
loop {