Merge branch 'master' into dev
This commit is contained in:
commit
f89d7d3a17
@ -54,8 +54,10 @@ func Rune2Class(r rune) int {
|
||||
if unicode.IsGraphic(r) {
|
||||
return classUnicodeGraphic
|
||||
}
|
||||
// return classOther
|
||||
return -1
|
||||
if r == lex.RuneEOF {
|
||||
return int(r)
|
||||
}
|
||||
return classOther
|
||||
}
|
||||
|
||||
// NewLexer the Lexer constructor
|
||||
|
Loading…
Reference in New Issue
Block a user