commit doctor's latest changes

This commit is contained in:
Tyler Wilding
2020-08-26 21:02:24 -04:00
parent c4bd9eaf69
commit e6e96400c8
50 changed files with 509 additions and 273 deletions
+2 -2
View File
@@ -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;
}
}