ucs-range->char-set should not store surrogates and has off-by-one error
authorMichael Gran <spk121@yahoo.com>
Wed, 2 Sep 2009 13:14:49 +0000 (06:14 -0700)
committerMichael Gran <spk121@yahoo.com>
Wed, 2 Sep 2009 13:28:29 +0000 (06:28 -0700)
commit91772d8f8af742e864cccf5578776f09bfecf7e9
tree6ce53cd465ecf2dee5a43584a4267751be5caf5a
parent693e72891f28a1e009bd4661711d11d8f2b0e201
ucs-range->char-set should not store surrogates and has off-by-one error

* libguile/srfi-14.c (scm_i_ucs_range_to_char_set): new function that
  contains the functionality of ucs_range_to_char_set, fixes
  off-by-one, and doesn't store surroges
  (scm_ucs_range_to_char_set, scm_ucs_range_to_char_set_x): call
  scm_i_ucs_range_to_char_set
  (scm_i_charset_set_range): new helper function
libguile/srfi-14.c