Skip to content

Commit

Permalink
Fix bug in checkDefinedNames
Browse files Browse the repository at this point in the history
  • Loading branch information
m12r authored and xuri committed Sep 8, 2023
1 parent ae64bca commit 9787b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func checkDefinedName(name string) error {
if unicode.IsLetter(c) {
continue
}
if i > 0 && unicode.IsDigit(c) {
if i > 0 && (unicode.IsDigit(c) || c == '.') {
continue
}
return newInvalidNameError(name)
Expand Down

0 comments on commit 9787b56

Please sign in to comment.