diff options
-rw-r--r-- | lib/LSL.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/LSL.lua b/lib/LSL.lua index ad56a37..98444cc 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua | |||
@@ -709,6 +709,7 @@ function --[[list]] LSL.llParseStringKeepNulls(--[[string]] In, --[[list]] l, -- | |||
709 | local c = 1 | 709 | local c = 1 |
710 | local lastE = 0 | 710 | local lastE = 0 |
711 | 711 | ||
712 | --[[ | ||
712 | print("LSL.llParseStringKeepNulls(" .. In .. ") " .. #In) | 713 | print("LSL.llParseStringKeepNulls(" .. In .. ") " .. #In) |
713 | for i, v in ipairs(l) do | 714 | for i, v in ipairs(l) do |
714 | print(" [" .. v .. "]") | 715 | print(" [" .. v .. "]") |
@@ -717,6 +718,7 @@ print(",") | |||
717 | for i, v in ipairs(l1) do | 718 | for i, v in ipairs(l1) do |
718 | print(" {" .. v .. "}") | 719 | print(" {" .. v .. "}") |
719 | end | 720 | end |
721 | ]] | ||
720 | 722 | ||
721 | -- Start scanning at the beginning of the string. | 723 | -- Start scanning at the beginning of the string. |
722 | repeat | 724 | repeat |
@@ -766,10 +768,12 @@ end | |||
766 | result[i] = string.sub(In, v[1], v[2]) | 768 | result[i] = string.sub(In, v[1], v[2]) |
767 | end | 769 | end |
768 | 770 | ||
771 | --[[ | ||
769 | print("RESULT = ") | 772 | print("RESULT = ") |
770 | for i, v in ipairs(result) do | 773 | for i, v in ipairs(result) do |
771 | print(" {" .. v .. "}") | 774 | print(" {" .. v .. "}") |
772 | end | 775 | end |
776 | ]] | ||
773 | 777 | ||
774 | return result | 778 | return result |
775 | end | 779 | end |
@@ -787,10 +791,12 @@ function --[[list]] LSL.llParseString2List(--[[string]] In, --[[list]] l, --[[li | |||
787 | end | 791 | end |
788 | end | 792 | end |
789 | 793 | ||
794 | --[[ | ||
790 | print("RESULT SANS NULLS = ") | 795 | print("RESULT SANS NULLS = ") |
791 | for i, v in ipairs(result) do | 796 | for i, v in ipairs(result) do |
792 | print(" {" .. v .. "}") | 797 | print(" {" .. v .. "}") |
793 | end | 798 | end |
799 | ]] | ||
794 | 800 | ||
795 | return result | 801 | return result |
796 | end | 802 | end |