diff options
Diffstat (limited to 'chomp-macro/src/lib.rs')
-rw-r--r-- | chomp-macro/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chomp-macro/src/lib.rs b/chomp-macro/src/lib.rs index 91e1527..864a491 100644 --- a/chomp-macro/src/lib.rs +++ b/chomp-macro/src/lib.rs @@ -1,6 +1,6 @@ use chomp::{ chomp::{ - ast::substitute::InlineCalls, + ast::substitute::InlineGlobal, typed::{ context::Context, lower::{Backend, GenerateCode}, @@ -21,7 +21,7 @@ pub fn nibble(item: TokenStream) -> TokenStream { .and_then(|(funs, goal)| { funs.into_iter() .try_rfold(goal, |goal, function| { - goal.fold(&mut InlineCalls { function }) + goal.fold(&mut InlineGlobal { function }) }) .map_err(Error::from) }) |