aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-02 01:55:44 +1000
committerDavid Walter Seikel2012-02-02 01:55:44 +1000
commit809530889811445b7fca3a57ce38efee196d1c22 (patch)
tree179cc1515705f051268b4c37215a440de4b85089 /LuaSL/src/LuaSL_LSL_tree.h
parentFix up single statement "blocks". (diff)
downloadSledjHamr-809530889811445b7fca3a57ce38efee196d1c22.zip
SledjHamr-809530889811445b7fca3a57ce38efee196d1c22.tar.gz
SledjHamr-809530889811445b7fca3a57ce38efee196d1c22.tar.bz2
SledjHamr-809530889811445b7fca3a57ce38efee196d1c22.tar.xz
Parse dot subbies.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 5e36c73..7791b10 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -211,6 +211,7 @@ struct _LSL_Parenthesis
211struct _LSL_Identifier // For variables and function parameters. 211struct _LSL_Identifier // For variables and function parameters.
212{ 212{
213 LSL_Text name; 213 LSL_Text name;
214 const char *sub;
214 LSL_Leaf value; 215 LSL_Leaf value;
215}; 216};
216 217
@@ -411,7 +412,7 @@ LSL_Leaf *addTypecast(LSL_Leaf *lval, LSL_Leaf *type, LSL_Leaf *rval, LSL_Leaf *
411LSL_Leaf *addVariable(LuaSL_compiler *compiler, LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *assignment, LSL_Leaf *expr); 412LSL_Leaf *addVariable(LuaSL_compiler *compiler, LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *assignment, LSL_Leaf *expr);
412 413
413LSL_Leaf *beginBlock(LuaSL_compiler *compiler, LSL_Leaf *block); 414LSL_Leaf *beginBlock(LuaSL_compiler *compiler, LSL_Leaf *block);
414LSL_Leaf *checkVariable(LuaSL_compiler *compiler, LSL_Leaf *identifier); 415LSL_Leaf *checkVariable(LuaSL_compiler *compiler, LSL_Leaf *identifier, LSL_Leaf *dot, LSL_Leaf *sub);
415LSL_Leaf *collectArguments(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *arg); 416LSL_Leaf *collectArguments(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *arg);
416LSL_Leaf *collectParameters(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam); 417LSL_Leaf *collectParameters(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam);
417LSL_Leaf *collectStatements(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *newStatement); 418LSL_Leaf *collectStatements(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *newStatement);