about summary refs log tree commit diff
path: root/src/bootstrap/main.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-05-23 00:11:08 +0200
committerBaitinq <[email protected]>2025-05-23 00:11:31 +0200
commit54b716546131d6e2ad090857ae1178b05eabefee (patch)
tree2c1ee8650f3138191bc2096632b9e28b17d1f9df /src/bootstrap/main.src
parentParser: Fix cast statement parsing (diff)
downloadinterpreter-54b716546131d6e2ad090857ae1178b05eabefee.tar.gz
interpreter-54b716546131d6e2ad090857ae1178b05eabefee.tar.bz2
interpreter-54b716546131d6e2ad090857ae1178b05eabefee.zip
Codegen: Typecheck binary expressions
Diffstat (limited to 'src/bootstrap/main.src')
-rw-r--r--src/bootstrap/main.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/main.src b/src/bootstrap/main.src
index 7917e04..17632ce 100644
--- a/src/bootstrap/main.src
+++ b/src/bootstrap/main.src
@@ -8,7 +8,7 @@ let main = (argc: i64, argv: **i8) => i64 {
 		return 1;
 	};
 
-	let filename = *(argv + 1);
+	let filename = *(argv + cast(**i8, 1));
 
 	println("%s", filename);