diff options
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_LSL_tree.c | 6 |
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 | ||
294 | LSL_Leaf *addParameter(LuaSL_yyparseParam *param, LSL_Leaf *type, LSL_Leaf *identifier) | 294 | LSL_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 | ||
313 | LSL_Leaf *collectParameters(LuaSL_yyparseParam *param, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam) | 313 | LSL_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 | ||
330 | LSL_Leaf *addFunction(LuaSL_yyparseParam *param, LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *open, LSL_Leaf *params, LSL_Leaf *close, LSL_Leaf *block) | 330 | LSL_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 | ||