1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-23 13:43:19 +00:00

exp_parser:: fixed skipping whitespace

This commit is contained in:
Zeno Rogue 2020-04-29 15:13:44 +02:00
parent ee014030fb
commit 99e2d95e82

View File

@ -355,6 +355,7 @@ cld exp_parser::parse(int prio) {
else { std::stringstream ss; res = 0; ss << number; ss >> res; }
}
while(true) {
skip_white();
#if CAP_ANIMATIONS
if(next() == '.' && next(1) == '.' && prio == 0) {
static const cld NO_DERIVATIVE(3.1, 2.5);