Skip to content

Commit cda4af9

Browse files
committed
Merge pull request andialbrecht#116 from victorhahncastell/master
Update keywords.py
2 parents 6e476cf + 22a1f4a commit cda4af9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sqlparse/keywords.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
'BACKWARD': tokens.Keyword,
3131
'BEFORE': tokens.Keyword,
32-
'BEGIN': tokens.Keyword,
32+
'BEGIN': tokens.Keyword.DML,
3333
'BETWEEN': tokens.Keyword,
3434
'BITVAR': tokens.Keyword,
3535
'BIT_LENGTH': tokens.Keyword,
@@ -73,7 +73,7 @@
7373
'COMMAND_FUNCTION': tokens.Keyword,
7474
'COMMAND_FUNCTION_CODE': tokens.Keyword,
7575
'COMMENT': tokens.Keyword,
76-
'COMMIT': tokens.Keyword,
76+
'COMMIT': tokens.Keyword.DML,
7777
'COMMITTED': tokens.Keyword,
7878
'COMPLETION': tokens.Keyword,
7979
'CONDITION_NUMBER': tokens.Keyword,
@@ -355,7 +355,7 @@
355355
'REVOKE': tokens.Keyword,
356356
'RIGHT': tokens.Keyword,
357357
'ROLE': tokens.Keyword,
358-
'ROLLBACK': tokens.Keyword,
358+
'ROLLBACK': tokens.Keyword.DML,
359359
'ROLLUP': tokens.Keyword,
360360
'ROUTINE': tokens.Keyword,
361361
'ROUTINE_CATALOG': tokens.Keyword,
@@ -401,7 +401,7 @@
401401
'SQLSTATE': tokens.Keyword,
402402
'SQLWARNING': tokens.Keyword,
403403
'STABLE': tokens.Keyword,
404-
'START': tokens.Keyword,
404+
'START': tokens.Keyword.DML,
405405
'STATE': tokens.Keyword,
406406
'STATEMENT': tokens.Keyword,
407407
'STATIC': tokens.Keyword,

0 commit comments

Comments
 (0)