Skip to content

Commit 3c86cce

Browse files
committed
Fix linting
1 parent fdc81d6 commit 3c86cce

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Parser/lexer/lexer.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,16 @@ set_ftstring_expr(struct tok_state* tok, struct token *token, char c) {
126126
int in_string = 0;
127127
char quote_char = 0;
128128
char string_quote = 0;
129-
129+
130130
for (Py_ssize_t i = 0; i < tok_mode->last_expr_size - tok_mode->last_expr_end; i++) {
131131
char ch = tok_mode->last_expr_buffer[i];
132-
132+
133133
// Skip escaped characters
134134
if (ch == '\\') {
135135
i++;
136136
continue;
137137
}
138-
138+
139139
// Handle quotes
140140
if (ch == '"' || ch == '\'') {
141141
if (!in_string) {
@@ -147,7 +147,7 @@ set_ftstring_expr(struct tok_state* tok, struct token *token, char c) {
147147
}
148148
continue;
149149
}
150-
150+
151151
// Check for # outside strings
152152
if (ch == '#' && !in_string) {
153153
hash_detected = 1;
@@ -183,7 +183,7 @@ set_ftstring_expr(struct tok_state* tok, struct token *token, char c) {
183183
}
184184
// Skip comments
185185
else if (ch == '#' && !in_string) {
186-
while (i < tok_mode->last_expr_size - tok_mode->last_expr_end &&
186+
while (i < tok_mode->last_expr_size - tok_mode->last_expr_end &&
187187
tok_mode->last_expr_buffer[i] != '\n') {
188188
i++;
189189
}

0 commit comments

Comments
 (0)