From 9d6c79179eef2173c9bed8c10ac51ba9fd24383b Mon Sep 17 00:00:00 2001 From: Simeon Schaub Date: Sat, 29 May 2021 14:32:13 +0200 Subject: [PATCH] add NEWS entry --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index fcd5168dd9514..1e15374629682 100644 --- a/NEWS.md +++ b/NEWS.md @@ -16,6 +16,9 @@ New language features in `[A; B]` has always described concatenating along the first dimension (vertically), now two semicolons `[A;; B]` do so in the second dimension (horizontally), three semicolons `;;;` in the third, and so on. ([#33697]) +* A backslash (`\`) before a newline inside a string literal now escapes the newline while also + respecting indentation. This can be used to split up long strings without newlines into multiple + lines of code. ([#40753]) Language changes ---------------- @@ -102,6 +105,8 @@ Standard library changes * `@lock` is now exported from Base ([#39588]). * The experimental function `Base.catch_stack()` has been renamed to `current_exceptions()`, exported from Base and given a more specific return type ([#29901]) * Some degree trigonometric functions, `sind`, `cosd`, `tand`, `asind`, `acosd`, `asecd`, `acscd`, `acotd`, `atand` now accept an square matrix ([#39758]). +* A backslash before a newline in command literals now always escapes the newline, similar to standard string + literals, whereas the result was not well-defined before. ([#40753]) #### Package Manager