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 9, 2023
1 parent ae64bca commit a0a7d5c
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 a0a7d5c

Please sign in to comment.