diff options
-rw-r--r-- | LuaSL/src/LuaSL_lemon_yaccer.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y index 71caaa1..e2af75e 100644 --- a/LuaSL/src/LuaSL_lemon_yaccer.y +++ b/LuaSL/src/LuaSL_lemon_yaccer.y | |||
@@ -195,7 +195,8 @@ expr(A) ::= LSL_INTEGER(B). { B->basicType = OT_integer; A = B; } | |||
195 | %nonassoc LSL_KEY. | 195 | %nonassoc LSL_KEY. |
196 | expr(A) ::= LSL_KEY(B). { B->basicType = OT_key; A = B; } | 196 | expr(A) ::= LSL_KEY(B). { B->basicType = OT_key; A = B; } |
197 | %nonassoc LSL_LIST. | 197 | %nonassoc LSL_LIST. |
198 | expr ::= LSL_BRACKET_OPEN exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] | 198 | expr(A) ::= LSL_BRACKET_OPEN(B) exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } // Probably need a specific addList(). |
199 | expr(A) ::= LSL_BRACKET_OPEN(B) LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } | ||
199 | %nonassoc LSL_ROTATION. | 200 | %nonassoc LSL_ROTATION. |
200 | // Uses the same symbol for less than, greater than, and the rotation / vector delimiters. | 201 | // Uses the same symbol for less than, greater than, and the rotation / vector delimiters. |
201 | expr ::= LSL_LESS_THAN expr LSL_COMMA expr LSL_COMMA expr LSL_COMMA expr LSL_GREATER_THAN. [LSL_ANGLE_OPEN] | 202 | expr ::= LSL_LESS_THAN expr LSL_COMMA expr LSL_COMMA expr LSL_COMMA expr LSL_GREATER_THAN. [LSL_ANGLE_OPEN] |