Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengguanLi committed Apr 24, 2024
1 parent 1438c57 commit e458578
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ public SQLExpr primary() {
lexer.nextToken();
break;
case IDENTIFIER:
sqlExpr = new SQLUnaryExpr(SQLUnaryOperator.Negative, new SQLIdentifierExpr(lexer.stringVal()));
lexer.nextToken();
sqlExpr = primary();
sqlExpr = new SQLUnaryExpr(SQLUnaryOperator.Negative, sqlExpr);
break;
case VARIANT:
case QUES:
Expand Down

0 comments on commit e458578

Please sign in to comment.