Issue #28489: Merge from 3.6

This commit is contained in:
Berker Peksag 2017-02-05 04:33:11 +03:00
commit d2f4404bbb
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'))