diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/char.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/data/char.lux b/stdlib/source/lux/data/char.lux index 6af987408..9c9baaf20 100644 --- a/stdlib/source/lux/data/char.lux +++ b/stdlib/source/lux/data/char.lux @@ -62,9 +62,9 @@ (let [size (text;size y)] (if (and (text;starts-with? "#\"" y) (text;ends-with? "\"" y) - (or (=+ +4 size) - (=+ +5 size))) - (if (=+ +4 size) + (or (n.= +4 size) + (n.= +5 size))) + (if (n.= +4 size) (case (text;at +2 y) #;None (#;Left (Text/append "Wrong syntax for Char: " y)) |