diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-03 12:42:30 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-03 12:42:30 -0600 |
commit | 0af104e2c744d5004109fb9ebfdd33f23063ffa3 (patch) | |
tree | d88dc167bbaaf13ad5ecf4da2e88d052d7fcb60f /src | |
parent | f81d4e1433b888664149e040c3b6af8cefff9c05 (diff) | |
download | makers-0af104e2c744d5004109fb9ebfdd33f23063ffa3.tar.gz makers-0af104e2c744d5004109fb9ebfdd33f23063ffa3.zip |
trim macro names at start too
Diffstat (limited to 'src')
-rw-r--r-- | src/makefile/input.rs | 2 |
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 { |