From 9eb72b6ee8497e7521a8bc183f40691c257ffc87 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 12 Oct 1984 14:19:34 +0000 Subject: [PATCH] Had forgotten to initialise the line number on which a nonterminal symbol occurred first. --- util/LLgen/src/name.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/LLgen/src/name.c b/util/LLgen/src/name.c index 85ac10450..2537b6930 100644 --- a/util/LLgen/src/name.c +++ b/util/LLgen/src/name.c @@ -169,6 +169,7 @@ search(type,str,option) register string str; { q = &nonterms[nnonterms]; q->n_rule = 0; + q->n_lineno = linecount; q->n_string = f_input; q->n_follow = 0; q->n_flags = 0; -- 2.34.1