summaryrefslogtreecommitdiff
path: root/lib/std/fmtfuncs.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/fmtfuncs.myr')
-rw-r--r--lib/std/fmtfuncs.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/fmtfuncs.myr b/lib/std/fmtfuncs.myr
index abe5e75..e20805e 100644
--- a/lib/std/fmtfuncs.myr
+++ b/lib/std/fmtfuncs.myr
@@ -38,12 +38,12 @@ const bigfmt = {sb, ap, opts
}
const bsfmt = {sb, ap, opts
- var i, bs, sep
+ var bs, sep
bs = vanext(ap)
sep = ""
sbputs(sb, "bitset{")
- for i = 0; i < bsmax(bs); i++
+ for var i = 0; i < bsmax(bs); i++
if bshas(bs, i)
sbfmt(sb, sep)
sbfmt(sb, "{}", i)