aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions.rsc5
1 files changed, 4 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index d510ff9..8dc8c02 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -714,13 +714,16 @@
:set $Skip ($Skip - 1);
}
} else={
+ :local Done false;
:local Key ($Input->$I);
:local Val1 ($Input->($I + 1));
:local Val2 ($Input->($I + 2));
:if ($Val1 = ":") do={
:set ($Return->$Key) $Val2;
:set Skip 2;
- } else={
+ :set Done true;
+ }
+ :if ($Done = false) do={
:set ($Return->$Key) [ :pick $Val1 1 [ :len $Val1 ] ];
:set Skip 1;
}