diff options
Diffstat (limited to 'xmake/languages/objc++/check_main.lua')
| -rw-r--r-- | xmake/languages/objc++/check_main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/languages/objc++/check_main.lua b/xmake/languages/objc++/check_main.lua index f0c12b582..d5d434d8f 100644 --- a/xmake/languages/objc++/check_main.lua +++ b/xmake/languages/objc++/check_main.lua @@ -27,7 +27,7 @@ function main(sourcefile) -- load source code - local sourcecode = io.read(sourcefile) + local sourcecode = io.readfile(sourcefile) -- remove comment first sourcecode = sourcecode:gsub("/%*.-%*/", "") |
