Skip to content

Commit

Permalink
Merge pull request #466 from maskarade/upgrade_sqlite_parser
Browse files Browse the repository at this point in the history
upgrade SQLite parser
  • Loading branch information
gfx authored Oct 27, 2018
2 parents f4cd2e5 + 0598283 commit c4c084a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions migration/src/main/antlr/SQLite.g4
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ expr
| expr ( '<<' | '>>' | '&' | '|' ) expr
| expr ( '<' | '<=' | '>' | '>=' ) expr
| expr ( '=' | '==' | '!=' | '<>' ) expr
| expr K_NOT? K_IN ( '(' ( select_stmt
| expr ( ',' expr )*
)?
')'
| ( database_name '.' )? table_name )
| expr K_AND expr
| expr K_OR expr
| function_name '(' ( K_DISTINCT? expr ( ',' expr )* | '*' )? ')'
Expand All @@ -330,11 +335,6 @@ expr
| expr ( K_ISNULL | K_NOTNULL | K_NOT K_NULL )
| expr K_IS K_NOT? expr
| expr K_NOT? K_BETWEEN expr K_AND expr
| expr K_NOT? K_IN ( '(' ( select_stmt
| expr ( ',' expr )*
)?
')'
| ( database_name '.' )? table_name )
| ( ( K_NOT )? K_EXISTS )? '(' select_stmt ')'
| K_CASE expr? ( K_WHEN expr K_THEN expr )+ ( K_ELSE expr )? K_END
| raise_function
Expand Down

0 comments on commit c4c084a

Please sign in to comment.