Code: Select all
for k,v in pairs(arg) do
if v == "--build" then
require("build")
end
end
love mygamefolder --console --build
Code: Select all
for k,v in pairs(arg) do
if v == "--build" then
require("build")
end
end
<String `"ffi"`> at: 1:21
Error: maker/minify.lua:212: /classes/brushes/box.lua<108:36>: 1:21: Unexpected symbol
stack traceback:
[string "boot.lua"]:777: in function <[string "boot.lua"]:773>
[C]: in function 'error'
maker/minify.lua:212: in function 'perror'
maker/minify.lua:574: in function 'prefixexpr'
maker/minify.lua:776: in function 'primaryexpr'
maker/minify.lua:978: in function 'exprstat'
maker/minify.lua:1318: in function 'statement'
maker/minify.lua:1330: in function 'CreateLuaParser'
maker/minify.lua:3213: in function 'minify'
maker/main.lua:58: in function 'save'
Code: Select all
require "ffi" -- doesn't work
Code: Select all
require ("ffi") -- works
Code: Select all
ffi.cdef[[
typedef struct _BoxBrush {
BoxCollider;
Brush;
} BoxBrush;
]]
2:Error: maker/minify.lua:949: attempt to index a nil value
stack traceback:
[string "boot.lua"]:777: in function '__index'
maker/minify.lua:949: in function 'expr'
maker/minify.lua:751: in function 'functionargs'
maker/minify.lua:833: in function 'simpleexpr'
maker/minify.lua:944: in function 'subexpr'
maker/minify.lua:951: in function 'expr'
maker/minify.lua:1004: in function 'exprstat'
maker/minify.lua:1318: in function 'statement'
maker/minify.lua:1330: in function 'block'
...
maker/minify.lua:3213: in function 'minify'
maker/main.lua:58: in function 'save'
Code: Select all
local reset = "\x1B[m"
Error: maker/minify.lua:212: /logutility.lua<1:19>: Invalid Escape Sequence `x`.
stack traceback:
[string "boot.lua"]:777: in function <[string "boot.lua"]:773>
[C]: in function 'error'
maker/minify.lua:212: in function 'perror'
maker/minify.lua:336: in function 'CreateLuaTokenStream'
maker/minify.lua:434: in function 'CreateLuaParser'
maker/minify.lua:3213: in function 'minify'
maker/main.lua:58: in function 'save'
Users browsing this forum: Ahrefs [Bot] and 1 guest