diff --git a/include/cubescript/cubescript.hh b/include/cubescript/cubescript.hh index f2dd181..05b778d 100644 --- a/include/cubescript/cubescript.hh +++ b/include/cubescript/cubescript.hh @@ -779,9 +779,6 @@ private: OSTD_EXPORT ostd::Maybe list_index( CsState &cs, ostd::ConstCharRange s, ostd::Size idx ); - OSTD_EXPORT CsVector list_explode( - CsState &cs, ostd::ConstCharRange s, ostd::Size limit = -1 - ); template inline ostd::Ptrdiff format_int(R &&writer, CsInt val) { diff --git a/src/cs_util.cc b/src/cs_util.cc index 5b2940c..50bb388 100644 --- a/src/cs_util.cc +++ b/src/cs_util.cc @@ -410,17 +410,6 @@ endblock: } return ostd::move(p.element()); } - - OSTD_EXPORT CsVector list_explode( - CsState &cs, ostd::ConstCharRange s, ostd::Size limit - ) { - CsVector ret; - ListParser p(cs, s); - while ((ret.size() < limit) && p.parse()) { - ret.push(ostd::move(p.element())); - } - return ret; - } } /* namespace util */ } /* namespace cscript */