From fc349551e39d4b1203a3743a76ac953686d49e07 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Wed, 15 Dec 2021 21:17:48 +0900 Subject: Use golangci-lint --- compiler/dfa/dfa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dfa/dfa.go') 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{ -- cgit v1.2.3