Skip to content

Commit

Permalink
removed print statement
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Henderson <tadh@google.com>
  • Loading branch information
timtadh committed Feb 2, 2018
1 parent 35435dd commit e3d2062
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions machines/dfa_machine.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package machines

import "fmt"

// DFATrans represents a Deterministic Finite Automatons state transition table
type DFATrans [][256]int

Expand Down Expand Up @@ -57,7 +55,6 @@ func DFALexerEngine(startState, errorState int, trans DFATrans, accepting DFAAcc
}
state := startState
for ; tc < len(text) && state != errorState; tc++ {
fmt.Println("tc", tc, text[tc])
if match, has := accepting[state]; has {
matchID = match
matchTC = tc
Expand Down

0 comments on commit e3d2062

Please sign in to comment.