diff options
Diffstat (limited to 'script/files.lua')
-rw-r--r-- | script/files.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/script/files.lua b/script/files.lua index 71981a83..9ffcd2a1 100644 --- a/script/files.lua +++ b/script/files.lua @@ -211,7 +211,11 @@ end --- ้ๅๆไปถ function m.eachFile() - return pairs(m.fileMap) + local map = {} + for uri, file in pairs(m.fileMap) do + map[uri] = file + end + return pairs(map) end function m.compileAst(uri, text) @@ -242,8 +246,9 @@ function m.compileAst(uri, text) , 'lua' , config.config.runtime.version , { - special = config.config.runtime.special, - unicodeName = config.config.runtime.unicodeName, + special = config.config.runtime.special, + unicodeName = config.config.runtime.unicodeName, + nonstandardSymbol = config.config.runtime.nonstandardSymbol, } ) local passed = os.clock() - clock |