3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 02:42:02 +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; return true;
} }
catch (scanner_exception & ex) { catch (scanner_exception & ex) {
SASSERT(ex.has_pos()); if (ex.has_pos())
error(ex.line(), ex.pos(), ex.msg()); error(ex.line(), ex.pos(), ex.msg());
++num_errors; ++num_errors;
} }
} }