Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d2f4404b
Commit
d2f4404b
authored
Feb 05, 2017
by
Berker Peksag
Browse files
Options
Browse Files
Download
Plain Diff
Issue #28489: Merge from 3.6
parents
64a2f9e8
6f805628
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Parser/tokenizer.c
Parser/tokenizer.c
+1
-1
No files found.
Parser/tokenizer.c
View file @
d2f4404b
...
@@ -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'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment