summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-05-18 21:47:51 (GMT)
committerGitHub <noreply@github.com>2020-05-18 21:47:51 (GMT)
commitced4e5c22756fde3e97327642c159f6699815caa (patch)
tree955a89b478b848d8c16f504790057381c7817e14
parentc102a148256b00b7d48c51a1a97df19042e603de (diff)
downloadcpython-ced4e5c22756fde3e97327642c159f6699815caa.zip
cpython-ced4e5c22756fde3e97327642c159f6699815caa.tar.gz
cpython-ced4e5c22756fde3e97327642c159f6699815caa.tar.bz2
Regenerate the parser (#20195)
-rw-r--r--Parser/pegen/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/pegen/parse.c b/Parser/pegen/parse.c
index fe95d27..286f721 100644
--- a/Parser/pegen/parse.c
+++ b/Parser/pegen/parse.c
@@ -12072,6 +12072,9 @@ invalid_star_etc_rule(Parser *p)
p->mark = _mark;
}
{ // '*' ',' TYPE_COMMENT
+ if (p->error_indicator) {
+ return NULL;
+ }
Token * _literal;
Token * _literal_1;
Token * type_comment_var;