summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2023-05-20 13:07:05 (GMT)
committerGitHub <noreply@github.com>2023-05-20 13:07:05 (GMT)
commitff7f7316326a19749c5d79f9e44acdbe7d54ac4e (patch)
treef6dac134867ada4b1297bda44c91b6dbe3a4f3bc /Parser/tokenizer.h
parent663c049ff78a299bdf7c1a0444b9900e6d37372d (diff)
downloadcpython-ff7f7316326a19749c5d79f9e44acdbe7d54ac4e.zip
cpython-ff7f7316326a19749c5d79f9e44acdbe7d54ac4e.tar.gz
cpython-ff7f7316326a19749c5d79f9e44acdbe7d54ac4e.tar.bz2
gh-104658: Fix location of unclosed quote error for multiline f-strings (#104660)
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r--Parser/tokenizer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h
index 5e21718..fd169cf 100644
--- a/Parser/tokenizer.h
+++ b/Parser/tokenizer.h
@@ -53,6 +53,7 @@ typedef struct _tokenizer_mode {
int f_string_raw;
const char* f_string_start;
const char* f_string_multi_line_start;
+ int f_string_line_start;
Py_ssize_t f_string_start_offset;
Py_ssize_t f_string_multi_line_start_offset;