aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/LuaSL_lemon_yaccer.y
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-09-14 08:09:02 +1000
committerDavid Walter Seikel2014-09-14 08:09:02 +1000
commit6fb0ba8539b54642c96d8f0d45c3bf812a316ec7 (patch)
treed147a2f0deece02e9bd9e50673d9f62d34f939ff /src/LuaSL/LuaSL_lemon_yaccer.y
parentNow we can pass LSL scripts to LuaSL on the command line. Plus some white sp... (diff)
downloadSledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.zip
SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.tar.gz
SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.tar.bz2
SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.tar.xz
Support LSL multi line strings.
Diffstat (limited to 'src/LuaSL/LuaSL_lemon_yaccer.y')
-rw-r--r--src/LuaSL/LuaSL_lemon_yaccer.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LuaSL/LuaSL_lemon_yaccer.y b/src/LuaSL/LuaSL_lemon_yaccer.y
index 5ddf45a..9d507c9 100644
--- a/src/LuaSL/LuaSL_lemon_yaccer.y
+++ b/src/LuaSL/LuaSL_lemon_yaccer.y
@@ -216,7 +216,8 @@ expr(A) ::= LSL_BRACKET_OPEN(L) exprList(E) LSL_BRACKET_CLOSE(R). [LSL_BRACKET_O
216%nonassoc LSL_ROTATION LSL_VECTOR. 216%nonassoc LSL_ROTATION LSL_VECTOR.
217// Uses the same symbol for less than, greater than, and the rotation / vector delimiters. 217// Uses the same symbol for less than, greater than, and the rotation / vector delimiters.
218expr(A) ::= LSL_LESS_THAN(L) exprList(E) LSL_GREATER_THAN(R). [LSL_ANGLE_OPEN] { A = addRotVec(L, E, R); } 218expr(A) ::= LSL_LESS_THAN(L) exprList(E) LSL_GREATER_THAN(R). [LSL_ANGLE_OPEN] { A = addRotVec(L, E, R); }
219%nonassoc LSL_STRING. 219%nonassoc LSL_MSTRING LSL_STRING.
220expr(A) ::= LSL_MSTRING(B). { B->basicType = OT_string; B->flags |= MF_MSTRING; A = B; }
220expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; } 221expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; }
221 222
222 223