diff options
Diffstat (limited to 'Parser/pegen/pegen.h')
-rw-r--r-- | Parser/pegen/pegen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/pegen/pegen.h b/Parser/pegen/pegen.h index bd3056e..2585392 100644 --- a/Parser/pegen/pegen.h +++ b/Parser/pegen/pegen.h @@ -118,10 +118,12 @@ 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 , expr_ty (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 *); Token *_PyPegen_expect_token(Parser *p, int type); +expr_ty _PyPegen_expect_soft_keyword(Parser *p, const char *keyword); Token *_PyPegen_get_last_nonnwhitespace_token(Parser *); int _PyPegen_fill_token(Parser *p); expr_ty _PyPegen_name_token(Parser *p); |