mirror of
https://github.com/open-goal/jak-project
synced 2026-08-09 10:54:39 -04:00
commit doctor's latest changes
This commit is contained in:
@@ -72,7 +72,7 @@ void Form::buildStringSimple(std::string &str) {
|
||||
str.append(*token.str);
|
||||
break;
|
||||
default:
|
||||
throw std::runtime_error("buildStringSimple unknown token kind");
|
||||
throw std::exception("buildStringSimple unknown token kind");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,7 +110,7 @@ void Form::toTokenList(std::vector<FormToken> &tokens) {
|
||||
tokens.emplace_back(TokenKind::EMPTY_PAIR);
|
||||
break;
|
||||
default:
|
||||
throw std::runtime_error("unhandled form type in buildSimpleString");
|
||||
throw std::exception("unhandled form type in buildSimpleString");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user