mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
Undid previous update of SMT2 scanner to support the new SMT2.5 string escaping.
This commit is contained in:
parent
01cb20e098
commit
99d2ab4e8e
1 changed files with 0 additions and 8 deletions
|
@ -179,14 +179,6 @@ namespace smt2 {
|
||||||
return STRING_TOKEN;
|
return STRING_TOKEN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (c == '\\') {
|
|
||||||
next();
|
|
||||||
c = curr();
|
|
||||||
if (c == EOF)
|
|
||||||
throw scanner_exception("unexpected end of string", m_line, m_spos);
|
|
||||||
if (c != '\\' && c != '\"')
|
|
||||||
throw scanner_exception("invalid escape sequence", m_line, m_spos);
|
|
||||||
}
|
|
||||||
m_string.push_back(c);
|
m_string.push_back(c);
|
||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue