fix char parser commit type
This commit is contained in:
parent
aba563ab9a
commit
9e95592e3c
2
char.go
2
char.go
@ -15,7 +15,7 @@ type charBuilder struct {
|
||||
|
||||
func (p *charParser) nodeName() string { return p.name }
|
||||
func (p *charParser) nodeID() int { return p.id }
|
||||
func (p *charParser) commitType() CommitType { return Alias }
|
||||
func (p *charParser) commitType() CommitType { return Alias | FailPass }
|
||||
|
||||
func matchChar(chars []rune, ranges [][]rune, not bool, char rune) bool {
|
||||
for _, ci := range chars {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@ func (p *charParser) nodeID() int {
|
||||
return p.id
|
||||
}
|
||||
func (p *charParser) commitType() CommitType {
|
||||
return Alias
|
||||
return Alias | FailPass
|
||||
}
|
||||
func matchChar(chars []rune, ranges [][]rune, not bool, char rune) bool {
|
||||
for _, ci := range chars {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user