summaryrefslogtreecommitdiff
path: root/lib/regex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex')
-rw-r--r--lib/regex/compile.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/regex/compile.myr b/lib/regex/compile.myr
index 29e53a2..6a82cc6 100644
--- a/lib/regex/compile.myr
+++ b/lib/regex/compile.myr
@@ -879,7 +879,7 @@ const fmtfail = {sb, ap, opt
match std.vanext(ap)
| `Noimpl: std.sbfmt(sb, "no implementation")
| `Incomplete: std.sbfmt(sb, "regex ended before input fully parsed")
- | `Unbalanced c: std.sbfmt(sb, "unbalanced {}", c)
+ | `Unbalanced c:std.sbfmt(sb, "unbalanced {}", c)
| `Emptyparen: std.sbfmt(sb, "empty parentheses")
| `Badrep c: std.sbfmt(sb, "invalid repetition {}", c)
| `Badrange s: std.sbfmt(sb, "invalid range name {}", s)
@@ -899,6 +899,6 @@ const mk = {re, ast, loc
const __init__ = {
var e : status
- std.fmtinstall(std.typeof(e), fmtfail, [][:])
+ std.fmtinstall(std.typeof(e), fmtfail)
}