More style improvements

This commit is contained in:
Zachary Yedidia
2021-08-21 18:04:08 -04:00
parent c44ccb8cc7
commit 3a97ce820c
7 changed files with 31 additions and 27 deletions

View File

@@ -67,6 +67,7 @@ func combineLineMatch(src, dst LineMatch) LineMatch {
// A State represents the region at the end of a line
type State *region
// EmptyDef is an empty definition.
var EmptyDef = Def{nil, &rules{}}
// LineStates is an interface for a buffer-like object which can also store the states and matches for every line