Skip to content

Commit 6565455

Browse files
fix #7343
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent ed17de5 commit 6565455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opt/opt_parse.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class opt_stream_buffer {
6969
bool opt_stream_buffer::parse_token(char const* token) {
7070
skip_whitespace();
7171
char const* t = token;
72-
while (*t && ch() == *t) {
72+
while (*t && ch() && ch() == *t) {
7373
next();
7474
++t;
7575
}

0 commit comments

Comments
 (0)