aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-01 03:28:27 +1000
committerDavid Walter Seikel2014-04-01 03:28:27 +1000
commit7229a186e3e000e968ee4a531990dd66613c59e4 (patch)
tree2957ed365fd9c42e1e24c8c73467cebd72282493
parentMore thingasm cleanup. I need a bigger conDOM. (diff)
downloadSledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.zip
SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.tar.gz
SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.tar.bz2
SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.tar.xz
Minor clean ups.
-rw-r--r--ClientHamr/GuiLua/skang.lua1
-rw-r--r--ClientHamr/GuiLua/test.lua5
2 files changed, 3 insertions, 3 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index 5859b1b..858a2c8 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -164,6 +164,7 @@ function printTableStart(table, space, name)
164 print(space .. "{") 164 print(space .. "{")
165 printTable(table, space .. " ") 165 printTable(table, space .. " ")
166 print(space .. "}") 166 print(space .. "}")
167 if '' == space then print('') end
167end 168end
168 169
169function printTable(table, space) 170function printTable(table, space)
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua
index 34f2bf9..636090e 100644
--- a/ClientHamr/GuiLua/test.lua
+++ b/ClientHamr/GuiLua/test.lua
@@ -125,15 +125,14 @@ skang.thingasm{stuff, 'a', 'A test stufflet'}
125skang.thingasm{stuff.t, 'b', 'A sub stufflet'} 125skang.thingasm{stuff.t, 'b', 'A sub stufflet'}
126skang.thingasm{stuff.t, 'c', 'Another sub stufflet'} 126skang.thingasm{stuff.t, 'c', 'Another sub stufflet'}
127skang.thingasm{stuff, 's', 'A Stuff', types='table'} 127skang.thingasm{stuff, 's', 'A Stuff', types='table'}
128stuff.s{'sa,a', help = 'A stufflet in a Stuff'} 128stuff.s{'sa,a', 'A stufflet in a Stuff'}
129stuff.s{'sb,b', help = 'Another stufflet in a Stuff'} 129stuff.s{'sb,b', 'Another stufflet in a Stuff'}
130 130
131print('*********************************') 131print('*********************************')
132skang.fixNames(skang, 'skang') 132skang.fixNames(skang, 'skang')
133skang.fixNames(test, 'test') 133skang.fixNames(test, 'test')
134skang.fixNames(test_c, 'test_c') 134skang.fixNames(test_c, 'test_c')
135skang.fixNames(stuff, 'stuff') 135skang.fixNames(stuff, 'stuff')
136skang.fixNames(stuff.t, 't')
137print('*********************************') 136print('*********************************')
138 137
139print(skang.get(stuff, 'a', 'help')) 138print(skang.get(stuff, 'a', 'help'))