From 7d5cb406e232b2c51b48054aff2d94d8cd5dde79 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Wed, 6 Jan 2016 15:24:25 -0600 Subject: [PATCH] added support for period (.) in frame names --- pql/scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }