Merge pull request #675 from yakolee/master

bugfix for '|'
This commit is contained in:
Yako
2014-10-16 14:29:06 +08:00
@@ -968,7 +968,7 @@ public class SQLExprParser extends SQLParser {
}
public final SQLExpr bitOrRest(SQLExpr expr) {
if (lexer.token() == Token.BAR) {
while (lexer.token() == Token.BAR) {
lexer.nextToken();
SQLExpr rightExp = bitAnd();
expr = new SQLBinaryOpExpr(expr, SQLBinaryOperator.BitwiseOr, rightExp);