summaryrefslogtreecommitdiff
path: root/xmake/core/base/interpreter.lua
diff options
context:
space:
mode:
authorwtz <[email protected]>2023-07-19 12:35:52 +0800
committerwtz <[email protected]>2023-07-19 12:35:52 +0800
commitf75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch)
tree278e00b17c8f5558df1c1a21f1204078ea62a58f /xmake/core/base/interpreter.lua
parentca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff)
Fix grammar
Diffstat (limited to 'xmake/core/base/interpreter.lua')
-rw-r--r--xmake/core/base/interpreter.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua
index b82b71bcd..bb41831f7 100644
--- a/xmake/core/base/interpreter.lua
+++ b/xmake/core/base/interpreter.lua
@@ -92,7 +92,7 @@ function interpreter._merge_root_scope(root, root_prev, override)
root_prev = root_prev or {}
for scope_kind_and_name, _ in pairs(root or {}) do
-- only merge sub-scope for each kind("target@@xxxx") or __rootkind
- -- we need ignore the sub-root scope e.g. target{} after fetching root scope
+ -- we need to ignore the sub-root scope e.g. target{} after fetching root scope
--
if scope_kind_and_name:find("@@", 1, true) or scope_kind_and_name == "__rootkind" then
local scope_values = root_prev[scope_kind_and_name] or {}
@@ -481,7 +481,7 @@ function interpreter:_handle(scope, deduplicate, enable_filter)
-- filter values
--
- -- @note we need do filter before removing repeat values
+ -- @note we need to do filter before removing repeat values
-- https://github.com/xmake-io/xmake/issues/1732
if enable_filter then
values = self:_filter(values)
@@ -1080,7 +1080,7 @@ function interpreter:api_register_set_values(scope_kind, ...)
extra_config = nil
end
- -- @note we need mark table value as meta object to avoid wrap/unwrap
+ -- @note we need to mark table value as meta object to avoid wrap/unwrap
-- if these values cannot be expanded, especially when there is only one value
--
-- e.g. set_shflags({"-Wl,-exported_symbols_list", exportfile}, {force = true, expand = false})
@@ -1130,7 +1130,7 @@ function interpreter:api_register_add_values(scope_kind, ...)
extra_config = nil
end
- -- @note we need mark table value as meta object to avoid wrap/unwrap
+ -- @note we need to mark table value as meta object to avoid wrap/unwrap
-- if these values cannot be expanded, especially when there is only one value
--
-- e.g. add_shflags({"-Wl,-exported_symbols_list", exportfile}, {force = true, expand = false})