diff options
author | David Walter Seikel | 2012-01-16 02:57:40 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-16 02:57:40 +1000 |
commit | d2a9402b27ce88c089c2420830b2c663d81a6d03 (patch) | |
tree | ec52bb0b7b1d3caa08570cd40a48c6f290fcdee3 | |
parent | Clean that up a little. (diff) | |
download | SledjHamr-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.y | 19 |
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 | |||
111 | statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE block. | 111 | statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE block. |
112 | statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE statement. | 112 | statement ::= LSL_FOR LSL_PARENTHESIS_OPEN expr LSL_COMMA expr LSL_COMMA expr LSL_PARENTHESIS_CLOSE statement. |
113 | 113 | ||
114 | elseIfList ::= elseIfList elseIf. | 114 | statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block. [LSL_ELSE] |
115 | elseIfList ::= . | 115 | statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement. [LSL_ELSE] |
116 | elseIf ::= LSL_ELSE LSL_IF block. [LSL_ELSE] | 116 | statement ::= 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 | |||
119 | statement ::= 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. | ||
121 | statement ::= 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 | ||
126 | statement ::= LSL_JUMP LSL_IDENTIFIER LSL_STATEMENT. | 119 | statement ::= LSL_JUMP LSL_IDENTIFIER LSL_STATEMENT. |
127 | statement ::= LSL_RETURN expr LSL_STATEMENT. | 120 | statement ::= LSL_RETURN expr LSL_STATEMENT. |
128 | statement ::= LSL_RETURN LSL_STATEMENT. | 121 | statement ::= LSL_RETURN LSL_STATEMENT. |
129 | statement ::= LSL_STATE_CHANGE LSL_IDENTIFIER LSL_STATEMENT. | 122 | statement ::= LSL_STATE_CHANGE LSL_IDENTIFIER LSL_STATEMENT. |
130 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block LSL_STATEMENT. | 123 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block. |
131 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement LSL_STATEMENT. | 124 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement. |
132 | 125 | ||
133 | %nonassoc LSL_LABEL. | 126 | %nonassoc LSL_LABEL. |
134 | target ::= LSL_LABEL LSL_IDENTIFIER LSL_STATEMENT. | 127 | target ::= LSL_LABEL LSL_IDENTIFIER LSL_STATEMENT. |