1
0

fix char parser commit type

This commit is contained in:
Arpad Ryszka 2026-06-07 11:37:42 +02:00
parent aba563ab9a
commit 9e95592e3c
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 {