diff --git a/changelog.md b/changelog.md index 4e6cf30b08177..07ea9264f6e96 100644 --- a/changelog.md +++ b/changelog.md @@ -70,7 +70,7 @@ - Removed two type pragma syntaxes deprecated since 0.20, namely `type Foo = object {.final.}`, and `type Foo {.final.} [T] = object`. -- [Overloadable enums](https://nim-lang.github.io/Nim/manual.html#types-enumeration-types) +- [Overloadable enums](https://nim-lang.github.io/Nim/manual.html#overloadable-enum-value-names) and Unicode Operators are no longer experimental. - Removed the `nimIncrSeqV3` define. diff --git a/compiler/lexer.nim b/compiler/lexer.nim index d17300395f07f..dabb1c8fb0c67 100644 --- a/compiler/lexer.nim +++ b/compiler/lexer.nim @@ -907,7 +907,7 @@ proc getSymbol(L: var Lexer, tok: var Token) = inc(pos) suspicious = true of '\x80'..'\xFF': - if c in UnicodeOperatorStartChars and unicodeOperators in L.config.features and unicodeOprLen(L.buf, pos)[0] != 0: + if c in UnicodeOperatorStartChars and unicodeOprLen(L.buf, pos)[0] != 0: break else: h = h !& ord(c) @@ -943,7 +943,7 @@ proc getOperator(L: var Lexer, tok: var Token) = if c in OpChars: h = h !& ord(c) inc(pos) - elif c in UnicodeOperatorStartChars and unicodeOperators in L.config.features: + elif c in UnicodeOperatorStartChars: let oprLen = unicodeOprLen(L.buf, pos)[0] if oprLen == 0: break for i in 0..