From 0af104e2c744d5004109fb9ebfdd33f23063ffa3 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 3 Apr 2021 12:42:30 -0600 Subject: trim macro names at start too --- src/makefile/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/makefile') diff --git a/src/makefile/input.rs b/src/makefile/input.rs index 68213f8..aa744c8 100644 --- a/src/makefile/input.rs +++ b/src/makefile/input.rs @@ -465,7 +465,7 @@ impl<'a, R: BufRead> MakefileReader<'a, R> { &name }; - let name = name.trim_end(); + let name = name.trim(); value.trim_start(); let value = if expand_value { -- cgit v1.2.3