summaryrefslogtreecommitdiff
path: root/include/chill_error.hh
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-11 09:47:38 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-11 09:47:38 -0600
commit098aec2482996b862eab9a3d6e493b2d06133c42 (patch)
tree1246c31bb5698edfde68d95c4097a56ca1d1981d /include/chill_error.hh
parentef6c738921bc3ba4cbd62e649114632bc653f2a6 (diff)
downloadchill-098aec2482996b862eab9a3d6e493b2d06133c42.tar.gz
chill-098aec2482996b862eab9a3d6e493b2d06133c42.tar.bz2
chill-098aec2482996b862eab9a3d6e493b2d06133c42.zip
fixed sub issue
Diffstat (limited to 'include/chill_error.hh')
-rw-r--r--include/chill_error.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/chill_error.hh b/include/chill_error.hh
index 20a8362..a43eac4 100644
--- a/include/chill_error.hh
+++ b/include/chill_error.hh
@@ -18,6 +18,10 @@ namespace chill {
ir(const std::string &msg) : std::runtime_error(msg) {}
};
+ struct build : public std::runtime_error {
+ build(const std::string &msg) : std::runtime_error(msg) {}
+ };
+
//! for specific for expression to preburger math translation problem
struct ir_exp : public ir {
ir_exp(const std::string &msg) : ir(msg) {}