Lines Matching refs:err
66 …e_arguments=function(parsed)local luke,err=loadluke(parsed.fname)diagnose(luke~=nil,'bad %s: %s',p…
85 …nction(out,err)local pipe=concat{command,' >',out.filename,' 2>',err.filename,'; printf $?'}return…
86 local function run(L,env,command)L.write(interpolate(env,concat(command,' ')),'\n')local status,err…
89 stderr:write(err..'\n')end
90 return status,out,err
103 …bles.objdir,name)local command={'$MAKEDIRS',dirname(c_module)}local status,err,out=spawn(env,unpac…
104 stdout:write(concat(command,' ')..'\n')stderr:write(err..'\n')exit(status)end
115 …'clang'},}local function logspawn(L,env,...)local status,err=spawn(env,...)if status~=0 and err~='…
116 L.log(err)end
243 checking(L,interpolate(env,'whether $CC works'))local cm=CTest()local works,err=with(cm,function(co…
244 L.verbose'no\n'L.log(interpolate(env,'$compile '..cm.filename))if err and err~=''then
245 L.log(err)end
341 return{loadluke=function(filename)local content,err=slurp(File(filename))if content==nil then
342 return nil,err
344 local r={}local chunk,err=loadstring(content,filename,r)if chunk==nil then
345 return nil,"Error loading file: "..err
347 local ok,err=pcall(chunk)if not ok then
348 return nil,"Error running file: "..err
567 loadstring=function(s,filename,env)chunk,err=_loadstring(s,filename)if chunk~=nil and env~=nil then
569 return chunk,err
636 end,}local function ContextManager(release,acquire,...)local fh,err=acquire(...)if not fh then
637 return nil,err