diff options
author | David Walter Seikel | 2014-09-14 08:09:02 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-09-14 08:09:02 +1000 |
commit | 6fb0ba8539b54642c96d8f0d45c3bf812a316ec7 (patch) | |
tree | d147a2f0deece02e9bd9e50673d9f62d34f939ff /src/LuaSL/LuaSL_lemon_yaccer.y | |
parent | Now we can pass LSL scripts to LuaSL on the command line. Plus some white sp... (diff) | |
download | SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.zip SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.tar.gz SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.tar.bz2 SledjHamr-6fb0ba8539b54642c96d8f0d45c3bf812a316ec7.tar.xz |
Support LSL multi line strings.
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_lemon_yaccer.y | 3 |
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. |
218 | expr(A) ::= LSL_LESS_THAN(L) exprList(E) LSL_GREATER_THAN(R). [LSL_ANGLE_OPEN] { A = addRotVec(L, E, R); } | 218 | expr(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. |
220 | expr(A) ::= LSL_MSTRING(B). { B->basicType = OT_string; B->flags |= MF_MSTRING; A = B; } | ||
220 | expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; } | 221 | expr(A) ::= LSL_STRING(B). { B->basicType = OT_string; A = B; } |
221 | 222 | ||
222 | 223 | ||