aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-30 19:14:57 +1000
committerDavid Walter Seikel2012-01-30 19:14:57 +1000
commitdf174dd2c6ab38df55cfd4f367a347c9885f1c49 (patch)
tree3a452aa0074a6563c987e91b4e3dfea9f6682422 /LuaSL/src/LuaSL_LSL_tree.h
parentTrack function type ignorable, and no need to store the leaf. (diff)
downloadSledjHamr-df174dd2c6ab38df55cfd4f367a347c9885f1c49.zip
SledjHamr-df174dd2c6ab38df55cfd4f367a347c9885f1c49.tar.gz
SledjHamr-df174dd2c6ab38df55cfd4f367a347c9885f1c49.tar.bz2
SledjHamr-df174dd2c6ab38df55cfd4f367a347c9885f1c49.tar.xz
No longer storing blocks as leaves. This one required a whole heap of function reordering.
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.h')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 104ba45..875e1b9 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -224,7 +224,7 @@ struct _LSL_Statement
224// } stuff; // Nothing has an identifier AND parenthesis, and there will be LOTS of statements, so save some space. 224// } stuff; // Nothing has an identifier AND parenthesis, and there will be LOTS of statements, so save some space.
225 // Damn, function identifiers do. 225 // Damn, function identifiers do.
226 LSL_Leaf *expressions; // A for statement will have three expressions, everything else has zero or one. 226 LSL_Leaf *expressions; // A for statement will have three expressions, everything else has zero or one.
227 LSL_Leaf *block; 227 LSL_Block *block;
228 LSL_Type type; // Expression type. 228 LSL_Type type; // Expression type.
229/* 229/*
230LSL_Leaf *addStatement(LSL_Leaf *lval, LSL_Type type, LSL_Leaf *left, LSL_Leaf *expr, LSL_Leaf *right, LSL_Leaf *block); 230LSL_Leaf *addStatement(LSL_Leaf *lval, LSL_Type type, LSL_Leaf *left, LSL_Leaf *expr, LSL_Leaf *right, LSL_Leaf *block);
@@ -262,7 +262,7 @@ struct _LSL_Function
262 // This points to the params leaf, which is a function, pointing to this structure. The actual params are in vars. 262 // This points to the params leaf, which is a function, pointing to this structure. The actual params are in vars.
263#endif 263#endif
264 Eina_Inarray vars; // Eina Inarray has not been released yet (Eina 1.2). 264 Eina_Inarray vars; // Eina Inarray has not been released yet (Eina 1.2).
265 LSL_Leaf *block; 265 LSL_Block *block;
266}; 266};
267 267
268struct _LSL_FunctionCall 268struct _LSL_FunctionCall
@@ -277,7 +277,7 @@ struct _LSL_State
277{ 277{
278 LSL_Text name; 278 LSL_Text name;
279 LSL_Text state; 279 LSL_Text state;
280 LSL_Leaf *block; 280 LSL_Block *block;
281 Eina_Hash *handlers; 281 Eina_Hash *handlers;
282}; 282};
283 283