aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-28 14:56:20 +1000
committerDavid Walter Seikel2012-01-28 14:56:20 +1000
commit6bcd0c8b0617d3d08caf0c7658b9c1d8c485adb1 (patch)
treeec44e43566ee6394c1e62d62c7ab436b5ab2cc23 /LuaSL/src/LuaSL_lemon_yaccer.y
parentAdd some of the flow control stuff, still needs lots of work. (diff)
downloadSledjHamr-6bcd0c8b0617d3d08caf0c7658b9c1d8c485adb1.zip
SledjHamr-6bcd0c8b0617d3d08caf0c7658b9c1d8c485adb1.tar.gz
SledjHamr-6bcd0c8b0617d3d08caf0c7658b9c1d8c485adb1.tar.bz2
SledjHamr-6bcd0c8b0617d3d08caf0c7658b9c1d8c485adb1.tar.xz
typo--
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index f5b5981..73ef673 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -85,7 +85,7 @@ statement(A) ::= LSL_WHILE(F) LSL_PARENTHESIS_OPEN(L) expr(E) LSL_PARENTHESIS_CL
85%nonassoc LSL_LABEL. 85%nonassoc LSL_LABEL.
86statement(A) ::= LSL_LABEL(F) LSL_IDENTIFIER(I) LSL_STATEMENT(S). { A = addStatement(compiler, S, F->token->type, NULL, NULL, NULL, NULL, I); } 86statement(A) ::= LSL_LABEL(F) LSL_IDENTIFIER(I) LSL_STATEMENT(S). { A = addStatement(compiler, S, F->token->type, NULL, NULL, NULL, NULL, I); }
87 87
88// This might be bogus, or might be valid LSL, but it let us test the expression parser by evaluating them. 88// This might be bogus, or might be valid LSL, but it lets us test the expression parser by evaluating them.
89statement(A) ::= expr(E) LSL_STATEMENT(S). { A = addStatement(compiler, S, LSL_EXPRESSION, NULL, E, NULL, NULL, NULL); } 89statement(A) ::= expr(E) LSL_STATEMENT(S). { A = addStatement(compiler, S, LSL_EXPRESSION, NULL, E, NULL, NULL, NULL); }
90 90
91// Various forms of expression. 91// Various forms of expression.