1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-09 06:39:43 +00:00

arbiquotient:: changed the mirror symbol from ^ to $ because ^ was parsed incorrectly

This commit is contained in:
Zeno Rogue
2025-10-10 12:07:54 +02:00
parent 6f78190aea
commit 4cf129c28e
4 changed files with 6 additions and 6 deletions

View File

@@ -1252,7 +1252,7 @@ EX void load(const string& fname, bool load_as_slided IS(false), bool keep_slide
auto& con = c.quotients.back().connections;
con.push_back(ep.iparse(0));
while(true) {
if(ep.eat("^")) con.back() ^= quotientspace::symmask;
if(ep.eat("$")) con.back() ^= quotientspace::symmask;
else if(ep.eat(",")) con.push_back(ep.iparse(0));
else if(ep.eat(")")) break;
else throw hr_parse_exception("expecing ), ^ or comma, " + ep.where());