mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
Fix EOF detection when char is unsigned.
This commit is contained in:
parent
ce0ccc2e9e
commit
a3b715b963
|
@ -480,7 +480,7 @@ scanner::token scanner::scan() {
|
||||||
return read_number(ch, true);
|
return read_number(ch, true);
|
||||||
case '#':
|
case '#':
|
||||||
return read_bv_literal();
|
return read_bv_literal();
|
||||||
case -1:
|
case static_cast<char>(-1):
|
||||||
m_state = EOF_TOKEN;
|
m_state = EOF_TOKEN;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue