diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-14 18:43:06 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-14 18:43:06 -0600 |
commit | 7ac635054c43f28bf73233925ae13120b9ad86b8 (patch) | |
tree | bfc5fb4407cfceace8886c4520ca70d00d310f3f /src | |
parent | 3767efd290d9672b136a01e3b56db68c207c5755 (diff) | |
download | makers-7ac635054c43f28bf73233925ae13120b9ad86b8.tar.gz makers-7ac635054c43f28bf73233925ae13120b9ad86b8.zip |
correctly handle lines that start with `export_`
Diffstat (limited to 'src')
-rw-r--r-- | src/makefile/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile/input.rs b/src/makefile/input.rs index c9810ab..03e7f18 100644 --- a/src/makefile/input.rs +++ b/src/makefile/input.rs @@ -44,11 +44,11 @@ impl LineType { return Self::Include; } #[cfg(feature = "full")] - if line_tokens.starts_with("export") { + if line_tokens.starts_with("export ") || line_tokens == "export" { return Self::Export; } #[cfg(feature = "full")] - if line_tokens.starts_with("unexport") { + if line_tokens.starts_with("unexport ") || line_tokens == "unexport" { return Self::Unexport; } for token in line_tokens.tokens() { |