diff --git a/changelog.md b/changelog.md index 47902fb48..3f5b3a914 100644 --- a/changelog.md +++ b/changelog.md @@ -11,7 +11,7 @@ This version is not yet released. If you are reading this on the website, then t - Add data definition methods - Stabilize subscripted [`random ⚂`](https://uiua.org/docs/random) - Signature comments can now use a `$` rather than a `?` to automatically label arguments and outputs -- Change [`backward ˜`](https://uiua.org/docs/backward)'s glyph back. `¨` will continue to work and will be formatted as `˜`. +- Change [`backward ˜`](https://uiua.org/docs/backward)'s glyph back. `𝄈` will continue to work and will be formatted as `˜`. - This glyph has much better font support - Add sided subscripts for [`reach 𝄐`](https://uiua.org/docs/reach) - Add the [`# External!`](https://www.uiua.org/tutorial/documentation#external) semantic comment to mark functions that are provided via Rust code diff --git a/src/lex.rs b/src/lex.rs index 459fe697f..becd195bb 100644 --- a/src/lex.rs +++ b/src/lex.rs @@ -962,7 +962,7 @@ impl<'a> Lexer<'a> { // Backwards compatibility "∶" => self.end(Primitive::Flip, start), "⮌" => self.end(Primitive::Orient, start), - "¨" => self.end(Primitive::Backward, start), + "¨" | "𝄈" => self.end(Primitive::Backward, start), "⍛" => self.end(Primitive::Obverse, start), "◫" => { self.end(Primitive::Stencil, start);