1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-16 17:09:37 +00:00

throw color parse error if wrong length

This commit is contained in:
Zeno Rogue 2024-05-27 22:24:20 +02:00
parent 3da7e4c020
commit a3261b21da

View File

@ -613,7 +613,7 @@ color_t exp_parser::parsecolor(int prio) {
if(qty == 0) throw hr_parse_exception("color parse error");
return res;
}
return res;
throw hr_parse_exception("color parse error");
}
EX ld parseld(const string& s) {