diff options
| author | lneto <lneto@NetBSD.org> | 2014-07-19 18:38:33 +0000 |
|---|---|---|
| committer | lneto <lneto@NetBSD.org> | 2014-07-19 18:38:33 +0000 |
| commit | c4b1eb35e827c43a0dcf41027c98aaedf46be036 (patch) | |
| tree | f80015954e9c51266af4f2e1c57f2134cbcc1d62 /sys/modules/lua/test.lua | |
| parent | c6d74635a1d93d95a3770bd621dcd83ed33100c2 (diff) | |
lua: updated from 5.1 to 5.3 work3
* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibilized bindings: gpio, sqlite
* lua(4):
- removed floating-point and libc dependencies using '#ifndef _KERNEL'
- fixed division by zero and exponentiation
- libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
- acpica: removed isprint() from acnetbsd.h
- libc: moved strcspn.c, strpbrk.c and strspn.c to common
- removed stub headers
- compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
Diffstat (limited to 'sys/modules/lua/test.lua')
| -rw-r--r-- | sys/modules/lua/test.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/lua/test.lua b/sys/modules/lua/test.lua index 123dd493c87..113f760edc3 100644 --- a/sys/modules/lua/test.lua +++ b/sys/modules/lua/test.lua @@ -1,8 +1,8 @@ -require 'core' +systm = require 'systm' -core.print("hello, kernel world!\n") +systm.print("hello, kernel world!\n") function onClose() - core.print('I am about to be closed\n') + systm.print('I am about to be closed\n') end |
