diff options
author | David Walter Seikel | 2012-01-16 02:44:05 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-16 02:44:05 +1000 |
commit | f6e8dabdc9d190dd3827f8ee6bb04cb55c55e994 (patch) | |
tree | 1632d1ce26807d10617fe40a42e098df4c17b6bf /LuaSL/src | |
parent | Very quick and dirty fleshing out of the lemon parser. It's likely wrong. (diff) | |
download | SledjHamr-f6e8dabdc9d190dd3827f8ee6bb04cb55c55e994.zip SledjHamr-f6e8dabdc9d190dd3827f8ee6bb04cb55c55e994.tar.gz SledjHamr-f6e8dabdc9d190dd3827f8ee6bb04cb55c55e994.tar.bz2 SledjHamr-f6e8dabdc9d190dd3827f8ee6bb04cb55c55e994.tar.xz |
Clean that up a little.
Diffstat (limited to 'LuaSL/src')
-rw-r--r-- | LuaSL/src/LuaSL_lemon_yaccer.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y index 046a2b5..a97576b 100644 --- a/LuaSL/src/LuaSL_lemon_yaccer.y +++ b/LuaSL/src/LuaSL_lemon_yaccer.y | |||
@@ -123,15 +123,15 @@ statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block elseI | |||
123 | //statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block elseIfList LSL_ELSE statement. | 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. | 124 | //statement ::= LSL_IF LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement elseIfList LSL_ELSE statement. |
125 | 125 | ||
126 | statement ::= LSL_JUMP LSL_IDENTIFIER. | 126 | statement ::= LSL_JUMP LSL_IDENTIFIER LSL_STATEMENT. |
127 | statement ::= LSL_RETURN expr LSL_STATEMENT. | 127 | statement ::= LSL_RETURN expr LSL_STATEMENT. |
128 | statement ::= LSL_RETURN LSL_STATEMENT. | 128 | statement ::= LSL_RETURN LSL_STATEMENT. |
129 | statement ::= LSL_STATE_CHANGE LSL_IDENTIFIER. | 129 | statement ::= LSL_STATE_CHANGE LSL_IDENTIFIER LSL_STATEMENT. |
130 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block LSL_STATEMENT. | 130 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE block LSL_STATEMENT. |
131 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement LSL_STATEMENT. | 131 | statement ::= LSL_WHILE LSL_WHILE LSL_PARENTHESIS_OPEN expr LSL_PARENTHESIS_CLOSE statement LSL_STATEMENT. |
132 | 132 | ||
133 | %nonassoc LSL_LABEL. | 133 | %nonassoc LSL_LABEL. |
134 | target ::= LSL_LABEL LSL_IDENTIFIER. | 134 | target ::= LSL_LABEL LSL_IDENTIFIER LSL_STATEMENT. |
135 | 135 | ||
136 | %nonassoc LSL_IDENTIFIER LSL_STATEMENT. | 136 | %nonassoc LSL_IDENTIFIER LSL_STATEMENT. |
137 | statement ::= target LSL_STATEMENT. | 137 | statement ::= target LSL_STATEMENT. |