Skip to content

Commit 4c65f01

Browse files
committed
修复错误
1 parent 919eea4 commit 4c65f01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

regex.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <covscript/cni.hpp>
2323
#include <covscript/extension.hpp>
2424
#include <covscript/extensions/char.hpp>
25+
#include <covscript/extensions/array.hpp>
2526
#include <covscript/extensions/string.hpp>
2627

2728
static cs::extension regex_ext;
@@ -123,6 +124,7 @@ namespace regex_cs_ext {
123124
void init()
124125
{
125126
char_cs_ext::init();
127+
array_cs_ext::init();
126128
string_cs_ext::init();
127129
regex_ext.add_var("result", var::make_protect<extension_t>(regex_result_ext_shared));
128130
regex_ext.add_var("build", var::make_protect<callable>(cni(build)));

0 commit comments

Comments
 (0)