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, op{
code: OpConcatN,
operand: len(v.segments),
code: utilities.OpConcatN,
num: len(v.segments),
}, op{
code: OpCapture,
str: v.path,