#172: corrected bin entry

This commit is contained in:
Louis Rubet 2017-07-01 02:12:39 +02:00
parent 5e6aa1b197
commit ae114af20c

View file

@ -439,6 +439,8 @@ static bool get_number(string& entry, program& prog, string& remaining_entry)
string beg = entry.substr(0, 2);
if (beg == "0x" || beg == "0X")
num->_representation = number::hex;
else if (beg == "0b" || beg == "0B")
num->_representation = number::bin;
else
num->_representation = number::dec;
}