summaryrefslogtreecommitdiff
path: root/src/pattern.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern.go')
-rw-r--r--src/pattern.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pattern.go b/src/pattern.go
index dd9c5292..29149fe7 100644
--- a/src/pattern.go
+++ b/src/pattern.go
@@ -60,7 +60,7 @@ type Pattern struct {
cacheKey string
delimiter Delimiter
nth []Range
- revision int
+ revision revision
procFun map[termType]algo.Algo
cache *ChunkCache
}
@@ -73,7 +73,7 @@ func init() {
// BuildPattern builds Pattern object from the given arguments
func BuildPattern(cache *ChunkCache, patternCache map[string]*Pattern, fuzzy bool, fuzzyAlgo algo.Algo, extended bool, caseMode Case, normalize bool, forward bool,
- withPos bool, cacheable bool, nth []Range, delimiter Delimiter, revision int, runes []rune) *Pattern {
+ withPos bool, cacheable bool, nth []Range, delimiter Delimiter, revision revision, runes []rune) *Pattern {
var asString string
if extended {