aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-03 12:42:30 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-03 12:42:30 -0600
commit0af104e2c744d5004109fb9ebfdd33f23063ffa3 (patch)
treed88dc167bbaaf13ad5ecf4da2e88d052d7fcb60f /src/makefile/input.rs
parentf81d4e1433b888664149e040c3b6af8cefff9c05 (diff)
downloadmakers-0af104e2c744d5004109fb9ebfdd33f23063ffa3.tar.gz
makers-0af104e2c744d5004109fb9ebfdd33f23063ffa3.zip
trim macro names at start too
Diffstat (limited to 'src/makefile/input.rs')
-rw-r--r--src/makefile/input.rs2
1 files changed, 1 insertions, 1 deletions
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 {