diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2020-10-19 08:45:56 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2020-10-19 08:45:56 +0200 |
| commit | 63885dd5f1be3fe519fceb0a21f1f87fdc6aa973 (patch) | |
| tree | bd04be298925724eaa8a3680870f951e112f4daf | |
| parent | e575ae2c37359ab51b23ce44ccda4bb9bbfd3a5f (diff) | |
| download | sqlparse-63885dd5f1be3fe519fceb0a21f1f87fdc6aa973.tar.gz | |
Add ELSIF as keyword (fixes #584).
| -rw-r--r-- | CHANGELOG | 4 | ||||
| -rw-r--r-- | sqlparse/keywords.py | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,10 @@ Development Version ------------------- +Enhancements + +* Add ELSIF as keyword (issue584). + Bug Fixes * Fix parsing of backticks (issue588). diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index c967b26..5f46824 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -745,6 +745,7 @@ KEYWORDS_ORACLE = { 'DOUBLE': tokens.Keyword, 'DUMP': tokens.Keyword, + 'ELSIF': tokens.Keyword, 'EVENTS': tokens.Keyword, 'EXCEPTIONS': tokens.Keyword, 'EXPLAIN': tokens.Keyword, |
