From e888f3f32af2306eb3b8d3b934be196e11430c22 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 1 Aug 2023 09:28:35 +0800 Subject: Update find_flex.lua --- xmake/modules/detect/tools/find_flex.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xmake/modules/detect/tools/find_flex.lua b/xmake/modules/detect/tools/find_flex.lua index 3d3a7c689..12ee4365a 100644 --- a/xmake/modules/detect/tools/find_flex.lua +++ b/xmake/modules/detect/tools/find_flex.lua @@ -36,11 +36,7 @@ import("lib.detect.find_programver") -- @endcode -- function main(opt) - - -- init options opt = opt or {} - - -- find program local program = find_program(opt.program or "flex", opt) -- try win_flex if flex is not found on windows @@ -53,7 +49,5 @@ function main(opt) if program and opt and opt.version then version = find_programver(program, opt) end - - -- ok? return program, version end -- cgit v1.3.1