woodpecker/vendor/github.com/quasilyte/regex/syntax/pos.go
Lukas c28f7cb29f
Add golangci-lint (#502)
Initial part of #435
2021-11-14 21:01:54 +01:00

10 lines
171 B
Go

package syntax
type Position struct {
Begin uint16
End uint16
}
func combinePos(begin, end Position) Position {
return Position{Begin: begin.Begin, End: end.End}
}