diff options
author | Fredy Wijaya <fredy.wijaya@gmail.com> | 2018-12-01 10:57:25 -0600 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2018-12-03 14:15:11 +0100 |
commit | 4140d2ea1514b1d293cc4802880c2e414ffc615c (patch) | |
tree | 714f7e50fc65d66457d63c7f1b41d7459d847f02 /sqlparse | |
parent | afd05eeeebdd4360224dfeabcd60ed704fd705fa (diff) | |
download | sqlparse-4140d2ea1514b1d293cc4802880c2e414ffc615c.tar.gz |
Fix from( parsing issue (fixes #446)
Diffstat (limited to 'sqlparse')
-rw-r--r-- | sqlparse/keywords.py | 2 |
1 files changed, 1 insertions, 1 deletions
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), |