summaryrefslogtreecommitdiff
path: root/frontends/ast
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-05-24 14:38:36 +0200
committerClifford Wolf <clifford@clifford.at>2013-05-24 14:38:36 +0200
commited0e2f7a6fe721175b80f6397c9abd5c0080033f (patch)
treea5a367e973094bdfa7398103824346163ad43e82 /frontends/ast
parentccd2a93439098e333a2f41ae6d1ce3d92222f167 (diff)
Added log_assert() api
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/ast.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc
index 2c552ea2..f4231395 100644
--- a/frontends/ast/ast.cc
+++ b/frontends/ast/ast.cc
@@ -140,8 +140,7 @@ std::string AST::type2str(AstNodeType type)
X(AST_EDGE)
#undef X
default:
- assert(!"Missing enum to string def in AST::type2str().");
- abort();
+ log_abort();
}
}