summaryrefslogtreecommitdiffstatshomepage
path: root/py/lexer.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-06-06 17:31:19 +1000
committerDamien George <damien@micropython.org>2024-06-06 17:34:28 +1000
commit3c8089d1b10683ee31ddbaeebd0b18c47bf6d09d (patch)
tree4a4ff4cd7d0591cf45e8fe34273903cb1fe3e4bc /py/lexer.h
parenta066f2308f7b0d872352073cec0a945dca3a7a9c (diff)
downloadmicropython-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.h1
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,