summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-12 19:52:17 +0200
committerkdx <kikoodx@paranoici.org>2023-06-12 19:52:17 +0200
commit7648643b7f25b7752aacef9e758cf28372529ab4 (patch)
treea0630cfb6358ba50005f309b4a76fa60f9000f58 /samples
parent77c272bf67beb30997021947ff8d7fc5cef7b637 (diff)
downloadgolem-7648643b7f25b7752aacef9e758cf28372529ab4.tar.gz
postfix operators are gucci
Diffstat (limited to 'samples')
-rw-r--r--samples/helloworld.golem2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/helloworld.golem b/samples/helloworld.golem
index 2e0d82c..37698c0 100644
--- a/samples/helloworld.golem
+++ b/samples/helloworld.golem
@@ -10,7 +10,7 @@ main() {
i = 0;
loop {
- i = i + 1;
+ i++;
if (i > iterations)
break;
print(str);