about summary refs log tree commit diff
path: root/src/bootstrap/main.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-04-10 00:14:40 +0200
committerBaitinq <[email protected]>2025-04-10 00:14:46 +0200
commit13509727c7bf28767d35922361186b952e4523b8 (patch)
treec5353c654be5825c6d87d30871b77bc21bc1e2cc /src/bootstrap/main.src
parentBootstrap: start bootstrapping implementation (diff)
downloadinterpreter-13509727c7bf28767d35922361186b952e4523b8.tar.gz
interpreter-13509727c7bf28767d35922361186b952e4523b8.tar.bz2
interpreter-13509727c7bf28767d35922361186b952e4523b8.zip
Codegen: Improve tracking of node types
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 546fa4a..518612b 100644
--- a/src/bootstrap/main.src
+++ b/src/bootstrap/main.src
@@ -14,7 +14,7 @@ let main = (argc: i64, argv: **i8) => i64 {
 
 	printf("%s\n", filename);
 
-	let file = fopen("./src/bootstrap/main.src", "r");
+	let file = fopen(filename, "r");
 	
 	fseek(file, 0, 2);
 	let file_size = ftell(file);