summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-05-08 14:03:52 (GMT)
committerGitHub <noreply@github.com>2023-05-08 14:03:52 (GMT)
commitd513ddee94a05783b98f2b55f8fc0a4efbb9be82 (patch)
tree23c9f711d1d14a8b37fd1c7e923a66b4919c48ad /Parser
parent1f5679540ca4aa5c0eae06d3a2d5eda34b47e041 (diff)
downloadcpython-d513ddee94a05783b98f2b55f8fc0a4efbb9be82.zip
cpython-d513ddee94a05783b98f2b55f8fc0a4efbb9be82.tar.gz
cpython-d513ddee94a05783b98f2b55f8fc0a4efbb9be82.tar.bz2
Trim trailing whitespace and test on CI (#104275)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 52d0d9a..91ffaba 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -48,7 +48,7 @@ static inline tokenizer_mode* TOK_GET_MODE(struct tok_state* tok) {
}
static inline tokenizer_mode* TOK_NEXT_MODE(struct tok_state* tok) {
assert(tok->tok_mode_stack_index >= 0);
- assert(tok->tok_mode_stack_index + 1 < MAXFSTRINGLEVEL);
+ assert(tok->tok_mode_stack_index + 1 < MAXFSTRINGLEVEL);
return &(tok->tok_mode_stack[++tok->tok_mode_stack_index]);
}
#else