diff options
author | David Walter Seikel | 2012-01-14 08:45:48 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-14 08:45:48 +1000 |
commit | f8e387dde17e1e64ae83b9162d5042a80e0c82aa (patch) | |
tree | 497386849a3872b2505b91b9d7e567ff53e19083 /LuaSL/src/LuaSL_LSL_tree.h | |
parent | Generic type handling, and add the float type. (diff) | |
download | SledjHamr-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.h | 6 |
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 | ||
232 | struct _LSL_Statement | 232 | struct _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 | ||
238 | struct _LSL_Block | 238 | struct _LSL_Block |
239 | { | 239 | { |
240 | LSL_Block *outerBlock; | ||
240 | LSL_Statement *statements; | 241 | LSL_Statement *statements; |
242 | LSL_Identifier *scopeVariables; | ||
241 | }; | 243 | }; |
242 | 244 | ||
243 | struct _LSL_Function | 245 | struct _LSL_Function |