ref: cf50193c7dc0c13d373d60982e7cb95168e0167e
parent: 5362f2f03b9ca372fa7900861d07a9858b9dccb0
author: Ori Bernstein <[email protected]>
date: Wed Jul 31 13:36:01 EDT 2019
Fix bug in dump code: Stray '{', wrong args.
--- a/lib/regex/compile.myr
+++ b/lib/regex/compile.myr
@@ -227,7 +227,7 @@
rtdump(rt.link[i], ind + 1)
;;
indent(ind)
- std.put("}\n")
+ std.put("}}\n")
}
const indent = {ind
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -468,7 +468,7 @@
const itrace = {re, thr, inst
match inst
- | `Ibyte b: std.put("\t{}.{}:\tByte ({})\n", thr.tid, thr.ip, thr.tid, thr.ip, b)
+ | `Ibyte b: std.put("\t{}.{}:\tByte ({})\n", thr.tid, thr.ip, b)
| `Irange (lo, hi): std.put("\t{}.{}:\tRange {}, {}\n", thr.tid, thr.ip, lo, hi)
| `Ilbra m: std.put("\t{}.{}:\tLbra {}\n", thr.tid, thr.ip, m)
| `Irbra m: std.put("\t{}.{}:\tRbra {}\n", thr.tid, thr.ip, m)