Skip to content

Commit

Permalink
Merge pull request #185 from JuliaLang/sp/additional-op-suffixes
Browse files Browse the repository at this point in the history
add additional operator suffixes
  • Loading branch information
pfitzseb authored Jul 2, 2021
2 parents 4404217 + c80ffc3 commit bc555fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ end
# https://github.com/JuliaLang/julia/blob/d7d2b0c692eb6ad409d7193ba8d9d42972cbf182/src/flisp/julia_extensions.c#L156-L174
#
# ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎²³¹ʰʲʳʷʸˡˢˣᴬᴮᴰᴱᴳᴴᴵᴶᴷᴸᴹᴺᴼᴾᴿᵀᵁᵂᵃᵇᵈᵉᵍᵏᵐᵒᵖᵗᵘᵛᵝᵞᵟᵠᵡᵢᵣᵤᵥᵦᵧᵨᵩᵪᶜᶠᶥᶦᶫᶰᶸᶻᶿ ⁰ⁱ⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ⁿₐₑₒₓₕₖₗₘₙₚₛₜⱼⱽ′″‴‵‶‷⁗

@inline function isopsuffix(c1::Char)
c1 == EOF_CHAR && return false
c = UInt32(c1)
Expand Down Expand Up @@ -344,7 +345,8 @@ end
0x00002074 <= c <= 0x0000208e ||
0x00002090 <= c <= 0x00002093 ||
0x00002095 <= c <= 0x0000209c ||
0x00002c7c <= c <= 0x00002c7d
0x00002c7c <= c <= 0x00002c7d ||
0x0000a71b <= c <= 0x0000a71d
end


Expand Down

0 comments on commit bc555fa

Please sign in to comment.