Fix debug mode build

This commit is contained in:
Justine Tunney 2022-04-16 12:25:53 -07:00
parent dc0ea6640e
commit be7c5e1071
9 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,24 @@
globalvar1 = 31337
globalvar2 = {
'hello': 'world',
}
function dosomething(param1, x)
local res, y = 0
SetStatus(200)
SetHeader('Content-Type', 'text/plain; charset=utf-8')
Write('preprae to crash... now\r\n')
res = x / y
Write(string.format('42 / 0 is %d\r\n', res)
end
function start(param1)
local x = 42
dosomething(s, x)
end
function main()
local s = 'hello'
start(s)
end