mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-42214: Fix check for NOTEQUAL token in the PEG parser for the barry_as_flufl rule (GH-23048)
This commit is contained in:
parent
6e03c0ad15
commit
06f8c3328d
6 changed files with 23 additions and 5 deletions
|
@ -21288,7 +21288,7 @@ _tmp_93_rule(Parser *p)
|
|||
)
|
||||
{
|
||||
D(fprintf(stderr, "%*c+ _tmp_93[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
|
||||
_res = _PyPegen_check_barry_as_flufl ( p ) ? NULL : tok;
|
||||
_res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
|
||||
if (_res == NULL && PyErr_Occurred()) {
|
||||
p->error_indicator = 1;
|
||||
D(p->level--);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue