diff --git a/src/args.rs b/src/args.rs index 25ac36d..1dba1b6 100644 --- a/src/args.rs +++ b/src/args.rs @@ -207,6 +207,9 @@ pub(crate) fn eat_call_args>( } } TokenKind::Symbol(Symbol::CloseParen) => { + if val.is_empty() { + break; + } match name { Some(name) => args.insert( name,