Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
q-uint committed Nov 5, 2020
1 parent 067fd91 commit 789cbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (rep RepetitionOperator) generate(g *CodeGenerator) {
g.wf("operators.Repeat1Inf(%q, ", g.syn(rep.key))
}
} else {
g.wf("operators.Repeat1Inf(%q, %q, %q, ", g.syn(rep.key), rep.min, rep.max)
g.wf("operators.Repeat(%q, %q, %q, ", g.syn(rep.key), rep.min, rep.max)
}
rep.subOperator.generate(g)
g.w(")")
Expand Down

0 comments on commit 789cbbc

Please sign in to comment.