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 /tests/cmdline/cmd_parsetree.py.exp | |
| parent | a066f2308f7b0d872352073cec0a945dca3a7a9c (diff) | |
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 'tests/cmdline/cmd_parsetree.py.exp')
| -rw-r--r-- | tests/cmdline/cmd_parsetree.py.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cmdline/cmd_parsetree.py.exp b/tests/cmdline/cmd_parsetree.py.exp index 6ec553b8a..672c212a9 100644 --- a/tests/cmdline/cmd_parsetree.py.exp +++ b/tests/cmdline/cmd_parsetree.py.exp @@ -1,6 +1,6 @@ ---------------- [ 1] file_input_2(1) (n=10) - tok(6) + tok(5) [ 4] \(rule\|for_stmt\)(22) (n=4) id(i) [ 4] \(rule\|atom_paren\)(45) (n=1) @@ -9,7 +9,7 @@ NULL [ 6] \(rule\|expr_stmt\)(5) (n=2) id(a) - tok(16) + tok(15) [ 7] \(rule\|expr_stmt\)(5) (n=2) id(b) str(str) |
