Skip to content

Commit f03e799

Browse files
author
Michael Reed
committed
removed ⟂ from julia_extensions.c
1 parent 9fa8502 commit f03e799

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ New language features
3131
`@generated` and normal implementations of part of a function. Surrounding code
3232
will be common to both versions ([#23168]).
3333

34-
* Added `` (perp) operator with comparison precedence ([#24404]).
34+
* Added `` (`\perp`) operator with comparison precedence ([#24404]).
3535

3636
* The `missing` singleton object (of type `Missing`) has been added to represent
3737
missing values ([#24653]). It propagates through standard operators and mathematical functions,

src/flisp/julia_extensions.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static int is_wc_cat_id_start(uint32_t wc, utf8proc_category_t cat)
8484

8585
(wc >= 0x266f &&
8686
(wc == 0x266f || wc == 0x27d8 || wc == 0x27d9 || // ♯, ⟘, ⟙
87-
(wc >= 0x27c0 && wc <= 0x27c2) || // ⟀, ⟁, ⟂
87+
(wc >= 0x27c0 && wc <= 0x27c1) || // ⟀, ⟁
8888
(wc >= 0x29b0 && wc <= 0x29b4) || // ⦰, ⦱, ⦲, ⦳, ⦴
8989
(wc >= 0x2a00 && wc <= 0x2a06) || // ⨀, ⨁, ⨂, ⨃, ⨄, ⨅, ⨆
9090
(wc >= 0x2a09 && wc <= 0x2a16) || // ⨉, ⨊, ⨋, ⨌, ⨍, ⨎, ⨏, ⨐, ⨑, ⨒, ⨓, ⨔, ⨕, ⨖

test/parse.jl

+3
Original file line numberDiff line numberDiff line change
@@ -254,3 +254,6 @@ end
254254
end
255255
@test_throws ArgumentError parse(Complex{Int}, "3 + 4.2im")
256256
end
257+
258+
# added ⟂ to operator precedence (#24404)
259+
@test Meta.parse("x ⟂ y") == Expr(:call,:,:x,:y)

0 commit comments

Comments
 (0)