aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/test.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-27 16:18:27 +1000
committerDavid Walter Seikel2014-03-27 16:18:27 +1000
commitb1dbb07748db625d504cf2de26372a3f10721e59 (patch)
tree80eaf095031bfa16c0c0f4e3019f4d6f3af6caaa /ClientHamr/GuiLua/test.lua
parentAdd an example of a C Lua module in the test_c comments. (diff)
downloadSledjHamr-b1dbb07748db625d504cf2de26372a3f10721e59.zip
SledjHamr-b1dbb07748db625d504cf2de26372a3f10721e59.tar.gz
SledjHamr-b1dbb07748db625d504cf2de26372a3f10721e59.tar.bz2
SledjHamr-b1dbb07748db625d504cf2de26372a3f10721e59.tar.xz
Lua allows hash bang after all. B-)
Diffstat (limited to 'ClientHamr/GuiLua/test.lua')
-rw-r--r--ClientHamr/GuiLua/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua
index 459eca4..58f8d19 100644
--- a/ClientHamr/GuiLua/test.lua
+++ b/ClientHamr/GuiLua/test.lua
@@ -4,7 +4,7 @@ do -- Only I'm not gonna indent this.
4 4
5local skang = require 'skang' 5local skang = require 'skang'
6local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ 6local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[
7#!skang test.skang -- This is Lua, so this might not work. 7#!/usr/bin/env skang -- Lua allows this shell hack.
8 8
9-- There's an implied local this = require 'test' 9-- There's an implied local this = require 'test'
10-- There's an implied local skang = require 'skang' 10-- There's an implied local skang = require 'skang'