aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-14 08:45:48 +1000
committerDavid Walter Seikel2012-01-14 08:45:48 +1000
commitf8e387dde17e1e64ae83b9162d5042a80e0c82aa (patch)
tree497386849a3872b2505b91b9d7e567ff53e19083 /LuaSL/src/LuaSL_LSL_tree.h
parentGeneric type handling, and add the float type. (diff)
downloadSledjHamr-f8e387dde17e1e64ae83b9162d5042a80e0c82aa.zip
SledjHamr-f8e387dde17e1e64ae83b9162d5042a80e0c82aa.tar.gz
SledjHamr-f8e387dde17e1e64ae83b9162d5042a80e0c82aa.tar.bz2
SledjHamr-f8e387dde17e1e64ae83b9162d5042a80e0c82aa.tar.xz
Little bit of clean up.
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.h')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index d2d767c..2ef48ee 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -231,13 +231,15 @@ struct _LSL_Identifier // For variables and function parameters.
231 231
232struct _LSL_Statement 232struct _LSL_Statement
233{ 233{
234 LSL_Leaf *expressions; /// For things like a for statement, might hold three expressions. 234 LSL_Leaf *expressions; // For things like a for statement, might hold three expressions.
235 LSL_Type type; // Expression type. 235 LSL_Type type; // Expression type.
236}; 236};
237 237
238struct _LSL_Block 238struct _LSL_Block
239{ 239{
240 LSL_Block *outerBlock;
240 LSL_Statement *statements; 241 LSL_Statement *statements;
242 LSL_Identifier *scopeVariables;
241}; 243};
242 244
243struct _LSL_Function 245struct _LSL_Function