File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 550550 'ORDER' : tokens .Keyword ,
551551 'LEFT' : tokens .Keyword ,
552552 'OUTER' : tokens .Keyword ,
553+ 'FULL' : tokens .Keyword ,
553554
554555 'IF' : tokens .Keyword ,
555556 'END' : tokens .Keyword ,
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class Lexer(object):
195195 # not a real string literal in ANSI SQL:
196196 (r'(""|".*?[^\\]")' , tokens .String .Symbol ),
197197 (r'(\[.*[^\]]\])' , tokens .Name ),
198- (r'(LEFT\s+|RIGHT\s+)?(INNER\s+|OUTER\s+|STRAIGHT\s+)?JOIN\b' , tokens .Keyword ),
198+ (r'(( LEFT\s+|RIGHT\s+|FULL\s+ )?(INNER\s+|OUTER\s+|STRAIGHT\s+)?|(CROSS\s+|NATURAL\s+)? )?JOIN\b' , tokens .Keyword ),
199199 (r'END(\s+IF|\s+LOOP)?\b' , tokens .Keyword ),
200200 (r'NOT NULL\b' , tokens .Keyword ),
201201 (r'CREATE(\s+OR\s+REPLACE)?\b' , tokens .Keyword .DDL ),
You can’t perform that action at this time.
0 commit comments