Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: TennyZhuang <[email protected]>
  • Loading branch information
TennyZhuang committed May 8, 2024
1 parent 6b43e91 commit 9af6dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlparser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ impl Parser {
// Only top-level array is named.
named: false,
})
} else if self.peek_token() == Token::LBracket {
} else if self.peek_token() == Token::RBracket {
Expr::Array(Array {
elem: vec![],
named: false,
Expand Down

0 comments on commit 9af6dee

Please sign in to comment.