diff options
author | Peng Wu <alexepico@gmail.com> | 2020-09-24 15:04:30 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2020-09-24 15:04:30 +0800 |
commit | 0492fc31565ebd35f6ac14769203bdce752f8d7a (patch) | |
tree | 40ddb3e2145c51b98f4ade0e23bc3ed63d59e962 /lua | |
parent | eea3b45a2400d09092b1d5f15c07225249249e7d (diff) | |
download | ibus-libpinyin-0492fc31565ebd35f6ac14769203bdce752f8d7a.tar.gz ibus-libpinyin-0492fc31565ebd35f6ac14769203bdce752f8d7a.tar.xz ibus-libpinyin-0492fc31565ebd35f6ac14769203bdce752f8d7a.zip |
Update base.lua
Diffstat (limited to 'lua')
-rw-r--r-- | lua/base.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/base.lua b/lua/base.lua index 76d8e52..0105c50 100644 --- a/lua/base.lua +++ b/lua/base.lua @@ -161,7 +161,7 @@ end function compute(input) local expr = "return " .. _add_math_keyword(input) - local func = loadstring(expr) + local func = load(expr) if func == nil then return "-- 未完整表达式 --" end |