diff --git a/core/src/syn/v1/builtin.rs b/core/src/syn/v1/builtin.rs index 4a1b479d..b34c6b2a 100644 --- a/core/src/syn/v1/builtin.rs +++ b/core/src/syn/v1/builtin.rs @@ -85,8 +85,10 @@ macro_rules! impl_builtins { )* $( - if let Ok((i, x)) = $name($i){ - return Ok((i,x)) + match $name($i){ + Ok((i,x)) => return Ok((i,x)), + Err(Err::Failure(x)) => return Err(Err::Failure(x)), + _ => {} } )* ($i,())