re-enable repl

This commit is contained in:
Luna 2020-06-01 22:35:07 -03:00
parent e71eba583e
commit 128f58c502

View file

@ -188,8 +188,7 @@ pub fn main() !void {
const scri_path = try (args_it.next(allocator) orelse @panic("expected scri path or 'repl'")); const scri_path = try (args_it.next(allocator) orelse @panic("expected scri path or 'repl'"));
if (std.mem.eql(u8, scri_path, "repl")) { if (std.mem.eql(u8, scri_path, "repl")) {
@panic("TODO bring repl back"); return try doRepl(allocator, &args_it);
// return try doRepl(allocator, &args_it);
} }
var file = try std.fs.cwd().openFile(scri_path, .{}); var file = try std.fs.cwd().openFile(scri_path, .{});