From ccd9a6560c34690af803ef4dae2e53621ae608c1 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Tue, 6 Apr 2021 15:25:04 -0600 Subject: don't break posixy builds oops --- src/makefile/token.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -> 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> { -- cgit v1.2.3