summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorShen Longxing <shenlongxing2012@gmail.com>2015-12-18 15:29:33 +0800
committerShen Longxing <shenlongxing2012@gmail.com>2015-12-18 15:29:33 +0800
commit454f80d80f6fb98da9b9e5e9fcf10bf15207f3d9 (patch)
tree58669ea7d3c8d15494991c5bc1f7573a04674bfe /sqlparse
parent7dd158b772e15ab7adc5fdd5350c2cef285f651e (diff)
downloadsqlparse-454f80d80f6fb98da9b9e5e9fcf10bf15207f3d9.tar.gz
fix issue #215
Add keyword 'WHILE'
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/keywords.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index 1595aa8..b3bda86 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -565,6 +565,7 @@ KEYWORDS_COMMON = {
'AS': tokens.Keyword,
'ELSE': tokens.Keyword,
'FOR': tokens.Keyword,
+ 'WHILE': tokens.Keyword,
'CASE': tokens.Keyword,
'WHEN': tokens.Keyword,