diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-06 15:25:04 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-06 15:25:04 -0600 |
commit | ccd9a6560c34690af803ef4dae2e53621ae608c1 (patch) | |
tree | 232ed0f7e1902972f28004a20440b6655f07a438 /src | |
parent | 64ba56eda176e22351331c76d78a7238c6e7189f (diff) | |
download | makers-ccd9a6560c34690af803ef4dae2e53621ae608c1.tar.gz makers-ccd9a6560c34690af803ef4dae2e53621ae608c1.zip |
don't break posixy builds oops
Diffstat (limited to 'src')
-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> { |