mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +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);
|
||||
case '#':
|
||||
return read_bv_literal();
|
||||
case -1:
|
||||
case static_cast<char>(-1):
|
||||
m_state = EOF_TOKEN;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue