| Create the struniq for S if needed. |
`-------------------------------------*/
-const struniq_t
+struniq_t
struniq_new (const char *s)
{
struniq_t res = hash_lookup (struniqs_table, s);
}
-/*---------------------------------.
-| Return TRUE iff S is a struniq. |
-`---------------------------------*/
+/*------------------------------.
+| Abort if S is not a struniq. |
+`------------------------------*/
-bool
-struniq_assert_p (const char *s)
+void
+struniq_assert (const char *s)
{
if (!hash_lookup (struniqs_table, s))
{
error (0, 0, "not a struniq: %s", quotearg (s));
- return false;
- }
- else
- {
- return true;
+ abort ();
}
}