Skip to content

Commit 8b089f4

Browse files
Update tokenize.cpp
1 parent 7d0d721 commit 8b089f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/tokenize.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3470,6 +3470,8 @@ bool Tokenizer::simplifyUsing()
34703470
skip = true;
34713471
simplifyUsingError(usingStart, usingEnd);
34723472
}
3473+
if (!after)
3474+
syntaxError(tok1);
34733475
tok1 = after->previous();
34743476
}
34753477

0 commit comments

Comments
 (0)