diff options
author | David Walter Seikel | 2012-01-17 15:45:40 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-17 15:45:40 +1000 |
commit | c300df8ea35ff75530b6cfd187c92c41658cb52d (patch) | |
tree | 3889b3e41781945be05f250f859b4324f760c8f3 /LuaSL/src/LuaSL_lemon_yaccer.y | |
parent | Using eina string buffer for ignorable text. (diff) | |
download | SledjHamr-c300df8ea35ff75530b6cfd187c92c41658cb52d.zip SledjHamr-c300df8ea35ff75530b6cfd187c92c41658cb52d.tar.gz SledjHamr-c300df8ea35ff75530b6cfd187c92c41658cb52d.tar.bz2 SledjHamr-c300df8ea35ff75530b6cfd187c92c41658cb52d.tar.xz |
Use eina hash for functions, states, and variables.
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 | ||