Merge pull request #199 from github/config-underscore
config file allows underscore variables
This commit is contained in:
commit
2663b00e32
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 {
|
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 {
|
func isDigit(ch rune) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user