From 7bd541de7ba95689c506ac2ef367d49c3c0fbcef Mon Sep 17 00:00:00 2001 From: "Eric V. Smith" Date: Tue, 25 Jan 2022 07:16:26 -0500 Subject: [PATCH] bpo-46503: test assert failures. DO NOT MERGE. --- Parser/string_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/string_parser.c b/Parser/string_parser.c index 0b5e30ba2ca6a4c..46ec4a2c0440556 100644 --- a/Parser/string_parser.c +++ b/Parser/string_parser.c @@ -458,7 +458,7 @@ fstring_find_literal(Parser *p, const char **str, const char *end, int raw, followed by a "{". Just keep parsing this literal. This error will be caught later by decode_unicode_with_escapes(). */ - continue; + break; } if (ch == '{' && warn_invalid_escape_sequence(p, ch, t) < 0) { return -1;