diff --git a/pql/scanner.go b/pql/scanner.go index 3df4cc3f2..c3b846ba6 100644 --- a/pql/scanner.go +++ b/pql/scanner.go @@ -250,7 +250,7 @@ func isLetter(ch rune) bool { return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && c func isDigit(ch rune) bool { return (ch >= '0' && ch <= '9') } // isIdentChar returns true if the rune can be used in an unquoted identifier. -func isIdentChar(ch rune) bool { return isLetter(ch) || isDigit(ch) || ch == '_' || ch == '-' } +func isIdentChar(ch rune) bool { return isLetter(ch) || isDigit(ch) || ch == '_' || ch == '-' || ch == '.' } // isIdentFirstChar returns true if the rune can be used as the first char in an identifier. func isIdentFirstChar(ch rune) bool { return isLetter(ch) }