diff --git a/parser/python.lalrpop b/parser/python.lalrpop index 70ad18f..7683b60 100644 --- a/parser/python.lalrpop +++ b/parser/python.lalrpop @@ -667,7 +667,7 @@ TypedParameter: ast::Arg = { // TODO: figure out another grammar that makes this inline no longer required. #[inline] ParameterListStarArgs: (Option>, Vec, Vec, Option>) = { - "*" )*> )?> => { + "*" )*> )?> =>? { // Extract keyword arguments: let mut kwonlyargs = Vec::new(); let mut kw_defaults = Vec::new(); @@ -685,7 +685,14 @@ ParameterListStarArgs: (Option>, Vec, Vec