summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/parse.c b/py/parse.c
index 1392303e6f..4ba9560734 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -1351,9 +1351,6 @@ mp_parse_tree_t mp_parse(mp_lexer_t *lex, mp_parse_input_kind_t input_kind) {
} else if (lex->tok_kind == MP_TOKEN_MALFORMED_FSTRING) {
exc = mp_obj_new_exception_msg(&mp_type_SyntaxError,
MP_ERROR_TEXT("malformed f-string"));
- } else if (lex->tok_kind == MP_TOKEN_FSTRING_RAW) {
- exc = mp_obj_new_exception_msg(&mp_type_SyntaxError,
- MP_ERROR_TEXT("raw f-strings are not supported"));
#endif
} else {
exc = mp_obj_new_exception_msg(&mp_type_SyntaxError,