X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fc5734fe23f35e5ce15f6b9c550115fb69113ea2..1bfb97dba532a32dbeffddd378955055b9277303:/src/reduce.c diff --git a/src/reduce.c b/src/reduce.c index 154e63bf..aadf3f88 100644 --- a/src/reduce.c +++ b/src/reduce.c @@ -439,8 +439,9 @@ reduce_grammar (void) reduce_print (); if (!bitset_test (N, axiom->number - ntokens)) - fatal (_("Start symbol %s does not derive any sentence"), - symbols[axiom->number]->tag); + fatal_at (startsymbol_location, + _("start symbol %s does not derive any sentence"), + startsymbol->tag); /* First reduce the nonterminals, as they renumber themselves in the whole grammar. If you change the order, nonterms would be