This assertion is no longer correct because of sm_trie_delete()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40610
This commit is contained in:
parent
b3d3b30855
commit
8e4a59a4e0
@ -802,12 +802,6 @@ bool sm_trie_insert(Trie *trie, const char *key, void *value)
|
|||||||
*/
|
*/
|
||||||
assert(node->mode == Node_Arc);
|
assert(node->mode == Node_Arc);
|
||||||
|
|
||||||
/* Furthermore, if this is the last arc label in an arc, we should have a value set. */
|
|
||||||
if (node->idx == 0)
|
|
||||||
{
|
|
||||||
assert(node->valset == true);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!node->valset)
|
if (!node->valset)
|
||||||
{
|
{
|
||||||
/* Insert is only possible if we have no production */
|
/* Insert is only possible if we have no production */
|
||||||
|
Loading…
Reference in New Issue
Block a user