fixes and improvements #55

Merged
vtolstov merged 6 commits from util-router into master 2021-08-03 00:24:40 +03:00
Showing only changes of commit b007fe5054 - Show all commits

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,