diff options
author | moteus <mimir@newmail.ru> | 2013-05-27 12:45:09 +0400 |
---|---|---|
committer | moteus <mimir@newmail.ru> | 2013-05-27 12:45:09 +0400 |
commit | 920bc9762954454468d056a61391635cbd849406 (patch) | |
tree | 048c112f95fa578d239ae3e35b2aec0a482f0c23 /test | |
parent | bd51d8c1a5bb30e6a358dee6e85963f777edfff4 (diff) | |
download | luasocket-920bc9762954454468d056a61391635cbd849406.tar.gz luasocket-920bc9762954454468d056a61391635cbd849406.tar.bz2 luasocket-920bc9762954454468d056a61391635cbd849406.zip |
Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
Diffstat (limited to 'test')
-rw-r--r-- | test/hello.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hello.lua b/test/hello.lua index cfa5c82..3f385dc 100644 --- a/test/hello.lua +++ b/test/hello.lua | |||
@@ -1,3 +1,3 @@ | |||
1 | require"socket" | 1 | local socket = require"socket" |
2 | require"mime" | 2 | local mime = require"mime" |
3 | print("Hello from " .. socket._VERSION .. " and " .. mime._VERSION .. "!") | 3 | print("Hello from " .. socket._VERSION .. " and " .. mime._VERSION .. "!") |