diff options
Diffstat (limited to 'LuaSL')
-rw-r--r-- | LuaSL/src/LuaSL_lemon_yaccer.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_lemon_yaccer.y b/LuaSL/src/LuaSL_lemon_yaccer.y index a9caaa4..5995cab 100644 --- a/LuaSL/src/LuaSL_lemon_yaccer.y +++ b/LuaSL/src/LuaSL_lemon_yaccer.y | |||
@@ -196,6 +196,7 @@ expr(A) ::= LSL_INTEGER(B). { B->basicType = OT_integer; A = B; } | |||
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(A) ::= LSL_BRACKET_OPEN(B) exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } // Probably need a specific addList(). | 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 | // This causes a parsing conflict. How? | ||
199 | expr(A) ::= LSL_BRACKET_OPEN(B) LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } | 200 | expr(A) ::= LSL_BRACKET_OPEN(B) LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } |
200 | %nonassoc LSL_ROTATION. | 201 | %nonassoc LSL_ROTATION. |
201 | // Uses the same symbol for less than, greater than, and the rotation / vector delimiters. | 202 | // Uses the same symbol for less than, greater than, and the rotation / vector delimiters. |