Issue #28489: Fix comment in tokenizer.c

Patch by Ryan Gonzalez.
This commit is contained in:
Berker Peksag 2017-02-05 04:32:39 +03:00
parent 0c8ee60e91
commit 6f80562862
1 changed files with 1 additions and 1 deletions

View File

@ -1508,7 +1508,7 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end)
/* Identifier (most frequent token!) */ /* Identifier (most frequent token!) */
nonascii = 0; nonascii = 0;
if (is_potential_identifier_start(c)) { if (is_potential_identifier_start(c)) {
/* Process b"", r"", u"", br"" and rb"" */ /* Process the various legal combinations of b"", r"", u"", and f"". */
int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0; int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0;
while (1) { while (1) {
if (!(saw_b || saw_u || saw_f) && (c == 'b' || c == 'B')) if (!(saw_b || saw_u || saw_f) && (c == 'b' || c == 'B'))