diff options
Diffstat (limited to 'LuaSL/src/LuaSL_lemon_yaccer.y')
-rw-r--r-- | LuaSL/src/LuaSL_lemon_yaccer.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y index e62776b..e163991 100644 --- a/LuaSL/src/LuaSL_lemon_yaccer.y +++ b/LuaSL/src/LuaSL_lemon_yaccer.y | |||
@@ -45,8 +45,8 @@ parameterList(A) ::= parameter(D). { A = collectParameters(NULL, NULL, D); | |||
45 | parameterList(A) ::= . { A = collectParameters(NULL, NULL, NULL); } | 45 | parameterList(A) ::= . { A = collectParameters(NULL, NULL, NULL); } |
46 | parameter(A) ::= type(B) LSL_IDENTIFIER(C). { A = addParameter(B, C); } | 46 | parameter(A) ::= type(B) LSL_IDENTIFIER(C). { A = addParameter(B, C); } |
47 | // Causes a conflict when it's an empty parameterList with calling the same type of function. | 47 | // Causes a conflict when it's an empty parameterList with calling the same type of function. |
48 | function(A) ::= LSL_IDENTIFIER(C) LSL_PARENTHESIS_OPEN(D) parameterList(E) LSL_PARENTHESIS_CLOSE(F) funcBlock(G). { A = addFunction(NULL, C, D, E, F, G); } | 48 | function(A) ::= LSL_IDENTIFIER(C) LSL_PARENTHESIS_OPEN(D) parameterList(E) LSL_PARENTHESIS_CLOSE(F) funcBlock(G). { A = addFunction(compiler, NULL, C, D, E, F, G); } |
49 | function(A) ::= type(B) LSL_IDENTIFIER(C) LSL_PARENTHESIS_OPEN(D) parameterList(E) LSL_PARENTHESIS_CLOSE(F) funcBlock(G). { A = addFunction(B, C, D, E, F, G); } | 49 | function(A) ::= type(B) LSL_IDENTIFIER(C) LSL_PARENTHESIS_OPEN(D) parameterList(E) LSL_PARENTHESIS_CLOSE(F) funcBlock(G). { A = addFunction(compiler, B, C, D, E, F, G); } |
50 | 50 | ||
51 | // Blocks. | 51 | // Blocks. |
52 | 52 | ||