aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorJulien Dessaux2022-08-15 19:24:34 +0200
committerJulien Dessaux2022-08-16 19:24:34 +0200
commit357c54663c332aff82f539a838a930842192e5ba (patch)
tree9a7bd759aaa9c3741a14f5ee5e3d6f21807d1ce1 /src/main.zig
parentImplemented the y command (diff)
downloadzigfunge98-357c54663c332aff82f539a838a930842192e5ba.tar.gz
zigfunge98-357c54663c332aff82f539a838a930842192e5ba.tar.bz2
zigfunge98-357c54663c332aff82f539a838a930842192e5ba.zip
Fixed bugs reported by the mycology test suite
Diffstat (limited to '')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index d1b6ccb..1608b87 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -12,7 +12,7 @@ pub fn main() anyerror!void {
std.os.exit(1);
}
- var file = try std.fs.cwd().openFile("mycology/sanity.bf", .{});
+ var file = try std.fs.cwd().openFile(args[1], .{});
defer file.close();
const env: []const [*:0]const u8 = std.os.environ;