summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-06-06 12:47:45 (GMT)
committerGitHub <noreply@github.com>2023-06-06 12:47:45 (GMT)
commit67b288f8be4989176ffab04c72794e5faf5797a5 (patch)
tree3b448dc8c05f72afce7b4b407d9568f5568b0fba /Parser/tokenizer.h
parent6f3a4fd4f23f8013cca5abdf03bcc7dd4adf8637 (diff)
downloadcpython-67b288f8be4989176ffab04c72794e5faf5797a5.zip
cpython-67b288f8be4989176ffab04c72794e5faf5797a5.tar.gz
cpython-67b288f8be4989176ffab04c72794e5faf5797a5.tar.bz2
[3.12] gh-105259: Ensure we don't show newline characters for trailing NEWLINE tokens (GH-105364) (#105367)
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 600d429..16e919a 100644
--- a/Parser/tokenizer.h
+++ b/Parser/tokenizer.h
@@ -131,6 +131,7 @@ struct tok_state {
int tok_report_warnings;
int tok_extra_tokens;
int comment_newline;
+ int implicit_newline;
#ifdef Py_DEBUG
int debug;
#endif