bugfix for '|'

This commit is contained in:
Yako
2014-10-16 14:28:22 +08:00
parent 3974beb7b0
commit b59c7eb3db
@@ -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);