config file allows underscore variables
This commit is contained in:
parent
2a00abfc99
commit
bb68cf2011
2
vendor/gopkg.in/gcfg.v1/scanner/scanner.go
generated
vendored
2
vendor/gopkg.in/gcfg.v1/scanner/scanner.go
generated
vendored
@ -148,7 +148,7 @@ func (s *Scanner) scanComment() string {
|
||||
}
|
||||
|
||||
func isLetter(ch rune) bool {
|
||||
return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch >= 0x80 && unicode.IsLetter(ch)
|
||||
return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= 0x80 && unicode.IsLetter(ch)
|
||||
}
|
||||
|
||||
func isDigit(ch rune) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user