fix(frontends/lean/scanner): typo reported by clang++

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-02 15:24:04 -07:00
parent 249c878597
commit 8c37a95164

View file

@ -22,9 +22,9 @@ unsigned scanner::get_utf8_size(unsigned char c) {
return 3; return 3;
else if ((c & 0xF8) == 0xF0) else if ((c & 0xF8) == 0xF0)
return 4; return 4;
else if ((c && 0xFC) == 0xF8) else if ((c & 0xFC) == 0xF8)
return 5; return 5;
else if ((c && 0xFE) == 0xFC) else if ((c & 0xFE) == 0xFC)
return 6; return 6;
else if (c == 0xFF) else if (c == 0xFF)
return 1; return 1;