summaryrefslogtreecommitdiffstats
path: root/Parser/pegen/pegen.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-10-31 00:40:42 (GMT)
committerGitHub <noreply@github.com>2020-10-31 00:40:42 (GMT)
commitddcd57e3ea75ab0ad370bbaaa6b76338edbca395 (patch)
treead2dc28a4ee0ccb922517d4af8a868a3ce19d08a /Parser/pegen/pegen.h
parent09c6120be8c70366495b027ae3daa213609de3ed (diff)
downloadcpython-ddcd57e3ea75ab0ad370bbaaa6b76338edbca395.zip
cpython-ddcd57e3ea75ab0ad370bbaaa6b76338edbca395.tar.gz
cpython-ddcd57e3ea75ab0ad370bbaaa6b76338edbca395.tar.bz2
[3.9] bpo-42214: Fix check for NOTEQUAL token in the PEG parser for the barry_as_flufl rule (GH-23048) (GH-23051)
(cherry picked from commit 06f8c3328dcd81c84d1ee2b3a57b5381dcb38482) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Parser/pegen/pegen.h')
-rw-r--r--Parser/pegen/pegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen/pegen.h b/Parser/pegen/pegen.h
index 2fea84f..a2f524a 100644
--- a/Parser/pegen/pegen.h
+++ b/Parser/pegen/pegen.h
@@ -263,7 +263,7 @@ expr_ty _PyPegen_collect_call_seqs(Parser *, asdl_seq *, asdl_seq *,
int end_col_offset, PyArena *arena);
expr_ty _PyPegen_concatenate_strings(Parser *p, asdl_seq *);
asdl_seq *_PyPegen_join_sequences(Parser *, asdl_seq *, asdl_seq *);
-int _PyPegen_check_barry_as_flufl(Parser *);
+int _PyPegen_check_barry_as_flufl(Parser *, Token *);
mod_ty _PyPegen_make_module(Parser *, asdl_seq *);
// Error reporting helpers