elua: some janitoring (add newlines to the end of files)

This commit is contained in:
Daniel Kolesa 2014-06-10 12:35:54 +01:00
parent 00f9858cfe
commit 6df8766b6a
30 changed files with 30 additions and 29 deletions

View File

@ -58,3 +58,4 @@ eluacore_DATA = \
EXTRA_DIST += $(eluacore_DATA)
endif

View File

@ -65,4 +65,4 @@ getopt.parse {
end
}
return true
return true

View File

@ -425,4 +425,4 @@ local f = assert(cutil.popenv(hasxgettext, "w", unpack(args_final)))
f:write(table.concat(parsed_files, "\n\n"))
f:close()
return true
return true

View File

@ -176,4 +176,4 @@ elua_register_cache(lua_State *L)
{
lua_pushcfunction(L, loadfile);
lua_setglobal(L, "loadfile");
}
}

View File

@ -89,4 +89,4 @@ else
end
end
return M
return M

View File

@ -123,4 +123,4 @@ M.loadlib = package.loadlib
_G["require"] = M.require
_G["package"] = M
return M
return M

View File

@ -392,4 +392,4 @@ M.get_namespace = function(M, nspaces)
return last_m
end
return M
return M

View File

@ -361,4 +361,4 @@ elua_popen(lua_State *L)
*pf = elua_popen_c(fname, mode, argv);
}
return (!*pf) ? push_ret(L, 0, fname) : 1;
}
}

View File

@ -620,4 +620,4 @@ main(int argc, char **argv)
shutdown(L, !!(lua_cpcall(L, lua_main, &m) || m.status));
return 0; /* never gets here */
}
}

View File

@ -38,4 +38,4 @@ int elua_loadfilex(lua_State *L, const char *fname, const char *mode);
int elua_loadfile(lua_State *L, const char *fname);
void elua_register_cache(lua_State *L);
#endif
#endif

View File

@ -94,4 +94,4 @@ plot ]]):format(self.name, self.run, self.name, self.run))
end
}
return M
return M

View File

@ -171,4 +171,4 @@ M.exit = function()
elm.elm_exit()
end
_G["elm"] = M
_G["elm"] = M

View File

@ -291,4 +291,4 @@ M.help_cb = function(fstream)
end
end
return M
return M

View File

@ -696,4 +696,4 @@ M.generate = function(fname, modname, libname, fstream)
:generate(fstream or io.stdout)
end
return M
return M

View File

@ -125,4 +125,4 @@ return { init = function(chunkname, input, keywords, flags, add_loc, opts)
rets[#rets + 1] = tconc(ret, "\n")
end
return tconc(rets, "\n\n")
end }
end }

View File

@ -350,4 +350,4 @@ return { init = function(chunkname, input, flags, opts)
ls.coro = coro
coro(ls)
return ls
end, syntax_error = syntax_error, source_to_msg = source_to_msg }
end, syntax_error = syntax_error, source_to_msg = source_to_msg }

View File

@ -265,4 +265,4 @@ return { init = function (chunkname, input, keywords, flags, opts)
keywords, flags)
coro(ls, keywords)
return coro
end }
end }

View File

@ -129,4 +129,4 @@ M.Accessor = util.Readonly_Object:clone {
end
}
return M
return M

View File

@ -59,4 +59,4 @@ M.Counter = ffi.metatype("Eina_Counter", {
}
})
return M
return M

View File

@ -390,4 +390,4 @@ M.File = ffi.metatype("Eina_File", {
}
})
return M
return M

View File

@ -28,4 +28,4 @@ M.count = function()
return tonumber(eina.eina_hamster_count())
end
return M
return M

View File

@ -99,4 +99,4 @@ M.Iterator = util.Readonly_Object:clone {
end
}
return M
return M

View File

@ -297,4 +297,4 @@ M.String_List = List_Base:clone {
end
}
return M
return M

View File

@ -208,4 +208,4 @@ M.set_default_domain = function(dom)
default_domain = dom
end
return M
return M

View File

@ -283,4 +283,4 @@ M.Rectangle_Pool = ffi.metatype("Eina_Rectangle_Pool", {
}
})
return M
return M

View File

@ -161,4 +161,4 @@ M.Tile_Grid_Slicer = ffi.metatype("Eina_Tile_Grid_Slicer", {
}
})
return M
return M

View File

@ -154,4 +154,4 @@ M.int_get = function(file, attribute)
return true, tonumber(v[0])
end
return M
return M

View File

@ -115,4 +115,4 @@ end
M.Eo_Base = util.Object:clone {
}
return M
return M

View File

@ -449,4 +449,4 @@ M.type_find_by_alias = function(alias)
return eolian.eolian_type_find_by_alias(alias)
end
return M
return M

View File

@ -62,4 +62,4 @@ win:resize(360, 360)
win:show()
dom:log(log.level.INFO, "done initing")
dom:unregister()
dom:unregister()