aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-23 19:54:33 +1000
committerDavid Walter Seikel2012-01-23 19:54:33 +1000
commit75735cdf6369b485307aa6ed3868c92590850e6d (patch)
treeb80dae36ee059a348877ee55a715766126743d42 /LuaSL/src/LuaSL_lemon_yaccer.y
parentMake some operations valid. (diff)
downloadSledjHamr-75735cdf6369b485307aa6ed3868c92590850e6d.zip
SledjHamr-75735cdf6369b485307aa6ed3868c92590850e6d.tar.gz
SledjHamr-75735cdf6369b485307aa6ed3868c92590850e6d.tar.bz2
SledjHamr-75735cdf6369b485307aa6ed3868c92590850e6d.tar.xz
Stub lists so they work, probaly needs more work.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_lemon_yaccer.y3
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.
196expr(A) ::= LSL_KEY(B). { B->basicType = OT_key; A = B; } 196expr(A) ::= LSL_KEY(B). { B->basicType = OT_key; A = B; }
197%nonassoc LSL_LIST. 197%nonassoc LSL_LIST.
198expr ::= LSL_BRACKET_OPEN exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] 198expr(A) ::= LSL_BRACKET_OPEN(B) exprList LSL_BRACKET_CLOSE. [LSL_BRACKET_OPEN] { B->basicType = OT_list; A = B; } // Probably need a specific addList().
199expr(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.
201expr ::= LSL_LESS_THAN expr LSL_COMMA expr LSL_COMMA expr LSL_COMMA expr LSL_GREATER_THAN. [LSL_ANGLE_OPEN] 202expr ::= LSL_LESS_THAN expr LSL_COMMA expr LSL_COMMA expr LSL_COMMA expr LSL_GREATER_THAN. [LSL_ANGLE_OPEN]