X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/742e4900c8b05c8c1f56985288141c890f1e9c73..0049ec8628e5a320d055a0cea8676a58cec60986:/src/lalr.c diff --git a/src/lalr.c b/src/lalr.c index e7f51455..f2bfa967 100644 --- a/src/lalr.c +++ b/src/lalr.c @@ -94,7 +94,7 @@ set_goto_map (void) ngotos++; /* Abort if (ngotos + 1) would overflow. */ - assert (ngotos != GOTO_NUMBER_MAXIMUM); + aver (ngotos != GOTO_NUMBER_MAXIMUM); goto_map[TRANSITION_SYMBOL (sp, i) - ntokens]++; } @@ -153,7 +153,7 @@ map_goto (state_number s0, symbol_number sym) for (;;) { - assert (low <= high); + aver (low <= high); middle = (low + high) / 2; s = from_state[middle]; if (s == s0)