diff options
Diffstat (limited to 'xmake/modules/core/tools/fpc.lua')
| -rw-r--r-- | xmake/modules/core/tools/fpc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/fpc.lua b/xmake/modules/core/tools/fpc.lua index 15216ce96..49be3156d 100644 --- a/xmake/modules/core/tools/fpc.lua +++ b/xmake/modules/core/tools/fpc.lua @@ -123,8 +123,8 @@ function nf_undefine(self, macro) end -- make the language flag -function nf_languagemode(self, language) - local table = { +function nf_language(self, language) + local mode = { pascal = "-Mfpc", fpc = "-Mfpc", objfpc = "-Mobjfpc", @@ -134,7 +134,7 @@ function nf_languagemode(self, language) extendedpascal = "-Mextendedpascal", delphiunicode = "-Mdelphiunicode", } - return table[language] + return mode[language] end -- make the build arguments list |
