diff options
Diffstat (limited to 'src/makefile/conditional.rs')
-rw-r--r-- | src/makefile/conditional.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefile/conditional.rs b/src/makefile/conditional.rs index 149638e..4490e8c 100644 --- a/src/makefile/conditional.rs +++ b/src/makefile/conditional.rs @@ -85,6 +85,7 @@ impl Line { line: &str, expand_macro: impl Fn(&TokenString) -> Result<String>, ) -> Result<Option<Self>> { + let line = line.trim_start(); Ok(Some(if let Some(line) = line.strip_prefix("ifeq ") { match decode_condition_args(line) { Some((arg1, arg2)) => Self::IfEqual(arg1, arg2), |