Accept underscores in integers
@@ -531,6 +531,8 @@ func (l *tomlLexer) lexNumber() tomlLexStateFn {
}
} else if isDigit(next) {
digitSeen = true
} else if next == '_' {
l.pos++
} else {
l.backup()
break
The note is not visible to the blocked user.