Skip to content

Commit

Permalink
Merge 81aba65 into 9ff6132
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawaha committed Dec 17, 2014
2 parents 9ff6132 + 81aba65 commit f27e50b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go:
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get code.google.com/p/go.tools/cmd/cover
- go get golang.org/x/tools/cmd/cover

install:

Expand Down
3 changes: 2 additions & 1 deletion ss/mast.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ func buildMast(input PairSlice) (m *mast) {
if s == nil {
s = &state{}
*s = *buf[i]
buf[i].renew()
m.addState(s)
dic[s.hcode] = append(dic[s.hcode], s)
}
buf[i].renew()
buf[i-1].setTransition(prev[i-1], s)
s.setInvTransition()
}
Expand Down

0 comments on commit f27e50b

Please sign in to comment.