mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
parent
9d6a239a34
commit
dd6c35761a
5 changed files with 4602 additions and 3197 deletions
7773
Parser/parser.c
7773
Parser/parser.c
File diff suppressed because it is too large
Load diff
|
|
@ -815,6 +815,7 @@ void *
|
|||
_PyPegen_run_parser(Parser *p)
|
||||
{
|
||||
void *res = _PyPegen_parse(p);
|
||||
assert(p->level == 0);
|
||||
if (res == NULL) {
|
||||
if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) {
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue