From 8c3b2f5d51c4f4cb27c2daee16096837fab9a574 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Dec 2022 00:49:56 +0800 Subject: format code --- xmake/rules/c++/modules/modules_support/gcc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua') 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 -- cgit v1.3.1