moved a subset of source file to the kern package
This commit is contained in:
+5
-1
@@ -4,6 +4,10 @@
|
||||
// operator-but.go
|
||||
package expr
|
||||
|
||||
import (
|
||||
"git.portale-stac.it/go-pkg/expr/kern"
|
||||
)
|
||||
|
||||
//-------- but term
|
||||
|
||||
func newButTerm(tk *Token) (inst *term) {
|
||||
@@ -16,7 +20,7 @@ func newButTerm(tk *Token) (inst *term) {
|
||||
}
|
||||
}
|
||||
|
||||
func evalBut(ctx ExprContext, opTerm *term) (v any, err error) {
|
||||
func evalBut(ctx kern.ExprContext, opTerm *term) (v any, err error) {
|
||||
_, v, err = opTerm.evalInfix(ctx)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user