From 4140d2ea1514b1d293cc4802880c2e414ffc615c Mon Sep 17 00:00:00 2001 From: Fredy Wijaya Date: Sat, 1 Dec 2018 10:57:25 -0600 Subject: Fix from( parsing issue (fixes #446) --- sqlparse/keywords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlparse') diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index 28545d8..985334d 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -47,7 +47,7 @@ SQL_REGEX = { # see https://github.com/andialbrecht/sqlparse/pull/64 # IN is special, it may be followed by a parenthesis, but # is never a function, see issue183 - (r'(CASE|IN|VALUES|USING)\b', tokens.Keyword), + (r'(CASE|IN|VALUES|USING|FROM)\b', tokens.Keyword), (r'(@|##|#)[A-ZÀ-Ü]\w+', tokens.Name), -- cgit v1.2.1