3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
This commit is contained in:
Nikolaj Bjorner 2023-04-11 14:42:47 -07:00
parent ccc4f2d382
commit 58a2a9c79c

View file

@ -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;
}
}