X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/7ec2d4cd3932bfba78e9fbd52509d9f80b61c8ef..b475e0cce5411d3eeb149f81d299a248412986ad:/src/reader.c diff --git a/src/reader.c b/src/reader.c index 9f83a935..5c65d020 100644 --- a/src/reader.c +++ b/src/reader.c @@ -539,10 +539,7 @@ reader (void) grammar = p; } - if (SYMBOL_NUMBER_MAX < nsyms) - fatal (_("too many symbols (tokens plus nonterminals); maximum %d"), - SYMBOL_NUMBER_MAX); - + assert (nsyms <= SYMBOL_NUMBER_MAX); assert (nsyms == ntokens + nvars); xfclose (finput);