Skip to content

Commit

Permalink
Fix classification of Latin-1 male/female ordinals
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed Nov 10, 2020
1 parent 600b659 commit 44b213f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
28 changes: 0 additions & 28 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
---
kind: pipeline
name: linux - arm - Julia 1.0

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.0
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.0

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.0
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.5
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ keywords = ["Characters"]
license = "MIT"
desc = "Basic functionality for Chr type"
authors = ["ScottPJones <scottjones@alum.mit.edu>"]
version = "1.0.1"
version = "1.0.2"

[deps]
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
Expand All @@ -22,7 +22,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
test = ["Test"]

[compat]
julia = "^1.0.0"
julia = "1"
ModuleInterfaceTools = "1"
StrAPI = "1"
CharSetEncodings = "1"
4 changes: 2 additions & 2 deletions src/unicode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ const _isnumeric_a = _isdigit
@inline _isnumeric_l(ch) = (ch <= 0xbe && ((1<<(ch-0xb2)) & 0x1c83) != 0)
@inline _ispunct_l(ch) = ((UInt64(1) << (ch-0x80)) & 0x88c0_0882_0000_0000) != 0
@inline _isspace_l(ch) = (ch == 0x85) | (ch == 0xa0)
@inline _isalpha_l(c) = ((0xc0 <= c <= 0xff) & (c != 0xf7) & (c != 0xd7)) | (c == 0xb5)
@inline _isalnum_l(c) = _isalpha_l(c) || _isnumeric_l(c)
@inline _isalpha_l(ch) = ((0xff7f_ffff_ff7f_ffff_0420_0400_0000_0000 >>> (ch-0x80)) & 1) != 0
@inline _isalnum_l(ch) = _isalpha_l(ch) || _isnumeric_l(ch)
@inline _isprint_l(ch) = ((0xa0 <= ch <= 0xff) & (ch != 0xad))
@inline _isgraph_l(ch) = ((0xa0 < ch <= 0xff) & (ch != 0xad))

Expand Down

0 comments on commit 44b213f

Please sign in to comment.