diff options
author | David Walter Seikel | 2012-02-03 21:13:02 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-03 21:13:02 +1000 |
commit | 36d7edb57129d430cee8bab8f4f8276c19f3a726 (patch) | |
tree | 99139e439e2d7e1718c3be60485225b04dba4bad | |
parent | Oops, did not mean for that to sneak in. (diff) | |
download | SledjHamr-36d7edb57129d430cee8bab8f4f8276c19f3a726.zip SledjHamr-36d7edb57129d430cee8bab8f4f8276c19f3a726.tar.gz SledjHamr-36d7edb57129d430cee8bab8f4f8276c19f3a726.tar.bz2 SledjHamr-36d7edb57129d430cee8bab8f4f8276c19f3a726.tar.xz |
Forgot about labels.
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 898f33b..c251eee 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c | |||
@@ -955,6 +955,11 @@ LSL_Leaf *addStatement(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Leaf *flow, | |||
955 | justOne = TRUE; | 955 | justOne = TRUE; |
956 | break; | 956 | break; |
957 | } | 957 | } |
958 | case LSL_LABEL : | ||
959 | { | ||
960 | justOne = TRUE; | ||
961 | break; | ||
962 | } | ||
958 | case LSL_RETURN : | 963 | case LSL_RETURN : |
959 | { | 964 | { |
960 | justOne = TRUE; | 965 | justOne = TRUE; |
@@ -1474,6 +1479,10 @@ static LSL_Leaf *evaluateStatementToken(LSL_Leaf *content, LSL_Leaf *left, LSL_L | |||
1474 | { | 1479 | { |
1475 | break; | 1480 | break; |
1476 | } | 1481 | } |
1482 | case LSL_LABEL : | ||
1483 | { | ||
1484 | break; | ||
1485 | } | ||
1477 | case LSL_RETURN : | 1486 | case LSL_RETURN : |
1478 | { | 1487 | { |
1479 | break; | 1488 | break; |