aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefile/input.rs4
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() {