From: Stefan Behnel Date: Sun, 3 May 2009 20:07:29 +0000 (+0200) Subject: cythonise new Parsing.py functions X-Git-Tag: 0.13.beta0~2^2~131 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62cd2ea1725f9b63163b276529367b20eca7eafd;p=cython.git cythonise new Parsing.py functions --- diff --git a/Cython/Compiler/Parsing.pxd b/Cython/Compiler/Parsing.pxd index 68d259fa..981ba483 100644 --- a/Cython/Compiler/Parsing.pxd +++ b/Cython/Compiler/Parsing.pxd @@ -8,7 +8,10 @@ cpdef p_ident_list(PyrexScanner s) cpdef p_binop_expr(PyrexScanner s, ops, p_sub_expr) cpdef p_simple_expr(PyrexScanner s) +cpdef p_lambdef(PyrexScanner s, bint allow_conditional=*) +cpdef p_lambdef_nocond(PyrexScanner s) cpdef p_test(PyrexScanner s) +cpdef p_test_nocond(PyrexScanner s) cpdef p_or_test(PyrexScanner s) cpdef p_rassoc_binop_expr(PyrexScanner s, ops, p_subexpr) cpdef p_and_test(PyrexScanner s) @@ -140,6 +143,7 @@ cpdef p_c_func_or_var_declaration(PyrexScanner s, pos, ctx) cpdef p_ctypedef_statement(PyrexScanner s, ctx) cpdef p_decorators(PyrexScanner s) cpdef p_def_statement(PyrexScanner s, decorators = *) +cpdef p_varargslist(PyrexScanner s, terminator=*) cpdef p_py_arg_decl(PyrexScanner s) cpdef p_class_statement(PyrexScanner s) cpdef p_c_class_definition(PyrexScanner s, pos, ctx)