aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-16 02:57:40 +1000
committerDavid Walter Seikel2012-01-16 02:57:40 +1000
commitd2a9402b27ce88c089c2420830b2c663d81a6d03 (patch)
treeec52bb0b7b1d3caa08570cd40a48c6f290fcdee3
parentClean that up a little. (diff)
downloadSledjHamr-d2a9402b27ce88c089c2420830b2c663d81a6d03.zip
SledjHamr-d2a9402b27ce88c089c2420830b2c663d81a6d03.tar.gz
SledjHamr-d2a9402b27ce88c089c2420830b2c663d81a6d03.tar.bz2
SledjHamr-d2a9402b27ce88c089c2420830b2c663d81a6d03.tar.xz
More clean up, and tiredness descends.
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y19
1 files changed, 6 insertions, 13 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y
index a97576b..7bc4dfb 100644
--- a/LuaSL/src/LuaSL_lemon_yaccer.y
+++ b/LuaSL/src/LuaSL_lemon_yaccer.y
@@ -111,24 +111,17 @@ statement ::= LSL_DO statement LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHES
111statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE block. 111statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE block.
112statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE statement. 112statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE statement.
113 113
114elseIfList ::= elseIfList elseIf. 114statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block. [LSL_ELSE]
115elseIfList ::= . 115statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement. [LSL_ELSE]
116elseIf ::= LSL_ELSE LSL_IF block. [LSL_ELSE] 116statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block LSL_ELSE block.
117//elseIf ::= LSL_ELSE LSL_IF statement. 117//statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement LSL_ELSE statement.
118
119statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block elseIfList. [LSL_ELSE]
120//statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement elseIfList.
121statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block elseIfList LSL_ELSE block.
122//statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement elseIfList LSL_ELSE block.
123//statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block elseIfList LSL_ELSE statement.
124//statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement elseIfList LSL_ELSE statement.
125 118
126statement ::= LSL_JUMP LSL_IDENTIFIER LSL_STATEMENT. 119statement ::= LSL_JUMP LSL_IDENTIFIER LSL_STATEMENT.
127statement ::= LSL_RETURN expr LSL_STATEMENT. 120statement ::= LSL_RETURN expr LSL_STATEMENT.
128statement ::= LSL_RETURN LSL_STATEMENT. 121statement ::= LSL_RETURN LSL_STATEMENT.
129statement ::= LSL_STATE_CHANGE LSL_IDENTIFIER LSL_STATEMENT. 122statement ::= LSL_STATE_CHANGE LSL_IDENTIFIER LSL_STATEMENT.
130statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block LSL_STATEMENT. 123statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block.
131statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement LSL_STATEMENT. 124statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement.
132 125
133%nonassoc LSL_LABEL. 126%nonassoc LSL_LABEL.
134target ::= LSL_LABEL LSL_IDENTIFIER LSL_STATEMENT. 127target ::= LSL_LABEL LSL_IDENTIFIER LSL_STATEMENT.