Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-07-30 14:12:36 +03:00
parent f40b974450
commit b007fe5054

View File

@ -67,8 +67,8 @@ func (v variable) compile() []op {
ops = append(ops, s.compile()...) ops = append(ops, s.compile()...)
} }
ops = append(ops, op{ ops = append(ops, op{
code: OpConcatN, code: utilities.OpConcatN,
operand: len(v.segments), num: len(v.segments),
}, op{ }, op{
code: OpCapture, code: OpCapture,
str: v.path, str: v.path,