Skip to content

Commit 7db2077

Browse files
committed
fix: sb
1 parent d55fd6b commit 7db2077

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/pglt_statement_splitter/src/parser.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ impl Parser {
8787
pub fn start_stmt(&mut self) {
8888
assert!(
8989
self.current_stmt_start.is_none(),
90-
"cannot start statement without statement {:?} at {:?}",
91-
self.current_stmt_start,
92-
self.tokens.get(self.current_stmt_start.unwrap()).unwrap()
90+
"cannot start statement within statement at {:?}",
91+
self.tokens.get(self.current_stmt_start.unwrap())
9392
);
9493
self.current_stmt_start = Some(self.next_pos);
9594
}

0 commit comments

Comments
 (0)