Skip to content

Commit

Permalink
Add Unicode 16 arrow operator
Browse files Browse the repository at this point in the history
U+1F8B2 🢲 (RIGHTWARDS ARROW WITH LOWER HOOK)
  • Loading branch information
pthariensflame committed Jan 8, 2025
1 parent a72d68c commit 8ecad5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/kinds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ register_kinds!(JuliaSyntax, 0, [
""
""
""
"🢲"
"END_ARROW"

# Level 4
Expand Down
3 changes: 3 additions & 0 deletions test/tokenize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,9 @@ end
if VERSION >= v"1.10-DEV"
push!(ops, "⥷ ⥺ ⟇")
end
if VERSION >= v"1.12-DEV"
push!(ops, "🢲")
end
allops = split(join(ops, " "), " ")
@test all(s->Base.isoperator(Symbol(s)) == is_operator(first(collect(tokenize(s))).kind), allops)
end
Expand Down

0 comments on commit 8ecad5f

Please sign in to comment.