summaryrefslogtreecommitdiffstats
path: root/Parser/pegen/pegen.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-23 11:42:13 (GMT)
committerGitHub <noreply@github.com>2020-04-23 11:42:13 (GMT)
commit1df5a9e88c8df1495a2e689d71b34bf0c7d008ea (patch)
tree4ea11b6de7ba4e8e6408532fc92d4bf5e12f7d61 /Parser/pegen/pegen.h
parentee40e4b8563e6e1bc2bfb267da5ffc9a2293318d (diff)
downloadcpython-1df5a9e88c8df1495a2e689d71b34bf0c7d008ea.zip
cpython-1df5a9e88c8df1495a2e689d71b34bf0c7d008ea.tar.gz
cpython-1df5a9e88c8df1495a2e689d71b34bf0c7d008ea.tar.bz2
bpo-40334: Fix build errors and warnings in test_peg_generator (GH-19672)
Diffstat (limited to 'Parser/pegen/pegen.h')
-rw-r--r--Parser/pegen/pegen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/pegen/pegen.h b/Parser/pegen/pegen.h
index 5acd988..a20ec4a 100644
--- a/Parser/pegen/pegen.h
+++ b/Parser/pegen/pegen.h
@@ -85,6 +85,7 @@ int _PyPegen_insert_memo(Parser *p, int mark, int type, void *node);
int _PyPegen_update_memo(Parser *p, int mark, int type, void *node);
int _PyPegen_is_memoized(Parser *p, int type, void *pres);
+int _PyPegen_lookahead_with_name(int, expr_ty (func)(Parser *), Parser *);
int _PyPegen_lookahead_with_string(int, void *(func)(Parser *, const char *), Parser *, const char *);
int _PyPegen_lookahead_with_int(int, Token *(func)(Parser *, int), Parser *, int);
int _PyPegen_lookahead(int, void *(func)(Parser *), Parser *);