aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-17 11:40:08 +1000
committerDavid Walter Seikel2012-01-17 11:40:08 +1000
commite20bc3a36eb5df83b9531e5be2366870eed1b409 (patch)
treea9b9bb576ebead6172dea13b57a405f7bdef726a /LuaSL/src/LuaSL_LSL_tree.c
parentIdentifiers. (diff)
downloadSledjHamr-e20bc3a36eb5df83b9531e5be2366870eed1b409.zip
SledjHamr-e20bc3a36eb5df83b9531e5be2366870eed1b409.tar.gz
SledjHamr-e20bc3a36eb5df83b9531e5be2366870eed1b409.tar.bz2
SledjHamr-e20bc3a36eb5df83b9531e5be2366870eed1b409.tar.xz
No need to pass param to these.
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.c')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.c b/LuaSL/src/LuaSL_LSL_tree.c
index 6a0988c..3d53ed7 100644
--- a/LuaSL/src/LuaSL_LSL_tree.c
+++ b/LuaSL/src/LuaSL_LSL_tree.c
@@ -291,7 +291,7 @@ LSL_Leaf *addOperation(LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right)
291 return lval; 291 return lval;
292} 292}
293 293
294LSL_Leaf *addParameter(LuaSL_yyparseParam *param, LSL_Leaf *type, LSL_Leaf *identifier) 294LSL_Leaf *addParameter(LSL_Leaf *type, LSL_Leaf *identifier)
295{ 295{
296 LSL_Identifier *result = calloc(1, sizeof(LSL_Identifier)); 296 LSL_Identifier *result = calloc(1, sizeof(LSL_Identifier));
297 297
@@ -310,7 +310,7 @@ LSL_Leaf *addParameter(LuaSL_yyparseParam *param, LSL_Leaf *type, LSL_Leaf *iden
310 return identifier; 310 return identifier;
311} 311}
312 312
313LSL_Leaf *collectParameters(LuaSL_yyparseParam *param, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam) 313LSL_Leaf *collectParameters(LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam)
314{ 314{
315 LSL_Leaf *newList = newLeaf(LSL_PARAMETER_LIST, NULL, NULL); 315 LSL_Leaf *newList = newLeaf(LSL_PARAMETER_LIST, NULL, NULL);
316 316
@@ -327,7 +327,7 @@ LSL_Leaf *collectParameters(LuaSL_yyparseParam *param, LSL_Leaf *list, LSL_Leaf
327 return newList; 327 return newList;
328} 328}
329 329
330LSL_Leaf *addFunction(LuaSL_yyparseParam *param, LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *open, LSL_Leaf *params, LSL_Leaf *close, LSL_Leaf *block) 330LSL_Leaf *addFunction(LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *open, LSL_Leaf *params, LSL_Leaf *close, LSL_Leaf *block)
331{ 331{
332 LSL_Function *func = calloc(1, sizeof(LSL_Function)); 332 LSL_Function *func = calloc(1, sizeof(LSL_Function));
333 333