aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml14
-rw-r--r--src/LuaMinify.h12
2 files changed, 22 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..94125fd
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,14 @@
1version: 1.0.{build}
2branches:
3 only:
4 - master
5image: Visual Studio 2019
6configuration:
7- Debug
8- Release
9platform: x86
10build:
11 project: MoonPlus.sln
12 parallel: true
13 verbosity: normal
14test: off
diff --git a/src/LuaMinify.h b/src/LuaMinify.h
index c1f5c95..4990646 100644
--- a/src/LuaMinify.h
+++ b/src/LuaMinify.h
@@ -303,8 +303,9 @@ local Scope = {
303 end 303 end
304 end 304 end
305} 305}
306)lua_codes"
306 307
307 308R"lua_codes(
308-- 309--
309-- ParseLua.lua 310-- ParseLua.lua
310-- 311--
@@ -950,8 +951,9 @@ local function ParseLua(src)
950 -- 951 --
951 return true, nodeFunc 952 return true, nodeFunc
952 end 953 end
954)lua_codes"
953 955
954 956R"lua_codes(
955 function ParsePrimaryExpr(scope) 957 function ParsePrimaryExpr(scope)
956 local tokenList = {} 958 local tokenList = {}
957 959
@@ -1293,8 +1295,9 @@ local function ParseLua(src)
1293 ParseExpr = function(scope) 1295 ParseExpr = function(scope)
1294 return ParseSubExpr(scope, 0) 1296 return ParseSubExpr(scope, 0)
1295 end 1297 end
1298)lua_codes"
1296 1299
1297 1300R"lua_codes(
1298 local function ParseStatement(scope) 1301 local function ParseStatement(scope)
1299 local stat = nil 1302 local stat = nil
1300 local tokenList = {} 1303 local tokenList = {}
@@ -1706,8 +1709,9 @@ local function ParseLua(src)
1706 --print("Last Token: "..PrintTable(tok:Peek())) 1709 --print("Last Token: "..PrintTable(tok:Peek()))
1707 return st, main 1710 return st, main
1708end 1711end
1712)lua_codes"
1709 1713
1710 1714R"lua_codes(
1711-- 1715--
1712-- FormatMini.lua 1716-- FormatMini.lua
1713-- 1717--