Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More PEP 7
Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
  • Loading branch information
lysnikolaou and pablogsal authored Apr 29, 2020
commit 6cbb27f26ff680e198f95e932079e89f1a5ce8c0
3 changes: 2 additions & 1 deletion Parser/pegen/pegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -935,8 +935,9 @@ bad_single_statement(Parser *p)
char c = *cur;

for (;;) {
while (c == ' ' || c == '\t' || c == '\n' || c == '\014')
while (c == ' ' || c == '\t' || c == '\n' || c == '\014') {
c = *++cur;
}

if (!c) {
return 0;
Expand Down