parent
ecc9546de2
commit
c75db19523
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@ pub fn doRepl(allocator: *std.mem.Allocator, args_it: var) !void {
|
||||||
} else if (std.mem.eql(u8, line, "quit") or std.mem.eql(u8, line, "q")) {
|
} else if (std.mem.eql(u8, line, "quit") or std.mem.eql(u8, line, "q")) {
|
||||||
std.debug.warn("leaving\n");
|
std.debug.warn("leaving\n");
|
||||||
break;
|
break;
|
||||||
|
} else if (std.mem.startsWith(u8, line, "#")) {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var cmds_parsed = lang.parse(line) catch |err| {
|
var cmds_parsed = lang.parse(line) catch |err| {
|
||||||
|
|
Loading…
Reference in a new issue