diff options
author | Damien George <damien@micropython.org> | 2024-06-06 17:31:19 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-06-06 17:34:28 +1000 |
commit | 3c8089d1b10683ee31ddbaeebd0b18c47bf6d09d (patch) | |
tree | 4a4ff4cd7d0591cf45e8fe34273903cb1fe3e4bc /py/lexer.h | |
parent | a066f2308f7b0d872352073cec0a945dca3a7a9c (diff) | |
download | micropython-3c8089d1b10683ee31ddbaeebd0b18c47bf6d09d.tar.gz micropython-3c8089d1b10683ee31ddbaeebd0b18c47bf6d09d.zip |
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>
Diffstat (limited to 'py/lexer.h')
-rw-r--r-- | py/lexer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/py/lexer.h b/py/lexer.h index 2d9d0447b8..e0b506b20b 100644 --- a/py/lexer.h +++ b/py/lexer.h @@ -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, |