summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-19 23:40:05 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-19 23:40:05 +0100
commitfcead42285fe37990d1843c3d3da39f65fd426c0 (patch)
tree3d15851970de503613be095b25b7b4d2753b06fa /examples
parentBug: Fix bug with accept_parse (diff)
downloadinterpreter-fcead42285fe37990d1843c3d3da39f65fd426c0.tar.gz
interpreter-fcead42285fe37990d1843c3d3da39f65fd426c0.tar.bz2
interpreter-fcead42285fe37990d1843c3d3da39f65fd426c0.zip
Start working on proper operator precedence
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 b96cba8..3bb1b91 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -1,7 +1,7 @@
 let main = () => {
 	let i = 4;
 	
-	if i + 1 == 5 {
+	if i + 1 == 5 - (1 + 1) {
 		print(i);
 		return i;
 	};