moved a subset of source file to the kern package

This commit is contained in:
2026-04-27 19:43:37 +02:00
parent f100adead3
commit 4d910dd069
107 changed files with 2080 additions and 1380 deletions
+3 -1
View File
@@ -9,6 +9,8 @@ import (
"reflect"
"strings"
"testing"
"git.portale-stac.it/go-pkg/expr/kern"
)
func TestScanner(t *testing.T) {
@@ -60,7 +62,7 @@ func TestScanner(t *testing.T) {
/* 38 */ {`\`, SymError, errors.New("incomplete escape sequence"), nil},
/* 39 */ {`"string"`, SymString, "string", nil},
/* 40 */ {`identifier`, SymIdentifier, "identifier", nil},
/* 41 */ {`1.2(3)`, SymFraction, newFraction(37, 30), nil},
/* 41 */ {`1.2(3)`, SymFraction, kern.NewFraction(37, 30), nil},
}
for i, input := range inputs {