SSE: Add is_nan() and other like functions and allow '_' in func names (#43555)

* SSE: Add is_nan() and allow '_' in func names

is_null() infn(), is_inf(), is_number()
This commit is contained in:
Kyle Brandt
2021-12-29 11:40:52 -05:00
committed by GitHub
parent 43c81ddd23
commit f17fb76b5e
5 changed files with 249 additions and 19 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ func lexSymbol(l *lexer) stateFn {
func lexFunc(l *lexer) stateFn {
for {
switch r := l.next(); {
case unicode.IsLetter(r):
case unicode.IsLetter(r) || r == '_':
// absorb
default:
l.backup()