summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-01-24 15:46:41 +0100
committerClifford Wolf <clifford@clifford.at>2014-01-24 15:46:41 +0100
commitec167350b43ce29d562787cdabe3b7df2d3ca350 (patch)
tree3a67ca790cdb513baac8c2df6e86b3c8b5649bb9
parentd8300d1fb8a0c2643b1a3c5b7df3bae0f7a08701 (diff)
Restored IdString::check()
-rw-r--r--kernel/rtlil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index f7bac147..e0b3a693 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -101,7 +101,7 @@ namespace RTLIL
return std::string(*this) < std::string(rhs);
}
void check() const {
- //assert(empty() || (size() >= 2 && (at(0) == '$' || at(0) == '\\')));
+ assert(empty() || (size() >= 2 && (at(0) == '$' || at(0) == '\\')));
}
};
#endif