diff options
author | Yago Riveiro <yago.riveiro@gmail.com> | 2013-04-25 15:21:44 +0100 |
---|---|---|
committer | Yago Riveiro <yago.riveiro@gmail.com> | 2013-04-25 15:21:44 +0100 |
commit | 572b69c1e630506d81ef594b15febc37bb011318 (patch) | |
tree | 0b9ba96e0bff162dd59dbac3f6f944cc5e3da932 /sqlparse/lexer.py | |
parent | fd480bf40646cdb53bce377db5d11dc52a760dad (diff) | |
download | sqlparse-572b69c1e630506d81ef594b15febc37bb011318.tar.gz |
Added STRAIGHT_JOIN token.
Diffstat (limited to 'sqlparse/lexer.py')
-rw-r--r-- | sqlparse/lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/lexer.py b/sqlparse/lexer.py index 4d200a6..dd6ecc0 100644 --- a/sqlparse/lexer.py +++ b/sqlparse/lexer.py @@ -196,7 +196,7 @@ class Lexer(object): # not a real string literal in ANSI SQL: (r'(""|".*?[^\\]")', tokens.String.Symbol), (r'(\[.*[^\]]\])', tokens.Name), - (r'(LEFT |RIGHT )?(INNER |OUTER )?JOIN\b', tokens.Keyword), + (r'(LEFT |RIGHT )?(INNER |OUTER |STRAIGHT)?JOIN\b', tokens.Keyword), (r'END( IF| LOOP)?\b', tokens.Keyword), (r'NOT NULL\b', tokens.Keyword), (r'CREATE( OR REPLACE)?\b', tokens.Keyword.DDL), |