diff options
-rw-r--r-- | src/makefile/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile/token.rs b/src/makefile/token.rs index ca50fe7..31adcfc 100644 --- a/src/makefile/token.rs +++ b/src/makefile/token.rs @@ -34,7 +34,6 @@ impl TokenString { Self(vec![Token::Text(text.into())]) } - #[cfg(feature = "full")] pub fn r#macro(name: impl Into<String>) -> Self { Self(vec![Token::MacroExpansion { name: Self::text(name), @@ -278,8 +277,9 @@ fn macro_body<'a, E: Err<'a>>( #[cfg(not(feature = "full"))] fn macro_body<'a, E: Err<'a>>( end: char, + context: Delimiter, ) -> impl FnMut(&'a str) -> IResult<&'a str, TokenString, E> { - macro_expansion_body(end) + macro_expansion_body(end, context) } fn parens_macro_expansion<'a, E: Err<'a>>(input: &'a str) -> IResult<&'a str, TokenString, E> { |