]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/formatting/formatting.factor
sequences: bound -> index-or-length
[factor.git] / basis / formatting / formatting.factor
index 5de21901b3795a93ad581788ac477529f49916e0..535133e7b65b4d00f237388c64d107bde610c47e 100644 (file)
@@ -106,7 +106,7 @@ pad       = pad-align pad-char pad-width => [[ <reversed> >quotation dup first 0
 sign_     = [+ ]                 => [[ '[ dup first CHAR: - = [ _ prefix ] unless ] ]]
 sign      = (sign_)?             => [[ [ ] or ]]
 
-width_    = "." ([0-9])*         => [[ second >digits '[ _ bound head ] ]]
+width_    = "." ([0-9])*         => [[ second >digits '[ _ index-or-length head ] ]]
 width     = (width_)?            => [[ [ ] or ]]
 
 digits_   = "." ([0-9])*         => [[ second >digits ]]