summaryrefslogtreecommitdiffstats
path: root/Parser/pegen.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-09-03 14:29:32 (GMT)
committerGitHub <noreply@github.com>2020-09-03 14:29:32 (GMT)
commit315a61f7a9418d904e0eea14b1f054fac3a90e9f (patch)
tree621d8d728f29ec583fdda94e262182129fe81a15 /Parser/pegen.h
parent851606007665dc30089e5e1953208c5428e455b1 (diff)
downloadcpython-315a61f7a9418d904e0eea14b1f054fac3a90e9f.zip
cpython-315a61f7a9418d904e0eea14b1f054fac3a90e9f.tar.gz
cpython-315a61f7a9418d904e0eea14b1f054fac3a90e9f.tar.bz2
bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the parser (GH-22077)
Diffstat (limited to 'Parser/pegen.h')
-rw-r--r--Parser/pegen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Parser/pegen.h b/Parser/pegen.h
index 3e74e3a..c81681e 100644
--- a/Parser/pegen.h
+++ b/Parser/pegen.h
@@ -257,7 +257,9 @@ stmt_ty _PyPegen_class_def_decorators(Parser *, asdl_seq *, stmt_ty);
KeywordOrStarred *_PyPegen_keyword_or_starred(Parser *, void *, int);
asdl_seq *_PyPegen_seq_extract_starred_exprs(Parser *, asdl_seq *);
asdl_seq *_PyPegen_seq_delete_starred_exprs(Parser *, asdl_seq *);
-expr_ty _PyPegen_collect_call_seqs(Parser *, asdl_seq *, asdl_seq *);
+expr_ty _PyPegen_collect_call_seqs(Parser *, asdl_seq *, asdl_seq *,
+ int lineno, int col_offset, int end_lineno,
+ 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 *);