X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/58a84254ef09b9cf9d173b392ff2347e5d67b6bc..b475e0cce5411d3eeb149f81d299a248412986ad:/src/nullable.c?ds=sidebyside diff --git a/src/nullable.c b/src/nullable.c index c0b60f64..c4b9944d 100644 --- a/src/nullable.c +++ b/src/nullable.c @@ -99,7 +99,8 @@ nullable_compute (void) else { /* This rule has an empty RHS. */ - assert (item_number_as_rule_number (rule->rhs[0]) == ruleno); + if (item_number_as_rule_number (rule->rhs[0]) != ruleno) + abort (); if (rule->useful && !nullable[rule->lhs->number]) { nullable[rule->lhs->number] = 1;