char-set:ascii is the only char-set consisting of a single contiguous
range, and there was an off-by-one error for that case.
* libguile/unidata_to_charset.pl (compute): fix off-by-one
$rend[$len] = $end;
$len++;
} elsif ($len == 0) {
- $rstart[0] = $start;
- $rend[0] = $end;
+ $rstart[0] = $start;
+ $rend[0] = $end;
+ $len++;
}
}
(integer->char #x20))))
char-set:printing))
+ (pass-if "char-set:ASCII"
+ (char-set= (ucs-range->char-set 0 128)
+ char-set:ascii))
+
(pass-if "char-set:iso-control"
- (char-set<= (string->char-set
- (apply string
- (map integer->char (append
+ (char-set<= (string->char-set
+ (apply string
+ (map integer->char (append
;; U+0000 to U+001F
(iota #x20)
(list #x7f)))))