diff options
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/gcc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua index 8912bb60e..9882e5805 100644 --- a/xmake/rules/c++/modules/modules_support/gcc.lua +++ b/xmake/rules/c++/modules/modules_support/gcc.lua @@ -55,13 +55,13 @@ function _add_module_to_mapper(file, module, bmi) return true end +-- get a module from mapper function _get_module_from_mapper(file, module) for line in io.lines(file) do if line:startswith(module .. " ") then return line:split(" ", {plain = true}) end end - return nil end -- load module support for the current target @@ -584,4 +584,4 @@ function get_cppversionflag(target) _g.cppversionflag = cppversionflag end return cppversionflag or nil -end
\ No newline at end of file +end |
