summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;