mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 18:20:22 +02:00
Unicode data parsing script incorrect for char-set:ascii
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
This commit is contained in:
parent
43cd9cec23
commit
6d30df5dbd
2 changed files with 10 additions and 5 deletions
|
@ -340,8 +340,9 @@ sub compute {
|
|||
$rend[$len] = $end;
|
||||
$len++;
|
||||
} elsif ($len == 0) {
|
||||
$rstart[0] = $start;
|
||||
$rend[0] = $end;
|
||||
$rstart[0] = $start;
|
||||
$rend[0] = $end;
|
||||
$len++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue