Commit d2f4404b authored by Berker Peksag's avatar Berker Peksag

Issue #28489: Merge from 3.6

parents 64a2f9e8 6f805628
...@@ -1508,7 +1508,7 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end) ...@@ -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'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment