Skip to content

Commit

Permalink
Add ELSIF as keyword (fixes #584).
Browse files Browse the repository at this point in the history
  • Loading branch information
andialbrecht committed Oct 19, 2020
1 parent e575ae2 commit 63885dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Development Version
-------------------

Enhancements

* Add ELSIF as keyword (issue584).

Bug Fixes

* Fix parsing of backticks (issue588).
Expand Down
1 change: 1 addition & 0 deletions sqlparse/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ def is_keyword(value):
'DOUBLE': tokens.Keyword,
'DUMP': tokens.Keyword,

'ELSIF': tokens.Keyword,
'EVENTS': tokens.Keyword,
'EXCEPTIONS': tokens.Keyword,
'EXPLAIN': tokens.Keyword,
Expand Down

0 comments on commit 63885dd

Please sign in to comment.