summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-18 23:29:31 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-18 23:29:31 +0100
commit1da51fff503411454d5665bbc325a8a846862b88 (patch)
tree3c651c35d9de5e2897b9a1225d7965b8d3071feb /examples
parentExamples: add future examples :^) (diff)
downloadinterpreter-1da51fff503411454d5665bbc325a8a846862b88.tar.gz
interpreter-1da51fff503411454d5665bbc325a8a846862b88.tar.bz2
interpreter-1da51fff503411454d5665bbc325a8a846862b88.zip
Feature: Add basic support for if statements
Diffstat (limited to 'examples')
-rw-r--r--examples/7.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index 36796cb..7b8fe88 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -4,7 +4,7 @@ let main = () => {
 	if i == 4 {
 		print(i);
 		return i;
-	}
+	};
 
 	return 1;
 };