aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-17 15:45:40 +1000
committerDavid Walter Seikel2012-01-17 15:45:40 +1000
commitc300df8ea35ff75530b6cfd187c92c41658cb52d (patch)
tree3889b3e41781945be05f250f859b4324f760c8f3 /LuaSL/src/LuaSL_lemon_yaccer.y
parentUsing eina string buffer for ignorable text. (diff)
downloadSledjHamr-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 '')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y4
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);
45parameterList(A) ::= . { A = collectParameters(NULL, NULL, NULL); } 45parameterList(A) ::= . { A = collectParameters(NULL, NULL, NULL); }
46parameter(A) ::= type(B) LSL_IDENTIFIER(C). { A = addParameter(B, C); } 46parameter(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.
48function(A) ::= LSL_IDENTIFIER(C) LSL_PARENTHESIS_OPEN(D) parameterList(E) LSL_PARENTHESIS_CLOSE(F) funcBlock(G). { A = addFunction(NULL, C, D, E, F, G); } 48function(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); }
49function(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); } 49function(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