mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
py/lexer: Support raw f-strings.
Support for raw str/bytes already exists, and extending that to raw f-strings is easy. It also reduces code size because it eliminates an error message. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -46,7 +46,6 @@ typedef enum _mp_token_kind_t {
|
||||
MP_TOKEN_LONELY_STRING_OPEN,
|
||||
#if MICROPY_PY_FSTRINGS
|
||||
MP_TOKEN_MALFORMED_FSTRING,
|
||||
MP_TOKEN_FSTRING_RAW,
|
||||
#endif
|
||||
|
||||
MP_TOKEN_NEWLINE,
|
||||
|
||||
Reference in New Issue
Block a user