mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
fix #6680
This commit is contained in:
parent
ccc4f2d382
commit
58a2a9c79c
|
@ -372,8 +372,8 @@ namespace smt2 {
|
|||
return true;
|
||||
}
|
||||
catch (scanner_exception & ex) {
|
||||
SASSERT(ex.has_pos());
|
||||
error(ex.line(), ex.pos(), ex.msg());
|
||||
if (ex.has_pos())
|
||||
error(ex.line(), ex.pos(), ex.msg());
|
||||
++num_errors;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue