Skip to content

Commit

Permalink
Re-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed Oct 23, 2022
1 parent 00c82bb commit ee7387b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/syntax/parser/statement/continue_stm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ where
if token.kind() == &TokenKind::Punctuator(Punctuator::Semicolon) {
cursor.next(interner)?;
} else if token.kind() == &TokenKind::LineTerminator {
if let SemicolonResult::Found(Some(token)) = cursor.peek_semicolon(interner)? {
if let Some(token) = cursor.peek(0, interner)? {
if token.kind() == &TokenKind::Punctuator(Punctuator::Semicolon) {
cursor.next(interner)?;
}
Expand Down

0 comments on commit ee7387b

Please sign in to comment.