diff options
Diffstat (limited to 'lib/regex/redump.myr')
-rw-r--r-- | lib/regex/redump.myr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/regex/redump.myr b/lib/regex/redump.myr index a69e642..e47b824 100644 --- a/lib/regex/redump.myr +++ b/lib/regex/redump.myr @@ -16,7 +16,7 @@ const main = {args [.opt='v', .desc="dump verbose regex output"] ][:], ]) - for opt in cmd.opts + for opt : cmd.opts match opt | ('v', _): verbose = true | _: std.fatal("Unknown argument") @@ -43,7 +43,7 @@ const main = {args const runall = {re, files - for f in files + for f : files match bio.open(f, bio.Rd) | `std.Ok fd: dump(re, fd) @@ -112,7 +112,7 @@ const showcoverage = {re ;; std.put("\t") - for h in hit + for h : hit if h std.put("^") else |