diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-12-15 21:17:48 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-12-15 22:35:54 +0900 |
commit | fc349551e39d4b1203a3743a76ac953686d49e07 (patch) | |
tree | 19507233ddad5ef6ef5b7c1c8f178c0fb6dfc10a /compiler/dfa/dfa.go | |
parent | Update CHANGELOG (diff) | |
download | tre-fc349551e39d4b1203a3743a76ac953686d49e07.tar.gz tre-fc349551e39d4b1203a3743a76ac953686d49e07.tar.xz |
Use golangci-lint
Diffstat (limited to 'compiler/dfa/dfa.go')
-rw-r--r-- | compiler/dfa/dfa.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dfa/dfa.go b/compiler/dfa/dfa.go index c56af90..777bd24 100644 --- a/compiler/dfa/dfa.go +++ b/compiler/dfa/dfa.go @@ -47,7 +47,7 @@ type DFA struct { TransitionTable map[string][256]string } -func GenDFA(root byteTree, symTab *symbolTable) *DFA { +func GenDFA(root byteTree, symTab *symbolTable) *DFA { initialState := root.first() initialStateHash := initialState.hash() stateMap := map[string]*symbolPositionSet{ |