3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 02:45:52 +00:00

Added log_assert() api

This commit is contained in:
Clifford Wolf 2013-05-24 14:38:36 +02:00
parent ccd2a93439
commit ed0e2f7a6f
3 changed files with 6 additions and 4 deletions

View file

@ -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();
}
}