diff options
author | David Walter Seikel | 2014-04-01 03:28:27 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-01 03:28:27 +1000 |
commit | 7229a186e3e000e968ee4a531990dd66613c59e4 (patch) | |
tree | 2957ed365fd9c42e1e24c8c73467cebd72282493 | |
parent | More thingasm cleanup. I need a bigger conDOM. (diff) | |
download | SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.zip SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.tar.gz SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.tar.bz2 SledjHamr-7229a186e3e000e968ee4a531990dd66613c59e4.tar.xz |
Minor clean ups.
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 1 | ||||
-rw-r--r-- | ClientHamr/GuiLua/test.lua | 5 |
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 | ||
167 | end | 168 | end |
168 | 169 | ||
169 | function printTable(table, space) | 170 | function 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'} | |||
125 | skang.thingasm{stuff.t, 'b', 'A sub stufflet'} | 125 | skang.thingasm{stuff.t, 'b', 'A sub stufflet'} |
126 | skang.thingasm{stuff.t, 'c', 'Another sub stufflet'} | 126 | skang.thingasm{stuff.t, 'c', 'Another sub stufflet'} |
127 | skang.thingasm{stuff, 's', 'A Stuff', types='table'} | 127 | skang.thingasm{stuff, 's', 'A Stuff', types='table'} |
128 | stuff.s{'sa,a', help = 'A stufflet in a Stuff'} | 128 | stuff.s{'sa,a', 'A stufflet in a Stuff'} |
129 | stuff.s{'sb,b', help = 'Another stufflet in a Stuff'} | 129 | stuff.s{'sb,b', 'Another stufflet in a Stuff'} |
130 | 130 | ||
131 | print('*********************************') | 131 | print('*********************************') |
132 | skang.fixNames(skang, 'skang') | 132 | skang.fixNames(skang, 'skang') |
133 | skang.fixNames(test, 'test') | 133 | skang.fixNames(test, 'test') |
134 | skang.fixNames(test_c, 'test_c') | 134 | skang.fixNames(test_c, 'test_c') |
135 | skang.fixNames(stuff, 'stuff') | 135 | skang.fixNames(stuff, 'stuff') |
136 | skang.fixNames(stuff.t, 't') | ||
137 | print('*********************************') | 136 | print('*********************************') |
138 | 137 | ||
139 | print(skang.get(stuff, 'a', 'help')) | 138 | print(skang.get(stuff, 'a', 'help')) |