From d5a126e5dfaf74807c4efea8bee41ac7755606cd Mon Sep 17 00:00:00 2001 From: Roland Fredenhagen Date: Mon, 20 Feb 2023 17:49:37 +0100 Subject: [PATCH] Add `\r\n` to string_continue grammar --- src/tokens.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokens.md b/src/tokens.md index 0067b647d..377bc4370 100644 --- a/src/tokens.md +++ b/src/tokens.md @@ -148,7 +148,7 @@ which must be _escaped_ by a preceding `U+005C` character (`\`). >    )\* `"` SUFFIX? > > STRING_CONTINUE :\ ->    `\` _followed by_ \\n +>    `\` _followed by_ \\n _or_ \\r\\n A _string literal_ is a sequence of any Unicode characters enclosed within two `U+0022` (double-quote) characters, with the exception of `U+0022` itself,