Skip to content

Commit

Permalink
detection of the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gobwas committed May 12, 2016
1 parent 82e8d7d commit 1550dd3
Show file tree
Hide file tree
Showing 7 changed files with 363 additions and 212 deletions.
2 changes: 1 addition & 1 deletion compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ func doAnyOf(n *nodeAnyOf, s []rune) (match.Matcher, error) {
}

func do(leaf node, s []rune) (m match.Matcher, err error) {
fmt.Println("node", reflect.Indirect(reflect.ValueOf(leaf)).Type().Name())
switch n := leaf.(type) {

case *nodeAnyOf:
// todo this could be faster on pattern_alternatives_combine_lite
if n := minimizeAnyOf(n.children()); n != nil {
Expand Down
Loading

0 comments on commit 1550dd3

Please sign in to comment.