diff options
author | Li Jin <dragon-fly@qq.com> | 2023-05-17 09:19:20 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-05-17 09:19:20 +0800 |
commit | 78d5e6f44c06ac24aee667b5f9a9e642dcc6208d (patch) | |
tree | 78913f601c44a1d85e275a30e4a1272fee00c4cb /spec/outputs/syntax.lua | |
parent | a8c4737494818e6591cac2191bf3a49cbe990173 (diff) | |
download | yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.gz yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.bz2 yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.zip |
fix issue #133.
Diffstat (limited to 'spec/outputs/syntax.lua')
-rw-r--r-- | spec/outputs/syntax.lua | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/outputs/syntax.lua b/spec/outputs/syntax.lua index 990083f..2afadbb 100644 --- a/spec/outputs/syntax.lua +++ b/spec/outputs/syntax.lua | |||
@@ -239,11 +239,9 @@ x = 0 | |||
239 | local _list_0 = values | 239 | local _list_0 = values |
240 | for _index_0 = 1, #_list_0 do | 240 | for _index_0 = 1, #_list_0 do |
241 | local v = _list_0[_index_0] | 241 | local v = _list_0[_index_0] |
242 | _ = ((function() | 242 | if ntype(v) == "fndef" then |
243 | if ntype(v) == "fndef" then | 243 | _ = x + 1 |
244 | x = x + 1 | 244 | end |
245 | end | ||
246 | end)()) | ||
247 | end | 245 | end |
248 | hello = { | 246 | hello = { |
249 | something = world, | 247 | something = world, |