summaryrefslogtreecommitdiff
path: root/lib/escfmt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/escfmt')
-rw-r--r--lib/escfmt/eschtml.myr2
-rw-r--r--lib/escfmt/escre.myr2
-rw-r--r--lib/escfmt/escsh.myr2
-rw-r--r--lib/escfmt/escurl.myr2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/escfmt/eschtml.myr b/lib/escfmt/eschtml.myr
index 950c8bc..e9aea4a 100644
--- a/lib/escfmt/eschtml.myr
+++ b/lib/escfmt/eschtml.myr
@@ -19,7 +19,7 @@ const htmlfmt = {sb, ap, args
var s : byte[:]
s = std.vanext(ap)
- for c in std.bychar(s)
+ for c : std.bychar(s)
match c
| '&': std.sbputs(sb, "&")
| '<': std.sbputs(sb, "&lt;")
diff --git a/lib/escfmt/escre.myr b/lib/escfmt/escre.myr
index 72eb7ae..39c9a30 100644
--- a/lib/escfmt/escre.myr
+++ b/lib/escfmt/escre.myr
@@ -19,7 +19,7 @@ const refmt = {sb, ap, args
var s : byte[:]
s = std.vanext(ap)
- for c in std.bychar(s)
+ for c : std.bychar(s)
match c
| '|': std.sbputs(sb, "\\|")
| '*': std.sbputs(sb, "\\*")
diff --git a/lib/escfmt/escsh.myr b/lib/escfmt/escsh.myr
index 11f6104..b2388b8 100644
--- a/lib/escfmt/escsh.myr
+++ b/lib/escfmt/escsh.myr
@@ -20,7 +20,7 @@ const shfmt = {sb, ap, args
s = std.vanext(ap)
std.sbputb(sb, ('\'' : byte))
- for b in s
+ for b : s
if b == ('\'' : byte)
std.sbputs(sb, "'\\''")
else
diff --git a/lib/escfmt/escurl.myr b/lib/escfmt/escurl.myr
index 8ca2f4c..1f1841e 100644
--- a/lib/escfmt/escurl.myr
+++ b/lib/escfmt/escurl.myr
@@ -19,7 +19,7 @@ const urlfmt = {sb, ap, args
var s : byte[:]
s = std.vanext(ap)
- for b in s
+ for b : s
match (b : char)
| ':': std.sbfmt(sb, "%{x}", b)
| '/': std.sbfmt(sb, "%{x}", b)