◐ Shell
reader mode source ↗
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
2 changes: 2 additions & 0 deletions src/sqlParser.jison
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ UNION return 'UNION'
"~" return '~'
"!=" return '!='
"!" return '!'
"|" return '|'
"&" return '&'
"+" return '+'
Expand Down Expand Up @@ -365,6 +366,7 @@ simple_expr
;
bit_expr
: simple_expr { $$ = $1 }
| bit_expr '|' bit_expr { $$ = { type: 'BitExpression', operator: '|', left: $1, right: $3 } }
| bit_expr '&' bit_expr { $$ = { type: 'BitExpression', operator: '&', left: $1, right: $3 } }
| bit_expr '<<' bit_expr { $$ = { type: 'BitExpression', operator: '<<', left: $1, right: $3 } }
Expand Down
Toggle all file notes Toggle all file annotations